From: Andrea Bianco
Date: Wed, 23 Feb 2022 23:58:57 +0000 (+0100)
Subject: Built motion from commit 5ad77b03.|2.6.3
X-Git-Url: http://repos.xcallymotion.com/base/%22https:/wiki.xcallymotion.com/display/XMV//%22%7B%7Blicense.openchannel?a=commitdiff_plain;h=4654f942e28a2c3a8a0884007858c33464233b0e;p=motion2.git
Built motion from commit 5ad77b03.|2.6.3
---
diff --git a/apidoc/api_project.js b/apidoc/api_project.js
index 6950324..90592aa 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-20T22:03:11.851Z",
+ "time": "2022-02-23T23:52:32.838Z",
"url": "http://apidocjs.com",
"version": "0.24.0"
}
diff --git a/apidoc/api_project.json b/apidoc/api_project.json
index 77496af..9cd79d3 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-20T22:03:11.851Z",
+ "time": "2022-02-23T23:52:32.838Z",
"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 6be2369..47d3873 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 _0x3f59=['integration','motionbar','jscripty','urlForward','browser','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','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)]','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]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','TEXT','urlForward[body]','exports','VIRTUAL','getDataValue','action','STRING','contactManager'];(function(_0x4a747d,_0x3b747f){var _0x3a5b5c=function(_0x4b3e81){while(--_0x4b3e81){_0x4a747d['push'](_0x4a747d['shift']());}};_0x3a5b5c(++_0x3b747f);}(_0x3f59,0x12a));var _0x93f5=function(_0x310e1c,_0x5dadc5){_0x310e1c=_0x310e1c-0x0;var _0x248f99=_0x3f59[_0x310e1c];return _0x248f99;};'use strict';var Sequelize=require('sequelize');module[_0x93f5('0x0')]={'name':{'type':Sequelize[_0x93f5('0x1')],'get':function(_0x60f814){return this[_0x93f5('0x2')](_0x93f5('0x3'));}},'action':{'type':Sequelize[_0x93f5('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0x93f5('0x5'),_0x93f5('0x6'),_0x93f5('0x7'),_0x93f5('0x8'),_0x93f5('0x9'),_0x93f5('0xa'),'bot',_0x93f5('0xb')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'}},'comment':_0x93f5('0xc')},'data1':{'type':Sequelize['STRING'](0x1000),'comment':_0x93f5('0xd')},'data2':{'type':Sequelize[_0x93f5('0x4')](0x1000),'comment':'contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]'},'data3':{'type':Sequelize[_0x93f5('0x4')](0x1000),'comment':_0x93f5('0xe')},'data4':{'type':Sequelize[_0x93f5('0x4')](0x1000),'comments':_0x93f5('0xf')},'data5':{'type':Sequelize['STRING'](0x1000),'comments':_0x93f5('0x10')},'data6':{'type':Sequelize[_0x93f5('0x4')],'comments':'urlForward[headers],\x20browser[wsindowHeight]'},'data7':{'type':Sequelize[_0x93f5('0x11')],'comments':_0x93f5('0x12')}};
\ No newline at end of file
+var _0xf6be=['sequelize','VIRTUAL','getDataValue','action','STRING','contactManager','integration','motionbar','jscripty','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]','browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','TEXT'];(function(_0xeb57c0,_0x362132){var _0x4bdc15=function(_0x2e94fa){while(--_0x2e94fa){_0xeb57c0['push'](_0xeb57c0['shift']());}};_0x4bdc15(++_0x362132);}(_0xf6be,0x80));var _0xef6b=function(_0x131e60,_0x5352ce){_0x131e60=_0x131e60-0x0;var _0x4bc497=_0xf6be[_0x131e60];return _0x4bc497;};'use strict';var Sequelize=require(_0xef6b('0x0'));module['exports']={'name':{'type':Sequelize[_0xef6b('0x1')],'get':function(_0x5c8ccb){return this[_0xef6b('0x2')](_0xef6b('0x3'));}},'action':{'type':Sequelize[_0xef6b('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0xef6b('0x5'),_0xef6b('0x6'),_0xef6b('0x7'),_0xef6b('0x8'),'urlForward',_0xef6b('0x9'),'bot',_0xef6b('0xa')]],'msg':_0xef6b('0xb')}},'comment':_0xef6b('0xb')},'data1':{'type':Sequelize[_0xef6b('0x4')](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[_0xef6b('0x4')](0x1000),'comment':_0xef6b('0xc')},'data3':{'type':Sequelize[_0xef6b('0x4')](0x1000),'comment':'contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]'},'data4':{'type':Sequelize['STRING'](0x1000),'comments':_0xef6b('0xd')},'data5':{'type':Sequelize[_0xef6b('0x4')](0x1000),'comments':_0xef6b('0xe')},'data6':{'type':Sequelize[_0xef6b('0x4')],'comments':'urlForward[headers],\x20browser[wsindowHeight]'},'data7':{'type':Sequelize[_0xef6b('0xf')],'comments':'urlForward[body]'}};
\ No newline at end of file
diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js
index 4a4c6a6..3f0d93f 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 _0x3bd0=['then','destroy','sendStatus','error','name','send','update','body','Action','find','params','catch','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','fs-extra','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/license/util','../../mysqldb','status','end','json','offset','count','Content-Range','save'];(function(_0x3f2fbe,_0x4ac149){var _0x17ce20=function(_0x32506c){while(--_0x32506c){_0x3f2fbe['push'](_0x3f2fbe['shift']());}};_0x17ce20(++_0x4ac149);}(_0x3bd0,0x102));var _0x03bd=function(_0x48c03c,_0x3a0d41){_0x48c03c=_0x48c03c-0x0;var _0x33b898=_0x3bd0[_0x48c03c];return _0x33b898;};'use strict';var emlformat=require(_0x03bd('0x0'));var rimraf=require(_0x03bd('0x1'));var zipdir=require(_0x03bd('0x2'));var jsonpatch=require(_0x03bd('0x3'));var rp=require(_0x03bd('0x4'));var moment=require(_0x03bd('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x03bd('0x6'));var util=require(_0x03bd('0x7'));var path=require(_0x03bd('0x8'));var sox=require(_0x03bd('0x9'));var csv=require(_0x03bd('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x03bd('0xb'));var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x03bd('0xc'));var deskjs=require(_0x03bd('0xd'));var toCsv=require(_0x03bd('0xa'));var querystring=require('querystring');var Papa=require(_0x03bd('0xe'));var Redis=require('ioredis');var authService=require(_0x03bd('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x03bd('0x10'));var hardwareService=require(_0x03bd('0x11'));var logger=require(_0x03bd('0x12'))('api');var utils=require(_0x03bd('0x13'));var config=require('../../config/environment');var licenseUtil=require(_0x03bd('0x14'));var db=require(_0x03bd('0x15'))['db'];function respondWithStatusCode(_0x45e827,_0x439d29){_0x439d29=_0x439d29||0xcc;return function(_0x5a3c3d){if(_0x5a3c3d){return _0x45e827['sendStatus'](_0x439d29);}return _0x45e827[_0x03bd('0x16')](_0x439d29)[_0x03bd('0x17')]();};}function respondWithResult(_0x1e1d34,_0x2503bb){_0x2503bb=_0x2503bb||0xc8;return function(_0x3383b2){if(_0x3383b2){return _0x1e1d34[_0x03bd('0x16')](_0x2503bb)[_0x03bd('0x18')](_0x3383b2);}};}function respondWithFilteredResult(_0x44cfcc,_0x3eb5f0){return function(_0x30e580){if(_0x30e580){var _0x816b6=typeof _0x3eb5f0[_0x03bd('0x19')]==='undefined'&&typeof _0x3eb5f0['limit']==='undefined';var _0x50d502=_0x30e580[_0x03bd('0x1a')];var _0x5a9cf0=_0x816b6?0x0:_0x3eb5f0['offset'];var _0x250e11=_0x816b6?_0x30e580['count']:_0x3eb5f0[_0x03bd('0x19')]+_0x3eb5f0['limit'];var _0x215caa;if(_0x250e11>=_0x50d502){_0x250e11=_0x50d502;_0x215caa=0xc8;}else{_0x215caa=0xce;}_0x44cfcc[_0x03bd('0x16')](_0x215caa);return _0x44cfcc['set'](_0x03bd('0x1b'),_0x5a9cf0+'-'+_0x250e11+'/'+_0x50d502)[_0x03bd('0x18')](_0x30e580);}return null;};}function patchUpdates(_0x299f4b){return function(_0xcb91fd){try{jsonpatch['apply'](_0xcb91fd,_0x299f4b,!![]);}catch(_0x20359d){return BPromise['reject'](_0x20359d);}return _0xcb91fd[_0x03bd('0x1c')]();};}function saveUpdates(_0x1d4278,_0x144ad5){return function(_0x10ed2a){if(_0x10ed2a){return _0x10ed2a['update'](_0x1d4278)[_0x03bd('0x1d')](function(_0x1f4ce6){return _0x1f4ce6;});}return null;};}function removeEntity(_0x4a6043,_0x19f1c7){return function(_0x154760){if(_0x154760){return _0x154760[_0x03bd('0x1e')]()[_0x03bd('0x1d')](function(){_0x4a6043[_0x03bd('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0xda63a7,_0x4eeebd){return function(_0xf74e25){if(!_0xf74e25){_0xda63a7[_0x03bd('0x1f')](0x194);}return _0xf74e25;};}function handleError(_0x5a9d1d,_0x5231a1){_0x5231a1=_0x5231a1||0x1f4;return function(_0x1b90a9){logger[_0x03bd('0x20')](_0x1b90a9['stack']);if(_0x1b90a9[_0x03bd('0x21')]){delete _0x1b90a9['name'];}_0x5a9d1d['status'](_0x5231a1)[_0x03bd('0x22')](_0x1b90a9);};}exports[_0x03bd('0x23')]=function(_0x534ab7,_0x526e50){if(_0x534ab7[_0x03bd('0x24')]['id']){delete _0x534ab7[_0x03bd('0x24')]['id'];}return db[_0x03bd('0x25')][_0x03bd('0x26')]({'where':{'id':_0x534ab7[_0x03bd('0x27')]['id']}})[_0x03bd('0x1d')](handleEntityNotFound(_0x526e50,null))[_0x03bd('0x1d')](saveUpdates(_0x534ab7['body'],null))[_0x03bd('0x1d')](respondWithResult(_0x526e50,null))[_0x03bd('0x28')](handleError(_0x526e50,null));};exports[_0x03bd('0x1e')]=function(_0x23f87e,_0x449bb2){return db[_0x03bd('0x25')][_0x03bd('0x26')]({'where':{'id':_0x23f87e[_0x03bd('0x27')]['id']}})['then'](handleEntityNotFound(_0x449bb2,null))[_0x03bd('0x1d')](removeEntity(_0x449bb2,null))[_0x03bd('0x28')](handleError(_0x449bb2,null));};
\ No newline at end of file
+var _0x4e9c=['moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','json','undefined','limit','count','offset','set','Content-Range','apply','reject','save','update','then','end','sendStatus','error','name','Action','find','params','body','catch','destroy','eml-format','zip-dir','fast-json-patch','request-promise'];(function(_0x17a647,_0x2bbe12){var _0x219a38=function(_0x131c5d){while(--_0x131c5d){_0x17a647['push'](_0x17a647['shift']());}};_0x219a38(++_0x2bbe12);}(_0x4e9c,0xc8));var _0xc4e9=function(_0x5780b8,_0xb6f7f0){_0x5780b8=_0x5780b8-0x0;var _0x2b958a=_0x4e9c[_0x5780b8];return _0x2b958a;};'use strict';var emlformat=require(_0xc4e9('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xc4e9('0x1'));var jsonpatch=require(_0xc4e9('0x2'));var rp=require(_0xc4e9('0x3'));var moment=require(_0xc4e9('0x4'));var BPromise=require(_0xc4e9('0x5'));var Mustache=require(_0xc4e9('0x6'));var util=require(_0xc4e9('0x7'));var path=require(_0xc4e9('0x8'));var sox=require(_0xc4e9('0x9'));var csv=require(_0xc4e9('0xa'));var ejs=require(_0xc4e9('0xb'));var fs=require('fs');var fs_extra=require(_0xc4e9('0xc'));var _=require(_0xc4e9('0xd'));var squel=require(_0xc4e9('0xe'));var crypto=require(_0xc4e9('0xf'));var jsforce=require(_0xc4e9('0x10'));var deskjs=require('desk.js');var toCsv=require(_0xc4e9('0xa'));var querystring=require(_0xc4e9('0x11'));var Papa=require(_0xc4e9('0x12'));var Redis=require(_0xc4e9('0x13'));var authService=require(_0xc4e9('0x14'));var qs=require(_0xc4e9('0x15'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xc4e9('0x16'));var logger=require(_0xc4e9('0x17'))('api');var utils=require(_0xc4e9('0x18'));var config=require(_0xc4e9('0x19'));var licenseUtil=require(_0xc4e9('0x1a'));var db=require(_0xc4e9('0x1b'))['db'];function respondWithStatusCode(_0x165ec1,_0x1b3201){_0x1b3201=_0x1b3201||0xcc;return function(_0x5742a1){if(_0x5742a1){return _0x165ec1['sendStatus'](_0x1b3201);}return _0x165ec1[_0xc4e9('0x1c')](_0x1b3201)['end']();};}function respondWithResult(_0x57d911,_0x33c8a3){_0x33c8a3=_0x33c8a3||0xc8;return function(_0x1c64c6){if(_0x1c64c6){return _0x57d911[_0xc4e9('0x1c')](_0x33c8a3)[_0xc4e9('0x1d')](_0x1c64c6);}};}function respondWithFilteredResult(_0x3ba59d,_0x8b7a0f){return function(_0x209666){if(_0x209666){var _0x493c62=typeof _0x8b7a0f['offset']===_0xc4e9('0x1e')&&typeof _0x8b7a0f[_0xc4e9('0x1f')]===_0xc4e9('0x1e');var _0x214ae8=_0x209666[_0xc4e9('0x20')];var _0x13398f=_0x493c62?0x0:_0x8b7a0f[_0xc4e9('0x21')];var _0x5ee4b2=_0x493c62?_0x209666[_0xc4e9('0x20')]:_0x8b7a0f['offset']+_0x8b7a0f[_0xc4e9('0x1f')];var _0x3467e5;if(_0x5ee4b2>=_0x214ae8){_0x5ee4b2=_0x214ae8;_0x3467e5=0xc8;}else{_0x3467e5=0xce;}_0x3ba59d[_0xc4e9('0x1c')](_0x3467e5);return _0x3ba59d[_0xc4e9('0x22')](_0xc4e9('0x23'),_0x13398f+'-'+_0x5ee4b2+'/'+_0x214ae8)[_0xc4e9('0x1d')](_0x209666);}return null;};}function patchUpdates(_0x1ee750){return function(_0x47b184){try{jsonpatch[_0xc4e9('0x24')](_0x47b184,_0x1ee750,!![]);}catch(_0x282119){return BPromise[_0xc4e9('0x25')](_0x282119);}return _0x47b184[_0xc4e9('0x26')]();};}function saveUpdates(_0x4e61f6,_0x44001d){return function(_0x5d7e21){if(_0x5d7e21){return _0x5d7e21[_0xc4e9('0x27')](_0x4e61f6)[_0xc4e9('0x28')](function(_0x1e9798){return _0x1e9798;});}return null;};}function removeEntity(_0x41c61b,_0x592905){return function(_0x6c2bb4){if(_0x6c2bb4){return _0x6c2bb4['destroy']()[_0xc4e9('0x28')](function(){_0x41c61b['status'](0xcc)[_0xc4e9('0x29')]();});}};}function handleEntityNotFound(_0x212f67,_0x535641){return function(_0x28b918){if(!_0x28b918){_0x212f67[_0xc4e9('0x2a')](0x194);}return _0x28b918;};}function handleError(_0x3b15e5,_0x408239){_0x408239=_0x408239||0x1f4;return function(_0x5c9b6a){logger[_0xc4e9('0x2b')](_0x5c9b6a['stack']);if(_0x5c9b6a[_0xc4e9('0x2c')]){delete _0x5c9b6a[_0xc4e9('0x2c')];}_0x3b15e5['status'](_0x408239)['send'](_0x5c9b6a);};}exports['update']=function(_0xbcd942,_0x2b66cc){if(_0xbcd942['body']['id']){delete _0xbcd942['body']['id'];}return db[_0xc4e9('0x2d')][_0xc4e9('0x2e')]({'where':{'id':_0xbcd942[_0xc4e9('0x2f')]['id']}})[_0xc4e9('0x28')](handleEntityNotFound(_0x2b66cc,null))['then'](saveUpdates(_0xbcd942[_0xc4e9('0x30')],null))[_0xc4e9('0x28')](respondWithResult(_0x2b66cc,null))[_0xc4e9('0x31')](handleError(_0x2b66cc,null));};exports[_0xc4e9('0x32')]=function(_0x3e3023,_0x3708be){return db[_0xc4e9('0x2d')][_0xc4e9('0x2e')]({'where':{'id':_0x3e3023[_0xc4e9('0x2f')]['id']}})[_0xc4e9('0x28')](handleEntityNotFound(_0x3708be,null))[_0xc4e9('0x28')](removeEntity(_0x3708be,null))[_0xc4e9('0x31')](handleError(_0x3708be,null));};
\ No newline at end of file
diff --git a/server/api/action/action.model.js b/server/api/action/action.model.js
index 1105ced..553e81b 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 _0x5293=['../../config/logger','moment','path','../../config/environment','./action.attributes','exports','util'];(function(_0x232c13,_0x2103e6){var _0x31227d=function(_0x43a997){while(--_0x43a997){_0x232c13['push'](_0x232c13['shift']());}};_0x31227d(++_0x2103e6);}(_0x5293,0x110));var _0x3529=function(_0x3cb3ca,_0x44d697){_0x3cb3ca=_0x3cb3ca-0x0;var _0x214366=_0x5293[_0x3cb3ca];return _0x214366;};'use strict';var _=require('lodash');var util=require(_0x3529('0x0'));var logger=require(_0x3529('0x1'))('api');var moment=require(_0x3529('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3529('0x3'));var rimraf=require('rimraf');var config=require(_0x3529('0x4'));var attributes=require(_0x3529('0x5'));module[_0x3529('0x6')]=function(_0xfa6dc0,_0x470387){return _0xfa6dc0['define']('Action',attributes,{'tableName':'tools_actions','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3093=['define','Action','tools_actions','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./action.attributes','exports'];(function(_0xa38f77,_0x583280){var _0x4ca09b=function(_0x4735fb){while(--_0x4735fb){_0xa38f77['push'](_0xa38f77['shift']());}};_0x4ca09b(++_0x583280);}(_0x3093,0x183));var _0x3309=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x3093[_0x6131cd];return _0x47e916;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3309('0x0'))('api');var moment=require(_0x3309('0x1'));var BPromise=require(_0x3309('0x2'));var rp=require(_0x3309('0x3'));var fs=require('fs');var path=require(_0x3309('0x4'));var rimraf=require(_0x3309('0x5'));var config=require(_0x3309('0x6'));var attributes=require(_0x3309('0x7'));module[_0x3309('0x8')]=function(_0x1d3143,_0x31c3a6){return _0x1d3143[_0x3309('0x9')](_0x3309('0xa'),attributes,{'tableName':_0x3309('0xb'),'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 4bc2576..bce11df 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 _0xc4aa=['moment','bluebird','randomstring','ioredis','rpc','../../config/environment','jayson/promise','client','http','request','then','Action,\x20%s,\x20%s','request\x20sent','debug','error','code','message','info','catch','lodash','util'];(function(_0x3d7afe,_0xcf50f7){var _0x13abff=function(_0x43e09e){while(--_0x43e09e){_0x3d7afe['push'](_0x3d7afe['shift']());}};_0x13abff(++_0xcf50f7);}(_0xc4aa,0x1b7));var _0xac4a=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc4aa[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xac4a('0x0'));var util=require(_0xac4a('0x1'));var moment=require(_0xac4a('0x2'));var BPromise=require(_0xac4a('0x3'));var rs=require(_0xac4a('0x4'));var fs=require('fs');var Redis=require(_0xac4a('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xac4a('0x6'));var config=require(_0xac4a('0x7'));var jayson=require(_0xac4a('0x8'));var client=jayson[_0xac4a('0x9')][_0xac4a('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x15cd34,_0x3ef77c,_0x10525b){return new BPromise(function(_0x5c6179,_0x5b8339){return client[_0xac4a('0xb')](_0x15cd34,_0x10525b)[_0xac4a('0xc')](function(_0x26ec84){logger['info'](_0xac4a('0xd'),_0x3ef77c,_0xac4a('0xe'));logger[_0xac4a('0xf')]('Action,\x20%s,\x20%s,\x20%s',_0x3ef77c,_0xac4a('0xe'),JSON['stringify'](_0x26ec84));if(_0x26ec84[_0xac4a('0x10')]){if(_0x26ec84['error'][_0xac4a('0x11')]===0x1f4){logger[_0xac4a('0x10')](_0xac4a('0xd'),_0x3ef77c,_0x26ec84['error'][_0xac4a('0x12')]);return _0x5b8339(_0x26ec84[_0xac4a('0x10')][_0xac4a('0x12')]);}logger[_0xac4a('0x10')](_0xac4a('0xd'),_0x3ef77c,_0x26ec84[_0xac4a('0x10')][_0xac4a('0x12')]);return _0x5c6179(_0x26ec84[_0xac4a('0x10')][_0xac4a('0x12')]);}else{logger[_0xac4a('0x13')](_0xac4a('0xd'),_0x3ef77c,_0xac4a('0xe'));_0x5c6179(_0x26ec84['result'][_0xac4a('0x12')]);}})[_0xac4a('0x14')](function(_0x23eb66){logger[_0xac4a('0x10')](_0xac4a('0xd'),_0x3ef77c,_0x23eb66);_0x5b8339(_0x23eb66);});});}
\ No newline at end of file
+var _0x5fab=['../../config/environment','jayson/promise','client','request','then','request\x20sent','debug','Action,\x20%s,\x20%s,\x20%s','stringify','error','code','message','Action,\x20%s,\x20%s','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc'];(function(_0x20c809,_0x26b566){var _0x1064a1=function(_0x39c6db){while(--_0x39c6db){_0x20c809['push'](_0x20c809['shift']());}};_0x1064a1(++_0x26b566);}(_0x5fab,0x177));var _0xb5fa=function(_0x111ee6,_0xd8a3ea){_0x111ee6=_0x111ee6-0x0;var _0x8bbb51=_0x5fab[_0x111ee6];return _0x8bbb51;};'use strict';var _=require(_0xb5fa('0x0'));var util=require(_0xb5fa('0x1'));var moment=require('moment');var BPromise=require(_0xb5fa('0x2'));var rs=require(_0xb5fa('0x3'));var fs=require('fs');var Redis=require(_0xb5fa('0x4'));var db=require(_0xb5fa('0x5'))['db'];var utils=require(_0xb5fa('0x6'));var logger=require(_0xb5fa('0x7'))(_0xb5fa('0x8'));var config=require(_0xb5fa('0x9'));var jayson=require(_0xb5fa('0xa'));var client=jayson[_0xb5fa('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5d70f6,_0x2e3804,_0x1aec3e){return new BPromise(function(_0x9c7bce,_0x56d018){return client[_0xb5fa('0xc')](_0x5d70f6,_0x1aec3e)[_0xb5fa('0xd')](function(_0x2cf4a5){logger['info']('Action,\x20%s,\x20%s',_0x2e3804,_0xb5fa('0xe'));logger[_0xb5fa('0xf')](_0xb5fa('0x10'),_0x2e3804,_0xb5fa('0xe'),JSON[_0xb5fa('0x11')](_0x2cf4a5));if(_0x2cf4a5[_0xb5fa('0x12')]){if(_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x13')]===0x1f4){logger[_0xb5fa('0x12')]('Action,\x20%s,\x20%s',_0x2e3804,_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);return _0x56d018(_0x2cf4a5['error'][_0xb5fa('0x14')]);}logger['error'](_0xb5fa('0x15'),_0x2e3804,_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);return _0x9c7bce(_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);}else{logger['info']('Action,\x20%s,\x20%s',_0x2e3804,_0xb5fa('0xe'));_0x9c7bce(_0x2cf4a5[_0xb5fa('0x16')][_0xb5fa('0x14')]);}})[_0xb5fa('0x17')](function(_0x56fe10){logger['error'](_0xb5fa('0x15'),_0x2e3804,_0x56fe10);_0x56d018(_0x56fe10);});});}
\ No newline at end of file
diff --git a/server/api/action/index.js b/server/api/action/index.js
index a8c8a82..51f1d52 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 _0xabb8=['path','express','Router','fs-extra','../../components/auth/service','/:id','isAuthenticated','update','destroy','exports','multer','util'];(function(_0x5b5af1,_0x1db01b){var _0x45ab7b=function(_0x1e353a){while(--_0x1e353a){_0x5b5af1['push'](_0x5b5af1['shift']());}};_0x45ab7b(++_0x1db01b);}(_0xabb8,0x14e));var _0x8abb=function(_0x37bea4,_0x4e138c){_0x37bea4=_0x37bea4-0x0;var _0x14bcda=_0xabb8[_0x37bea4];return _0x14bcda;};'use strict';var multer=require(_0x8abb('0x0'));var util=require(_0x8abb('0x1'));var path=require(_0x8abb('0x2'));var timeout=require('connect-timeout');var express=require(_0x8abb('0x3'));var router=express[_0x8abb('0x4')]();var fs_extra=require(_0x8abb('0x5'));var auth=require(_0x8abb('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./action.controller');router['put'](_0x8abb('0x7'),auth[_0x8abb('0x8')](),controller[_0x8abb('0x9')]);router['delete'](_0x8abb('0x7'),auth[_0x8abb('0x8')](),controller[_0x8abb('0xa')]);module[_0x8abb('0xb')]=router;
\ No newline at end of file
+var _0x168d=['destroy','multer','path','express','../../components/auth/service','../../config/environment','./action.controller','/:id','isAuthenticated','update','delete'];(function(_0x1280c0,_0x30b8a2){var _0x33c650=function(_0x35176c){while(--_0x35176c){_0x1280c0['push'](_0x1280c0['shift']());}};_0x33c650(++_0x30b8a2);}(_0x168d,0x135));var _0xd168=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0x168d[_0x1969a7];return _0x3d665f;};'use strict';var multer=require(_0xd168('0x0'));var util=require('util');var path=require(_0xd168('0x1'));var timeout=require('connect-timeout');var express=require(_0xd168('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xd168('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xd168('0x4'));var controller=require(_0xd168('0x5'));router['put'](_0xd168('0x6'),auth[_0xd168('0x7')](),controller[_0xd168('0x8')]);router[_0xd168('0x9')](_0xd168('0x6'),auth[_0xd168('0x7')](),controller[_0xd168('0xa')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.attributes.js b/server/api/analyticCustomReport/analyticCustomReport.attributes.js
index edca369..0153aa6 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 _0xabce=['exports','STRING','TEXT','sequelize'];(function(_0x11d61c,_0x575479){var _0x46ad35=function(_0x4b0d00){while(--_0x4b0d00){_0x11d61c['push'](_0x11d61c['shift']());}};_0x46ad35(++_0x575479);}(_0xabce,0x103));var _0xeabc=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0xabce[_0x4fc9e6];return _0x551d28;};'use strict';var Sequelize=require(_0xeabc('0x0'));module[_0xeabc('0x1')]={'name':{'type':Sequelize[_0xeabc('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xeabc('0x2')]},'parent':{'type':Sequelize[_0xeabc('0x2')]},'table':{'type':Sequelize['STRING']},'conditions':{'type':Sequelize['TEXT']},'joins':{'type':Sequelize[_0xeabc('0x3')]}};
\ No newline at end of file
+var _0xeda8=['sequelize','exports','STRING','TEXT'];(function(_0x3ac558,_0x185f81){var _0x26cc90=function(_0x126c6c){while(--_0x126c6c){_0x3ac558['push'](_0x3ac558['shift']());}};_0x26cc90(++_0x185f81);}(_0xeda8,0x104));var _0x8eda=function(_0x132458,_0xe53c09){_0x132458=_0x132458-0x0;var _0x4221dc=_0xeda8[_0x132458];return _0x4221dc;};'use strict';var Sequelize=require(_0x8eda('0x0'));module[_0x8eda('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x8eda('0x2')]},'parent':{'type':Sequelize[_0x8eda('0x2')]},'table':{'type':Sequelize[_0x8eda('0x2')]},'conditions':{'type':Sequelize[_0x8eda('0x3')]},'joins':{'type':Sequelize[_0x8eda('0x3')]}};
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.controller.js b/server/api/analyticCustomReport/analyticCustomReport.controller.js
index 2148365..e0d252c 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 _0x88de=['VIRTUAL','options','include','findAll','rows','catch','show','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Reports','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','join','left_join','cross_join','SUM(%s)','COUNT(%s)','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)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','field','condition','value','params','getFields','Sequelize','ValidationErrorItem','Please\x20insert\x20at\x20least\x20one\x20field','select','from','table','MetricId','metric','replace','function','format','groupBy','orderBy','joins','parse','parentKey','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','conditions','debug','Limited\x20Query:','toString','sequelize','QueryTypes','SELECT','AnalyticMetric','keyBy','alias','clone','output','web','fullPath','generate','csv','custom','AnalyticExtractedReport','startDate','endDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','info','Run\x20Query:','fork','../../components/export/','../../files/reports','savename','countTable','COUNT(*)','runReport','right_join','SEC_TO_TIME(%s)','DESC','eml-format','rimraf','zip-dir','fast-json-patch','mustache','util','sox','ejs','fs-extra','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/utils','../../mysqldb','status','end','undefined','count','offset','limit','json','apply','reject','save','update','then','destroy','get','CustomReports','UserProfileResource','sendStatus','error','stack','name','send','map','AnalyticCustomReport','rawAttributes','fieldName','type','key','query','keys','filters','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge'];(function(_0x2cbd58,_0x278e75){var _0x42ef2a=function(_0x4d2ceb){while(--_0x4d2ceb){_0x2cbd58['push'](_0x2cbd58['shift']());}};_0x42ef2a(++_0x278e75);}(_0x88de,0x19c));var _0xe88d=function(_0x3e131a,_0x3bf61f){_0x3e131a=_0x3e131a-0x0;var _0x2eeb65=_0x88de[_0x3e131a];return _0x2eeb65;};'use strict';var emlformat=require(_0xe88d('0x0'));var rimraf=require(_0xe88d('0x1'));var zipdir=require(_0xe88d('0x2'));var jsonpatch=require(_0xe88d('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0xe88d('0x4'));var util=require(_0xe88d('0x5'));var path=require('path');var sox=require(_0xe88d('0x6'));var csv=require('to-csv');var ejs=require(_0xe88d('0x7'));var fs=require('fs');var fs_extra=require(_0xe88d('0x8'));var _=require(_0xe88d('0x9'));var squel=require(_0xe88d('0xa'));var crypto=require(_0xe88d('0xb'));var jsforce=require(_0xe88d('0xc'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xe88d('0xd'));var Papa=require(_0xe88d('0xe'));var Redis=require(_0xe88d('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xe88d('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0xe88d('0x11'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xe88d('0x12'))['db'];var dbH=require('../../mysqldb')['dbH'];function respondWithStatusCode(_0xae04e2,_0x2af552){_0x2af552=_0x2af552||0xcc;return function(_0x3e911a){if(_0x3e911a){return _0xae04e2['sendStatus'](_0x2af552);}return _0xae04e2[_0xe88d('0x13')](_0x2af552)[_0xe88d('0x14')]();};}function respondWithResult(_0x48cca9,_0xe8d11a){_0xe8d11a=_0xe8d11a||0xc8;return function(_0x22f678){if(_0x22f678){return _0x48cca9[_0xe88d('0x13')](_0xe8d11a)['json'](_0x22f678);}};}function respondWithFilteredResult(_0x369107,_0x5bc2f8){return function(_0x4d15df){if(_0x4d15df){var _0x5d0221=typeof _0x5bc2f8['offset']===_0xe88d('0x15')&&typeof _0x5bc2f8['limit']===_0xe88d('0x15');var _0x395fbd=_0x4d15df[_0xe88d('0x16')];var _0x137c43=_0x5d0221?0x0:_0x5bc2f8[_0xe88d('0x17')];var _0x57dc7b=_0x5d0221?_0x4d15df[_0xe88d('0x16')]:_0x5bc2f8[_0xe88d('0x17')]+_0x5bc2f8[_0xe88d('0x18')];var _0x1ff01a;if(_0x57dc7b>=_0x395fbd){_0x57dc7b=_0x395fbd;_0x1ff01a=0xc8;}else{_0x1ff01a=0xce;}_0x369107[_0xe88d('0x13')](_0x1ff01a);return _0x369107['set']('Content-Range',_0x137c43+'-'+_0x57dc7b+'/'+_0x395fbd)[_0xe88d('0x19')](_0x4d15df);}return null;};}function patchUpdates(_0x434c58){return function(_0x6042fd){try{jsonpatch[_0xe88d('0x1a')](_0x6042fd,_0x434c58,!![]);}catch(_0x476d58){return BPromise[_0xe88d('0x1b')](_0x476d58);}return _0x6042fd[_0xe88d('0x1c')]();};}function saveUpdates(_0x52c091,_0x48e6c2){return function(_0xda39c0){if(_0xda39c0){return _0xda39c0[_0xe88d('0x1d')](_0x52c091)[_0xe88d('0x1e')](function(_0x343aeb){return _0x343aeb;});}return null;};}function removeEntity(_0x525fa4,_0x33bd69){return function(_0x51fece){if(_0x51fece){return _0x51fece[_0xe88d('0x1f')]()[_0xe88d('0x1e')](function(){var _0x1232fd=_0x51fece[_0xe88d('0x20')]({'plain':!![]});var _0x1a695a=_0xe88d('0x21');return db[_0xe88d('0x22')][_0xe88d('0x1f')]({'where':{'type':_0x1a695a,'resourceId':_0x1232fd['id']}})['then'](function(){return _0x51fece;});})[_0xe88d('0x1e')](function(){_0x525fa4[_0xe88d('0x13')](0xcc)['end']();});}};}function handleEntityNotFound(_0x27c5c2,_0x1e3009){return function(_0xdd34fc){if(!_0xdd34fc){_0x27c5c2[_0xe88d('0x23')](0x194);}return _0xdd34fc;};}function handleError(_0x3c08ca,_0x56b91d){_0x56b91d=_0x56b91d||0x1f4;return function(_0x49c53b){logger[_0xe88d('0x24')](_0x49c53b[_0xe88d('0x25')]);if(_0x49c53b[_0xe88d('0x26')]){delete _0x49c53b[_0xe88d('0x26')];}_0x3c08ca[_0xe88d('0x13')](_0x56b91d)[_0xe88d('0x27')](_0x49c53b);};}exports['index']=function(_0x926442,_0x71660f){var _0x4f060a={},_0x24d421={},_0x3f6c86={'count':0x0,'rows':[]};var _0x4c6353=_[_0xe88d('0x28')](db[_0xe88d('0x29')][_0xe88d('0x2a')],function(_0x5573a7){return{'name':_0x5573a7[_0xe88d('0x2b')],'type':_0x5573a7[_0xe88d('0x2c')][_0xe88d('0x2d')]};});_0x24d421['model']=_[_0xe88d('0x28')](_0x4c6353,_0xe88d('0x26'));_0x24d421[_0xe88d('0x2e')]=_[_0xe88d('0x2f')](_0x926442[_0xe88d('0x2e')]);_0x24d421[_0xe88d('0x30')]=_[_0xe88d('0x31')](_0x24d421['model'],_0x24d421[_0xe88d('0x2e')]);_0x4f060a[_0xe88d('0x32')]=_[_0xe88d('0x31')](_0x24d421[_0xe88d('0x33')],qs[_0xe88d('0x34')](_0x926442['query']['fields']));_0x4f060a['attributes']=_0x4f060a['attributes'][_0xe88d('0x35')]?_0x4f060a[_0xe88d('0x32')]:_0x24d421[_0xe88d('0x33')];if(!_0x926442[_0xe88d('0x2e')][_0xe88d('0x36')](_0xe88d('0x37'))){_0x4f060a[_0xe88d('0x18')]=qs['limit'](_0x926442[_0xe88d('0x2e')]['limit']);_0x4f060a[_0xe88d('0x17')]=qs[_0xe88d('0x17')](_0x926442[_0xe88d('0x2e')]['offset']);}_0x4f060a[_0xe88d('0x38')]=qs[_0xe88d('0x39')](_0x926442[_0xe88d('0x2e')][_0xe88d('0x39')]);_0x4f060a[_0xe88d('0x3a')]=qs[_0xe88d('0x30')](_[_0xe88d('0x3b')](_0x926442[_0xe88d('0x2e')],_0x24d421[_0xe88d('0x30')]),_0x4c6353);if(_0x926442[_0xe88d('0x2e')][_0xe88d('0x3c')]){_0x4f060a[_0xe88d('0x3a')]=_[_0xe88d('0x3d')](_0x4f060a['where'],{'$or':_[_0xe88d('0x28')](_0x4c6353,function(_0x5235e8){if(_0x5235e8[_0xe88d('0x2c')]!==_0xe88d('0x3e')){var _0x55b57e={};_0x55b57e[_0x5235e8['name']]={'$like':'%'+_0x926442[_0xe88d('0x2e')][_0xe88d('0x3c')]+'%'};return _0x55b57e;}})});}_0x4f060a=_[_0xe88d('0x3d')]({},_0x4f060a,_0x926442[_0xe88d('0x3f')]);var _0x210834={'where':_0x4f060a[_0xe88d('0x3a')]};return db[_0xe88d('0x29')][_0xe88d('0x16')](_0x210834)[_0xe88d('0x1e')](function(_0x62026b){_0x3f6c86[_0xe88d('0x16')]=_0x62026b;if(_0x926442[_0xe88d('0x2e')]['includeAll']){_0x4f060a[_0xe88d('0x40')]=[{'all':!![]}];}return db[_0xe88d('0x29')][_0xe88d('0x41')](_0x4f060a);})[_0xe88d('0x1e')](function(_0x381b8c){_0x3f6c86[_0xe88d('0x42')]=_0x381b8c;return _0x3f6c86;})['then'](respondWithFilteredResult(_0x71660f,_0x4f060a))[_0xe88d('0x43')](handleError(_0x71660f,null));};exports[_0xe88d('0x44')]=function(_0x39928c,_0x2ac560){var _0x232645={'raw':![],'where':{'id':_0x39928c['params']['id']}},_0x304388={};_0x304388[_0xe88d('0x33')]=_[_0xe88d('0x2f')](db[_0xe88d('0x29')][_0xe88d('0x2a')]);_0x304388[_0xe88d('0x2e')]=_['keys'](_0x39928c[_0xe88d('0x2e')]);_0x304388[_0xe88d('0x30')]=_[_0xe88d('0x31')](_0x304388[_0xe88d('0x33')],_0x304388['query']);_0x232645[_0xe88d('0x32')]=_['intersection'](_0x304388[_0xe88d('0x33')],qs['fields'](_0x39928c[_0xe88d('0x2e')][_0xe88d('0x34')]));_0x232645['attributes']=_0x232645[_0xe88d('0x32')]['length']?_0x232645[_0xe88d('0x32')]:_0x304388[_0xe88d('0x33')];if(_0x39928c[_0xe88d('0x2e')]['includeAll']){_0x232645[_0xe88d('0x40')]=[{'all':!![]}];}_0x232645=_['merge']({},_0x232645,_0x39928c[_0xe88d('0x3f')]);return db[_0xe88d('0x29')][_0xe88d('0x45')](_0x232645)['then'](handleEntityNotFound(_0x2ac560,null))[_0xe88d('0x1e')](respondWithResult(_0x2ac560,null))[_0xe88d('0x43')](handleError(_0x2ac560,null));};exports[_0xe88d('0x46')]=function(_0x1b3462,_0x565c84){return db[_0xe88d('0x29')]['create'](_0x1b3462['body'],{})['then'](function(_0x10f110){var _0x2f2cd3=_0x1b3462[_0xe88d('0x47')]['get']({'plain':!![]});if(!_0x2f2cd3)throw new Error(_0xe88d('0x48'));if(_0x2f2cd3[_0xe88d('0x49')]===_0xe88d('0x47')){var _0x5608e3=_0x10f110['get']({'plain':!![]});var _0x11bbc7=_0xe88d('0x4a');return db['UserProfileSection'][_0xe88d('0x45')]({'where':{'name':_0x11bbc7,'userProfileId':_0x2f2cd3[_0xe88d('0x4b')]},'raw':!![]})[_0xe88d('0x1e')](function(_0x4b1337){if(_0x4b1337&&_0x4b1337[_0xe88d('0x4c')]===0x0){return db[_0xe88d('0x22')]['create']({'name':_0x5608e3[_0xe88d('0x26')],'resourceId':_0x5608e3['id'],'type':_0xe88d('0x21'),'sectionId':_0x4b1337['id']},{})[_0xe88d('0x1e')](function(){return _0x10f110;});}else{return _0x10f110;}})[_0xe88d('0x43')](function(_0x2e5d40){logger[_0xe88d('0x24')](_0xe88d('0x4d'),_0x2e5d40);throw _0x2e5d40;});}return _0x10f110;})['then'](respondWithResult(_0x565c84,0xc9))[_0xe88d('0x43')](handleError(_0x565c84,null));};exports[_0xe88d('0x1d')]=function(_0x5188f6,_0x3fd3a2){if(_0x5188f6['body']['id']){delete _0x5188f6['body']['id'];}return db[_0xe88d('0x29')][_0xe88d('0x45')]({'where':{'id':_0x5188f6['params']['id']}})[_0xe88d('0x1e')](handleEntityNotFound(_0x3fd3a2,null))[_0xe88d('0x1e')](saveUpdates(_0x5188f6['body'],null))['then'](respondWithResult(_0x3fd3a2,null))[_0xe88d('0x43')](handleError(_0x3fd3a2,null));};exports[_0xe88d('0x1f')]=function(_0x3edcb2,_0xe3979f){return db[_0xe88d('0x29')]['find']({'where':{'id':_0x3edcb2['params']['id']}})[_0xe88d('0x1e')](handleEntityNotFound(_0xe3979f,null))['then'](removeEntity(_0xe3979f,null))[_0xe88d('0x43')](handleError(_0xe3979f,null));};exports['preview']=function(_0x1fa43c,_0x2aea5c){var _0x539c25=0xa;var _0x4960fd=[_0xe88d('0x4e'),_0xe88d('0x4f'),'right_join',_0xe88d('0x50')];var _0x2eae57={'SUM':_0xe88d('0x51'),'COUNT':_0xe88d('0x52'),'COUNT DISTINCT':_0xe88d('0x53'),'MAX':_0xe88d('0x54'),'MIN':_0xe88d('0x55'),'AVG':'AVG(%s)','GROUP_CONCAT':_0xe88d('0x56'),'GROUP_CONCAT ASC':_0xe88d('0x57'),'GROUP_CONCAT DESC':_0xe88d('0x58')};var _0x4e5b50={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':_0xe88d('0x59'),'HOUR':_0xe88d('0x5a'),'ROUND':_0xe88d('0x5b'),'UNIX_TIMESTAMP':_0xe88d('0x5c')};var _0x374812=function(_0x15f5c5){return!_[_0xe88d('0x5d')]([_0xe88d('0x5e'),_0xe88d('0x5f'),_0xe88d('0x60'),_0xe88d('0x61')],_0x15f5c5);};var _0x4b30d4=function(_0x9df0af){if(!_0x9df0af||!_0x9df0af[_0xe88d('0x62')][_0xe88d('0x35')]){return'';}for(var _0x3b2421='(',_0x438106=0x0;_0x438106<_0x9df0af['rules'][_0xe88d('0x35')];_0x438106+=0x1){_0x438106>0x0&&(_0x3b2421+='\x20'+_0x9df0af[_0xe88d('0x63')]+'\x20');_0x3b2421+=_0x9df0af[_0xe88d('0x62')][_0x438106]['group']?_0x4b30d4(_0x9df0af['rules'][_0x438106][_0xe88d('0x64')]):_0x9df0af[_0xe88d('0x62')][_0x438106][_0xe88d('0x65')]+'\x20'+_0x9df0af['rules'][_0x438106][_0xe88d('0x66')]+(_0x374812(_0x9df0af['rules'][_0x438106][_0xe88d('0x66')])?'\x20'+_0x9df0af['rules'][_0x438106][_0xe88d('0x67')]:'');}return _0x3b2421+')';};var _0x5d88da={'where':{'id':_0x1fa43c[_0xe88d('0x68')]['id']}},_0x49ad86,_0x32e9ce,_0x48c039,_0x2d6800,_0x212de9;_0x5d88da=_[_0xe88d('0x3d')]({},_0x5d88da,_0x1fa43c['options']);return db[_0xe88d('0x29')][_0xe88d('0x45')](_0x5d88da)[_0xe88d('0x1e')](function(_0xccd58f){if(_0xccd58f){_0x49ad86=_0xccd58f;return _0xccd58f[_0xe88d('0x69')]();}return null;})[_0xe88d('0x1e')](function(_0x4507ed){if(_0x4507ed){if(!_0x4507ed[_0xe88d('0x35')]){throw new db[(_0xe88d('0x6a'))][(_0xe88d('0x6b'))](_0xe88d('0x6c'),0x193);}_0x32e9ce=_0x4507ed;return db['AnalyticMetric'][_0xe88d('0x41')]({'raw':!![]});}return null;})[_0xe88d('0x1e')](function(_0x2ff5fd){if(_0x2ff5fd){_0x48c039=_['keyBy'](_0x2ff5fd,'id');var _0x55cde1;var _0x123df9=squel[_0xe88d('0x6d')]();_0x123df9[_0xe88d('0x6e')](_0x49ad86[_0xe88d('0x6f')]);for(var _0x37aa50=0x0;_0x37aa50<_0x32e9ce[_0xe88d('0x35')];_0x37aa50+=0x1){_0x55cde1=_0x32e9ce[_0x37aa50][_0xe88d('0x70')]?_0x48c039[_0x32e9ce[_0x37aa50][_0xe88d('0x70')]][_0xe88d('0x71')]:_0x32e9ce[_0x37aa50]['field'];_0x55cde1=_0x32e9ce[_0x37aa50]['function']?_[_0xe88d('0x72')](_0x2eae57[_0x32e9ce[_0x37aa50][_0xe88d('0x73')]],'%s',_0x55cde1):_0x55cde1;_0x55cde1=_0x32e9ce[_0x37aa50][_0xe88d('0x74')]?_[_0xe88d('0x72')](_0x4e5b50[_0x32e9ce[_0x37aa50][_0xe88d('0x74')]],'%s',_0x55cde1):_0x55cde1;if(_0x32e9ce[_0x37aa50][_0xe88d('0x75')]){_0x123df9[_0xe88d('0x64')](_0x55cde1);}_0x32e9ce[_0x37aa50][_0xe88d('0x76')]&&_0x123df9['order'](_0x55cde1,_0x32e9ce[_0x37aa50][_0xe88d('0x76')]==='DESC'?![]:!![]);_0x123df9[_0xe88d('0x65')](_0x55cde1,_0x32e9ce[_0x37aa50]['alias']||_0x55cde1);}if(_0x49ad86[_0xe88d('0x77')]){_0x49ad86[_0xe88d('0x77')]=JSON[_0xe88d('0x78')](_0x49ad86['joins']);for(var _0xe1894f=0x0;_0xe1894f<_0x49ad86[_0xe88d('0x77')][_0xe88d('0x35')];_0xe1894f+=0x1){if(_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x2c')]&&_['includes'](_0x4960fd,_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x2c')])&&_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x79')]&&_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x7a')]&&_0x49ad86['joins'][_0xe1894f][_0xe88d('0x7b')]){_0x123df9[_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x2c')]](_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x7a')],null,util['format'](_0xe88d('0x7c'),_0x49ad86[_0xe88d('0x6f')],_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x79')],_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x7a')],_0x49ad86[_0xe88d('0x77')][_0xe1894f][_0xe88d('0x7b')]));}}}if(_0x49ad86[_0xe88d('0x7d')]){_0x49ad86[_0xe88d('0x7d')]=JSON[_0xe88d('0x78')](_0x49ad86[_0xe88d('0x7d')]);_0x123df9[_0xe88d('0x3a')](_0x4b30d4(_0x49ad86[_0xe88d('0x7d')]['group']));}_0x212de9=_0x123df9['clone']();_0x123df9[_0xe88d('0x18')](_0x539c25);_0x123df9[_0xe88d('0x17')](0x0);logger[_0xe88d('0x7e')](_0xe88d('0x7f'),_0x123df9[_0xe88d('0x80')]());return dbH['sequelize'][_0xe88d('0x2e')](_0x123df9[_0xe88d('0x80')](),{'type':dbH[_0xe88d('0x81')][_0xe88d('0x82')][_0xe88d('0x83')]});}})[_0xe88d('0x1e')](respondWithResult(_0x2aea5c,null))['catch'](handleError(_0x2aea5c,null));};function runReport(_0x2a4e90,_0x4e844d,_0x547f8f){var _0x2ba701=_0x4e844d[_0xe88d('0x26')];var _0x524288=0xa;var _0x146519=[_0xe88d('0x4e'),_0xe88d('0x4f'),'right_join',_0xe88d('0x50')];var _0x3ce607={'SUM':_0xe88d('0x51'),'COUNT':_0xe88d('0x52'),'COUNT DISTINCT':_0xe88d('0x53'),'MAX':_0xe88d('0x54'),'MIN':_0xe88d('0x55'),'AVG':'AVG(%s)','GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':_0xe88d('0x57'),'GROUP_CONCAT DESC':_0xe88d('0x58')};var _0x364b1c={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':_0xe88d('0x5a'),'ROUND':_0xe88d('0x5b'),'UNIX_TIMESTAMP':_0xe88d('0x5c')};var _0x1aa8c4=function(_0x220001){return!_[_0xe88d('0x5d')]([_0xe88d('0x5e'),_0xe88d('0x5f'),_0xe88d('0x60'),_0xe88d('0x61')],_0x220001);};var _0x256efe=function(_0x592a91){if(!_0x592a91||!_0x592a91['rules'][_0xe88d('0x35')]){return'';}for(var _0x1a81ad='(',_0x35b329=0x0;_0x35b329<_0x592a91[_0xe88d('0x62')][_0xe88d('0x35')];_0x35b329+=0x1){_0x35b329>0x0&&(_0x1a81ad+='\x20'+_0x592a91['operator']+'\x20');_0x1a81ad+=_0x592a91[_0xe88d('0x62')][_0x35b329][_0xe88d('0x64')]?_0x256efe(_0x592a91[_0xe88d('0x62')][_0x35b329]['group']):_0x592a91[_0xe88d('0x62')][_0x35b329]['field']+'\x20'+_0x592a91[_0xe88d('0x62')][_0x35b329][_0xe88d('0x66')]+(_0x1aa8c4(_0x592a91['rules'][_0x35b329]['condition'])?'\x20'+_0x592a91[_0xe88d('0x62')][_0x35b329][_0xe88d('0x67')]:'');}return _0x1a81ad+')';};var _0x1bffdc={'where':{'id':_0x2a4e90['id']}},_0x1b8142,_0x1e1721,_0x55300d,_0x41c79e,_0x1c3072;_0x1bffdc=_[_0xe88d('0x3d')]({},_0x1bffdc,_0x547f8f);return db[_0xe88d('0x29')]['find'](_0x1bffdc)['then'](function(_0x46e533){if(_0x46e533){_0x1b8142=_0x46e533;return _0x46e533[_0xe88d('0x69')]();}return null;})['then'](function(_0x2908b7){if(_0x2908b7){if(!_0x2908b7[_0xe88d('0x35')]){throw new db[(_0xe88d('0x6a'))]['ValidationErrorItem'](_0xe88d('0x6c'),0x193);}_0x1e1721=_0x2908b7;return db[_0xe88d('0x84')][_0xe88d('0x41')]({'raw':!![]});}return null;})[_0xe88d('0x1e')](function(_0x42bbc3){if(_0x42bbc3){_0x55300d=_[_0xe88d('0x85')](_0x42bbc3,'id');var _0x316754;var _0x30268c=squel[_0xe88d('0x6d')]();_0x30268c[_0xe88d('0x6e')](_0x1b8142[_0xe88d('0x6f')]);for(var _0x829a63=0x0;_0x829a63<_0x1e1721[_0xe88d('0x35')];_0x829a63+=0x1){_0x316754=_0x1e1721[_0x829a63][_0xe88d('0x70')]?_0x55300d[_0x1e1721[_0x829a63][_0xe88d('0x70')]][_0xe88d('0x71')]:_0x1e1721[_0x829a63]['field'];_0x316754=_0x1e1721[_0x829a63][_0xe88d('0x73')]?_[_0xe88d('0x72')](_0x3ce607[_0x1e1721[_0x829a63][_0xe88d('0x73')]],'%s',_0x316754):_0x316754;_0x316754=_0x1e1721[_0x829a63][_0xe88d('0x74')]?_[_0xe88d('0x72')](_0x364b1c[_0x1e1721[_0x829a63][_0xe88d('0x74')]],'%s',_0x316754):_0x316754;if(_0x1e1721[_0x829a63][_0xe88d('0x75')]){_0x30268c[_0xe88d('0x64')](_0x316754);}_0x1e1721[_0x829a63][_0xe88d('0x76')]&&_0x30268c[_0xe88d('0x38')](_0x316754,_0x1e1721[_0x829a63][_0xe88d('0x76')]==='DESC'?![]:!![]);_0x30268c[_0xe88d('0x65')](_0x316754,_0x1e1721[_0x829a63][_0xe88d('0x86')]||_0x316754);}if(_0x1b8142[_0xe88d('0x77')]){_0x1b8142[_0xe88d('0x77')]=JSON[_0xe88d('0x78')](_0x1b8142[_0xe88d('0x77')]);for(var _0x523109=0x0;_0x523109<_0x1b8142['joins'][_0xe88d('0x35')];_0x523109+=0x1){if(_0x1b8142[_0xe88d('0x77')][_0x523109]['type']&&_['includes'](_0x146519,_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x2c')])&&_0x1b8142['joins'][_0x523109][_0xe88d('0x79')]&&_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x7a')]&&_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x7b')]){_0x30268c[_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x2c')]](_0x1b8142[_0xe88d('0x77')][_0x523109]['foreignTable'],null,util[_0xe88d('0x74')](_0xe88d('0x7c'),_0x1b8142[_0xe88d('0x6f')],_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x79')],_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x7a')],_0x1b8142[_0xe88d('0x77')][_0x523109][_0xe88d('0x7b')]));}}}if(_0x1b8142['conditions']){_0x1b8142[_0xe88d('0x7d')]=JSON[_0xe88d('0x78')](_0x1b8142[_0xe88d('0x7d')]);_0x30268c['where'](_0x256efe(_0x1b8142[_0xe88d('0x7d')][_0xe88d('0x64')]));}_0x1c3072=_0x30268c[_0xe88d('0x87')]();_0x30268c[_0xe88d('0x18')](_0x524288);_0x30268c['offset'](0x0);return;}})[_0xe88d('0x1e')](function(){if(_0x4e844d[_0xe88d('0x88')]===_0xe88d('0x89')){return null;}var _0xb39dcf=_[_0xe88d('0x3d')](_0x4e844d,{'name':_0x4e844d[_0xe88d('0x8a')]||_0x4e844d[_0xe88d('0x26')]||_0x1b8142[_0xe88d('0x26')],'basename':_0x2ba701,'savename':util[_0xe88d('0x74')]('%s-%s.%s',_0x4e844d[_0xe88d('0x26')]||_0x1b8142[_0xe88d('0x26')],require('randomstring')[_0xe88d('0x8b')](0x4),_0x4e844d[_0xe88d('0x88')]||_0xe88d('0x8c')),'reportId':_0x1b8142['id'],'reportType':_0xe88d('0x8d')});return db[_0xe88d('0x8e')][_0xe88d('0x46')](_0xb39dcf,{'raw':!![]});})[_0xe88d('0x1e')](function(_0x424130){if(_0x1b8142[_0xe88d('0x6f')]==='cdr'){_0x1c3072['where'](_0x1b8142[_0xe88d('0x6f')]+'.calldate\x20BETWEEN\x20?\x20AND\x20?',_0x4e844d[_0xe88d('0x8f')],_0x4e844d[_0xe88d('0x90')]);}else{_0x1c3072[_0xe88d('0x3a')](_0x1b8142[_0xe88d('0x6f')]+_0xe88d('0x91'),_0x4e844d[_0xe88d('0x8f')],_0x4e844d['endDate']);}if(_0x424130){logger[_0xe88d('0x92')](_0xe88d('0x93'),_0x1c3072['toString']());require('child_process')[_0xe88d('0x94')](path[_0xe88d('0x4e')](__dirname,_0xe88d('0x95'),_0x424130[_0xe88d('0x88')]),[_0x424130['id'],_0x1c3072[_0xe88d('0x80')](),path[_0xe88d('0x4e')](__dirname,_0xe88d('0x96'),_0x424130[_0xe88d('0x97')]),_0x2ba701]);return _0x424130;}else{var _0x469e66=squel[_0xe88d('0x6d')]();_0x469e66[_0xe88d('0x6e')]('('+_0x1c3072['toString']()+')',_0xe88d('0x98'));_0x469e66[_0xe88d('0x65')](_0xe88d('0x99'),_0xe88d('0x16'));_0x1c3072[_0xe88d('0x18')](_0x4e844d[_0xe88d('0x18')]||_0x524288);_0x1c3072[_0xe88d('0x17')](_0x4e844d[_0xe88d('0x17')]||0x0);return dbH[_0xe88d('0x81')]['query'](_0x469e66[_0xe88d('0x80')](),{'type':dbH['sequelize']['QueryTypes']['SELECT']})[_0xe88d('0x1e')](function(_0x4aa5c7){if(!_0x4aa5c7[_0xe88d('0x35')]){_0x41c79e=0x0;}else{_0x41c79e=_0x4aa5c7[0x0][_0xe88d('0x16')]||0x0;}return dbH[_0xe88d('0x81')][_0xe88d('0x2e')](_0x1c3072[_0xe88d('0x80')](),{'type':dbH[_0xe88d('0x81')][_0xe88d('0x82')][_0xe88d('0x83')]});})[_0xe88d('0x1e')](function(_0x3c2864){return{'rows':_0x3c2864||[],'count':_0x41c79e};});}});}exports['run']=function(_0x11ff67,_0x2bf33c){return runReport(_0x11ff67[_0xe88d('0x68')],_0x11ff67['query'],_0x11ff67[_0xe88d('0x3f')])[_0xe88d('0x1e')](respondWithResult(_0x2bf33c,null))[_0xe88d('0x43')](handleError(_0x2bf33c,null));};exports[_0xe88d('0x9a')]=runReport;exports[_0xe88d('0x2e')]=function(_0x34ee5b,_0x35f89f){var _0x850bc3=0xa;var _0xa71e3e=['join',_0xe88d('0x4f'),_0xe88d('0x9b'),_0xe88d('0x50')];var _0x2107e7={'SUM':_0xe88d('0x51'),'COUNT':_0xe88d('0x52'),'COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xe88d('0x54'),'MIN':'MIN(%s)','AVG':'AVG(%s)','GROUP_CONCAT':_0xe88d('0x56'),'GROUP_CONCAT ASC':_0xe88d('0x57'),'GROUP_CONCAT DESC':_0xe88d('0x58')};var _0xe55d4c={'SEC_TO_TIME':_0xe88d('0x9c'),'DATE':'DATE(%s)','HOUR':_0xe88d('0x5a'),'ROUND':_0xe88d('0x5b'),'UNIX_TIMESTAMP':_0xe88d('0x5c')};var _0x20ec53=function(_0x2c4cbb){return!_[_0xe88d('0x5d')]([_0xe88d('0x5e'),_0xe88d('0x5f'),_0xe88d('0x60'),'IS\x20NOT\x20EMPTY'],_0x2c4cbb);};var _0x2b77bb=function(_0x235c41){if(!_0x235c41||!_0x235c41['rules'][_0xe88d('0x35')]){return'';}for(var _0x32450a='(',_0x577550=0x0;_0x577550<_0x235c41[_0xe88d('0x62')]['length'];_0x577550+=0x1){_0x577550>0x0&&(_0x32450a+='\x20'+_0x235c41[_0xe88d('0x63')]+'\x20');_0x32450a+=_0x235c41[_0xe88d('0x62')][_0x577550]['group']?_0x2b77bb(_0x235c41[_0xe88d('0x62')][_0x577550][_0xe88d('0x64')]):_0x235c41[_0xe88d('0x62')][_0x577550]['field']+'\x20'+_0x235c41['rules'][_0x577550][_0xe88d('0x66')]+(_0x20ec53(_0x235c41[_0xe88d('0x62')][_0x577550][_0xe88d('0x66')])?'\x20'+_0x235c41[_0xe88d('0x62')][_0x577550]['value']:'');}return _0x32450a+')';};var _0x13a5c3={'where':{'id':_0x34ee5b[_0xe88d('0x68')]['id']}},_0x4e0ed5,_0x36ee24,_0x1b7d2b,_0x244f91,_0x15bf23;_0x13a5c3=_[_0xe88d('0x3d')]({},_0x13a5c3,_0x34ee5b['options']);return db[_0xe88d('0x29')][_0xe88d('0x45')](_0x13a5c3)['then'](function(_0x10315d){if(_0x10315d){_0x4e0ed5=_0x10315d;return _0x10315d[_0xe88d('0x69')]();}return null;})[_0xe88d('0x1e')](function(_0x4831e7){if(_0x4831e7){if(!_0x4831e7['length']){throw new db[(_0xe88d('0x6a'))]['ValidationErrorItem']('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x36ee24=_0x4831e7;return db[_0xe88d('0x84')][_0xe88d('0x41')]({'raw':!![]});}return null;})[_0xe88d('0x1e')](function(_0x3a5c3a){if(_0x3a5c3a){_0x1b7d2b=_[_0xe88d('0x85')](_0x3a5c3a,'id');var _0x593877;var _0x1467cd=squel[_0xe88d('0x6d')]();_0x1467cd[_0xe88d('0x6e')](_0x4e0ed5[_0xe88d('0x6f')]);for(var _0x2bbc67=0x0;_0x2bbc67<_0x36ee24[_0xe88d('0x35')];_0x2bbc67+=0x1){_0x593877=_0x36ee24[_0x2bbc67]['MetricId']?_0x1b7d2b[_0x36ee24[_0x2bbc67][_0xe88d('0x70')]][_0xe88d('0x71')]:_0x36ee24[_0x2bbc67][_0xe88d('0x65')];_0x593877=_0x36ee24[_0x2bbc67][_0xe88d('0x73')]?_[_0xe88d('0x72')](_0x2107e7[_0x36ee24[_0x2bbc67][_0xe88d('0x73')]],'%s',_0x593877):_0x593877;_0x593877=_0x36ee24[_0x2bbc67][_0xe88d('0x74')]?_['replace'](_0xe55d4c[_0x36ee24[_0x2bbc67][_0xe88d('0x74')]],'%s',_0x593877):_0x593877;if(_0x36ee24[_0x2bbc67][_0xe88d('0x75')]){_0x1467cd[_0xe88d('0x64')](_0x593877);}_0x36ee24[_0x2bbc67][_0xe88d('0x76')]&&_0x1467cd[_0xe88d('0x38')](_0x593877,_0x36ee24[_0x2bbc67][_0xe88d('0x76')]===_0xe88d('0x9d')?![]:!![]);_0x1467cd[_0xe88d('0x65')](_0x593877,_0x36ee24[_0x2bbc67][_0xe88d('0x86')]||_0x593877);}if(_0x4e0ed5[_0xe88d('0x77')]){_0x4e0ed5[_0xe88d('0x77')]=JSON[_0xe88d('0x78')](_0x4e0ed5[_0xe88d('0x77')]);for(var _0x33a849=0x0;_0x33a849<_0x4e0ed5['joins'][_0xe88d('0x35')];_0x33a849+=0x1){if(_0x4e0ed5['joins'][_0x33a849][_0xe88d('0x2c')]&&_['includes'](_0xa71e3e,_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x2c')])&&_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x79')]&&_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x7a')]&&_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x7b')]){_0x1467cd[_0x4e0ed5[_0xe88d('0x77')][_0x33a849]['type']](_0x4e0ed5['joins'][_0x33a849][_0xe88d('0x7a')],null,util['format'](_0xe88d('0x7c'),_0x4e0ed5[_0xe88d('0x6f')],_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x79')],_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x7a')],_0x4e0ed5[_0xe88d('0x77')][_0x33a849][_0xe88d('0x7b')]));}}}if(_0x4e0ed5[_0xe88d('0x7d')]){_0x4e0ed5[_0xe88d('0x7d')]=JSON[_0xe88d('0x78')](_0x4e0ed5['conditions']);_0x1467cd['where'](_0x2b77bb(_0x4e0ed5['conditions'][_0xe88d('0x64')]));}_0x15bf23=_0x1467cd[_0xe88d('0x87')]();_0x1467cd[_0xe88d('0x18')](_0x850bc3);_0x1467cd[_0xe88d('0x17')](0x0);logger[_0xe88d('0x7e')](_0xe88d('0x7f'),_0x1467cd[_0xe88d('0x80')]());return dbH['sequelize']['query'](_0x1467cd[_0xe88d('0x80')](),{'type':dbH['sequelize'][_0xe88d('0x82')][_0xe88d('0x83')]});}})[_0xe88d('0x1e')](function(){return{'sql':_0x15bf23[_0xe88d('0x80')]()};})['then'](respondWithResult(_0x35f89f,null))[_0xe88d('0x43')](handleError(_0x35f89f,null));};
\ No newline at end of file
+var _0xca87=['%s.%s\x20=\x20%s.%s','conditions','parse','debug','Limited\x20Query:','toString','sequelize','QueryTypes','SUM(%s)','COUNT(%s)','UNIX_TIMESTAMP(%s)','IS\x20NULL','IS\x20NOT\x20NULL','keyBy','groupBy','clone','output','web','%s-%s.%s','generate','csv','custom','AnalyticExtractedReport','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','endDate','Run\x20Query:','fork','../../components/export/','../../files/reports','COUNT(*)','SELECT','runReport','Sequelize','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','dbH','status','end','undefined','count','offset','json','apply','save','update','destroy','then','get','UserProfileResource','sendStatus','error','stack','name','send','index','map','AnalyticCustomReport','rawAttributes','fieldName','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','limit','order','sort','pick','filter','where','merge','type','VIRTUAL','options','includeAll','include','findAll','rows','catch','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Reports','UserProfileSection','find','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','join','left_join','right_join','cross_join','COUNT(DISTINCT\x20%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)','includes','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','condition','value','getFields','ValidationErrorItem','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','select','from','table','MetricId','metric','field','function','replace','format','orderBy','DESC','alias','joins','parentKey','foreignTable','foreignKey'];(function(_0x6dfec,_0x2a2cf7){var _0x5ee20b=function(_0x266c57){while(--_0x266c57){_0x6dfec['push'](_0x6dfec['shift']());}};_0x5ee20b(++_0x2a2cf7);}(_0xca87,0xc6));var _0x7ca8=function(_0x310e3b,_0x4e6536){_0x310e3b=_0x310e3b-0x0;var _0x3b2836=_0xca87[_0x310e3b];return _0x3b2836;};'use strict';var emlformat=require(_0x7ca8('0x0'));var rimraf=require(_0x7ca8('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x7ca8('0x2'));var moment=require(_0x7ca8('0x3'));var BPromise=require(_0x7ca8('0x4'));var Mustache=require(_0x7ca8('0x5'));var util=require(_0x7ca8('0x6'));var path=require(_0x7ca8('0x7'));var sox=require('sox');var csv=require(_0x7ca8('0x8'));var ejs=require(_0x7ca8('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x7ca8('0xa'));var crypto=require('crypto');var jsforce=require(_0x7ca8('0xb'));var deskjs=require(_0x7ca8('0xc'));var toCsv=require(_0x7ca8('0x8'));var querystring=require(_0x7ca8('0xd'));var Papa=require(_0x7ca8('0xe'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x7ca8('0xf'));var as=require(_0x7ca8('0x10'));var hardwareService=require(_0x7ca8('0x11'));var logger=require(_0x7ca8('0x12'))(_0x7ca8('0x13'));var utils=require(_0x7ca8('0x14'));var config=require(_0x7ca8('0x15'));var licenseUtil=require(_0x7ca8('0x16'));var db=require(_0x7ca8('0x17'))['db'];var dbH=require(_0x7ca8('0x17'))[_0x7ca8('0x18')];function respondWithStatusCode(_0x2fdc61,_0x21986b){_0x21986b=_0x21986b||0xcc;return function(_0x14f6bb){if(_0x14f6bb){return _0x2fdc61['sendStatus'](_0x21986b);}return _0x2fdc61[_0x7ca8('0x19')](_0x21986b)[_0x7ca8('0x1a')]();};}function respondWithResult(_0x34b8ca,_0x3a44bb){_0x3a44bb=_0x3a44bb||0xc8;return function(_0xddecef){if(_0xddecef){return _0x34b8ca[_0x7ca8('0x19')](_0x3a44bb)['json'](_0xddecef);}};}function respondWithFilteredResult(_0x15d67b,_0x29fccb){return function(_0x195c4e){if(_0x195c4e){var _0x541509=typeof _0x29fccb['offset']==='undefined'&&typeof _0x29fccb['limit']===_0x7ca8('0x1b');var _0x446612=_0x195c4e[_0x7ca8('0x1c')];var _0x1857d0=_0x541509?0x0:_0x29fccb[_0x7ca8('0x1d')];var _0x105bfb=_0x541509?_0x195c4e[_0x7ca8('0x1c')]:_0x29fccb[_0x7ca8('0x1d')]+_0x29fccb['limit'];var _0x443c83;if(_0x105bfb>=_0x446612){_0x105bfb=_0x446612;_0x443c83=0xc8;}else{_0x443c83=0xce;}_0x15d67b[_0x7ca8('0x19')](_0x443c83);return _0x15d67b['set']('Content-Range',_0x1857d0+'-'+_0x105bfb+'/'+_0x446612)[_0x7ca8('0x1e')](_0x195c4e);}return null;};}function patchUpdates(_0x5ab2d4){return function(_0x5ce9f4){try{jsonpatch[_0x7ca8('0x1f')](_0x5ce9f4,_0x5ab2d4,!![]);}catch(_0x45caa4){return BPromise['reject'](_0x45caa4);}return _0x5ce9f4[_0x7ca8('0x20')]();};}function saveUpdates(_0x4ebff6,_0x352ffa){return function(_0x340969){if(_0x340969){return _0x340969[_0x7ca8('0x21')](_0x4ebff6)['then'](function(_0x38115f){return _0x38115f;});}return null;};}function removeEntity(_0x5ecffe,_0x1eecfd){return function(_0x247a09){if(_0x247a09){return _0x247a09[_0x7ca8('0x22')]()[_0x7ca8('0x23')](function(){var _0xc23208=_0x247a09[_0x7ca8('0x24')]({'plain':!![]});var _0x37cd01='CustomReports';return db[_0x7ca8('0x25')][_0x7ca8('0x22')]({'where':{'type':_0x37cd01,'resourceId':_0xc23208['id']}})['then'](function(){return _0x247a09;});})[_0x7ca8('0x23')](function(){_0x5ecffe['status'](0xcc)[_0x7ca8('0x1a')]();});}};}function handleEntityNotFound(_0x56d448,_0x1ef11b){return function(_0x1f67f0){if(!_0x1f67f0){_0x56d448[_0x7ca8('0x26')](0x194);}return _0x1f67f0;};}function handleError(_0xccf768,_0x5ac69b){_0x5ac69b=_0x5ac69b||0x1f4;return function(_0x24b424){logger[_0x7ca8('0x27')](_0x24b424[_0x7ca8('0x28')]);if(_0x24b424[_0x7ca8('0x29')]){delete _0x24b424[_0x7ca8('0x29')];}_0xccf768['status'](_0x5ac69b)[_0x7ca8('0x2a')](_0x24b424);};}exports[_0x7ca8('0x2b')]=function(_0x197876,_0x1ae1ce){var _0x409beb={},_0x3128d1={},_0x36f9b5={'count':0x0,'rows':[]};var _0x50dbf2=_[_0x7ca8('0x2c')](db[_0x7ca8('0x2d')][_0x7ca8('0x2e')],function(_0x1f5d85){return{'name':_0x1f5d85[_0x7ca8('0x2f')],'type':_0x1f5d85['type']['key']};});_0x3128d1[_0x7ca8('0x30')]=_[_0x7ca8('0x2c')](_0x50dbf2,_0x7ca8('0x29'));_0x3128d1['query']=_['keys'](_0x197876[_0x7ca8('0x31')]);_0x3128d1[_0x7ca8('0x32')]=_[_0x7ca8('0x33')](_0x3128d1['model'],_0x3128d1[_0x7ca8('0x31')]);_0x409beb['attributes']=_[_0x7ca8('0x33')](_0x3128d1[_0x7ca8('0x30')],qs[_0x7ca8('0x34')](_0x197876[_0x7ca8('0x31')][_0x7ca8('0x34')]));_0x409beb[_0x7ca8('0x35')]=_0x409beb[_0x7ca8('0x35')][_0x7ca8('0x36')]?_0x409beb[_0x7ca8('0x35')]:_0x3128d1[_0x7ca8('0x30')];if(!_0x197876['query'][_0x7ca8('0x37')](_0x7ca8('0x38'))){_0x409beb[_0x7ca8('0x39')]=qs[_0x7ca8('0x39')](_0x197876[_0x7ca8('0x31')]['limit']);_0x409beb[_0x7ca8('0x1d')]=qs[_0x7ca8('0x1d')](_0x197876[_0x7ca8('0x31')]['offset']);}_0x409beb[_0x7ca8('0x3a')]=qs[_0x7ca8('0x3b')](_0x197876[_0x7ca8('0x31')][_0x7ca8('0x3b')]);_0x409beb['where']=qs[_0x7ca8('0x32')](_[_0x7ca8('0x3c')](_0x197876[_0x7ca8('0x31')],_0x3128d1[_0x7ca8('0x32')]),_0x50dbf2);if(_0x197876[_0x7ca8('0x31')][_0x7ca8('0x3d')]){_0x409beb[_0x7ca8('0x3e')]=_[_0x7ca8('0x3f')](_0x409beb[_0x7ca8('0x3e')],{'$or':_[_0x7ca8('0x2c')](_0x50dbf2,function(_0x2403a1){if(_0x2403a1[_0x7ca8('0x40')]!==_0x7ca8('0x41')){var _0x40e10e={};_0x40e10e[_0x2403a1[_0x7ca8('0x29')]]={'$like':'%'+_0x197876[_0x7ca8('0x31')]['filter']+'%'};return _0x40e10e;}})});}_0x409beb=_['merge']({},_0x409beb,_0x197876[_0x7ca8('0x42')]);var _0x4435e2={'where':_0x409beb['where']};return db['AnalyticCustomReport'][_0x7ca8('0x1c')](_0x4435e2)['then'](function(_0x4bda20){_0x36f9b5['count']=_0x4bda20;if(_0x197876['query'][_0x7ca8('0x43')]){_0x409beb[_0x7ca8('0x44')]=[{'all':!![]}];}return db[_0x7ca8('0x2d')][_0x7ca8('0x45')](_0x409beb);})['then'](function(_0x4af9cc){_0x36f9b5[_0x7ca8('0x46')]=_0x4af9cc;return _0x36f9b5;})[_0x7ca8('0x23')](respondWithFilteredResult(_0x1ae1ce,_0x409beb))[_0x7ca8('0x47')](handleError(_0x1ae1ce,null));};exports['show']=function(_0x5f152c,_0x308d56){var _0x26ae1d={'raw':![],'where':{'id':_0x5f152c['params']['id']}},_0x28fe63={};_0x28fe63['model']=_['keys'](db[_0x7ca8('0x2d')]['rawAttributes']);_0x28fe63[_0x7ca8('0x31')]=_['keys'](_0x5f152c[_0x7ca8('0x31')]);_0x28fe63[_0x7ca8('0x32')]=_[_0x7ca8('0x33')](_0x28fe63['model'],_0x28fe63['query']);_0x26ae1d[_0x7ca8('0x35')]=_[_0x7ca8('0x33')](_0x28fe63[_0x7ca8('0x30')],qs[_0x7ca8('0x34')](_0x5f152c['query']['fields']));_0x26ae1d[_0x7ca8('0x35')]=_0x26ae1d[_0x7ca8('0x35')][_0x7ca8('0x36')]?_0x26ae1d['attributes']:_0x28fe63[_0x7ca8('0x30')];if(_0x5f152c[_0x7ca8('0x31')][_0x7ca8('0x43')]){_0x26ae1d[_0x7ca8('0x44')]=[{'all':!![]}];}_0x26ae1d=_[_0x7ca8('0x3f')]({},_0x26ae1d,_0x5f152c[_0x7ca8('0x42')]);return db['AnalyticCustomReport']['find'](_0x26ae1d)[_0x7ca8('0x23')](handleEntityNotFound(_0x308d56,null))[_0x7ca8('0x23')](respondWithResult(_0x308d56,null))[_0x7ca8('0x47')](handleError(_0x308d56,null));};exports['create']=function(_0x1736a8,_0x13763f){return db[_0x7ca8('0x2d')][_0x7ca8('0x48')](_0x1736a8[_0x7ca8('0x49')],{})['then'](function(_0x3ed641){var _0x4cb92e=_0x1736a8[_0x7ca8('0x4a')][_0x7ca8('0x24')]({'plain':!![]});if(!_0x4cb92e)throw new Error(_0x7ca8('0x4b'));if(_0x4cb92e[_0x7ca8('0x4c')]==='user'){var _0x5b3399=_0x3ed641['get']({'plain':!![]});var _0x1a6407=_0x7ca8('0x4d');return db[_0x7ca8('0x4e')][_0x7ca8('0x4f')]({'where':{'name':_0x1a6407,'userProfileId':_0x4cb92e[_0x7ca8('0x50')]},'raw':!![]})[_0x7ca8('0x23')](function(_0x52424a){if(_0x52424a&&_0x52424a['autoAssociation']===0x0){return db[_0x7ca8('0x25')][_0x7ca8('0x48')]({'name':_0x5b3399[_0x7ca8('0x29')],'resourceId':_0x5b3399['id'],'type':'CustomReports','sectionId':_0x52424a['id']},{})['then'](function(){return _0x3ed641;});}else{return _0x3ed641;}})[_0x7ca8('0x47')](function(_0x383c22){logger[_0x7ca8('0x27')](_0x7ca8('0x51'),_0x383c22);throw _0x383c22;});}return _0x3ed641;})[_0x7ca8('0x23')](respondWithResult(_0x13763f,0xc9))[_0x7ca8('0x47')](handleError(_0x13763f,null));};exports['update']=function(_0x1fb5a6,_0x36f940){if(_0x1fb5a6[_0x7ca8('0x49')]['id']){delete _0x1fb5a6[_0x7ca8('0x49')]['id'];}return db[_0x7ca8('0x2d')][_0x7ca8('0x4f')]({'where':{'id':_0x1fb5a6['params']['id']}})[_0x7ca8('0x23')](handleEntityNotFound(_0x36f940,null))['then'](saveUpdates(_0x1fb5a6['body'],null))[_0x7ca8('0x23')](respondWithResult(_0x36f940,null))['catch'](handleError(_0x36f940,null));};exports['destroy']=function(_0x214cca,_0x3478c6){return db[_0x7ca8('0x2d')]['find']({'where':{'id':_0x214cca[_0x7ca8('0x52')]['id']}})['then'](handleEntityNotFound(_0x3478c6,null))[_0x7ca8('0x23')](removeEntity(_0x3478c6,null))[_0x7ca8('0x47')](handleError(_0x3478c6,null));};exports['preview']=function(_0x21568e,_0x4ef80e){var _0x2bf168=0xa;var _0x11714b=[_0x7ca8('0x53'),_0x7ca8('0x54'),_0x7ca8('0x55'),_0x7ca8('0x56')];var _0x240883={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':_0x7ca8('0x57'),'MAX':_0x7ca8('0x58'),'MIN':_0x7ca8('0x59'),'AVG':_0x7ca8('0x5a'),'GROUP_CONCAT':_0x7ca8('0x5b'),'GROUP_CONCAT ASC':_0x7ca8('0x5c'),'GROUP_CONCAT DESC':_0x7ca8('0x5d')};var _0x57f453={'SEC_TO_TIME':_0x7ca8('0x5e'),'DATE':_0x7ca8('0x5f'),'HOUR':_0x7ca8('0x60'),'ROUND':_0x7ca8('0x61'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x4919a0=function(_0x2b9077){return!_[_0x7ca8('0x62')](['IS\x20NULL','IS\x20NOT\x20NULL',_0x7ca8('0x63'),_0x7ca8('0x64')],_0x2b9077);};var _0x2410dc=function(_0x2c600a){if(!_0x2c600a||!_0x2c600a[_0x7ca8('0x65')][_0x7ca8('0x36')]){return'';}for(var _0x474e78='(',_0x1b98b2=0x0;_0x1b98b2<_0x2c600a[_0x7ca8('0x65')][_0x7ca8('0x36')];_0x1b98b2+=0x1){_0x1b98b2>0x0&&(_0x474e78+='\x20'+_0x2c600a[_0x7ca8('0x66')]+'\x20');_0x474e78+=_0x2c600a[_0x7ca8('0x65')][_0x1b98b2][_0x7ca8('0x67')]?_0x2410dc(_0x2c600a[_0x7ca8('0x65')][_0x1b98b2][_0x7ca8('0x67')]):_0x2c600a['rules'][_0x1b98b2]['field']+'\x20'+_0x2c600a[_0x7ca8('0x65')][_0x1b98b2][_0x7ca8('0x68')]+(_0x4919a0(_0x2c600a['rules'][_0x1b98b2][_0x7ca8('0x68')])?'\x20'+_0x2c600a[_0x7ca8('0x65')][_0x1b98b2][_0x7ca8('0x69')]:'');}return _0x474e78+')';};var _0x3b195b={'where':{'id':_0x21568e['params']['id']}},_0x273a4a,_0x7e3de9,_0xe184dd,_0x17ef99,_0x732de6;_0x3b195b=_[_0x7ca8('0x3f')]({},_0x3b195b,_0x21568e[_0x7ca8('0x42')]);return db[_0x7ca8('0x2d')]['find'](_0x3b195b)['then'](function(_0x3d5488){if(_0x3d5488){_0x273a4a=_0x3d5488;return _0x3d5488[_0x7ca8('0x6a')]();}return null;})[_0x7ca8('0x23')](function(_0x5e5bee){if(_0x5e5bee){if(!_0x5e5bee[_0x7ca8('0x36')]){throw new db['Sequelize'][(_0x7ca8('0x6b'))](_0x7ca8('0x6c'),0x193);}_0x7e3de9=_0x5e5bee;return db[_0x7ca8('0x6d')][_0x7ca8('0x45')]({'raw':!![]});}return null;})[_0x7ca8('0x23')](function(_0xaeb74e){if(_0xaeb74e){_0xe184dd=_['keyBy'](_0xaeb74e,'id');var _0x1b21f0;var _0x57ee10=squel[_0x7ca8('0x6e')]();_0x57ee10[_0x7ca8('0x6f')](_0x273a4a[_0x7ca8('0x70')]);for(var _0x294854=0x0;_0x294854<_0x7e3de9['length'];_0x294854+=0x1){_0x1b21f0=_0x7e3de9[_0x294854][_0x7ca8('0x71')]?_0xe184dd[_0x7e3de9[_0x294854][_0x7ca8('0x71')]][_0x7ca8('0x72')]:_0x7e3de9[_0x294854][_0x7ca8('0x73')];_0x1b21f0=_0x7e3de9[_0x294854][_0x7ca8('0x74')]?_[_0x7ca8('0x75')](_0x240883[_0x7e3de9[_0x294854][_0x7ca8('0x74')]],'%s',_0x1b21f0):_0x1b21f0;_0x1b21f0=_0x7e3de9[_0x294854][_0x7ca8('0x76')]?_[_0x7ca8('0x75')](_0x57f453[_0x7e3de9[_0x294854]['format']],'%s',_0x1b21f0):_0x1b21f0;if(_0x7e3de9[_0x294854]['groupBy']){_0x57ee10[_0x7ca8('0x67')](_0x1b21f0);}_0x7e3de9[_0x294854]['orderBy']&&_0x57ee10[_0x7ca8('0x3a')](_0x1b21f0,_0x7e3de9[_0x294854][_0x7ca8('0x77')]===_0x7ca8('0x78')?![]:!![]);_0x57ee10[_0x7ca8('0x73')](_0x1b21f0,_0x7e3de9[_0x294854][_0x7ca8('0x79')]||_0x1b21f0);}if(_0x273a4a[_0x7ca8('0x7a')]){_0x273a4a['joins']=JSON['parse'](_0x273a4a['joins']);for(var _0x10c860=0x0;_0x10c860<_0x273a4a[_0x7ca8('0x7a')][_0x7ca8('0x36')];_0x10c860+=0x1){if(_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x40')]&&_[_0x7ca8('0x62')](_0x11714b,_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x40')])&&_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x7b')]&&_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x7c')]&&_0x273a4a['joins'][_0x10c860][_0x7ca8('0x7d')]){_0x57ee10[_0x273a4a[_0x7ca8('0x7a')][_0x10c860]['type']](_0x273a4a['joins'][_0x10c860][_0x7ca8('0x7c')],null,util[_0x7ca8('0x76')](_0x7ca8('0x7e'),_0x273a4a[_0x7ca8('0x70')],_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x7b')],_0x273a4a[_0x7ca8('0x7a')][_0x10c860][_0x7ca8('0x7c')],_0x273a4a[_0x7ca8('0x7a')][_0x10c860]['foreignKey']));}}}if(_0x273a4a[_0x7ca8('0x7f')]){_0x273a4a[_0x7ca8('0x7f')]=JSON[_0x7ca8('0x80')](_0x273a4a[_0x7ca8('0x7f')]);_0x57ee10[_0x7ca8('0x3e')](_0x2410dc(_0x273a4a[_0x7ca8('0x7f')][_0x7ca8('0x67')]));}_0x732de6=_0x57ee10['clone']();_0x57ee10[_0x7ca8('0x39')](_0x2bf168);_0x57ee10[_0x7ca8('0x1d')](0x0);logger[_0x7ca8('0x81')](_0x7ca8('0x82'),_0x57ee10[_0x7ca8('0x83')]());return dbH[_0x7ca8('0x84')]['query'](_0x57ee10[_0x7ca8('0x83')](),{'type':dbH[_0x7ca8('0x84')][_0x7ca8('0x85')]['SELECT']});}})[_0x7ca8('0x23')](respondWithResult(_0x4ef80e,null))[_0x7ca8('0x47')](handleError(_0x4ef80e,null));};function runReport(_0x3a4e93,_0x533fc5,_0x2a4d3b){var _0x19276b=_0x533fc5[_0x7ca8('0x29')];var _0x17d19a=0xa;var _0x1c6a32=[_0x7ca8('0x53'),_0x7ca8('0x54'),_0x7ca8('0x55'),'cross_join'];var _0x51e226={'SUM':_0x7ca8('0x86'),'COUNT':_0x7ca8('0x87'),'COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0x7ca8('0x58'),'MIN':'MIN(%s)','AVG':_0x7ca8('0x5a'),'GROUP_CONCAT':_0x7ca8('0x5b'),'GROUP_CONCAT ASC':_0x7ca8('0x5c'),'GROUP_CONCAT DESC':_0x7ca8('0x5d')};var _0x188c35={'SEC_TO_TIME':_0x7ca8('0x5e'),'DATE':'DATE(%s)','HOUR':_0x7ca8('0x60'),'ROUND':_0x7ca8('0x61'),'UNIX_TIMESTAMP':_0x7ca8('0x88')};var _0x18a287=function(_0xba3d33){return!_[_0x7ca8('0x62')]([_0x7ca8('0x89'),_0x7ca8('0x8a'),_0x7ca8('0x63'),_0x7ca8('0x64')],_0xba3d33);};var _0x259cfd=function(_0x331725){if(!_0x331725||!_0x331725['rules'][_0x7ca8('0x36')]){return'';}for(var _0x32afbb='(',_0x23ea55=0x0;_0x23ea55<_0x331725[_0x7ca8('0x65')]['length'];_0x23ea55+=0x1){_0x23ea55>0x0&&(_0x32afbb+='\x20'+_0x331725[_0x7ca8('0x66')]+'\x20');_0x32afbb+=_0x331725['rules'][_0x23ea55][_0x7ca8('0x67')]?_0x259cfd(_0x331725['rules'][_0x23ea55][_0x7ca8('0x67')]):_0x331725[_0x7ca8('0x65')][_0x23ea55][_0x7ca8('0x73')]+'\x20'+_0x331725[_0x7ca8('0x65')][_0x23ea55][_0x7ca8('0x68')]+(_0x18a287(_0x331725[_0x7ca8('0x65')][_0x23ea55][_0x7ca8('0x68')])?'\x20'+_0x331725[_0x7ca8('0x65')][_0x23ea55][_0x7ca8('0x69')]:'');}return _0x32afbb+')';};var _0x19a175={'where':{'id':_0x3a4e93['id']}},_0x21eab0,_0x524080,_0x4ebe1a,_0x6b73ad,_0x4e9401;_0x19a175=_['merge']({},_0x19a175,_0x2a4d3b);return db[_0x7ca8('0x2d')][_0x7ca8('0x4f')](_0x19a175)[_0x7ca8('0x23')](function(_0x2467fb){if(_0x2467fb){_0x21eab0=_0x2467fb;return _0x2467fb[_0x7ca8('0x6a')]();}return null;})[_0x7ca8('0x23')](function(_0x29de7b){if(_0x29de7b){if(!_0x29de7b[_0x7ca8('0x36')]){throw new db['Sequelize'][(_0x7ca8('0x6b'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x524080=_0x29de7b;return db[_0x7ca8('0x6d')]['findAll']({'raw':!![]});}return null;})[_0x7ca8('0x23')](function(_0x59c8aa){if(_0x59c8aa){_0x4ebe1a=_[_0x7ca8('0x8b')](_0x59c8aa,'id');var _0x5a9e3e;var _0x42ec5f=squel[_0x7ca8('0x6e')]();_0x42ec5f['from'](_0x21eab0[_0x7ca8('0x70')]);for(var _0x159fb2=0x0;_0x159fb2<_0x524080['length'];_0x159fb2+=0x1){_0x5a9e3e=_0x524080[_0x159fb2]['MetricId']?_0x4ebe1a[_0x524080[_0x159fb2]['MetricId']][_0x7ca8('0x72')]:_0x524080[_0x159fb2][_0x7ca8('0x73')];_0x5a9e3e=_0x524080[_0x159fb2][_0x7ca8('0x74')]?_[_0x7ca8('0x75')](_0x51e226[_0x524080[_0x159fb2]['function']],'%s',_0x5a9e3e):_0x5a9e3e;_0x5a9e3e=_0x524080[_0x159fb2][_0x7ca8('0x76')]?_['replace'](_0x188c35[_0x524080[_0x159fb2][_0x7ca8('0x76')]],'%s',_0x5a9e3e):_0x5a9e3e;if(_0x524080[_0x159fb2][_0x7ca8('0x8c')]){_0x42ec5f['group'](_0x5a9e3e);}_0x524080[_0x159fb2]['orderBy']&&_0x42ec5f[_0x7ca8('0x3a')](_0x5a9e3e,_0x524080[_0x159fb2][_0x7ca8('0x77')]===_0x7ca8('0x78')?![]:!![]);_0x42ec5f[_0x7ca8('0x73')](_0x5a9e3e,_0x524080[_0x159fb2][_0x7ca8('0x79')]||_0x5a9e3e);}if(_0x21eab0['joins']){_0x21eab0[_0x7ca8('0x7a')]=JSON[_0x7ca8('0x80')](_0x21eab0[_0x7ca8('0x7a')]);for(var _0x40ffef=0x0;_0x40ffef<_0x21eab0[_0x7ca8('0x7a')][_0x7ca8('0x36')];_0x40ffef+=0x1){if(_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x40')]&&_[_0x7ca8('0x62')](_0x1c6a32,_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x40')])&&_0x21eab0[_0x7ca8('0x7a')][_0x40ffef]['parentKey']&&_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x7c')]&&_0x21eab0['joins'][_0x40ffef][_0x7ca8('0x7d')]){_0x42ec5f[_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x40')]](_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x7c')],null,util[_0x7ca8('0x76')](_0x7ca8('0x7e'),_0x21eab0['table'],_0x21eab0[_0x7ca8('0x7a')][_0x40ffef][_0x7ca8('0x7b')],_0x21eab0['joins'][_0x40ffef][_0x7ca8('0x7c')],_0x21eab0[_0x7ca8('0x7a')][_0x40ffef]['foreignKey']));}}}if(_0x21eab0[_0x7ca8('0x7f')]){_0x21eab0[_0x7ca8('0x7f')]=JSON[_0x7ca8('0x80')](_0x21eab0['conditions']);_0x42ec5f[_0x7ca8('0x3e')](_0x259cfd(_0x21eab0[_0x7ca8('0x7f')][_0x7ca8('0x67')]));}_0x4e9401=_0x42ec5f[_0x7ca8('0x8d')]();_0x42ec5f[_0x7ca8('0x39')](_0x17d19a);_0x42ec5f[_0x7ca8('0x1d')](0x0);return;}})[_0x7ca8('0x23')](function(){if(_0x533fc5[_0x7ca8('0x8e')]===_0x7ca8('0x8f')){return null;}var _0x4aa5c6=_[_0x7ca8('0x3f')](_0x533fc5,{'name':_0x533fc5['fullPath']||_0x533fc5[_0x7ca8('0x29')]||_0x21eab0['name'],'basename':_0x19276b,'savename':util[_0x7ca8('0x76')](_0x7ca8('0x90'),_0x533fc5[_0x7ca8('0x29')]||_0x21eab0['name'],require('randomstring')[_0x7ca8('0x91')](0x4),_0x533fc5[_0x7ca8('0x8e')]||_0x7ca8('0x92')),'reportId':_0x21eab0['id'],'reportType':_0x7ca8('0x93')});return db[_0x7ca8('0x94')][_0x7ca8('0x48')](_0x4aa5c6,{'raw':!![]});})[_0x7ca8('0x23')](function(_0x2c341f){if(_0x21eab0[_0x7ca8('0x70')]===_0x7ca8('0x95')){_0x4e9401['where'](_0x21eab0['table']+_0x7ca8('0x96'),_0x533fc5[_0x7ca8('0x97')],_0x533fc5['endDate']);}else{_0x4e9401[_0x7ca8('0x3e')](_0x21eab0[_0x7ca8('0x70')]+_0x7ca8('0x98'),_0x533fc5[_0x7ca8('0x97')],_0x533fc5[_0x7ca8('0x99')]);}if(_0x2c341f){logger['info'](_0x7ca8('0x9a'),_0x4e9401[_0x7ca8('0x83')]());require('child_process')[_0x7ca8('0x9b')](path['join'](__dirname,_0x7ca8('0x9c'),_0x2c341f[_0x7ca8('0x8e')]),[_0x2c341f['id'],_0x4e9401[_0x7ca8('0x83')](),path[_0x7ca8('0x53')](__dirname,_0x7ca8('0x9d'),_0x2c341f['savename']),_0x19276b]);return _0x2c341f;}else{var _0x55c70b=squel[_0x7ca8('0x6e')]();_0x55c70b[_0x7ca8('0x6f')]('('+_0x4e9401[_0x7ca8('0x83')]()+')','countTable');_0x55c70b[_0x7ca8('0x73')](_0x7ca8('0x9e'),_0x7ca8('0x1c'));_0x4e9401[_0x7ca8('0x39')](_0x533fc5[_0x7ca8('0x39')]||_0x17d19a);_0x4e9401['offset'](_0x533fc5[_0x7ca8('0x1d')]||0x0);return dbH[_0x7ca8('0x84')][_0x7ca8('0x31')](_0x55c70b['toString'](),{'type':dbH[_0x7ca8('0x84')][_0x7ca8('0x85')][_0x7ca8('0x9f')]})[_0x7ca8('0x23')](function(_0x4cd8df){if(!_0x4cd8df[_0x7ca8('0x36')]){_0x6b73ad=0x0;}else{_0x6b73ad=_0x4cd8df[0x0]['count']||0x0;}return dbH[_0x7ca8('0x84')][_0x7ca8('0x31')](_0x4e9401['toString'](),{'type':dbH[_0x7ca8('0x84')]['QueryTypes'][_0x7ca8('0x9f')]});})[_0x7ca8('0x23')](function(_0x44ea9b){return{'rows':_0x44ea9b||[],'count':_0x6b73ad};});}});}exports['run']=function(_0x23ce28,_0x1ac859){return runReport(_0x23ce28[_0x7ca8('0x52')],_0x23ce28['query'],_0x23ce28[_0x7ca8('0x42')])[_0x7ca8('0x23')](respondWithResult(_0x1ac859,null))[_0x7ca8('0x47')](handleError(_0x1ac859,null));};exports[_0x7ca8('0xa0')]=runReport;exports[_0x7ca8('0x31')]=function(_0x30b651,_0x223440){var _0x1175c9=0xa;var _0x120c8b=['join',_0x7ca8('0x54'),_0x7ca8('0x55'),_0x7ca8('0x56')];var _0x5b4ef2={'SUM':_0x7ca8('0x86'),'COUNT':_0x7ca8('0x87'),'COUNT DISTINCT':_0x7ca8('0x57'),'MAX':_0x7ca8('0x58'),'MIN':_0x7ca8('0x59'),'AVG':_0x7ca8('0x5a'),'GROUP_CONCAT':_0x7ca8('0x5b'),'GROUP_CONCAT ASC':_0x7ca8('0x5c'),'GROUP_CONCAT DESC':_0x7ca8('0x5d')};var _0x27663f={'SEC_TO_TIME':_0x7ca8('0x5e'),'DATE':_0x7ca8('0x5f'),'HOUR':'HOUR(%s)','ROUND':'ROUND(%s)','UNIX_TIMESTAMP':_0x7ca8('0x88')};var _0x57df96=function(_0x11dca9){return!_[_0x7ca8('0x62')]([_0x7ca8('0x89'),_0x7ca8('0x8a'),'IS\x20EMPTY',_0x7ca8('0x64')],_0x11dca9);};var _0x5967c5=function(_0x460300){if(!_0x460300||!_0x460300['rules'][_0x7ca8('0x36')]){return'';}for(var _0x1931d6='(',_0xb9952d=0x0;_0xb9952d<_0x460300[_0x7ca8('0x65')][_0x7ca8('0x36')];_0xb9952d+=0x1){_0xb9952d>0x0&&(_0x1931d6+='\x20'+_0x460300[_0x7ca8('0x66')]+'\x20');_0x1931d6+=_0x460300[_0x7ca8('0x65')][_0xb9952d][_0x7ca8('0x67')]?_0x5967c5(_0x460300[_0x7ca8('0x65')][_0xb9952d][_0x7ca8('0x67')]):_0x460300[_0x7ca8('0x65')][_0xb9952d][_0x7ca8('0x73')]+'\x20'+_0x460300['rules'][_0xb9952d]['condition']+(_0x57df96(_0x460300[_0x7ca8('0x65')][_0xb9952d][_0x7ca8('0x68')])?'\x20'+_0x460300[_0x7ca8('0x65')][_0xb9952d][_0x7ca8('0x69')]:'');}return _0x1931d6+')';};var _0x10f34a={'where':{'id':_0x30b651[_0x7ca8('0x52')]['id']}},_0x5052b0,_0x26bed6,_0x16007f,_0x202fee,_0x408265;_0x10f34a=_['merge']({},_0x10f34a,_0x30b651[_0x7ca8('0x42')]);return db[_0x7ca8('0x2d')]['find'](_0x10f34a)[_0x7ca8('0x23')](function(_0x872980){if(_0x872980){_0x5052b0=_0x872980;return _0x872980[_0x7ca8('0x6a')]();}return null;})['then'](function(_0x5731b1){if(_0x5731b1){if(!_0x5731b1[_0x7ca8('0x36')]){throw new db[(_0x7ca8('0xa1'))][(_0x7ca8('0x6b'))](_0x7ca8('0x6c'),0x193);}_0x26bed6=_0x5731b1;return db[_0x7ca8('0x6d')][_0x7ca8('0x45')]({'raw':!![]});}return null;})[_0x7ca8('0x23')](function(_0x2cc49d){if(_0x2cc49d){_0x16007f=_['keyBy'](_0x2cc49d,'id');var _0x5e708d;var _0x168701=squel['select']();_0x168701[_0x7ca8('0x6f')](_0x5052b0[_0x7ca8('0x70')]);for(var _0x9c5da=0x0;_0x9c5da<_0x26bed6[_0x7ca8('0x36')];_0x9c5da+=0x1){_0x5e708d=_0x26bed6[_0x9c5da][_0x7ca8('0x71')]?_0x16007f[_0x26bed6[_0x9c5da][_0x7ca8('0x71')]][_0x7ca8('0x72')]:_0x26bed6[_0x9c5da][_0x7ca8('0x73')];_0x5e708d=_0x26bed6[_0x9c5da][_0x7ca8('0x74')]?_['replace'](_0x5b4ef2[_0x26bed6[_0x9c5da][_0x7ca8('0x74')]],'%s',_0x5e708d):_0x5e708d;_0x5e708d=_0x26bed6[_0x9c5da][_0x7ca8('0x76')]?_[_0x7ca8('0x75')](_0x27663f[_0x26bed6[_0x9c5da]['format']],'%s',_0x5e708d):_0x5e708d;if(_0x26bed6[_0x9c5da][_0x7ca8('0x8c')]){_0x168701[_0x7ca8('0x67')](_0x5e708d);}_0x26bed6[_0x9c5da][_0x7ca8('0x77')]&&_0x168701[_0x7ca8('0x3a')](_0x5e708d,_0x26bed6[_0x9c5da]['orderBy']===_0x7ca8('0x78')?![]:!![]);_0x168701[_0x7ca8('0x73')](_0x5e708d,_0x26bed6[_0x9c5da][_0x7ca8('0x79')]||_0x5e708d);}if(_0x5052b0[_0x7ca8('0x7a')]){_0x5052b0[_0x7ca8('0x7a')]=JSON[_0x7ca8('0x80')](_0x5052b0[_0x7ca8('0x7a')]);for(var _0x4af899=0x0;_0x4af899<_0x5052b0['joins'][_0x7ca8('0x36')];_0x4af899+=0x1){if(_0x5052b0['joins'][_0x4af899][_0x7ca8('0x40')]&&_['includes'](_0x120c8b,_0x5052b0['joins'][_0x4af899]['type'])&&_0x5052b0[_0x7ca8('0x7a')][_0x4af899][_0x7ca8('0x7b')]&&_0x5052b0[_0x7ca8('0x7a')][_0x4af899]['foreignTable']&&_0x5052b0[_0x7ca8('0x7a')][_0x4af899]['foreignKey']){_0x168701[_0x5052b0[_0x7ca8('0x7a')][_0x4af899][_0x7ca8('0x40')]](_0x5052b0[_0x7ca8('0x7a')][_0x4af899]['foreignTable'],null,util[_0x7ca8('0x76')]('%s.%s\x20=\x20%s.%s',_0x5052b0['table'],_0x5052b0['joins'][_0x4af899][_0x7ca8('0x7b')],_0x5052b0['joins'][_0x4af899]['foreignTable'],_0x5052b0['joins'][_0x4af899][_0x7ca8('0x7d')]));}}}if(_0x5052b0[_0x7ca8('0x7f')]){_0x5052b0['conditions']=JSON[_0x7ca8('0x80')](_0x5052b0[_0x7ca8('0x7f')]);_0x168701[_0x7ca8('0x3e')](_0x5967c5(_0x5052b0['conditions'][_0x7ca8('0x67')]));}_0x408265=_0x168701[_0x7ca8('0x8d')]();_0x168701[_0x7ca8('0x39')](_0x1175c9);_0x168701[_0x7ca8('0x1d')](0x0);logger[_0x7ca8('0x81')]('Limited\x20Query:',_0x168701[_0x7ca8('0x83')]());return dbH[_0x7ca8('0x84')][_0x7ca8('0x31')](_0x168701[_0x7ca8('0x83')](),{'type':dbH[_0x7ca8('0x84')][_0x7ca8('0x85')][_0x7ca8('0x9f')]});}})[_0x7ca8('0x23')](function(){return{'sql':_0x408265[_0x7ca8('0x83')]()};})[_0x7ca8('0x23')](respondWithResult(_0x223440,null))[_0x7ca8('0x47')](handleError(_0x223440,null));};
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.model.js b/server/api/analyticCustomReport/analyticCustomReport.model.js
index b730b01..6d52a84 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 _0x322d=['analytics_custom_reports','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','AnalyticCustomReport'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x322d,0x121));var _0xd322=function(_0x39346a,_0x5c3ed1){_0x39346a=_0x39346a-0x0;var _0x335564=_0x322d[_0x39346a];return _0x335564;};'use strict';var _=require(_0xd322('0x0'));var util=require('util');var logger=require(_0xd322('0x1'))('api');var moment=require(_0xd322('0x2'));var BPromise=require(_0xd322('0x3'));var rp=require(_0xd322('0x4'));var fs=require('fs');var path=require(_0xd322('0x5'));var rimraf=require(_0xd322('0x6'));var config=require(_0xd322('0x7'));var attributes=require(_0xd322('0x8'));module[_0xd322('0x9')]=function(_0x582a6d,_0x11c722){return _0x582a6d['define'](_0xd322('0xa'),attributes,{'tableName':_0xd322('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x04da=['AnalyticCustomReport','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define'];(function(_0x3a0579,_0x17d535){var _0xa6faf3=function(_0x17a11b){while(--_0x17a11b){_0x3a0579['push'](_0x3a0579['shift']());}};_0xa6faf3(++_0x17d535);}(_0x04da,0xf8));var _0xa04d=function(_0x11ba46,_0x1d6752){_0x11ba46=_0x11ba46-0x0;var _0x1c8c6f=_0x04da[_0x11ba46];return _0x1c8c6f;};'use strict';var _=require(_0xa04d('0x0'));var util=require(_0xa04d('0x1'));var logger=require(_0xa04d('0x2'))(_0xa04d('0x3'));var moment=require('moment');var BPromise=require(_0xa04d('0x4'));var rp=require(_0xa04d('0x5'));var fs=require('fs');var path=require(_0xa04d('0x6'));var rimraf=require(_0xa04d('0x7'));var config=require(_0xa04d('0x8'));var attributes=require(_0xa04d('0x9'));module[_0xa04d('0xa')]=function(_0x1ebe7d,_0x17dd87){return _0x1ebe7d[_0xa04d('0xb')](_0xa04d('0xc'),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 929d86c..9151b74 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 _0x4de0=['lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','AnalyticCustomReport,\x20%s,\x20%s','request\x20sent','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch'];(function(_0x737a1f,_0x235fef){var _0x16eba1=function(_0x292aa8){while(--_0x292aa8){_0x737a1f['push'](_0x737a1f['shift']());}};_0x16eba1(++_0x235fef);}(_0x4de0,0x180));var _0x04de=function(_0xce23fd,_0x11e801){_0xce23fd=_0xce23fd-0x0;var _0x29f125=_0x4de0[_0xce23fd];return _0x29f125;};'use strict';var _=require(_0x04de('0x0'));var util=require(_0x04de('0x1'));var moment=require(_0x04de('0x2'));var BPromise=require(_0x04de('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x04de('0x4'));var db=require(_0x04de('0x5'))['db'];var utils=require(_0x04de('0x6'));var logger=require(_0x04de('0x7'))(_0x04de('0x8'));var config=require(_0x04de('0x9'));var jayson=require(_0x04de('0xa'));var client=jayson[_0x04de('0xb')][_0x04de('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x385a2e,_0x4e696d,_0x30f2d0){return new BPromise(function(_0x1b9363,_0x5aca32){return client['request'](_0x385a2e,_0x30f2d0)[_0x04de('0xd')](function(_0x12e636){logger[_0x04de('0xe')](_0x04de('0xf'),_0x4e696d,_0x04de('0x10'));logger['debug'](_0x04de('0x11'),_0x4e696d,_0x04de('0x10'),JSON[_0x04de('0x12')](_0x12e636));if(_0x12e636[_0x04de('0x13')]){if(_0x12e636[_0x04de('0x13')][_0x04de('0x14')]===0x1f4){logger['error'](_0x04de('0xf'),_0x4e696d,_0x12e636['error'][_0x04de('0x15')]);return _0x5aca32(_0x12e636[_0x04de('0x13')][_0x04de('0x15')]);}logger[_0x04de('0x13')](_0x04de('0xf'),_0x4e696d,_0x12e636[_0x04de('0x13')][_0x04de('0x15')]);return _0x1b9363(_0x12e636[_0x04de('0x13')][_0x04de('0x15')]);}else{logger[_0x04de('0xe')](_0x04de('0xf'),_0x4e696d,_0x04de('0x10'));_0x1b9363(_0x12e636[_0x04de('0x16')][_0x04de('0x15')]);}})[_0x04de('0x17')](function(_0x296f0e){logger[_0x04de('0x13')](_0x04de('0xf'),_0x4e696d,_0x296f0e);_0x5aca32(_0x296f0e);});});}
\ No newline at end of file
+var _0x6cfc=['message','request\x20sent','result','catch','lodash','util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','info','AnalyticCustomReport,\x20%s,\x20%s','debug','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0x434010,_0x591dd5){var _0x37cab1=function(_0x4fab0b){while(--_0x4fab0b){_0x434010['push'](_0x434010['shift']());}};_0x37cab1(++_0x591dd5);}(_0x6cfc,0x18b));var _0xc6cf=function(_0x1ad926,_0x3e1fed){_0x1ad926=_0x1ad926-0x0;var _0x1b81dc=_0x6cfc[_0x1ad926];return _0x1b81dc;};'use strict';var _=require(_0xc6cf('0x0'));var util=require(_0xc6cf('0x1'));var moment=require(_0xc6cf('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xc6cf('0x3'));var db=require(_0xc6cf('0x4'))['db'];var utils=require(_0xc6cf('0x5'));var logger=require(_0xc6cf('0x6'))(_0xc6cf('0x7'));var config=require('../../config/environment');var jayson=require(_0xc6cf('0x8'));var client=jayson[_0xc6cf('0x9')][_0xc6cf('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1cefb6,_0x41376c,_0x373a27){return new BPromise(function(_0x1b8c21,_0x4d98f9){return client[_0xc6cf('0xb')](_0x1cefb6,_0x373a27)['then'](function(_0xe7c29d){logger[_0xc6cf('0xc')](_0xc6cf('0xd'),_0x41376c,'request\x20sent');logger[_0xc6cf('0xe')](_0xc6cf('0xf'),_0x41376c,'request\x20sent',JSON[_0xc6cf('0x10')](_0xe7c29d));if(_0xe7c29d[_0xc6cf('0x11')]){if(_0xe7c29d['error'][_0xc6cf('0x12')]===0x1f4){logger['error'](_0xc6cf('0xd'),_0x41376c,_0xe7c29d[_0xc6cf('0x11')][_0xc6cf('0x13')]);return _0x4d98f9(_0xe7c29d[_0xc6cf('0x11')][_0xc6cf('0x13')]);}logger[_0xc6cf('0x11')]('AnalyticCustomReport,\x20%s,\x20%s',_0x41376c,_0xe7c29d[_0xc6cf('0x11')]['message']);return _0x1b8c21(_0xe7c29d[_0xc6cf('0x11')]['message']);}else{logger['info'](_0xc6cf('0xd'),_0x41376c,_0xc6cf('0x14'));_0x1b8c21(_0xe7c29d[_0xc6cf('0x15')][_0xc6cf('0x13')]);}})[_0xc6cf('0x16')](function(_0x54c3ce){logger[_0xc6cf('0x11')](_0xc6cf('0xd'),_0x41376c,_0x54c3ce);_0x4d98f9(_0x54c3ce);});});}
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/index.js b/server/api/analyticCustomReport/index.js
index dc62c52..4009484 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 _0x550b=['/:id','show','preview','/:id/query','query','post','create','update','destroy','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','isAuthenticated','index','get'];(function(_0x196e76,_0xf6c4e0){var _0x3c2f0a=function(_0x102d58){while(--_0x102d58){_0x196e76['push'](_0x196e76['shift']());}};_0x3c2f0a(++_0xf6c4e0);}(_0x550b,0x149));var _0xb550=function(_0x67f95e,_0x3ca797){_0x67f95e=_0x67f95e-0x0;var _0x538f5a=_0x550b[_0x67f95e];return _0x538f5a;};'use strict';var multer=require(_0xb550('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb550('0x1'));var router=express[_0xb550('0x2')]();var fs_extra=require(_0xb550('0x3'));var auth=require(_0xb550('0x4'));var interaction=require(_0xb550('0x5'));var config=require(_0xb550('0x6'));var controller=require(_0xb550('0x7'));router['get']('/',auth[_0xb550('0x8')](),controller[_0xb550('0x9')]);router[_0xb550('0xa')](_0xb550('0xb'),auth[_0xb550('0x8')](),controller[_0xb550('0xc')]);router[_0xb550('0xa')]('/:id/preview',auth['isAuthenticated'](),controller[_0xb550('0xd')]);router[_0xb550('0xa')]('/:id/run',auth[_0xb550('0x8')](),controller['run']);router['get'](_0xb550('0xe'),auth['isAuthenticated'](),controller[_0xb550('0xf')]);router[_0xb550('0x10')]('/',auth[_0xb550('0x8')](),controller[_0xb550('0x11')]);router['put']('/:id',auth[_0xb550('0x8')](),controller[_0xb550('0x12')]);router['delete'](_0xb550('0xb'),auth[_0xb550('0x8')](),controller[_0xb550('0x13')]);module['exports']=router;
\ No newline at end of file
+var _0x053a=['/:id','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','isAuthenticated','index','get','show','/:id/preview','/:id/run','run','/:id/query','query','create','put'];(function(_0x9976e1,_0x4cf78e){var _0x265fdc=function(_0x4dce7d){while(--_0x4dce7d){_0x9976e1['push'](_0x9976e1['shift']());}};_0x265fdc(++_0x4cf78e);}(_0x053a,0x146));var _0xa053=function(_0x259b6f,_0x1fd325){_0x259b6f=_0x259b6f-0x0;var _0x3cdefe=_0x053a[_0x259b6f];return _0x3cdefe;};'use strict';var multer=require('multer');var util=require(_0xa053('0x0'));var path=require(_0xa053('0x1'));var timeout=require(_0xa053('0x2'));var express=require(_0xa053('0x3'));var router=express[_0xa053('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa053('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa053('0x6'));var controller=require(_0xa053('0x7'));router['get']('/',auth[_0xa053('0x8')](),controller[_0xa053('0x9')]);router[_0xa053('0xa')]('/:id',auth[_0xa053('0x8')](),controller[_0xa053('0xb')]);router['get'](_0xa053('0xc'),auth[_0xa053('0x8')](),controller['preview']);router[_0xa053('0xa')](_0xa053('0xd'),auth['isAuthenticated'](),controller[_0xa053('0xe')]);router[_0xa053('0xa')](_0xa053('0xf'),auth[_0xa053('0x8')](),controller[_0xa053('0x10')]);router['post']('/',auth[_0xa053('0x8')](),controller[_0xa053('0x11')]);router[_0xa053('0x12')](_0xa053('0x13'),auth[_0xa053('0x8')](),controller['update']);router[_0xa053('0x14')](_0xa053('0x13'),auth[_0xa053('0x8')](),controller[_0xa053('0x15')]);module[_0xa053('0x16')]=router;
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js b/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js
index 55dcc97..015f62c 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 _0x6f47=['TEXT','exports','STRING'];(function(_0x9fd79e,_0x3bcc82){var _0xde794f=function(_0x15dfbe){while(--_0x15dfbe){_0x9fd79e['push'](_0x9fd79e['shift']());}};_0xde794f(++_0x3bcc82);}(_0x6f47,0xc7));var _0x76f4=function(_0x45d3f0,_0x4be53f){_0x45d3f0=_0x45d3f0-0x0;var _0x314b79=_0x6f47[_0x45d3f0];return _0x314b79;};'use strict';var Sequelize=require('sequelize');module[_0x76f4('0x0')]={'name':{'type':Sequelize[_0x76f4('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'parent':{'type':Sequelize[_0x76f4('0x1')]},'table':{'type':Sequelize['STRING']},'conditions':{'type':Sequelize[_0x76f4('0x2')]},'joins':{'type':Sequelize['TEXT']}};
\ No newline at end of file
+var _0x7217=['sequelize','STRING','TEXT'];(function(_0x4597c4,_0x15fc2d){var _0x45674f=function(_0x3cf7a0){while(--_0x3cf7a0){_0x4597c4['push'](_0x4597c4['shift']());}};_0x45674f(++_0x15fc2d);}(_0x7217,0x19e));var _0x7721=function(_0x3899d1,_0x4aa04c){_0x3899d1=_0x3899d1-0x0;var _0xeb4a7d=_0x7217[_0x3899d1];return _0xeb4a7d;};'use strict';var Sequelize=require(_0x7721('0x0'));module['exports']={'name':{'type':Sequelize[_0x7721('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x7721('0x1')]},'parent':{'type':Sequelize[_0x7721('0x1')]},'table':{'type':Sequelize[_0x7721('0x1')]},'conditions':{'type':Sequelize[_0x7721('0x2')]},'joins':{'type':Sequelize['TEXT']}};
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.controller.js b/server/api/analyticDefaultReport/analyticDefaultReport.controller.js
index c9eccbc..d036492 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 _0xe2fe=['set','Content-Range','apply','reject','save','then','destroy','get','DefaultReports','UserProfileResource','sendStatus','error','name','send','index','AnalyticDefaultReport','rawAttributes','fieldName','map','keys','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','include','findAll','rows','catch','show','params','includeAll','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Reports','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','preview','join','right_join','cross_join','SUM(%s)','COUNT(%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s)','HOUR(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','rules','operator','group','field','condition','value','Sequelize','ValidationErrorItem','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','keyBy','select','from','MetricId','metric','function','replace','groupBy','orderBy','alias','joins','parse','type','foreignTable','%s.%s\x20=\x20%s.%s','table','parentKey','conditions','clone','debug','Limited\x20Query:','toString','sequelize','QueryTypes','SELECT','left_join','SEC_TO_TIME(%s)','ROUND(%s)','IS\x20EMPTY','getFields','format','foreignKey','web','%s-%s.%s','randomstring','generate','output','default','AnalyticExtractedReport','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','endDate','info','Run\x20Query:','child_process','../../components/export/','savename','countTable','COUNT(*)','run','runReport','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','IS\x20NOT\x20EMPTY','eml-format','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','jsforce','querystring','ioredis','../../components/auth/service','api','../../mysqldb','dbH','status','json','offset','limit','undefined','count'];(function(_0x2d2f17,_0x2bd8a9){var _0x5a49ae=function(_0x1383d2){while(--_0x1383d2){_0x2d2f17['push'](_0x2d2f17['shift']());}};_0x5a49ae(++_0x2bd8a9);}(_0xe2fe,0x86));var _0xee2f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xe2fe[_0x14add3];return _0x4a174f;};'use strict';var emlformat=require(_0xee2f('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xee2f('0x1'));var rp=require('request-promise');var moment=require(_0xee2f('0x2'));var BPromise=require(_0xee2f('0x3'));var Mustache=require(_0xee2f('0x4'));var util=require(_0xee2f('0x5'));var path=require(_0xee2f('0x6'));var sox=require('sox');var csv=require(_0xee2f('0x7'));var ejs=require(_0xee2f('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xee2f('0x9'));var squel=require(_0xee2f('0xa'));var crypto=require('crypto');var jsforce=require(_0xee2f('0xb'));var deskjs=require('desk.js');var toCsv=require(_0xee2f('0x7'));var querystring=require(_0xee2f('0xc'));var Papa=require('papaparse');var Redis=require(_0xee2f('0xd'));var authService=require(_0xee2f('0xe'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xee2f('0xf'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xee2f('0x10'))['db'];var dbH=require(_0xee2f('0x10'))[_0xee2f('0x11')];function respondWithStatusCode(_0x100449,_0x131874){_0x131874=_0x131874||0xcc;return function(_0x3ab91f){if(_0x3ab91f){return _0x100449['sendStatus'](_0x131874);}return _0x100449[_0xee2f('0x12')](_0x131874)['end']();};}function respondWithResult(_0x36db10,_0x271c1d){_0x271c1d=_0x271c1d||0xc8;return function(_0x48b30c){if(_0x48b30c){return _0x36db10[_0xee2f('0x12')](_0x271c1d)[_0xee2f('0x13')](_0x48b30c);}};}function respondWithFilteredResult(_0x28b614,_0x1bbf7d){return function(_0x390c2c){if(_0x390c2c){var _0x58f42a=typeof _0x1bbf7d[_0xee2f('0x14')]==='undefined'&&typeof _0x1bbf7d[_0xee2f('0x15')]===_0xee2f('0x16');var _0x502eb6=_0x390c2c['count'];var _0x40b5bc=_0x58f42a?0x0:_0x1bbf7d['offset'];var _0x69db88=_0x58f42a?_0x390c2c[_0xee2f('0x17')]:_0x1bbf7d[_0xee2f('0x14')]+_0x1bbf7d['limit'];var _0x35e1a4;if(_0x69db88>=_0x502eb6){_0x69db88=_0x502eb6;_0x35e1a4=0xc8;}else{_0x35e1a4=0xce;}_0x28b614[_0xee2f('0x12')](_0x35e1a4);return _0x28b614[_0xee2f('0x18')](_0xee2f('0x19'),_0x40b5bc+'-'+_0x69db88+'/'+_0x502eb6)[_0xee2f('0x13')](_0x390c2c);}return null;};}function patchUpdates(_0x5d36d4){return function(_0x5e73ad){try{jsonpatch[_0xee2f('0x1a')](_0x5e73ad,_0x5d36d4,!![]);}catch(_0x3a1852){return BPromise[_0xee2f('0x1b')](_0x3a1852);}return _0x5e73ad[_0xee2f('0x1c')]();};}function saveUpdates(_0x472e3b,_0xf278cc){return function(_0x39a39c){if(_0x39a39c){return _0x39a39c['update'](_0x472e3b)[_0xee2f('0x1d')](function(_0x2c47c5){return _0x2c47c5;});}return null;};}function removeEntity(_0x15ceda,_0x70e308){return function(_0x820101){if(_0x820101){return _0x820101[_0xee2f('0x1e')]()[_0xee2f('0x1d')](function(){var _0x13013f=_0x820101[_0xee2f('0x1f')]({'plain':!![]});var _0x1e394f=_0xee2f('0x20');return db[_0xee2f('0x21')][_0xee2f('0x1e')]({'where':{'type':_0x1e394f,'resourceId':_0x13013f['id']}})[_0xee2f('0x1d')](function(){return _0x820101;});})['then'](function(){_0x15ceda['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x18bdbb,_0x18ff19){return function(_0x2cb0cb){if(!_0x2cb0cb){_0x18bdbb[_0xee2f('0x22')](0x194);}return _0x2cb0cb;};}function handleError(_0x892a4e,_0x3737fd){_0x3737fd=_0x3737fd||0x1f4;return function(_0x4d8398){logger[_0xee2f('0x23')](_0x4d8398['stack']);if(_0x4d8398[_0xee2f('0x24')]){delete _0x4d8398[_0xee2f('0x24')];}_0x892a4e[_0xee2f('0x12')](_0x3737fd)[_0xee2f('0x25')](_0x4d8398);};}exports[_0xee2f('0x26')]=function(_0x47d5a6,_0x310c0b){var _0xd16e35={},_0x56706e={},_0x4ee0e1={'count':0x0,'rows':[]};var _0xd1aaac=_['map'](db[_0xee2f('0x27')][_0xee2f('0x28')],function(_0x53d9b7){return{'name':_0x53d9b7[_0xee2f('0x29')],'type':_0x53d9b7['type']['key']};});_0x56706e['model']=_[_0xee2f('0x2a')](_0xd1aaac,_0xee2f('0x24'));_0x56706e['query']=_[_0xee2f('0x2b')](_0x47d5a6[_0xee2f('0x2c')]);_0x56706e[_0xee2f('0x2d')]=_[_0xee2f('0x2e')](_0x56706e[_0xee2f('0x2f')],_0x56706e['query']);_0xd16e35[_0xee2f('0x30')]=_['intersection'](_0x56706e[_0xee2f('0x2f')],qs[_0xee2f('0x31')](_0x47d5a6[_0xee2f('0x2c')]['fields']));_0xd16e35[_0xee2f('0x30')]=_0xd16e35['attributes'][_0xee2f('0x32')]?_0xd16e35['attributes']:_0x56706e[_0xee2f('0x2f')];if(!_0x47d5a6[_0xee2f('0x2c')][_0xee2f('0x33')](_0xee2f('0x34'))){_0xd16e35[_0xee2f('0x15')]=qs[_0xee2f('0x15')](_0x47d5a6[_0xee2f('0x2c')][_0xee2f('0x15')]);_0xd16e35[_0xee2f('0x14')]=qs[_0xee2f('0x14')](_0x47d5a6[_0xee2f('0x2c')]['offset']);}_0xd16e35[_0xee2f('0x35')]=qs['sort'](_0x47d5a6[_0xee2f('0x2c')][_0xee2f('0x36')]);_0xd16e35[_0xee2f('0x37')]=qs[_0xee2f('0x2d')](_[_0xee2f('0x38')](_0x47d5a6[_0xee2f('0x2c')],_0x56706e[_0xee2f('0x2d')]),_0xd1aaac);if(_0x47d5a6[_0xee2f('0x2c')]['filter']){_0xd16e35['where']=_['merge'](_0xd16e35[_0xee2f('0x37')],{'$or':_['map'](_0xd1aaac,function(_0x4501c4){if(_0x4501c4['type']!=='VIRTUAL'){var _0x5027a6={};_0x5027a6[_0x4501c4['name']]={'$like':'%'+_0x47d5a6[_0xee2f('0x2c')][_0xee2f('0x39')]+'%'};return _0x5027a6;}})});}_0xd16e35=_[_0xee2f('0x3a')]({},_0xd16e35,_0x47d5a6[_0xee2f('0x3b')]);var _0x4823a7={'where':_0xd16e35['where']};return db[_0xee2f('0x27')]['count'](_0x4823a7)['then'](function(_0x8204dc){_0x4ee0e1[_0xee2f('0x17')]=_0x8204dc;if(_0x47d5a6[_0xee2f('0x2c')]['includeAll']){_0xd16e35[_0xee2f('0x3c')]=[{'all':!![]}];}return db[_0xee2f('0x27')][_0xee2f('0x3d')](_0xd16e35);})['then'](function(_0x5896f6){_0x4ee0e1[_0xee2f('0x3e')]=_0x5896f6;return _0x4ee0e1;})[_0xee2f('0x1d')](respondWithFilteredResult(_0x310c0b,_0xd16e35))[_0xee2f('0x3f')](handleError(_0x310c0b,null));};exports[_0xee2f('0x40')]=function(_0x541fa0,_0x20697e){var _0x1df63d={'raw':!![],'where':{'id':_0x541fa0[_0xee2f('0x41')]['id']}},_0x242e91={};_0x242e91[_0xee2f('0x2f')]=_[_0xee2f('0x2b')](db[_0xee2f('0x27')][_0xee2f('0x28')]);_0x242e91[_0xee2f('0x2c')]=_[_0xee2f('0x2b')](_0x541fa0['query']);_0x242e91['filters']=_['intersection'](_0x242e91['model'],_0x242e91[_0xee2f('0x2c')]);_0x1df63d[_0xee2f('0x30')]=_[_0xee2f('0x2e')](_0x242e91[_0xee2f('0x2f')],qs[_0xee2f('0x31')](_0x541fa0['query'][_0xee2f('0x31')]));_0x1df63d[_0xee2f('0x30')]=_0x1df63d[_0xee2f('0x30')][_0xee2f('0x32')]?_0x1df63d['attributes']:_0x242e91['model'];if(_0x541fa0['query'][_0xee2f('0x42')]){_0x1df63d['include']=[{'all':!![]}];}_0x1df63d=_['merge']({},_0x1df63d,_0x541fa0['options']);return db['AnalyticDefaultReport'][_0xee2f('0x43')](_0x1df63d)[_0xee2f('0x1d')](handleEntityNotFound(_0x20697e,null))[_0xee2f('0x1d')](respondWithResult(_0x20697e,null))['catch'](handleError(_0x20697e,null));};exports[_0xee2f('0x44')]=function(_0x57f65d,_0x3d95b8){return db[_0xee2f('0x27')][_0xee2f('0x44')](_0x57f65d[_0xee2f('0x45')],{})[_0xee2f('0x1d')](function(_0x4978eb){var _0x533ad0=_0x57f65d[_0xee2f('0x46')]['get']({'plain':!![]});if(!_0x533ad0)throw new Error(_0xee2f('0x47'));if(_0x533ad0[_0xee2f('0x48')]===_0xee2f('0x46')){var _0x88e683=_0x4978eb['get']({'plain':!![]});var _0x5df503=_0xee2f('0x49');return db[_0xee2f('0x4a')][_0xee2f('0x43')]({'where':{'name':_0x5df503,'userProfileId':_0x533ad0[_0xee2f('0x4b')]},'raw':!![]})[_0xee2f('0x1d')](function(_0x2a450f){if(_0x2a450f&&_0x2a450f[_0xee2f('0x4c')]===0x0){return db[_0xee2f('0x21')][_0xee2f('0x44')]({'name':_0x88e683[_0xee2f('0x24')],'resourceId':_0x88e683['id'],'type':_0xee2f('0x20'),'sectionId':_0x2a450f['id']},{})[_0xee2f('0x1d')](function(){return _0x4978eb;});}else{return _0x4978eb;}})['catch'](function(_0x34cb51){logger[_0xee2f('0x23')](_0xee2f('0x4d'),_0x34cb51);throw _0x34cb51;});}return _0x4978eb;})[_0xee2f('0x1d')](respondWithResult(_0x3d95b8,0xc9))['catch'](handleError(_0x3d95b8,null));};exports[_0xee2f('0x4e')]=function(_0xb3bf3f,_0x3a476f){if(_0xb3bf3f[_0xee2f('0x45')]['id']){delete _0xb3bf3f[_0xee2f('0x45')]['id'];}return db['AnalyticDefaultReport'][_0xee2f('0x43')]({'where':{'id':_0xb3bf3f['params']['id']}})['then'](handleEntityNotFound(_0x3a476f,null))[_0xee2f('0x1d')](saveUpdates(_0xb3bf3f[_0xee2f('0x45')],null))[_0xee2f('0x1d')](respondWithResult(_0x3a476f,null))[_0xee2f('0x3f')](handleError(_0x3a476f,null));};exports[_0xee2f('0x1e')]=function(_0x101e09,_0x20aaca){return db['AnalyticDefaultReport'][_0xee2f('0x43')]({'where':{'id':_0x101e09[_0xee2f('0x41')]['id']}})[_0xee2f('0x1d')](handleEntityNotFound(_0x20aaca,null))[_0xee2f('0x1d')](removeEntity(_0x20aaca,null))[_0xee2f('0x3f')](handleError(_0x20aaca,null));};exports[_0xee2f('0x4f')]=function(_0xcba6fc,_0x2b9636){var _0x1373a1=0xa;var _0x5d6c40=[_0xee2f('0x50'),'left_join',_0xee2f('0x51'),_0xee2f('0x52')];var _0x1dbbf2={'SUM':_0xee2f('0x53'),'COUNT':_0xee2f('0x54'),'COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xee2f('0x55'),'MIN':_0xee2f('0x56'),'AVG':_0xee2f('0x57'),'GROUP_CONCAT':_0xee2f('0x58'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x4fb159={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':_0xee2f('0x59'),'ROUND':'ROUND(%s)','UNIX_TIMESTAMP':_0xee2f('0x5a')};var _0x1421da=function(_0xd967e9){return!_[_0xee2f('0x5b')]([_0xee2f('0x5c'),_0xee2f('0x5d'),'IS\x20EMPTY','IS\x20NOT\x20EMPTY'],_0xd967e9);};var _0x1708c5=function(_0x58e464){if(!_0x58e464||!_0x58e464[_0xee2f('0x5e')]['length']){return'';}for(var _0x7167f9='(',_0x59af84=0x0;_0x59af84<_0x58e464[_0xee2f('0x5e')][_0xee2f('0x32')];_0x59af84+=0x1){_0x59af84>0x0&&(_0x7167f9+='\x20'+_0x58e464[_0xee2f('0x5f')]+'\x20');_0x7167f9+=_0x58e464['rules'][_0x59af84][_0xee2f('0x60')]?_0x1708c5(_0x58e464[_0xee2f('0x5e')][_0x59af84][_0xee2f('0x60')]):_0x58e464[_0xee2f('0x5e')][_0x59af84][_0xee2f('0x61')]+'\x20'+_0x58e464[_0xee2f('0x5e')][_0x59af84][_0xee2f('0x62')]+(_0x1421da(_0x58e464['rules'][_0x59af84][_0xee2f('0x62')])?'\x20'+_0x58e464[_0xee2f('0x5e')][_0x59af84][_0xee2f('0x63')]:'');}return _0x7167f9+')';};var _0x353bd9={'where':{'id':_0xcba6fc[_0xee2f('0x41')]['id']}},_0x5280c7,_0x3c9d47,_0x8ccc9d,_0x15c7ff,_0x191af8;_0x353bd9=_[_0xee2f('0x3a')]({},_0x353bd9,_0xcba6fc['options']);return db[_0xee2f('0x27')][_0xee2f('0x43')](_0x353bd9)['then'](function(_0x9252e3){if(_0x9252e3){_0x5280c7=_0x9252e3;return _0x9252e3['getFields']();}return null;})[_0xee2f('0x1d')](function(_0x4ed7c9){if(_0x4ed7c9){if(!_0x4ed7c9['length']){throw new db[(_0xee2f('0x64'))][(_0xee2f('0x65'))](_0xee2f('0x66'),0x193);}_0x3c9d47=_0x4ed7c9;return db[_0xee2f('0x67')][_0xee2f('0x3d')]({'raw':!![]});}return null;})['then'](function(_0x238e7d){if(_0x238e7d){_0x8ccc9d=_[_0xee2f('0x68')](_0x238e7d,'id');var _0x42fae8;var _0x5d4fe8=squel[_0xee2f('0x69')]();_0x5d4fe8[_0xee2f('0x6a')](_0x5280c7['table']);for(var _0x1f1c55=0x0;_0x1f1c55<_0x3c9d47[_0xee2f('0x32')];_0x1f1c55+=0x1){_0x42fae8=_0x3c9d47[_0x1f1c55][_0xee2f('0x6b')]?_0x8ccc9d[_0x3c9d47[_0x1f1c55][_0xee2f('0x6b')]][_0xee2f('0x6c')]:_0x3c9d47[_0x1f1c55][_0xee2f('0x61')];_0x42fae8=_0x3c9d47[_0x1f1c55][_0xee2f('0x6d')]?_[_0xee2f('0x6e')](_0x1dbbf2[_0x3c9d47[_0x1f1c55][_0xee2f('0x6d')]],'%s',_0x42fae8):_0x42fae8;_0x42fae8=_0x3c9d47[_0x1f1c55]['format']?_['replace'](_0x4fb159[_0x3c9d47[_0x1f1c55]['format']],'%s',_0x42fae8):_0x42fae8;if(_0x3c9d47[_0x1f1c55][_0xee2f('0x6f')]){_0x5d4fe8[_0xee2f('0x60')](_0x42fae8);}_0x3c9d47[_0x1f1c55][_0xee2f('0x70')]&&_0x5d4fe8[_0xee2f('0x35')](_0x42fae8,_0x3c9d47[_0x1f1c55][_0xee2f('0x70')]==='DESC'?![]:!![]);_0x5d4fe8[_0xee2f('0x61')](_0x42fae8,_0x3c9d47[_0x1f1c55][_0xee2f('0x71')]||_0x42fae8);}if(_0x5280c7['joins']){_0x5280c7[_0xee2f('0x72')]=JSON[_0xee2f('0x73')](_0x5280c7[_0xee2f('0x72')]);for(var _0x5a7b6c=0x0;_0x5a7b6c<_0x5280c7[_0xee2f('0x72')]['length'];_0x5a7b6c+=0x1){if(_0x5280c7[_0xee2f('0x72')][_0x5a7b6c][_0xee2f('0x74')]&&_['includes'](_0x5d6c40,_0x5280c7[_0xee2f('0x72')][_0x5a7b6c][_0xee2f('0x74')])&&_0x5280c7['joins'][_0x5a7b6c]['parentKey']&&_0x5280c7['joins'][_0x5a7b6c][_0xee2f('0x75')]&&_0x5280c7['joins'][_0x5a7b6c]['foreignKey']){_0x5d4fe8[_0x5280c7[_0xee2f('0x72')][_0x5a7b6c][_0xee2f('0x74')]](_0x5280c7['joins'][_0x5a7b6c][_0xee2f('0x75')],null,util['format'](_0xee2f('0x76'),_0x5280c7[_0xee2f('0x77')],_0x5280c7[_0xee2f('0x72')][_0x5a7b6c][_0xee2f('0x78')],_0x5280c7[_0xee2f('0x72')][_0x5a7b6c][_0xee2f('0x75')],_0x5280c7[_0xee2f('0x72')][_0x5a7b6c]['foreignKey']));}}}if(_0x5280c7[_0xee2f('0x79')]){_0x5280c7[_0xee2f('0x79')]=JSON[_0xee2f('0x73')](_0x5280c7[_0xee2f('0x79')]);_0x5d4fe8[_0xee2f('0x37')](_0x1708c5(_0x5280c7['conditions'][_0xee2f('0x60')]));}_0x191af8=_0x5d4fe8[_0xee2f('0x7a')]();_0x5d4fe8[_0xee2f('0x15')](_0x1373a1);_0x5d4fe8[_0xee2f('0x14')](0x0);logger[_0xee2f('0x7b')](_0xee2f('0x7c'),_0x5d4fe8['toString']());return dbH['sequelize'][_0xee2f('0x2c')](_0x5d4fe8[_0xee2f('0x7d')](),{'type':dbH[_0xee2f('0x7e')][_0xee2f('0x7f')][_0xee2f('0x80')]});}})[_0xee2f('0x1d')](respondWithResult(_0x2b9636,null))[_0xee2f('0x3f')](handleError(_0x2b9636,null));};function runReport(_0x58c49e,_0x5b7b55,_0x2ad26d){var _0x27eabc=_0x5b7b55[_0xee2f('0x24')];var _0xc92046=0xa;var _0x38ee46=[_0xee2f('0x50'),_0xee2f('0x81'),_0xee2f('0x51'),_0xee2f('0x52')];var _0x21ac2d={'SUM':_0xee2f('0x53'),'COUNT':_0xee2f('0x54'),'COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':'MAX(%s)','MIN':_0xee2f('0x56'),'AVG':'AVG(%s)','GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x2ea31f={'SEC_TO_TIME':_0xee2f('0x82'),'DATE':'DATE(%s)','HOUR':'HOUR(%s)','ROUND':_0xee2f('0x83'),'UNIX_TIMESTAMP':_0xee2f('0x5a')};var _0x18e191=function(_0x4fad8f){return!_['includes']([_0xee2f('0x5c'),_0xee2f('0x5d'),_0xee2f('0x84'),'IS\x20NOT\x20EMPTY'],_0x4fad8f);};var _0xd7c8f8=function(_0x4b0611){if(!_0x4b0611||!_0x4b0611[_0xee2f('0x5e')]['length']){return'';}for(var _0x378fc9='(',_0x25a3b9=0x0;_0x25a3b9<_0x4b0611[_0xee2f('0x5e')]['length'];_0x25a3b9+=0x1){_0x25a3b9>0x0&&(_0x378fc9+='\x20'+_0x4b0611['operator']+'\x20');_0x378fc9+=_0x4b0611[_0xee2f('0x5e')][_0x25a3b9][_0xee2f('0x60')]?_0xd7c8f8(_0x4b0611[_0xee2f('0x5e')][_0x25a3b9]['group']):_0x4b0611[_0xee2f('0x5e')][_0x25a3b9][_0xee2f('0x61')]+'\x20'+_0x4b0611[_0xee2f('0x5e')][_0x25a3b9][_0xee2f('0x62')]+(_0x18e191(_0x4b0611[_0xee2f('0x5e')][_0x25a3b9][_0xee2f('0x62')])?'\x20'+_0x4b0611[_0xee2f('0x5e')][_0x25a3b9][_0xee2f('0x63')]:'');}return _0x378fc9+')';};var _0x449656={'where':{'id':_0x58c49e['id']}},_0x1db0b5,_0x9f06f9,_0x659080,_0x28bde7,_0x214f94;_0x449656=_['merge']({},_0x449656,_0x2ad26d);return db[_0xee2f('0x27')][_0xee2f('0x43')](_0x449656)[_0xee2f('0x1d')](function(_0x2f5ed7){if(_0x2f5ed7){_0x1db0b5=_0x2f5ed7;return _0x2f5ed7[_0xee2f('0x85')]();}return null;})[_0xee2f('0x1d')](function(_0x34cd09){if(_0x34cd09){if(!_0x34cd09[_0xee2f('0x32')]){throw new db[(_0xee2f('0x64'))][(_0xee2f('0x65'))](_0xee2f('0x66'),0x193);}_0x9f06f9=_0x34cd09;return db['AnalyticMetric'][_0xee2f('0x3d')]({'raw':!![]});}return null;})[_0xee2f('0x1d')](function(_0x1422e9){if(_0x1422e9){_0x659080=_[_0xee2f('0x68')](_0x1422e9,'id');var _0x53d769;var _0x15ca4e=squel[_0xee2f('0x69')]();_0x15ca4e[_0xee2f('0x6a')](_0x1db0b5['table']);for(var _0x4f02aa=0x0;_0x4f02aa<_0x9f06f9[_0xee2f('0x32')];_0x4f02aa+=0x1){_0x53d769=_0x9f06f9[_0x4f02aa]['MetricId']?_0x659080[_0x9f06f9[_0x4f02aa]['MetricId']]['metric']:_0x9f06f9[_0x4f02aa][_0xee2f('0x61')];_0x53d769=_0x9f06f9[_0x4f02aa][_0xee2f('0x6d')]?_[_0xee2f('0x6e')](_0x21ac2d[_0x9f06f9[_0x4f02aa][_0xee2f('0x6d')]],'%s',_0x53d769):_0x53d769;_0x53d769=_0x9f06f9[_0x4f02aa]['format']?_[_0xee2f('0x6e')](_0x2ea31f[_0x9f06f9[_0x4f02aa][_0xee2f('0x86')]],'%s',_0x53d769):_0x53d769;if(_0x9f06f9[_0x4f02aa][_0xee2f('0x6f')]){_0x15ca4e['group'](_0x53d769);}_0x9f06f9[_0x4f02aa][_0xee2f('0x70')]&&_0x15ca4e['order'](_0x53d769,_0x9f06f9[_0x4f02aa][_0xee2f('0x70')]==='DESC'?![]:!![]);_0x15ca4e['field'](_0x53d769,_0x9f06f9[_0x4f02aa][_0xee2f('0x71')]||_0x53d769);}if(_0x1db0b5['joins']){_0x1db0b5[_0xee2f('0x72')]=JSON['parse'](_0x1db0b5['joins']);for(var _0x149d7f=0x0;_0x149d7f<_0x1db0b5[_0xee2f('0x72')]['length'];_0x149d7f+=0x1){if(_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x74')]&&_['includes'](_0x38ee46,_0x1db0b5['joins'][_0x149d7f][_0xee2f('0x74')])&&_0x1db0b5[_0xee2f('0x72')][_0x149d7f]['parentKey']&&_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x75')]&&_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x87')]){_0x15ca4e[_0x1db0b5[_0xee2f('0x72')][_0x149d7f]['type']](_0x1db0b5['joins'][_0x149d7f]['foreignTable'],null,util[_0xee2f('0x86')](_0xee2f('0x76'),_0x1db0b5[_0xee2f('0x77')],_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x78')],_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x75')],_0x1db0b5[_0xee2f('0x72')][_0x149d7f][_0xee2f('0x87')]));}}}if(_0x1db0b5[_0xee2f('0x79')]){_0x1db0b5[_0xee2f('0x79')]=JSON[_0xee2f('0x73')](_0x1db0b5[_0xee2f('0x79')]);_0x15ca4e[_0xee2f('0x37')](_0xd7c8f8(_0x1db0b5[_0xee2f('0x79')][_0xee2f('0x60')]));}_0x214f94=_0x15ca4e['clone']();_0x15ca4e['limit'](_0xc92046);_0x15ca4e[_0xee2f('0x14')](0x0);return;}})[_0xee2f('0x1d')](function(){if(_0x5b7b55['output']===_0xee2f('0x88')){return null;}var _0x444c39=_[_0xee2f('0x3a')](_0x5b7b55,{'name':_0x5b7b55['fullPath']||_0x5b7b55[_0xee2f('0x24')]||_0x1db0b5[_0xee2f('0x24')],'basename':_0x27eabc,'savename':util[_0xee2f('0x86')](_0xee2f('0x89'),_0x5b7b55[_0xee2f('0x24')]||_0x1db0b5[_0xee2f('0x24')],require(_0xee2f('0x8a'))[_0xee2f('0x8b')](0x4),_0x5b7b55[_0xee2f('0x8c')]||'csv'),'reportId':_0x1db0b5['id'],'reportType':_0xee2f('0x8d')});return db[_0xee2f('0x8e')][_0xee2f('0x44')](_0x444c39,{'raw':!![]});})[_0xee2f('0x1d')](function(_0xe7e196){if(_0x1db0b5[_0xee2f('0x77')]===_0xee2f('0x8f')){_0x214f94[_0xee2f('0x37')](_0x1db0b5['table']+_0xee2f('0x90'),_0x5b7b55[_0xee2f('0x91')],_0x5b7b55['endDate']);}else{_0x214f94[_0xee2f('0x37')](_0x1db0b5['table']+'.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x5b7b55[_0xee2f('0x91')],_0x5b7b55[_0xee2f('0x92')]);}if(_0xe7e196){logger[_0xee2f('0x93')](_0xee2f('0x94'),_0x214f94[_0xee2f('0x7d')]());require(_0xee2f('0x95'))['fork'](path[_0xee2f('0x50')](__dirname,_0xee2f('0x96'),_0xe7e196['output']),[_0xe7e196['id'],_0x214f94[_0xee2f('0x7d')](),path[_0xee2f('0x50')](__dirname,'../../files/reports',_0xe7e196[_0xee2f('0x97')]),_0x27eabc]);return _0xe7e196;}else{var _0x26dd6c=squel[_0xee2f('0x69')]();_0x26dd6c[_0xee2f('0x6a')]('('+_0x214f94[_0xee2f('0x7d')]()+')',_0xee2f('0x98'));_0x26dd6c[_0xee2f('0x61')](_0xee2f('0x99'),_0xee2f('0x17'));_0x214f94[_0xee2f('0x15')](_0x5b7b55[_0xee2f('0x15')]||_0xc92046);_0x214f94[_0xee2f('0x14')](_0x5b7b55['offset']||0x0);return dbH[_0xee2f('0x7e')]['query'](_0x26dd6c['toString'](),{'type':dbH['sequelize'][_0xee2f('0x7f')]['SELECT']})[_0xee2f('0x1d')](function(_0x472f83){if(!_0x472f83[_0xee2f('0x32')]){_0x28bde7=0x0;}else{_0x28bde7=_0x472f83[0x0]['count']||0x0;}return dbH[_0xee2f('0x7e')][_0xee2f('0x2c')](_0x214f94['toString'](),{'type':dbH[_0xee2f('0x7e')][_0xee2f('0x7f')][_0xee2f('0x80')]});})[_0xee2f('0x1d')](function(_0x121a34){return{'rows':_0x121a34||[],'count':_0x28bde7};});}});}exports[_0xee2f('0x9a')]=function(_0x3d8c56,_0x5c8550){return runReport(_0x3d8c56[_0xee2f('0x41')],_0x3d8c56[_0xee2f('0x2c')],_0x3d8c56['options'])[_0xee2f('0x1d')](respondWithResult(_0x5c8550,null))[_0xee2f('0x3f')](handleError(_0x5c8550,null));};exports[_0xee2f('0x9b')]=runReport;exports['query']=function(_0x40fa57,_0x1fafcc){var _0x1163f1=0xa;var _0x162014=[_0xee2f('0x50'),_0xee2f('0x81'),'right_join',_0xee2f('0x52')];var _0xb93091={'SUM':_0xee2f('0x53'),'COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xee2f('0x55'),'MIN':'MIN(%s)','AVG':_0xee2f('0x57'),'GROUP_CONCAT':_0xee2f('0x58'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xee2f('0x9c')};var _0x39922f={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':_0xee2f('0x59'),'ROUND':_0xee2f('0x83'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x1c9f70=function(_0xa93dc9){return!_[_0xee2f('0x5b')]([_0xee2f('0x5c'),'IS\x20NOT\x20NULL',_0xee2f('0x84'),_0xee2f('0x9d')],_0xa93dc9);};var _0x44b06b=function(_0x541ac7){if(!_0x541ac7||!_0x541ac7[_0xee2f('0x5e')][_0xee2f('0x32')]){return'';}for(var _0xa89897='(',_0x2def5c=0x0;_0x2def5c<_0x541ac7['rules']['length'];_0x2def5c+=0x1){_0x2def5c>0x0&&(_0xa89897+='\x20'+_0x541ac7[_0xee2f('0x5f')]+'\x20');_0xa89897+=_0x541ac7[_0xee2f('0x5e')][_0x2def5c][_0xee2f('0x60')]?_0x44b06b(_0x541ac7['rules'][_0x2def5c][_0xee2f('0x60')]):_0x541ac7[_0xee2f('0x5e')][_0x2def5c]['field']+'\x20'+_0x541ac7[_0xee2f('0x5e')][_0x2def5c][_0xee2f('0x62')]+(_0x1c9f70(_0x541ac7[_0xee2f('0x5e')][_0x2def5c][_0xee2f('0x62')])?'\x20'+_0x541ac7[_0xee2f('0x5e')][_0x2def5c][_0xee2f('0x63')]:'');}return _0xa89897+')';};var _0x3f9188={'where':{'id':_0x40fa57['params']['id']}},_0x236b63,_0x4ad336,_0x3370de,_0x3c8c20,_0xc9228;_0x3f9188=_[_0xee2f('0x3a')]({},_0x3f9188,_0x40fa57[_0xee2f('0x3b')]);return db[_0xee2f('0x27')][_0xee2f('0x43')](_0x3f9188)[_0xee2f('0x1d')](function(_0xa0dfdd){if(_0xa0dfdd){_0x236b63=_0xa0dfdd;return _0xa0dfdd[_0xee2f('0x85')]();}return null;})[_0xee2f('0x1d')](function(_0x298dfa){if(_0x298dfa){if(!_0x298dfa[_0xee2f('0x32')]){throw new db[(_0xee2f('0x64'))][(_0xee2f('0x65'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x4ad336=_0x298dfa;return db[_0xee2f('0x67')]['findAll']({'raw':!![]});}return null;})[_0xee2f('0x1d')](function(_0x35a1c9){if(_0x35a1c9){_0x3370de=_['keyBy'](_0x35a1c9,'id');var _0x464e9e;var _0x738f35=squel[_0xee2f('0x69')]();_0x738f35[_0xee2f('0x6a')](_0x236b63[_0xee2f('0x77')]);for(var _0xe24a8a=0x0;_0xe24a8a<_0x4ad336['length'];_0xe24a8a+=0x1){_0x464e9e=_0x4ad336[_0xe24a8a][_0xee2f('0x6b')]?_0x3370de[_0x4ad336[_0xe24a8a][_0xee2f('0x6b')]][_0xee2f('0x6c')]:_0x4ad336[_0xe24a8a][_0xee2f('0x61')];_0x464e9e=_0x4ad336[_0xe24a8a][_0xee2f('0x6d')]?_[_0xee2f('0x6e')](_0xb93091[_0x4ad336[_0xe24a8a][_0xee2f('0x6d')]],'%s',_0x464e9e):_0x464e9e;_0x464e9e=_0x4ad336[_0xe24a8a][_0xee2f('0x86')]?_[_0xee2f('0x6e')](_0x39922f[_0x4ad336[_0xe24a8a][_0xee2f('0x86')]],'%s',_0x464e9e):_0x464e9e;if(_0x4ad336[_0xe24a8a]['groupBy']){_0x738f35[_0xee2f('0x60')](_0x464e9e);}_0x4ad336[_0xe24a8a][_0xee2f('0x70')]&&_0x738f35[_0xee2f('0x35')](_0x464e9e,_0x4ad336[_0xe24a8a]['orderBy']==='DESC'?![]:!![]);_0x738f35[_0xee2f('0x61')](_0x464e9e,_0x4ad336[_0xe24a8a][_0xee2f('0x71')]||_0x464e9e);}if(_0x236b63[_0xee2f('0x72')]){_0x236b63[_0xee2f('0x72')]=JSON[_0xee2f('0x73')](_0x236b63['joins']);for(var _0x1cee16=0x0;_0x1cee16<_0x236b63[_0xee2f('0x72')]['length'];_0x1cee16+=0x1){if(_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x74')]&&_[_0xee2f('0x5b')](_0x162014,_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x74')])&&_0x236b63[_0xee2f('0x72')][_0x1cee16]['parentKey']&&_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x75')]&&_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x87')]){_0x738f35[_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x74')]](_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x75')],null,util[_0xee2f('0x86')](_0xee2f('0x76'),_0x236b63[_0xee2f('0x77')],_0x236b63['joins'][_0x1cee16][_0xee2f('0x78')],_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x75')],_0x236b63[_0xee2f('0x72')][_0x1cee16][_0xee2f('0x87')]));}}}if(_0x236b63[_0xee2f('0x79')]){_0x236b63['conditions']=JSON[_0xee2f('0x73')](_0x236b63[_0xee2f('0x79')]);_0x738f35[_0xee2f('0x37')](_0x44b06b(_0x236b63[_0xee2f('0x79')]['group']));}_0xc9228=_0x738f35[_0xee2f('0x7a')]();_0x738f35[_0xee2f('0x15')](_0x1163f1);_0x738f35[_0xee2f('0x14')](0x0);logger[_0xee2f('0x7b')](_0xee2f('0x7c'),_0x738f35[_0xee2f('0x7d')]());return dbH[_0xee2f('0x7e')][_0xee2f('0x2c')](_0x738f35['toString'](),{'type':dbH['sequelize'][_0xee2f('0x7f')][_0xee2f('0x80')]});}})[_0xee2f('0x1d')](function(){return{'sql':_0xc9228['toString']()};})[_0xee2f('0x1d')](respondWithResult(_0x1fafcc,null))['catch'](handleError(_0x1fafcc,null));};
\ No newline at end of file
+var _0xba34=['save','then','destroy','get','DefaultReports','UserProfileResource','error','name','send','index','map','AnalyticDefaultReport','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filter','VIRTUAL','merge','options','includeAll','include','findAll','show','params','find','create','body','user','role','UserProfileSection','autoAssociation','catch','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','preview','join','left_join','right_join','cross_join','SUM(%s)','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','field','condition','getFields','Sequelize','ValidationErrorItem','keyBy','select','from','table','MetricId','metric','function','replace','format','groupBy','orderBy','DESC','alias','joins','parse','parentKey','foreignKey','foreignTable','%s.%s\x20=\x20%s.%s','conditions','clone','debug','Limited\x20Query:','toString','sequelize','SELECT','COUNT(%s)','AVG(%s)','IS\x20NOT\x20NULL','value','order','output','%s-%s.%s','randomstring','generate','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','endDate','startDate','info','Run\x20Query:','fork','countTable','QueryTypes','runReport','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','ROUND(%s)','Please\x20insert\x20at\x20least\x20one\x20field','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','util','path','sox','to-csv','ejs','fs-extra','lodash','crypto','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','sendStatus','status','end','json','offset','limit','undefined','count','Content-Range','apply','reject'];(function(_0x3d78b5,_0x4936ed){var _0x380d7b=function(_0x1b7bf8){while(--_0x1b7bf8){_0x3d78b5['push'](_0x3d78b5['shift']());}};_0x380d7b(++_0x4936ed);}(_0xba34,0x119));var _0x4ba3=function(_0x41010d,_0x3cf8af){_0x41010d=_0x41010d-0x0;var _0xc5383e=_0xba34[_0x41010d];return _0xc5383e;};'use strict';var emlformat=require(_0x4ba3('0x0'));var rimraf=require(_0x4ba3('0x1'));var zipdir=require(_0x4ba3('0x2'));var jsonpatch=require(_0x4ba3('0x3'));var rp=require(_0x4ba3('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x4ba3('0x5'));var path=require(_0x4ba3('0x6'));var sox=require(_0x4ba3('0x7'));var csv=require(_0x4ba3('0x8'));var ejs=require(_0x4ba3('0x9'));var fs=require('fs');var fs_extra=require(_0x4ba3('0xa'));var _=require(_0x4ba3('0xb'));var squel=require('squel');var crypto=require(_0x4ba3('0xc'));var jsforce=require(_0x4ba3('0xd'));var deskjs=require(_0x4ba3('0xe'));var toCsv=require(_0x4ba3('0x8'));var querystring=require(_0x4ba3('0xf'));var Papa=require(_0x4ba3('0x10'));var Redis=require(_0x4ba3('0x11'));var authService=require(_0x4ba3('0x12'));var qs=require(_0x4ba3('0x13'));var as=require(_0x4ba3('0x14'));var hardwareService=require(_0x4ba3('0x15'));var logger=require('../../config/logger')(_0x4ba3('0x16'));var utils=require(_0x4ba3('0x17'));var config=require('../../config/environment');var licenseUtil=require(_0x4ba3('0x18'));var db=require('../../mysqldb')['db'];var dbH=require(_0x4ba3('0x19'))['dbH'];function respondWithStatusCode(_0x256f02,_0x4419b4){_0x4419b4=_0x4419b4||0xcc;return function(_0x29e498){if(_0x29e498){return _0x256f02[_0x4ba3('0x1a')](_0x4419b4);}return _0x256f02[_0x4ba3('0x1b')](_0x4419b4)[_0x4ba3('0x1c')]();};}function respondWithResult(_0x3a74f7,_0x12ac90){_0x12ac90=_0x12ac90||0xc8;return function(_0x1dec48){if(_0x1dec48){return _0x3a74f7[_0x4ba3('0x1b')](_0x12ac90)[_0x4ba3('0x1d')](_0x1dec48);}};}function respondWithFilteredResult(_0x301359,_0x29a9d1){return function(_0x25f584){if(_0x25f584){var _0x40e75b=typeof _0x29a9d1[_0x4ba3('0x1e')]==='undefined'&&typeof _0x29a9d1[_0x4ba3('0x1f')]===_0x4ba3('0x20');var _0x5ff7ce=_0x25f584[_0x4ba3('0x21')];var _0x556290=_0x40e75b?0x0:_0x29a9d1[_0x4ba3('0x1e')];var _0xe4eff9=_0x40e75b?_0x25f584[_0x4ba3('0x21')]:_0x29a9d1[_0x4ba3('0x1e')]+_0x29a9d1[_0x4ba3('0x1f')];var _0x125944;if(_0xe4eff9>=_0x5ff7ce){_0xe4eff9=_0x5ff7ce;_0x125944=0xc8;}else{_0x125944=0xce;}_0x301359['status'](_0x125944);return _0x301359['set'](_0x4ba3('0x22'),_0x556290+'-'+_0xe4eff9+'/'+_0x5ff7ce)['json'](_0x25f584);}return null;};}function patchUpdates(_0x18dff5){return function(_0x163967){try{jsonpatch[_0x4ba3('0x23')](_0x163967,_0x18dff5,!![]);}catch(_0xbc7023){return BPromise[_0x4ba3('0x24')](_0xbc7023);}return _0x163967[_0x4ba3('0x25')]();};}function saveUpdates(_0x4a0823,_0x143c78){return function(_0x1f87e1){if(_0x1f87e1){return _0x1f87e1['update'](_0x4a0823)[_0x4ba3('0x26')](function(_0x4ffe39){return _0x4ffe39;});}return null;};}function removeEntity(_0x1ae4de,_0x18abb3){return function(_0x11a917){if(_0x11a917){return _0x11a917[_0x4ba3('0x27')]()[_0x4ba3('0x26')](function(){var _0xe29a49=_0x11a917[_0x4ba3('0x28')]({'plain':!![]});var _0xe1f7d2=_0x4ba3('0x29');return db[_0x4ba3('0x2a')]['destroy']({'where':{'type':_0xe1f7d2,'resourceId':_0xe29a49['id']}})[_0x4ba3('0x26')](function(){return _0x11a917;});})[_0x4ba3('0x26')](function(){_0x1ae4de[_0x4ba3('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x10537e,_0x1fe5e2){return function(_0x44d78c){if(!_0x44d78c){_0x10537e['sendStatus'](0x194);}return _0x44d78c;};}function handleError(_0x10cae6,_0x843276){_0x843276=_0x843276||0x1f4;return function(_0x34ecb4){logger[_0x4ba3('0x2b')](_0x34ecb4['stack']);if(_0x34ecb4['name']){delete _0x34ecb4[_0x4ba3('0x2c')];}_0x10cae6[_0x4ba3('0x1b')](_0x843276)[_0x4ba3('0x2d')](_0x34ecb4);};}exports[_0x4ba3('0x2e')]=function(_0x2cb5d5,_0x11f88f){var _0x48b3b7={},_0x27444b={},_0x28f36c={'count':0x0,'rows':[]};var _0x24d8fc=_[_0x4ba3('0x2f')](db[_0x4ba3('0x30')][_0x4ba3('0x31')],function(_0x457236){return{'name':_0x457236[_0x4ba3('0x32')],'type':_0x457236[_0x4ba3('0x33')][_0x4ba3('0x34')]};});_0x27444b['model']=_['map'](_0x24d8fc,'name');_0x27444b[_0x4ba3('0x35')]=_[_0x4ba3('0x36')](_0x2cb5d5[_0x4ba3('0x35')]);_0x27444b[_0x4ba3('0x37')]=_[_0x4ba3('0x38')](_0x27444b[_0x4ba3('0x39')],_0x27444b[_0x4ba3('0x35')]);_0x48b3b7[_0x4ba3('0x3a')]=_[_0x4ba3('0x38')](_0x27444b[_0x4ba3('0x39')],qs[_0x4ba3('0x3b')](_0x2cb5d5[_0x4ba3('0x35')]['fields']));_0x48b3b7[_0x4ba3('0x3a')]=_0x48b3b7[_0x4ba3('0x3a')][_0x4ba3('0x3c')]?_0x48b3b7['attributes']:_0x27444b[_0x4ba3('0x39')];if(!_0x2cb5d5['query'][_0x4ba3('0x3d')](_0x4ba3('0x3e'))){_0x48b3b7[_0x4ba3('0x1f')]=qs[_0x4ba3('0x1f')](_0x2cb5d5[_0x4ba3('0x35')][_0x4ba3('0x1f')]);_0x48b3b7['offset']=qs[_0x4ba3('0x1e')](_0x2cb5d5[_0x4ba3('0x35')][_0x4ba3('0x1e')]);}_0x48b3b7['order']=qs[_0x4ba3('0x3f')](_0x2cb5d5[_0x4ba3('0x35')]['sort']);_0x48b3b7[_0x4ba3('0x40')]=qs['filters'](_['pick'](_0x2cb5d5[_0x4ba3('0x35')],_0x27444b[_0x4ba3('0x37')]),_0x24d8fc);if(_0x2cb5d5[_0x4ba3('0x35')][_0x4ba3('0x41')]){_0x48b3b7[_0x4ba3('0x40')]=_['merge'](_0x48b3b7[_0x4ba3('0x40')],{'$or':_[_0x4ba3('0x2f')](_0x24d8fc,function(_0x46d2ca){if(_0x46d2ca[_0x4ba3('0x33')]!==_0x4ba3('0x42')){var _0x2acc92={};_0x2acc92[_0x46d2ca[_0x4ba3('0x2c')]]={'$like':'%'+_0x2cb5d5[_0x4ba3('0x35')]['filter']+'%'};return _0x2acc92;}})});}_0x48b3b7=_[_0x4ba3('0x43')]({},_0x48b3b7,_0x2cb5d5[_0x4ba3('0x44')]);var _0x3cb07f={'where':_0x48b3b7[_0x4ba3('0x40')]};return db[_0x4ba3('0x30')][_0x4ba3('0x21')](_0x3cb07f)[_0x4ba3('0x26')](function(_0xdcc2a2){_0x28f36c[_0x4ba3('0x21')]=_0xdcc2a2;if(_0x2cb5d5[_0x4ba3('0x35')][_0x4ba3('0x45')]){_0x48b3b7[_0x4ba3('0x46')]=[{'all':!![]}];}return db[_0x4ba3('0x30')][_0x4ba3('0x47')](_0x48b3b7);})['then'](function(_0x5af671){_0x28f36c['rows']=_0x5af671;return _0x28f36c;})['then'](respondWithFilteredResult(_0x11f88f,_0x48b3b7))['catch'](handleError(_0x11f88f,null));};exports[_0x4ba3('0x48')]=function(_0x5c4659,_0x29e74d){var _0x5567c7={'raw':!![],'where':{'id':_0x5c4659[_0x4ba3('0x49')]['id']}},_0x53d6eb={};_0x53d6eb[_0x4ba3('0x39')]=_[_0x4ba3('0x36')](db[_0x4ba3('0x30')]['rawAttributes']);_0x53d6eb[_0x4ba3('0x35')]=_['keys'](_0x5c4659[_0x4ba3('0x35')]);_0x53d6eb['filters']=_[_0x4ba3('0x38')](_0x53d6eb[_0x4ba3('0x39')],_0x53d6eb[_0x4ba3('0x35')]);_0x5567c7[_0x4ba3('0x3a')]=_[_0x4ba3('0x38')](_0x53d6eb[_0x4ba3('0x39')],qs[_0x4ba3('0x3b')](_0x5c4659['query'][_0x4ba3('0x3b')]));_0x5567c7[_0x4ba3('0x3a')]=_0x5567c7[_0x4ba3('0x3a')][_0x4ba3('0x3c')]?_0x5567c7[_0x4ba3('0x3a')]:_0x53d6eb['model'];if(_0x5c4659['query'][_0x4ba3('0x45')]){_0x5567c7[_0x4ba3('0x46')]=[{'all':!![]}];}_0x5567c7=_[_0x4ba3('0x43')]({},_0x5567c7,_0x5c4659['options']);return db[_0x4ba3('0x30')][_0x4ba3('0x4a')](_0x5567c7)[_0x4ba3('0x26')](handleEntityNotFound(_0x29e74d,null))['then'](respondWithResult(_0x29e74d,null))['catch'](handleError(_0x29e74d,null));};exports[_0x4ba3('0x4b')]=function(_0x482a83,_0x439acf){return db[_0x4ba3('0x30')][_0x4ba3('0x4b')](_0x482a83[_0x4ba3('0x4c')],{})[_0x4ba3('0x26')](function(_0x213eb0){var _0x590739=_0x482a83[_0x4ba3('0x4d')][_0x4ba3('0x28')]({'plain':!![]});if(!_0x590739)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x590739[_0x4ba3('0x4e')]===_0x4ba3('0x4d')){var _0x156c2d=_0x213eb0[_0x4ba3('0x28')]({'plain':!![]});var _0x360472='Reports';return db[_0x4ba3('0x4f')][_0x4ba3('0x4a')]({'where':{'name':_0x360472,'userProfileId':_0x590739['userProfileId']},'raw':!![]})[_0x4ba3('0x26')](function(_0x19d70f){if(_0x19d70f&&_0x19d70f[_0x4ba3('0x50')]===0x0){return db[_0x4ba3('0x2a')][_0x4ba3('0x4b')]({'name':_0x156c2d[_0x4ba3('0x2c')],'resourceId':_0x156c2d['id'],'type':_0x4ba3('0x29'),'sectionId':_0x19d70f['id']},{})[_0x4ba3('0x26')](function(){return _0x213eb0;});}else{return _0x213eb0;}})[_0x4ba3('0x51')](function(_0x428a27){logger[_0x4ba3('0x2b')](_0x4ba3('0x52'),_0x428a27);throw _0x428a27;});}return _0x213eb0;})[_0x4ba3('0x26')](respondWithResult(_0x439acf,0xc9))[_0x4ba3('0x51')](handleError(_0x439acf,null));};exports[_0x4ba3('0x53')]=function(_0x48a3d4,_0x5e7ed5){if(_0x48a3d4['body']['id']){delete _0x48a3d4[_0x4ba3('0x4c')]['id'];}return db[_0x4ba3('0x30')][_0x4ba3('0x4a')]({'where':{'id':_0x48a3d4[_0x4ba3('0x49')]['id']}})[_0x4ba3('0x26')](handleEntityNotFound(_0x5e7ed5,null))['then'](saveUpdates(_0x48a3d4[_0x4ba3('0x4c')],null))[_0x4ba3('0x26')](respondWithResult(_0x5e7ed5,null))[_0x4ba3('0x51')](handleError(_0x5e7ed5,null));};exports[_0x4ba3('0x27')]=function(_0x5359d1,_0x1e83fb){return db[_0x4ba3('0x30')][_0x4ba3('0x4a')]({'where':{'id':_0x5359d1[_0x4ba3('0x49')]['id']}})[_0x4ba3('0x26')](handleEntityNotFound(_0x1e83fb,null))[_0x4ba3('0x26')](removeEntity(_0x1e83fb,null))[_0x4ba3('0x51')](handleError(_0x1e83fb,null));};exports[_0x4ba3('0x54')]=function(_0x328314,_0x4fa64d){var _0x20c849=0xa;var _0x42bb4b=[_0x4ba3('0x55'),_0x4ba3('0x56'),_0x4ba3('0x57'),_0x4ba3('0x58')];var _0x40827a={'SUM':_0x4ba3('0x59'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0x4ba3('0x5a'),'MAX':_0x4ba3('0x5b'),'MIN':_0x4ba3('0x5c'),'AVG':'AVG(%s)','GROUP_CONCAT':_0x4ba3('0x5d'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0x4ba3('0x5e')};var _0x4cc10a={'SEC_TO_TIME':_0x4ba3('0x5f'),'DATE':_0x4ba3('0x60'),'HOUR':_0x4ba3('0x61'),'ROUND':'ROUND(%s)','UNIX_TIMESTAMP':_0x4ba3('0x62')};var _0xaef1b=function(_0x2a48fe){return!_[_0x4ba3('0x63')]([_0x4ba3('0x64'),'IS\x20NOT\x20NULL',_0x4ba3('0x65'),_0x4ba3('0x66')],_0x2a48fe);};var _0x34cc21=function(_0x469ef0){if(!_0x469ef0||!_0x469ef0[_0x4ba3('0x67')][_0x4ba3('0x3c')]){return'';}for(var _0x3fdf7f='(',_0x38699e=0x0;_0x38699e<_0x469ef0[_0x4ba3('0x67')][_0x4ba3('0x3c')];_0x38699e+=0x1){_0x38699e>0x0&&(_0x3fdf7f+='\x20'+_0x469ef0[_0x4ba3('0x68')]+'\x20');_0x3fdf7f+=_0x469ef0['rules'][_0x38699e][_0x4ba3('0x69')]?_0x34cc21(_0x469ef0[_0x4ba3('0x67')][_0x38699e]['group']):_0x469ef0['rules'][_0x38699e][_0x4ba3('0x6a')]+'\x20'+_0x469ef0[_0x4ba3('0x67')][_0x38699e]['condition']+(_0xaef1b(_0x469ef0[_0x4ba3('0x67')][_0x38699e][_0x4ba3('0x6b')])?'\x20'+_0x469ef0[_0x4ba3('0x67')][_0x38699e]['value']:'');}return _0x3fdf7f+')';};var _0x1f5815={'where':{'id':_0x328314['params']['id']}},_0x46224,_0x1af489,_0x11209b,_0x24a75a,_0x3a4838;_0x1f5815=_[_0x4ba3('0x43')]({},_0x1f5815,_0x328314[_0x4ba3('0x44')]);return db[_0x4ba3('0x30')]['find'](_0x1f5815)[_0x4ba3('0x26')](function(_0x2f8bcc){if(_0x2f8bcc){_0x46224=_0x2f8bcc;return _0x2f8bcc[_0x4ba3('0x6c')]();}return null;})[_0x4ba3('0x26')](function(_0x21c8b1){if(_0x21c8b1){if(!_0x21c8b1[_0x4ba3('0x3c')]){throw new db[(_0x4ba3('0x6d'))][(_0x4ba3('0x6e'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x1af489=_0x21c8b1;return db['AnalyticMetric'][_0x4ba3('0x47')]({'raw':!![]});}return null;})['then'](function(_0x13ee2c){if(_0x13ee2c){_0x11209b=_[_0x4ba3('0x6f')](_0x13ee2c,'id');var _0x442d66;var _0x5c7fc2=squel[_0x4ba3('0x70')]();_0x5c7fc2[_0x4ba3('0x71')](_0x46224[_0x4ba3('0x72')]);for(var _0x5baf26=0x0;_0x5baf26<_0x1af489[_0x4ba3('0x3c')];_0x5baf26+=0x1){_0x442d66=_0x1af489[_0x5baf26]['MetricId']?_0x11209b[_0x1af489[_0x5baf26][_0x4ba3('0x73')]][_0x4ba3('0x74')]:_0x1af489[_0x5baf26]['field'];_0x442d66=_0x1af489[_0x5baf26][_0x4ba3('0x75')]?_[_0x4ba3('0x76')](_0x40827a[_0x1af489[_0x5baf26][_0x4ba3('0x75')]],'%s',_0x442d66):_0x442d66;_0x442d66=_0x1af489[_0x5baf26][_0x4ba3('0x77')]?_[_0x4ba3('0x76')](_0x4cc10a[_0x1af489[_0x5baf26][_0x4ba3('0x77')]],'%s',_0x442d66):_0x442d66;if(_0x1af489[_0x5baf26][_0x4ba3('0x78')]){_0x5c7fc2[_0x4ba3('0x69')](_0x442d66);}_0x1af489[_0x5baf26][_0x4ba3('0x79')]&&_0x5c7fc2['order'](_0x442d66,_0x1af489[_0x5baf26][_0x4ba3('0x79')]===_0x4ba3('0x7a')?![]:!![]);_0x5c7fc2[_0x4ba3('0x6a')](_0x442d66,_0x1af489[_0x5baf26][_0x4ba3('0x7b')]||_0x442d66);}if(_0x46224[_0x4ba3('0x7c')]){_0x46224[_0x4ba3('0x7c')]=JSON[_0x4ba3('0x7d')](_0x46224[_0x4ba3('0x7c')]);for(var _0x365d94=0x0;_0x365d94<_0x46224[_0x4ba3('0x7c')][_0x4ba3('0x3c')];_0x365d94+=0x1){if(_0x46224[_0x4ba3('0x7c')][_0x365d94]['type']&&_[_0x4ba3('0x63')](_0x42bb4b,_0x46224[_0x4ba3('0x7c')][_0x365d94]['type'])&&_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x7e')]&&_0x46224['joins'][_0x365d94]['foreignTable']&&_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x7f')]){_0x5c7fc2[_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x33')]](_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x80')],null,util[_0x4ba3('0x77')](_0x4ba3('0x81'),_0x46224['table'],_0x46224[_0x4ba3('0x7c')][_0x365d94]['parentKey'],_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x80')],_0x46224[_0x4ba3('0x7c')][_0x365d94][_0x4ba3('0x7f')]));}}}if(_0x46224[_0x4ba3('0x82')]){_0x46224[_0x4ba3('0x82')]=JSON[_0x4ba3('0x7d')](_0x46224[_0x4ba3('0x82')]);_0x5c7fc2['where'](_0x34cc21(_0x46224[_0x4ba3('0x82')][_0x4ba3('0x69')]));}_0x3a4838=_0x5c7fc2[_0x4ba3('0x83')]();_0x5c7fc2['limit'](_0x20c849);_0x5c7fc2[_0x4ba3('0x1e')](0x0);logger[_0x4ba3('0x84')](_0x4ba3('0x85'),_0x5c7fc2[_0x4ba3('0x86')]());return dbH[_0x4ba3('0x87')][_0x4ba3('0x35')](_0x5c7fc2[_0x4ba3('0x86')](),{'type':dbH['sequelize']['QueryTypes'][_0x4ba3('0x88')]});}})['then'](respondWithResult(_0x4fa64d,null))[_0x4ba3('0x51')](handleError(_0x4fa64d,null));};function runReport(_0x15508f,_0x108679,_0x20f7db){var _0x5a3c63=_0x108679['name'];var _0x2d16e5=0xa;var _0x2b2132=['join',_0x4ba3('0x56'),_0x4ba3('0x57'),_0x4ba3('0x58')];var _0x1e8232={'SUM':_0x4ba3('0x59'),'COUNT':_0x4ba3('0x89'),'COUNT DISTINCT':_0x4ba3('0x5a'),'MAX':'MAX(%s)','MIN':_0x4ba3('0x5c'),'AVG':_0x4ba3('0x8a'),'GROUP_CONCAT':_0x4ba3('0x5d'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0x4ba3('0x5e')};var _0x13dbc4={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':_0x4ba3('0x60'),'HOUR':_0x4ba3('0x61'),'ROUND':'ROUND(%s)','UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x5aa412=function(_0x4ec70e){return!_[_0x4ba3('0x63')]([_0x4ba3('0x64'),_0x4ba3('0x8b'),_0x4ba3('0x65'),_0x4ba3('0x66')],_0x4ec70e);};var _0x333a97=function(_0x30d7a9){if(!_0x30d7a9||!_0x30d7a9['rules'][_0x4ba3('0x3c')]){return'';}for(var _0x4cd4a2='(',_0x31a725=0x0;_0x31a725<_0x30d7a9['rules'][_0x4ba3('0x3c')];_0x31a725+=0x1){_0x31a725>0x0&&(_0x4cd4a2+='\x20'+_0x30d7a9[_0x4ba3('0x68')]+'\x20');_0x4cd4a2+=_0x30d7a9[_0x4ba3('0x67')][_0x31a725][_0x4ba3('0x69')]?_0x333a97(_0x30d7a9[_0x4ba3('0x67')][_0x31a725]['group']):_0x30d7a9['rules'][_0x31a725][_0x4ba3('0x6a')]+'\x20'+_0x30d7a9[_0x4ba3('0x67')][_0x31a725][_0x4ba3('0x6b')]+(_0x5aa412(_0x30d7a9[_0x4ba3('0x67')][_0x31a725][_0x4ba3('0x6b')])?'\x20'+_0x30d7a9[_0x4ba3('0x67')][_0x31a725][_0x4ba3('0x8c')]:'');}return _0x4cd4a2+')';};var _0x3d8606={'where':{'id':_0x15508f['id']}},_0x2d00e3,_0x35441e,_0x217ea4,_0x40dcee,_0x5ea9d0;_0x3d8606=_[_0x4ba3('0x43')]({},_0x3d8606,_0x20f7db);return db['AnalyticDefaultReport'][_0x4ba3('0x4a')](_0x3d8606)[_0x4ba3('0x26')](function(_0x17b970){if(_0x17b970){_0x2d00e3=_0x17b970;return _0x17b970[_0x4ba3('0x6c')]();}return null;})['then'](function(_0x2a2dc2){if(_0x2a2dc2){if(!_0x2a2dc2[_0x4ba3('0x3c')]){throw new db[(_0x4ba3('0x6d'))][(_0x4ba3('0x6e'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x35441e=_0x2a2dc2;return db['AnalyticMetric'][_0x4ba3('0x47')]({'raw':!![]});}return null;})[_0x4ba3('0x26')](function(_0x3188c8){if(_0x3188c8){_0x217ea4=_['keyBy'](_0x3188c8,'id');var _0x2f793a;var _0x1194a5=squel[_0x4ba3('0x70')]();_0x1194a5[_0x4ba3('0x71')](_0x2d00e3[_0x4ba3('0x72')]);for(var _0x1e2134=0x0;_0x1e2134<_0x35441e['length'];_0x1e2134+=0x1){_0x2f793a=_0x35441e[_0x1e2134][_0x4ba3('0x73')]?_0x217ea4[_0x35441e[_0x1e2134]['MetricId']][_0x4ba3('0x74')]:_0x35441e[_0x1e2134][_0x4ba3('0x6a')];_0x2f793a=_0x35441e[_0x1e2134][_0x4ba3('0x75')]?_[_0x4ba3('0x76')](_0x1e8232[_0x35441e[_0x1e2134]['function']],'%s',_0x2f793a):_0x2f793a;_0x2f793a=_0x35441e[_0x1e2134][_0x4ba3('0x77')]?_[_0x4ba3('0x76')](_0x13dbc4[_0x35441e[_0x1e2134]['format']],'%s',_0x2f793a):_0x2f793a;if(_0x35441e[_0x1e2134][_0x4ba3('0x78')]){_0x1194a5['group'](_0x2f793a);}_0x35441e[_0x1e2134][_0x4ba3('0x79')]&&_0x1194a5[_0x4ba3('0x8d')](_0x2f793a,_0x35441e[_0x1e2134][_0x4ba3('0x79')]===_0x4ba3('0x7a')?![]:!![]);_0x1194a5[_0x4ba3('0x6a')](_0x2f793a,_0x35441e[_0x1e2134]['alias']||_0x2f793a);}if(_0x2d00e3['joins']){_0x2d00e3[_0x4ba3('0x7c')]=JSON[_0x4ba3('0x7d')](_0x2d00e3[_0x4ba3('0x7c')]);for(var _0x56244e=0x0;_0x56244e<_0x2d00e3[_0x4ba3('0x7c')][_0x4ba3('0x3c')];_0x56244e+=0x1){if(_0x2d00e3['joins'][_0x56244e][_0x4ba3('0x33')]&&_[_0x4ba3('0x63')](_0x2b2132,_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x33')])&&_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x7e')]&&_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x80')]&&_0x2d00e3['joins'][_0x56244e][_0x4ba3('0x7f')]){_0x1194a5[_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x33')]](_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x80')],null,util[_0x4ba3('0x77')](_0x4ba3('0x81'),_0x2d00e3[_0x4ba3('0x72')],_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x7e')],_0x2d00e3[_0x4ba3('0x7c')][_0x56244e][_0x4ba3('0x80')],_0x2d00e3[_0x4ba3('0x7c')][_0x56244e]['foreignKey']));}}}if(_0x2d00e3['conditions']){_0x2d00e3[_0x4ba3('0x82')]=JSON[_0x4ba3('0x7d')](_0x2d00e3[_0x4ba3('0x82')]);_0x1194a5[_0x4ba3('0x40')](_0x333a97(_0x2d00e3[_0x4ba3('0x82')][_0x4ba3('0x69')]));}_0x5ea9d0=_0x1194a5[_0x4ba3('0x83')]();_0x1194a5['limit'](_0x2d16e5);_0x1194a5['offset'](0x0);return;}})[_0x4ba3('0x26')](function(){if(_0x108679[_0x4ba3('0x8e')]==='web'){return null;}var _0x4fb6b5=_['merge'](_0x108679,{'name':_0x108679['fullPath']||_0x108679[_0x4ba3('0x2c')]||_0x2d00e3[_0x4ba3('0x2c')],'basename':_0x5a3c63,'savename':util[_0x4ba3('0x77')](_0x4ba3('0x8f'),_0x108679[_0x4ba3('0x2c')]||_0x2d00e3['name'],require(_0x4ba3('0x90'))[_0x4ba3('0x91')](0x4),_0x108679[_0x4ba3('0x8e')]||'csv'),'reportId':_0x2d00e3['id'],'reportType':'default'});return db['AnalyticExtractedReport']['create'](_0x4fb6b5,{'raw':!![]});})[_0x4ba3('0x26')](function(_0x17d501){if(_0x2d00e3[_0x4ba3('0x72')]===_0x4ba3('0x92')){_0x5ea9d0[_0x4ba3('0x40')](_0x2d00e3['table']+_0x4ba3('0x93'),_0x108679['startDate'],_0x108679[_0x4ba3('0x94')]);}else{_0x5ea9d0[_0x4ba3('0x40')](_0x2d00e3[_0x4ba3('0x72')]+'.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x108679[_0x4ba3('0x95')],_0x108679[_0x4ba3('0x94')]);}if(_0x17d501){logger[_0x4ba3('0x96')](_0x4ba3('0x97'),_0x5ea9d0['toString']());require('child_process')[_0x4ba3('0x98')](path[_0x4ba3('0x55')](__dirname,'../../components/export/',_0x17d501[_0x4ba3('0x8e')]),[_0x17d501['id'],_0x5ea9d0['toString'](),path['join'](__dirname,'../../files/reports',_0x17d501['savename']),_0x5a3c63]);return _0x17d501;}else{var _0x2d2ca3=squel[_0x4ba3('0x70')]();_0x2d2ca3[_0x4ba3('0x71')]('('+_0x5ea9d0[_0x4ba3('0x86')]()+')',_0x4ba3('0x99'));_0x2d2ca3['field']('COUNT(*)',_0x4ba3('0x21'));_0x5ea9d0['limit'](_0x108679[_0x4ba3('0x1f')]||_0x2d16e5);_0x5ea9d0[_0x4ba3('0x1e')](_0x108679[_0x4ba3('0x1e')]||0x0);return dbH['sequelize'][_0x4ba3('0x35')](_0x2d2ca3[_0x4ba3('0x86')](),{'type':dbH[_0x4ba3('0x87')][_0x4ba3('0x9a')][_0x4ba3('0x88')]})[_0x4ba3('0x26')](function(_0xc938c){if(!_0xc938c[_0x4ba3('0x3c')]){_0x40dcee=0x0;}else{_0x40dcee=_0xc938c[0x0][_0x4ba3('0x21')]||0x0;}return dbH['sequelize']['query'](_0x5ea9d0[_0x4ba3('0x86')](),{'type':dbH[_0x4ba3('0x87')][_0x4ba3('0x9a')][_0x4ba3('0x88')]});})[_0x4ba3('0x26')](function(_0xd97c26){return{'rows':_0xd97c26||[],'count':_0x40dcee};});}});}exports['run']=function(_0x1fbdc7,_0x9e45ec){return runReport(_0x1fbdc7['params'],_0x1fbdc7[_0x4ba3('0x35')],_0x1fbdc7[_0x4ba3('0x44')])[_0x4ba3('0x26')](respondWithResult(_0x9e45ec,null))[_0x4ba3('0x51')](handleError(_0x9e45ec,null));};exports[_0x4ba3('0x9b')]=runReport;exports[_0x4ba3('0x35')]=function(_0xddfb0c,_0x41c531){var _0x25bf75=0xa;var _0x18bd77=[_0x4ba3('0x55'),_0x4ba3('0x56'),_0x4ba3('0x57'),_0x4ba3('0x58')];var _0x2e812b={'SUM':'SUM(%s)','COUNT':_0x4ba3('0x89'),'COUNT DISTINCT':_0x4ba3('0x5a'),'MAX':'MAX(%s)','MIN':_0x4ba3('0x5c'),'AVG':'AVG(%s)','GROUP_CONCAT':_0x4ba3('0x5d'),'GROUP_CONCAT ASC':_0x4ba3('0x9c'),'GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x5dc74f={'SEC_TO_TIME':_0x4ba3('0x5f'),'DATE':'DATE(%s)','HOUR':_0x4ba3('0x61'),'ROUND':_0x4ba3('0x9d'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x1590f0=function(_0x5efab9){return!_[_0x4ba3('0x63')]([_0x4ba3('0x64'),_0x4ba3('0x8b'),'IS\x20EMPTY',_0x4ba3('0x66')],_0x5efab9);};var _0x4d3262=function(_0x4ad4d3){if(!_0x4ad4d3||!_0x4ad4d3[_0x4ba3('0x67')]['length']){return'';}for(var _0x4529a3='(',_0x9b9c64=0x0;_0x9b9c64<_0x4ad4d3[_0x4ba3('0x67')]['length'];_0x9b9c64+=0x1){_0x9b9c64>0x0&&(_0x4529a3+='\x20'+_0x4ad4d3['operator']+'\x20');_0x4529a3+=_0x4ad4d3[_0x4ba3('0x67')][_0x9b9c64][_0x4ba3('0x69')]?_0x4d3262(_0x4ad4d3[_0x4ba3('0x67')][_0x9b9c64][_0x4ba3('0x69')]):_0x4ad4d3[_0x4ba3('0x67')][_0x9b9c64]['field']+'\x20'+_0x4ad4d3[_0x4ba3('0x67')][_0x9b9c64][_0x4ba3('0x6b')]+(_0x1590f0(_0x4ad4d3[_0x4ba3('0x67')][_0x9b9c64][_0x4ba3('0x6b')])?'\x20'+_0x4ad4d3['rules'][_0x9b9c64][_0x4ba3('0x8c')]:'');}return _0x4529a3+')';};var _0x3073c5={'where':{'id':_0xddfb0c[_0x4ba3('0x49')]['id']}},_0x3d1c11,_0xa41747,_0x25c92c,_0x422a8d,_0x225746;_0x3073c5=_[_0x4ba3('0x43')]({},_0x3073c5,_0xddfb0c[_0x4ba3('0x44')]);return db[_0x4ba3('0x30')]['find'](_0x3073c5)[_0x4ba3('0x26')](function(_0x3db4c2){if(_0x3db4c2){_0x3d1c11=_0x3db4c2;return _0x3db4c2['getFields']();}return null;})[_0x4ba3('0x26')](function(_0x4a8449){if(_0x4a8449){if(!_0x4a8449[_0x4ba3('0x3c')]){throw new db[(_0x4ba3('0x6d'))][(_0x4ba3('0x6e'))](_0x4ba3('0x9e'),0x193);}_0xa41747=_0x4a8449;return db['AnalyticMetric']['findAll']({'raw':!![]});}return null;})[_0x4ba3('0x26')](function(_0xfaf98a){if(_0xfaf98a){_0x25c92c=_['keyBy'](_0xfaf98a,'id');var _0x30c904;var _0x267801=squel[_0x4ba3('0x70')]();_0x267801[_0x4ba3('0x71')](_0x3d1c11['table']);for(var _0x1bae1b=0x0;_0x1bae1b<_0xa41747[_0x4ba3('0x3c')];_0x1bae1b+=0x1){_0x30c904=_0xa41747[_0x1bae1b][_0x4ba3('0x73')]?_0x25c92c[_0xa41747[_0x1bae1b][_0x4ba3('0x73')]]['metric']:_0xa41747[_0x1bae1b][_0x4ba3('0x6a')];_0x30c904=_0xa41747[_0x1bae1b]['function']?_[_0x4ba3('0x76')](_0x2e812b[_0xa41747[_0x1bae1b][_0x4ba3('0x75')]],'%s',_0x30c904):_0x30c904;_0x30c904=_0xa41747[_0x1bae1b][_0x4ba3('0x77')]?_[_0x4ba3('0x76')](_0x5dc74f[_0xa41747[_0x1bae1b]['format']],'%s',_0x30c904):_0x30c904;if(_0xa41747[_0x1bae1b]['groupBy']){_0x267801[_0x4ba3('0x69')](_0x30c904);}_0xa41747[_0x1bae1b][_0x4ba3('0x79')]&&_0x267801[_0x4ba3('0x8d')](_0x30c904,_0xa41747[_0x1bae1b]['orderBy']==='DESC'?![]:!![]);_0x267801[_0x4ba3('0x6a')](_0x30c904,_0xa41747[_0x1bae1b][_0x4ba3('0x7b')]||_0x30c904);}if(_0x3d1c11[_0x4ba3('0x7c')]){_0x3d1c11[_0x4ba3('0x7c')]=JSON['parse'](_0x3d1c11[_0x4ba3('0x7c')]);for(var _0x2f4966=0x0;_0x2f4966<_0x3d1c11[_0x4ba3('0x7c')][_0x4ba3('0x3c')];_0x2f4966+=0x1){if(_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x33')]&&_[_0x4ba3('0x63')](_0x18bd77,_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x33')])&&_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x7e')]&&_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x80')]&&_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x7f')]){_0x267801[_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x33')]](_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966]['foreignTable'],null,util[_0x4ba3('0x77')](_0x4ba3('0x81'),_0x3d1c11[_0x4ba3('0x72')],_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966][_0x4ba3('0x7e')],_0x3d1c11[_0x4ba3('0x7c')][_0x2f4966]['foreignTable'],_0x3d1c11['joins'][_0x2f4966][_0x4ba3('0x7f')]));}}}if(_0x3d1c11[_0x4ba3('0x82')]){_0x3d1c11[_0x4ba3('0x82')]=JSON['parse'](_0x3d1c11[_0x4ba3('0x82')]);_0x267801[_0x4ba3('0x40')](_0x4d3262(_0x3d1c11[_0x4ba3('0x82')][_0x4ba3('0x69')]));}_0x225746=_0x267801[_0x4ba3('0x83')]();_0x267801[_0x4ba3('0x1f')](_0x25bf75);_0x267801[_0x4ba3('0x1e')](0x0);logger[_0x4ba3('0x84')](_0x4ba3('0x85'),_0x267801['toString']());return dbH[_0x4ba3('0x87')]['query'](_0x267801['toString'](),{'type':dbH[_0x4ba3('0x87')][_0x4ba3('0x9a')]['SELECT']});}})[_0x4ba3('0x26')](function(){return{'sql':_0x225746[_0x4ba3('0x86')]()};})[_0x4ba3('0x26')](respondWithResult(_0x41c531,null))[_0x4ba3('0x51')](handleError(_0x41c531,null));};
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.model.js b/server/api/analyticDefaultReport/analyticDefaultReport.model.js
index 9e7fcb1..3d66ffd 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 _0x9398=['exports','define','analytics_default_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./analyticDefaultReport.attributes'];(function(_0x65b5cd,_0x178e0c){var _0x3cd15f=function(_0x556a83){while(--_0x556a83){_0x65b5cd['push'](_0x65b5cd['shift']());}};_0x3cd15f(++_0x178e0c);}(_0x9398,0x155));var _0x8939=function(_0x13449a,_0x176433){_0x13449a=_0x13449a-0x0;var _0x5ccb70=_0x9398[_0x13449a];return _0x5ccb70;};'use strict';var _=require(_0x8939('0x0'));var util=require(_0x8939('0x1'));var logger=require(_0x8939('0x2'))(_0x8939('0x3'));var moment=require(_0x8939('0x4'));var BPromise=require(_0x8939('0x5'));var rp=require(_0x8939('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8939('0x7'));var config=require(_0x8939('0x8'));var attributes=require(_0x8939('0x9'));module[_0x8939('0xa')]=function(_0x2032c2,_0x2c2b51){return _0x2032c2[_0x8939('0xb')]('AnalyticDefaultReport',attributes,{'tableName':_0x8939('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xce8b=['exports','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0xce8b,0x189));var _0xbce8=function(_0x54f3e8,_0x3ed493){_0x54f3e8=_0x54f3e8-0x0;var _0x267b37=_0xce8b[_0x54f3e8];return _0x267b37;};'use strict';var _=require(_0xbce8('0x0'));var util=require(_0xbce8('0x1'));var logger=require(_0xbce8('0x2'))(_0xbce8('0x3'));var moment=require('moment');var BPromise=require(_0xbce8('0x4'));var rp=require(_0xbce8('0x5'));var fs=require('fs');var path=require(_0xbce8('0x6'));var rimraf=require(_0xbce8('0x7'));var config=require(_0xbce8('0x8'));var attributes=require(_0xbce8('0x9'));module[_0xbce8('0xa')]=function(_0x472b0b,_0x30f72a){return _0x472b0b['define'](_0xbce8('0xb'),attributes,{'tableName':_0xbce8('0xc'),'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 9244fe9..f7b6141 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 _0x62b4=['http','request','then','info','AnalyticDefaultReport,\x20%s,\x20%s','request\x20sent','AnalyticDefaultReport,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client'];(function(_0x272282,_0x2e94a0){var _0xedf511=function(_0x5d1ab6){while(--_0x5d1ab6){_0x272282['push'](_0x272282['shift']());}};_0xedf511(++_0x2e94a0);}(_0x62b4,0x1a4));var _0x462b=function(_0x50e40b,_0x338d17){_0x50e40b=_0x50e40b-0x0;var _0x2608b7=_0x62b4[_0x50e40b];return _0x2608b7;};'use strict';var _=require(_0x462b('0x0'));var util=require(_0x462b('0x1'));var moment=require(_0x462b('0x2'));var BPromise=require(_0x462b('0x3'));var rs=require(_0x462b('0x4'));var fs=require('fs');var Redis=require(_0x462b('0x5'));var db=require(_0x462b('0x6'))['db'];var utils=require(_0x462b('0x7'));var logger=require(_0x462b('0x8'))(_0x462b('0x9'));var config=require('../../config/environment');var jayson=require(_0x462b('0xa'));var client=jayson[_0x462b('0xb')][_0x462b('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x414dc6,_0x1c821d,_0x1f0ff3){return new BPromise(function(_0x272b29,_0x39a72f){return client[_0x462b('0xd')](_0x414dc6,_0x1f0ff3)[_0x462b('0xe')](function(_0x1cb140){logger[_0x462b('0xf')](_0x462b('0x10'),_0x1c821d,_0x462b('0x11'));logger['debug'](_0x462b('0x12'),_0x1c821d,'request\x20sent',JSON[_0x462b('0x13')](_0x1cb140));if(_0x1cb140[_0x462b('0x14')]){if(_0x1cb140[_0x462b('0x14')]['code']===0x1f4){logger[_0x462b('0x14')](_0x462b('0x10'),_0x1c821d,_0x1cb140[_0x462b('0x14')][_0x462b('0x15')]);return _0x39a72f(_0x1cb140[_0x462b('0x14')][_0x462b('0x15')]);}logger['error'](_0x462b('0x10'),_0x1c821d,_0x1cb140[_0x462b('0x14')][_0x462b('0x15')]);return _0x272b29(_0x1cb140[_0x462b('0x14')][_0x462b('0x15')]);}else{logger[_0x462b('0xf')](_0x462b('0x10'),_0x1c821d,_0x462b('0x11'));_0x272b29(_0x1cb140[_0x462b('0x16')][_0x462b('0x15')]);}})[_0x462b('0x17')](function(_0x5d5535){logger['error'](_0x462b('0x10'),_0x1c821d,_0x5d5535);_0x39a72f(_0x5d5535);});});}
\ No newline at end of file
+var _0x7c1a=['jayson/promise','http','then','AnalyticDefaultReport,\x20%s,\x20%s','request\x20sent','debug','error','code','message','result','catch','util','moment','../../mysqldb','rpc','../../config/environment'];(function(_0x41824b,_0x50aa9c){var _0x1c6602=function(_0x410dbb){while(--_0x410dbb){_0x41824b['push'](_0x41824b['shift']());}};_0x1c6602(++_0x50aa9c);}(_0x7c1a,0x19b));var _0xa7c1=function(_0xd48dda,_0x53b6da){_0xd48dda=_0xd48dda-0x0;var _0x51b3d2=_0x7c1a[_0xd48dda];return _0x51b3d2;};'use strict';var _=require('lodash');var util=require(_0xa7c1('0x0'));var moment=require(_0xa7c1('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa7c1('0x2'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xa7c1('0x3'));var config=require(_0xa7c1('0x4'));var jayson=require(_0xa7c1('0x5'));var client=jayson['client'][_0xa7c1('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x49adf3,_0x284de2,_0x2864ec){return new BPromise(function(_0x20406a,_0x3be950){return client['request'](_0x49adf3,_0x2864ec)[_0xa7c1('0x7')](function(_0x32a153){logger['info'](_0xa7c1('0x8'),_0x284de2,_0xa7c1('0x9'));logger[_0xa7c1('0xa')]('AnalyticDefaultReport,\x20%s,\x20%s,\x20%s',_0x284de2,_0xa7c1('0x9'),JSON['stringify'](_0x32a153));if(_0x32a153['error']){if(_0x32a153[_0xa7c1('0xb')][_0xa7c1('0xc')]===0x1f4){logger[_0xa7c1('0xb')](_0xa7c1('0x8'),_0x284de2,_0x32a153[_0xa7c1('0xb')][_0xa7c1('0xd')]);return _0x3be950(_0x32a153[_0xa7c1('0xb')][_0xa7c1('0xd')]);}logger[_0xa7c1('0xb')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x284de2,_0x32a153[_0xa7c1('0xb')]['message']);return _0x20406a(_0x32a153[_0xa7c1('0xb')][_0xa7c1('0xd')]);}else{logger['info'](_0xa7c1('0x8'),_0x284de2,'request\x20sent');_0x20406a(_0x32a153[_0xa7c1('0xe')][_0xa7c1('0xd')]);}})[_0xa7c1('0xf')](function(_0x13930a){logger[_0xa7c1('0xb')](_0xa7c1('0x8'),_0x284de2,_0x13930a);_0x3be950(_0x13930a);});});}
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/index.js b/server/api/analyticDefaultReport/index.js
index 7550bf0..27b09d8 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 _0xc27a=['../../components/interaction/service','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','run','/:id/query','query','post','create','update','exports','multer','util','path','connect-timeout','fs-extra'];(function(_0x673e91,_0x5066f8){var _0x3ee5cb=function(_0x2b30d2){while(--_0x2b30d2){_0x673e91['push'](_0x673e91['shift']());}};_0x3ee5cb(++_0x5066f8);}(_0xc27a,0x1b4));var _0xac27=function(_0x173f10,_0x35db61){_0x173f10=_0x173f10-0x0;var _0x53142d=_0xc27a[_0x173f10];return _0x53142d;};'use strict';var multer=require(_0xac27('0x0'));var util=require(_0xac27('0x1'));var path=require(_0xac27('0x2'));var timeout=require(_0xac27('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xac27('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xac27('0x5'));var config=require('../../config/environment');var controller=require(_0xac27('0x6'));router[_0xac27('0x7')]('/',auth[_0xac27('0x8')](),controller[_0xac27('0x9')]);router[_0xac27('0x7')](_0xac27('0xa'),auth[_0xac27('0x8')](),controller[_0xac27('0xb')]);router[_0xac27('0x7')](_0xac27('0xc'),auth[_0xac27('0x8')](),controller[_0xac27('0xd')]);router[_0xac27('0x7')]('/:id/run',auth[_0xac27('0x8')](),controller[_0xac27('0xe')]);router[_0xac27('0x7')](_0xac27('0xf'),auth[_0xac27('0x8')](),controller[_0xac27('0x10')]);router[_0xac27('0x11')]('/',auth[_0xac27('0x8')](),controller[_0xac27('0x12')]);router['put'](_0xac27('0xa'),auth[_0xac27('0x8')](),controller[_0xac27('0x13')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xac27('0x14')]=router;
\ No newline at end of file
+var _0x58d0=['get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','update','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x1c51c4,_0x2b4371){var _0x26e4d1=function(_0x51f825){while(--_0x51f825){_0x1c51c4['push'](_0x1c51c4['shift']());}};_0x26e4d1(++_0x2b4371);}(_0x58d0,0xd0));var _0x058d=function(_0x126af7,_0x25fa06){_0x126af7=_0x126af7-0x0;var _0x25b500=_0x58d0[_0x126af7];return _0x25b500;};'use strict';var multer=require(_0x058d('0x0'));var util=require(_0x058d('0x1'));var path=require(_0x058d('0x2'));var timeout=require(_0x058d('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x058d('0x4'));var auth=require(_0x058d('0x5'));var interaction=require(_0x058d('0x6'));var config=require(_0x058d('0x7'));var controller=require('./analyticDefaultReport.controller');router[_0x058d('0x8')]('/',auth[_0x058d('0x9')](),controller[_0x058d('0xa')]);router['get'](_0x058d('0xb'),auth[_0x058d('0x9')](),controller[_0x058d('0xc')]);router[_0x058d('0x8')](_0x058d('0xd'),auth[_0x058d('0x9')](),controller[_0x058d('0xe')]);router[_0x058d('0x8')](_0x058d('0xf'),auth[_0x058d('0x9')](),controller[_0x058d('0x10')]);router[_0x058d('0x8')](_0x058d('0x11'),auth[_0x058d('0x9')](),controller[_0x058d('0x12')]);router[_0x058d('0x13')]('/',auth[_0x058d('0x9')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x058d('0x14')]);router[_0x058d('0x15')]('/:id',auth[_0x058d('0x9')](),controller[_0x058d('0x16')]);module[_0x058d('0x17')]=router;
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js b/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js
index 11ad4ad..0cd16d2 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 _0x8b98=['STRING','csv','xlsx','DATE','Loading','ENUM','manual','scheduled','UNSIGNED','sequelize','moment','exports'];(function(_0x23514c,_0x3db65b){var _0x5076c8=function(_0x44fe9c){while(--_0x44fe9c){_0x23514c['push'](_0x23514c['shift']());}};_0x5076c8(++_0x3db65b);}(_0x8b98,0x17d));var _0x88b9=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x8b98[_0x1ac595];return _0x455fff;};'use strict';var Sequelize=require(_0x88b9('0x0'));var moment=require(_0x88b9('0x1'));module[_0x88b9('0x2')]={'name':{'type':Sequelize[_0x88b9('0x3')],'allowNull':![]},'basename':{'type':Sequelize[_0x88b9('0x3')],'allowNull':![]},'output':{'type':Sequelize['ENUM'](_0x88b9('0x4'),'pdf',_0x88b9('0x5')),'allowNull':![],'defaultValue':'csv'},'savename':{'type':Sequelize['STRING'],'allowNull':![]},'startDate':{'type':Sequelize[_0x88b9('0x6')]},'endDate':{'type':Sequelize[_0x88b9('0x6')]},'status':{'type':Sequelize[_0x88b9('0x3')],'defaultValue':_0x88b9('0x7')},'type':{'type':Sequelize[_0x88b9('0x8')](_0x88b9('0x9'),_0x88b9('0xa')),'allowNull':![],'defaultValue':_0x88b9('0x9')},'reportId':{'type':Sequelize['INTEGER'](0xb)[_0x88b9('0xb')]},'reportType':{'type':Sequelize[_0x88b9('0x3')]}};
\ No newline at end of file
+var _0x8542=['DATE','Loading','manual','UNSIGNED','sequelize','moment','exports','STRING','ENUM','csv','xlsx'];(function(_0x4e9d3c,_0x1f4b98){var _0x2d0825=function(_0x384676){while(--_0x384676){_0x4e9d3c['push'](_0x4e9d3c['shift']());}};_0x2d0825(++_0x1f4b98);}(_0x8542,0x1a6));var _0x2854=function(_0x437849,_0x43c676){_0x437849=_0x437849-0x0;var _0x572a7e=_0x8542[_0x437849];return _0x572a7e;};'use strict';var Sequelize=require(_0x2854('0x0'));var moment=require(_0x2854('0x1'));module[_0x2854('0x2')]={'name':{'type':Sequelize[_0x2854('0x3')],'allowNull':![]},'basename':{'type':Sequelize[_0x2854('0x3')],'allowNull':![]},'output':{'type':Sequelize[_0x2854('0x4')](_0x2854('0x5'),'pdf',_0x2854('0x6')),'allowNull':![],'defaultValue':'csv'},'savename':{'type':Sequelize['STRING'],'allowNull':![]},'startDate':{'type':Sequelize[_0x2854('0x7')]},'endDate':{'type':Sequelize[_0x2854('0x7')]},'status':{'type':Sequelize[_0x2854('0x3')],'defaultValue':_0x2854('0x8')},'type':{'type':Sequelize[_0x2854('0x4')](_0x2854('0x9'),'scheduled'),'allowNull':![],'defaultValue':_0x2854('0x9')},'reportId':{'type':Sequelize['INTEGER'](0xb)[_0x2854('0xa')]},'reportType':{'type':Sequelize[_0x2854('0x3')]}};
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.controller.js b/server/api/analyticExtractedReport/analyticExtractedReport.controller.js
index f0a8483..0e24f52 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 _0xd7c1=['status','end','json','offset','undefined','limit','count','set','Content-Range','reject','save','update','destroy','get','ExtractedReports','UserProfileResource','then','error','name','send','index','map','AnalyticExtractedReport','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','catch','show','params','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','download','basename','output','root','server/files/reports','savename','Sequelize','ValidationError','join','format','%s.%s','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','sox','to-csv','lodash','squel','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xd7c1,0x157));var _0x1d7c=function(_0x5ebe73,_0x13080f){_0x5ebe73=_0x5ebe73-0x0;var _0x292268=_0xd7c1[_0x5ebe73];return _0x292268;};'use strict';var emlformat=require(_0x1d7c('0x0'));var rimraf=require(_0x1d7c('0x1'));var zipdir=require(_0x1d7c('0x2'));var jsonpatch=require(_0x1d7c('0x3'));var rp=require('request-promise');var moment=require(_0x1d7c('0x4'));var BPromise=require(_0x1d7c('0x5'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x1d7c('0x6'));var csv=require(_0x1d7c('0x7'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x1d7c('0x8'));var squel=require(_0x1d7c('0x9'));var crypto=require(_0x1d7c('0xa'));var jsforce=require(_0x1d7c('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x1d7c('0x7'));var querystring=require(_0x1d7c('0xc'));var Papa=require('papaparse');var Redis=require(_0x1d7c('0xd'));var authService=require(_0x1d7c('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x1d7c('0xf'));var hardwareService=require(_0x1d7c('0x10'));var logger=require(_0x1d7c('0x11'))('api');var utils=require(_0x1d7c('0x12'));var config=require(_0x1d7c('0x13'));var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4749b0,_0x5b60f9){_0x5b60f9=_0x5b60f9||0xcc;return function(_0x10c4d7){if(_0x10c4d7){return _0x4749b0[_0x1d7c('0x14')](_0x5b60f9);}return _0x4749b0[_0x1d7c('0x15')](_0x5b60f9)[_0x1d7c('0x16')]();};}function respondWithResult(_0x16ac37,_0x2ca323){_0x2ca323=_0x2ca323||0xc8;return function(_0x4b3509){if(_0x4b3509){return _0x16ac37[_0x1d7c('0x15')](_0x2ca323)[_0x1d7c('0x17')](_0x4b3509);}};}function respondWithFilteredResult(_0x2d4e7d,_0x2bcfff){return function(_0x3a7cea){if(_0x3a7cea){var _0x2c5f68=typeof _0x2bcfff[_0x1d7c('0x18')]===_0x1d7c('0x19')&&typeof _0x2bcfff[_0x1d7c('0x1a')]==='undefined';var _0x44608d=_0x3a7cea[_0x1d7c('0x1b')];var _0x44ebbb=_0x2c5f68?0x0:_0x2bcfff[_0x1d7c('0x18')];var _0x10f0ab=_0x2c5f68?_0x3a7cea['count']:_0x2bcfff[_0x1d7c('0x18')]+_0x2bcfff['limit'];var _0x4468ab;if(_0x10f0ab>=_0x44608d){_0x10f0ab=_0x44608d;_0x4468ab=0xc8;}else{_0x4468ab=0xce;}_0x2d4e7d[_0x1d7c('0x15')](_0x4468ab);return _0x2d4e7d[_0x1d7c('0x1c')](_0x1d7c('0x1d'),_0x44ebbb+'-'+_0x10f0ab+'/'+_0x44608d)[_0x1d7c('0x17')](_0x3a7cea);}return null;};}function patchUpdates(_0xf152f6){return function(_0x9ab8b){try{jsonpatch['apply'](_0x9ab8b,_0xf152f6,!![]);}catch(_0x124b25){return BPromise[_0x1d7c('0x1e')](_0x124b25);}return _0x9ab8b[_0x1d7c('0x1f')]();};}function saveUpdates(_0x1bc202,_0x96d5c6){return function(_0x22aaab){if(_0x22aaab){return _0x22aaab[_0x1d7c('0x20')](_0x1bc202)['then'](function(_0x104450){return _0x104450;});}return null;};}function removeEntity(_0x53dcc9,_0x1a2d06){return function(_0x2d0046){if(_0x2d0046){return _0x2d0046[_0x1d7c('0x21')]()['then'](function(){var _0x75c386=_0x2d0046[_0x1d7c('0x22')]({'plain':!![]});var _0x41add0=_0x1d7c('0x23');return db[_0x1d7c('0x24')][_0x1d7c('0x21')]({'where':{'type':_0x41add0,'resourceId':_0x75c386['id']}})['then'](function(){return _0x2d0046;});})[_0x1d7c('0x25')](function(){_0x53dcc9[_0x1d7c('0x15')](0xcc)[_0x1d7c('0x16')]();});}};}function handleEntityNotFound(_0x43bedc,_0x73f147){return function(_0x45d31d){if(!_0x45d31d){_0x43bedc[_0x1d7c('0x14')](0x194);}return _0x45d31d;};}function handleError(_0x3b3d6b,_0x4deac3){_0x4deac3=_0x4deac3||0x1f4;return function(_0x56cab1){logger[_0x1d7c('0x26')](_0x56cab1['stack']);if(_0x56cab1[_0x1d7c('0x27')]){delete _0x56cab1[_0x1d7c('0x27')];}_0x3b3d6b[_0x1d7c('0x15')](_0x4deac3)[_0x1d7c('0x28')](_0x56cab1);};}exports[_0x1d7c('0x29')]=function(_0x52be96,_0x2b0b64){var _0x218d4f={},_0x4077f1={},_0x3ef545={'count':0x0,'rows':[]};var _0x1de682=_[_0x1d7c('0x2a')](db[_0x1d7c('0x2b')][_0x1d7c('0x2c')],function(_0x596ef7){return{'name':_0x596ef7[_0x1d7c('0x2d')],'type':_0x596ef7[_0x1d7c('0x2e')][_0x1d7c('0x2f')]};});_0x4077f1[_0x1d7c('0x30')]=_['map'](_0x1de682,'name');_0x4077f1[_0x1d7c('0x31')]=_[_0x1d7c('0x32')](_0x52be96['query']);_0x4077f1[_0x1d7c('0x33')]=_['intersection'](_0x4077f1['model'],_0x4077f1[_0x1d7c('0x31')]);_0x218d4f[_0x1d7c('0x34')]=_[_0x1d7c('0x35')](_0x4077f1[_0x1d7c('0x30')],qs[_0x1d7c('0x36')](_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x36')]));_0x218d4f[_0x1d7c('0x34')]=_0x218d4f[_0x1d7c('0x34')][_0x1d7c('0x37')]?_0x218d4f[_0x1d7c('0x34')]:_0x4077f1[_0x1d7c('0x30')];if(!_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x38')](_0x1d7c('0x39'))){_0x218d4f[_0x1d7c('0x1a')]=qs[_0x1d7c('0x1a')](_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x1a')]);_0x218d4f[_0x1d7c('0x18')]=qs[_0x1d7c('0x18')](_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x18')]);}_0x218d4f[_0x1d7c('0x3a')]=qs[_0x1d7c('0x3b')](_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x3b')]);_0x218d4f[_0x1d7c('0x3c')]=qs[_0x1d7c('0x33')](_[_0x1d7c('0x3d')](_0x52be96[_0x1d7c('0x31')],_0x4077f1[_0x1d7c('0x33')]),_0x1de682);if(_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x3e')]){_0x218d4f[_0x1d7c('0x3c')]=_[_0x1d7c('0x3f')](_0x218d4f[_0x1d7c('0x3c')],{'$or':_[_0x1d7c('0x2a')](_0x1de682,function(_0x5d0354){if(_0x5d0354[_0x1d7c('0x2e')]!==_0x1d7c('0x40')){var _0x2f6845={};_0x2f6845[_0x5d0354['name']]={'$like':'%'+_0x52be96[_0x1d7c('0x31')]['filter']+'%'};return _0x2f6845;}})});}_0x218d4f=_['merge']({},_0x218d4f,_0x52be96[_0x1d7c('0x41')]);var _0x3fb9a5={'where':_0x218d4f[_0x1d7c('0x3c')]};return db[_0x1d7c('0x2b')][_0x1d7c('0x1b')](_0x3fb9a5)[_0x1d7c('0x25')](function(_0x4a68c8){_0x3ef545[_0x1d7c('0x1b')]=_0x4a68c8;if(_0x52be96[_0x1d7c('0x31')][_0x1d7c('0x42')]){_0x218d4f[_0x1d7c('0x43')]=[{'all':!![]}];}return db['AnalyticExtractedReport']['findAll'](_0x218d4f);})[_0x1d7c('0x25')](function(_0x54a05a){_0x3ef545['rows']=_0x54a05a;return _0x3ef545;})['then'](respondWithFilteredResult(_0x2b0b64,_0x218d4f))[_0x1d7c('0x44')](handleError(_0x2b0b64,null));};exports[_0x1d7c('0x45')]=function(_0xcc1e73,_0x2f93e2){var _0x511d90={'raw':!![],'where':{'id':_0xcc1e73[_0x1d7c('0x46')]['id']}},_0x5696ea={};_0x5696ea[_0x1d7c('0x30')]=_[_0x1d7c('0x32')](db[_0x1d7c('0x2b')][_0x1d7c('0x2c')]);_0x5696ea[_0x1d7c('0x31')]=_[_0x1d7c('0x32')](_0xcc1e73['query']);_0x5696ea[_0x1d7c('0x33')]=_[_0x1d7c('0x35')](_0x5696ea[_0x1d7c('0x30')],_0x5696ea['query']);_0x511d90[_0x1d7c('0x34')]=_[_0x1d7c('0x35')](_0x5696ea[_0x1d7c('0x30')],qs['fields'](_0xcc1e73['query'][_0x1d7c('0x36')]));_0x511d90[_0x1d7c('0x34')]=_0x511d90[_0x1d7c('0x34')]['length']?_0x511d90['attributes']:_0x5696ea['model'];if(_0xcc1e73['query'][_0x1d7c('0x42')]){_0x511d90[_0x1d7c('0x43')]=[{'all':!![]}];}_0x511d90=_[_0x1d7c('0x3f')]({},_0x511d90,_0xcc1e73['options']);return db[_0x1d7c('0x2b')][_0x1d7c('0x47')](_0x511d90)[_0x1d7c('0x25')](handleEntityNotFound(_0x2f93e2,null))[_0x1d7c('0x25')](respondWithResult(_0x2f93e2,null))[_0x1d7c('0x44')](handleError(_0x2f93e2,null));};exports[_0x1d7c('0x48')]=function(_0x56e9fb,_0x2061c6){return db[_0x1d7c('0x2b')]['create'](_0x56e9fb[_0x1d7c('0x49')],{})[_0x1d7c('0x25')](function(_0x5081c4){var _0x227e28=_0x56e9fb[_0x1d7c('0x4a')]['get']({'plain':!![]});if(!_0x227e28)throw new Error(_0x1d7c('0x4b'));if(_0x227e28[_0x1d7c('0x4c')]===_0x1d7c('0x4a')){var _0x38f4a6=_0x5081c4[_0x1d7c('0x22')]({'plain':!![]});var _0x1a3ef4=_0x1d7c('0x23');return db[_0x1d7c('0x4d')]['find']({'where':{'name':_0x1a3ef4,'userProfileId':_0x227e28[_0x1d7c('0x4e')]},'raw':!![]})[_0x1d7c('0x25')](function(_0x149511){if(_0x149511&&_0x149511[_0x1d7c('0x4f')]===0x0){return db[_0x1d7c('0x24')][_0x1d7c('0x48')]({'name':_0x38f4a6[_0x1d7c('0x27')],'resourceId':_0x38f4a6['id'],'type':_0x149511[_0x1d7c('0x27')],'sectionId':_0x149511['id']},{})[_0x1d7c('0x25')](function(){return _0x5081c4;});}else{return _0x5081c4;}})[_0x1d7c('0x44')](function(_0x27a561){logger[_0x1d7c('0x26')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x27a561);throw _0x27a561;});}return _0x5081c4;})['then'](respondWithResult(_0x2061c6,0xc9))[_0x1d7c('0x44')](handleError(_0x2061c6,null));};exports[_0x1d7c('0x20')]=function(_0x51d240,_0x11537e){if(_0x51d240['body']['id']){delete _0x51d240['body']['id'];}return db['AnalyticExtractedReport']['find']({'where':{'id':_0x51d240[_0x1d7c('0x46')]['id']}})[_0x1d7c('0x25')](handleEntityNotFound(_0x11537e,null))['then'](saveUpdates(_0x51d240[_0x1d7c('0x49')],null))[_0x1d7c('0x25')](respondWithResult(_0x11537e,null))[_0x1d7c('0x44')](handleError(_0x11537e,null));};exports['destroy']=function(_0x5c8d26,_0x25ae40){return db[_0x1d7c('0x2b')][_0x1d7c('0x47')]({'where':{'id':_0x5c8d26[_0x1d7c('0x46')]['id']}})[_0x1d7c('0x25')](handleEntityNotFound(_0x25ae40,null))[_0x1d7c('0x25')](removeEntity(_0x25ae40,null))['catch'](handleError(_0x25ae40,null));};exports[_0x1d7c('0x50')]=function(_0x31373a,_0x1eaa54,_0x52b830){return db[_0x1d7c('0x2b')][_0x1d7c('0x47')]({'where':{'id':_0x31373a[_0x1d7c('0x46')]['id']},'attributes':[_0x1d7c('0x27'),_0x1d7c('0x51'),'savename',_0x1d7c('0x52')],'raw':!![]})[_0x1d7c('0x25')](handleEntityNotFound(_0x1eaa54,null))[_0x1d7c('0x25')](function(_0x2408e4){if(_0x2408e4){if(!fs['existsSync'](path['join'](config[_0x1d7c('0x53')],_0x1d7c('0x54'),_0x2408e4[_0x1d7c('0x55')]))){throw new db[(_0x1d7c('0x56'))][(_0x1d7c('0x57'))]('Report\x20not\x20found\x20or\x20empty');}if(_0x31373a['query']['exists']){return _0x1eaa54['sendStatus'](0xc8);}return _0x1eaa54[_0x1d7c('0x50')](path[_0x1d7c('0x58')](config[_0x1d7c('0x53')],'server/files/reports',_0x2408e4[_0x1d7c('0x55')]),util[_0x1d7c('0x59')](_0x1d7c('0x5a'),_0x2408e4[_0x1d7c('0x51')]||_0x2408e4[_0x1d7c('0x27')],_0x2408e4[_0x1d7c('0x52')]['toLowerCase']()));}})[_0x1d7c('0x44')](handleError(_0x1eaa54,null));};
\ No newline at end of file
+var _0x3139=['root','savename','output','toLowerCase','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','to-csv','ejs','fs-extra','squel','jsforce','desk.js','ioredis','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','undefined','limit','count','Content-Range','json','apply','update','then','ExtractedReports','destroy','error','stack','name','send','index','map','AnalyticExtractedReport','rawAttributes','fieldName','type','keys','query','filters','model','attributes','intersection','fields','hasOwnProperty','nolimit','sort','where','pick','filter','merge','include','findAll','rows','catch','show','params','length','options','create','body','user','role','find','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','download','basename','existsSync','server/files/reports','Sequelize','ValidationError','join'];(function(_0x20beae,_0x5eac6d){var _0xf5725=function(_0x926a3b){while(--_0x926a3b){_0x20beae['push'](_0x20beae['shift']());}};_0xf5725(++_0x5eac6d);}(_0x3139,0x15c));var _0x9313=function(_0x1e79a3,_0x3b3464){_0x1e79a3=_0x1e79a3-0x0;var _0x4a92ae=_0x3139[_0x1e79a3];return _0x4a92ae;};'use strict';var emlformat=require(_0x9313('0x0'));var rimraf=require(_0x9313('0x1'));var zipdir=require(_0x9313('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x9313('0x3'));var moment=require(_0x9313('0x4'));var BPromise=require(_0x9313('0x5'));var Mustache=require(_0x9313('0x6'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x9313('0x7'));var ejs=require(_0x9313('0x8'));var fs=require('fs');var fs_extra=require(_0x9313('0x9'));var _=require('lodash');var squel=require(_0x9313('0xa'));var crypto=require('crypto');var jsforce=require(_0x9313('0xb'));var deskjs=require(_0x9313('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x9313('0xd'));var authService=require('../../components/auth/service');var qs=require(_0x9313('0xe'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x9313('0xf'));var logger=require('../../config/logger')(_0x9313('0x10'));var utils=require(_0x9313('0x11'));var config=require(_0x9313('0x12'));var licenseUtil=require(_0x9313('0x13'));var db=require(_0x9313('0x14'))['db'];function respondWithStatusCode(_0x3eba59,_0x3ddc89){_0x3ddc89=_0x3ddc89||0xcc;return function(_0x4600e5){if(_0x4600e5){return _0x3eba59[_0x9313('0x15')](_0x3ddc89);}return _0x3eba59[_0x9313('0x16')](_0x3ddc89)[_0x9313('0x17')]();};}function respondWithResult(_0xba69ad,_0x63a74e){_0x63a74e=_0x63a74e||0xc8;return function(_0x44bb10){if(_0x44bb10){return _0xba69ad[_0x9313('0x16')](_0x63a74e)['json'](_0x44bb10);}};}function respondWithFilteredResult(_0x240d31,_0x4e775a){return function(_0x14df51){if(_0x14df51){var _0x1966d1=typeof _0x4e775a[_0x9313('0x18')]===_0x9313('0x19')&&typeof _0x4e775a[_0x9313('0x1a')]==='undefined';var _0x5232b7=_0x14df51[_0x9313('0x1b')];var _0x3429db=_0x1966d1?0x0:_0x4e775a[_0x9313('0x18')];var _0x4adf9d=_0x1966d1?_0x14df51[_0x9313('0x1b')]:_0x4e775a[_0x9313('0x18')]+_0x4e775a[_0x9313('0x1a')];var _0x5d8209;if(_0x4adf9d>=_0x5232b7){_0x4adf9d=_0x5232b7;_0x5d8209=0xc8;}else{_0x5d8209=0xce;}_0x240d31[_0x9313('0x16')](_0x5d8209);return _0x240d31['set'](_0x9313('0x1c'),_0x3429db+'-'+_0x4adf9d+'/'+_0x5232b7)[_0x9313('0x1d')](_0x14df51);}return null;};}function patchUpdates(_0x44cdf3){return function(_0x34e117){try{jsonpatch[_0x9313('0x1e')](_0x34e117,_0x44cdf3,!![]);}catch(_0x4ea1e1){return BPromise['reject'](_0x4ea1e1);}return _0x34e117['save']();};}function saveUpdates(_0x2a6c43,_0x2e1665){return function(_0x2a1339){if(_0x2a1339){return _0x2a1339[_0x9313('0x1f')](_0x2a6c43)[_0x9313('0x20')](function(_0x87a281){return _0x87a281;});}return null;};}function removeEntity(_0x3114e2,_0x4c647e){return function(_0x170989){if(_0x170989){return _0x170989['destroy']()[_0x9313('0x20')](function(){var _0x3be07f=_0x170989['get']({'plain':!![]});var _0x560de3=_0x9313('0x21');return db['UserProfileResource'][_0x9313('0x22')]({'where':{'type':_0x560de3,'resourceId':_0x3be07f['id']}})[_0x9313('0x20')](function(){return _0x170989;});})['then'](function(){_0x3114e2[_0x9313('0x16')](0xcc)[_0x9313('0x17')]();});}};}function handleEntityNotFound(_0x157b02,_0xc54b0){return function(_0x4c046a){if(!_0x4c046a){_0x157b02[_0x9313('0x15')](0x194);}return _0x4c046a;};}function handleError(_0xd9efb1,_0x185d00){_0x185d00=_0x185d00||0x1f4;return function(_0x4e4731){logger[_0x9313('0x23')](_0x4e4731[_0x9313('0x24')]);if(_0x4e4731[_0x9313('0x25')]){delete _0x4e4731[_0x9313('0x25')];}_0xd9efb1['status'](_0x185d00)[_0x9313('0x26')](_0x4e4731);};}exports[_0x9313('0x27')]=function(_0x2302e2,_0x4ca678){var _0x2fc2d3={},_0x8602c6={},_0x3385f8={'count':0x0,'rows':[]};var _0x439171=_[_0x9313('0x28')](db[_0x9313('0x29')][_0x9313('0x2a')],function(_0x5cc7d9){return{'name':_0x5cc7d9[_0x9313('0x2b')],'type':_0x5cc7d9[_0x9313('0x2c')]['key']};});_0x8602c6['model']=_[_0x9313('0x28')](_0x439171,_0x9313('0x25'));_0x8602c6['query']=_[_0x9313('0x2d')](_0x2302e2[_0x9313('0x2e')]);_0x8602c6[_0x9313('0x2f')]=_['intersection'](_0x8602c6[_0x9313('0x30')],_0x8602c6[_0x9313('0x2e')]);_0x2fc2d3[_0x9313('0x31')]=_[_0x9313('0x32')](_0x8602c6[_0x9313('0x30')],qs[_0x9313('0x33')](_0x2302e2[_0x9313('0x2e')][_0x9313('0x33')]));_0x2fc2d3[_0x9313('0x31')]=_0x2fc2d3['attributes']['length']?_0x2fc2d3[_0x9313('0x31')]:_0x8602c6[_0x9313('0x30')];if(!_0x2302e2[_0x9313('0x2e')][_0x9313('0x34')](_0x9313('0x35'))){_0x2fc2d3['limit']=qs[_0x9313('0x1a')](_0x2302e2[_0x9313('0x2e')][_0x9313('0x1a')]);_0x2fc2d3[_0x9313('0x18')]=qs['offset'](_0x2302e2[_0x9313('0x2e')][_0x9313('0x18')]);}_0x2fc2d3['order']=qs[_0x9313('0x36')](_0x2302e2[_0x9313('0x2e')][_0x9313('0x36')]);_0x2fc2d3[_0x9313('0x37')]=qs[_0x9313('0x2f')](_[_0x9313('0x38')](_0x2302e2[_0x9313('0x2e')],_0x8602c6[_0x9313('0x2f')]),_0x439171);if(_0x2302e2[_0x9313('0x2e')][_0x9313('0x39')]){_0x2fc2d3[_0x9313('0x37')]=_[_0x9313('0x3a')](_0x2fc2d3[_0x9313('0x37')],{'$or':_[_0x9313('0x28')](_0x439171,function(_0x1aa82a){if(_0x1aa82a['type']!=='VIRTUAL'){var _0x4ff8ee={};_0x4ff8ee[_0x1aa82a[_0x9313('0x25')]]={'$like':'%'+_0x2302e2[_0x9313('0x2e')][_0x9313('0x39')]+'%'};return _0x4ff8ee;}})});}_0x2fc2d3=_['merge']({},_0x2fc2d3,_0x2302e2['options']);var _0x386e2b={'where':_0x2fc2d3[_0x9313('0x37')]};return db[_0x9313('0x29')][_0x9313('0x1b')](_0x386e2b)[_0x9313('0x20')](function(_0x3ea60b){_0x3385f8[_0x9313('0x1b')]=_0x3ea60b;if(_0x2302e2[_0x9313('0x2e')]['includeAll']){_0x2fc2d3[_0x9313('0x3b')]=[{'all':!![]}];}return db['AnalyticExtractedReport'][_0x9313('0x3c')](_0x2fc2d3);})[_0x9313('0x20')](function(_0x46158){_0x3385f8[_0x9313('0x3d')]=_0x46158;return _0x3385f8;})[_0x9313('0x20')](respondWithFilteredResult(_0x4ca678,_0x2fc2d3))[_0x9313('0x3e')](handleError(_0x4ca678,null));};exports[_0x9313('0x3f')]=function(_0x49272d,_0x3b3fcf){var _0x38994b={'raw':!![],'where':{'id':_0x49272d[_0x9313('0x40')]['id']}},_0x49b020={};_0x49b020[_0x9313('0x30')]=_['keys'](db['AnalyticExtractedReport'][_0x9313('0x2a')]);_0x49b020[_0x9313('0x2e')]=_[_0x9313('0x2d')](_0x49272d[_0x9313('0x2e')]);_0x49b020['filters']=_['intersection'](_0x49b020[_0x9313('0x30')],_0x49b020[_0x9313('0x2e')]);_0x38994b[_0x9313('0x31')]=_[_0x9313('0x32')](_0x49b020[_0x9313('0x30')],qs[_0x9313('0x33')](_0x49272d[_0x9313('0x2e')]['fields']));_0x38994b[_0x9313('0x31')]=_0x38994b['attributes'][_0x9313('0x41')]?_0x38994b[_0x9313('0x31')]:_0x49b020[_0x9313('0x30')];if(_0x49272d[_0x9313('0x2e')]['includeAll']){_0x38994b[_0x9313('0x3b')]=[{'all':!![]}];}_0x38994b=_[_0x9313('0x3a')]({},_0x38994b,_0x49272d[_0x9313('0x42')]);return db[_0x9313('0x29')]['find'](_0x38994b)[_0x9313('0x20')](handleEntityNotFound(_0x3b3fcf,null))['then'](respondWithResult(_0x3b3fcf,null))[_0x9313('0x3e')](handleError(_0x3b3fcf,null));};exports[_0x9313('0x43')]=function(_0x36c901,_0x522617){return db[_0x9313('0x29')][_0x9313('0x43')](_0x36c901[_0x9313('0x44')],{})['then'](function(_0x4e2d88){var _0x2ddec5=_0x36c901[_0x9313('0x45')]['get']({'plain':!![]});if(!_0x2ddec5)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x2ddec5[_0x9313('0x46')]===_0x9313('0x45')){var _0x496ff5=_0x4e2d88['get']({'plain':!![]});var _0x492021='ExtractedReports';return db['UserProfileSection'][_0x9313('0x47')]({'where':{'name':_0x492021,'userProfileId':_0x2ddec5['userProfileId']},'raw':!![]})[_0x9313('0x20')](function(_0x8bcb51){if(_0x8bcb51&&_0x8bcb51[_0x9313('0x48')]===0x0){return db[_0x9313('0x49')][_0x9313('0x43')]({'name':_0x496ff5[_0x9313('0x25')],'resourceId':_0x496ff5['id'],'type':_0x8bcb51[_0x9313('0x25')],'sectionId':_0x8bcb51['id']},{})[_0x9313('0x20')](function(){return _0x4e2d88;});}else{return _0x4e2d88;}})[_0x9313('0x3e')](function(_0x186ab5){logger[_0x9313('0x23')](_0x9313('0x4a'),_0x186ab5);throw _0x186ab5;});}return _0x4e2d88;})[_0x9313('0x20')](respondWithResult(_0x522617,0xc9))[_0x9313('0x3e')](handleError(_0x522617,null));};exports['update']=function(_0x376ce3,_0x10779d){if(_0x376ce3[_0x9313('0x44')]['id']){delete _0x376ce3['body']['id'];}return db['AnalyticExtractedReport']['find']({'where':{'id':_0x376ce3[_0x9313('0x40')]['id']}})[_0x9313('0x20')](handleEntityNotFound(_0x10779d,null))[_0x9313('0x20')](saveUpdates(_0x376ce3['body'],null))[_0x9313('0x20')](respondWithResult(_0x10779d,null))[_0x9313('0x3e')](handleError(_0x10779d,null));};exports[_0x9313('0x22')]=function(_0x4b1df3,_0x1d77f8){return db[_0x9313('0x29')][_0x9313('0x47')]({'where':{'id':_0x4b1df3[_0x9313('0x40')]['id']}})[_0x9313('0x20')](handleEntityNotFound(_0x1d77f8,null))['then'](removeEntity(_0x1d77f8,null))['catch'](handleError(_0x1d77f8,null));};exports[_0x9313('0x4b')]=function(_0x1275a6,_0x4d9fa3,_0x520c60){return db[_0x9313('0x29')]['find']({'where':{'id':_0x1275a6['params']['id']},'attributes':['name',_0x9313('0x4c'),'savename','output'],'raw':!![]})[_0x9313('0x20')](handleEntityNotFound(_0x4d9fa3,null))['then'](function(_0x1cfe2f){if(_0x1cfe2f){if(!fs[_0x9313('0x4d')](path['join'](config['root'],_0x9313('0x4e'),_0x1cfe2f['savename']))){throw new db[(_0x9313('0x4f'))][(_0x9313('0x50'))]('Report\x20not\x20found\x20or\x20empty');}if(_0x1275a6['query']['exists']){return _0x4d9fa3[_0x9313('0x15')](0xc8);}return _0x4d9fa3[_0x9313('0x4b')](path[_0x9313('0x51')](config[_0x9313('0x52')],'server/files/reports',_0x1cfe2f[_0x9313('0x53')]),util['format']('%s.%s',_0x1cfe2f[_0x9313('0x4c')]||_0x1cfe2f['name'],_0x1cfe2f[_0x9313('0x54')][_0x9313('0x55')]()));}})[_0x9313('0x3e')](handleError(_0x4d9fa3,null));};
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.model.js b/server/api/analyticExtractedReport/analyticExtractedReport.model.js
index 68b7c6c..55088e3 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 _0xc64c=['AnalyticExtractedReport','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define'];(function(_0x53248c,_0x2b8fd6){var _0x127934=function(_0x4e2586){while(--_0x4e2586){_0x53248c['push'](_0x53248c['shift']());}};_0x127934(++_0x2b8fd6);}(_0xc64c,0x146));var _0xcc64=function(_0x143a91,_0x235332){_0x143a91=_0x143a91-0x0;var _0x1906f5=_0xc64c[_0x143a91];return _0x1906f5;};'use strict';var _=require(_0xcc64('0x0'));var util=require(_0xcc64('0x1'));var logger=require(_0xcc64('0x2'))('api');var moment=require(_0xcc64('0x3'));var BPromise=require(_0xcc64('0x4'));var rp=require(_0xcc64('0x5'));var fs=require('fs');var path=require(_0xcc64('0x6'));var rimraf=require(_0xcc64('0x7'));var config=require(_0xcc64('0x8'));var attributes=require(_0xcc64('0x9'));module[_0xcc64('0xa')]=function(_0x28cdaf,_0x119f08){return _0x28cdaf[_0xcc64('0xb')](_0xcc64('0xc'),attributes,{'tableName':'analytics_extracted_reports','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x4ea6=['exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','moment','bluebird','rimraf','../../config/environment','./analyticExtractedReport.attributes'];(function(_0x24ee10,_0x5ce599){var _0x34e2ad=function(_0x3c038b){while(--_0x3c038b){_0x24ee10['push'](_0x24ee10['shift']());}};_0x34e2ad(++_0x5ce599);}(_0x4ea6,0x67));var _0x64ea=function(_0x207d2f,_0x44400f){_0x207d2f=_0x207d2f-0x0;var _0x3c3498=_0x4ea6[_0x207d2f];return _0x3c3498;};'use strict';var _=require(_0x64ea('0x0'));var util=require('util');var logger=require(_0x64ea('0x1'))('api');var moment=require(_0x64ea('0x2'));var BPromise=require(_0x64ea('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x64ea('0x4'));var config=require(_0x64ea('0x5'));var attributes=require(_0x64ea('0x6'));module[_0x64ea('0x7')]=function(_0xd2f178,_0x3e748a){return _0xd2f178[_0x64ea('0x8')](_0x64ea('0x9'),attributes,{'tableName':_0x64ea('0xa'),'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 39d4f87..be340a2 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 _0x46ba=['message','result','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','info','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticExtractedReport,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0x472322,_0x26a31b){var _0x188ecb=function(_0x406a53){while(--_0x406a53){_0x472322['push'](_0x472322['shift']());}};_0x188ecb(++_0x26a31b);}(_0x46ba,0x8c));var _0xa46b=function(_0x7035f8,_0x1fe9ee){_0x7035f8=_0x7035f8-0x0;var _0x226777=_0x46ba[_0x7035f8];return _0x226777;};'use strict';var _=require('lodash');var util=require(_0xa46b('0x0'));var moment=require(_0xa46b('0x1'));var BPromise=require(_0xa46b('0x2'));var rs=require(_0xa46b('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa46b('0x4'))['db'];var utils=require(_0xa46b('0x5'));var logger=require(_0xa46b('0x6'))(_0xa46b('0x7'));var config=require(_0xa46b('0x8'));var jayson=require(_0xa46b('0x9'));var client=jayson[_0xa46b('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x54f04b,_0x18e1a1,_0x4fc2a9){return new BPromise(function(_0x580fc6,_0x44d81f){return client[_0xa46b('0xb')](_0x54f04b,_0x4fc2a9)[_0xa46b('0xc')](function(_0x5d5def){logger[_0xa46b('0xd')](_0xa46b('0xe'),_0x18e1a1,_0xa46b('0xf'));logger[_0xa46b('0x10')](_0xa46b('0x11'),_0x18e1a1,'request\x20sent',JSON[_0xa46b('0x12')](_0x5d5def));if(_0x5d5def[_0xa46b('0x13')]){if(_0x5d5def['error'][_0xa46b('0x14')]===0x1f4){logger['error']('AnalyticExtractedReport,\x20%s,\x20%s',_0x18e1a1,_0x5d5def['error'][_0xa46b('0x15')]);return _0x44d81f(_0x5d5def[_0xa46b('0x13')][_0xa46b('0x15')]);}logger[_0xa46b('0x13')](_0xa46b('0xe'),_0x18e1a1,_0x5d5def[_0xa46b('0x13')][_0xa46b('0x15')]);return _0x580fc6(_0x5d5def[_0xa46b('0x13')]['message']);}else{logger[_0xa46b('0xd')](_0xa46b('0xe'),_0x18e1a1,'request\x20sent');_0x580fc6(_0x5d5def[_0xa46b('0x16')][_0xa46b('0x15')]);}})['catch'](function(_0xe4d50b){logger[_0xa46b('0x13')](_0xa46b('0xe'),_0x18e1a1,_0xe4d50b);_0x44d81f(_0xe4d50b);});});}
\ No newline at end of file
+var _0x704f=['message','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','info','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug','error','code'];(function(_0x584b4f,_0x3894cf){var _0x4a2261=function(_0x3cf8c9){while(--_0x3cf8c9){_0x584b4f['push'](_0x584b4f['shift']());}};_0x4a2261(++_0x3894cf);}(_0x704f,0xff));var _0xf704=function(_0x1ddedd,_0x485606){_0x1ddedd=_0x1ddedd-0x0;var _0xa3e1ac=_0x704f[_0x1ddedd];return _0xa3e1ac;};'use strict';var _=require(_0xf704('0x0'));var util=require(_0xf704('0x1'));var moment=require(_0xf704('0x2'));var BPromise=require(_0xf704('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xf704('0x4'));var db=require(_0xf704('0x5'))['db'];var utils=require(_0xf704('0x6'));var logger=require(_0xf704('0x7'))('rpc');var config=require(_0xf704('0x8'));var jayson=require(_0xf704('0x9'));var client=jayson[_0xf704('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x442abf,_0x4af871,_0xa656d){return new BPromise(function(_0x208dbf,_0x241a9a){return client[_0xf704('0xb')](_0x442abf,_0xa656d)['then'](function(_0x218b41){logger[_0xf704('0xc')](_0xf704('0xd'),_0x4af871,_0xf704('0xe'));logger[_0xf704('0xf')]('AnalyticExtractedReport,\x20%s,\x20%s,\x20%s',_0x4af871,_0xf704('0xe'),JSON['stringify'](_0x218b41));if(_0x218b41[_0xf704('0x10')]){if(_0x218b41[_0xf704('0x10')][_0xf704('0x11')]===0x1f4){logger[_0xf704('0x10')]('AnalyticExtractedReport,\x20%s,\x20%s',_0x4af871,_0x218b41[_0xf704('0x10')][_0xf704('0x12')]);return _0x241a9a(_0x218b41[_0xf704('0x10')]['message']);}logger[_0xf704('0x10')]('AnalyticExtractedReport,\x20%s,\x20%s',_0x4af871,_0x218b41[_0xf704('0x10')][_0xf704('0x12')]);return _0x208dbf(_0x218b41[_0xf704('0x10')]['message']);}else{logger[_0xf704('0xc')](_0xf704('0xd'),_0x4af871,_0xf704('0xe'));_0x208dbf(_0x218b41[_0xf704('0x13')]['message']);}})[_0xf704('0x14')](function(_0x23f950){logger['error']('AnalyticExtractedReport,\x20%s,\x20%s',_0x4af871,_0x23f950);_0x241a9a(_0x23f950);});});}
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/index.js b/server/api/analyticExtractedReport/index.js
index 6e0151d..657cc58 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 _0xf8cb=['/:id/download','download','create','update','delete','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','isAuthenticated','index','get','/:id'];(function(_0x16421a,_0x1eaf1e){var _0x28427a=function(_0x498551){while(--_0x498551){_0x16421a['push'](_0x16421a['shift']());}};_0x28427a(++_0x1eaf1e);}(_0xf8cb,0x15c));var _0xbf8c=function(_0x52cb3a,_0x166ed5){_0x52cb3a=_0x52cb3a-0x0;var _0x134363=_0xf8cb[_0x52cb3a];return _0x134363;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xbf8c('0x0'));var timeout=require(_0xbf8c('0x1'));var express=require('express');var router=express[_0xbf8c('0x2')]();var fs_extra=require(_0xbf8c('0x3'));var auth=require(_0xbf8c('0x4'));var interaction=require(_0xbf8c('0x5'));var config=require(_0xbf8c('0x6'));var controller=require(_0xbf8c('0x7'));router['get']('/',auth[_0xbf8c('0x8')](),controller[_0xbf8c('0x9')]);router[_0xbf8c('0xa')](_0xbf8c('0xb'),auth[_0xbf8c('0x8')](),controller['show']);router[_0xbf8c('0xa')](_0xbf8c('0xc'),auth['isAuthenticated'](),controller[_0xbf8c('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xbf8c('0xe')]);router['put'](_0xbf8c('0xb'),auth[_0xbf8c('0x8')](),controller[_0xbf8c('0xf')]);router[_0xbf8c('0x10')](_0xbf8c('0xb'),auth[_0xbf8c('0x8')](),controller['destroy']);module[_0xbf8c('0x11')]=router;
\ No newline at end of file
+var _0xe6a3=['get','index','isAuthenticated','show','/:id/download','download','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller'];(function(_0x36884e,_0x48008f){var _0x1cc367=function(_0x388a78){while(--_0x388a78){_0x36884e['push'](_0x36884e['shift']());}};_0x1cc367(++_0x48008f);}(_0xe6a3,0x72));var _0x3e6a=function(_0x26d6d9,_0x431cb8){_0x26d6d9=_0x26d6d9-0x0;var _0x1b4875=_0xe6a3[_0x26d6d9];return _0x1b4875;};'use strict';var multer=require(_0x3e6a('0x0'));var util=require(_0x3e6a('0x1'));var path=require(_0x3e6a('0x2'));var timeout=require(_0x3e6a('0x3'));var express=require(_0x3e6a('0x4'));var router=express[_0x3e6a('0x5')]();var fs_extra=require(_0x3e6a('0x6'));var auth=require(_0x3e6a('0x7'));var interaction=require(_0x3e6a('0x8'));var config=require(_0x3e6a('0x9'));var controller=require(_0x3e6a('0xa'));router[_0x3e6a('0xb')]('/',auth['isAuthenticated'](),controller[_0x3e6a('0xc')]);router[_0x3e6a('0xb')]('/:id',auth[_0x3e6a('0xd')](),controller[_0x3e6a('0xe')]);router[_0x3e6a('0xb')](_0x3e6a('0xf'),auth[_0x3e6a('0xd')](),controller[_0x3e6a('0x10')]);router[_0x3e6a('0x11')]('/',auth[_0x3e6a('0xd')](),controller[_0x3e6a('0x12')]);router[_0x3e6a('0x13')](_0x3e6a('0x14'),auth['isAuthenticated'](),controller[_0x3e6a('0x15')]);router[_0x3e6a('0x16')](_0x3e6a('0x14'),auth['isAuthenticated'](),controller[_0x3e6a('0x17')]);module[_0x3e6a('0x18')]=router;
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.attributes.js b/server/api/analyticFieldReport/analyticFieldReport.attributes.js
index bb61a23..4fb1ba4 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 _0xcd57=['sequelize','exports','TEXT','STRING','BOOLEAN'];(function(_0x6d285c,_0x24d53d){var _0x290ad2=function(_0x3c60a6){while(--_0x3c60a6){_0x6d285c['push'](_0x6d285c['shift']());}};_0x290ad2(++_0x24d53d);}(_0xcd57,0x82));var _0x7cd5=function(_0x5e462b,_0x187b06){_0x5e462b=_0x5e462b-0x0;var _0xb01a65=_0xcd57[_0x5e462b];return _0xb01a65;};'use strict';var Sequelize=require(_0x7cd5('0x0'));module[_0x7cd5('0x1')]={'field':{'type':Sequelize[_0x7cd5('0x2')]},'alias':{'type':Sequelize[_0x7cd5('0x3')]},'function':{'type':Sequelize[_0x7cd5('0x3')]},'format':{'type':Sequelize[_0x7cd5('0x3')]},'groupBy':{'type':Sequelize[_0x7cd5('0x4')],'defaultValue':![]},'orderBy':{'type':Sequelize['STRING']},'custom':{'type':Sequelize[_0x7cd5('0x4')],'defaultValue':![]}};
\ No newline at end of file
+var _0x5974=['STRING','BOOLEAN','exports','TEXT'];(function(_0x5effa6,_0x3b5c2e){var _0xd7022f=function(_0xd92fe8){while(--_0xd92fe8){_0x5effa6['push'](_0x5effa6['shift']());}};_0xd7022f(++_0x3b5c2e);}(_0x5974,0x112));var _0x4597=function(_0xa6df52,_0x1b8584){_0xa6df52=_0xa6df52-0x0;var _0x5edd57=_0x5974[_0xa6df52];return _0x5edd57;};'use strict';var Sequelize=require('sequelize');module[_0x4597('0x0')]={'field':{'type':Sequelize[_0x4597('0x1')]},'alias':{'type':Sequelize[_0x4597('0x2')]},'function':{'type':Sequelize[_0x4597('0x2')]},'format':{'type':Sequelize['STRING']},'groupBy':{'type':Sequelize[_0x4597('0x3')],'defaultValue':![]},'orderBy':{'type':Sequelize['STRING']},'custom':{'type':Sequelize[_0x4597('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 f0c1f9d..8104d5c 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 _0xfab5=['findAll','rows','catch','show','AnalyticFieldReport','find','create','bulkCreate','body','params','bulkDestroy','ids','addFields','AnalyticCustomReport','findOne','transaction','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','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','../../config/utils','../../config/environment','sendStatus','status','end','json','limit','count','offset','set','Content-Range','apply','save','update','then','destroy','error','send','map','rawAttributes','fieldName','type','key','model','name','keys','query','filters','intersection','attributes','fields','length','nolimit','order','pick','filter','where','VIRTUAL','merge','options','includeAll','include'];(function(_0x4a3898,_0x4c9853){var _0x25ceb0=function(_0x528b6d){while(--_0x528b6d){_0x4a3898['push'](_0x4a3898['shift']());}};_0x25ceb0(++_0x4c9853);}(_0xfab5,0x1ea));var _0x5fab=function(_0x17c10a,_0xc9ee44){_0x17c10a=_0x17c10a-0x0;var _0x149440=_0xfab5[_0x17c10a];return _0x149440;};'use strict';var emlformat=require(_0x5fab('0x0'));var rimraf=require(_0x5fab('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x5fab('0x2'));var moment=require(_0x5fab('0x3'));var BPromise=require(_0x5fab('0x4'));var Mustache=require(_0x5fab('0x5'));var util=require(_0x5fab('0x6'));var path=require(_0x5fab('0x7'));var sox=require('sox');var csv=require(_0x5fab('0x8'));var ejs=require(_0x5fab('0x9'));var fs=require('fs');var fs_extra=require(_0x5fab('0xa'));var _=require(_0x5fab('0xb'));var squel=require(_0x5fab('0xc'));var crypto=require('crypto');var jsforce=require(_0x5fab('0xd'));var deskjs=require(_0x5fab('0xe'));var toCsv=require(_0x5fab('0x8'));var querystring=require(_0x5fab('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x5fab('0x10'));var qs=require(_0x5fab('0x11'));var as=require(_0x5fab('0x12'));var hardwareService=require(_0x5fab('0x13'));var logger=require(_0x5fab('0x14'))('api');var utils=require(_0x5fab('0x15'));var config=require(_0x5fab('0x16'));var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3f2ab8,_0x244f54){_0x244f54=_0x244f54||0xcc;return function(_0x59c8e2){if(_0x59c8e2){return _0x3f2ab8[_0x5fab('0x17')](_0x244f54);}return _0x3f2ab8[_0x5fab('0x18')](_0x244f54)[_0x5fab('0x19')]();};}function respondWithResult(_0x420c8f,_0x19c4d7){_0x19c4d7=_0x19c4d7||0xc8;return function(_0x50f938){if(_0x50f938){return _0x420c8f['status'](_0x19c4d7)[_0x5fab('0x1a')](_0x50f938);}};}function respondWithFilteredResult(_0xb673e5,_0x13302c){return function(_0x2970a6){if(_0x2970a6){var _0x2b673d=typeof _0x13302c['offset']==='undefined'&&typeof _0x13302c[_0x5fab('0x1b')]==='undefined';var _0x2dd628=_0x2970a6[_0x5fab('0x1c')];var _0x15f918=_0x2b673d?0x0:_0x13302c[_0x5fab('0x1d')];var _0x39b0d9=_0x2b673d?_0x2970a6['count']:_0x13302c['offset']+_0x13302c['limit'];var _0x445567;if(_0x39b0d9>=_0x2dd628){_0x39b0d9=_0x2dd628;_0x445567=0xc8;}else{_0x445567=0xce;}_0xb673e5[_0x5fab('0x18')](_0x445567);return _0xb673e5[_0x5fab('0x1e')](_0x5fab('0x1f'),_0x15f918+'-'+_0x39b0d9+'/'+_0x2dd628)[_0x5fab('0x1a')](_0x2970a6);}return null;};}function patchUpdates(_0x1d9488){return function(_0x410679){try{jsonpatch[_0x5fab('0x20')](_0x410679,_0x1d9488,!![]);}catch(_0x407615){return BPromise['reject'](_0x407615);}return _0x410679[_0x5fab('0x21')]();};}function saveUpdates(_0x45b9aa,_0xb9c8b4){return function(_0x3b19f1){if(_0x3b19f1){return _0x3b19f1[_0x5fab('0x22')](_0x45b9aa)[_0x5fab('0x23')](function(_0xd024d0){return _0xd024d0;});}return null;};}function removeEntity(_0x4eb221,_0x286047){return function(_0x47a42c){if(_0x47a42c){return _0x47a42c[_0x5fab('0x24')]()[_0x5fab('0x23')](function(){_0x4eb221['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x312d60,_0x509278){return function(_0x26ddc9){if(!_0x26ddc9){_0x312d60[_0x5fab('0x17')](0x194);}return _0x26ddc9;};}function handleError(_0x2a8d4,_0x55a553){_0x55a553=_0x55a553||0x1f4;return function(_0x25fa21){logger[_0x5fab('0x25')](_0x25fa21['stack']);if(_0x25fa21['name']){delete _0x25fa21['name'];}_0x2a8d4[_0x5fab('0x18')](_0x55a553)[_0x5fab('0x26')](_0x25fa21);};}exports['index']=function(_0x4eb045,_0xf1acdf){var _0x40395a={},_0x5f4d40={},_0x32214c={'count':0x0,'rows':[]};var _0x59f20f=_[_0x5fab('0x27')](db['AnalyticFieldReport'][_0x5fab('0x28')],function(_0x30fe37){return{'name':_0x30fe37[_0x5fab('0x29')],'type':_0x30fe37[_0x5fab('0x2a')][_0x5fab('0x2b')]};});_0x5f4d40[_0x5fab('0x2c')]=_[_0x5fab('0x27')](_0x59f20f,_0x5fab('0x2d'));_0x5f4d40['query']=_[_0x5fab('0x2e')](_0x4eb045[_0x5fab('0x2f')]);_0x5f4d40[_0x5fab('0x30')]=_[_0x5fab('0x31')](_0x5f4d40[_0x5fab('0x2c')],_0x5f4d40[_0x5fab('0x2f')]);_0x40395a[_0x5fab('0x32')]=_[_0x5fab('0x31')](_0x5f4d40[_0x5fab('0x2c')],qs[_0x5fab('0x33')](_0x4eb045['query'][_0x5fab('0x33')]));_0x40395a['attributes']=_0x40395a[_0x5fab('0x32')][_0x5fab('0x34')]?_0x40395a[_0x5fab('0x32')]:_0x5f4d40[_0x5fab('0x2c')];if(!_0x4eb045[_0x5fab('0x2f')]['hasOwnProperty'](_0x5fab('0x35'))){_0x40395a[_0x5fab('0x1b')]=qs[_0x5fab('0x1b')](_0x4eb045[_0x5fab('0x2f')][_0x5fab('0x1b')]);_0x40395a[_0x5fab('0x1d')]=qs[_0x5fab('0x1d')](_0x4eb045[_0x5fab('0x2f')][_0x5fab('0x1d')]);}_0x40395a[_0x5fab('0x36')]=qs['sort'](_0x4eb045[_0x5fab('0x2f')]['sort']);_0x40395a['where']=qs[_0x5fab('0x30')](_[_0x5fab('0x37')](_0x4eb045[_0x5fab('0x2f')],_0x5f4d40[_0x5fab('0x30')]),_0x59f20f);if(_0x4eb045[_0x5fab('0x2f')][_0x5fab('0x38')]){_0x40395a[_0x5fab('0x39')]=_['merge'](_0x40395a[_0x5fab('0x39')],{'$or':_[_0x5fab('0x27')](_0x59f20f,function(_0x3ec1a8){if(_0x3ec1a8[_0x5fab('0x2a')]!==_0x5fab('0x3a')){var _0x392d5a={};_0x392d5a[_0x3ec1a8[_0x5fab('0x2d')]]={'$like':'%'+_0x4eb045[_0x5fab('0x2f')][_0x5fab('0x38')]+'%'};return _0x392d5a;}})});}_0x40395a=_[_0x5fab('0x3b')]({},_0x40395a,_0x4eb045[_0x5fab('0x3c')]);var _0x2df2d4={'where':_0x40395a['where']};return db['AnalyticFieldReport']['count'](_0x2df2d4)['then'](function(_0x40e7a2){_0x32214c[_0x5fab('0x1c')]=_0x40e7a2;if(_0x4eb045[_0x5fab('0x2f')][_0x5fab('0x3d')]){_0x40395a[_0x5fab('0x3e')]=[{'all':!![]}];}return db['AnalyticFieldReport'][_0x5fab('0x3f')](_0x40395a);})['then'](function(_0x938027){_0x32214c[_0x5fab('0x40')]=_0x938027;return _0x32214c;})['then'](respondWithFilteredResult(_0xf1acdf,_0x40395a))[_0x5fab('0x41')](handleError(_0xf1acdf,null));};exports[_0x5fab('0x42')]=function(_0x33cae0,_0x12c8ed){var _0xd3238f={'raw':![],'where':{'id':_0x33cae0['params']['id']}},_0x24dd19={};_0x24dd19['model']=_[_0x5fab('0x2e')](db[_0x5fab('0x43')][_0x5fab('0x28')]);_0x24dd19[_0x5fab('0x2f')]=_[_0x5fab('0x2e')](_0x33cae0[_0x5fab('0x2f')]);_0x24dd19[_0x5fab('0x30')]=_[_0x5fab('0x31')](_0x24dd19[_0x5fab('0x2c')],_0x24dd19[_0x5fab('0x2f')]);_0xd3238f[_0x5fab('0x32')]=_[_0x5fab('0x31')](_0x24dd19['model'],qs[_0x5fab('0x33')](_0x33cae0[_0x5fab('0x2f')]['fields']));_0xd3238f[_0x5fab('0x32')]=_0xd3238f[_0x5fab('0x32')][_0x5fab('0x34')]?_0xd3238f[_0x5fab('0x32')]:_0x24dd19[_0x5fab('0x2c')];if(_0x33cae0[_0x5fab('0x2f')][_0x5fab('0x3d')]){_0xd3238f[_0x5fab('0x3e')]=[{'all':!![]}];}_0xd3238f=_[_0x5fab('0x3b')]({},_0xd3238f,_0x33cae0[_0x5fab('0x3c')]);return db[_0x5fab('0x43')][_0x5fab('0x44')](_0xd3238f)['then'](handleEntityNotFound(_0x12c8ed,null))['then'](respondWithResult(_0x12c8ed,null))['catch'](handleError(_0x12c8ed,null));};exports[_0x5fab('0x45')]=function(_0xdeedd4,_0x442a0a){return db[_0x5fab('0x43')]['create'](_0xdeedd4['body'],{})[_0x5fab('0x23')](respondWithResult(_0x442a0a,0xc9))[_0x5fab('0x41')](handleError(_0x442a0a,null));};exports[_0x5fab('0x46')]=function(_0x5ce646,_0xf161f5){return db['AnalyticFieldReport']['bulkCreate'](_0x5ce646[_0x5fab('0x47')],{'raw':![],'individualHooks':!![]})[_0x5fab('0x23')](respondWithResult(_0xf161f5,0xc9))[_0x5fab('0x41')](handleError(_0xf161f5,null));};exports['update']=function(_0x13faeb,_0x579de4){if(_0x13faeb[_0x5fab('0x47')]['id']){delete _0x13faeb[_0x5fab('0x47')]['id'];}return db[_0x5fab('0x43')][_0x5fab('0x44')]({'where':{'id':_0x13faeb[_0x5fab('0x48')]['id']}})['then'](handleEntityNotFound(_0x579de4,null))[_0x5fab('0x23')](saveUpdates(_0x13faeb[_0x5fab('0x47')],null))['then'](respondWithResult(_0x579de4,null))[_0x5fab('0x41')](handleError(_0x579de4,null));};exports[_0x5fab('0x24')]=function(_0x1641df,_0x26d72b){return db['AnalyticFieldReport']['find']({'where':{'id':_0x1641df[_0x5fab('0x48')]['id']}})[_0x5fab('0x23')](handleEntityNotFound(_0x26d72b,null))[_0x5fab('0x23')](removeEntity(_0x26d72b,null))[_0x5fab('0x41')](handleError(_0x26d72b,null));};exports[_0x5fab('0x49')]=function(_0x541c3d,_0xca17c0){return db[_0x5fab('0x43')][_0x5fab('0x24')]({'where':{'id':_0x541c3d['query'][_0x5fab('0x4a')]||[]},'raw':![],'individualHooks':!![]})[_0x5fab('0x23')](respondWithResult(_0xca17c0,0xcc))[_0x5fab('0x41')](handleError(_0xca17c0,null));};exports[_0x5fab('0x4b')]=function(_0x5156c8,_0x420331,_0x5508b3){return db[_0x5fab('0x4c')][_0x5fab('0x4d')]({'where':{'id':_0x5156c8[_0x5fab('0x48')]['id']}})[_0x5fab('0x23')](handleEntityNotFound(_0x420331,null))[_0x5fab('0x23')](function(_0x1d66a3){if(_0x1d66a3){return db['sequelize'][_0x5fab('0x4e')](function(_0x24773c){return db[_0x5fab('0x43')][_0x5fab('0x24')]({'where':{'CustomReportId':_0x5156c8['params']['id']},'transaction':_0x24773c})['then'](function(_0x3739d8){var _0x371a81=_[_0x5fab('0x27')](_0x5156c8[_0x5fab('0x47')],function(_0x2b9286){delete _0x2b9286['id'];_0x2b9286['CustomReportId']=_0x5156c8['params']['id'];return _0x2b9286;});return db[_0x5fab('0x43')][_0x5fab('0x46')](_0x371a81,{'transaction':_0x24773c});});})[_0x5fab('0x23')](function(){return db[_0x5fab('0x43')][_0x5fab('0x3f')]({'where':{'CustomReportId':_0x5156c8[_0x5fab('0x48')]['id']}});});}})[_0x5fab('0x23')](respondWithResult(_0x420331,null))['catch'](handleError(_0x420331,null));};
\ No newline at end of file
+var _0x4b32=['filters','attributes','intersection','fields','length','hasOwnProperty','sort','where','pick','VIRTUAL','filter','merge','options','includeAll','include','rows','show','params','find','create','body','catch','bulkCreate','addFields','AnalyticCustomReport','findOne','sequelize','transaction','CustomReportId','findAll','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','reject','update','then','destroy','error','name','send','index','map','AnalyticFieldReport','rawAttributes','fieldName','type','key','model','query','keys'];(function(_0x425af8,_0x366c35){var _0x5c2eb1=function(_0x44785f){while(--_0x44785f){_0x425af8['push'](_0x425af8['shift']());}};_0x5c2eb1(++_0x366c35);}(_0x4b32,0x10b));var _0x24b3=function(_0x4c8c4d,_0x170fc3){_0x4c8c4d=_0x4c8c4d-0x0;var _0x7c72d2=_0x4b32[_0x4c8c4d];return _0x7c72d2;};'use strict';var emlformat=require(_0x24b3('0x0'));var rimraf=require(_0x24b3('0x1'));var zipdir=require(_0x24b3('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x24b3('0x3'));var moment=require(_0x24b3('0x4'));var BPromise=require(_0x24b3('0x5'));var Mustache=require('mustache');var util=require('util');var path=require(_0x24b3('0x6'));var sox=require(_0x24b3('0x7'));var csv=require(_0x24b3('0x8'));var ejs=require(_0x24b3('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x24b3('0xa'));var squel=require(_0x24b3('0xb'));var crypto=require(_0x24b3('0xc'));var jsforce=require(_0x24b3('0xd'));var deskjs=require(_0x24b3('0xe'));var toCsv=require('to-csv');var querystring=require(_0x24b3('0xf'));var Papa=require(_0x24b3('0x10'));var Redis=require(_0x24b3('0x11'));var authService=require(_0x24b3('0x12'));var qs=require(_0x24b3('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0x24b3('0x14'));var config=require(_0x24b3('0x15'));var licenseUtil=require('../../config/license/util');var db=require(_0x24b3('0x16'))['db'];function respondWithStatusCode(_0x4eb7cc,_0x4f5baa){_0x4f5baa=_0x4f5baa||0xcc;return function(_0x289cdf){if(_0x289cdf){return _0x4eb7cc[_0x24b3('0x17')](_0x4f5baa);}return _0x4eb7cc[_0x24b3('0x18')](_0x4f5baa)[_0x24b3('0x19')]();};}function respondWithResult(_0x567679,_0x5e8de6){_0x5e8de6=_0x5e8de6||0xc8;return function(_0x2f33b5){if(_0x2f33b5){return _0x567679['status'](_0x5e8de6)[_0x24b3('0x1a')](_0x2f33b5);}};}function respondWithFilteredResult(_0x415fe5,_0x58e6be){return function(_0x12c601){if(_0x12c601){var _0xf6f7d7=typeof _0x58e6be[_0x24b3('0x1b')]===_0x24b3('0x1c')&&typeof _0x58e6be[_0x24b3('0x1d')]===_0x24b3('0x1c');var _0x24f2f3=_0x12c601[_0x24b3('0x1e')];var _0x4b9d82=_0xf6f7d7?0x0:_0x58e6be['offset'];var _0xc7e0a2=_0xf6f7d7?_0x12c601[_0x24b3('0x1e')]:_0x58e6be[_0x24b3('0x1b')]+_0x58e6be[_0x24b3('0x1d')];var _0xb45051;if(_0xc7e0a2>=_0x24f2f3){_0xc7e0a2=_0x24f2f3;_0xb45051=0xc8;}else{_0xb45051=0xce;}_0x415fe5['status'](_0xb45051);return _0x415fe5['set'](_0x24b3('0x1f'),_0x4b9d82+'-'+_0xc7e0a2+'/'+_0x24f2f3)['json'](_0x12c601);}return null;};}function patchUpdates(_0x294836){return function(_0x42496f){try{jsonpatch['apply'](_0x42496f,_0x294836,!![]);}catch(_0x4c1a7e){return BPromise[_0x24b3('0x20')](_0x4c1a7e);}return _0x42496f['save']();};}function saveUpdates(_0x5bae9c,_0x26fc51){return function(_0x54350b){if(_0x54350b){return _0x54350b[_0x24b3('0x21')](_0x5bae9c)[_0x24b3('0x22')](function(_0x380c10){return _0x380c10;});}return null;};}function removeEntity(_0x2ddc20,_0x52c204){return function(_0x32ecc1){if(_0x32ecc1){return _0x32ecc1[_0x24b3('0x23')]()['then'](function(){_0x2ddc20['status'](0xcc)[_0x24b3('0x19')]();});}};}function handleEntityNotFound(_0x4f5cc6,_0x1036a9){return function(_0x420e3c){if(!_0x420e3c){_0x4f5cc6['sendStatus'](0x194);}return _0x420e3c;};}function handleError(_0x3f3dcf,_0x102a7e){_0x102a7e=_0x102a7e||0x1f4;return function(_0x201167){logger[_0x24b3('0x24')](_0x201167['stack']);if(_0x201167[_0x24b3('0x25')]){delete _0x201167[_0x24b3('0x25')];}_0x3f3dcf[_0x24b3('0x18')](_0x102a7e)[_0x24b3('0x26')](_0x201167);};}exports[_0x24b3('0x27')]=function(_0x28f053,_0x5c7e15){var _0x275a7f={},_0x4383ce={},_0x12c9eb={'count':0x0,'rows':[]};var _0xb7adb7=_[_0x24b3('0x28')](db[_0x24b3('0x29')][_0x24b3('0x2a')],function(_0x73b2e2){return{'name':_0x73b2e2[_0x24b3('0x2b')],'type':_0x73b2e2[_0x24b3('0x2c')][_0x24b3('0x2d')]};});_0x4383ce[_0x24b3('0x2e')]=_[_0x24b3('0x28')](_0xb7adb7,_0x24b3('0x25'));_0x4383ce[_0x24b3('0x2f')]=_[_0x24b3('0x30')](_0x28f053[_0x24b3('0x2f')]);_0x4383ce[_0x24b3('0x31')]=_['intersection'](_0x4383ce[_0x24b3('0x2e')],_0x4383ce[_0x24b3('0x2f')]);_0x275a7f[_0x24b3('0x32')]=_[_0x24b3('0x33')](_0x4383ce[_0x24b3('0x2e')],qs[_0x24b3('0x34')](_0x28f053['query']['fields']));_0x275a7f['attributes']=_0x275a7f[_0x24b3('0x32')][_0x24b3('0x35')]?_0x275a7f[_0x24b3('0x32')]:_0x4383ce[_0x24b3('0x2e')];if(!_0x28f053[_0x24b3('0x2f')][_0x24b3('0x36')]('nolimit')){_0x275a7f[_0x24b3('0x1d')]=qs[_0x24b3('0x1d')](_0x28f053[_0x24b3('0x2f')][_0x24b3('0x1d')]);_0x275a7f[_0x24b3('0x1b')]=qs[_0x24b3('0x1b')](_0x28f053['query'][_0x24b3('0x1b')]);}_0x275a7f['order']=qs[_0x24b3('0x37')](_0x28f053[_0x24b3('0x2f')][_0x24b3('0x37')]);_0x275a7f[_0x24b3('0x38')]=qs[_0x24b3('0x31')](_[_0x24b3('0x39')](_0x28f053['query'],_0x4383ce[_0x24b3('0x31')]),_0xb7adb7);if(_0x28f053[_0x24b3('0x2f')]['filter']){_0x275a7f[_0x24b3('0x38')]=_['merge'](_0x275a7f[_0x24b3('0x38')],{'$or':_[_0x24b3('0x28')](_0xb7adb7,function(_0x39168e){if(_0x39168e[_0x24b3('0x2c')]!==_0x24b3('0x3a')){var _0x422ccc={};_0x422ccc[_0x39168e[_0x24b3('0x25')]]={'$like':'%'+_0x28f053[_0x24b3('0x2f')][_0x24b3('0x3b')]+'%'};return _0x422ccc;}})});}_0x275a7f=_[_0x24b3('0x3c')]({},_0x275a7f,_0x28f053[_0x24b3('0x3d')]);var _0x4c3071={'where':_0x275a7f['where']};return db[_0x24b3('0x29')][_0x24b3('0x1e')](_0x4c3071)[_0x24b3('0x22')](function(_0x92649e){_0x12c9eb[_0x24b3('0x1e')]=_0x92649e;if(_0x28f053['query'][_0x24b3('0x3e')]){_0x275a7f[_0x24b3('0x3f')]=[{'all':!![]}];}return db[_0x24b3('0x29')]['findAll'](_0x275a7f);})[_0x24b3('0x22')](function(_0x431c7e){_0x12c9eb[_0x24b3('0x40')]=_0x431c7e;return _0x12c9eb;})[_0x24b3('0x22')](respondWithFilteredResult(_0x5c7e15,_0x275a7f))['catch'](handleError(_0x5c7e15,null));};exports[_0x24b3('0x41')]=function(_0x360b88,_0x4ba54d){var _0x4c6de5={'raw':![],'where':{'id':_0x360b88[_0x24b3('0x42')]['id']}},_0x18511d={};_0x18511d['model']=_[_0x24b3('0x30')](db[_0x24b3('0x29')]['rawAttributes']);_0x18511d[_0x24b3('0x2f')]=_[_0x24b3('0x30')](_0x360b88[_0x24b3('0x2f')]);_0x18511d[_0x24b3('0x31')]=_[_0x24b3('0x33')](_0x18511d[_0x24b3('0x2e')],_0x18511d[_0x24b3('0x2f')]);_0x4c6de5[_0x24b3('0x32')]=_[_0x24b3('0x33')](_0x18511d[_0x24b3('0x2e')],qs[_0x24b3('0x34')](_0x360b88[_0x24b3('0x2f')][_0x24b3('0x34')]));_0x4c6de5[_0x24b3('0x32')]=_0x4c6de5[_0x24b3('0x32')]['length']?_0x4c6de5[_0x24b3('0x32')]:_0x18511d['model'];if(_0x360b88[_0x24b3('0x2f')][_0x24b3('0x3e')]){_0x4c6de5[_0x24b3('0x3f')]=[{'all':!![]}];}_0x4c6de5=_['merge']({},_0x4c6de5,_0x360b88[_0x24b3('0x3d')]);return db[_0x24b3('0x29')][_0x24b3('0x43')](_0x4c6de5)['then'](handleEntityNotFound(_0x4ba54d,null))[_0x24b3('0x22')](respondWithResult(_0x4ba54d,null))['catch'](handleError(_0x4ba54d,null));};exports[_0x24b3('0x44')]=function(_0xb68621,_0x395c16){return db['AnalyticFieldReport'][_0x24b3('0x44')](_0xb68621[_0x24b3('0x45')],{})[_0x24b3('0x22')](respondWithResult(_0x395c16,0xc9))[_0x24b3('0x46')](handleError(_0x395c16,null));};exports['bulkCreate']=function(_0x1bce44,_0x27cc13){return db['AnalyticFieldReport'][_0x24b3('0x47')](_0x1bce44[_0x24b3('0x45')],{'raw':![],'individualHooks':!![]})[_0x24b3('0x22')](respondWithResult(_0x27cc13,0xc9))['catch'](handleError(_0x27cc13,null));};exports[_0x24b3('0x21')]=function(_0x30ded9,_0x47ba05){if(_0x30ded9[_0x24b3('0x45')]['id']){delete _0x30ded9[_0x24b3('0x45')]['id'];}return db[_0x24b3('0x29')][_0x24b3('0x43')]({'where':{'id':_0x30ded9['params']['id']}})[_0x24b3('0x22')](handleEntityNotFound(_0x47ba05,null))['then'](saveUpdates(_0x30ded9[_0x24b3('0x45')],null))[_0x24b3('0x22')](respondWithResult(_0x47ba05,null))[_0x24b3('0x46')](handleError(_0x47ba05,null));};exports[_0x24b3('0x23')]=function(_0x5f236e,_0x7ea218){return db[_0x24b3('0x29')][_0x24b3('0x43')]({'where':{'id':_0x5f236e['params']['id']}})['then'](handleEntityNotFound(_0x7ea218,null))['then'](removeEntity(_0x7ea218,null))[_0x24b3('0x46')](handleError(_0x7ea218,null));};exports['bulkDestroy']=function(_0x507ac5,_0x11ab3d){return db[_0x24b3('0x29')][_0x24b3('0x23')]({'where':{'id':_0x507ac5['query']['ids']||[]},'raw':![],'individualHooks':!![]})['then'](respondWithResult(_0x11ab3d,0xcc))[_0x24b3('0x46')](handleError(_0x11ab3d,null));};exports[_0x24b3('0x48')]=function(_0x5c1a1e,_0x110742,_0xf8a99a){return db[_0x24b3('0x49')][_0x24b3('0x4a')]({'where':{'id':_0x5c1a1e[_0x24b3('0x42')]['id']}})[_0x24b3('0x22')](handleEntityNotFound(_0x110742,null))['then'](function(_0x532d00){if(_0x532d00){return db[_0x24b3('0x4b')][_0x24b3('0x4c')](function(_0x5a1821){return db[_0x24b3('0x29')][_0x24b3('0x23')]({'where':{'CustomReportId':_0x5c1a1e[_0x24b3('0x42')]['id']},'transaction':_0x5a1821})['then'](function(_0xa08144){var _0x421fac=_['map'](_0x5c1a1e['body'],function(_0x12ae00){delete _0x12ae00['id'];_0x12ae00[_0x24b3('0x4d')]=_0x5c1a1e['params']['id'];return _0x12ae00;});return db[_0x24b3('0x29')][_0x24b3('0x47')](_0x421fac,{'transaction':_0x5a1821});});})['then'](function(){return db[_0x24b3('0x29')][_0x24b3('0x4e')]({'where':{'CustomReportId':_0x5c1a1e[_0x24b3('0x42')]['id']}});});}})[_0x24b3('0x22')](respondWithResult(_0x110742,null))['catch'](handleError(_0x110742,null));};
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.model.js b/server/api/analyticFieldReport/analyticFieldReport.model.js
index 0280af0..d004536 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 _0xa69d=['analytics_report_fields','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport'];(function(_0x8a7787,_0x198490){var _0x57676c=function(_0x1fd6cf){while(--_0x1fd6cf){_0x8a7787['push'](_0x8a7787['shift']());}};_0x57676c(++_0x198490);}(_0xa69d,0x71));var _0xda69=function(_0x40ac5e,_0x2de228){_0x40ac5e=_0x40ac5e-0x0;var _0x2839d6=_0xa69d[_0x40ac5e];return _0x2839d6;};'use strict';var _=require(_0xda69('0x0'));var util=require(_0xda69('0x1'));var logger=require(_0xda69('0x2'))(_0xda69('0x3'));var moment=require(_0xda69('0x4'));var BPromise=require('bluebird');var rp=require(_0xda69('0x5'));var fs=require('fs');var path=require(_0xda69('0x6'));var rimraf=require(_0xda69('0x7'));var config=require(_0xda69('0x8'));var attributes=require(_0xda69('0x9'));module[_0xda69('0xa')]=function(_0xe8381f,_0x1b6e15){return _0xe8381f[_0xda69('0xb')](_0xda69('0xc'),attributes,{'tableName':_0xda69('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x77ea=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','define','AnalyticFieldReport'];(function(_0x47a349,_0x4699d9){var _0x18ab75=function(_0x210796){while(--_0x210796){_0x47a349['push'](_0x47a349['shift']());}};_0x18ab75(++_0x4699d9);}(_0x77ea,0xc8));var _0xa77e=function(_0x229b90,_0xf796ec){_0x229b90=_0x229b90-0x0;var _0x57e1c5=_0x77ea[_0x229b90];return _0x57e1c5;};'use strict';var _=require(_0xa77e('0x0'));var util=require(_0xa77e('0x1'));var logger=require(_0xa77e('0x2'))(_0xa77e('0x3'));var moment=require(_0xa77e('0x4'));var BPromise=require(_0xa77e('0x5'));var rp=require(_0xa77e('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa77e('0x7'));var attributes=require('./analyticFieldReport.attributes');module['exports']=function(_0x5d2ccd,_0x3d1259){return _0x5d2ccd[_0xa77e('0x8')](_0xa77e('0x9'),attributes,{'tableName':'analytics_report_fields','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 e00eb3d..178b70d 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 _0xd8ba=['AnalyticFieldReport,\x20%s,\x20%s,\x20%s','error','message','info','result','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','AnalyticFieldReport,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x55ad10,_0xe59689){var _0xb4694b=function(_0x3302da){while(--_0x3302da){_0x55ad10['push'](_0x55ad10['shift']());}};_0xb4694b(++_0xe59689);}(_0xd8ba,0xed));var _0xad8b=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xd8ba[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0xad8b('0x0'));var util=require(_0xad8b('0x1'));var moment=require(_0xad8b('0x2'));var BPromise=require(_0xad8b('0x3'));var rs=require(_0xad8b('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xad8b('0x5'))['db'];var utils=require(_0xad8b('0x6'));var logger=require(_0xad8b('0x7'))('rpc');var config=require(_0xad8b('0x8'));var jayson=require(_0xad8b('0x9'));var client=jayson[_0xad8b('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x2b808a,_0x38a525,_0x598aea){return new BPromise(function(_0x25503f,_0x43d372){return client[_0xad8b('0xb')](_0x2b808a,_0x598aea)['then'](function(_0x4727e4){logger['info'](_0xad8b('0xc'),_0x38a525,_0xad8b('0xd'));logger[_0xad8b('0xe')](_0xad8b('0xf'),_0x38a525,_0xad8b('0xd'),JSON['stringify'](_0x4727e4));if(_0x4727e4[_0xad8b('0x10')]){if(_0x4727e4[_0xad8b('0x10')]['code']===0x1f4){logger[_0xad8b('0x10')]('AnalyticFieldReport,\x20%s,\x20%s',_0x38a525,_0x4727e4[_0xad8b('0x10')][_0xad8b('0x11')]);return _0x43d372(_0x4727e4[_0xad8b('0x10')]['message']);}logger[_0xad8b('0x10')]('AnalyticFieldReport,\x20%s,\x20%s',_0x38a525,_0x4727e4[_0xad8b('0x10')][_0xad8b('0x11')]);return _0x25503f(_0x4727e4['error'][_0xad8b('0x11')]);}else{logger[_0xad8b('0x12')](_0xad8b('0xc'),_0x38a525,_0xad8b('0xd'));_0x25503f(_0x4727e4[_0xad8b('0x13')][_0xad8b('0x11')]);}})[_0xad8b('0x14')](function(_0x326859){logger[_0xad8b('0x10')](_0xad8b('0xc'),_0x38a525,_0x326859);_0x43d372(_0x326859);});});}
\ No newline at end of file
+var _0x363f=['jayson/promise','client','http','request','then','info','AnalyticFieldReport,\x20%s,\x20%s','debug','AnalyticFieldReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis','../../config/utils','rpc','../../config/environment'];(function(_0x3c868c,_0x2cdb1a){var _0x50687d=function(_0x27b43b){while(--_0x27b43b){_0x3c868c['push'](_0x3c868c['shift']());}};_0x50687d(++_0x2cdb1a);}(_0x363f,0xd0));var _0xf363=function(_0x18daa2,_0x1362c9){_0x18daa2=_0x18daa2-0x0;var _0x46a063=_0x363f[_0x18daa2];return _0x46a063;};'use strict';var _=require(_0xf363('0x0'));var util=require(_0xf363('0x1'));var moment=require(_0xf363('0x2'));var BPromise=require('bluebird');var rs=require(_0xf363('0x3'));var fs=require('fs');var Redis=require(_0xf363('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xf363('0x5'));var logger=require('../../config/logger')(_0xf363('0x6'));var config=require(_0xf363('0x7'));var jayson=require(_0xf363('0x8'));var client=jayson[_0xf363('0x9')][_0xf363('0xa')]({'port':0x232a});function respondWithRpcPromise(_0xc591e4,_0x39f991,_0x54ae55){return new BPromise(function(_0x3cb12f,_0xb41ce1){return client[_0xf363('0xb')](_0xc591e4,_0x54ae55)[_0xf363('0xc')](function(_0x2026f0){logger[_0xf363('0xd')](_0xf363('0xe'),_0x39f991,'request\x20sent');logger[_0xf363('0xf')](_0xf363('0x10'),_0x39f991,_0xf363('0x11'),JSON[_0xf363('0x12')](_0x2026f0));if(_0x2026f0[_0xf363('0x13')]){if(_0x2026f0[_0xf363('0x13')][_0xf363('0x14')]===0x1f4){logger[_0xf363('0x13')](_0xf363('0xe'),_0x39f991,_0x2026f0[_0xf363('0x13')][_0xf363('0x15')]);return _0xb41ce1(_0x2026f0['error'][_0xf363('0x15')]);}logger[_0xf363('0x13')](_0xf363('0xe'),_0x39f991,_0x2026f0[_0xf363('0x13')]['message']);return _0x3cb12f(_0x2026f0[_0xf363('0x13')][_0xf363('0x15')]);}else{logger['info']('AnalyticFieldReport,\x20%s,\x20%s',_0x39f991,_0xf363('0x11'));_0x3cb12f(_0x2026f0[_0xf363('0x16')]['message']);}})[_0xf363('0x17')](function(_0x2d6221){logger[_0xf363('0x13')](_0xf363('0xe'),_0x39f991,_0x2d6221);_0xb41ce1(_0x2d6221);});});}
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/index.js b/server/api/analyticFieldReport/index.js
index ce68e45..2672cbc 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(_0x23c104,_0x5c0c1d){var _0x2332e1=function(_0x3e5884){while(--_0x3e5884){_0x23c104['push'](_0x23c104['shift']());}};_0x2332e1(++_0x5c0c1d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xa9e0[_0x1facfa];return _0x9ec701;};'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(_0x39118c,_0x1a03ed){var _0x2be2b0=function(_0x45078f){while(--_0x45078f){_0x39118c['push'](_0x39118c['shift']());}};_0x2be2b0(++_0x1a03ed);}(_0xa9e0,0x123));var _0x0a9e=function(_0x36dfbd,_0x5bfe2d){_0x36dfbd=_0x36dfbd-0x0;var _0x4ecad9=_0xa9e0[_0x36dfbd];return _0x4ecad9;};'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 1c2f4bb..c58ec90 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 _0xaa2d=['TEXT','STRING','exports'];(function(_0x22f6b8,_0x2fdce6){var _0x8c4ea5=function(_0x484b55){while(--_0x484b55){_0x22f6b8['push'](_0x22f6b8['shift']());}};_0x8c4ea5(++_0x2fdce6);}(_0xaa2d,0x11c));var _0xdaa2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xaa2d[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0xdaa2('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'table':{'type':Sequelize['STRING']},'metric':{'type':Sequelize[_0xdaa2('0x1')]},'description':{'type':Sequelize[_0xdaa2('0x2')]}};
\ No newline at end of file
+var _0x8a9d=['STRING','sequelize','exports','name'];(function(_0x14e68f,_0xcb7d3b){var _0x5d69f5=function(_0x3e2b79){while(--_0x3e2b79){_0x14e68f['push'](_0x14e68f['shift']());}};_0x5d69f5(++_0xcb7d3b);}(_0x8a9d,0x1ed));var _0xd8a9=function(_0x59eeaf,_0x56e107){_0x59eeaf=_0x59eeaf-0x0;var _0x119d61=_0x8a9d[_0x59eeaf];return _0x119d61;};'use strict';var Sequelize=require(_0xd8a9('0x0'));module[_0xd8a9('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xd8a9('0x2')},'table':{'type':Sequelize[_0xd8a9('0x3')]},'metric':{'type':Sequelize['TEXT']},'description':{'type':Sequelize[_0xd8a9('0x3')]}};
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.controller.js b/server/api/analyticMetric/analyticMetric.controller.js
index cfa0815..a7b5064 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(_0x4be526,_0x5759ae){var _0x5bb241=function(_0xa1e5e8){while(--_0xa1e5e8){_0x4be526['push'](_0x4be526['shift']());}};_0x5bb241(++_0x5759ae);}(_0x7fbe,0x1ec));var _0xe7fb=function(_0x32c97a,_0x29b6fc){_0x32c97a=_0x32c97a-0x0;var _0x5de34d=_0x7fbe[_0x32c97a];return _0x5de34d;};'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 _0x8ef6=['../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','set','Content-Range','apply','reject','save','then','destroy','get','UserProfileResource','error','stack','name','index','map','fieldName','key','model','keys','query','intersection','attributes','length','hasOwnProperty','order','sort','where','filters','filter','merge','type','VIRTUAL','options','AnalyticMetric','count','includeAll','include','findAll','rows','catch','show','params','rawAttributes','fields','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Metrics','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','body','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x45bfb6,_0x3b7eb9){var _0x3ab5c4=function(_0xfd3baf){while(--_0xfd3baf){_0x45bfb6['push'](_0x45bfb6['shift']());}};_0x3ab5c4(++_0x3b7eb9);}(_0x8ef6,0xf2));var _0x68ef=function(_0x170d98,_0x32fd5f){_0x170d98=_0x170d98-0x0;var _0x1111dc=_0x8ef6[_0x170d98];return _0x1111dc;};'use strict';var emlformat=require(_0x68ef('0x0'));var rimraf=require(_0x68ef('0x1'));var zipdir=require(_0x68ef('0x2'));var jsonpatch=require(_0x68ef('0x3'));var rp=require(_0x68ef('0x4'));var moment=require(_0x68ef('0x5'));var BPromise=require(_0x68ef('0x6'));var Mustache=require('mustache');var util=require(_0x68ef('0x7'));var path=require(_0x68ef('0x8'));var sox=require(_0x68ef('0x9'));var csv=require(_0x68ef('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x68ef('0xb'));var squel=require(_0x68ef('0xc'));var crypto=require(_0x68ef('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x68ef('0xe'));var toCsv=require(_0x68ef('0xa'));var querystring=require(_0x68ef('0xf'));var Papa=require(_0x68ef('0x10'));var Redis=require(_0x68ef('0x11'));var authService=require(_0x68ef('0x12'));var qs=require(_0x68ef('0x13'));var as=require(_0x68ef('0x14'));var hardwareService=require(_0x68ef('0x15'));var logger=require(_0x68ef('0x16'))(_0x68ef('0x17'));var utils=require(_0x68ef('0x18'));var config=require('../../config/environment');var licenseUtil=require(_0x68ef('0x19'));var db=require(_0x68ef('0x1a'))['db'];function respondWithStatusCode(_0x1e117a,_0x454ef4){_0x454ef4=_0x454ef4||0xcc;return function(_0x40f253){if(_0x40f253){return _0x1e117a[_0x68ef('0x1b')](_0x454ef4);}return _0x1e117a['status'](_0x454ef4)[_0x68ef('0x1c')]();};}function respondWithResult(_0xc50cce,_0x2657c5){_0x2657c5=_0x2657c5||0xc8;return function(_0x47fbb5){if(_0x47fbb5){return _0xc50cce[_0x68ef('0x1d')](_0x2657c5)[_0x68ef('0x1e')](_0x47fbb5);}};}function respondWithFilteredResult(_0x24682d,_0x5005ba){return function(_0x35493d){if(_0x35493d){var _0x37c4cc=typeof _0x5005ba[_0x68ef('0x1f')]===_0x68ef('0x20')&&typeof _0x5005ba['limit']===_0x68ef('0x20');var _0x54139e=_0x35493d['count'];var _0x2633c1=_0x37c4cc?0x0:_0x5005ba[_0x68ef('0x1f')];var _0x4ade0d=_0x37c4cc?_0x35493d['count']:_0x5005ba[_0x68ef('0x1f')]+_0x5005ba[_0x68ef('0x21')];var _0x318514;if(_0x4ade0d>=_0x54139e){_0x4ade0d=_0x54139e;_0x318514=0xc8;}else{_0x318514=0xce;}_0x24682d['status'](_0x318514);return _0x24682d[_0x68ef('0x22')](_0x68ef('0x23'),_0x2633c1+'-'+_0x4ade0d+'/'+_0x54139e)[_0x68ef('0x1e')](_0x35493d);}return null;};}function patchUpdates(_0x5b246b){return function(_0x3c46d4){try{jsonpatch[_0x68ef('0x24')](_0x3c46d4,_0x5b246b,!![]);}catch(_0x5af19f){return BPromise[_0x68ef('0x25')](_0x5af19f);}return _0x3c46d4[_0x68ef('0x26')]();};}function saveUpdates(_0x19aa3d,_0x5ddec7){return function(_0x59723c){if(_0x59723c){return _0x59723c['update'](_0x19aa3d)[_0x68ef('0x27')](function(_0x2023f2){return _0x2023f2;});}return null;};}function removeEntity(_0x312cc9,_0x2e6e39){return function(_0x438b4c){if(_0x438b4c){return _0x438b4c[_0x68ef('0x28')]()[_0x68ef('0x27')](function(){var _0x49374f=_0x438b4c[_0x68ef('0x29')]({'plain':!![]});var _0x13280b='Metrics';return db[_0x68ef('0x2a')]['destroy']({'where':{'type':_0x13280b,'resourceId':_0x49374f['id']}})['then'](function(){return _0x438b4c;});})['then'](function(){_0x312cc9[_0x68ef('0x1d')](0xcc)[_0x68ef('0x1c')]();});}};}function handleEntityNotFound(_0x123041,_0x29518e){return function(_0x52e67e){if(!_0x52e67e){_0x123041['sendStatus'](0x194);}return _0x52e67e;};}function handleError(_0x1cbe4f,_0x28907a){_0x28907a=_0x28907a||0x1f4;return function(_0x7bf96){logger[_0x68ef('0x2b')](_0x7bf96[_0x68ef('0x2c')]);if(_0x7bf96[_0x68ef('0x2d')]){delete _0x7bf96[_0x68ef('0x2d')];}_0x1cbe4f[_0x68ef('0x1d')](_0x28907a)['send'](_0x7bf96);};}exports[_0x68ef('0x2e')]=function(_0x4314bd,_0x132d9e){var _0x4c25aa={},_0x370a8f={},_0x523120={'count':0x0,'rows':[]};var _0x133788=_[_0x68ef('0x2f')](db['AnalyticMetric']['rawAttributes'],function(_0x159395){return{'name':_0x159395[_0x68ef('0x30')],'type':_0x159395['type'][_0x68ef('0x31')]};});_0x370a8f[_0x68ef('0x32')]=_[_0x68ef('0x2f')](_0x133788,_0x68ef('0x2d'));_0x370a8f['query']=_[_0x68ef('0x33')](_0x4314bd[_0x68ef('0x34')]);_0x370a8f['filters']=_[_0x68ef('0x35')](_0x370a8f['model'],_0x370a8f[_0x68ef('0x34')]);_0x4c25aa[_0x68ef('0x36')]=_['intersection'](_0x370a8f[_0x68ef('0x32')],qs['fields'](_0x4314bd[_0x68ef('0x34')]['fields']));_0x4c25aa[_0x68ef('0x36')]=_0x4c25aa[_0x68ef('0x36')][_0x68ef('0x37')]?_0x4c25aa['attributes']:_0x370a8f[_0x68ef('0x32')];if(!_0x4314bd['query'][_0x68ef('0x38')]('nolimit')){_0x4c25aa[_0x68ef('0x21')]=qs[_0x68ef('0x21')](_0x4314bd[_0x68ef('0x34')][_0x68ef('0x21')]);_0x4c25aa[_0x68ef('0x1f')]=qs[_0x68ef('0x1f')](_0x4314bd['query'][_0x68ef('0x1f')]);}_0x4c25aa[_0x68ef('0x39')]=qs[_0x68ef('0x3a')](_0x4314bd['query'][_0x68ef('0x3a')]);_0x4c25aa[_0x68ef('0x3b')]=qs[_0x68ef('0x3c')](_['pick'](_0x4314bd['query'],_0x370a8f[_0x68ef('0x3c')]),_0x133788);if(_0x4314bd[_0x68ef('0x34')][_0x68ef('0x3d')]){_0x4c25aa[_0x68ef('0x3b')]=_[_0x68ef('0x3e')](_0x4c25aa[_0x68ef('0x3b')],{'$or':_[_0x68ef('0x2f')](_0x133788,function(_0x5b1246){if(_0x5b1246[_0x68ef('0x3f')]!==_0x68ef('0x40')){var _0x2f6ee0={};_0x2f6ee0[_0x5b1246[_0x68ef('0x2d')]]={'$like':'%'+_0x4314bd['query'][_0x68ef('0x3d')]+'%'};return _0x2f6ee0;}})});}_0x4c25aa=_[_0x68ef('0x3e')]({},_0x4c25aa,_0x4314bd[_0x68ef('0x41')]);var _0x410c10={'where':_0x4c25aa[_0x68ef('0x3b')]};return db[_0x68ef('0x42')]['count'](_0x410c10)[_0x68ef('0x27')](function(_0x3f7699){_0x523120[_0x68ef('0x43')]=_0x3f7699;if(_0x4314bd[_0x68ef('0x34')][_0x68ef('0x44')]){_0x4c25aa[_0x68ef('0x45')]=[{'all':!![]}];}return db[_0x68ef('0x42')][_0x68ef('0x46')](_0x4c25aa);})[_0x68ef('0x27')](function(_0x531096){_0x523120[_0x68ef('0x47')]=_0x531096;return _0x523120;})[_0x68ef('0x27')](respondWithFilteredResult(_0x132d9e,_0x4c25aa))[_0x68ef('0x48')](handleError(_0x132d9e,null));};exports[_0x68ef('0x49')]=function(_0xdeacf2,_0x183377){var _0xcac58f={'raw':!![],'where':{'id':_0xdeacf2[_0x68ef('0x4a')]['id']}},_0x576767={};_0x576767['model']=_[_0x68ef('0x33')](db[_0x68ef('0x42')][_0x68ef('0x4b')]);_0x576767[_0x68ef('0x34')]=_['keys'](_0xdeacf2[_0x68ef('0x34')]);_0x576767['filters']=_[_0x68ef('0x35')](_0x576767['model'],_0x576767[_0x68ef('0x34')]);_0xcac58f[_0x68ef('0x36')]=_[_0x68ef('0x35')](_0x576767['model'],qs['fields'](_0xdeacf2[_0x68ef('0x34')][_0x68ef('0x4c')]));_0xcac58f['attributes']=_0xcac58f['attributes']['length']?_0xcac58f[_0x68ef('0x36')]:_0x576767[_0x68ef('0x32')];if(_0xdeacf2[_0x68ef('0x34')][_0x68ef('0x44')]){_0xcac58f[_0x68ef('0x45')]=[{'all':!![]}];}_0xcac58f=_['merge']({},_0xcac58f,_0xdeacf2['options']);return db[_0x68ef('0x42')][_0x68ef('0x4d')](_0xcac58f)[_0x68ef('0x27')](handleEntityNotFound(_0x183377,null))[_0x68ef('0x27')](respondWithResult(_0x183377,null))['catch'](handleError(_0x183377,null));};exports[_0x68ef('0x4e')]=function(_0x474e5a,_0x1c9b6f){return db[_0x68ef('0x42')]['create'](_0x474e5a['body'],{})[_0x68ef('0x27')](function(_0x3c3074){var _0x566e7c=_0x474e5a[_0x68ef('0x4f')][_0x68ef('0x29')]({'plain':!![]});if(!_0x566e7c)throw new Error(_0x68ef('0x50'));if(_0x566e7c[_0x68ef('0x51')]===_0x68ef('0x4f')){var _0x4f0f77=_0x3c3074[_0x68ef('0x29')]({'plain':!![]});var _0x3984ca=_0x68ef('0x52');return db['UserProfileSection'][_0x68ef('0x4d')]({'where':{'name':_0x3984ca,'userProfileId':_0x566e7c[_0x68ef('0x53')]},'raw':!![]})[_0x68ef('0x27')](function(_0x50ef1f){if(_0x50ef1f&&_0x50ef1f[_0x68ef('0x54')]===0x0){return db['UserProfileResource']['create']({'name':_0x4f0f77[_0x68ef('0x2d')],'resourceId':_0x4f0f77['id'],'type':_0x50ef1f['name'],'sectionId':_0x50ef1f['id']},{})[_0x68ef('0x27')](function(){return _0x3c3074;});}else{return _0x3c3074;}})[_0x68ef('0x48')](function(_0x53ebd){logger[_0x68ef('0x2b')](_0x68ef('0x55'),_0x53ebd);throw _0x53ebd;});}return _0x3c3074;})[_0x68ef('0x27')](respondWithResult(_0x1c9b6f,0xc9))[_0x68ef('0x48')](handleError(_0x1c9b6f,null));};exports[_0x68ef('0x56')]=function(_0x2b35f4,_0x247915){if(_0x2b35f4['body']['id']){delete _0x2b35f4['body']['id'];}return db[_0x68ef('0x42')][_0x68ef('0x4d')]({'where':{'id':_0x2b35f4[_0x68ef('0x4a')]['id']}})[_0x68ef('0x27')](handleEntityNotFound(_0x247915,null))[_0x68ef('0x27')](saveUpdates(_0x2b35f4[_0x68ef('0x57')],null))[_0x68ef('0x27')](respondWithResult(_0x247915,null))[_0x68ef('0x48')](handleError(_0x247915,null));};exports[_0x68ef('0x28')]=function(_0x4c2e9c,_0x5685bb){return db[_0x68ef('0x42')]['find']({'where':{'id':_0x4c2e9c[_0x68ef('0x4a')]['id']}})['then'](handleEntityNotFound(_0x5685bb,null))[_0x68ef('0x27')](removeEntity(_0x5685bb,null))[_0x68ef('0x48')](handleError(_0x5685bb,null));};
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.model.js b/server/api/analyticMetric/analyticMetric.model.js
index 9208119..0dda983 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 _0x9b8e=['exports','define','AnalyticMetric','analytics_metrics','lodash','../../config/logger','api','request-promise','rimraf','../../config/environment'];(function(_0x25cc95,_0x5e6485){var _0x1615f4=function(_0x507b4a){while(--_0x507b4a){_0x25cc95['push'](_0x25cc95['shift']());}};_0x1615f4(++_0x5e6485);}(_0x9b8e,0x158));var _0xe9b8=function(_0x1b1763,_0x258040){_0x1b1763=_0x1b1763-0x0;var _0x585952=_0x9b8e[_0x1b1763];return _0x585952;};'use strict';var _=require(_0xe9b8('0x0'));var util=require('util');var logger=require(_0xe9b8('0x1'))(_0xe9b8('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xe9b8('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe9b8('0x4'));var config=require(_0xe9b8('0x5'));var attributes=require('./analyticMetric.attributes');module[_0xe9b8('0x6')]=function(_0x3d24e3,_0x3f6b50){return _0x3d24e3[_0xe9b8('0x7')](_0xe9b8('0x8'),attributes,{'tableName':_0xe9b8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x042a=['../../config/environment','./analyticMetric.attributes','exports','AnalyticMetric','analytics_metrics','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x2114e3,_0x2c3028){var _0x6bff25=function(_0x197a39){while(--_0x197a39){_0x2114e3['push'](_0x2114e3['shift']());}};_0x6bff25(++_0x2c3028);}(_0x042a,0x1d9));var _0xa042=function(_0x3dca9b,_0x4824a8){_0x3dca9b=_0x3dca9b-0x0;var _0x4c1c1e=_0x042a[_0x3dca9b];return _0x4c1c1e;};'use strict';var _=require(_0xa042('0x0'));var util=require('util');var logger=require(_0xa042('0x1'))(_0xa042('0x2'));var moment=require(_0xa042('0x3'));var BPromise=require('bluebird');var rp=require(_0xa042('0x4'));var fs=require('fs');var path=require(_0xa042('0x5'));var rimraf=require(_0xa042('0x6'));var config=require(_0xa042('0x7'));var attributes=require(_0xa042('0x8'));module[_0xa042('0x9')]=function(_0x622ece,_0xc35608){return _0x622ece['define'](_0xa042('0xa'),attributes,{'tableName':_0xa042('0xb'),'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 8d91331..4aa4d3d 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 _0x9fec=['catch','lodash','util','moment','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','AnalyticMetric,\x20%s,\x20%s','request\x20sent','debug','AnalyticMetric,\x20%s,\x20%s,\x20%s','error','code','message','info','result'];(function(_0x56f74f,_0x152245){var _0x411bfc=function(_0x1a660b){while(--_0x1a660b){_0x56f74f['push'](_0x56f74f['shift']());}};_0x411bfc(++_0x152245);}(_0x9fec,0x94));var _0xc9fe=function(_0xcfc44,_0x179bc1){_0xcfc44=_0xcfc44-0x0;var _0x307a25=_0x9fec[_0xcfc44];return _0x307a25;};'use strict';var _=require(_0xc9fe('0x0'));var util=require(_0xc9fe('0x1'));var moment=require(_0xc9fe('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0xc9fe('0x3'));var logger=require(_0xc9fe('0x4'))(_0xc9fe('0x5'));var config=require('../../config/environment');var jayson=require(_0xc9fe('0x6'));var client=jayson[_0xc9fe('0x7')][_0xc9fe('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x15e325,_0x57111f,_0x789fa8){return new BPromise(function(_0x179e4d,_0x3fd641){return client[_0xc9fe('0x9')](_0x15e325,_0x789fa8)[_0xc9fe('0xa')](function(_0x13cd2c){logger['info'](_0xc9fe('0xb'),_0x57111f,_0xc9fe('0xc'));logger[_0xc9fe('0xd')](_0xc9fe('0xe'),_0x57111f,_0xc9fe('0xc'),JSON['stringify'](_0x13cd2c));if(_0x13cd2c[_0xc9fe('0xf')]){if(_0x13cd2c[_0xc9fe('0xf')][_0xc9fe('0x10')]===0x1f4){logger[_0xc9fe('0xf')](_0xc9fe('0xb'),_0x57111f,_0x13cd2c[_0xc9fe('0xf')]['message']);return _0x3fd641(_0x13cd2c['error'][_0xc9fe('0x11')]);}logger['error'](_0xc9fe('0xb'),_0x57111f,_0x13cd2c['error'][_0xc9fe('0x11')]);return _0x179e4d(_0x13cd2c[_0xc9fe('0xf')][_0xc9fe('0x11')]);}else{logger[_0xc9fe('0x12')](_0xc9fe('0xb'),_0x57111f,_0xc9fe('0xc'));_0x179e4d(_0x13cd2c[_0xc9fe('0x13')][_0xc9fe('0x11')]);}})[_0xc9fe('0x14')](function(_0x243d74){logger['error'](_0xc9fe('0xb'),_0x57111f,_0x243d74);_0x3fd641(_0x243d74);});});}
\ No newline at end of file
+var _0x58c9=['AnalyticMetric,\x20%s,\x20%s,\x20%s','error','code','message','catch','moment','bluebird','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','AnalyticMetric,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x10d7f4,_0x525094){var _0x2d8a23=function(_0x47cb29){while(--_0x47cb29){_0x10d7f4['push'](_0x10d7f4['shift']());}};_0x2d8a23(++_0x525094);}(_0x58c9,0xa5));var _0x958c=function(_0x2c487e,_0x17e52f){_0x2c487e=_0x2c487e-0x0;var _0x4b563d=_0x58c9[_0x2c487e];return _0x4b563d;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x958c('0x0'));var BPromise=require(_0x958c('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x958c('0x2'));var db=require('../../mysqldb')['db'];var utils=require(_0x958c('0x3'));var logger=require(_0x958c('0x4'))('rpc');var config=require(_0x958c('0x5'));var jayson=require(_0x958c('0x6'));var client=jayson[_0x958c('0x7')][_0x958c('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x5798f6,_0x3d2963,_0xa39736){return new BPromise(function(_0x5a20e3,_0x19582c){return client[_0x958c('0x9')](_0x5798f6,_0xa39736)[_0x958c('0xa')](function(_0x295a77){logger[_0x958c('0xb')](_0x958c('0xc'),_0x3d2963,_0x958c('0xd'));logger[_0x958c('0xe')](_0x958c('0xf'),_0x3d2963,_0x958c('0xd'),JSON['stringify'](_0x295a77));if(_0x295a77[_0x958c('0x10')]){if(_0x295a77[_0x958c('0x10')][_0x958c('0x11')]===0x1f4){logger[_0x958c('0x10')](_0x958c('0xc'),_0x3d2963,_0x295a77[_0x958c('0x10')][_0x958c('0x12')]);return _0x19582c(_0x295a77[_0x958c('0x10')][_0x958c('0x12')]);}logger[_0x958c('0x10')](_0x958c('0xc'),_0x3d2963,_0x295a77['error']['message']);return _0x5a20e3(_0x295a77[_0x958c('0x10')][_0x958c('0x12')]);}else{logger[_0x958c('0xb')]('AnalyticMetric,\x20%s,\x20%s',_0x3d2963,'request\x20sent');_0x5a20e3(_0x295a77['result'][_0x958c('0x12')]);}})[_0x958c('0x13')](function(_0x49ad33){logger[_0x958c('0x10')](_0x958c('0xc'),_0x3d2963,_0x49ad33);_0x19582c(_0x49ad33);});});}
\ No newline at end of file
diff --git a/server/api/analyticMetric/index.js b/server/api/analyticMetric/index.js
index 6f44fb0..97ea360 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 _0xdfe7=['index','get','/:id','show','post','create','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticMetric.controller','isAuthenticated'];(function(_0x57b474,_0xff6fa3){var _0x459a67=function(_0x1a20fe){while(--_0x1a20fe){_0x57b474['push'](_0x57b474['shift']());}};_0x459a67(++_0xff6fa3);}(_0xdfe7,0xc8));var _0x7dfe=function(_0x5f3d05,_0x27a2a6){_0x5f3d05=_0x5f3d05-0x0;var _0x3381fe=_0xdfe7[_0x5f3d05];return _0x3381fe;};'use strict';var multer=require('multer');var util=require(_0x7dfe('0x0'));var path=require(_0x7dfe('0x1'));var timeout=require('connect-timeout');var express=require(_0x7dfe('0x2'));var router=express[_0x7dfe('0x3')]();var fs_extra=require(_0x7dfe('0x4'));var auth=require(_0x7dfe('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7dfe('0x6'));var controller=require(_0x7dfe('0x7'));router['get']('/',auth[_0x7dfe('0x8')](),controller[_0x7dfe('0x9')]);router[_0x7dfe('0xa')](_0x7dfe('0xb'),auth['isAuthenticated'](),controller[_0x7dfe('0xc')]);router[_0x7dfe('0xd')]('/',auth[_0x7dfe('0x8')](),controller[_0x7dfe('0xe')]);router['put'](_0x7dfe('0xb'),auth[_0x7dfe('0x8')](),controller[_0x7dfe('0xf')]);router[_0x7dfe('0x10')](_0x7dfe('0xb'),auth['isAuthenticated'](),controller[_0x7dfe('0x11')]);module[_0x7dfe('0x12')]=router;
\ No newline at end of file
+var _0x6bb4=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticMetric.controller','get','isAuthenticated','/:id','create','put','update','delete','destroy','multer','util'];(function(_0x100ede,_0x38d51a){var _0x2d5919=function(_0x4a6b62){while(--_0x4a6b62){_0x100ede['push'](_0x100ede['shift']());}};_0x2d5919(++_0x38d51a);}(_0x6bb4,0x1a7));var _0x46bb=function(_0x2c503c,_0xd88a2a){_0x2c503c=_0x2c503c-0x0;var _0x39dce7=_0x6bb4[_0x2c503c];return _0x39dce7;};'use strict';var multer=require(_0x46bb('0x0'));var util=require(_0x46bb('0x1'));var path=require(_0x46bb('0x2'));var timeout=require('connect-timeout');var express=require(_0x46bb('0x3'));var router=express[_0x46bb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x46bb('0x5'));var interaction=require(_0x46bb('0x6'));var config=require(_0x46bb('0x7'));var controller=require(_0x46bb('0x8'));router[_0x46bb('0x9')]('/',auth[_0x46bb('0xa')](),controller['index']);router['get'](_0x46bb('0xb'),auth[_0x46bb('0xa')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0x46bb('0xc')]);router[_0x46bb('0xd')]('/:id',auth[_0x46bb('0xa')](),controller[_0x46bb('0xe')]);router[_0x46bb('0xf')]('/:id',auth[_0x46bb('0xa')](),controller[_0x46bb('0x10')]);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 22fdc51..79e46f3 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 _0x4ed5=['exports','sequelize'];(function(_0x4fc6e2,_0x5d0446){var _0x5c3dce=function(_0x218c2c){while(--_0x218c2c){_0x4fc6e2['push'](_0x4fc6e2['shift']());}};_0x5c3dce(++_0x5d0446);}(_0x4ed5,0xb1));var _0x54ed=function(_0xd32547,_0x20725b){_0xd32547=_0xd32547-0x0;var _0x8c3f7e=_0x4ed5[_0xd32547];return _0x8c3f7e;};'use strict';var Sequelize=require(_0x54ed('0x0'));module[_0x54ed('0x1')]={'tree':{'type':Sequelize['TEXT'],'allowNull':![]}};
\ No newline at end of file
+var _0xe107=['sequelize'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0xe107,0x17c));var _0x7e10=function(_0x5e4aeb,_0x45b6f0){_0x5e4aeb=_0x5e4aeb-0x0;var _0x814841=_0xe107[_0x5e4aeb];return _0x814841;};'use strict';var Sequelize=require(_0x7e10('0x0'));module['exports']={'tree':{'type':Sequelize['TEXT'],'allowNull':![]}};
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.controller.js b/server/api/analyticTreeReport/analyticTreeReport.controller.js
index b0d45ad..0e8e91a 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 _0x2774=['sort','where','filter','merge','options','includeAll','include','findAll','rows','show','params','length','find','catch','create','body','update','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','ioredis','../../components/parsers/advancedSearch','../../config/logger','api','../../mysqldb','end','undefined','count','offset','limit','status','json','apply','reject','save','then','destroy','sendStatus','error','stack','name','send','index','map','AnalyticTreeReport','rawAttributes','fieldName','type','key','keys','query','filters','intersection','model','attributes','fields','hasOwnProperty','order'];(function(_0x4c3ceb,_0x110795){var _0x5f4843=function(_0x2588c3){while(--_0x2588c3){_0x4c3ceb['push'](_0x4c3ceb['shift']());}};_0x5f4843(++_0x110795);}(_0x2774,0xe6));var _0x4277=function(_0x240c0b,_0x82cd2e){_0x240c0b=_0x240c0b-0x0;var _0x5ad1fb=_0x2774[_0x240c0b];return _0x5ad1fb;};'use strict';var emlformat=require(_0x4277('0x0'));var rimraf=require(_0x4277('0x1'));var zipdir=require(_0x4277('0x2'));var jsonpatch=require(_0x4277('0x3'));var rp=require('request-promise');var moment=require(_0x4277('0x4'));var BPromise=require(_0x4277('0x5'));var Mustache=require(_0x4277('0x6'));var util=require(_0x4277('0x7'));var path=require(_0x4277('0x8'));var sox=require('sox');var csv=require(_0x4277('0x9'));var ejs=require(_0x4277('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x4277('0xb'));var squel=require(_0x4277('0xc'));var crypto=require(_0x4277('0xd'));var jsforce=require(_0x4277('0xe'));var deskjs=require(_0x4277('0xf'));var toCsv=require(_0x4277('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x4277('0x10'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x4277('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x4277('0x12'))(_0x4277('0x13'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0x4277('0x14'))['db'];function respondWithStatusCode(_0x5acc22,_0x294cbf){_0x294cbf=_0x294cbf||0xcc;return function(_0x349ca4){if(_0x349ca4){return _0x5acc22['sendStatus'](_0x294cbf);}return _0x5acc22['status'](_0x294cbf)[_0x4277('0x15')]();};}function respondWithResult(_0x4fe1d4,_0x58e751){_0x58e751=_0x58e751||0xc8;return function(_0x125b57){if(_0x125b57){return _0x4fe1d4['status'](_0x58e751)['json'](_0x125b57);}};}function respondWithFilteredResult(_0x4023ed,_0x2d9885){return function(_0x4fe90e){if(_0x4fe90e){var _0x253815=typeof _0x2d9885['offset']===_0x4277('0x16')&&typeof _0x2d9885['limit']===_0x4277('0x16');var _0x3a7dc9=_0x4fe90e[_0x4277('0x17')];var _0x4cf5cf=_0x253815?0x0:_0x2d9885[_0x4277('0x18')];var _0x4240f2=_0x253815?_0x4fe90e[_0x4277('0x17')]:_0x2d9885['offset']+_0x2d9885[_0x4277('0x19')];var _0x510fbc;if(_0x4240f2>=_0x3a7dc9){_0x4240f2=_0x3a7dc9;_0x510fbc=0xc8;}else{_0x510fbc=0xce;}_0x4023ed[_0x4277('0x1a')](_0x510fbc);return _0x4023ed['set']('Content-Range',_0x4cf5cf+'-'+_0x4240f2+'/'+_0x3a7dc9)[_0x4277('0x1b')](_0x4fe90e);}return null;};}function patchUpdates(_0x4dd4f5){return function(_0x30420f){try{jsonpatch[_0x4277('0x1c')](_0x30420f,_0x4dd4f5,!![]);}catch(_0x4516ef){return BPromise[_0x4277('0x1d')](_0x4516ef);}return _0x30420f[_0x4277('0x1e')]();};}function saveUpdates(_0x10109b,_0x2514d0){return function(_0x374b7f){if(_0x374b7f){return _0x374b7f['update'](_0x10109b)[_0x4277('0x1f')](function(_0x5d358b){return _0x5d358b;});}return null;};}function removeEntity(_0x4bf1c3,_0x1fe932){return function(_0x29e445){if(_0x29e445){return _0x29e445[_0x4277('0x20')]()[_0x4277('0x1f')](function(){_0x4bf1c3[_0x4277('0x1a')](0xcc)[_0x4277('0x15')]();});}};}function handleEntityNotFound(_0x4ac94a,_0xba3226){return function(_0x3affc5){if(!_0x3affc5){_0x4ac94a[_0x4277('0x21')](0x194);}return _0x3affc5;};}function handleError(_0x2a6062,_0x1411d6){_0x1411d6=_0x1411d6||0x1f4;return function(_0x4b7466){logger[_0x4277('0x22')](_0x4b7466[_0x4277('0x23')]);if(_0x4b7466[_0x4277('0x24')]){delete _0x4b7466[_0x4277('0x24')];}_0x2a6062[_0x4277('0x1a')](_0x1411d6)[_0x4277('0x25')](_0x4b7466);};}exports[_0x4277('0x26')]=function(_0x5e8884,_0x47502c){var _0x47e16f={},_0x32b99f={},_0x4a9ea6={'count':0x0,'rows':[]};var _0x57a54a=_[_0x4277('0x27')](db[_0x4277('0x28')][_0x4277('0x29')],function(_0x517bed){return{'name':_0x517bed[_0x4277('0x2a')],'type':_0x517bed[_0x4277('0x2b')][_0x4277('0x2c')]};});_0x32b99f['model']=_[_0x4277('0x27')](_0x57a54a,'name');_0x32b99f['query']=_[_0x4277('0x2d')](_0x5e8884[_0x4277('0x2e')]);_0x32b99f[_0x4277('0x2f')]=_[_0x4277('0x30')](_0x32b99f[_0x4277('0x31')],_0x32b99f[_0x4277('0x2e')]);_0x47e16f[_0x4277('0x32')]=_['intersection'](_0x32b99f['model'],qs[_0x4277('0x33')](_0x5e8884[_0x4277('0x2e')][_0x4277('0x33')]));_0x47e16f[_0x4277('0x32')]=_0x47e16f[_0x4277('0x32')]['length']?_0x47e16f[_0x4277('0x32')]:_0x32b99f[_0x4277('0x31')];if(!_0x5e8884[_0x4277('0x2e')][_0x4277('0x34')]('nolimit')){_0x47e16f['limit']=qs[_0x4277('0x19')](_0x5e8884[_0x4277('0x2e')][_0x4277('0x19')]);_0x47e16f['offset']=qs[_0x4277('0x18')](_0x5e8884[_0x4277('0x2e')]['offset']);}_0x47e16f[_0x4277('0x35')]=qs[_0x4277('0x36')](_0x5e8884[_0x4277('0x2e')][_0x4277('0x36')]);_0x47e16f[_0x4277('0x37')]=qs[_0x4277('0x2f')](_['pick'](_0x5e8884['query'],_0x32b99f[_0x4277('0x2f')]),_0x57a54a);if(_0x5e8884[_0x4277('0x2e')][_0x4277('0x38')]){_0x47e16f[_0x4277('0x37')]=_[_0x4277('0x39')](_0x47e16f[_0x4277('0x37')],{'$or':_[_0x4277('0x27')](_0x57a54a,function(_0xc55740){if(_0xc55740[_0x4277('0x2b')]!=='VIRTUAL'){var _0x394f04={};_0x394f04[_0xc55740['name']]={'$like':'%'+_0x5e8884[_0x4277('0x2e')][_0x4277('0x38')]+'%'};return _0x394f04;}})});}_0x47e16f=_[_0x4277('0x39')]({},_0x47e16f,_0x5e8884[_0x4277('0x3a')]);var _0x3a5f9c={'where':_0x47e16f[_0x4277('0x37')]};return db[_0x4277('0x28')][_0x4277('0x17')](_0x3a5f9c)[_0x4277('0x1f')](function(_0x4102e3){_0x4a9ea6[_0x4277('0x17')]=_0x4102e3;if(_0x5e8884[_0x4277('0x2e')][_0x4277('0x3b')]){_0x47e16f[_0x4277('0x3c')]=[{'all':!![]}];}return db['AnalyticTreeReport'][_0x4277('0x3d')](_0x47e16f);})['then'](function(_0x597576){_0x4a9ea6[_0x4277('0x3e')]=_0x597576;return _0x4a9ea6;})[_0x4277('0x1f')](respondWithFilteredResult(_0x47502c,_0x47e16f))['catch'](handleError(_0x47502c,null));};exports[_0x4277('0x3f')]=function(_0x217b06,_0x3b1e6b){var _0x102b6c={'raw':!![],'where':{'id':_0x217b06[_0x4277('0x40')]['id']}},_0x27ae4d={};_0x27ae4d[_0x4277('0x31')]=_[_0x4277('0x2d')](db[_0x4277('0x28')][_0x4277('0x29')]);_0x27ae4d[_0x4277('0x2e')]=_[_0x4277('0x2d')](_0x217b06['query']);_0x27ae4d['filters']=_['intersection'](_0x27ae4d[_0x4277('0x31')],_0x27ae4d[_0x4277('0x2e')]);_0x102b6c['attributes']=_[_0x4277('0x30')](_0x27ae4d[_0x4277('0x31')],qs[_0x4277('0x33')](_0x217b06[_0x4277('0x2e')][_0x4277('0x33')]));_0x102b6c[_0x4277('0x32')]=_0x102b6c[_0x4277('0x32')][_0x4277('0x41')]?_0x102b6c[_0x4277('0x32')]:_0x27ae4d[_0x4277('0x31')];if(_0x217b06['query'][_0x4277('0x3b')]){_0x102b6c[_0x4277('0x3c')]=[{'all':!![]}];}_0x102b6c=_[_0x4277('0x39')]({},_0x102b6c,_0x217b06['options']);return db[_0x4277('0x28')][_0x4277('0x42')](_0x102b6c)[_0x4277('0x1f')](handleEntityNotFound(_0x3b1e6b,null))['then'](respondWithResult(_0x3b1e6b,null))[_0x4277('0x43')](handleError(_0x3b1e6b,null));};exports[_0x4277('0x44')]=function(_0x235595,_0x11d8ea){return db['AnalyticTreeReport'][_0x4277('0x44')](_0x235595[_0x4277('0x45')],{})[_0x4277('0x1f')](respondWithResult(_0x11d8ea,0xc9))[_0x4277('0x43')](handleError(_0x11d8ea,null));};exports[_0x4277('0x46')]=function(_0x383070,_0x6e03e8){if(_0x383070[_0x4277('0x45')]['id']){delete _0x383070[_0x4277('0x45')]['id'];}return db[_0x4277('0x28')][_0x4277('0x42')]({'where':{'id':_0x383070[_0x4277('0x40')]['id']}})[_0x4277('0x1f')](handleEntityNotFound(_0x6e03e8,null))[_0x4277('0x1f')](saveUpdates(_0x383070[_0x4277('0x45')],null))[_0x4277('0x1f')](respondWithResult(_0x6e03e8,null))['catch'](handleError(_0x6e03e8,null));};exports[_0x4277('0x20')]=function(_0x146057,_0x200a1b){return db[_0x4277('0x28')][_0x4277('0x42')]({'where':{'id':_0x146057[_0x4277('0x40')]['id']}})[_0x4277('0x1f')](handleEntityNotFound(_0x200a1b,null))['then'](removeEntity(_0x200a1b,null))['catch'](handleError(_0x200a1b,null));};
\ No newline at end of file
+var _0x83d6=['../../components/parsers/advancedSearch','../../config/license/hardware','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','destroy','error','stack','name','send','index','map','AnalyticTreeReport','rawAttributes','key','model','query','keys','filters','intersection','attributes','length','hasOwnProperty','nolimit','where','pick','filter','merge','type','VIRTUAL','options','then','includeAll','include','findAll','catch','show','fields','create','body','find','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','ioredis','../../components/parsers/qs'];(function(_0x307f29,_0x25f477){var _0x5768b2=function(_0x43c947){while(--_0x43c947){_0x307f29['push'](_0x307f29['shift']());}};_0x5768b2(++_0x25f477);}(_0x83d6,0x1a9));var _0x683d=function(_0x2b860e,_0x29f7a0){_0x2b860e=_0x2b860e-0x0;var _0x47d5ce=_0x83d6[_0x2b860e];return _0x47d5ce;};'use strict';var emlformat=require(_0x683d('0x0'));var rimraf=require(_0x683d('0x1'));var zipdir=require(_0x683d('0x2'));var jsonpatch=require(_0x683d('0x3'));var rp=require(_0x683d('0x4'));var moment=require(_0x683d('0x5'));var BPromise=require(_0x683d('0x6'));var Mustache=require('mustache');var util=require(_0x683d('0x7'));var path=require(_0x683d('0x8'));var sox=require(_0x683d('0x9'));var csv=require(_0x683d('0xa'));var ejs=require(_0x683d('0xb'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x683d('0xc'));var squel=require(_0x683d('0xd'));var crypto=require(_0x683d('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x683d('0xf'));var toCsv=require(_0x683d('0xa'));var querystring=require(_0x683d('0x10'));var Papa=require('papaparse');var Redis=require(_0x683d('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x683d('0x12'));var as=require(_0x683d('0x13'));var hardwareService=require(_0x683d('0x14'));var logger=require('../../config/logger')('api');var utils=require(_0x683d('0x15'));var config=require(_0x683d('0x16'));var licenseUtil=require(_0x683d('0x17'));var db=require(_0x683d('0x18'))['db'];function respondWithStatusCode(_0x135341,_0x9a40b8){_0x9a40b8=_0x9a40b8||0xcc;return function(_0x4f9c7a){if(_0x4f9c7a){return _0x135341[_0x683d('0x19')](_0x9a40b8);}return _0x135341[_0x683d('0x1a')](_0x9a40b8)['end']();};}function respondWithResult(_0x3a42a3,_0x48d78){_0x48d78=_0x48d78||0xc8;return function(_0x4c07fe){if(_0x4c07fe){return _0x3a42a3[_0x683d('0x1a')](_0x48d78)[_0x683d('0x1b')](_0x4c07fe);}};}function respondWithFilteredResult(_0x2e6f64,_0x195d54){return function(_0x12cc44){if(_0x12cc44){var _0x20abc7=typeof _0x195d54[_0x683d('0x1c')]===_0x683d('0x1d')&&typeof _0x195d54[_0x683d('0x1e')]===_0x683d('0x1d');var _0x4e34fa=_0x12cc44['count'];var _0x13691b=_0x20abc7?0x0:_0x195d54['offset'];var _0x50e97e=_0x20abc7?_0x12cc44[_0x683d('0x1f')]:_0x195d54[_0x683d('0x1c')]+_0x195d54[_0x683d('0x1e')];var _0x4db292;if(_0x50e97e>=_0x4e34fa){_0x50e97e=_0x4e34fa;_0x4db292=0xc8;}else{_0x4db292=0xce;}_0x2e6f64[_0x683d('0x1a')](_0x4db292);return _0x2e6f64[_0x683d('0x20')](_0x683d('0x21'),_0x13691b+'-'+_0x50e97e+'/'+_0x4e34fa)[_0x683d('0x1b')](_0x12cc44);}return null;};}function patchUpdates(_0xee96ed){return function(_0x441836){try{jsonpatch[_0x683d('0x22')](_0x441836,_0xee96ed,!![]);}catch(_0x19e4e0){return BPromise['reject'](_0x19e4e0);}return _0x441836[_0x683d('0x23')]();};}function saveUpdates(_0x4bdebf,_0xcf278b){return function(_0x13d1ae){if(_0x13d1ae){return _0x13d1ae[_0x683d('0x24')](_0x4bdebf)['then'](function(_0x6cf0a7){return _0x6cf0a7;});}return null;};}function removeEntity(_0xd19fbf,_0x46e580){return function(_0x222ab6){if(_0x222ab6){return _0x222ab6[_0x683d('0x25')]()['then'](function(){_0xd19fbf['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x1a13c8,_0x20925b){return function(_0x50fb85){if(!_0x50fb85){_0x1a13c8[_0x683d('0x19')](0x194);}return _0x50fb85;};}function handleError(_0x572f08,_0x244826){_0x244826=_0x244826||0x1f4;return function(_0x147ced){logger[_0x683d('0x26')](_0x147ced[_0x683d('0x27')]);if(_0x147ced['name']){delete _0x147ced[_0x683d('0x28')];}_0x572f08[_0x683d('0x1a')](_0x244826)[_0x683d('0x29')](_0x147ced);};}exports[_0x683d('0x2a')]=function(_0x102714,_0x5345eb){var _0x4a4efb={},_0x2a62e9={},_0x5845e3={'count':0x0,'rows':[]};var _0x5a1e95=_[_0x683d('0x2b')](db[_0x683d('0x2c')][_0x683d('0x2d')],function(_0x41db33){return{'name':_0x41db33['fieldName'],'type':_0x41db33['type'][_0x683d('0x2e')]};});_0x2a62e9[_0x683d('0x2f')]=_[_0x683d('0x2b')](_0x5a1e95,_0x683d('0x28'));_0x2a62e9[_0x683d('0x30')]=_[_0x683d('0x31')](_0x102714[_0x683d('0x30')]);_0x2a62e9[_0x683d('0x32')]=_[_0x683d('0x33')](_0x2a62e9[_0x683d('0x2f')],_0x2a62e9['query']);_0x4a4efb[_0x683d('0x34')]=_[_0x683d('0x33')](_0x2a62e9['model'],qs['fields'](_0x102714[_0x683d('0x30')]['fields']));_0x4a4efb['attributes']=_0x4a4efb[_0x683d('0x34')][_0x683d('0x35')]?_0x4a4efb['attributes']:_0x2a62e9[_0x683d('0x2f')];if(!_0x102714[_0x683d('0x30')][_0x683d('0x36')](_0x683d('0x37'))){_0x4a4efb[_0x683d('0x1e')]=qs[_0x683d('0x1e')](_0x102714['query'][_0x683d('0x1e')]);_0x4a4efb[_0x683d('0x1c')]=qs[_0x683d('0x1c')](_0x102714['query']['offset']);}_0x4a4efb['order']=qs['sort'](_0x102714[_0x683d('0x30')]['sort']);_0x4a4efb[_0x683d('0x38')]=qs[_0x683d('0x32')](_[_0x683d('0x39')](_0x102714['query'],_0x2a62e9[_0x683d('0x32')]),_0x5a1e95);if(_0x102714[_0x683d('0x30')][_0x683d('0x3a')]){_0x4a4efb[_0x683d('0x38')]=_[_0x683d('0x3b')](_0x4a4efb[_0x683d('0x38')],{'$or':_[_0x683d('0x2b')](_0x5a1e95,function(_0x25914f){if(_0x25914f[_0x683d('0x3c')]!==_0x683d('0x3d')){var _0x54f6cb={};_0x54f6cb[_0x25914f['name']]={'$like':'%'+_0x102714[_0x683d('0x30')][_0x683d('0x3a')]+'%'};return _0x54f6cb;}})});}_0x4a4efb=_[_0x683d('0x3b')]({},_0x4a4efb,_0x102714[_0x683d('0x3e')]);var _0x624da3={'where':_0x4a4efb[_0x683d('0x38')]};return db[_0x683d('0x2c')][_0x683d('0x1f')](_0x624da3)[_0x683d('0x3f')](function(_0x787c75){_0x5845e3[_0x683d('0x1f')]=_0x787c75;if(_0x102714['query'][_0x683d('0x40')]){_0x4a4efb[_0x683d('0x41')]=[{'all':!![]}];}return db[_0x683d('0x2c')][_0x683d('0x42')](_0x4a4efb);})[_0x683d('0x3f')](function(_0x556c48){_0x5845e3['rows']=_0x556c48;return _0x5845e3;})[_0x683d('0x3f')](respondWithFilteredResult(_0x5345eb,_0x4a4efb))[_0x683d('0x43')](handleError(_0x5345eb,null));};exports[_0x683d('0x44')]=function(_0x3c8c9a,_0x3f2e0d){var _0x9d9050={'raw':!![],'where':{'id':_0x3c8c9a['params']['id']}},_0x5ddf78={};_0x5ddf78[_0x683d('0x2f')]=_[_0x683d('0x31')](db[_0x683d('0x2c')][_0x683d('0x2d')]);_0x5ddf78[_0x683d('0x30')]=_[_0x683d('0x31')](_0x3c8c9a[_0x683d('0x30')]);_0x5ddf78[_0x683d('0x32')]=_[_0x683d('0x33')](_0x5ddf78[_0x683d('0x2f')],_0x5ddf78[_0x683d('0x30')]);_0x9d9050[_0x683d('0x34')]=_['intersection'](_0x5ddf78[_0x683d('0x2f')],qs[_0x683d('0x45')](_0x3c8c9a[_0x683d('0x30')][_0x683d('0x45')]));_0x9d9050[_0x683d('0x34')]=_0x9d9050['attributes'][_0x683d('0x35')]?_0x9d9050['attributes']:_0x5ddf78['model'];if(_0x3c8c9a[_0x683d('0x30')][_0x683d('0x40')]){_0x9d9050[_0x683d('0x41')]=[{'all':!![]}];}_0x9d9050=_[_0x683d('0x3b')]({},_0x9d9050,_0x3c8c9a[_0x683d('0x3e')]);return db[_0x683d('0x2c')]['find'](_0x9d9050)['then'](handleEntityNotFound(_0x3f2e0d,null))['then'](respondWithResult(_0x3f2e0d,null))[_0x683d('0x43')](handleError(_0x3f2e0d,null));};exports[_0x683d('0x46')]=function(_0x171ffa,_0x1e5b95){return db['AnalyticTreeReport'][_0x683d('0x46')](_0x171ffa[_0x683d('0x47')],{})[_0x683d('0x3f')](respondWithResult(_0x1e5b95,0xc9))[_0x683d('0x43')](handleError(_0x1e5b95,null));};exports[_0x683d('0x24')]=function(_0x2fbf1e,_0xacdf8b){if(_0x2fbf1e[_0x683d('0x47')]['id']){delete _0x2fbf1e[_0x683d('0x47')]['id'];}return db[_0x683d('0x2c')][_0x683d('0x48')]({'where':{'id':_0x2fbf1e[_0x683d('0x49')]['id']}})[_0x683d('0x3f')](handleEntityNotFound(_0xacdf8b,null))[_0x683d('0x3f')](saveUpdates(_0x2fbf1e[_0x683d('0x47')],null))[_0x683d('0x3f')](respondWithResult(_0xacdf8b,null))[_0x683d('0x43')](handleError(_0xacdf8b,null));};exports['destroy']=function(_0x33557b,_0x46971e){return db['AnalyticTreeReport'][_0x683d('0x48')]({'where':{'id':_0x33557b['params']['id']}})[_0x683d('0x3f')](handleEntityNotFound(_0x46971e,null))[_0x683d('0x3f')](removeEntity(_0x46971e,null))[_0x683d('0x43')](handleError(_0x46971e,null));};
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.model.js b/server/api/analyticTreeReport/analyticTreeReport.model.js
index fefca93..3f68d4c 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 _0x300b=['path','rimraf','../../config/environment','exports','define','AnalyticTreeReport','analytics_report_trees','lodash','util','moment','bluebird','request-promise'];(function(_0x27b75e,_0x126a74){var _0x4ca55e=function(_0x3b2023){while(--_0x3b2023){_0x27b75e['push'](_0x27b75e['shift']());}};_0x4ca55e(++_0x126a74);}(_0x300b,0x1db));var _0xb300=function(_0x4b3851,_0x1416fb){_0x4b3851=_0x4b3851-0x0;var _0x2cdc62=_0x300b[_0x4b3851];return _0x2cdc62;};'use strict';var _=require(_0xb300('0x0'));var util=require(_0xb300('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xb300('0x2'));var BPromise=require(_0xb300('0x3'));var rp=require(_0xb300('0x4'));var fs=require('fs');var path=require(_0xb300('0x5'));var rimraf=require(_0xb300('0x6'));var config=require(_0xb300('0x7'));var attributes=require('./analyticTreeReport.attributes');module[_0xb300('0x8')]=function(_0x2c4d03,_0x1173e3){return _0x2c4d03[_0xb300('0x9')](_0xb300('0xa'),attributes,{'tableName':_0xb300('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xb96e=['exports','define','AnalyticTreeReport','lodash','../../config/logger','moment','bluebird','rimraf','./analyticTreeReport.attributes'];(function(_0x2f4978,_0x44b858){var _0x168094=function(_0x2c7290){while(--_0x2c7290){_0x2f4978['push'](_0x2f4978['shift']());}};_0x168094(++_0x44b858);}(_0xb96e,0x1c5));var _0xeb96=function(_0x2bb919,_0x1a4a24){_0x2bb919=_0x2bb919-0x0;var _0x310a54=_0xb96e[_0x2bb919];return _0x310a54;};'use strict';var _=require(_0xeb96('0x0'));var util=require('util');var logger=require(_0xeb96('0x1'))('api');var moment=require(_0xeb96('0x2'));var BPromise=require(_0xeb96('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xeb96('0x4'));var config=require('../../config/environment');var attributes=require(_0xeb96('0x5'));module[_0xeb96('0x6')]=function(_0x13e787,_0x2d28ae){return _0x13e787[_0xeb96('0x7')](_0xeb96('0x8'),attributes,{'tableName':'analytics_report_trees','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 908ef40..3807032 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 _0x7a54=['info','AnalyticTreeReport,\x20%s,\x20%s','debug','stringify','error','code','message','request\x20sent','result','catch','lodash','util','moment','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x7a54,0x106));var _0x47a5=function(_0x473a6e,_0x1ed053){_0x473a6e=_0x473a6e-0x0;var _0x1102dc=_0x7a54[_0x473a6e];return _0x1102dc;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var moment=require(_0x47a5('0x2'));var BPromise=require('bluebird');var rs=require(_0x47a5('0x3'));var fs=require('fs');var Redis=require(_0x47a5('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x47a5('0x5'));var logger=require(_0x47a5('0x6'))(_0x47a5('0x7'));var config=require(_0x47a5('0x8'));var jayson=require(_0x47a5('0x9'));var client=jayson['client'][_0x47a5('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x59199c,_0x343372,_0x30e405){return new BPromise(function(_0x506eda,_0x194fb0){return client['request'](_0x59199c,_0x30e405)['then'](function(_0x582352){logger[_0x47a5('0xb')](_0x47a5('0xc'),_0x343372,'request\x20sent');logger[_0x47a5('0xd')]('AnalyticTreeReport,\x20%s,\x20%s,\x20%s',_0x343372,'request\x20sent',JSON[_0x47a5('0xe')](_0x582352));if(_0x582352[_0x47a5('0xf')]){if(_0x582352[_0x47a5('0xf')][_0x47a5('0x10')]===0x1f4){logger[_0x47a5('0xf')](_0x47a5('0xc'),_0x343372,_0x582352[_0x47a5('0xf')]['message']);return _0x194fb0(_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);}logger[_0x47a5('0xf')](_0x47a5('0xc'),_0x343372,_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);return _0x506eda(_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);}else{logger['info'](_0x47a5('0xc'),_0x343372,_0x47a5('0x12'));_0x506eda(_0x582352[_0x47a5('0x13')][_0x47a5('0x11')]);}})[_0x47a5('0x14')](function(_0x574af6){logger['error'](_0x47a5('0xc'),_0x343372,_0x574af6);_0x194fb0(_0x574af6);});});}
\ No newline at end of file
+var _0xdb28=['moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','request','then','AnalyticTreeReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','info','catch','lodash','util'];(function(_0x4ddcdb,_0x1ed622){var _0x567c3a=function(_0x12cfbb){while(--_0x12cfbb){_0x4ddcdb['push'](_0x4ddcdb['shift']());}};_0x567c3a(++_0x1ed622);}(_0xdb28,0x106));var _0x8db2=function(_0x32a1dc,_0x26ab46){_0x32a1dc=_0x32a1dc-0x0;var _0x9dfc28=_0xdb28[_0x32a1dc];return _0x9dfc28;};'use strict';var _=require(_0x8db2('0x0'));var util=require(_0x8db2('0x1'));var moment=require(_0x8db2('0x2'));var BPromise=require(_0x8db2('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x8db2('0x4'));var db=require(_0x8db2('0x5'))['db'];var utils=require(_0x8db2('0x6'));var logger=require(_0x8db2('0x7'))(_0x8db2('0x8'));var config=require('../../config/environment');var jayson=require(_0x8db2('0x9'));var client=jayson[_0x8db2('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x494b40,_0x477f50,_0x46932f){return new BPromise(function(_0x131537,_0x29f698){return client[_0x8db2('0xb')](_0x494b40,_0x46932f)[_0x8db2('0xc')](function(_0x126c78){logger['info'](_0x8db2('0xd'),_0x477f50,_0x8db2('0xe'));logger[_0x8db2('0xf')]('AnalyticTreeReport,\x20%s,\x20%s,\x20%s',_0x477f50,_0x8db2('0xe'),JSON[_0x8db2('0x10')](_0x126c78));if(_0x126c78['error']){if(_0x126c78[_0x8db2('0x11')][_0x8db2('0x12')]===0x1f4){logger[_0x8db2('0x11')](_0x8db2('0xd'),_0x477f50,_0x126c78[_0x8db2('0x11')]['message']);return _0x29f698(_0x126c78['error'][_0x8db2('0x13')]);}logger[_0x8db2('0x11')](_0x8db2('0xd'),_0x477f50,_0x126c78[_0x8db2('0x11')][_0x8db2('0x13')]);return _0x131537(_0x126c78[_0x8db2('0x11')][_0x8db2('0x13')]);}else{logger[_0x8db2('0x14')](_0x8db2('0xd'),_0x477f50,_0x8db2('0xe'));_0x131537(_0x126c78['result'][_0x8db2('0x13')]);}})[_0x8db2('0x15')](function(_0x48101e){logger[_0x8db2('0x11')](_0x8db2('0xd'),_0x477f50,_0x48101e);_0x29f698(_0x48101e);});});}
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/index.js b/server/api/analyticTreeReport/index.js
index 4ed6c56..94f2a32 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 _0x32f2=['index','show','create','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated'];(function(_0x3a66fa,_0x399904){var _0x388cf9=function(_0x39be41){while(--_0x39be41){_0x3a66fa['push'](_0x3a66fa['shift']());}};_0x388cf9(++_0x399904);}(_0x32f2,0x1ac));var _0x232f=function(_0x30df82,_0x523785){_0x30df82=_0x30df82-0x0;var _0x4194f2=_0x32f2[_0x30df82];return _0x4194f2;};'use strict';var multer=require(_0x232f('0x0'));var util=require(_0x232f('0x1'));var path=require(_0x232f('0x2'));var timeout=require(_0x232f('0x3'));var express=require(_0x232f('0x4'));var router=express[_0x232f('0x5')]();var fs_extra=require(_0x232f('0x6'));var auth=require(_0x232f('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x232f('0x8'));var controller=require(_0x232f('0x9'));router[_0x232f('0xa')]('/',auth[_0x232f('0xb')](),controller[_0x232f('0xc')]);router[_0x232f('0xa')]('/:id',auth[_0x232f('0xb')](),controller[_0x232f('0xd')]);router['post']('/',auth[_0x232f('0xb')](),controller[_0x232f('0xe')]);router[_0x232f('0xf')](_0x232f('0x10'),auth[_0x232f('0xb')](),controller[_0x232f('0x11')]);router[_0x232f('0x12')]('/:id',auth[_0x232f('0xb')](),controller[_0x232f('0x13')]);module['exports']=router;
\ No newline at end of file
+var _0x7949=['../../config/environment','get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/interaction/service'];(function(_0x335a62,_0xfafea4){var _0x249a9a=function(_0xb3a9a5){while(--_0xb3a9a5){_0x335a62['push'](_0x335a62['shift']());}};_0x249a9a(++_0xfafea4);}(_0x7949,0x11b));var _0x9794=function(_0x36c795,_0x23a422){_0x36c795=_0x36c795-0x0;var _0x35db48=_0x7949[_0x36c795];return _0x35db48;};'use strict';var multer=require('multer');var util=require(_0x9794('0x0'));var path=require(_0x9794('0x1'));var timeout=require(_0x9794('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x9794('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x9794('0x4'));var config=require(_0x9794('0x5'));var controller=require('./analyticTreeReport.controller');router[_0x9794('0x6')]('/',auth[_0x9794('0x7')](),controller[_0x9794('0x8')]);router['get'](_0x9794('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x9794('0xa')]('/',auth[_0x9794('0x7')](),controller['create']);router[_0x9794('0xb')]('/:id',auth[_0x9794('0x7')](),controller[_0x9794('0xc')]);router[_0x9794('0xd')]('/:id',auth[_0x9794('0x7')](),controller[_0x9794('0xe')]);module[_0x9794('0xf')]=router;
\ No newline at end of file
diff --git a/server/api/attachment/attachment.attributes.js b/server/api/attachment/attachment.attributes.js
index c2a439f..01b45f3 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 _0xe107=['STRING','sequelize'];(function(_0x2f36d2,_0x24285c){var _0x147f7f=function(_0x41db50){while(--_0x41db50){_0x2f36d2['push'](_0x2f36d2['shift']());}};_0x147f7f(++_0x24285c);}(_0xe107,0xb3));var _0x7e10=function(_0x3bc799,_0x15f2d1){_0x3bc799=_0x3bc799-0x0;var _0x25d52b=_0xe107[_0x3bc799];return _0x25d52b;};'use strict';var Sequelize=require(_0x7e10('0x0'));module['exports']={'name':{'type':Sequelize[_0x7e10('0x1')]},'basename':{'type':Sequelize[_0x7e10('0x1')]},'type':{'type':Sequelize[_0x7e10('0x1')]}};
\ No newline at end of file
+var _0x1c4d=['STRING','exports'];(function(_0x4c89d6,_0x139ce6){var _0x288238=function(_0x2860af){while(--_0x2860af){_0x4c89d6['push'](_0x4c89d6['shift']());}};_0x288238(++_0x139ce6);}(_0x1c4d,0x1d7));var _0xd1c4=function(_0x21b84d,_0x4da029){_0x21b84d=_0x21b84d-0x0;var _0x3bd8ef=_0x1c4d[_0x21b84d];return _0x3bd8ef;};'use strict';var Sequelize=require('sequelize');module[_0xd1c4('0x0')]={'name':{'type':Sequelize[_0xd1c4('0x1')]},'basename':{'type':Sequelize[_0xd1c4('0x1')]},'type':{'type':Sequelize['STRING']}};
\ No newline at end of file
diff --git a/server/api/attachment/attachment.controller.js b/server/api/attachment/attachment.controller.js
index 5e636f1..99e6e47 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 _0x1665=['join','server/files/attachments/','offline-chat/','eml-format','rimraf','zip-dir','fast-json-patch','moment','path','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','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','end','json','offset','undefined','limit','count','set','Content-Range','reject','then','error','stack','send','index','map','fieldName','key','model','name','keys','query','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filters','merge','type','VIRTUAL','filter','options','Attachment','include','findAll','rows','catch','rawAttributes','includeAll','find','clone','params','get','omit','updatedAt','body','createdAt','create','update','file','originalname','basename','filename','mimetype','download','findOne','ChatOfflineMessageId'];(function(_0x4556ac,_0x9dee55){var _0xc08b1e=function(_0x16a35d){while(--_0x16a35d){_0x4556ac['push'](_0x4556ac['shift']());}};_0xc08b1e(++_0x9dee55);}(_0x1665,0x1c5));var _0x5166=function(_0x180297,_0x56bb6d){_0x180297=_0x180297-0x0;var _0x1f7aae=_0x1665[_0x180297];return _0x1f7aae;};'use strict';var emlformat=require(_0x5166('0x0'));var rimraf=require(_0x5166('0x1'));var zipdir=require(_0x5166('0x2'));var jsonpatch=require(_0x5166('0x3'));var rp=require('request-promise');var moment=require(_0x5166('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0x5166('0x5'));var sox=require('sox');var csv=require(_0x5166('0x6'));var ejs=require(_0x5166('0x7'));var fs=require('fs');var fs_extra=require(_0x5166('0x8'));var _=require(_0x5166('0x9'));var squel=require(_0x5166('0xa'));var crypto=require(_0x5166('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x5166('0xc'));var toCsv=require(_0x5166('0x6'));var querystring=require('querystring');var Papa=require(_0x5166('0xd'));var Redis=require(_0x5166('0xe'));var authService=require(_0x5166('0xf'));var qs=require(_0x5166('0x10'));var as=require(_0x5166('0x11'));var hardwareService=require(_0x5166('0x12'));var logger=require(_0x5166('0x13'))('api');var utils=require(_0x5166('0x14'));var config=require(_0x5166('0x15'));var licenseUtil=require(_0x5166('0x16'));var db=require(_0x5166('0x17'))['db'];function respondWithStatusCode(_0x3d8ba1,_0x112cc3){_0x112cc3=_0x112cc3||0xcc;return function(_0x3b4e8f){if(_0x3b4e8f){return _0x3d8ba1[_0x5166('0x18')](_0x112cc3);}return _0x3d8ba1[_0x5166('0x19')](_0x112cc3)[_0x5166('0x1a')]();};}function respondWithResult(_0x46fcbe,_0x2ca39a){_0x2ca39a=_0x2ca39a||0xc8;return function(_0x24b519){if(_0x24b519){return _0x46fcbe['status'](_0x2ca39a)[_0x5166('0x1b')](_0x24b519);}};}function respondWithFilteredResult(_0x561b56,_0x3e0ea3){return function(_0xf7dffe){if(_0xf7dffe){var _0x4e2f24=typeof _0x3e0ea3[_0x5166('0x1c')]===_0x5166('0x1d')&&typeof _0x3e0ea3[_0x5166('0x1e')]===_0x5166('0x1d');var _0x1e9e68=_0xf7dffe[_0x5166('0x1f')];var _0x18b358=_0x4e2f24?0x0:_0x3e0ea3[_0x5166('0x1c')];var _0x78757d=_0x4e2f24?_0xf7dffe['count']:_0x3e0ea3[_0x5166('0x1c')]+_0x3e0ea3[_0x5166('0x1e')];var _0x1ff7a3;if(_0x78757d>=_0x1e9e68){_0x78757d=_0x1e9e68;_0x1ff7a3=0xc8;}else{_0x1ff7a3=0xce;}_0x561b56[_0x5166('0x19')](_0x1ff7a3);return _0x561b56[_0x5166('0x20')](_0x5166('0x21'),_0x18b358+'-'+_0x78757d+'/'+_0x1e9e68)[_0x5166('0x1b')](_0xf7dffe);}return null;};}function patchUpdates(_0x1f7907){return function(_0x140087){try{jsonpatch['apply'](_0x140087,_0x1f7907,!![]);}catch(_0x3d37c2){return BPromise[_0x5166('0x22')](_0x3d37c2);}return _0x140087['save']();};}function saveUpdates(_0x48498b,_0x3e9822){return function(_0x47a35b){if(_0x47a35b){return _0x47a35b['update'](_0x48498b)[_0x5166('0x23')](function(_0x4abe17){return _0x4abe17;});}return null;};}function removeEntity(_0x1cb02d,_0x19ffff){return function(_0x4ca095){if(_0x4ca095){return _0x4ca095['destroy']()['then'](function(){_0x1cb02d[_0x5166('0x19')](0xcc)[_0x5166('0x1a')]();});}};}function handleEntityNotFound(_0x4a1b93,_0xf2b1a0){return function(_0xb46239){if(!_0xb46239){_0x4a1b93[_0x5166('0x18')](0x194);}return _0xb46239;};}function handleError(_0x3c7def,_0x22220d){_0x22220d=_0x22220d||0x1f4;return function(_0xf4059){logger[_0x5166('0x24')](_0xf4059[_0x5166('0x25')]);if(_0xf4059['name']){delete _0xf4059['name'];}_0x3c7def[_0x5166('0x19')](_0x22220d)[_0x5166('0x26')](_0xf4059);};}exports[_0x5166('0x27')]=function(_0x581bcc,_0x2035bf){var _0x3c9f43={},_0x333bf1={},_0x15f39f={'count':0x0,'rows':[]};var _0x20135e=_[_0x5166('0x28')](db['Attachment']['rawAttributes'],function(_0x4288f0){return{'name':_0x4288f0[_0x5166('0x29')],'type':_0x4288f0['type'][_0x5166('0x2a')]};});_0x333bf1[_0x5166('0x2b')]=_['map'](_0x20135e,_0x5166('0x2c'));_0x333bf1['query']=_[_0x5166('0x2d')](_0x581bcc[_0x5166('0x2e')]);_0x333bf1['filters']=_[_0x5166('0x2f')](_0x333bf1[_0x5166('0x2b')],_0x333bf1['query']);_0x3c9f43[_0x5166('0x30')]=_[_0x5166('0x2f')](_0x333bf1[_0x5166('0x2b')],qs[_0x5166('0x31')](_0x581bcc[_0x5166('0x2e')]['fields']));_0x3c9f43['attributes']=_0x3c9f43['attributes'][_0x5166('0x32')]?_0x3c9f43['attributes']:_0x333bf1[_0x5166('0x2b')];if(!_0x581bcc['query']['hasOwnProperty'](_0x5166('0x33'))){_0x3c9f43[_0x5166('0x1e')]=qs[_0x5166('0x1e')](_0x581bcc[_0x5166('0x2e')]['limit']);_0x3c9f43[_0x5166('0x1c')]=qs['offset'](_0x581bcc[_0x5166('0x2e')]['offset']);}_0x3c9f43[_0x5166('0x34')]=qs[_0x5166('0x35')](_0x581bcc[_0x5166('0x2e')][_0x5166('0x35')]);_0x3c9f43[_0x5166('0x36')]=qs['filters'](_[_0x5166('0x37')](_0x581bcc['query'],_0x333bf1[_0x5166('0x38')]),_0x20135e);if(_0x581bcc[_0x5166('0x2e')]['filter']){_0x3c9f43[_0x5166('0x36')]=_[_0x5166('0x39')](_0x3c9f43[_0x5166('0x36')],{'$or':_[_0x5166('0x28')](_0x20135e,function(_0x55f7b7){if(_0x55f7b7[_0x5166('0x3a')]!==_0x5166('0x3b')){var _0x726a5d={};_0x726a5d[_0x55f7b7[_0x5166('0x2c')]]={'$like':'%'+_0x581bcc[_0x5166('0x2e')][_0x5166('0x3c')]+'%'};return _0x726a5d;}})});}_0x3c9f43=_['merge']({},_0x3c9f43,_0x581bcc[_0x5166('0x3d')]);var _0x49f86f={'where':_0x3c9f43[_0x5166('0x36')]};return db[_0x5166('0x3e')][_0x5166('0x1f')](_0x49f86f)[_0x5166('0x23')](function(_0x8d3b7c){_0x15f39f['count']=_0x8d3b7c;if(_0x581bcc['query']['includeAll']){_0x3c9f43[_0x5166('0x3f')]=[{'all':!![]}];}return db[_0x5166('0x3e')][_0x5166('0x40')](_0x3c9f43);})['then'](function(_0x2ea829){_0x15f39f[_0x5166('0x41')]=_0x2ea829;return _0x15f39f;})[_0x5166('0x23')](respondWithFilteredResult(_0x2035bf,_0x3c9f43))[_0x5166('0x42')](handleError(_0x2035bf,null));};exports['show']=function(_0x2c900f,_0x2195c5){var _0x3a1273={'raw':!![],'where':{'id':_0x2c900f['params']['id']}},_0x340251={};_0x340251[_0x5166('0x2b')]=_[_0x5166('0x2d')](db['Attachment'][_0x5166('0x43')]);_0x340251[_0x5166('0x2e')]=_[_0x5166('0x2d')](_0x2c900f[_0x5166('0x2e')]);_0x340251[_0x5166('0x38')]=_[_0x5166('0x2f')](_0x340251[_0x5166('0x2b')],_0x340251[_0x5166('0x2e')]);_0x3a1273[_0x5166('0x30')]=_[_0x5166('0x2f')](_0x340251[_0x5166('0x2b')],qs[_0x5166('0x31')](_0x2c900f[_0x5166('0x2e')]['fields']));_0x3a1273[_0x5166('0x30')]=_0x3a1273['attributes'][_0x5166('0x32')]?_0x3a1273[_0x5166('0x30')]:_0x340251[_0x5166('0x2b')];if(_0x2c900f[_0x5166('0x2e')][_0x5166('0x44')]){_0x3a1273[_0x5166('0x3f')]=[{'all':!![]}];}_0x3a1273=_['merge']({},_0x3a1273,_0x2c900f[_0x5166('0x3d')]);return db[_0x5166('0x3e')][_0x5166('0x45')](_0x3a1273)[_0x5166('0x23')](handleEntityNotFound(_0x2195c5,null))[_0x5166('0x23')](respondWithResult(_0x2195c5,null))[_0x5166('0x42')](handleError(_0x2195c5,null));};exports[_0x5166('0x46')]=function(_0x4035d8,_0xa598f){var _0x5f1030={'where':{'id':_0x4035d8[_0x5166('0x47')]['id']}},_0x3462bb={};_0x3462bb[_0x5166('0x2b')]=_['keys'](db[_0x5166('0x3e')][_0x5166('0x43')]);_0x5f1030['attributes']=_[_0x5166('0x2f')](_0x3462bb[_0x5166('0x2b')],qs['fields'](_0x4035d8['query']['fields']));_0x5f1030[_0x5166('0x30')]=_0x5f1030[_0x5166('0x30')][_0x5166('0x32')]?_0x5f1030[_0x5166('0x30')]:_0x3462bb['model'];if(_0x4035d8['query'][_0x5166('0x44')]){_0x5f1030[_0x5166('0x3f')]=[{'all':!![]}];}_0x5f1030=_['merge']({},_0x5f1030,_0x4035d8[_0x5166('0x3d')]);return db['Attachment'][_0x5166('0x45')](_0x5f1030)['then'](handleEntityNotFound(_0xa598f,null))['then'](function(_0x4b502e){if(_0x4b502e){var _0x17b8a3=_0x4b502e[_0x5166('0x48')]({'plain':!![]});_0x17b8a3=qs[_0x5166('0x49')](_0x17b8a3,['id','createdAt',_0x5166('0x4a')]);_0x4035d8[_0x5166('0x4b')]=_['omit'](_0x4035d8[_0x5166('0x4b')],['id',_0x5166('0x4c'),_0x5166('0x4a')]);return db[_0x5166('0x3e')][_0x5166('0x4d')](_[_0x5166('0x39')](_0x17b8a3,_0x4035d8[_0x5166('0x4b')]),{'include':_0x4035d8[_0x5166('0x2e')]['includeAll']?[{'all':!![]}]:undefined});}})[_0x5166('0x23')](respondWithResult(_0xa598f,0xc9))[_0x5166('0x42')](handleError(_0xa598f,null));};exports[_0x5166('0x4e')]=function(_0x463366,_0x583ee8){if(_0x463366[_0x5166('0x4b')]['id']){delete _0x463366[_0x5166('0x4b')]['id'];}return db[_0x5166('0x3e')]['find']({'where':{'id':_0x463366[_0x5166('0x47')]['id']}})['then'](handleEntityNotFound(_0x583ee8,null))['then'](saveUpdates(_0x463366['body'],null))[_0x5166('0x23')](respondWithResult(_0x583ee8,null))[_0x5166('0x42')](handleError(_0x583ee8,null));};exports['destroy']=function(_0x6172ea,_0x3667b1){return db[_0x5166('0x3e')][_0x5166('0x45')]({'where':{'id':_0x6172ea[_0x5166('0x47')]['id']}})['then'](handleEntityNotFound(_0x3667b1,null))[_0x5166('0x23')](removeEntity(_0x3667b1,null))[_0x5166('0x42')](handleError(_0x3667b1,null));};exports[_0x5166('0x4d')]=function(_0x38b414,_0x5576b2,_0x51ad14){_0x38b414[_0x5166('0x4b')][_0x5166('0x2c')]=_0x38b414[_0x5166('0x4f')][_0x5166('0x50')];_0x38b414[_0x5166('0x4b')][_0x5166('0x51')]=_0x38b414[_0x5166('0x4f')][_0x5166('0x52')];_0x38b414[_0x5166('0x4b')][_0x5166('0x3a')]=_0x38b414[_0x5166('0x4f')][_0x5166('0x53')];return db[_0x5166('0x3e')][_0x5166('0x4d')](_0x38b414[_0x5166('0x4b')])[_0x5166('0x23')](respondWithResult(_0x5576b2,0xc9))[_0x5166('0x42')](handleError(_0x5576b2,null));};exports[_0x5166('0x54')]=function(_0x52da7f,_0x32ed64,_0x47a127){return db[_0x5166('0x3e')][_0x5166('0x55')]({'where':{'id':_0x52da7f[_0x5166('0x47')]['id']},'raw':!![]})[_0x5166('0x23')](handleEntityNotFound(_0x32ed64,null))[_0x5166('0x23')](function(_0x3cfd52){if(_0x3cfd52){var _0x1f1456=_0x3cfd52[_0x5166('0x56')]!==null;var _0x5084da=path[_0x5166('0x57')](config['root'],_0x5166('0x58'));if(_0x1f1456){_0x5084da=path[_0x5166('0x57')](_0x5084da,_0x5166('0x59'));}var _0x226204=path[_0x5166('0x57')](_0x5084da,_0x3cfd52[_0x5166('0x51')]);return _0x32ed64['download'](_0x226204);}})[_0x5166('0x42')](handleError(_0x32ed64,null));};
\ No newline at end of file
+var _0x1a2a=['query','intersection','attributes','fields','length','nolimit','order','sort','where','filters','pick','filter','merge','type','VIRTUAL','Attachment','includeAll','include','rows','catch','show','params','keys','options','get','omit','createdAt','updatedAt','body','create','find','file','ChatOfflineMessageId','root','basename','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','undefined','count','limit','Content-Range','apply','save','update','then','destroy','error','stack','name','send','index','rawAttributes','fieldName','key','model','map'];(function(_0x36b610,_0x50d36e){var _0xc24563=function(_0x418000){while(--_0x418000){_0x36b610['push'](_0x36b610['shift']());}};_0xc24563(++_0x50d36e);}(_0x1a2a,0xc9));var _0xa1a2=function(_0xd46333,_0x1b05c1){_0xd46333=_0xd46333-0x0;var _0x336108=_0x1a2a[_0xd46333];return _0x336108;};'use strict';var emlformat=require(_0xa1a2('0x0'));var rimraf=require(_0xa1a2('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xa1a2('0x2'));var rp=require(_0xa1a2('0x3'));var moment=require(_0xa1a2('0x4'));var BPromise=require(_0xa1a2('0x5'));var Mustache=require(_0xa1a2('0x6'));var util=require(_0xa1a2('0x7'));var path=require('path');var sox=require(_0xa1a2('0x8'));var csv=require(_0xa1a2('0x9'));var ejs=require(_0xa1a2('0xa'));var fs=require('fs');var fs_extra=require(_0xa1a2('0xb'));var _=require(_0xa1a2('0xc'));var squel=require('squel');var crypto=require(_0xa1a2('0xd'));var jsforce=require(_0xa1a2('0xe'));var deskjs=require(_0xa1a2('0xf'));var toCsv=require('to-csv');var querystring=require(_0xa1a2('0x10'));var Papa=require(_0xa1a2('0x11'));var Redis=require(_0xa1a2('0x12'));var authService=require(_0xa1a2('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0xa1a2('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xa1a2('0x15'));var utils=require('../../config/utils');var config=require(_0xa1a2('0x16'));var licenseUtil=require(_0xa1a2('0x17'));var db=require(_0xa1a2('0x18'))['db'];function respondWithStatusCode(_0x454b4b,_0x51bc3d){_0x51bc3d=_0x51bc3d||0xcc;return function(_0x419d34){if(_0x419d34){return _0x454b4b[_0xa1a2('0x19')](_0x51bc3d);}return _0x454b4b[_0xa1a2('0x1a')](_0x51bc3d)[_0xa1a2('0x1b')]();};}function respondWithResult(_0x580173,_0x1ab0ad){_0x1ab0ad=_0x1ab0ad||0xc8;return function(_0x123f17){if(_0x123f17){return _0x580173[_0xa1a2('0x1a')](_0x1ab0ad)['json'](_0x123f17);}};}function respondWithFilteredResult(_0x3e1408,_0x2f8e03){return function(_0x55954b){if(_0x55954b){var _0x517f66=typeof _0x2f8e03[_0xa1a2('0x1c')]==='undefined'&&typeof _0x2f8e03['limit']===_0xa1a2('0x1d');var _0x4e3bb0=_0x55954b['count'];var _0x1e196c=_0x517f66?0x0:_0x2f8e03['offset'];var _0x1679fa=_0x517f66?_0x55954b[_0xa1a2('0x1e')]:_0x2f8e03[_0xa1a2('0x1c')]+_0x2f8e03[_0xa1a2('0x1f')];var _0xfce3a7;if(_0x1679fa>=_0x4e3bb0){_0x1679fa=_0x4e3bb0;_0xfce3a7=0xc8;}else{_0xfce3a7=0xce;}_0x3e1408[_0xa1a2('0x1a')](_0xfce3a7);return _0x3e1408['set'](_0xa1a2('0x20'),_0x1e196c+'-'+_0x1679fa+'/'+_0x4e3bb0)['json'](_0x55954b);}return null;};}function patchUpdates(_0x2dbda4){return function(_0x2c7b64){try{jsonpatch[_0xa1a2('0x21')](_0x2c7b64,_0x2dbda4,!![]);}catch(_0x45b1a4){return BPromise['reject'](_0x45b1a4);}return _0x2c7b64[_0xa1a2('0x22')]();};}function saveUpdates(_0xf7cf05,_0x4381be){return function(_0x678ad6){if(_0x678ad6){return _0x678ad6[_0xa1a2('0x23')](_0xf7cf05)[_0xa1a2('0x24')](function(_0x1ff9ad){return _0x1ff9ad;});}return null;};}function removeEntity(_0x1b69e3,_0xfa3015){return function(_0x3b6580){if(_0x3b6580){return _0x3b6580[_0xa1a2('0x25')]()[_0xa1a2('0x24')](function(){_0x1b69e3['status'](0xcc)[_0xa1a2('0x1b')]();});}};}function handleEntityNotFound(_0x148d23,_0x275e10){return function(_0x311728){if(!_0x311728){_0x148d23[_0xa1a2('0x19')](0x194);}return _0x311728;};}function handleError(_0x3b5de1,_0x3c8336){_0x3c8336=_0x3c8336||0x1f4;return function(_0x17790d){logger[_0xa1a2('0x26')](_0x17790d[_0xa1a2('0x27')]);if(_0x17790d['name']){delete _0x17790d[_0xa1a2('0x28')];}_0x3b5de1[_0xa1a2('0x1a')](_0x3c8336)[_0xa1a2('0x29')](_0x17790d);};}exports[_0xa1a2('0x2a')]=function(_0x4fe3be,_0x503c98){var _0x3d0f13={},_0xabff97={},_0x4168f1={'count':0x0,'rows':[]};var _0x46fba0=_['map'](db['Attachment'][_0xa1a2('0x2b')],function(_0xc1ba7){return{'name':_0xc1ba7[_0xa1a2('0x2c')],'type':_0xc1ba7['type'][_0xa1a2('0x2d')]};});_0xabff97[_0xa1a2('0x2e')]=_[_0xa1a2('0x2f')](_0x46fba0,_0xa1a2('0x28'));_0xabff97[_0xa1a2('0x30')]=_['keys'](_0x4fe3be['query']);_0xabff97['filters']=_[_0xa1a2('0x31')](_0xabff97[_0xa1a2('0x2e')],_0xabff97[_0xa1a2('0x30')]);_0x3d0f13[_0xa1a2('0x32')]=_[_0xa1a2('0x31')](_0xabff97[_0xa1a2('0x2e')],qs[_0xa1a2('0x33')](_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x33')]));_0x3d0f13[_0xa1a2('0x32')]=_0x3d0f13[_0xa1a2('0x32')][_0xa1a2('0x34')]?_0x3d0f13[_0xa1a2('0x32')]:_0xabff97[_0xa1a2('0x2e')];if(!_0x4fe3be[_0xa1a2('0x30')]['hasOwnProperty'](_0xa1a2('0x35'))){_0x3d0f13[_0xa1a2('0x1f')]=qs['limit'](_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x1f')]);_0x3d0f13[_0xa1a2('0x1c')]=qs[_0xa1a2('0x1c')](_0x4fe3be['query'][_0xa1a2('0x1c')]);}_0x3d0f13[_0xa1a2('0x36')]=qs['sort'](_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x37')]);_0x3d0f13[_0xa1a2('0x38')]=qs[_0xa1a2('0x39')](_[_0xa1a2('0x3a')](_0x4fe3be['query'],_0xabff97['filters']),_0x46fba0);if(_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x3b')]){_0x3d0f13[_0xa1a2('0x38')]=_[_0xa1a2('0x3c')](_0x3d0f13['where'],{'$or':_['map'](_0x46fba0,function(_0x2a8848){if(_0x2a8848[_0xa1a2('0x3d')]!==_0xa1a2('0x3e')){var _0x3b1248={};_0x3b1248[_0x2a8848['name']]={'$like':'%'+_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x3b')]+'%'};return _0x3b1248;}})});}_0x3d0f13=_[_0xa1a2('0x3c')]({},_0x3d0f13,_0x4fe3be['options']);var _0x107bad={'where':_0x3d0f13[_0xa1a2('0x38')]};return db[_0xa1a2('0x3f')][_0xa1a2('0x1e')](_0x107bad)[_0xa1a2('0x24')](function(_0x1b4b4d){_0x4168f1[_0xa1a2('0x1e')]=_0x1b4b4d;if(_0x4fe3be[_0xa1a2('0x30')][_0xa1a2('0x40')]){_0x3d0f13[_0xa1a2('0x41')]=[{'all':!![]}];}return db[_0xa1a2('0x3f')]['findAll'](_0x3d0f13);})[_0xa1a2('0x24')](function(_0x41dbf6){_0x4168f1[_0xa1a2('0x42')]=_0x41dbf6;return _0x4168f1;})[_0xa1a2('0x24')](respondWithFilteredResult(_0x503c98,_0x3d0f13))[_0xa1a2('0x43')](handleError(_0x503c98,null));};exports[_0xa1a2('0x44')]=function(_0x1a335b,_0x7016ca){var _0x4132ae={'raw':!![],'where':{'id':_0x1a335b[_0xa1a2('0x45')]['id']}},_0x146487={};_0x146487[_0xa1a2('0x2e')]=_[_0xa1a2('0x46')](db[_0xa1a2('0x3f')][_0xa1a2('0x2b')]);_0x146487[_0xa1a2('0x30')]=_[_0xa1a2('0x46')](_0x1a335b[_0xa1a2('0x30')]);_0x146487['filters']=_[_0xa1a2('0x31')](_0x146487['model'],_0x146487['query']);_0x4132ae[_0xa1a2('0x32')]=_['intersection'](_0x146487[_0xa1a2('0x2e')],qs[_0xa1a2('0x33')](_0x1a335b[_0xa1a2('0x30')][_0xa1a2('0x33')]));_0x4132ae[_0xa1a2('0x32')]=_0x4132ae[_0xa1a2('0x32')][_0xa1a2('0x34')]?_0x4132ae[_0xa1a2('0x32')]:_0x146487[_0xa1a2('0x2e')];if(_0x1a335b[_0xa1a2('0x30')]['includeAll']){_0x4132ae[_0xa1a2('0x41')]=[{'all':!![]}];}_0x4132ae=_[_0xa1a2('0x3c')]({},_0x4132ae,_0x1a335b[_0xa1a2('0x47')]);return db[_0xa1a2('0x3f')]['find'](_0x4132ae)[_0xa1a2('0x24')](handleEntityNotFound(_0x7016ca,null))[_0xa1a2('0x24')](respondWithResult(_0x7016ca,null))[_0xa1a2('0x43')](handleError(_0x7016ca,null));};exports['clone']=function(_0x403625,_0x21a86d){var _0x3e25b3={'where':{'id':_0x403625[_0xa1a2('0x45')]['id']}},_0x594ab2={};_0x594ab2[_0xa1a2('0x2e')]=_[_0xa1a2('0x46')](db[_0xa1a2('0x3f')][_0xa1a2('0x2b')]);_0x3e25b3[_0xa1a2('0x32')]=_[_0xa1a2('0x31')](_0x594ab2['model'],qs[_0xa1a2('0x33')](_0x403625[_0xa1a2('0x30')][_0xa1a2('0x33')]));_0x3e25b3['attributes']=_0x3e25b3['attributes'][_0xa1a2('0x34')]?_0x3e25b3['attributes']:_0x594ab2['model'];if(_0x403625[_0xa1a2('0x30')][_0xa1a2('0x40')]){_0x3e25b3[_0xa1a2('0x41')]=[{'all':!![]}];}_0x3e25b3=_[_0xa1a2('0x3c')]({},_0x3e25b3,_0x403625['options']);return db[_0xa1a2('0x3f')]['find'](_0x3e25b3)['then'](handleEntityNotFound(_0x21a86d,null))[_0xa1a2('0x24')](function(_0x5a6e4f){if(_0x5a6e4f){var _0x3e5595=_0x5a6e4f[_0xa1a2('0x48')]({'plain':!![]});_0x3e5595=qs[_0xa1a2('0x49')](_0x3e5595,['id',_0xa1a2('0x4a'),_0xa1a2('0x4b')]);_0x403625[_0xa1a2('0x4c')]=_[_0xa1a2('0x49')](_0x403625[_0xa1a2('0x4c')],['id',_0xa1a2('0x4a'),_0xa1a2('0x4b')]);return db[_0xa1a2('0x3f')][_0xa1a2('0x4d')](_['merge'](_0x3e5595,_0x403625[_0xa1a2('0x4c')]),{'include':_0x403625['query']['includeAll']?[{'all':!![]}]:undefined});}})[_0xa1a2('0x24')](respondWithResult(_0x21a86d,0xc9))[_0xa1a2('0x43')](handleError(_0x21a86d,null));};exports[_0xa1a2('0x23')]=function(_0x549c24,_0x152cec){if(_0x549c24[_0xa1a2('0x4c')]['id']){delete _0x549c24[_0xa1a2('0x4c')]['id'];}return db[_0xa1a2('0x3f')][_0xa1a2('0x4e')]({'where':{'id':_0x549c24['params']['id']}})[_0xa1a2('0x24')](handleEntityNotFound(_0x152cec,null))[_0xa1a2('0x24')](saveUpdates(_0x549c24[_0xa1a2('0x4c')],null))[_0xa1a2('0x24')](respondWithResult(_0x152cec,null))['catch'](handleError(_0x152cec,null));};exports[_0xa1a2('0x25')]=function(_0x41a965,_0x5f0bb0){return db[_0xa1a2('0x3f')][_0xa1a2('0x4e')]({'where':{'id':_0x41a965[_0xa1a2('0x45')]['id']}})[_0xa1a2('0x24')](handleEntityNotFound(_0x5f0bb0,null))['then'](removeEntity(_0x5f0bb0,null))[_0xa1a2('0x43')](handleError(_0x5f0bb0,null));};exports[_0xa1a2('0x4d')]=function(_0xe35ea,_0x5e7c48,_0xc46e0d){_0xe35ea[_0xa1a2('0x4c')][_0xa1a2('0x28')]=_0xe35ea[_0xa1a2('0x4f')]['originalname'];_0xe35ea[_0xa1a2('0x4c')]['basename']=_0xe35ea[_0xa1a2('0x4f')]['filename'];_0xe35ea[_0xa1a2('0x4c')]['type']=_0xe35ea['file']['mimetype'];return db['Attachment'][_0xa1a2('0x4d')](_0xe35ea['body'])[_0xa1a2('0x24')](respondWithResult(_0x5e7c48,0xc9))[_0xa1a2('0x43')](handleError(_0x5e7c48,null));};exports['download']=function(_0x3fba66,_0x5d4e59,_0x5149f0){return db[_0xa1a2('0x3f')]['findOne']({'where':{'id':_0x3fba66['params']['id']},'raw':!![]})['then'](handleEntityNotFound(_0x5d4e59,null))[_0xa1a2('0x24')](function(_0x5d1ae9){if(_0x5d1ae9){var _0x638961=_0x5d1ae9[_0xa1a2('0x50')]!==null;var _0x5e6249=path['join'](config[_0xa1a2('0x51')],'server/files/attachments/');if(_0x638961){_0x5e6249=path['join'](_0x5e6249,'offline-chat/');}var _0x4bd318=path['join'](_0x5e6249,_0x5d1ae9[_0xa1a2('0x52')]);return _0x5d4e59['download'](_0x4bd318);}})[_0xa1a2('0x43')](handleError(_0x5d4e59,null));};
\ No newline at end of file
diff --git a/server/api/attachment/attachment.model.js b/server/api/attachment/attachment.model.js
index 1e9ec5f..b1bdc2d 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 _0x133f=['attachments','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./attachment.attributes','exports','define','Attachment'];(function(_0x4c3edd,_0x40f720){var _0x5b8db0=function(_0x5947c4){while(--_0x5947c4){_0x4c3edd['push'](_0x4c3edd['shift']());}};_0x5b8db0(++_0x40f720);}(_0x133f,0x112));var _0xf133=function(_0x9b64b2,_0x28fbc7){_0x9b64b2=_0x9b64b2-0x0;var _0x1ca2ad=_0x133f[_0x9b64b2];return _0x1ca2ad;};'use strict';var _=require(_0xf133('0x0'));var util=require(_0xf133('0x1'));var logger=require(_0xf133('0x2'))('api');var moment=require('moment');var BPromise=require(_0xf133('0x3'));var rp=require(_0xf133('0x4'));var fs=require('fs');var path=require(_0xf133('0x5'));var rimraf=require(_0xf133('0x6'));var config=require(_0xf133('0x7'));var attributes=require(_0xf133('0x8'));module[_0xf133('0x9')]=function(_0x41e200,_0x5d6831){return _0x41e200[_0xf133('0xa')](_0xf133('0xb'),attributes,{'tableName':_0xf133('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xc86f=['../../config/environment','./attachment.attributes','exports','define','Attachment','attachments','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x57ff59,_0x4b9327){var _0x58e63f=function(_0x3b1072){while(--_0x3b1072){_0x57ff59['push'](_0x57ff59['shift']());}};_0x58e63f(++_0x4b9327);}(_0xc86f,0xca));var _0xfc86=function(_0xb1df1b,_0x3cc823){_0xb1df1b=_0xb1df1b-0x0;var _0x56863c=_0xc86f[_0xb1df1b];return _0x56863c;};'use strict';var _=require(_0xfc86('0x0'));var util=require(_0xfc86('0x1'));var logger=require(_0xfc86('0x2'))('api');var moment=require(_0xfc86('0x3'));var BPromise=require(_0xfc86('0x4'));var rp=require(_0xfc86('0x5'));var fs=require('fs');var path=require(_0xfc86('0x6'));var rimraf=require(_0xfc86('0x7'));var config=require(_0xfc86('0x8'));var attributes=require(_0xfc86('0x9'));module[_0xfc86('0xa')]=function(_0x372af2,_0x219e31){return _0x372af2[_0xfc86('0xb')](_0xfc86('0xc'),attributes,{'tableName':_0xfc86('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 47632c1..5c902e7 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 _0x6282=['../../config/environment','jayson/promise','client','http','request','then','info','Attachment,\x20%s,\x20%s','request\x20sent','debug','Attachment,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','CreateAttachment','create','options','lodash','util','moment','bluebird','../../mysqldb','../../config/utils','rpc'];(function(_0x438179,_0x136a2b){var _0x2632cd=function(_0x540673){while(--_0x540673){_0x438179['push'](_0x438179['shift']());}};_0x2632cd(++_0x136a2b);}(_0x6282,0x76));var _0x2628=function(_0x89cbc,_0x2c1df3){_0x89cbc=_0x89cbc-0x0;var _0x2131d2=_0x6282[_0x89cbc];return _0x2131d2;};'use strict';var _=require(_0x2628('0x0'));var util=require(_0x2628('0x1'));var moment=require(_0x2628('0x2'));var BPromise=require(_0x2628('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x2628('0x4'))['db'];var utils=require(_0x2628('0x5'));var logger=require('../../config/logger')(_0x2628('0x6'));var config=require(_0x2628('0x7'));var jayson=require(_0x2628('0x8'));var client=jayson[_0x2628('0x9')][_0x2628('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x50412a,_0xb6b945,_0x144ae8){return new BPromise(function(_0x2170a7,_0xbae7c3){return client[_0x2628('0xb')](_0x50412a,_0x144ae8)[_0x2628('0xc')](function(_0x403569){logger[_0x2628('0xd')](_0x2628('0xe'),_0xb6b945,_0x2628('0xf'));logger[_0x2628('0x10')](_0x2628('0x11'),_0xb6b945,_0x2628('0xf'),JSON[_0x2628('0x12')](_0x403569));if(_0x403569[_0x2628('0x13')]){if(_0x403569['error']['code']===0x1f4){logger[_0x2628('0x13')](_0x2628('0xe'),_0xb6b945,_0x403569[_0x2628('0x13')][_0x2628('0x14')]);return _0xbae7c3(_0x403569['error']['message']);}logger[_0x2628('0x13')](_0x2628('0xe'),_0xb6b945,_0x403569[_0x2628('0x13')][_0x2628('0x14')]);return _0x2170a7(_0x403569[_0x2628('0x13')]['message']);}else{logger[_0x2628('0xd')](_0x2628('0xe'),_0xb6b945,_0x2628('0xf'));_0x2170a7(_0x403569['result'][_0x2628('0x14')]);}})[_0x2628('0x15')](function(_0x51df16){logger[_0x2628('0x13')]('Attachment,\x20%s,\x20%s',_0xb6b945,_0x51df16);_0xbae7c3(_0x51df16);});});}exports[_0x2628('0x16')]=function(_0x374501){var _0x57a575=this;return new Promise(function(_0x2a6bed,_0x114fd2){return db['Attachment'][_0x2628('0x17')](_0x374501['body'],{'raw':_0x374501[_0x2628('0x18')]?_0x374501['options']['raw']===undefined?!![]:![]:!![]})[_0x2628('0xc')](function(_0xd4cec){logger[_0x2628('0xd')](_0x2628('0x16'),_0x374501);logger[_0x2628('0x10')](_0x2628('0x16'),_0x374501,JSON[_0x2628('0x12')](_0xd4cec));_0x2a6bed(_0xd4cec);})[_0x2628('0x15')](function(_0x1746fe){logger['error'](_0x2628('0x16'),_0x1746fe[_0x2628('0x14')],_0x374501);_0x114fd2(_0x57a575[_0x2628('0x13')](0x1f4,_0x1746fe[_0x2628('0x14')]));});});};
\ No newline at end of file
+var _0x26c2=['http','request','then','Attachment,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','info','result','catch','Attachment','body','options','raw','CreateAttachment','debug','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','jayson/promise','client'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x26c2,0x130));var _0x226c=function(_0x53cdaf,_0x37acc9){_0x53cdaf=_0x53cdaf-0x0;var _0xbd41b2=_0x26c2[_0x53cdaf];return _0xbd41b2;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0x226c('0x0'));var rs=require(_0x226c('0x1'));var fs=require('fs');var Redis=require(_0x226c('0x2'));var db=require(_0x226c('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x226c('0x4'))(_0x226c('0x5'));var config=require('../../config/environment');var jayson=require(_0x226c('0x6'));var client=jayson[_0x226c('0x7')][_0x226c('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x3c4e5d,_0x4306c9,_0x59804e){return new BPromise(function(_0x34cbc3,_0x461773){return client[_0x226c('0x9')](_0x3c4e5d,_0x59804e)[_0x226c('0xa')](function(_0x127f10){logger['info'](_0x226c('0xb'),_0x4306c9,_0x226c('0xc'));logger['debug']('Attachment,\x20%s,\x20%s,\x20%s',_0x4306c9,_0x226c('0xc'),JSON[_0x226c('0xd')](_0x127f10));if(_0x127f10[_0x226c('0xe')]){if(_0x127f10[_0x226c('0xe')][_0x226c('0xf')]===0x1f4){logger[_0x226c('0xe')](_0x226c('0xb'),_0x4306c9,_0x127f10['error']['message']);return _0x461773(_0x127f10[_0x226c('0xe')][_0x226c('0x10')]);}logger[_0x226c('0xe')](_0x226c('0xb'),_0x4306c9,_0x127f10['error']['message']);return _0x34cbc3(_0x127f10[_0x226c('0xe')][_0x226c('0x10')]);}else{logger[_0x226c('0x11')]('Attachment,\x20%s,\x20%s',_0x4306c9,'request\x20sent');_0x34cbc3(_0x127f10[_0x226c('0x12')][_0x226c('0x10')]);}})[_0x226c('0x13')](function(_0x45a804){logger[_0x226c('0xe')]('Attachment,\x20%s,\x20%s',_0x4306c9,_0x45a804);_0x461773(_0x45a804);});});}exports['CreateAttachment']=function(_0x5989e0){var _0x36fa74=this;return new Promise(function(_0x813b69,_0x37ee58){return db[_0x226c('0x14')]['create'](_0x5989e0[_0x226c('0x15')],{'raw':_0x5989e0[_0x226c('0x16')]?_0x5989e0[_0x226c('0x16')][_0x226c('0x17')]===undefined?!![]:![]:!![]})[_0x226c('0xa')](function(_0x3d412a){logger['info'](_0x226c('0x18'),_0x5989e0);logger[_0x226c('0x19')](_0x226c('0x18'),_0x5989e0,JSON[_0x226c('0xd')](_0x3d412a));_0x813b69(_0x3d412a);})[_0x226c('0x13')](function(_0x57eb9f){logger['error']('CreateAttachment',_0x57eb9f[_0x226c('0x10')],_0x5989e0);_0x37ee58(_0x36fa74[_0x226c('0xe')](0x1f4,_0x57eb9f['message']));});});};
\ No newline at end of file
diff --git a/server/api/attachment/index.js b/server/api/attachment/index.js
index a84c6b1..29ff1f3 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 _0x0b0e=['/:id/clone','clone','diskStorage','join','server/files/attachments/','format','now','originalname','replace','single','create','/:id','delete','destroy','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./attachment.controller','get','isAuthenticated','index','show','/:id/download','post'];(function(_0x13ea00,_0x12f610){var _0x1f7347=function(_0x34ae63){while(--_0x34ae63){_0x13ea00['push'](_0x13ea00['shift']());}};_0x1f7347(++_0x12f610);}(_0x0b0e,0x187));var _0xe0b0=function(_0xab0515,_0x4b8ab2){_0xab0515=_0xab0515-0x0;var _0x443d59=_0x0b0e[_0xab0515];return _0x443d59;};'use strict';var multer=require(_0xe0b0('0x0'));var util=require('util');var path=require(_0xe0b0('0x1'));var timeout=require('connect-timeout');var express=require(_0xe0b0('0x2'));var router=express[_0xe0b0('0x3')]();var fs_extra=require(_0xe0b0('0x4'));var auth=require(_0xe0b0('0x5'));var interaction=require(_0xe0b0('0x6'));var config=require(_0xe0b0('0x7'));var controller=require(_0xe0b0('0x8'));router[_0xe0b0('0x9')]('/',auth[_0xe0b0('0xa')](),controller[_0xe0b0('0xb')]);router[_0xe0b0('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xe0b0('0xc')]);router[_0xe0b0('0x9')](_0xe0b0('0xd'),auth[_0xe0b0('0xa')](),controller['download']);router[_0xe0b0('0xe')](_0xe0b0('0xf'),auth['isAuthenticated'](),controller[_0xe0b0('0x10')]);var upload=multer({'storage':multer[_0xe0b0('0x11')]({'destination':function(_0x574d96,_0x399320,_0x2cdad2){_0x2cdad2(null,path[_0xe0b0('0x12')](config['root'],_0xe0b0('0x13')));},'filename':function(_0x1c358a,_0x3cc19a,_0x45f914){_0x45f914(null,util[_0xe0b0('0x14')]('%s-%s',Date[_0xe0b0('0x15')](),_0x3cc19a[_0xe0b0('0x16')][_0xe0b0('0x17')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0xe0b0('0xe')]('/',upload[_0xe0b0('0x18')]('file'),controller[_0xe0b0('0x19')]);router['put'](_0xe0b0('0x1a'),auth[_0xe0b0('0xa')](),controller['update']);router[_0xe0b0('0x1b')]('/:id',auth[_0xe0b0('0xa')](),controller[_0xe0b0('0x1c')]);module['exports']=router;
\ No newline at end of file
+var _0x5f66=['fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/download','/:id/clone','clone','diskStorage','root','format','%s-%s','now','originalname','replace','post','single','file','create','delete','destroy','exports','util','connect-timeout','express','Router'];(function(_0x5db657,_0x2f40b3){var _0x2d6e70=function(_0x358ed2){while(--_0x358ed2){_0x5db657['push'](_0x5db657['shift']());}};_0x2d6e70(++_0x2f40b3);}(_0x5f66,0x1a0));var _0x65f6=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0x5f66[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require('multer');var util=require(_0x65f6('0x0'));var path=require('path');var timeout=require(_0x65f6('0x1'));var express=require(_0x65f6('0x2'));var router=express[_0x65f6('0x3')]();var fs_extra=require(_0x65f6('0x4'));var auth=require(_0x65f6('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x65f6('0x6'));var controller=require('./attachment.controller');router[_0x65f6('0x7')]('/',auth[_0x65f6('0x8')](),controller['index']);router['get'](_0x65f6('0x9'),auth[_0x65f6('0x8')](),controller[_0x65f6('0xa')]);router[_0x65f6('0x7')](_0x65f6('0xb'),auth[_0x65f6('0x8')](),controller['download']);router['post'](_0x65f6('0xc'),auth[_0x65f6('0x8')](),controller[_0x65f6('0xd')]);var upload=multer({'storage':multer[_0x65f6('0xe')]({'destination':function(_0x50d26d,_0x41a7fd,_0x571436){_0x571436(null,path['join'](config[_0x65f6('0xf')],'server/files/attachments/'));},'filename':function(_0x419819,_0x4862a5,_0x2f964a){_0x2f964a(null,util[_0x65f6('0x10')](_0x65f6('0x11'),Date[_0x65f6('0x12')](),_0x4862a5[_0x65f6('0x13')][_0x65f6('0x14')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x65f6('0x15')]('/',upload[_0x65f6('0x16')](_0x65f6('0x17')),controller[_0x65f6('0x18')]);router['put'](_0x65f6('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x65f6('0x19')](_0x65f6('0x9'),auth[_0x65f6('0x8')](),controller[_0x65f6('0x1a')]);module[_0x65f6('0x1b')]=router;
\ No newline at end of file
diff --git a/server/api/authActiveDirectory/authActiveDirectory.controller.js b/server/api/authActiveDirectory/authActiveDirectory.controller.js
index a36d6f8..8a4878c 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 _0xc140=['bluebird','util','../../mysqldb','../../components/auth/service','../../config/environment','../../config/logger','api','activedirectory','undefined','baseDN','url','domain','authenticate','inspect','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','error','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20configured','findOne','adSsoEnabled','blockDuration','then','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20enabled','name','password','salt','role','disabled','blockedAt','online','admin','user','agent','blocked','add','minutes','getLicense','catch','send','message','ad-login','Something\x20went\x20wrong,\x20please\x20try\x20again.','signToken','json','passport','passport-local','Strategy','moment','activedirectory2'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xc140,0xeb));var _0x0c14=function(_0x651909,_0x15c6b4){_0x651909=_0x651909-0x0;var _0x572299=_0xc140[_0x651909];return _0x572299;};'use strict';var passport=require(_0x0c14('0x0'));var LocalStrategy=require(_0x0c14('0x1'))[_0x0c14('0x2')];var moment=require(_0x0c14('0x3'));var ActiveDirectory=require(_0x0c14('0x4'));var BPromise=require(_0x0c14('0x5'));var util=require(_0x0c14('0x6'));var db=require(_0x0c14('0x7'))['db'];var authService=require(_0x0c14('0x8'));var utils=require('../../config/utils');var config=require(_0x0c14('0x9'));var logger=require(_0x0c14('0xa'))(_0x0c14('0xb'));function isActiveDirectoryConfigured(_0x52db98){var _0x52a7b5=![];if(typeof _0x52db98[_0x0c14('0xc')]!==_0x0c14('0xd')){_0x52a7b5=_0x52db98['activedirectory'][_0x0c14('0xe')]&&_0x52db98[_0x0c14('0xc')][_0x0c14('0xf')]&&_0x52db98[_0x0c14('0xc')][_0x0c14('0x10')];}return _0x52a7b5;}function adAuthenticate(_0xbad4b8,_0xdf8ae7,_0x1dc7cd){return new BPromise(function(_0x3f8e54,_0x40de26){try{var _0x3c1685=new ActiveDirectory(_0xbad4b8);_0x3c1685[_0x0c14('0x11')](_0xdf8ae7,_0x1dc7cd,function(_0x4272d9,_0x140fc7){if(_0x4272d9){logger['error']('Error\x20authenticate\x20%s:\x20%s',_0xdf8ae7,util[_0x0c14('0x12')](_0x4272d9,{'showHidden':![],'depth':null}));_0x40de26(_0x0c14('0x13'));}else if(!_0x140fc7){logger[_0x0c14('0x14')]('Error\x20authenticate\x20%s:\x20Wrong\x20credentials',_0xdf8ae7);_0x40de26(_0x0c14('0x13'));}else{_0x3f8e54(_0x140fc7);}});}catch(_0x1a599f){_0x40de26(_0x1a599f);}});}function ActiveDirectoryAuthenticate(_0x510f2a,_0x298b93,_0x48d92d,_0x419dde){var _0x3fb95d,_0x9d3d73;if(!isActiveDirectoryConfigured(config)){logger[_0x0c14('0x14')](_0x0c14('0x15'),_0x298b93);return _0x419dde(null,![],{'message':_0x0c14('0x13')});}return db['Setting'][_0x0c14('0x16')]({'where':{'id':0x1},'attributes':[_0x0c14('0x17'),_0x0c14('0x18')],'raw':!![]})[_0x0c14('0x19')](function(_0x5c82a4){_0x3fb95d=_0x5c82a4;if(!_0x3fb95d['adSsoEnabled']){logger[_0x0c14('0x14')](_0x0c14('0x1a'),_0x298b93);throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}return _0x510f2a['findOne']({'attributes':['id',_0x0c14('0x1b'),_0x0c14('0x1c'),_0x0c14('0x1d'),_0x0c14('0x1e'),_0x0c14('0x1f'),'blocked',_0x0c14('0x20'),_0x0c14('0x21')],'where':{'name':_0x298b93,'role':{'$or':[_0x0c14('0x22'),_0x0c14('0x23'),_0x0c14('0x24')]},'adSsoEnabled':!![]}});})[_0x0c14('0x19')](function(_0x14abf2){if(!_0x14abf2||_0x14abf2&&_0x14abf2[_0x0c14('0x1b')]!==_0x298b93){throw new Error(_0x0c14('0x13'));}_0x9d3d73=_0x14abf2;var _0xcd694d=_0x9d3d73[_0x0c14('0x1b')]+'@'+config[_0x0c14('0xc')][_0x0c14('0x10')];return adAuthenticate(config['activedirectory'],_0xcd694d,_0x48d92d);})['then'](function(_0x405838){if(_0x9d3d73[_0x0c14('0x1f')]){throw new Error(_0x0c14('0x13'));}if(_0x3fb95d['blockDuration']>0x0){if(_0x9d3d73[_0x0c14('0x25')]){if(moment(_0x9d3d73[_0x0c14('0x20')])[_0x0c14('0x26')](_0x3fb95d[_0x0c14('0x18')],_0x0c14('0x27'))>moment()){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}return utils['clearBlockUser'](_0x9d3d73,0x0,![],null)['then'](function(){return utils[_0x0c14('0x28')](_0x9d3d73);})['then'](function(){return _0x419dde(null,_0x9d3d73);});}else{return utils[_0x0c14('0x28')](_0x9d3d73)[_0x0c14('0x19')](function(){return _0x419dde(null,_0x9d3d73);});}}else{return utils[_0x0c14('0x28')](_0x9d3d73)[_0x0c14('0x19')](function(){return _0x419dde(null,_0x9d3d73);});}})[_0x0c14('0x29')](function(_0x25bfe0){return _0x419dde(null,![],_0x25bfe0);});}function handleError(_0x12da8e,_0x5dedd1,_0x22f0fa){return _0x12da8e['status'](_0x5dedd1||0x1f4)[_0x0c14('0x2a')]({'message':_0x22f0fa?_0x22f0fa[_0x0c14('0x2b')]||_0x22f0fa:''});}exports['login']=function(_0x30a3ca,_0x3ca3fa,_0xad64fa){passport[_0x0c14('0x11')](_0x0c14('0x2c'),function(_0x309bb8,_0x56ea3c,_0x4f82eb){var _0xc772e5=_0x309bb8||_0x4f82eb;if(_0xc772e5){return handleError(_0x3ca3fa,0x191,_0xc772e5);}if(!_0x56ea3c){return handleError(_0x3ca3fa,0x194,{'message':_0x0c14('0x2d')});}else{var _0x1cfb3e={'payload':{'id':_0x56ea3c['id'],'role':_0x56ea3c[_0x0c14('0x1e')]},'options':{'expiresIn':0x15180}};return authService[_0x0c14('0x2e')](_0x1cfb3e)[_0x0c14('0x19')](function(_0x1e431a){_0x3ca3fa[_0x0c14('0x2f')]({'id':_0x56ea3c['id'],'token':_0x1e431a,'statusCall':'','isAlreadyLogged':_0x56ea3c[_0x0c14('0x21')]});});}})(_0x30a3ca,_0x3ca3fa,_0xad64fa);};passport['use'](_0x0c14('0x2c'),new LocalStrategy({'usernameField':'name','passwordField':'password'},function(_0x2d54c0,_0xae5fea,_0x28ebaa){return ActiveDirectoryAuthenticate(db['User'],_0x2d54c0,_0xae5fea,_0x28ebaa);}));
\ No newline at end of file
+var _0xa16e=['blocked','online','admin','user','agent','disabled','blockedAt','add','minutes','clearBlockUser','then','getLicense','send','login','ad-login','Something\x20went\x20wrong,\x20please\x20try\x20again.','signToken','json','User','passport','moment','bluebird','util','../../mysqldb','../../config/utils','../../config/environment','../../config/logger','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','findOne','adSsoEnabled','blockDuration','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20enabled','name','password','role'];(function(_0x445382,_0x5e63c3){var _0x552f4f=function(_0x22cea6){while(--_0x22cea6){_0x445382['push'](_0x445382['shift']());}};_0x552f4f(++_0x5e63c3);}(_0xa16e,0x133));var _0xea16=function(_0x3eb9fb,_0x5b8af6){_0x3eb9fb=_0x3eb9fb-0x0;var _0x4c9d13=_0xa16e[_0x3eb9fb];return _0x4c9d13;};'use strict';var passport=require(_0xea16('0x0'));var LocalStrategy=require('passport-local')['Strategy'];var moment=require(_0xea16('0x1'));var ActiveDirectory=require('activedirectory2');var BPromise=require(_0xea16('0x2'));var util=require(_0xea16('0x3'));var db=require(_0xea16('0x4'))['db'];var authService=require('../../components/auth/service');var utils=require(_0xea16('0x5'));var config=require(_0xea16('0x6'));var logger=require(_0xea16('0x7'))(_0xea16('0x8'));function isActiveDirectoryConfigured(_0x20d943){var _0x28f55a=![];if(typeof _0x20d943[_0xea16('0x9')]!==_0xea16('0xa')){_0x28f55a=_0x20d943['activedirectory'][_0xea16('0xb')]&&_0x20d943[_0xea16('0x9')][_0xea16('0xc')]&&_0x20d943[_0xea16('0x9')][_0xea16('0xd')];}return _0x28f55a;}function adAuthenticate(_0x3a6012,_0x166af4,_0x39f145){return new BPromise(function(_0x492248,_0x1e4d8f){try{var _0x5125bb=new ActiveDirectory(_0x3a6012);_0x5125bb[_0xea16('0xe')](_0x166af4,_0x39f145,function(_0x53619f,_0x2fe24e){if(_0x53619f){logger[_0xea16('0xf')](_0xea16('0x10'),_0x166af4,util[_0xea16('0x11')](_0x53619f,{'showHidden':![],'depth':null}));_0x1e4d8f(_0xea16('0x12'));}else if(!_0x2fe24e){logger[_0xea16('0xf')](_0xea16('0x13'),_0x166af4);_0x1e4d8f(_0xea16('0x12'));}else{_0x492248(_0x2fe24e);}});}catch(_0x56a3e0){_0x1e4d8f(_0x56a3e0);}});}function ActiveDirectoryAuthenticate(_0x34995d,_0x52e507,_0x30b450,_0x57ec91){var _0x295b48,_0x11d6f8;if(!isActiveDirectoryConfigured(config)){logger[_0xea16('0xf')](_0xea16('0x14'),_0x52e507);return _0x57ec91(null,![],{'message':_0xea16('0x12')});}return db[_0xea16('0x15')][_0xea16('0x16')]({'where':{'id':0x1},'attributes':[_0xea16('0x17'),_0xea16('0x18')],'raw':!![]})['then'](function(_0xa9e50d){_0x295b48=_0xa9e50d;if(!_0x295b48['adSsoEnabled']){logger[_0xea16('0xf')](_0xea16('0x19'),_0x52e507);throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}return _0x34995d[_0xea16('0x16')]({'attributes':['id',_0xea16('0x1a'),_0xea16('0x1b'),'salt',_0xea16('0x1c'),'disabled',_0xea16('0x1d'),'blockedAt',_0xea16('0x1e')],'where':{'name':_0x52e507,'role':{'$or':[_0xea16('0x1f'),_0xea16('0x20'),_0xea16('0x21')]},'adSsoEnabled':!![]}});})['then'](function(_0xc53ea7){if(!_0xc53ea7||_0xc53ea7&&_0xc53ea7[_0xea16('0x1a')]!==_0x52e507){throw new Error(_0xea16('0x12'));}_0x11d6f8=_0xc53ea7;var _0x1493c5=_0x11d6f8[_0xea16('0x1a')]+'@'+config[_0xea16('0x9')][_0xea16('0xd')];return adAuthenticate(config[_0xea16('0x9')],_0x1493c5,_0x30b450);})['then'](function(_0x3501e5){if(_0x11d6f8[_0xea16('0x22')]){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}if(_0x295b48['blockDuration']>0x0){if(_0x11d6f8[_0xea16('0x1d')]){if(moment(_0x11d6f8[_0xea16('0x23')])[_0xea16('0x24')](_0x295b48[_0xea16('0x18')],_0xea16('0x25'))>moment()){throw new Error(_0xea16('0x12'));}return utils[_0xea16('0x26')](_0x11d6f8,0x0,![],null)[_0xea16('0x27')](function(){return utils[_0xea16('0x28')](_0x11d6f8);})[_0xea16('0x27')](function(){return _0x57ec91(null,_0x11d6f8);});}else{return utils['getLicense'](_0x11d6f8)[_0xea16('0x27')](function(){return _0x57ec91(null,_0x11d6f8);});}}else{return utils[_0xea16('0x28')](_0x11d6f8)['then'](function(){return _0x57ec91(null,_0x11d6f8);});}})['catch'](function(_0x28f4df){return _0x57ec91(null,![],_0x28f4df);});}function handleError(_0x559740,_0x5ce225,_0x179bc8){return _0x559740['status'](_0x5ce225||0x1f4)[_0xea16('0x29')]({'message':_0x179bc8?_0x179bc8['message']||_0x179bc8:''});}exports[_0xea16('0x2a')]=function(_0x4b09cf,_0x4c159f,_0x475f58){passport[_0xea16('0xe')](_0xea16('0x2b'),function(_0x2765cf,_0x31e1ef,_0x257398){var _0x50a107=_0x2765cf||_0x257398;if(_0x50a107){return handleError(_0x4c159f,0x191,_0x50a107);}if(!_0x31e1ef){return handleError(_0x4c159f,0x194,{'message':_0xea16('0x2c')});}else{var _0x387ed4={'payload':{'id':_0x31e1ef['id'],'role':_0x31e1ef['role']},'options':{'expiresIn':0x15180}};return authService[_0xea16('0x2d')](_0x387ed4)[_0xea16('0x27')](function(_0x1c4531){_0x4c159f[_0xea16('0x2e')]({'id':_0x31e1ef['id'],'token':_0x1c4531,'statusCall':'','isAlreadyLogged':_0x31e1ef[_0xea16('0x1e')]});});}})(_0x4b09cf,_0x4c159f,_0x475f58);};passport['use']('ad-login',new LocalStrategy({'usernameField':_0xea16('0x1a'),'passwordField':'password'},function(_0x5ac0c1,_0xc36f71,_0xc56334){return ActiveDirectoryAuthenticate(db[_0xea16('0x2f')],_0x5ac0c1,_0xc36f71,_0xc56334);}));
\ No newline at end of file
diff --git a/server/api/authActiveDirectory/index.js b/server/api/authActiveDirectory/index.js
index 893f77f..8a95f0f 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 _0x08c8=['post','exports','./authActiveDirectory.controller'];(function(_0x122096,_0x60c295){var _0x3d1966=function(_0x3d569e){while(--_0x3d569e){_0x122096['push'](_0x122096['shift']());}};_0x3d1966(++_0x60c295);}(_0x08c8,0x74));var _0x808c=function(_0x125f70,_0x24b0cb){_0x125f70=_0x125f70-0x0;var _0x45666b=_0x08c8[_0x125f70];return _0x45666b;};'use strict';var express=require('express');var router=express['Router']();var controller=require(_0x808c('0x0'));router[_0x808c('0x1')]('/',controller['login']);module[_0x808c('0x2')]=router;
\ No newline at end of file
+var _0xd77a=['Router','./authActiveDirectory.controller','post','exports','express'];(function(_0x2cf7a5,_0x44dd28){var _0x241fba=function(_0x5fc7b4){while(--_0x5fc7b4){_0x2cf7a5['push'](_0x2cf7a5['shift']());}};_0x241fba(++_0x44dd28);}(_0xd77a,0xa9));var _0xad77=function(_0x108933,_0x5ca893){_0x108933=_0x108933-0x0;var _0x5e2958=_0xd77a[_0x108933];return _0x5e2958;};'use strict';var express=require(_0xad77('0x0'));var router=express[_0xad77('0x1')]();var controller=require(_0xad77('0x2'));router[_0xad77('0x3')]('/',controller['login']);module[_0xad77('0x4')]=router;
\ No newline at end of file
diff --git a/server/api/authGoogle/authGoogle.controller.js b/server/api/authGoogle/authGoogle.controller.js
index 816eab1..520b22d 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(_0x494aab,_0x3b66e4){var _0x29cc18=function(_0xa69dd5){while(--_0xa69dd5){_0x494aab['push'](_0x494aab['shift']());}};_0x29cc18(++_0x3b66e4);}(_0x9957,0x93));var _0x7995=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x9957[_0x6c993a];return _0x27f547;};'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(_0x42fbbc,_0x379028){var _0x2abf24=function(_0x3bdf26){while(--_0x3bdf26){_0x42fbbc['push'](_0x42fbbc['shift']());}};_0x2abf24(++_0x379028);}(_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 222647d..20f6083 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 _0xec31=['Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','/callback','callback','login','exports','express','passport'];(function(_0x8a0dfe,_0x25015a){var _0x134296=function(_0x462534){while(--_0x462534){_0x8a0dfe['push'](_0x8a0dfe['shift']());}};_0x134296(++_0x25015a);}(_0xec31,0xa3));var _0x1ec3=function(_0x19719d,_0x2306e0){_0x19719d=_0x19719d-0x0;var _0x799191=_0xec31[_0x19719d];return _0x799191;};'use strict';var express=require(_0x1ec3('0x0'));var passport=require(_0x1ec3('0x1'));var router=express[_0x1ec3('0x2')]();var controller=require(_0x1ec3('0x3'));var userController=require(_0x1ec3('0x4'));var authService=require(_0x1ec3('0x5'));router[_0x1ec3('0x6')]('/',controller['login']);router[_0x1ec3('0x6')](_0x1ec3('0x7'),controller[_0x1ec3('0x8')],authService['isMiddleware'],userController[_0x1ec3('0x9')],authService['setTokenCookie']);module[_0x1ec3('0xa')]=router;
\ No newline at end of file
+var _0xe968=['passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','/callback','callback','isMiddleware','login','setTokenCookie','exports','express'];(function(_0x267166,_0x56456d){var _0x5cc698=function(_0xb07fef){while(--_0xb07fef){_0x267166['push'](_0x267166['shift']());}};_0x5cc698(++_0x56456d);}(_0xe968,0x110));var _0x8e96=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xe968[_0x3b380d];return _0x54502b;};'use strict';var express=require(_0x8e96('0x0'));var passport=require(_0x8e96('0x1'));var router=express[_0x8e96('0x2')]();var controller=require(_0x8e96('0x3'));var userController=require(_0x8e96('0x4'));var authService=require(_0x8e96('0x5'));router['get']('/',controller['login']);router[_0x8e96('0x6')](_0x8e96('0x7'),controller[_0x8e96('0x8')],authService[_0x8e96('0x9')],userController[_0x8e96('0xa')],authService[_0x8e96('0xb')]);module[_0x8e96('0xc')]=router;
\ No newline at end of file
diff --git a/server/api/authLocal/authLocal.controller.js b/server/api/authLocal/authLocal.controller.js
index 1f10d34..e882bf6 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 _0x476f=['send','message','login','local-login','Something\x20went\x20wrong,\x20please\x20try\x20again.','signToken','json','online','forgot','body','Email\x20parameter\x20is\x20missing','generate','trim','User','find','This\x20email\x20is\x20not\x20registered.','The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.','The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.','resetPasswordToken','resetPasswordExpires','now','xCally\x20Motion\x20Password\x20Reset','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','https://','/reset/','If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a','Reset\x20Email\x20sent!','params','token','enforcePasswordHistory','passwordHistoryLimit','securePassword','previousPasswords','validatePasswordHistory','password','save','Password\x20reset!','util','passport-local','Strategy','jayson/promise','randomstring','moment','../../components/auth/service','../../config/utils','client','Setting','findOne','allowedLoginAttempts','blockDuration','name','salt','role','disabled','blocked','blockedAt','loginAttempts','admin','then','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','authenticate','add','clearBlockUser','minutes','getLicense','catch','email','Smtp','CloudProvider','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','getSmtpOptions','merge','\x22%s\x22\x20<%s>','user','request','SendMail','error','format','SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','stringify','status'];(function(_0x4d1487,_0x456e4e){var _0x9dd683=function(_0x29fd2d){while(--_0x29fd2d){_0x4d1487['push'](_0x4d1487['shift']());}};_0x9dd683(++_0x456e4e);}(_0x476f,0x1ba));var _0xf476=function(_0x2f239b,_0xb29360){_0x2f239b=_0x2f239b-0x0;var _0x5b279d=_0x476f[_0x2f239b];return _0x5b279d;};'use strict';var util=require(_0xf476('0x0'));var passport=require('passport');var LocalStrategy=require(_0xf476('0x1'))[_0xf476('0x2')];var jayson=require(_0xf476('0x3'));var _=require('lodash');var rs=require(_0xf476('0x4'));var moment=require(_0xf476('0x5'));var db=require('../../mysqldb')['db'];var authService=require(_0xf476('0x6'));var utils=require(_0xf476('0x7'));var client=jayson[_0xf476('0x8')]['http']({'port':0x232b});function localAuthenticate(_0x19ceb8,_0x3f84e6,_0x51caec,_0x2565c0){var _0x59db73,_0x463451;return db[_0xf476('0x9')][_0xf476('0xa')]({'where':{'id':0x1},'attributes':[_0xf476('0xb'),_0xf476('0xc')],'raw':!![]})['then'](function(_0x59ede4){_0x59db73=_0x59ede4;return _0x19ceb8[_0xf476('0xa')]({'attributes':['id',_0xf476('0xd'),'password',_0xf476('0xe'),_0xf476('0xf'),_0xf476('0x10'),_0xf476('0x11'),_0xf476('0x12'),_0xf476('0x13')],'where':{'name':_0x3f84e6,'role':{'$or':[_0xf476('0x14'),'user','agent']}}});})[_0xf476('0x15')](function(_0x420546){if(!_0x420546||_0x420546&&_0x420546[_0xf476('0xd')]!==_0x3f84e6){throw new Error(_0xf476('0x16'));}else{_0x463451=_0x420546;return _0x463451;}})['then'](function(){_0x463451[_0xf476('0x17')](_0x51caec,function(_0x121248,_0xd691fb){var _0x1c81b0=_0x463451['loginAttempts']+0x1;if(_0x121248){return _0x2565c0(_0x121248);}else if(!_0xd691fb){if(_0x463451[_0xf476('0x10')]){return _0x2565c0(null,![],{'message':_0xf476('0x16')});}else if(_0x59db73[_0xf476('0xb')]>0x0){if(_0x463451[_0xf476('0x11')]){if(_0x59db73[_0xf476('0xc')]>0x0){if(moment(_0x463451['blockedAt'])[_0xf476('0x18')](_0x59db73['blockDuration'],'minutes')>moment()){return _0x2565c0(null,![],{'message':_0xf476('0x16')});}else{return utils[_0xf476('0x19')](_0x463451,_0x1c81b0,![],null)[_0xf476('0x15')](function(){return _0x2565c0(null,![],{'message':_0xf476('0x16')});});}}else{return _0x2565c0(null,![],{'message':_0xf476('0x16')});}}else{if(_0x1c81b0>=_0x59db73['allowedLoginAttempts']){return utils[_0xf476('0x19')](_0x463451,0x0,!![],moment())[_0xf476('0x15')](function(){return _0x2565c0(null,![],{'message':_0xf476('0x16')});});}else{return utils[_0xf476('0x19')](_0x463451,_0x1c81b0,![],null)[_0xf476('0x15')](function(){return _0x2565c0(null,![],{'message':_0xf476('0x16')});});}}}else{return _0x2565c0(null,![],{'message':_0xf476('0x16')});}}else{if(_0x463451[_0xf476('0x10')]){return _0x2565c0(null,![],{'message':_0xf476('0x16')});}else if(_0x59db73[_0xf476('0xb')]>0x0){if(_0x463451[_0xf476('0x11')]){if(_0x59db73[_0xf476('0xc')]>0x0){if(moment(_0x463451[_0xf476('0x12')])[_0xf476('0x18')](_0x59db73[_0xf476('0xc')],_0xf476('0x1a'))>moment()){return _0x2565c0(null,![],{'message':_0xf476('0x16')});}else{return utils['clearBlockUser'](_0x463451,0x0,![],null)[_0xf476('0x15')](function(){return utils[_0xf476('0x1b')](_0x463451);})[_0xf476('0x15')](function(){return _0x2565c0(null,_0x463451);});}}else{return _0x2565c0(null,![],{'message':_0xf476('0x16')});}}else{return utils[_0xf476('0x19')](_0x463451,0x0,![],null)['then'](function(){return utils[_0xf476('0x1b')](_0x463451);})[_0xf476('0x15')](function(){return _0x2565c0(null,_0x463451);})[_0xf476('0x1c')](function(_0x417c43){return _0x2565c0(null,![],_0x417c43);});}}else{if(_0x463451['blocked']){return _0x2565c0(null,![],{'message':_0xf476('0x16')});}else{return utils['getLicense'](_0x463451)['then'](function(){return _0x2565c0(null,_0x463451);});}}}});})[_0xf476('0x1c')](function(_0x48f16f){return _0x2565c0(null,![],_0x48f16f);});}function sendServiceMail(_0x536acd){return db['MailAccount']['find']({'where':{'service':!![]},'attributes':['id',_0xf476('0xd'),_0xf476('0x1d')],'include':[{'model':db['MailServerOut'],'as':_0xf476('0x1e'),'include':[{'model':db[_0xf476('0x1f')],'as':_0xf476('0x1f')}]}]})[_0xf476('0x15')](function(_0x542170){if(!_0x542170){throw new Error(_0xf476('0x20'));}var _0x666b71=_0x542170[_0xf476('0x21')]();var _0x44e442={'account':_0x666b71,'message':_[_0xf476('0x22')]({'from':util['format'](_0xf476('0x23'),_0x542170[_0xf476('0xd')],_0x542170[_0xf476('0x1d')]||_0x542170[_0xf476('0x1e')][_0xf476('0x24')])},_0x536acd)};return client[_0xf476('0x25')](_0xf476('0x26'),_0x44e442);})['then'](function(_0x397919){if(_0x397919[_0xf476('0x27')]){throw new Error(util[_0xf476('0x28')](_0xf476('0x29'),_0x397919[_0xf476('0x27')]['message']||JSON[_0xf476('0x2a')](_0x397919[_0xf476('0x27')])));}return!![];});}function handleError(_0xef30e8,_0x357c36,_0x3bf0e3){return _0xef30e8[_0xf476('0x2b')](_0x357c36||0x1f4)[_0xf476('0x2c')]({'message':_0x3bf0e3?_0x3bf0e3[_0xf476('0x2d')]||_0x3bf0e3:''});}exports[_0xf476('0x2e')]=function(_0x5aae2f,_0x23f7a9,_0x5a0247){passport['authenticate'](_0xf476('0x2f'),function(_0x4e0d13,_0x1f1137,_0x5ca010){var _0x203cc7=_0x4e0d13||_0x5ca010;if(_0x203cc7){return handleError(_0x23f7a9,0x191,_0x203cc7);}if(!_0x1f1137){return handleError(_0x23f7a9,0x194,{'message':_0xf476('0x30')});}else{var _0x8a040b={'payload':{'id':_0x1f1137['id'],'role':_0x1f1137[_0xf476('0xf')]},'options':{'expiresIn':0x15180}};return authService[_0xf476('0x31')](_0x8a040b)['then'](function(_0x5a8b0d){_0x23f7a9[_0xf476('0x32')]({'id':_0x1f1137['id'],'token':_0x5a8b0d,'statusCall':'','isAlreadyLogged':_0x1f1137[_0xf476('0x33')]});});}})(_0x5aae2f,_0x23f7a9,_0x5a0247);};exports[_0xf476('0x34')]=function(_0x28f50a,_0x4ef1c2){if(!_0x28f50a[_0xf476('0x35')][_0xf476('0x1d')]){return handleError(_0x4ef1c2,0x1f4,{'message':_0xf476('0x36')});}var _0x4a2ceb=rs[_0xf476('0x37')]();_0x28f50a[_0xf476('0x35')]['email']=_0x28f50a['body'][_0xf476('0x1d')][_0xf476('0x38')]()['toLowerCase']();var _0x2bc8c4;return db[_0xf476('0x9')][_0xf476('0xa')]({'where':{'id':0x1},'attributes':[_0xf476('0xb'),_0xf476('0xc')],'raw':!![]})[_0xf476('0x15')](function(_0x32c3fa){_0x2bc8c4=_0x32c3fa;return db[_0xf476('0x39')][_0xf476('0x3a')]({'where':{'email':_0x28f50a['body'][_0xf476('0x1d')]}});})[_0xf476('0x15')](function(_0x3792c1){if(!_0x3792c1){throw new Error(_0xf476('0x3b'));}if(_0x3792c1[_0xf476('0x10')]){throw new Error(_0xf476('0x3c'));}if(_0x3792c1[_0xf476('0x11')]){if(moment(_0x3792c1[_0xf476('0x12')])[_0xf476('0x18')](_0x2bc8c4['blockDuration'],'minutes')>moment()){throw new Error(_0xf476('0x3d'));}else{_0x3792c1[_0xf476('0x11')]=![];_0x3792c1[_0xf476('0x12')]=null;}}_0x3792c1[_0xf476('0x3e')]=_0x4a2ceb;_0x3792c1[_0xf476('0x3f')]=Date[_0xf476('0x40')]()+0x36ee80;return _0x3792c1['save']();})['then'](function(){return sendServiceMail({'to':_0x28f50a['body']['email'],'subject':_0xf476('0x41'),'text':'You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a'+_0xf476('0x42')+_0xf476('0x43')+_0x28f50a['headers']['host']+_0xf476('0x44')+_0x4a2ceb+'\x0a\x0a'+_0xf476('0x45')});})[_0xf476('0x15')](function(){_0x4ef1c2[_0xf476('0x2b')](0xc8)[_0xf476('0x2c')]({'message':_0xf476('0x46')});})['catch'](function(_0x201a14){return handleError(_0x4ef1c2,0x1f4,_0x201a14);});};exports['reset']=function(_0x4725d5,_0x45cbb2){return db[_0xf476('0x39')][_0xf476('0x3a')]({'where':{'resetPasswordToken':_0x4725d5[_0xf476('0x47')][_0xf476('0x48')],'resetPasswordExpires':{'$gt':Date[_0xf476('0x40')]()}}})[_0xf476('0x15')](function(_0xbb06e5){if(!_0xbb06e5){throw new Error('Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.');}return db['Setting']['findOne']({'attributes':['id','securePassword',_0xf476('0x49'),_0xf476('0x4a')]})['then'](function(_0x315007){if(_0x315007[_0xf476('0x4b')])authService['validatePasswordPattern'](_0x4725d5[_0xf476('0x35')]['password']);if(!_0x315007[_0xf476('0x49')]||!_0xbb06e5[_0xf476('0x4c')])return _0xbb06e5;authService[_0xf476('0x4d')](_0x4725d5[_0xf476('0x35')][_0xf476('0x4e')],_0xbb06e5['previousPasswords'],_0x315007[_0xf476('0x4a')]);return _0xbb06e5;})[_0xf476('0x15')](function(){_0xbb06e5['password']=_0x4725d5[_0xf476('0x35')][_0xf476('0x4e')];_0xbb06e5['resetPasswordToken']=null;_0xbb06e5[_0xf476('0x3f')]=null;return _0xbb06e5[_0xf476('0x4f')]();});})[_0xf476('0x15')](function(){_0x45cbb2['status'](0xc8)[_0xf476('0x2c')]({'message':_0xf476('0x50')});})[_0xf476('0x1c')](function(_0x4c0f7c){return handleError(_0x45cbb2,0x1f4,_0x4c0f7c);});};passport['use']('local-login',new LocalStrategy({'usernameField':_0xf476('0xd'),'passwordField':'password'},function(_0x86dd70,_0x41b797,_0x88082){return localAuthenticate(db[_0xf476('0x39')],_0x86dd70,_0x41b797,_0x88082);}));
\ No newline at end of file
+var _0x4cd4=['The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.','resetPasswordToken','resetPasswordExpires','now','save','xCally\x20Motion\x20Password\x20Reset','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','https://','headers','host','/reset/','If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a','params','token','Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.','securePassword','enforcePasswordHistory','passwordHistoryLimit','previousPasswords','validatePasswordHistory','util','passport','passport-local','Strategy','jayson/promise','lodash','moment','../../mysqldb','../../components/auth/service','../../config/utils','client','http','Setting','findOne','allowedLoginAttempts','blockDuration','then','name','password','role','disabled','blocked','loginAttempts','admin','user','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','authenticate','blockedAt','add','minutes','clearBlockUser','getLicense','catch','MailAccount','find','email','MailServerOut','Smtp','CloudProvider','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','getSmtpOptions','merge','format','request','SendMail','error','SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','message','stringify','status','send','local-login','signToken','online','forgot','body','Email\x20parameter\x20is\x20missing','generate','trim','toLowerCase','User','This\x20email\x20is\x20not\x20registered.','The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.'];(function(_0x3503ab,_0x1a6666){var _0x1e6bc4=function(_0x20dffa){while(--_0x20dffa){_0x3503ab['push'](_0x3503ab['shift']());}};_0x1e6bc4(++_0x1a6666);}(_0x4cd4,0x1b3));var _0x44cd=function(_0x324669,_0x55bbe8){_0x324669=_0x324669-0x0;var _0x320806=_0x4cd4[_0x324669];return _0x320806;};'use strict';var util=require(_0x44cd('0x0'));var passport=require(_0x44cd('0x1'));var LocalStrategy=require(_0x44cd('0x2'))[_0x44cd('0x3')];var jayson=require(_0x44cd('0x4'));var _=require(_0x44cd('0x5'));var rs=require('randomstring');var moment=require(_0x44cd('0x6'));var db=require(_0x44cd('0x7'))['db'];var authService=require(_0x44cd('0x8'));var utils=require(_0x44cd('0x9'));var client=jayson[_0x44cd('0xa')][_0x44cd('0xb')]({'port':0x232b});function localAuthenticate(_0x1e1d2b,_0x523536,_0x89e119,_0x49df17){var _0x2343c5,_0x3befd6;return db[_0x44cd('0xc')][_0x44cd('0xd')]({'where':{'id':0x1},'attributes':[_0x44cd('0xe'),_0x44cd('0xf')],'raw':!![]})[_0x44cd('0x10')](function(_0x24a4cd){_0x2343c5=_0x24a4cd;return _0x1e1d2b[_0x44cd('0xd')]({'attributes':['id',_0x44cd('0x11'),_0x44cd('0x12'),'salt',_0x44cd('0x13'),_0x44cd('0x14'),_0x44cd('0x15'),'blockedAt',_0x44cd('0x16')],'where':{'name':_0x523536,'role':{'$or':[_0x44cd('0x17'),_0x44cd('0x18'),'agent']}}});})[_0x44cd('0x10')](function(_0x305aca){if(!_0x305aca||_0x305aca&&_0x305aca[_0x44cd('0x11')]!==_0x523536){throw new Error(_0x44cd('0x19'));}else{_0x3befd6=_0x305aca;return _0x3befd6;}})['then'](function(){_0x3befd6[_0x44cd('0x1a')](_0x89e119,function(_0x55a16b,_0x46088c){var _0x12ad91=_0x3befd6[_0x44cd('0x16')]+0x1;if(_0x55a16b){return _0x49df17(_0x55a16b);}else if(!_0x46088c){if(_0x3befd6[_0x44cd('0x14')]){return _0x49df17(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else if(_0x2343c5[_0x44cd('0xe')]>0x0){if(_0x3befd6['blocked']){if(_0x2343c5[_0x44cd('0xf')]>0x0){if(moment(_0x3befd6[_0x44cd('0x1b')])[_0x44cd('0x1c')](_0x2343c5[_0x44cd('0xf')],_0x44cd('0x1d'))>moment()){return _0x49df17(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else{return utils['clearBlockUser'](_0x3befd6,_0x12ad91,![],null)[_0x44cd('0x10')](function(){return _0x49df17(null,![],{'message':_0x44cd('0x19')});});}}else{return _0x49df17(null,![],{'message':_0x44cd('0x19')});}}else{if(_0x12ad91>=_0x2343c5[_0x44cd('0xe')]){return utils[_0x44cd('0x1e')](_0x3befd6,0x0,!![],moment())[_0x44cd('0x10')](function(){return _0x49df17(null,![],{'message':_0x44cd('0x19')});});}else{return utils[_0x44cd('0x1e')](_0x3befd6,_0x12ad91,![],null)[_0x44cd('0x10')](function(){return _0x49df17(null,![],{'message':_0x44cd('0x19')});});}}}else{return _0x49df17(null,![],{'message':_0x44cd('0x19')});}}else{if(_0x3befd6[_0x44cd('0x14')]){return _0x49df17(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else if(_0x2343c5['allowedLoginAttempts']>0x0){if(_0x3befd6[_0x44cd('0x15')]){if(_0x2343c5[_0x44cd('0xf')]>0x0){if(moment(_0x3befd6['blockedAt'])[_0x44cd('0x1c')](_0x2343c5[_0x44cd('0xf')],_0x44cd('0x1d'))>moment()){return _0x49df17(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else{return utils['clearBlockUser'](_0x3befd6,0x0,![],null)[_0x44cd('0x10')](function(){return utils[_0x44cd('0x1f')](_0x3befd6);})[_0x44cd('0x10')](function(){return _0x49df17(null,_0x3befd6);});}}else{return _0x49df17(null,![],{'message':_0x44cd('0x19')});}}else{return utils[_0x44cd('0x1e')](_0x3befd6,0x0,![],null)[_0x44cd('0x10')](function(){return utils[_0x44cd('0x1f')](_0x3befd6);})[_0x44cd('0x10')](function(){return _0x49df17(null,_0x3befd6);})[_0x44cd('0x20')](function(_0x29bd67){return _0x49df17(null,![],_0x29bd67);});}}else{if(_0x3befd6[_0x44cd('0x15')]){return _0x49df17(null,![],{'message':_0x44cd('0x19')});}else{return utils[_0x44cd('0x1f')](_0x3befd6)['then'](function(){return _0x49df17(null,_0x3befd6);});}}}});})[_0x44cd('0x20')](function(_0x1d02e5){return _0x49df17(null,![],_0x1d02e5);});}function sendServiceMail(_0x114180){return db[_0x44cd('0x21')][_0x44cd('0x22')]({'where':{'service':!![]},'attributes':['id',_0x44cd('0x11'),_0x44cd('0x23')],'include':[{'model':db[_0x44cd('0x24')],'as':_0x44cd('0x25'),'include':[{'model':db[_0x44cd('0x26')],'as':_0x44cd('0x26')}]}]})[_0x44cd('0x10')](function(_0x5b29bd){if(!_0x5b29bd){throw new Error(_0x44cd('0x27'));}var _0x52147e=_0x5b29bd[_0x44cd('0x28')]();var _0x139f0b={'account':_0x52147e,'message':_[_0x44cd('0x29')]({'from':util[_0x44cd('0x2a')]('\x22%s\x22\x20<%s>',_0x5b29bd[_0x44cd('0x11')],_0x5b29bd['email']||_0x5b29bd[_0x44cd('0x25')]['user'])},_0x114180)};return client[_0x44cd('0x2b')](_0x44cd('0x2c'),_0x139f0b);})[_0x44cd('0x10')](function(_0x594fca){if(_0x594fca[_0x44cd('0x2d')]){throw new Error(util[_0x44cd('0x2a')](_0x44cd('0x2e'),_0x594fca[_0x44cd('0x2d')][_0x44cd('0x2f')]||JSON[_0x44cd('0x30')](_0x594fca['error'])));}return!![];});}function handleError(_0x152145,_0x34c587,_0xf6362e){return _0x152145[_0x44cd('0x31')](_0x34c587||0x1f4)[_0x44cd('0x32')]({'message':_0xf6362e?_0xf6362e[_0x44cd('0x2f')]||_0xf6362e:''});}exports['login']=function(_0x2f1824,_0x42e912,_0x3d2712){passport['authenticate'](_0x44cd('0x33'),function(_0x4b35d4,_0x338272,_0x5a35a4){var _0xe9ce7c=_0x4b35d4||_0x5a35a4;if(_0xe9ce7c){return handleError(_0x42e912,0x191,_0xe9ce7c);}if(!_0x338272){return handleError(_0x42e912,0x194,{'message':'Something\x20went\x20wrong,\x20please\x20try\x20again.'});}else{var _0x5113c7={'payload':{'id':_0x338272['id'],'role':_0x338272[_0x44cd('0x13')]},'options':{'expiresIn':0x15180}};return authService[_0x44cd('0x34')](_0x5113c7)[_0x44cd('0x10')](function(_0x2963da){_0x42e912['json']({'id':_0x338272['id'],'token':_0x2963da,'statusCall':'','isAlreadyLogged':_0x338272[_0x44cd('0x35')]});});}})(_0x2f1824,_0x42e912,_0x3d2712);};exports[_0x44cd('0x36')]=function(_0x54c7d5,_0x2a088b){if(!_0x54c7d5[_0x44cd('0x37')][_0x44cd('0x23')]){return handleError(_0x2a088b,0x1f4,{'message':_0x44cd('0x38')});}var _0x25ab16=rs[_0x44cd('0x39')]();_0x54c7d5[_0x44cd('0x37')]['email']=_0x54c7d5[_0x44cd('0x37')][_0x44cd('0x23')][_0x44cd('0x3a')]()[_0x44cd('0x3b')]();var _0x33e365;return db[_0x44cd('0xc')][_0x44cd('0xd')]({'where':{'id':0x1},'attributes':['allowedLoginAttempts','blockDuration'],'raw':!![]})[_0x44cd('0x10')](function(_0x46ab82){_0x33e365=_0x46ab82;return db[_0x44cd('0x3c')][_0x44cd('0x22')]({'where':{'email':_0x54c7d5[_0x44cd('0x37')][_0x44cd('0x23')]}});})[_0x44cd('0x10')](function(_0x487b6a){if(!_0x487b6a){throw new Error(_0x44cd('0x3d'));}if(_0x487b6a[_0x44cd('0x14')]){throw new Error(_0x44cd('0x3e'));}if(_0x487b6a[_0x44cd('0x15')]){if(moment(_0x487b6a[_0x44cd('0x1b')])['add'](_0x33e365[_0x44cd('0xf')],_0x44cd('0x1d'))>moment()){throw new Error(_0x44cd('0x3f'));}else{_0x487b6a['blocked']=![];_0x487b6a[_0x44cd('0x1b')]=null;}}_0x487b6a[_0x44cd('0x40')]=_0x25ab16;_0x487b6a[_0x44cd('0x41')]=Date[_0x44cd('0x42')]()+0x36ee80;return _0x487b6a[_0x44cd('0x43')]();})[_0x44cd('0x10')](function(){return sendServiceMail({'to':_0x54c7d5['body'][_0x44cd('0x23')],'subject':_0x44cd('0x44'),'text':'You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a'+_0x44cd('0x45')+_0x44cd('0x46')+_0x54c7d5[_0x44cd('0x47')][_0x44cd('0x48')]+_0x44cd('0x49')+_0x25ab16+'\x0a\x0a'+_0x44cd('0x4a')});})['then'](function(){_0x2a088b[_0x44cd('0x31')](0xc8)['send']({'message':'Reset\x20Email\x20sent!'});})[_0x44cd('0x20')](function(_0x1c8fbc){return handleError(_0x2a088b,0x1f4,_0x1c8fbc);});};exports['reset']=function(_0x33744e,_0x1f9e6a){return db[_0x44cd('0x3c')][_0x44cd('0x22')]({'where':{'resetPasswordToken':_0x33744e[_0x44cd('0x4b')][_0x44cd('0x4c')],'resetPasswordExpires':{'$gt':Date['now']()}}})[_0x44cd('0x10')](function(_0x8dc812){if(!_0x8dc812){throw new Error(_0x44cd('0x4d'));}return db[_0x44cd('0xc')][_0x44cd('0xd')]({'attributes':['id',_0x44cd('0x4e'),_0x44cd('0x4f'),_0x44cd('0x50')]})[_0x44cd('0x10')](function(_0x552bec){if(_0x552bec[_0x44cd('0x4e')])authService['validatePasswordPattern'](_0x33744e[_0x44cd('0x37')][_0x44cd('0x12')]);if(!_0x552bec[_0x44cd('0x4f')]||!_0x8dc812[_0x44cd('0x51')])return _0x8dc812;authService[_0x44cd('0x52')](_0x33744e[_0x44cd('0x37')][_0x44cd('0x12')],_0x8dc812[_0x44cd('0x51')],_0x552bec['passwordHistoryLimit']);return _0x8dc812;})[_0x44cd('0x10')](function(){_0x8dc812[_0x44cd('0x12')]=_0x33744e[_0x44cd('0x37')][_0x44cd('0x12')];_0x8dc812[_0x44cd('0x40')]=null;_0x8dc812[_0x44cd('0x41')]=null;return _0x8dc812['save']();});})[_0x44cd('0x10')](function(){_0x1f9e6a['status'](0xc8)[_0x44cd('0x32')]({'message':'Password\x20reset!'});})['catch'](function(_0xedd0d5){return handleError(_0x1f9e6a,0x1f4,_0xedd0d5);});};passport['use'](_0x44cd('0x33'),new LocalStrategy({'usernameField':'name','passwordField':_0x44cd('0x12')},function(_0x2da4e8,_0x397f92,_0x5b267c){return localAuthenticate(db[_0x44cd('0x3c')],_0x2da4e8,_0x397f92,_0x5b267c);}));
\ No newline at end of file
diff --git a/server/api/authLocal/index.js b/server/api/authLocal/index.js
index c3f5c07..d2d7cd1 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 _0xaed4=['/forgot','forgot','reset','Router','./authLocal.controller','post','login'];(function(_0x54c22f,_0x1ae6b6){var _0x128e35=function(_0x2541fc){while(--_0x2541fc){_0x54c22f['push'](_0x54c22f['shift']());}};_0x128e35(++_0x1ae6b6);}(_0xaed4,0x1ae));var _0x4aed=function(_0x301755,_0xd69dc3){_0x301755=_0x301755-0x0;var _0x2dac9a=_0xaed4[_0x301755];return _0x2dac9a;};'use strict';var express=require('express');var router=express[_0x4aed('0x0')]();var controller=require(_0x4aed('0x1'));router[_0x4aed('0x2')]('/',controller[_0x4aed('0x3')]);router[_0x4aed('0x2')](_0x4aed('0x4'),controller[_0x4aed('0x5')]);router[_0x4aed('0x2')]('/reset/:token',controller[_0x4aed('0x6')]);module['exports']=router;
\ No newline at end of file
+var _0x1619=['/reset/:token','reset','exports','Router','./authLocal.controller','post','login','/forgot','forgot'];(function(_0x4a1234,_0x46885f){var _0x1b9b14=function(_0x59dcd3){while(--_0x59dcd3){_0x4a1234['push'](_0x4a1234['shift']());}};_0x1b9b14(++_0x46885f);}(_0x1619,0x162));var _0x9161=function(_0x4a67ae,_0x51ac3d){_0x4a67ae=_0x4a67ae-0x0;var _0x53b8ad=_0x1619[_0x4a67ae];return _0x53b8ad;};'use strict';var express=require('express');var router=express[_0x9161('0x0')]();var controller=require(_0x9161('0x1'));router[_0x9161('0x2')]('/',controller[_0x9161('0x3')]);router[_0x9161('0x2')](_0x9161('0x4'),controller[_0x9161('0x5')]);router['post'](_0x9161('0x6'),controller[_0x9161('0x7')]);module[_0x9161('0x8')]=router;
\ No newline at end of file
diff --git a/server/api/automation/automation.attributes.js b/server/api/automation/automation.attributes.js
index b8d2fba..0d7a8c7 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 _0x9beb=['sequelize','exports','STRING','INTEGER'];(function(_0x586923,_0x44fab2){var _0x4319e9=function(_0x238112){while(--_0x238112){_0x586923['push'](_0x586923['shift']());}};_0x4319e9(++_0x44fab2);}(_0x9beb,0x1e8));var _0xb9be=function(_0x4fa281,_0x2dd0f7){_0x4fa281=_0x4fa281-0x0;var _0x50e1f5=_0x9beb[_0x4fa281];return _0x50e1f5;};'use strict';var Sequelize=require(_0xb9be('0x0'));module[_0xb9be('0x1')]={'name':{'type':Sequelize[_0xb9be('0x2')],'allowNull':![]},'channel':{'type':Sequelize[_0xb9be('0x2')]},'description':{'type':Sequelize[_0xb9be('0x2')]},'status':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'timeout':{'type':Sequelize[_0xb9be('0x3')],'defaultValue':0xa}};
\ No newline at end of file
+var _0x2a98=['BOOLEAN','INTEGER','sequelize','STRING'];(function(_0xe3cfba,_0x14d39e){var _0x3feb92=function(_0x9a4ab6){while(--_0x9a4ab6){_0xe3cfba['push'](_0xe3cfba['shift']());}};_0x3feb92(++_0x14d39e);}(_0x2a98,0xea));var _0x82a9=function(_0xffeec0,_0x36a534){_0xffeec0=_0xffeec0-0x0;var _0x5f50f4=_0x2a98[_0xffeec0];return _0x5f50f4;};'use strict';var Sequelize=require(_0x82a9('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'channel':{'type':Sequelize[_0x82a9('0x1')]},'description':{'type':Sequelize[_0x82a9('0x1')]},'status':{'type':Sequelize[_0x82a9('0x2')],'defaultValue':![]},'timeout':{'type':Sequelize[_0x82a9('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 eba8691..146c2c2 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 _0xbac5=['fieldName','key','model','query','keys','attributes','intersection','fields','length','hasOwnProperty','limit','order','sort','filters','pick','filter','where','merge','type','VIRTUAL','options','include','rows','show','params','includeAll','find','catch','create','body','ids','omit','getConditions','Condition','nolimit','addActions','Action','getActions','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','undefined','count','offset','apply','reject','then','destroy','error','stack','name','send','index','map','Automation','rawAttributes'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0xbac5,0x172));var _0x5bac=function(_0x2dc7c9,_0x3a15f8){_0x2dc7c9=_0x2dc7c9-0x0;var _0x3e6536=_0xbac5[_0x2dc7c9];return _0x3e6536;};'use strict';var emlformat=require(_0x5bac('0x0'));var rimraf=require(_0x5bac('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x5bac('0x2'));var rp=require(_0x5bac('0x3'));var moment=require(_0x5bac('0x4'));var BPromise=require(_0x5bac('0x5'));var Mustache=require('mustache');var util=require(_0x5bac('0x6'));var path=require(_0x5bac('0x7'));var sox=require(_0x5bac('0x8'));var csv=require(_0x5bac('0x9'));var ejs=require(_0x5bac('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x5bac('0xb'));var squel=require(_0x5bac('0xc'));var crypto=require(_0x5bac('0xd'));var jsforce=require(_0x5bac('0xe'));var deskjs=require(_0x5bac('0xf'));var toCsv=require(_0x5bac('0x9'));var querystring=require('querystring');var Papa=require(_0x5bac('0x10'));var Redis=require(_0x5bac('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x5bac('0x12'));var as=require(_0x5bac('0x13'));var hardwareService=require(_0x5bac('0x14'));var logger=require(_0x5bac('0x15'))(_0x5bac('0x16'));var utils=require('../../config/utils');var config=require(_0x5bac('0x17'));var licenseUtil=require(_0x5bac('0x18'));var db=require(_0x5bac('0x19'))['db'];function respondWithStatusCode(_0x3bd92a,_0xcd391d){_0xcd391d=_0xcd391d||0xcc;return function(_0x59f891){if(_0x59f891){return _0x3bd92a[_0x5bac('0x1a')](_0xcd391d);}return _0x3bd92a[_0x5bac('0x1b')](_0xcd391d)[_0x5bac('0x1c')]();};}function respondWithResult(_0x5269a0,_0x23cf9a){_0x23cf9a=_0x23cf9a||0xc8;return function(_0x5d4ed){if(_0x5d4ed){return _0x5269a0[_0x5bac('0x1b')](_0x23cf9a)[_0x5bac('0x1d')](_0x5d4ed);}};}function respondWithFilteredResult(_0x464ef2,_0x3d5535){return function(_0x310755){if(_0x310755){var _0x4c95cf=typeof _0x3d5535['offset']==='undefined'&&typeof _0x3d5535['limit']===_0x5bac('0x1e');var _0x345aa6=_0x310755[_0x5bac('0x1f')];var _0x58efd5=_0x4c95cf?0x0:_0x3d5535[_0x5bac('0x20')];var _0x5e734b=_0x4c95cf?_0x310755[_0x5bac('0x1f')]:_0x3d5535['offset']+_0x3d5535['limit'];var _0x196997;if(_0x5e734b>=_0x345aa6){_0x5e734b=_0x345aa6;_0x196997=0xc8;}else{_0x196997=0xce;}_0x464ef2[_0x5bac('0x1b')](_0x196997);return _0x464ef2['set']('Content-Range',_0x58efd5+'-'+_0x5e734b+'/'+_0x345aa6)['json'](_0x310755);}return null;};}function patchUpdates(_0x529a7e){return function(_0x8499af){try{jsonpatch[_0x5bac('0x21')](_0x8499af,_0x529a7e,!![]);}catch(_0x4d54bc){return BPromise[_0x5bac('0x22')](_0x4d54bc);}return _0x8499af['save']();};}function saveUpdates(_0x2cbf9e,_0x3de88e){return function(_0xa15698){if(_0xa15698){return _0xa15698['update'](_0x2cbf9e)[_0x5bac('0x23')](function(_0xd91ca6){return _0xd91ca6;});}return null;};}function removeEntity(_0x54b57d,_0x5af394){return function(_0x97370b){if(_0x97370b){return _0x97370b[_0x5bac('0x24')]()[_0x5bac('0x23')](function(){_0x54b57d['status'](0xcc)[_0x5bac('0x1c')]();});}};}function handleEntityNotFound(_0x3195c2,_0x1d23e1){return function(_0x451627){if(!_0x451627){_0x3195c2['sendStatus'](0x194);}return _0x451627;};}function handleError(_0x3a9e41,_0x26eea9){_0x26eea9=_0x26eea9||0x1f4;return function(_0x40c9ac){logger[_0x5bac('0x25')](_0x40c9ac[_0x5bac('0x26')]);if(_0x40c9ac[_0x5bac('0x27')]){delete _0x40c9ac[_0x5bac('0x27')];}_0x3a9e41['status'](_0x26eea9)[_0x5bac('0x28')](_0x40c9ac);};}exports[_0x5bac('0x29')]=function(_0x36945f,_0x1d42ed){var _0x293ba8={},_0x4735c0={},_0x28a6ec={'count':0x0,'rows':[]};var _0x4782d6=_[_0x5bac('0x2a')](db[_0x5bac('0x2b')][_0x5bac('0x2c')],function(_0x171291){return{'name':_0x171291[_0x5bac('0x2d')],'type':_0x171291['type'][_0x5bac('0x2e')]};});_0x4735c0[_0x5bac('0x2f')]=_[_0x5bac('0x2a')](_0x4782d6,_0x5bac('0x27'));_0x4735c0[_0x5bac('0x30')]=_[_0x5bac('0x31')](_0x36945f[_0x5bac('0x30')]);_0x4735c0['filters']=_['intersection'](_0x4735c0[_0x5bac('0x2f')],_0x4735c0['query']);_0x293ba8[_0x5bac('0x32')]=_[_0x5bac('0x33')](_0x4735c0[_0x5bac('0x2f')],qs['fields'](_0x36945f[_0x5bac('0x30')][_0x5bac('0x34')]));_0x293ba8[_0x5bac('0x32')]=_0x293ba8[_0x5bac('0x32')][_0x5bac('0x35')]?_0x293ba8['attributes']:_0x4735c0[_0x5bac('0x2f')];if(!_0x36945f[_0x5bac('0x30')][_0x5bac('0x36')]('nolimit')){_0x293ba8[_0x5bac('0x37')]=qs['limit'](_0x36945f[_0x5bac('0x30')][_0x5bac('0x37')]);_0x293ba8['offset']=qs[_0x5bac('0x20')](_0x36945f[_0x5bac('0x30')][_0x5bac('0x20')]);}_0x293ba8[_0x5bac('0x38')]=qs[_0x5bac('0x39')](_0x36945f[_0x5bac('0x30')][_0x5bac('0x39')]);_0x293ba8['where']=qs[_0x5bac('0x3a')](_[_0x5bac('0x3b')](_0x36945f[_0x5bac('0x30')],_0x4735c0[_0x5bac('0x3a')]),_0x4782d6);if(_0x36945f['query'][_0x5bac('0x3c')]){_0x293ba8[_0x5bac('0x3d')]=_[_0x5bac('0x3e')](_0x293ba8[_0x5bac('0x3d')],{'$or':_[_0x5bac('0x2a')](_0x4782d6,function(_0x458188){if(_0x458188[_0x5bac('0x3f')]!==_0x5bac('0x40')){var _0x1f0ba0={};_0x1f0ba0[_0x458188[_0x5bac('0x27')]]={'$like':'%'+_0x36945f[_0x5bac('0x30')][_0x5bac('0x3c')]+'%'};return _0x1f0ba0;}})});}_0x293ba8=_[_0x5bac('0x3e')]({},_0x293ba8,_0x36945f[_0x5bac('0x41')]);var _0x1bf2d8={'where':_0x293ba8['where']};return db[_0x5bac('0x2b')][_0x5bac('0x1f')](_0x1bf2d8)[_0x5bac('0x23')](function(_0x205f41){_0x28a6ec[_0x5bac('0x1f')]=_0x205f41;if(_0x36945f[_0x5bac('0x30')]['includeAll']){_0x293ba8[_0x5bac('0x42')]=[{'all':!![]}];}return db[_0x5bac('0x2b')]['findAll'](_0x293ba8);})[_0x5bac('0x23')](function(_0x3561b3){_0x28a6ec[_0x5bac('0x43')]=_0x3561b3;return _0x28a6ec;})[_0x5bac('0x23')](respondWithFilteredResult(_0x1d42ed,_0x293ba8))['catch'](handleError(_0x1d42ed,null));};exports[_0x5bac('0x44')]=function(_0x5133fe,_0xce22ec){var _0x5874e9={'raw':![],'where':{'id':_0x5133fe[_0x5bac('0x45')]['id']}},_0x418326={};_0x418326['model']=_[_0x5bac('0x31')](db['Automation'][_0x5bac('0x2c')]);_0x418326[_0x5bac('0x30')]=_['keys'](_0x5133fe[_0x5bac('0x30')]);_0x418326[_0x5bac('0x3a')]=_[_0x5bac('0x33')](_0x418326[_0x5bac('0x2f')],_0x418326[_0x5bac('0x30')]);_0x5874e9['attributes']=_['intersection'](_0x418326[_0x5bac('0x2f')],qs[_0x5bac('0x34')](_0x5133fe['query'][_0x5bac('0x34')]));_0x5874e9[_0x5bac('0x32')]=_0x5874e9[_0x5bac('0x32')]['length']?_0x5874e9[_0x5bac('0x32')]:_0x418326['model'];if(_0x5133fe[_0x5bac('0x30')][_0x5bac('0x46')]){_0x5874e9[_0x5bac('0x42')]=[{'all':!![]}];}_0x5874e9=_[_0x5bac('0x3e')]({},_0x5874e9,_0x5133fe['options']);return db[_0x5bac('0x2b')][_0x5bac('0x47')](_0x5874e9)['then'](handleEntityNotFound(_0xce22ec,null))['then'](respondWithResult(_0xce22ec,null))[_0x5bac('0x48')](handleError(_0xce22ec,null));};exports['create']=function(_0x2aa4db,_0x1593c7){return db[_0x5bac('0x2b')][_0x5bac('0x49')](_0x2aa4db[_0x5bac('0x4a')],{})[_0x5bac('0x23')](respondWithResult(_0x1593c7,0xc9))[_0x5bac('0x48')](handleError(_0x1593c7,null));};exports['update']=function(_0x49970b,_0x3fd252){if(_0x49970b[_0x5bac('0x4a')]['id']){delete _0x49970b[_0x5bac('0x4a')]['id'];}return db[_0x5bac('0x2b')][_0x5bac('0x47')]({'where':{'id':_0x49970b[_0x5bac('0x45')]['id']}})['then'](handleEntityNotFound(_0x3fd252,null))[_0x5bac('0x23')](saveUpdates(_0x49970b['body'],null))[_0x5bac('0x23')](respondWithResult(_0x3fd252,null))[_0x5bac('0x48')](handleError(_0x3fd252,null));};exports[_0x5bac('0x24')]=function(_0x4a7008,_0x243d07){return db[_0x5bac('0x2b')]['find']({'where':{'id':_0x4a7008[_0x5bac('0x45')]['id']}})[_0x5bac('0x23')](handleEntityNotFound(_0x243d07,null))[_0x5bac('0x23')](removeEntity(_0x243d07,null))[_0x5bac('0x48')](handleError(_0x243d07,null));};exports['addConditions']=function(_0x17595f,_0x3ec935,_0x2b5beb){return db['Condition'][_0x5bac('0x47')]({'where':{'id':_0x17595f['params']['id']}})['then'](handleEntityNotFound(_0x3ec935,null))[_0x5bac('0x23')](function(_0x5a5dad){if(_0x5a5dad){return _0x5a5dad['addConditions'](_0x17595f[_0x5bac('0x4a')][_0x5bac('0x4b')],_[_0x5bac('0x4c')](_0x17595f[_0x5bac('0x4a')],['ids','id'])||{});}})[_0x5bac('0x23')](respondWithResult(_0x3ec935,null))[_0x5bac('0x48')](handleError(_0x3ec935,null));};exports[_0x5bac('0x4d')]=function(_0x43c3d5,_0x126aa3,_0x12220a){var _0x458476={};var _0xe0c630={};var _0x5dd4f7;var _0x23c07a;return db[_0x5bac('0x2b')]['findOne']({'where':{'id':_0x43c3d5[_0x5bac('0x45')]['id']}})['then'](handleEntityNotFound(_0x126aa3,null))[_0x5bac('0x23')](function(_0x48a68c){if(_0x48a68c){_0x5dd4f7=_0x48a68c;_0xe0c630[_0x5bac('0x2f')]=_[_0x5bac('0x31')](db[_0x5bac('0x4e')][_0x5bac('0x2c')]);_0xe0c630[_0x5bac('0x30')]=_[_0x5bac('0x31')](_0x43c3d5[_0x5bac('0x30')]);_0xe0c630['filters']=_[_0x5bac('0x33')](_0xe0c630[_0x5bac('0x2f')],_0xe0c630[_0x5bac('0x30')]);_0x458476[_0x5bac('0x32')]=_[_0x5bac('0x33')](_0xe0c630[_0x5bac('0x2f')],qs[_0x5bac('0x34')](_0x43c3d5[_0x5bac('0x30')][_0x5bac('0x34')]));_0x458476[_0x5bac('0x32')]=_0x458476[_0x5bac('0x32')][_0x5bac('0x35')]?_0x458476[_0x5bac('0x32')]:_0xe0c630[_0x5bac('0x2f')];_0x458476[_0x5bac('0x38')]=qs[_0x5bac('0x39')](_0x43c3d5[_0x5bac('0x30')]['sort']);_0x458476[_0x5bac('0x3d')]=qs[_0x5bac('0x3a')](_[_0x5bac('0x3b')](_0x43c3d5[_0x5bac('0x30')],_0xe0c630['filters']));if(_0x43c3d5[_0x5bac('0x30')]['filter']){_0x458476[_0x5bac('0x3d')]=_[_0x5bac('0x3e')](_0x458476[_0x5bac('0x3d')],{'$or':_[_0x5bac('0x2a')](_0x458476[_0x5bac('0x32')],function(_0x226c0d){var _0x5bb9f4={};_0x5bb9f4[_0x226c0d]={'$like':'%'+_0x43c3d5['query'][_0x5bac('0x3c')]+'%'};return _0x5bb9f4;})});}_0x458476=_[_0x5bac('0x3e')]({},_0x458476,_0x43c3d5[_0x5bac('0x41')]);return _0x5dd4f7[_0x5bac('0x4d')](_0x458476);}})['then'](function(_0xd8ecab){if(_0xd8ecab){_0x23c07a=_0xd8ecab[_0x5bac('0x35')];if(!_0x43c3d5['query'][_0x5bac('0x36')](_0x5bac('0x4f'))){_0x458476[_0x5bac('0x37')]=qs[_0x5bac('0x37')](_0x43c3d5[_0x5bac('0x30')][_0x5bac('0x37')]);_0x458476[_0x5bac('0x20')]=qs[_0x5bac('0x20')](_0x43c3d5['query']['offset']);}return _0x5dd4f7[_0x5bac('0x4d')](_0x458476);}})['then'](function(_0x1b61c1){if(_0x1b61c1){return _0x1b61c1?{'count':_0x23c07a,'rows':_0x1b61c1}:null;}})[_0x5bac('0x23')](respondWithResult(_0x126aa3,null))['catch'](handleError(_0x126aa3,null));};exports[_0x5bac('0x50')]=function(_0x4bdd54,_0x5f3db0,_0x2f2354){return db[_0x5bac('0x51')][_0x5bac('0x47')]({'where':{'id':_0x4bdd54[_0x5bac('0x45')]['id']}})[_0x5bac('0x23')](handleEntityNotFound(_0x5f3db0,null))[_0x5bac('0x23')](function(_0x562f55){if(_0x562f55){return _0x562f55[_0x5bac('0x50')](_0x4bdd54[_0x5bac('0x4a')][_0x5bac('0x4b')],_[_0x5bac('0x4c')](_0x4bdd54[_0x5bac('0x4a')],['ids','id'])||{});}})['then'](respondWithResult(_0x5f3db0,null))['catch'](handleError(_0x5f3db0,null));};exports[_0x5bac('0x52')]=function(_0x5f5159,_0x57d506,_0x221f93){var _0x87d207={};var _0x612a3a={};var _0x2f0244;var _0x4b2e0c;return db['Automation']['findOne']({'where':{'id':_0x5f5159[_0x5bac('0x45')]['id']}})[_0x5bac('0x23')](handleEntityNotFound(_0x57d506,null))[_0x5bac('0x23')](function(_0x11d93f){if(_0x11d93f){_0x2f0244=_0x11d93f;_0x612a3a[_0x5bac('0x2f')]=_['keys'](db[_0x5bac('0x51')][_0x5bac('0x2c')]);_0x612a3a[_0x5bac('0x30')]=_['keys'](_0x5f5159[_0x5bac('0x30')]);_0x612a3a[_0x5bac('0x3a')]=_[_0x5bac('0x33')](_0x612a3a[_0x5bac('0x2f')],_0x612a3a[_0x5bac('0x30')]);_0x87d207[_0x5bac('0x32')]=_[_0x5bac('0x33')](_0x612a3a[_0x5bac('0x2f')],qs[_0x5bac('0x34')](_0x5f5159[_0x5bac('0x30')][_0x5bac('0x34')]));_0x87d207[_0x5bac('0x32')]=_0x87d207['attributes'][_0x5bac('0x35')]?_0x87d207[_0x5bac('0x32')]:_0x612a3a[_0x5bac('0x2f')];_0x87d207[_0x5bac('0x38')]=qs['sort'](_0x5f5159[_0x5bac('0x30')][_0x5bac('0x39')]);_0x87d207[_0x5bac('0x3d')]=qs[_0x5bac('0x3a')](_[_0x5bac('0x3b')](_0x5f5159[_0x5bac('0x30')],_0x612a3a[_0x5bac('0x3a')]));if(_0x5f5159[_0x5bac('0x30')][_0x5bac('0x3c')]){_0x87d207[_0x5bac('0x3d')]=_[_0x5bac('0x3e')](_0x87d207[_0x5bac('0x3d')],{'$or':_[_0x5bac('0x2a')](_0x87d207[_0x5bac('0x32')],function(_0x2ac430){var _0x1acfe2={};_0x1acfe2[_0x2ac430]={'$like':'%'+_0x5f5159[_0x5bac('0x30')][_0x5bac('0x3c')]+'%'};return _0x1acfe2;})});}_0x87d207=_['merge']({},_0x87d207,_0x5f5159['options']);return _0x2f0244[_0x5bac('0x52')](_0x87d207);}})[_0x5bac('0x23')](function(_0x19bba2){if(_0x19bba2){_0x4b2e0c=_0x19bba2[_0x5bac('0x35')];if(!_0x5f5159[_0x5bac('0x30')][_0x5bac('0x36')]('nolimit')){_0x87d207[_0x5bac('0x37')]=qs[_0x5bac('0x37')](_0x5f5159[_0x5bac('0x30')][_0x5bac('0x37')]);_0x87d207[_0x5bac('0x20')]=qs[_0x5bac('0x20')](_0x5f5159[_0x5bac('0x30')][_0x5bac('0x20')]);}return _0x2f0244['getActions'](_0x87d207);}})[_0x5bac('0x23')](function(_0x3b55e3){if(_0x3b55e3){return _0x3b55e3?{'count':_0x4b2e0c,'rows':_0x3b55e3}:null;}})[_0x5bac('0x23')](respondWithResult(_0x57d506,null))['catch'](handleError(_0x57d506,null));};
\ No newline at end of file
+var _0x31e1=['to-csv','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','count','limit','apply','then','destroy','send','index','map','fieldName','type','key','model','name','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','order','sort','pick','filter','where','merge','VIRTUAL','options','Automation','includeAll','findAll','show','params','include','create','catch','update','body','find','addConditions','ids','getConditions','findOne','Condition','rawAttributes','nolimit','addActions','omit','getActions','Action','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','path','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js'];(function(_0x577971,_0x3414f4){var _0x137ab5=function(_0x510177){while(--_0x510177){_0x577971['push'](_0x577971['shift']());}};_0x137ab5(++_0x3414f4);}(_0x31e1,0xea));var _0x131e=function(_0x1e1ae7,_0x29bf67){_0x1e1ae7=_0x1e1ae7-0x0;var _0x2dedf2=_0x31e1[_0x1e1ae7];return _0x2dedf2;};'use strict';var emlformat=require(_0x131e('0x0'));var rimraf=require(_0x131e('0x1'));var zipdir=require(_0x131e('0x2'));var jsonpatch=require(_0x131e('0x3'));var rp=require('request-promise');var moment=require(_0x131e('0x4'));var BPromise=require(_0x131e('0x5'));var Mustache=require('mustache');var util=require(_0x131e('0x6'));var path=require(_0x131e('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x131e('0x8'));var fs=require('fs');var fs_extra=require(_0x131e('0x9'));var _=require(_0x131e('0xa'));var squel=require(_0x131e('0xb'));var crypto=require(_0x131e('0xc'));var jsforce=require(_0x131e('0xd'));var deskjs=require(_0x131e('0xe'));var toCsv=require(_0x131e('0xf'));var querystring=require('querystring');var Papa=require(_0x131e('0x10'));var Redis=require(_0x131e('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x131e('0x12'));var as=require(_0x131e('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x131e('0x14'))(_0x131e('0x15'));var utils=require(_0x131e('0x16'));var config=require(_0x131e('0x17'));var licenseUtil=require(_0x131e('0x18'));var db=require(_0x131e('0x19'))['db'];function respondWithStatusCode(_0x5285f1,_0x4cc0e9){_0x4cc0e9=_0x4cc0e9||0xcc;return function(_0x48f93e){if(_0x48f93e){return _0x5285f1[_0x131e('0x1a')](_0x4cc0e9);}return _0x5285f1[_0x131e('0x1b')](_0x4cc0e9)[_0x131e('0x1c')]();};}function respondWithResult(_0x476d60,_0x5547ac){_0x5547ac=_0x5547ac||0xc8;return function(_0x31c029){if(_0x31c029){return _0x476d60[_0x131e('0x1b')](_0x5547ac)[_0x131e('0x1d')](_0x31c029);}};}function respondWithFilteredResult(_0x12dcbf,_0x174b84){return function(_0x23ab2a){if(_0x23ab2a){var _0x26c94a=typeof _0x174b84[_0x131e('0x1e')]===_0x131e('0x1f')&&typeof _0x174b84['limit']===_0x131e('0x1f');var _0x4bfaff=_0x23ab2a['count'];var _0x33a478=_0x26c94a?0x0:_0x174b84[_0x131e('0x1e')];var _0x4a19b2=_0x26c94a?_0x23ab2a[_0x131e('0x20')]:_0x174b84[_0x131e('0x1e')]+_0x174b84[_0x131e('0x21')];var _0x5c731e;if(_0x4a19b2>=_0x4bfaff){_0x4a19b2=_0x4bfaff;_0x5c731e=0xc8;}else{_0x5c731e=0xce;}_0x12dcbf[_0x131e('0x1b')](_0x5c731e);return _0x12dcbf['set']('Content-Range',_0x33a478+'-'+_0x4a19b2+'/'+_0x4bfaff)[_0x131e('0x1d')](_0x23ab2a);}return null;};}function patchUpdates(_0x4f06af){return function(_0xb469db){try{jsonpatch[_0x131e('0x22')](_0xb469db,_0x4f06af,!![]);}catch(_0x2f11f9){return BPromise['reject'](_0x2f11f9);}return _0xb469db['save']();};}function saveUpdates(_0x3c6310,_0x5d9401){return function(_0x5bf452){if(_0x5bf452){return _0x5bf452['update'](_0x3c6310)[_0x131e('0x23')](function(_0x2aba23){return _0x2aba23;});}return null;};}function removeEntity(_0x42b025,_0xf7f30){return function(_0x5c5f10){if(_0x5c5f10){return _0x5c5f10[_0x131e('0x24')]()[_0x131e('0x23')](function(){_0x42b025[_0x131e('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x40125f,_0x9e53c9){return function(_0x5d807a){if(!_0x5d807a){_0x40125f[_0x131e('0x1a')](0x194);}return _0x5d807a;};}function handleError(_0x32b005,_0x4df08e){_0x4df08e=_0x4df08e||0x1f4;return function(_0x48caf6){logger['error'](_0x48caf6['stack']);if(_0x48caf6['name']){delete _0x48caf6['name'];}_0x32b005[_0x131e('0x1b')](_0x4df08e)[_0x131e('0x25')](_0x48caf6);};}exports[_0x131e('0x26')]=function(_0x2bf124,_0x1f4512){var _0x3ed7e8={},_0x443314={},_0x23dd88={'count':0x0,'rows':[]};var _0x1a21d4=_[_0x131e('0x27')](db['Automation']['rawAttributes'],function(_0x4d3a74){return{'name':_0x4d3a74[_0x131e('0x28')],'type':_0x4d3a74[_0x131e('0x29')][_0x131e('0x2a')]};});_0x443314[_0x131e('0x2b')]=_['map'](_0x1a21d4,_0x131e('0x2c'));_0x443314[_0x131e('0x2d')]=_[_0x131e('0x2e')](_0x2bf124[_0x131e('0x2d')]);_0x443314[_0x131e('0x2f')]=_[_0x131e('0x30')](_0x443314[_0x131e('0x2b')],_0x443314['query']);_0x3ed7e8['attributes']=_[_0x131e('0x30')](_0x443314[_0x131e('0x2b')],qs[_0x131e('0x31')](_0x2bf124[_0x131e('0x2d')][_0x131e('0x31')]));_0x3ed7e8[_0x131e('0x32')]=_0x3ed7e8[_0x131e('0x32')][_0x131e('0x33')]?_0x3ed7e8[_0x131e('0x32')]:_0x443314['model'];if(!_0x2bf124[_0x131e('0x2d')][_0x131e('0x34')]('nolimit')){_0x3ed7e8['limit']=qs[_0x131e('0x21')](_0x2bf124[_0x131e('0x2d')][_0x131e('0x21')]);_0x3ed7e8[_0x131e('0x1e')]=qs[_0x131e('0x1e')](_0x2bf124[_0x131e('0x2d')][_0x131e('0x1e')]);}_0x3ed7e8[_0x131e('0x35')]=qs[_0x131e('0x36')](_0x2bf124[_0x131e('0x2d')]['sort']);_0x3ed7e8['where']=qs['filters'](_[_0x131e('0x37')](_0x2bf124[_0x131e('0x2d')],_0x443314['filters']),_0x1a21d4);if(_0x2bf124[_0x131e('0x2d')][_0x131e('0x38')]){_0x3ed7e8[_0x131e('0x39')]=_[_0x131e('0x3a')](_0x3ed7e8[_0x131e('0x39')],{'$or':_['map'](_0x1a21d4,function(_0x65e2d9){if(_0x65e2d9[_0x131e('0x29')]!==_0x131e('0x3b')){var _0x6a6851={};_0x6a6851[_0x65e2d9[_0x131e('0x2c')]]={'$like':'%'+_0x2bf124[_0x131e('0x2d')][_0x131e('0x38')]+'%'};return _0x6a6851;}})});}_0x3ed7e8=_[_0x131e('0x3a')]({},_0x3ed7e8,_0x2bf124[_0x131e('0x3c')]);var _0x5b820d={'where':_0x3ed7e8['where']};return db[_0x131e('0x3d')][_0x131e('0x20')](_0x5b820d)[_0x131e('0x23')](function(_0x481d8d){_0x23dd88[_0x131e('0x20')]=_0x481d8d;if(_0x2bf124['query'][_0x131e('0x3e')]){_0x3ed7e8['include']=[{'all':!![]}];}return db[_0x131e('0x3d')][_0x131e('0x3f')](_0x3ed7e8);})[_0x131e('0x23')](function(_0x31e88d){_0x23dd88['rows']=_0x31e88d;return _0x23dd88;})[_0x131e('0x23')](respondWithFilteredResult(_0x1f4512,_0x3ed7e8))['catch'](handleError(_0x1f4512,null));};exports[_0x131e('0x40')]=function(_0x24e425,_0x229cd9){var _0x25b97f={'raw':![],'where':{'id':_0x24e425[_0x131e('0x41')]['id']}},_0x425fbb={};_0x425fbb['model']=_['keys'](db['Automation']['rawAttributes']);_0x425fbb[_0x131e('0x2d')]=_['keys'](_0x24e425[_0x131e('0x2d')]);_0x425fbb['filters']=_[_0x131e('0x30')](_0x425fbb[_0x131e('0x2b')],_0x425fbb[_0x131e('0x2d')]);_0x25b97f[_0x131e('0x32')]=_[_0x131e('0x30')](_0x425fbb['model'],qs[_0x131e('0x31')](_0x24e425[_0x131e('0x2d')][_0x131e('0x31')]));_0x25b97f[_0x131e('0x32')]=_0x25b97f[_0x131e('0x32')]['length']?_0x25b97f['attributes']:_0x425fbb[_0x131e('0x2b')];if(_0x24e425['query'][_0x131e('0x3e')]){_0x25b97f[_0x131e('0x42')]=[{'all':!![]}];}_0x25b97f=_[_0x131e('0x3a')]({},_0x25b97f,_0x24e425[_0x131e('0x3c')]);return db[_0x131e('0x3d')]['find'](_0x25b97f)['then'](handleEntityNotFound(_0x229cd9,null))[_0x131e('0x23')](respondWithResult(_0x229cd9,null))['catch'](handleError(_0x229cd9,null));};exports[_0x131e('0x43')]=function(_0x32af77,_0x3fca5e){return db[_0x131e('0x3d')]['create'](_0x32af77['body'],{})[_0x131e('0x23')](respondWithResult(_0x3fca5e,0xc9))[_0x131e('0x44')](handleError(_0x3fca5e,null));};exports[_0x131e('0x45')]=function(_0x384997,_0xb4d844){if(_0x384997[_0x131e('0x46')]['id']){delete _0x384997['body']['id'];}return db[_0x131e('0x3d')][_0x131e('0x47')]({'where':{'id':_0x384997[_0x131e('0x41')]['id']}})[_0x131e('0x23')](handleEntityNotFound(_0xb4d844,null))[_0x131e('0x23')](saveUpdates(_0x384997[_0x131e('0x46')],null))['then'](respondWithResult(_0xb4d844,null))[_0x131e('0x44')](handleError(_0xb4d844,null));};exports[_0x131e('0x24')]=function(_0x1ee69a,_0x484e03){return db['Automation'][_0x131e('0x47')]({'where':{'id':_0x1ee69a['params']['id']}})[_0x131e('0x23')](handleEntityNotFound(_0x484e03,null))[_0x131e('0x23')](removeEntity(_0x484e03,null))[_0x131e('0x44')](handleError(_0x484e03,null));};exports[_0x131e('0x48')]=function(_0x2b4541,_0x5d3397,_0x20ffb8){return db['Condition'][_0x131e('0x47')]({'where':{'id':_0x2b4541[_0x131e('0x41')]['id']}})[_0x131e('0x23')](handleEntityNotFound(_0x5d3397,null))[_0x131e('0x23')](function(_0x203a5e){if(_0x203a5e){return _0x203a5e[_0x131e('0x48')](_0x2b4541['body'][_0x131e('0x49')],_['omit'](_0x2b4541[_0x131e('0x46')],[_0x131e('0x49'),'id'])||{});}})[_0x131e('0x23')](respondWithResult(_0x5d3397,null))[_0x131e('0x44')](handleError(_0x5d3397,null));};exports[_0x131e('0x4a')]=function(_0x53d4a4,_0x3c0a4e,_0x28a091){var _0x29efb6={};var _0x3b8aa4={};var _0x40943f;var _0x2f69d4;return db[_0x131e('0x3d')][_0x131e('0x4b')]({'where':{'id':_0x53d4a4[_0x131e('0x41')]['id']}})[_0x131e('0x23')](handleEntityNotFound(_0x3c0a4e,null))[_0x131e('0x23')](function(_0x4f370b){if(_0x4f370b){_0x40943f=_0x4f370b;_0x3b8aa4[_0x131e('0x2b')]=_[_0x131e('0x2e')](db[_0x131e('0x4c')][_0x131e('0x4d')]);_0x3b8aa4[_0x131e('0x2d')]=_[_0x131e('0x2e')](_0x53d4a4[_0x131e('0x2d')]);_0x3b8aa4[_0x131e('0x2f')]=_[_0x131e('0x30')](_0x3b8aa4['model'],_0x3b8aa4[_0x131e('0x2d')]);_0x29efb6['attributes']=_['intersection'](_0x3b8aa4[_0x131e('0x2b')],qs[_0x131e('0x31')](_0x53d4a4[_0x131e('0x2d')]['fields']));_0x29efb6[_0x131e('0x32')]=_0x29efb6['attributes'][_0x131e('0x33')]?_0x29efb6[_0x131e('0x32')]:_0x3b8aa4[_0x131e('0x2b')];_0x29efb6[_0x131e('0x35')]=qs[_0x131e('0x36')](_0x53d4a4[_0x131e('0x2d')][_0x131e('0x36')]);_0x29efb6[_0x131e('0x39')]=qs[_0x131e('0x2f')](_[_0x131e('0x37')](_0x53d4a4[_0x131e('0x2d')],_0x3b8aa4['filters']));if(_0x53d4a4['query'][_0x131e('0x38')]){_0x29efb6[_0x131e('0x39')]=_[_0x131e('0x3a')](_0x29efb6[_0x131e('0x39')],{'$or':_[_0x131e('0x27')](_0x29efb6['attributes'],function(_0x3fc3be){var _0x1b3e86={};_0x1b3e86[_0x3fc3be]={'$like':'%'+_0x53d4a4[_0x131e('0x2d')][_0x131e('0x38')]+'%'};return _0x1b3e86;})});}_0x29efb6=_[_0x131e('0x3a')]({},_0x29efb6,_0x53d4a4[_0x131e('0x3c')]);return _0x40943f[_0x131e('0x4a')](_0x29efb6);}})[_0x131e('0x23')](function(_0x245602){if(_0x245602){_0x2f69d4=_0x245602[_0x131e('0x33')];if(!_0x53d4a4['query']['hasOwnProperty'](_0x131e('0x4e'))){_0x29efb6[_0x131e('0x21')]=qs[_0x131e('0x21')](_0x53d4a4[_0x131e('0x2d')]['limit']);_0x29efb6[_0x131e('0x1e')]=qs[_0x131e('0x1e')](_0x53d4a4[_0x131e('0x2d')][_0x131e('0x1e')]);}return _0x40943f[_0x131e('0x4a')](_0x29efb6);}})[_0x131e('0x23')](function(_0x570a2e){if(_0x570a2e){return _0x570a2e?{'count':_0x2f69d4,'rows':_0x570a2e}:null;}})[_0x131e('0x23')](respondWithResult(_0x3c0a4e,null))[_0x131e('0x44')](handleError(_0x3c0a4e,null));};exports[_0x131e('0x4f')]=function(_0x1149f1,_0x3a8e91,_0x302329){return db['Action'][_0x131e('0x47')]({'where':{'id':_0x1149f1[_0x131e('0x41')]['id']}})[_0x131e('0x23')](handleEntityNotFound(_0x3a8e91,null))[_0x131e('0x23')](function(_0x1b7436){if(_0x1b7436){return _0x1b7436['addActions'](_0x1149f1['body']['ids'],_[_0x131e('0x50')](_0x1149f1[_0x131e('0x46')],[_0x131e('0x49'),'id'])||{});}})['then'](respondWithResult(_0x3a8e91,null))['catch'](handleError(_0x3a8e91,null));};exports[_0x131e('0x51')]=function(_0x4c44a9,_0x16e205,_0x4a0b47){var _0x3d94dd={};var _0x39115e={};var _0x510459;var _0x516df1;return db[_0x131e('0x3d')][_0x131e('0x4b')]({'where':{'id':_0x4c44a9[_0x131e('0x41')]['id']}})[_0x131e('0x23')](handleEntityNotFound(_0x16e205,null))[_0x131e('0x23')](function(_0x447af0){if(_0x447af0){_0x510459=_0x447af0;_0x39115e[_0x131e('0x2b')]=_[_0x131e('0x2e')](db[_0x131e('0x52')]['rawAttributes']);_0x39115e['query']=_[_0x131e('0x2e')](_0x4c44a9[_0x131e('0x2d')]);_0x39115e[_0x131e('0x2f')]=_[_0x131e('0x30')](_0x39115e['model'],_0x39115e[_0x131e('0x2d')]);_0x3d94dd[_0x131e('0x32')]=_['intersection'](_0x39115e['model'],qs[_0x131e('0x31')](_0x4c44a9['query']['fields']));_0x3d94dd[_0x131e('0x32')]=_0x3d94dd[_0x131e('0x32')][_0x131e('0x33')]?_0x3d94dd[_0x131e('0x32')]:_0x39115e['model'];_0x3d94dd[_0x131e('0x35')]=qs[_0x131e('0x36')](_0x4c44a9[_0x131e('0x2d')]['sort']);_0x3d94dd['where']=qs['filters'](_['pick'](_0x4c44a9['query'],_0x39115e[_0x131e('0x2f')]));if(_0x4c44a9[_0x131e('0x2d')][_0x131e('0x38')]){_0x3d94dd[_0x131e('0x39')]=_[_0x131e('0x3a')](_0x3d94dd[_0x131e('0x39')],{'$or':_[_0x131e('0x27')](_0x3d94dd[_0x131e('0x32')],function(_0x2daf10){var _0x32d9f2={};_0x32d9f2[_0x2daf10]={'$like':'%'+_0x4c44a9[_0x131e('0x2d')][_0x131e('0x38')]+'%'};return _0x32d9f2;})});}_0x3d94dd=_[_0x131e('0x3a')]({},_0x3d94dd,_0x4c44a9[_0x131e('0x3c')]);return _0x510459[_0x131e('0x51')](_0x3d94dd);}})[_0x131e('0x23')](function(_0xb3aac4){if(_0xb3aac4){_0x516df1=_0xb3aac4['length'];if(!_0x4c44a9[_0x131e('0x2d')][_0x131e('0x34')](_0x131e('0x4e'))){_0x3d94dd[_0x131e('0x21')]=qs[_0x131e('0x21')](_0x4c44a9['query'][_0x131e('0x21')]);_0x3d94dd[_0x131e('0x1e')]=qs[_0x131e('0x1e')](_0x4c44a9[_0x131e('0x2d')]['offset']);}return _0x510459[_0x131e('0x51')](_0x3d94dd);}})[_0x131e('0x23')](function(_0x5778d3){if(_0x5778d3){return _0x5778d3?{'count':_0x516df1,'rows':_0x5778d3}:null;}})[_0x131e('0x23')](respondWithResult(_0x16e205,null))[_0x131e('0x44')](handleError(_0x16e205,null));};
\ No newline at end of file
diff --git a/server/api/automation/automation.model.js b/server/api/automation/automation.model.js
index 519d823..7dc85b5 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 _0x4393=['path','rimraf','../../config/environment','./automation.attributes','define','tools_automations','lodash','util','../../config/logger','api','bluebird'];(function(_0x10b4b8,_0x450fea){var _0x424293=function(_0x58ad42){while(--_0x58ad42){_0x10b4b8['push'](_0x10b4b8['shift']());}};_0x424293(++_0x450fea);}(_0x4393,0x10e));var _0x3439=function(_0xbfd058,_0x1ee59){_0xbfd058=_0xbfd058-0x0;var _0x568cb1=_0x4393[_0xbfd058];return _0x568cb1;};'use strict';var _=require(_0x3439('0x0'));var util=require(_0x3439('0x1'));var logger=require(_0x3439('0x2'))(_0x3439('0x3'));var moment=require('moment');var BPromise=require(_0x3439('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3439('0x5'));var rimraf=require(_0x3439('0x6'));var config=require(_0x3439('0x7'));var attributes=require(_0x3439('0x8'));module['exports']=function(_0x499d42,_0x2f2689){return _0x499d42[_0x3439('0x9')]('Automation',attributes,{'tableName':_0x3439('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x1578=['lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./automation.attributes','exports','Automation','tools_automations'];(function(_0x128387,_0x4dda41){var _0x266073=function(_0x2846f9){while(--_0x2846f9){_0x128387['push'](_0x128387['shift']());}};_0x266073(++_0x4dda41);}(_0x1578,0x144));var _0x8157=function(_0xd1aec5,_0x2dbd8e){_0xd1aec5=_0xd1aec5-0x0;var _0x560b3e=_0x1578[_0xd1aec5];return _0x560b3e;};'use strict';var _=require(_0x8157('0x0'));var util=require(_0x8157('0x1'));var logger=require('../../config/logger')(_0x8157('0x2'));var moment=require('moment');var BPromise=require(_0x8157('0x3'));var rp=require(_0x8157('0x4'));var fs=require('fs');var path=require(_0x8157('0x5'));var rimraf=require(_0x8157('0x6'));var config=require(_0x8157('0x7'));var attributes=require(_0x8157('0x8'));module[_0x8157('0x9')]=function(_0x1ca695,_0x1a98f5){return _0x1ca695['define'](_0x8157('0xa'),attributes,{'tableName':_0x8157('0xb'),'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 825db4a..bb1d8a4 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 _0xa3db=['client','http','request','then','info','request\x20sent','debug','Automation,\x20%s,\x20%s,\x20%s','stringify','error','code','message','Automation,\x20%s,\x20%s','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../config/logger','../../config/environment'];(function(_0x10852d,_0x4cdcc6){var _0x13a8d6=function(_0x2ece16){while(--_0x2ece16){_0x10852d['push'](_0x10852d['shift']());}};_0x13a8d6(++_0x4cdcc6);}(_0xa3db,0x10c));var _0xba3d=function(_0x46170,_0x4b2af3){_0x46170=_0x46170-0x0;var _0x46afd8=_0xa3db[_0x46170];return _0x46afd8;};'use strict';var _=require(_0xba3d('0x0'));var util=require(_0xba3d('0x1'));var moment=require(_0xba3d('0x2'));var BPromise=require(_0xba3d('0x3'));var rs=require(_0xba3d('0x4'));var fs=require('fs');var Redis=require(_0xba3d('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0xba3d('0x6'))('rpc');var config=require(_0xba3d('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xba3d('0x8')][_0xba3d('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x477583,_0x1bacd7,_0x1bd181){return new BPromise(function(_0x426868,_0x3b69e9){return client[_0xba3d('0xa')](_0x477583,_0x1bd181)[_0xba3d('0xb')](function(_0x102fe6){logger[_0xba3d('0xc')]('Automation,\x20%s,\x20%s',_0x1bacd7,_0xba3d('0xd'));logger[_0xba3d('0xe')](_0xba3d('0xf'),_0x1bacd7,_0xba3d('0xd'),JSON[_0xba3d('0x10')](_0x102fe6));if(_0x102fe6['error']){if(_0x102fe6[_0xba3d('0x11')][_0xba3d('0x12')]===0x1f4){logger[_0xba3d('0x11')]('Automation,\x20%s,\x20%s',_0x1bacd7,_0x102fe6['error'][_0xba3d('0x13')]);return _0x3b69e9(_0x102fe6[_0xba3d('0x11')]['message']);}logger['error'](_0xba3d('0x14'),_0x1bacd7,_0x102fe6['error'][_0xba3d('0x13')]);return _0x426868(_0x102fe6[_0xba3d('0x11')][_0xba3d('0x13')]);}else{logger[_0xba3d('0xc')](_0xba3d('0x14'),_0x1bacd7,_0xba3d('0xd'));_0x426868(_0x102fe6[_0xba3d('0x15')][_0xba3d('0x13')]);}})[_0xba3d('0x16')](function(_0x2ce092){logger['error'](_0xba3d('0x14'),_0x1bacd7,_0x2ce092);_0x3b69e9(_0x2ce092);});});}
\ No newline at end of file
+var _0xf3a8=['message','catch','util','moment','randomstring','../../config/utils','rpc','jayson/promise','client','http','request','Automation,\x20%s,\x20%s','request\x20sent','debug','Automation,\x20%s,\x20%s,\x20%s','error'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xf3a8,0xf2));var _0x8f3a=function(_0x2113ca,_0x471610){_0x2113ca=_0x2113ca-0x0;var _0x2fc641=_0xf3a8[_0x2113ca];return _0x2fc641;};'use strict';var _=require('lodash');var util=require(_0x8f3a('0x0'));var moment=require(_0x8f3a('0x1'));var BPromise=require('bluebird');var rs=require(_0x8f3a('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x8f3a('0x3'));var logger=require('../../config/logger')(_0x8f3a('0x4'));var config=require('../../config/environment');var jayson=require(_0x8f3a('0x5'));var client=jayson[_0x8f3a('0x6')][_0x8f3a('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x32bb3a,_0xc50ed8,_0x2e290d){return new BPromise(function(_0x3dc1ea,_0xcfad11){return client[_0x8f3a('0x8')](_0x32bb3a,_0x2e290d)['then'](function(_0x2164ba){logger['info'](_0x8f3a('0x9'),_0xc50ed8,_0x8f3a('0xa'));logger[_0x8f3a('0xb')](_0x8f3a('0xc'),_0xc50ed8,_0x8f3a('0xa'),JSON['stringify'](_0x2164ba));if(_0x2164ba[_0x8f3a('0xd')]){if(_0x2164ba[_0x8f3a('0xd')]['code']===0x1f4){logger[_0x8f3a('0xd')]('Automation,\x20%s,\x20%s',_0xc50ed8,_0x2164ba['error'][_0x8f3a('0xe')]);return _0xcfad11(_0x2164ba[_0x8f3a('0xd')]['message']);}logger[_0x8f3a('0xd')](_0x8f3a('0x9'),_0xc50ed8,_0x2164ba[_0x8f3a('0xd')]['message']);return _0x3dc1ea(_0x2164ba[_0x8f3a('0xd')][_0x8f3a('0xe')]);}else{logger['info'](_0x8f3a('0x9'),_0xc50ed8,_0x8f3a('0xa'));_0x3dc1ea(_0x2164ba['result'][_0x8f3a('0xe')]);}})[_0x8f3a('0xf')](function(_0x9bf803){logger[_0x8f3a('0xd')](_0x8f3a('0x9'),_0xc50ed8,_0x9bf803);_0xcfad11(_0x9bf803);});});}
\ No newline at end of file
diff --git a/server/api/automation/index.js b/server/api/automation/index.js
index 5160433..86c7be7 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 _0xb717=['fs-extra','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','/:id','show','getConditions','/:id/actions','getActions','post','addConditions','put','update','destroy','multer','path','express','Router'];(function(_0x2e4aa2,_0x11956a){var _0x5e6092=function(_0x4c12c2){while(--_0x4c12c2){_0x2e4aa2['push'](_0x2e4aa2['shift']());}};_0x5e6092(++_0x11956a);}(_0xb717,0x1b4));var _0x7b71=function(_0xa8ea96,_0x4bfe7b){_0xa8ea96=_0xa8ea96-0x0;var _0x306c8c=_0xb717[_0xa8ea96];return _0x306c8c;};'use strict';var multer=require(_0x7b71('0x0'));var util=require('util');var path=require(_0x7b71('0x1'));var timeout=require('connect-timeout');var express=require(_0x7b71('0x2'));var router=express[_0x7b71('0x3')]();var fs_extra=require(_0x7b71('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x7b71('0x5'));var config=require(_0x7b71('0x6'));var controller=require(_0x7b71('0x7'));router[_0x7b71('0x8')]('/',auth[_0x7b71('0x9')](),controller['index']);router[_0x7b71('0x8')](_0x7b71('0xa'),auth[_0x7b71('0x9')](),controller[_0x7b71('0xb')]);router[_0x7b71('0x8')]('/:id/conditions',auth[_0x7b71('0x9')](),controller[_0x7b71('0xc')]);router['get'](_0x7b71('0xd'),auth[_0x7b71('0x9')](),controller[_0x7b71('0xe')]);router['post']('/',auth[_0x7b71('0x9')](),controller['create']);router[_0x7b71('0xf')]('/:id/conditions',auth[_0x7b71('0x9')](),controller[_0x7b71('0x10')]);router[_0x7b71('0xf')](_0x7b71('0xd'),auth[_0x7b71('0x9')](),controller['addActions']);router[_0x7b71('0x11')]('/:id',auth[_0x7b71('0x9')](),controller[_0x7b71('0x12')]);router['delete'](_0x7b71('0xa'),auth[_0x7b71('0x9')](),controller[_0x7b71('0x13')]);module['exports']=router;
\ No newline at end of file
+var _0x5620=['/:id/conditions','getConditions','/:id/actions','getActions','create','post','addActions','put','update','delete','destroy','multer','path','connect-timeout','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x547fcb,_0x8fda67){var _0x275d17=function(_0x301cd1){while(--_0x301cd1){_0x547fcb['push'](_0x547fcb['shift']());}};_0x275d17(++_0x8fda67);}(_0x5620,0xbf));var _0x0562=function(_0xf7a9cf,_0x2cfa33){_0xf7a9cf=_0xf7a9cf-0x0;var _0x7fdc45=_0x5620[_0xf7a9cf];return _0x7fdc45;};'use strict';var multer=require(_0x0562('0x0'));var util=require('util');var path=require(_0x0562('0x1'));var timeout=require(_0x0562('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x0562('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x0562('0x4'));var controller=require('./automation.controller');router[_0x0562('0x5')]('/',auth[_0x0562('0x6')](),controller[_0x0562('0x7')]);router[_0x0562('0x5')](_0x0562('0x8'),auth[_0x0562('0x6')](),controller['show']);router['get'](_0x0562('0x9'),auth['isAuthenticated'](),controller[_0x0562('0xa')]);router[_0x0562('0x5')](_0x0562('0xb'),auth[_0x0562('0x6')](),controller[_0x0562('0xc')]);router['post']('/',auth[_0x0562('0x6')](),controller[_0x0562('0xd')]);router[_0x0562('0xe')](_0x0562('0x9'),auth[_0x0562('0x6')](),controller['addConditions']);router['post'](_0x0562('0xb'),auth[_0x0562('0x6')](),controller[_0x0562('0xf')]);router[_0x0562('0x10')]('/:id',auth[_0x0562('0x6')](),controller[_0x0562('0x11')]);router[_0x0562('0x12')](_0x0562('0x8'),auth['isAuthenticated'](),controller[_0x0562('0x13')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/campaign/campaign.attributes.js b/server/api/campaign/campaign.attributes.js
index cddaeea..e1b0959 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 _0x0a4b=['#AMD\x20Greeting','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','DESC','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\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','name','ENUM','ivr','STRING','BOOLEAN','Active/Disactive\x20Campaign','INTEGER','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','UNSIGNED','#Congestion\x20Retry\x20(min:1,\x20max:999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','always','onlyIfOpen','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence'];(function(_0xdf56aa,_0x4d9c15){var _0x82768=function(_0x56a69f){while(--_0x56a69f){_0xdf56aa['push'](_0xdf56aa['shift']());}};_0x82768(++_0x4d9c15);}(_0x0a4b,0x14b));var _0xb0a4=function(_0x99860,_0x4061f1){_0x99860=_0x99860-0x0;var _0x1d1c0b=_0x0a4b[_0x99860];return _0x1d1c0b;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xb0a4('0x0'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0xb0a4('0x1')](_0xb0a4('0x2')),'allowNull':![],'defaultValue':_0xb0a4('0x2')},'description':{'type':Sequelize[_0xb0a4('0x3')]},'active':{'type':Sequelize[_0xb0a4('0x4')],'defaultValue':0x0,'comment':_0xb0a4('0x5')},'limitCalls':{'type':Sequelize[_0xb0a4('0x6')](0x4)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':'Max\x20200\x20calls.'},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize[_0xb0a4('0x3')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0x7')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0x9')},'dialCongestionRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialBusyMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0xa')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0xb')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'comment':_0xb0a4('0xc')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0xd')},'dialGlobalMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)['UNSIGNED'],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0xb0a4('0xe')},'dialTimezone':{'type':Sequelize[_0xb0a4('0x3')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0xb0a4('0x3')],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0xb0a4('0x1')](_0xb0a4('0xf'),'never',_0xb0a4('0x10')),'defaultValue':_0xb0a4('0xf')},'dialAMDActive':{'type':Sequelize[_0xb0a4('0x4')],'defaultValue':0x0,'comment':_0xb0a4('0x11')},'dialAMDInitialSilence':{'type':Sequelize[_0xb0a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0xb0a4('0x12')},'dialAMDGreeting':{'type':Sequelize[_0xb0a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xb0a4('0x13')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0xb0a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':'#AMD\x20After\x20Greeting\x20Silence'},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0xb0a4('0x6')](0x9)[_0xb0a4('0x8')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xb0a4('0x14')},'dialAMDMinWordLength':{'type':Sequelize[_0xb0a4('0x6')](0x9)[_0xb0a4('0x8')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0xb0a4('0x15')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0xb0a4('0x6')](0x9)[_0xb0a4('0x8')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xb0a4('0x16')},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0xb0a4('0x17')},'dialAMDSilenceThreshold':{'type':Sequelize[_0xb0a4('0x6')](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize[_0xb0a4('0x6')](0x9)[_0xb0a4('0x8')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xb0a4('0x18')},'dialOrderByScheduledAt':{'type':Sequelize[_0xb0a4('0x1')]('DESC','ASC'),'defaultValue':_0xb0a4('0x19')},'dialPrefix':{'type':Sequelize[_0xb0a4('0x3')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0xb0a4('0x6')](0x3)[_0xb0a4('0x8')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xb0a4('0x1a')},'dialCutDigit':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xb0a4('0x1b')},'dialNoSuchNumberMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0x1c')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0x1d')},'dialDropMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0x1e')},'dialDropRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0x1f')},'dialAbandonedMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Abandoned\x20Retry\x20(min:1,\x20max:999)'},'dialAbandonedRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0x20')},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xb0a4('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialAgentRejectMaxRetry':{'type':Sequelize[_0xb0a4('0x6')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb0a4('0x21')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0xb0a4('0x6')](0x5)[_0xb0a4('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb0a4('0x22')}};
\ No newline at end of file
+var _0x7a40=['#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length','ASC','DESC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','#Drop\x20Retry\x20(min:1,\x20max:999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','#Machine\x20Retry\x20(min:1,\x20max:999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','sequelize','exports','STRING','ENUM','ivr','BOOLEAN','INTEGER','UNSIGNED','Max\x20200\x20calls.','Originate\x20Timeout\x20Seconds\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)','always','never','onlyIfOpen','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence'];(function(_0x3cdae2,_0x21a4a7){var _0x571b3e=function(_0xce79f4){while(--_0xce79f4){_0x3cdae2['push'](_0x3cdae2['shift']());}};_0x571b3e(++_0x21a4a7);}(_0x7a40,0x197));var _0x07a4=function(_0xd91e91,_0x20829a){_0xd91e91=_0xd91e91-0x0;var _0x597823=_0x7a40[_0xd91e91];return _0x597823;};'use strict';var Sequelize=require(_0x07a4('0x0'));module[_0x07a4('0x1')]={'name':{'type':Sequelize[_0x07a4('0x2')],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x07a4('0x3')](_0x07a4('0x4')),'allowNull':![],'defaultValue':_0x07a4('0x4')},'description':{'type':Sequelize[_0x07a4('0x2')]},'active':{'type':Sequelize[_0x07a4('0x5')],'defaultValue':0x0,'comment':'Active/Disactive\x20Campaign'},'limitCalls':{'type':Sequelize[_0x07a4('0x6')](0x4)[_0x07a4('0x7')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0x07a4('0x8')},'dialOriginateCallerIdName':{'type':Sequelize[_0x07a4('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x07a4('0x2')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)[_0x07a4('0x7')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x9')},'dialCongestionMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize[_0x07a4('0x6')](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x07a4('0x7')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Busy\x20Retry\x20(min:1,\x20max:999)'},'dialBusyRetryFrequency':{'type':Sequelize[_0x07a4('0x6')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x07a4('0xa')},'dialNoAnswerMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x07a4('0x7')],'defaultValue':0x3,'comment':_0x07a4('0xb')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x07a4('0x6')](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialGlobalMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x07a4('0xc')},'dialTimezone':{'type':Sequelize['STRING'],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x07a4('0x2')],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0x07a4('0x3')](_0x07a4('0xd'),_0x07a4('0xe'),_0x07a4('0xf')),'defaultValue':_0x07a4('0xd')},'dialAMDActive':{'type':Sequelize[_0x07a4('0x5')],'defaultValue':0x0,'comment':_0x07a4('0x10')},'dialAMDInitialSilence':{'type':Sequelize[_0x07a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x07a4('0x11')},'dialAMDGreeting':{'type':Sequelize[_0x07a4('0x6')](0x9)[_0x07a4('0x7')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x07a4('0x12')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x07a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x07a4('0x13')},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Total\x20Analysis\x20Time'},'dialAMDMinWordLength':{'type':Sequelize[_0x07a4('0x6')](0x9)[_0x07a4('0x7')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x07a4('0x14')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0x07a4('0x7')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x07a4('0x15')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x07a4('0x6')](0x9)[_0x07a4('0x7')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x07a4('0x16')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x07a4('0x6')](0x5)[_0x07a4('0x7')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x07a4('0x17')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x07a4('0x6')](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x07a4('0x18')},'dialOrderByScheduledAt':{'type':Sequelize['ENUM']('DESC',_0x07a4('0x19')),'defaultValue':_0x07a4('0x1a')},'dialPrefix':{'type':Sequelize[_0x07a4('0x2')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)[_0x07a4('0x7')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x07a4('0x1b')},'dialCutDigit':{'type':Sequelize[_0x07a4('0x6')](0x3)[_0x07a4('0x7')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x1c')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x07a4('0x6')](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialDropMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x1d')},'dialDropRetryFrequency':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialAbandonedMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)[_0x07a4('0x7')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x1e')},'dialAbandonedRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize[_0x07a4('0x6')](0x3)[_0x07a4('0x7')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x1f')},'dialMachineRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialAgentRejectMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x07a4('0x20')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x07a4('0x6')](0x5)[_0x07a4('0x7')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'}};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.controller.js b/server/api/campaign/campaign.controller.js
index d00bde5..02520a1 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 _0x9205=['CmHopper','getHopperHistories','CmHopperHistory','CmHopperFinal','getHopperBlacks','CmHopperBlack','getLists','CmList','ids','spread','dialCheckDuplicateType','always','insert','into','cm_hopper','fromQuery','phone','scheduledAt','ContactId','ListId','select','field','NOW()','CmListId','toString','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','COALESCE(calleridnum,\x27\x27)','from','CampaignId\x20=\x20?','COALESCE(phone,\x27\x27)','onlyIfOpen','cm_contacts','deletedAt\x20IS\x20NULL','cm_hopper_additional_phones','cmHopperId','OrderBy','ci.item','ci.OrderBY','cm_contact_has_items','join','h.ContactId\x20=\x20ci.CmContactId','h.ListId\x20=\x20?','h.CampaignId=?','h.createdAt\x20=\x20?','push','sequelize','all','removeLists','getBlackLists','YYYY-MM-DD\x20HH:mm:ss','addBlackLists','cm_hopper_black','removeBlackLists','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','fs-extra','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','sendStatus','status','end','json','undefined','limit','count','offset','set','Content-Range','apply','reject','then','destroy','get','IvrCampaigns','error','name','send','index','map','rawAttributes','type','model','query','filters','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick','merge','includeAll','findAll','rows','catch','params','Campaign','keys','intersection','length','include','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','options','omit','createdAt','updatedAt','body','role','findOne','CampaignId','filter'];(function(_0x209723,_0x4c5ff8){var _0x4a9955=function(_0x24a0dd){while(--_0x24a0dd){_0x209723['push'](_0x209723['shift']());}};_0x4a9955(++_0x4c5ff8);}(_0x9205,0x14d));var _0x5920=function(_0x4e6364,_0x1b3ccc){_0x4e6364=_0x4e6364-0x0;var _0x470a03=_0x9205[_0x4e6364];return _0x470a03;};'use strict';var emlformat=require(_0x5920('0x0'));var rimraf=require(_0x5920('0x1'));var zipdir=require(_0x5920('0x2'));var jsonpatch=require(_0x5920('0x3'));var rp=require(_0x5920('0x4'));var moment=require(_0x5920('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x5920('0x6'));var _=require('lodash');var squel=require(_0x5920('0x7'));var crypto=require(_0x5920('0x8'));var jsforce=require(_0x5920('0x9'));var deskjs=require(_0x5920('0xa'));var toCsv=require(_0x5920('0xb'));var querystring=require(_0x5920('0xc'));var Papa=require(_0x5920('0xd'));var Redis=require('ioredis');var authService=require(_0x5920('0xe'));var qs=require(_0x5920('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x5920('0x10'));var logger=require(_0x5920('0x11'))(_0x5920('0x12'));var utils=require('../../config/utils');var config=require(_0x5920('0x13'));var licenseUtil=require(_0x5920('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x288132,_0x382ff8){_0x382ff8=_0x382ff8||0xcc;return function(_0x19a466){if(_0x19a466){return _0x288132[_0x5920('0x15')](_0x382ff8);}return _0x288132[_0x5920('0x16')](_0x382ff8)[_0x5920('0x17')]();};}function respondWithResult(_0x17e07a,_0x47a44b){_0x47a44b=_0x47a44b||0xc8;return function(_0x1cc5da){if(_0x1cc5da){return _0x17e07a[_0x5920('0x16')](_0x47a44b)[_0x5920('0x18')](_0x1cc5da);}};}function respondWithFilteredResult(_0x39872b,_0x3ad851){return function(_0x17339e){if(_0x17339e){var _0x4d4270=typeof _0x3ad851['offset']===_0x5920('0x19')&&typeof _0x3ad851[_0x5920('0x1a')]==='undefined';var _0x22cd40=_0x17339e[_0x5920('0x1b')];var _0x1801c1=_0x4d4270?0x0:_0x3ad851[_0x5920('0x1c')];var _0x34d93a=_0x4d4270?_0x17339e[_0x5920('0x1b')]:_0x3ad851[_0x5920('0x1c')]+_0x3ad851[_0x5920('0x1a')];var _0x49b091;if(_0x34d93a>=_0x22cd40){_0x34d93a=_0x22cd40;_0x49b091=0xc8;}else{_0x49b091=0xce;}_0x39872b[_0x5920('0x16')](_0x49b091);return _0x39872b[_0x5920('0x1d')](_0x5920('0x1e'),_0x1801c1+'-'+_0x34d93a+'/'+_0x22cd40)[_0x5920('0x18')](_0x17339e);}return null;};}function patchUpdates(_0x55776d){return function(_0x1f6fa6){try{jsonpatch[_0x5920('0x1f')](_0x1f6fa6,_0x55776d,!![]);}catch(_0x4a8571){return BPromise[_0x5920('0x20')](_0x4a8571);}return _0x1f6fa6['save']();};}function saveUpdates(_0x49eb65,_0x2a676f){return function(_0x180158){if(_0x180158){return _0x180158['update'](_0x49eb65)[_0x5920('0x21')](function(_0x1d0a4c){return _0x1d0a4c;});}return null;};}function removeEntity(_0xe15b75,_0x33dff7){return function(_0x2223cb){if(_0x2223cb){return _0x2223cb[_0x5920('0x22')]()[_0x5920('0x21')](function(){var _0x490e33=_0x2223cb[_0x5920('0x23')]({'plain':!![]});var _0x190825=_0x5920('0x24');return db['UserProfileResource'][_0x5920('0x22')]({'where':{'type':_0x190825,'resourceId':_0x490e33['id']}})[_0x5920('0x21')](function(){return _0x2223cb;});})[_0x5920('0x21')](function(){_0xe15b75[_0x5920('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2ef5fa,_0x510bd1){return function(_0x337e16){if(!_0x337e16){_0x2ef5fa[_0x5920('0x15')](0x194);}return _0x337e16;};}function handleError(_0x402e54,_0x4cbfaf){_0x4cbfaf=_0x4cbfaf||0x1f4;return function(_0x20978){logger[_0x5920('0x25')](_0x20978['stack']);if(_0x20978[_0x5920('0x26')]){delete _0x20978[_0x5920('0x26')];}_0x402e54[_0x5920('0x16')](_0x4cbfaf)[_0x5920('0x27')](_0x20978);};}exports[_0x5920('0x28')]=function(_0x206c1b,_0x5154b2){var _0x59267e={},_0x5b3a3f={},_0x3475a8={'count':0x0,'rows':[]};var _0x41d72e=_[_0x5920('0x29')](db['Campaign'][_0x5920('0x2a')],function(_0x130476){return{'name':_0x130476['fieldName'],'type':_0x130476[_0x5920('0x2b')]['key']};});_0x5b3a3f[_0x5920('0x2c')]=_[_0x5920('0x29')](_0x41d72e,_0x5920('0x26'));_0x5b3a3f[_0x5920('0x2d')]=_['keys'](_0x206c1b[_0x5920('0x2d')]);_0x5b3a3f[_0x5920('0x2e')]=_['intersection'](_0x5b3a3f['model'],_0x5b3a3f[_0x5920('0x2d')]);_0x59267e[_0x5920('0x2f')]=_['intersection'](_0x5b3a3f['model'],qs[_0x5920('0x30')](_0x206c1b['query']['fields']));_0x59267e['attributes']=_0x59267e[_0x5920('0x2f')]['length']?_0x59267e[_0x5920('0x2f')]:_0x5b3a3f[_0x5920('0x2c')];if(!_0x206c1b[_0x5920('0x2d')][_0x5920('0x31')](_0x5920('0x32'))){_0x59267e['limit']=qs[_0x5920('0x1a')](_0x206c1b[_0x5920('0x2d')][_0x5920('0x1a')]);_0x59267e[_0x5920('0x1c')]=qs['offset'](_0x206c1b[_0x5920('0x2d')][_0x5920('0x1c')]);}_0x59267e[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x206c1b[_0x5920('0x2d')][_0x5920('0x34')]);_0x59267e[_0x5920('0x35')]=qs[_0x5920('0x2e')](_[_0x5920('0x36')](_0x206c1b[_0x5920('0x2d')],_0x5b3a3f['filters']),_0x41d72e);if(_0x206c1b[_0x5920('0x2d')]['filter']){_0x59267e[_0x5920('0x35')]=_[_0x5920('0x37')](_0x59267e['where'],{'$or':_['map'](_0x41d72e,function(_0x9a4d5e){if(_0x9a4d5e[_0x5920('0x2b')]!=='VIRTUAL'){var _0x437c89={};_0x437c89[_0x9a4d5e[_0x5920('0x26')]]={'$like':'%'+_0x206c1b[_0x5920('0x2d')]['filter']+'%'};return _0x437c89;}})});}_0x59267e=_[_0x5920('0x37')]({},_0x59267e,_0x206c1b['options']);var _0x355c4f={'where':_0x59267e[_0x5920('0x35')]};return db['Campaign'][_0x5920('0x1b')](_0x355c4f)[_0x5920('0x21')](function(_0x5c8a08){_0x3475a8[_0x5920('0x1b')]=_0x5c8a08;if(_0x206c1b[_0x5920('0x2d')][_0x5920('0x38')]){_0x59267e['include']=[{'all':!![]}];}return db['Campaign'][_0x5920('0x39')](_0x59267e);})['then'](function(_0x51cf32){_0x3475a8[_0x5920('0x3a')]=_0x51cf32;return _0x3475a8;})[_0x5920('0x21')](respondWithFilteredResult(_0x5154b2,_0x59267e))[_0x5920('0x3b')](handleError(_0x5154b2,null));};exports['show']=function(_0x573618,_0x13dfb7){var _0x10b424={'raw':![],'where':{'id':_0x573618[_0x5920('0x3c')]['id']}},_0x13d405={};_0x13d405[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x3d')][_0x5920('0x2a')]);_0x13d405[_0x5920('0x2d')]=_[_0x5920('0x3e')](_0x573618['query']);_0x13d405[_0x5920('0x2e')]=_[_0x5920('0x3f')](_0x13d405[_0x5920('0x2c')],_0x13d405[_0x5920('0x2d')]);_0x10b424[_0x5920('0x2f')]=_[_0x5920('0x3f')](_0x13d405[_0x5920('0x2c')],qs[_0x5920('0x30')](_0x573618[_0x5920('0x2d')]['fields']));_0x10b424[_0x5920('0x2f')]=_0x10b424[_0x5920('0x2f')][_0x5920('0x40')]?_0x10b424['attributes']:_0x13d405[_0x5920('0x2c')];if(_0x573618['query']['includeAll']){_0x10b424[_0x5920('0x41')]=[{'all':!![]}];}_0x10b424=_['merge']({},_0x10b424,_0x573618['options']);return db['Campaign'][_0x5920('0x42')](_0x10b424)['then'](handleEntityNotFound(_0x13dfb7,null))[_0x5920('0x21')](respondWithResult(_0x13dfb7,null))[_0x5920('0x3b')](handleError(_0x13dfb7,null));};exports[_0x5920('0x43')]=function(_0x11f5ef,_0x4b7c90){return db[_0x5920('0x3d')][_0x5920('0x43')](_0x11f5ef['body'],{})[_0x5920('0x21')](function(_0x450005){var _0x1323f7=_0x11f5ef[_0x5920('0x44')][_0x5920('0x23')]({'plain':!![]});if(!_0x1323f7)throw new Error(_0x5920('0x45'));if(_0x1323f7['role']===_0x5920('0x44')){var _0x36eed7=_0x450005[_0x5920('0x23')]({'plain':!![]});var _0x49f1f2=_0x5920('0x24');return db['UserProfileSection']['find']({'where':{'name':_0x49f1f2,'userProfileId':_0x1323f7[_0x5920('0x46')]},'raw':!![]})[_0x5920('0x21')](function(_0x4b293d){if(_0x4b293d&&_0x4b293d[_0x5920('0x47')]===0x0){return db[_0x5920('0x48')]['create']({'name':_0x36eed7['name'],'resourceId':_0x36eed7['id'],'type':_0x4b293d[_0x5920('0x26')],'sectionId':_0x4b293d['id']},{})[_0x5920('0x21')](function(){return _0x450005;});}else{return _0x450005;}})[_0x5920('0x3b')](function(_0x4e2102){logger['error'](_0x5920('0x49'),_0x4e2102);throw _0x4e2102;});}return _0x450005;})[_0x5920('0x21')](respondWithResult(_0x4b7c90,0xc9))['catch'](handleError(_0x4b7c90,null));};exports[_0x5920('0x4a')]=function(_0xea0d81,_0x5160d5){var _0x321c26={'where':{'id':_0xea0d81[_0x5920('0x3c')]['id']}},_0x1c7d94={};_0x1c7d94[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x3d')][_0x5920('0x2a')]);_0x321c26[_0x5920('0x2f')]=_[_0x5920('0x3f')](_0x1c7d94[_0x5920('0x2c')],qs['fields'](_0xea0d81[_0x5920('0x2d')][_0x5920('0x30')]));_0x321c26[_0x5920('0x2f')]=_0x321c26[_0x5920('0x2f')][_0x5920('0x40')]?_0x321c26[_0x5920('0x2f')]:_0x1c7d94[_0x5920('0x2c')];if(_0xea0d81[_0x5920('0x2d')]['includeAll']){_0x321c26[_0x5920('0x41')]=[{'all':!![]}];}_0x321c26=_[_0x5920('0x37')]({},_0x321c26,_0xea0d81[_0x5920('0x4b')]);return db[_0x5920('0x3d')][_0x5920('0x42')](_0x321c26)[_0x5920('0x21')](handleEntityNotFound(_0x5160d5,null))[_0x5920('0x21')](function(_0x31d619){if(_0x31d619){var _0x45a3a7=_0x31d619['get']({'plain':!![]});_0x45a3a7=qs[_0x5920('0x4c')](_0x45a3a7,['id',_0x5920('0x4d'),_0x5920('0x4e')]);_0xea0d81['body']=_['omit'](_0xea0d81[_0x5920('0x4f')],['id','createdAt','updatedAt']);return db[_0x5920('0x3d')][_0x5920('0x43')](_[_0x5920('0x37')](_0x45a3a7,_0xea0d81[_0x5920('0x4f')]),{'include':_0xea0d81[_0x5920('0x2d')][_0x5920('0x38')]?[{'all':!![]}]:undefined})[_0x5920('0x21')](function(_0x2aee8a){var _0x42efe1=_0xea0d81[_0x5920('0x44')][_0x5920('0x23')]({'plain':!![]});if(!_0x42efe1)throw new Error(_0x5920('0x45'));if(_0x42efe1[_0x5920('0x50')]===_0x5920('0x44')){var _0x4fc4a7=_0x2aee8a[_0x5920('0x23')]({'plain':!![]});var _0x5b5b5b=_0x5920('0x24');return db['UserProfileSection']['find']({'where':{'name':_0x5b5b5b,'userProfileId':_0x42efe1[_0x5920('0x46')]},'raw':!![]})[_0x5920('0x21')](function(_0x373f81){if(_0x373f81&&_0x373f81['autoAssociation']===0x0){return db[_0x5920('0x48')]['create']({'name':_0x4fc4a7['name'],'resourceId':_0x4fc4a7['id'],'type':_0x373f81[_0x5920('0x26')],'sectionId':_0x373f81['id']},{})[_0x5920('0x21')](function(){return _0x2aee8a;});}else{return _0x2aee8a;}})[_0x5920('0x3b')](function(_0x3953f5){logger['error'](_0x5920('0x49'),_0x3953f5);throw _0x3953f5;});}return _0x2aee8a;});}})[_0x5920('0x21')](respondWithResult(_0x5160d5,0xc9))[_0x5920('0x3b')](handleError(_0x5160d5,null));};exports['update']=function(_0x86f647,_0x183248){if(_0x86f647[_0x5920('0x4f')]['id']){delete _0x86f647[_0x5920('0x4f')]['id'];}return db[_0x5920('0x3d')]['find']({'where':{'id':_0x86f647['params']['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x183248,null))['then'](saveUpdates(_0x86f647[_0x5920('0x4f')],null))[_0x5920('0x21')](respondWithResult(_0x183248,null))[_0x5920('0x3b')](handleError(_0x183248,null));};exports[_0x5920('0x22')]=function(_0x2d237a,_0x1327b4){return db[_0x5920('0x3d')][_0x5920('0x42')]({'where':{'id':_0x2d237a[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x1327b4,null))[_0x5920('0x21')](removeEntity(_0x1327b4,null))[_0x5920('0x3b')](handleError(_0x1327b4,null));};exports['getHoppers']=function(_0x2fc7ac,_0x5780a8,_0x3b725a){var _0x18f42b={'raw':!![],'where':{}};var _0xcdf447={};var _0x34b1c6={'count':0x0,'rows':[]};return db[_0x5920('0x3d')][_0x5920('0x51')]({'where':{'id':_0x2fc7ac[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x5780a8,null))['then'](function(_0x5b563d){if(_0x5b563d){_0xcdf447[_0x5920('0x2c')]=_['keys'](db['CmHopper']['rawAttributes']);_0xcdf447[_0x5920('0x2d')]=_[_0x5920('0x3e')](_0x2fc7ac[_0x5920('0x2d')]);_0xcdf447['filters']=_['intersection'](_0xcdf447[_0x5920('0x2c')],_0xcdf447['query']);_0x18f42b[_0x5920('0x2f')]=_['intersection'](_0xcdf447['model'],qs[_0x5920('0x30')](_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x30')]));_0x18f42b[_0x5920('0x2f')]=_0x18f42b[_0x5920('0x2f')][_0x5920('0x40')]?_0x18f42b['attributes']:_0xcdf447[_0x5920('0x2c')];if(!_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x31')](_0x5920('0x32'))){_0x18f42b[_0x5920('0x1a')]=qs[_0x5920('0x1a')](_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x1a')]);_0x18f42b[_0x5920('0x1c')]=qs[_0x5920('0x1c')](_0x2fc7ac['query'][_0x5920('0x1c')]);}_0x18f42b[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x34')]);_0x18f42b['where']=qs['filters'](_[_0x5920('0x36')](_0x2fc7ac['query'],_0xcdf447['filters']));_0x18f42b['where'][_0x5920('0x52')]=_0x5b563d['id'];if(_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x53')]){_0x18f42b['where']=_['merge'](_0x18f42b['where'],{'$or':_[_0x5920('0x29')](_0x18f42b['attributes'],function(_0x1f9a2d){var _0x3e9276={};_0x3e9276[_0x1f9a2d]={'$like':'%'+_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x53')]+'%'};return _0x3e9276;})});}_0x18f42b=_[_0x5920('0x37')]({},_0x18f42b,_0x2fc7ac[_0x5920('0x4b')]);return db[_0x5920('0x54')][_0x5920('0x1b')]({'where':_0x18f42b[_0x5920('0x35')]})['then'](function(_0x406d14){_0x34b1c6[_0x5920('0x1b')]=_0x406d14;if(_0x2fc7ac[_0x5920('0x2d')][_0x5920('0x38')]){_0x18f42b[_0x5920('0x41')]=[{'all':!![]}];}return db[_0x5920('0x54')][_0x5920('0x39')](_0x18f42b);})[_0x5920('0x21')](function(_0x309b66){_0x34b1c6[_0x5920('0x3a')]=_0x309b66;return _0x34b1c6;});}})[_0x5920('0x21')](respondWithFilteredResult(_0x5780a8,_0x18f42b))[_0x5920('0x3b')](handleError(_0x5780a8,null));};exports[_0x5920('0x55')]=function(_0x1df7fa,_0x400df5,_0x870fba){var _0x530253={'raw':!![],'where':{}};var _0x4d11f6={};var _0x1d066c={'count':0x0,'rows':[]};return db['Campaign']['findOne']({'where':{'id':_0x1df7fa[_0x5920('0x3c')]['id']}})['then'](handleEntityNotFound(_0x400df5,null))['then'](function(_0x280cac){if(_0x280cac){_0x4d11f6[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x56')]['rawAttributes']);_0x4d11f6[_0x5920('0x2d')]=_[_0x5920('0x3e')](_0x1df7fa[_0x5920('0x2d')]);_0x4d11f6[_0x5920('0x2e')]=_[_0x5920('0x3f')](_0x4d11f6[_0x5920('0x2c')],_0x4d11f6['query']);_0x530253['attributes']=_[_0x5920('0x3f')](_0x4d11f6[_0x5920('0x2c')],qs[_0x5920('0x30')](_0x1df7fa[_0x5920('0x2d')][_0x5920('0x30')]));_0x530253['attributes']=_0x530253[_0x5920('0x2f')][_0x5920('0x40')]?_0x530253['attributes']:_0x4d11f6[_0x5920('0x2c')];if(!_0x1df7fa[_0x5920('0x2d')][_0x5920('0x31')]('nolimit')){_0x530253[_0x5920('0x1a')]=qs[_0x5920('0x1a')](_0x1df7fa[_0x5920('0x2d')][_0x5920('0x1a')]);_0x530253[_0x5920('0x1c')]=qs[_0x5920('0x1c')](_0x1df7fa[_0x5920('0x2d')][_0x5920('0x1c')]);}_0x530253[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x1df7fa[_0x5920('0x2d')][_0x5920('0x34')]);_0x530253[_0x5920('0x35')]=qs[_0x5920('0x2e')](_['pick'](_0x1df7fa[_0x5920('0x2d')],_0x4d11f6[_0x5920('0x2e')]));_0x530253[_0x5920('0x35')][_0x5920('0x52')]=_0x280cac['id'];if(_0x1df7fa['query']['filter']){_0x530253[_0x5920('0x35')]=_['merge'](_0x530253['where'],{'$or':_[_0x5920('0x29')](_0x530253[_0x5920('0x2f')],function(_0x114c2f){var _0x523116={};_0x523116[_0x114c2f]={'$like':'%'+_0x1df7fa['query'][_0x5920('0x53')]+'%'};return _0x523116;})});}_0x530253=_[_0x5920('0x37')]({},_0x530253,_0x1df7fa[_0x5920('0x4b')]);return db[_0x5920('0x56')]['count']({'where':_0x530253[_0x5920('0x35')]})[_0x5920('0x21')](function(_0x476820){_0x1d066c[_0x5920('0x1b')]=_0x476820;if(_0x1df7fa[_0x5920('0x2d')][_0x5920('0x38')]){_0x530253['include']=[{'all':!![]}];}return db['CmHopperHistory']['findAll'](_0x530253);})[_0x5920('0x21')](function(_0x41e25a){_0x1d066c[_0x5920('0x3a')]=_0x41e25a;return _0x1d066c;});}})[_0x5920('0x21')](respondWithFilteredResult(_0x400df5,_0x530253))['catch'](handleError(_0x400df5,null));};exports['getHopperFinals']=function(_0x419347,_0x363ce1,_0x41e076){var _0x173861={'raw':!![],'where':{}};var _0x4ed9a0={};var _0xd55684={'count':0x0,'rows':[]};return db[_0x5920('0x3d')][_0x5920('0x51')]({'where':{'id':_0x419347[_0x5920('0x3c')]['id']}})['then'](handleEntityNotFound(_0x363ce1,null))[_0x5920('0x21')](function(_0x50257b){if(_0x50257b){_0x4ed9a0[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x57')][_0x5920('0x2a')]);_0x4ed9a0[_0x5920('0x2d')]=_[_0x5920('0x3e')](_0x419347[_0x5920('0x2d')]);_0x4ed9a0['filters']=_[_0x5920('0x3f')](_0x4ed9a0[_0x5920('0x2c')],_0x4ed9a0[_0x5920('0x2d')]);_0x173861[_0x5920('0x2f')]=_[_0x5920('0x3f')](_0x4ed9a0['model'],qs[_0x5920('0x30')](_0x419347[_0x5920('0x2d')][_0x5920('0x30')]));_0x173861[_0x5920('0x2f')]=_0x173861[_0x5920('0x2f')][_0x5920('0x40')]?_0x173861['attributes']:_0x4ed9a0['model'];if(!_0x419347[_0x5920('0x2d')][_0x5920('0x31')](_0x5920('0x32'))){_0x173861['limit']=qs['limit'](_0x419347['query'][_0x5920('0x1a')]);_0x173861[_0x5920('0x1c')]=qs['offset'](_0x419347[_0x5920('0x2d')][_0x5920('0x1c')]);}_0x173861[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x419347['query'][_0x5920('0x34')]);_0x173861[_0x5920('0x35')]=qs[_0x5920('0x2e')](_['pick'](_0x419347[_0x5920('0x2d')],_0x4ed9a0[_0x5920('0x2e')]));_0x173861['where'][_0x5920('0x52')]=_0x50257b['id'];if(_0x419347[_0x5920('0x2d')][_0x5920('0x53')]){_0x173861[_0x5920('0x35')]=_['merge'](_0x173861[_0x5920('0x35')],{'$or':_[_0x5920('0x29')](_0x173861['attributes'],function(_0x44666b){var _0x595048={};_0x595048[_0x44666b]={'$like':'%'+_0x419347[_0x5920('0x2d')][_0x5920('0x53')]+'%'};return _0x595048;})});}_0x173861=_[_0x5920('0x37')]({},_0x173861,_0x419347[_0x5920('0x4b')]);return db['CmHopperFinal'][_0x5920('0x1b')]({'where':_0x173861[_0x5920('0x35')]})['then'](function(_0x4f694a){_0xd55684[_0x5920('0x1b')]=_0x4f694a;if(_0x419347[_0x5920('0x2d')][_0x5920('0x38')]){_0x173861[_0x5920('0x41')]=[{'all':!![]}];}return db[_0x5920('0x57')][_0x5920('0x39')](_0x173861);})[_0x5920('0x21')](function(_0x3f3edc){_0xd55684['rows']=_0x3f3edc;return _0xd55684;});}})['then'](respondWithFilteredResult(_0x363ce1,_0x173861))[_0x5920('0x3b')](handleError(_0x363ce1,null));};exports[_0x5920('0x58')]=function(_0x36fffa,_0x3108b9,_0x4f5c04){var _0x1326d0={'raw':!![],'where':{}};var _0x2108f9={};var _0x48fc25={'count':0x0,'rows':[]};return db[_0x5920('0x3d')][_0x5920('0x51')]({'where':{'id':_0x36fffa[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x3108b9,null))[_0x5920('0x21')](function(_0xaed531){if(_0xaed531){_0x2108f9[_0x5920('0x2c')]=_[_0x5920('0x3e')](db[_0x5920('0x59')][_0x5920('0x2a')]);_0x2108f9['query']=_['keys'](_0x36fffa[_0x5920('0x2d')]);_0x2108f9[_0x5920('0x2e')]=_[_0x5920('0x3f')](_0x2108f9['model'],_0x2108f9[_0x5920('0x2d')]);_0x1326d0[_0x5920('0x2f')]=_[_0x5920('0x3f')](_0x2108f9['model'],qs[_0x5920('0x30')](_0x36fffa[_0x5920('0x2d')]['fields']));_0x1326d0[_0x5920('0x2f')]=_0x1326d0[_0x5920('0x2f')][_0x5920('0x40')]?_0x1326d0['attributes']:_0x2108f9[_0x5920('0x2c')];if(!_0x36fffa['query']['hasOwnProperty'](_0x5920('0x32'))){_0x1326d0[_0x5920('0x1a')]=qs[_0x5920('0x1a')](_0x36fffa[_0x5920('0x2d')][_0x5920('0x1a')]);_0x1326d0[_0x5920('0x1c')]=qs[_0x5920('0x1c')](_0x36fffa[_0x5920('0x2d')][_0x5920('0x1c')]);}_0x1326d0[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x36fffa[_0x5920('0x2d')][_0x5920('0x34')]);_0x1326d0[_0x5920('0x35')]=qs[_0x5920('0x2e')](_[_0x5920('0x36')](_0x36fffa[_0x5920('0x2d')],_0x2108f9[_0x5920('0x2e')]));_0x1326d0['where']['CampaignId']=_0xaed531['id'];if(_0x36fffa[_0x5920('0x2d')][_0x5920('0x53')]){_0x1326d0[_0x5920('0x35')]=_[_0x5920('0x37')](_0x1326d0['where'],{'$or':_[_0x5920('0x29')](_0x1326d0['attributes'],function(_0x27f689){var _0x43294d={};_0x43294d[_0x27f689]={'$like':'%'+_0x36fffa['query'][_0x5920('0x53')]+'%'};return _0x43294d;})});}_0x1326d0=_[_0x5920('0x37')]({},_0x1326d0,_0x36fffa[_0x5920('0x4b')]);return db[_0x5920('0x59')][_0x5920('0x1b')]({'where':_0x1326d0[_0x5920('0x35')]})[_0x5920('0x21')](function(_0x4fddcf){_0x48fc25['count']=_0x4fddcf;if(_0x36fffa[_0x5920('0x2d')]['includeAll']){_0x1326d0[_0x5920('0x41')]=[{'all':!![]}];}return db[_0x5920('0x59')][_0x5920('0x39')](_0x1326d0);})[_0x5920('0x21')](function(_0x6b1f9f){_0x48fc25[_0x5920('0x3a')]=_0x6b1f9f;return _0x48fc25;});}})[_0x5920('0x21')](respondWithFilteredResult(_0x3108b9,_0x1326d0))[_0x5920('0x3b')](handleError(_0x3108b9,null));};exports[_0x5920('0x5a')]=function(_0x3b8c4b,_0x343834,_0x207412){var _0x144326={};var _0x4c52a8={};var _0x4bd427;var _0xd4b10c;return db[_0x5920('0x3d')][_0x5920('0x51')]({'where':{'id':_0x3b8c4b['params']['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x343834,null))[_0x5920('0x21')](function(_0x4e7a4e){if(_0x4e7a4e){_0x4bd427=_0x4e7a4e;_0x4c52a8[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x5b')][_0x5920('0x2a')]);_0x4c52a8[_0x5920('0x2d')]=_[_0x5920('0x3e')](_0x3b8c4b[_0x5920('0x2d')]);_0x4c52a8[_0x5920('0x2e')]=_[_0x5920('0x3f')](_0x4c52a8[_0x5920('0x2c')],_0x4c52a8[_0x5920('0x2d')]);_0x144326[_0x5920('0x2f')]=_[_0x5920('0x3f')](_0x4c52a8['model'],qs[_0x5920('0x30')](_0x3b8c4b['query'][_0x5920('0x30')]));_0x144326[_0x5920('0x2f')]=_0x144326[_0x5920('0x2f')][_0x5920('0x40')]?_0x144326[_0x5920('0x2f')]:_0x4c52a8['model'];_0x144326[_0x5920('0x33')]=qs[_0x5920('0x34')](_0x3b8c4b[_0x5920('0x2d')][_0x5920('0x34')]);_0x144326['where']=qs['filters'](_[_0x5920('0x36')](_0x3b8c4b[_0x5920('0x2d')],_0x4c52a8['filters']));if(_0x3b8c4b[_0x5920('0x2d')][_0x5920('0x53')]){_0x144326['where']=_[_0x5920('0x37')](_0x144326[_0x5920('0x35')],{'$or':_['map'](_0x144326['attributes'],function(_0x39e55a){var _0x23971e={};_0x23971e[_0x39e55a]={'$like':'%'+_0x3b8c4b[_0x5920('0x2d')][_0x5920('0x53')]+'%'};return _0x23971e;})});}_0x144326=_[_0x5920('0x37')]({},_0x144326,_0x3b8c4b[_0x5920('0x4b')]);return _0x4bd427[_0x5920('0x5a')](_0x144326);}})['then'](function(_0x257070){if(_0x257070){_0xd4b10c=_0x257070['length'];if(!_0x3b8c4b[_0x5920('0x2d')][_0x5920('0x31')](_0x5920('0x32'))){_0x144326[_0x5920('0x1a')]=qs[_0x5920('0x1a')](_0x3b8c4b['query'][_0x5920('0x1a')]);_0x144326[_0x5920('0x1c')]=qs[_0x5920('0x1c')](_0x3b8c4b['query'][_0x5920('0x1c')]);}return _0x4bd427[_0x5920('0x5a')](_0x144326);}})['then'](function(_0x371628){if(_0x371628){return _0x371628?{'count':_0xd4b10c,'rows':_0x371628}:null;}})[_0x5920('0x21')](respondWithResult(_0x343834,null))[_0x5920('0x3b')](handleError(_0x343834,null));};exports['addLists']=function(_0x470660,_0x56e96f,_0x5f16e9){var _0x408001,_0x29a233;var _0x2e3988=[];var _0x4dd875=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');return db[_0x5920('0x3d')][_0x5920('0x42')]({'where':{'id':_0x470660[_0x5920('0x3c')]['id']}})['then'](handleEntityNotFound(_0x56e96f,null))[_0x5920('0x21')](function(_0x2c0bc6){if(_0x2c0bc6){_0x29a233=_0x2c0bc6;return _0x2c0bc6['addLists'](_0x470660[_0x5920('0x4f')][_0x5920('0x5c')],_[_0x5920('0x4c')](_0x470660[_0x5920('0x4f')],[_0x5920('0x5c'),'id'])||{});}return null;})[_0x5920('0x5d')](function(_0x4b117e){var _0x343d5d;var _0x15721d;_0x408001=_0x4b117e||[];var _0x878d3=[];if(_0x4b117e){for(var _0x16c39a=0x0;_0x16c39a<_0x4b117e[_0x5920('0x40')];_0x16c39a+=0x1){var _0x494b76=_0x4b117e[_0x16c39a][_0x5920('0x23')]({'plain':!![]});_0x29a233[_0x5920('0x5e')]=_0x470660[_0x5920('0x4f')][_0x5920('0x5e')]?_0x470660['body'][_0x5920('0x5e')]:_0x29a233['dialCheckDuplicateType'];switch(_0x29a233[_0x5920('0x5e')]){case _0x5920('0x5f'):_0x343d5d=squel[_0x5920('0x60')]()[_0x5920('0x61')](_0x5920('0x62'))[_0x5920('0x63')]([_0x5920('0x64'),_0x5920('0x65'),_0x5920('0x66'),_0x5920('0x67'),_0x5920('0x52'),_0x5920('0x4d'),_0x5920('0x4e')],squel[_0x5920('0x68')]()[_0x5920('0x69')](_0x5920('0x64'),_0x5920('0x64'))['field'](_0x5920('0x6a'),_0x5920('0x65'))[_0x5920('0x69')]('id',_0x5920('0x66'))[_0x5920('0x69')](_0x494b76[_0x5920('0x6b')][_0x5920('0x6c')](),'ListId')[_0x5920('0x69')](_0x470660[_0x5920('0x3c')]['id'][_0x5920('0x6c')](),'CampaignId')[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27',_0x5920('0x4d'))[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27',_0x5920('0x4e'))['from']('cm_contacts')[_0x5920('0x35')]('deletedAt\x20IS\x20NULL')[_0x5920('0x35')](_0x5920('0x6d'),_0x494b76[_0x5920('0x6b')]['toString']())[_0x5920('0x35')](_0x5920('0x6e'))['where'](_0x5920('0x6f'),squel[_0x5920('0x68')]()[_0x5920('0x69')](_0x5920('0x70'))[_0x5920('0x71')]('cm_hopper_final')[_0x5920('0x35')](_0x5920('0x72'),_0x470660['params']['id'][_0x5920('0x6c')]()))[_0x5920('0x35')](_0x5920('0x6f'),squel['select']()[_0x5920('0x69')](_0x5920('0x73'))[_0x5920('0x71')]('cm_hopper')[_0x5920('0x35')](_0x5920('0x72'),_0x470660[_0x5920('0x3c')]['id'][_0x5920('0x6c')]())))[_0x5920('0x6c')]();break;case _0x5920('0x74'):_0x343d5d=squel[_0x5920('0x60')]()['into'](_0x5920('0x62'))[_0x5920('0x63')]([_0x5920('0x64'),_0x5920('0x65'),_0x5920('0x66'),_0x5920('0x67'),_0x5920('0x52'),'createdAt',_0x5920('0x4e')],squel['select']()[_0x5920('0x69')](_0x5920('0x64'),'phone')[_0x5920('0x69')](_0x5920('0x6a'),_0x5920('0x65'))[_0x5920('0x69')]('id',_0x5920('0x66'))[_0x5920('0x69')](_0x494b76['CmListId'][_0x5920('0x6c')](),'ListId')[_0x5920('0x69')](_0x470660[_0x5920('0x3c')]['id']['toString'](),'CampaignId')[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27','createdAt')[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27',_0x5920('0x4e'))['from'](_0x5920('0x75'))[_0x5920('0x35')](_0x5920('0x76'))[_0x5920('0x35')](_0x5920('0x6d'),_0x494b76[_0x5920('0x6b')][_0x5920('0x6c')]())[_0x5920('0x35')](_0x5920('0x6e'))['where'](_0x5920('0x6f'),squel[_0x5920('0x68')]()[_0x5920('0x69')](_0x5920('0x73'))[_0x5920('0x71')](_0x5920('0x62'))['where']('CampaignId\x20=\x20?',_0x470660[_0x5920('0x3c')]['id'][_0x5920('0x6c')]())))['toString']();break;default:_0x343d5d=squel[_0x5920('0x60')]()[_0x5920('0x61')](_0x5920('0x62'))[_0x5920('0x63')]([_0x5920('0x64'),_0x5920('0x65'),_0x5920('0x66'),'ListId',_0x5920('0x52'),_0x5920('0x4d'),_0x5920('0x4e')],squel[_0x5920('0x68')]()['field'](_0x5920('0x64'),_0x5920('0x64'))[_0x5920('0x69')](_0x5920('0x6a'),_0x5920('0x65'))['field']('id',_0x5920('0x66'))['field'](_0x494b76[_0x5920('0x6b')][_0x5920('0x6c')](),_0x5920('0x67'))[_0x5920('0x69')](_0x470660[_0x5920('0x3c')]['id'][_0x5920('0x6c')](),'CampaignId')[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27','createdAt')[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27',_0x5920('0x4e'))[_0x5920('0x71')](_0x5920('0x75'))['where'](_0x5920('0x76'))[_0x5920('0x35')]('ListId\x20=\x20?',_0x494b76[_0x5920('0x6b')]['toString']())[_0x5920('0x35')](_0x5920('0x6e')))[_0x5920('0x6c')]();}_0x15721d=squel[_0x5920('0x60')]()[_0x5920('0x61')](_0x5920('0x77'))[_0x5920('0x63')]([_0x5920('0x78'),_0x5920('0x65'),'phone',_0x5920('0x79'),'createdAt',_0x5920('0x4e')],squel[_0x5920('0x68')]()[_0x5920('0x69')]('h.id','id')[_0x5920('0x69')](_0x5920('0x6a'),_0x5920('0x65'))[_0x5920('0x69')](_0x5920('0x7a'),_0x5920('0x64'))[_0x5920('0x69')](_0x5920('0x7b'),_0x5920('0x79'))['field']('\x27'+_0x4dd875+'\x27',_0x5920('0x4d'))[_0x5920('0x69')]('\x27'+_0x4dd875+'\x27',_0x5920('0x4e'))[_0x5920('0x71')](_0x5920('0x7c'),'ci')[_0x5920('0x7d')](_0x5920('0x62'),'h',_0x5920('0x7e'))[_0x5920('0x35')](_0x5920('0x7f'),_0x494b76['CmListId'][_0x5920('0x6c')]())[_0x5920('0x35')](_0x5920('0x80'),_0x470660[_0x5920('0x3c')]['id']['toString']())[_0x5920('0x35')](_0x5920('0x81'),_0x4dd875))['toString']();_0x878d3[_0x5920('0x82')](db[_0x5920('0x83')][_0x5920('0x2d')](_0x343d5d));_0x2e3988['push'](db[_0x5920('0x83')][_0x5920('0x2d')](_0x15721d));}return BPromise[_0x5920('0x84')](_0x878d3);}})[_0x5920('0x21')](function(){return BPromise['all'](_0x2e3988);})[_0x5920('0x21')](function(){return _0x408001;})['then'](respondWithResult(_0x56e96f,null))[_0x5920('0x3b')](handleError(_0x56e96f,null));};exports[_0x5920('0x85')]=function(_0x429713,_0x25c3fe,_0x3eb42c){return db[_0x5920('0x3d')]['find']({'where':{'id':_0x429713[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x25c3fe,null))[_0x5920('0x21')](function(_0x1b5f8a){if(_0x1b5f8a){return _0x1b5f8a[_0x5920('0x85')](_0x429713[_0x5920('0x2d')][_0x5920('0x5c')]);}})['then'](function(_0x5f1c03){if(_0x5f1c03){return db[_0x5920('0x54')][_0x5920('0x22')]({'where':{'ListId':_0x429713[_0x5920('0x2d')][_0x5920('0x5c')],'CampaignId':_0x429713[_0x5920('0x3c')]['id']}})['then'](function(){return _0x5f1c03;});}})[_0x5920('0x21')](respondWithStatusCode(_0x25c3fe,null))[_0x5920('0x3b')](handleError(_0x25c3fe,null));};exports[_0x5920('0x86')]=function(_0x543caf,_0x2be274,_0x4a1de7){var _0x1474e0={};var _0x5023f1={};var _0x17b2c7;var _0x4c8c81;return db['Campaign'][_0x5920('0x51')]({'where':{'id':_0x543caf[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x2be274,null))[_0x5920('0x21')](function(_0x2ae6b5){if(_0x2ae6b5){_0x17b2c7=_0x2ae6b5;_0x5023f1[_0x5920('0x2c')]=_['keys'](db[_0x5920('0x5b')][_0x5920('0x2a')]);_0x5023f1[_0x5920('0x2d')]=_['keys'](_0x543caf[_0x5920('0x2d')]);_0x5023f1[_0x5920('0x2e')]=_[_0x5920('0x3f')](_0x5023f1[_0x5920('0x2c')],_0x5023f1[_0x5920('0x2d')]);_0x1474e0[_0x5920('0x2f')]=_['intersection'](_0x5023f1['model'],qs['fields'](_0x543caf[_0x5920('0x2d')]['fields']));_0x1474e0[_0x5920('0x2f')]=_0x1474e0['attributes'][_0x5920('0x40')]?_0x1474e0['attributes']:_0x5023f1[_0x5920('0x2c')];_0x1474e0['order']=qs[_0x5920('0x34')](_0x543caf[_0x5920('0x2d')][_0x5920('0x34')]);_0x1474e0[_0x5920('0x35')]=qs[_0x5920('0x2e')](_[_0x5920('0x36')](_0x543caf[_0x5920('0x2d')],_0x5023f1[_0x5920('0x2e')]));if(_0x543caf[_0x5920('0x2d')][_0x5920('0x53')]){_0x1474e0[_0x5920('0x35')]=_['merge'](_0x1474e0[_0x5920('0x35')],{'$or':_[_0x5920('0x29')](_0x1474e0[_0x5920('0x2f')],function(_0x2180d8){var _0x185e71={};_0x185e71[_0x2180d8]={'$like':'%'+_0x543caf[_0x5920('0x2d')][_0x5920('0x53')]+'%'};return _0x185e71;})});}_0x1474e0=_[_0x5920('0x37')]({},_0x1474e0,_0x543caf['options']);return _0x17b2c7[_0x5920('0x86')](_0x1474e0);}})['then'](function(_0x2abd85){if(_0x2abd85){_0x4c8c81=_0x2abd85[_0x5920('0x40')];if(!_0x543caf[_0x5920('0x2d')][_0x5920('0x31')](_0x5920('0x32'))){_0x1474e0['limit']=qs['limit'](_0x543caf[_0x5920('0x2d')][_0x5920('0x1a')]);_0x1474e0['offset']=qs[_0x5920('0x1c')](_0x543caf[_0x5920('0x2d')]['offset']);}return _0x17b2c7[_0x5920('0x86')](_0x1474e0);}})[_0x5920('0x21')](function(_0x20a777){if(_0x20a777){return _0x20a777?{'count':_0x4c8c81,'rows':_0x20a777}:null;}})['then'](respondWithResult(_0x2be274,null))[_0x5920('0x3b')](handleError(_0x2be274,null));};exports['addBlackLists']=function(_0x38fcab,_0x47903d,_0x4bf8e7){var _0x181619,_0x331499;var _0x3643ca=[];var _0xd9cd16=moment()['format'](_0x5920('0x87'));return db['Campaign'][_0x5920('0x42')]({'where':{'id':_0x38fcab[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](handleEntityNotFound(_0x47903d,null))[_0x5920('0x21')](function(_0x35073d){if(_0x35073d){_0x331499=_0x35073d;return _0x35073d[_0x5920('0x88')](_0x38fcab[_0x5920('0x4f')][_0x5920('0x5c')],_['omit'](_0x38fcab['body'],[_0x5920('0x5c'),'id'])||{});}return null;})[_0x5920('0x5d')](function(_0x9f55bd){var _0x50b289;var _0x186330;_0x181619=_0x9f55bd||[];var _0x113641=[];if(_0x9f55bd){for(var _0x304117=0x0;_0x304117<_0x9f55bd['length'];_0x304117+=0x1){var _0x446b51=_0x9f55bd[_0x304117]['get']({'plain':!![]});_0x50b289=squel['insert']()[_0x5920('0x61')](_0x5920('0x89'))['fromQuery']([_0x5920('0x64'),_0x5920('0x66'),_0x5920('0x67'),'CampaignId','createdAt',_0x5920('0x4e')],squel[_0x5920('0x68')]()[_0x5920('0x69')](_0x5920('0x64'),_0x5920('0x64'))[_0x5920('0x69')]('id','ContactId')[_0x5920('0x69')](_0x446b51[_0x5920('0x6b')]['toString'](),_0x5920('0x67'))[_0x5920('0x69')](_0x38fcab['params']['id'][_0x5920('0x6c')](),'CampaignId')[_0x5920('0x69')]('NOW()',_0x5920('0x4d'))[_0x5920('0x69')](_0x5920('0x6a'),_0x5920('0x4e'))[_0x5920('0x71')](_0x5920('0x75'))[_0x5920('0x35')](_0x5920('0x76'))[_0x5920('0x35')]('ListId\x20=\x20?',_0x446b51[_0x5920('0x6b')][_0x5920('0x6c')]())['where']('phone\x20IS\x20NOT\x20NULL'))[_0x5920('0x6c')]();_0x113641[_0x5920('0x82')](db['sequelize'][_0x5920('0x2d')](_0x50b289));}return BPromise[_0x5920('0x84')](_0x113641);}})[_0x5920('0x21')](function(){return _0x181619;})[_0x5920('0x21')](respondWithResult(_0x47903d,null))[_0x5920('0x3b')](handleError(_0x47903d,null));};exports[_0x5920('0x8a')]=function(_0xb27cbd,_0x161a4a,_0x434f9b){return db[_0x5920('0x3d')][_0x5920('0x42')]({'where':{'id':_0xb27cbd['params']['id']}})['then'](handleEntityNotFound(_0x161a4a,null))[_0x5920('0x21')](function(_0x55320f){if(_0x55320f){return _0x55320f[_0x5920('0x8a')](_0xb27cbd[_0x5920('0x2d')][_0x5920('0x5c')]);}})[_0x5920('0x21')](function(_0x66822a){if(_0x66822a){return db['CmHopperBlack'][_0x5920('0x22')]({'where':{'ListId':_0xb27cbd[_0x5920('0x2d')]['ids'],'CampaignId':_0xb27cbd[_0x5920('0x3c')]['id']}})[_0x5920('0x21')](function(){return _0x66822a;});}})[_0x5920('0x21')](respondWithStatusCode(_0x161a4a,null))['catch'](handleError(_0x161a4a,null));};
\ No newline at end of file
+var _0x8dab=['findOne','CmHopperBlack','CmList','getLists','addLists','format','ids','spread','dialCheckDuplicateType','always','insert','into','cm_hopper','phone','scheduledAt','ContactId','ListId','select','field','NOW()','toString','cm_contacts','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','COALESCE(calleridnum,\x27\x27)','from','cm_hopper_final','CampaignId\x20=\x20?','COALESCE(phone,\x27\x27)','onlyIfOpen','CmListId','deletedAt\x20IS\x20NULL','fromQuery','cm_hopper_additional_phones','cmHopperId','OrderBy','h.id','ci.item','cm_contact_has_items','join','h.ListId\x20=\x20?','h.CampaignId=?','push','sequelize','all','removeLists','getBlackLists','YYYY-MM-DD\x20HH:mm:ss','cm_hopper_black','removeBlackLists','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','jsforce','querystring','papaparse','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','sendStatus','end','json','offset','limit','undefined','count','status','set','Content-Range','apply','reject','save','then','destroy','get','UserProfileResource','stack','name','send','index','map','Campaign','rawAttributes','type','model','query','keys','attributes','intersection','fields','nolimit','sort','filters','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','IvrCampaigns','UserProfileSection','userProfileId','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','length','omit','createdAt','updatedAt','autoAssociation','update','getHoppers','CmHopper','hasOwnProperty','order','where','pick','CampaignId','getHopperHistories','CmHopperHistory','getHopperFinals','CmHopperFinal','getHopperBlacks'];(function(_0xed6ad9,_0x5bd53a){var _0x938526=function(_0x3e3278){while(--_0x3e3278){_0xed6ad9['push'](_0xed6ad9['shift']());}};_0x938526(++_0x5bd53a);}(_0x8dab,0x1ec));var _0xb8da=function(_0x402cf4,_0x2a60cb){_0x402cf4=_0x402cf4-0x0;var _0x42e3d0=_0x8dab[_0x402cf4];return _0x42e3d0;};'use strict';var emlformat=require(_0xb8da('0x0'));var rimraf=require(_0xb8da('0x1'));var zipdir=require(_0xb8da('0x2'));var jsonpatch=require(_0xb8da('0x3'));var rp=require(_0xb8da('0x4'));var moment=require(_0xb8da('0x5'));var BPromise=require(_0xb8da('0x6'));var Mustache=require(_0xb8da('0x7'));var util=require(_0xb8da('0x8'));var path=require(_0xb8da('0x9'));var sox=require(_0xb8da('0xa'));var csv=require(_0xb8da('0xb'));var ejs=require(_0xb8da('0xc'));var fs=require('fs');var fs_extra=require(_0xb8da('0xd'));var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xb8da('0xe'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xb8da('0xf'));var Papa=require(_0xb8da('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xb8da('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xb8da('0x12'));var logger=require(_0xb8da('0x13'))(_0xb8da('0x14'));var utils=require(_0xb8da('0x15'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3f9235,_0x4152ea){_0x4152ea=_0x4152ea||0xcc;return function(_0x26ec23){if(_0x26ec23){return _0x3f9235[_0xb8da('0x16')](_0x4152ea);}return _0x3f9235['status'](_0x4152ea)[_0xb8da('0x17')]();};}function respondWithResult(_0x532e18,_0x501d8c){_0x501d8c=_0x501d8c||0xc8;return function(_0x451087){if(_0x451087){return _0x532e18['status'](_0x501d8c)[_0xb8da('0x18')](_0x451087);}};}function respondWithFilteredResult(_0x5f3b42,_0x1c634a){return function(_0x1b7159){if(_0x1b7159){var _0x4225dd=typeof _0x1c634a[_0xb8da('0x19')]==='undefined'&&typeof _0x1c634a[_0xb8da('0x1a')]===_0xb8da('0x1b');var _0x187d33=_0x1b7159[_0xb8da('0x1c')];var _0x4de878=_0x4225dd?0x0:_0x1c634a[_0xb8da('0x19')];var _0x2a799f=_0x4225dd?_0x1b7159[_0xb8da('0x1c')]:_0x1c634a[_0xb8da('0x19')]+_0x1c634a[_0xb8da('0x1a')];var _0xeda882;if(_0x2a799f>=_0x187d33){_0x2a799f=_0x187d33;_0xeda882=0xc8;}else{_0xeda882=0xce;}_0x5f3b42[_0xb8da('0x1d')](_0xeda882);return _0x5f3b42[_0xb8da('0x1e')](_0xb8da('0x1f'),_0x4de878+'-'+_0x2a799f+'/'+_0x187d33)[_0xb8da('0x18')](_0x1b7159);}return null;};}function patchUpdates(_0x54c95e){return function(_0x25e3eb){try{jsonpatch[_0xb8da('0x20')](_0x25e3eb,_0x54c95e,!![]);}catch(_0x217a92){return BPromise[_0xb8da('0x21')](_0x217a92);}return _0x25e3eb[_0xb8da('0x22')]();};}function saveUpdates(_0x2c9ceb,_0x26dda0){return function(_0x57b88a){if(_0x57b88a){return _0x57b88a['update'](_0x2c9ceb)[_0xb8da('0x23')](function(_0x59ab30){return _0x59ab30;});}return null;};}function removeEntity(_0x1efe29,_0x195d2e){return function(_0x3aba10){if(_0x3aba10){return _0x3aba10[_0xb8da('0x24')]()[_0xb8da('0x23')](function(){var _0xde2fc1=_0x3aba10[_0xb8da('0x25')]({'plain':!![]});var _0x85570f='IvrCampaigns';return db[_0xb8da('0x26')][_0xb8da('0x24')]({'where':{'type':_0x85570f,'resourceId':_0xde2fc1['id']}})[_0xb8da('0x23')](function(){return _0x3aba10;});})[_0xb8da('0x23')](function(){_0x1efe29['status'](0xcc)[_0xb8da('0x17')]();});}};}function handleEntityNotFound(_0x268f1c,_0x575381){return function(_0x5b4278){if(!_0x5b4278){_0x268f1c[_0xb8da('0x16')](0x194);}return _0x5b4278;};}function handleError(_0x25f676,_0x241f49){_0x241f49=_0x241f49||0x1f4;return function(_0x46d206){logger['error'](_0x46d206[_0xb8da('0x27')]);if(_0x46d206[_0xb8da('0x28')]){delete _0x46d206[_0xb8da('0x28')];}_0x25f676[_0xb8da('0x1d')](_0x241f49)[_0xb8da('0x29')](_0x46d206);};}exports[_0xb8da('0x2a')]=function(_0x393cc3,_0x1f0e38){var _0x4f3b28={},_0x5a0b03={},_0x3ed31e={'count':0x0,'rows':[]};var _0x1b11e2=_[_0xb8da('0x2b')](db[_0xb8da('0x2c')][_0xb8da('0x2d')],function(_0x46a801){return{'name':_0x46a801['fieldName'],'type':_0x46a801[_0xb8da('0x2e')]['key']};});_0x5a0b03[_0xb8da('0x2f')]=_[_0xb8da('0x2b')](_0x1b11e2,_0xb8da('0x28'));_0x5a0b03[_0xb8da('0x30')]=_[_0xb8da('0x31')](_0x393cc3['query']);_0x5a0b03['filters']=_['intersection'](_0x5a0b03['model'],_0x5a0b03['query']);_0x4f3b28[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x5a0b03[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x393cc3[_0xb8da('0x30')][_0xb8da('0x34')]));_0x4f3b28['attributes']=_0x4f3b28[_0xb8da('0x32')]['length']?_0x4f3b28[_0xb8da('0x32')]:_0x5a0b03[_0xb8da('0x2f')];if(!_0x393cc3[_0xb8da('0x30')]['hasOwnProperty'](_0xb8da('0x35'))){_0x4f3b28['limit']=qs[_0xb8da('0x1a')](_0x393cc3[_0xb8da('0x30')][_0xb8da('0x1a')]);_0x4f3b28[_0xb8da('0x19')]=qs[_0xb8da('0x19')](_0x393cc3[_0xb8da('0x30')]['offset']);}_0x4f3b28['order']=qs[_0xb8da('0x36')](_0x393cc3[_0xb8da('0x30')]['sort']);_0x4f3b28['where']=qs['filters'](_['pick'](_0x393cc3[_0xb8da('0x30')],_0x5a0b03[_0xb8da('0x37')]),_0x1b11e2);if(_0x393cc3[_0xb8da('0x30')][_0xb8da('0x38')]){_0x4f3b28['where']=_[_0xb8da('0x39')](_0x4f3b28['where'],{'$or':_[_0xb8da('0x2b')](_0x1b11e2,function(_0x449478){if(_0x449478[_0xb8da('0x2e')]!==_0xb8da('0x3a')){var _0x18081b={};_0x18081b[_0x449478[_0xb8da('0x28')]]={'$like':'%'+_0x393cc3[_0xb8da('0x30')][_0xb8da('0x38')]+'%'};return _0x18081b;}})});}_0x4f3b28=_[_0xb8da('0x39')]({},_0x4f3b28,_0x393cc3[_0xb8da('0x3b')]);var _0x242f44={'where':_0x4f3b28['where']};return db['Campaign'][_0xb8da('0x1c')](_0x242f44)[_0xb8da('0x23')](function(_0x457854){_0x3ed31e[_0xb8da('0x1c')]=_0x457854;if(_0x393cc3[_0xb8da('0x30')][_0xb8da('0x3c')]){_0x4f3b28[_0xb8da('0x3d')]=[{'all':!![]}];}return db[_0xb8da('0x2c')][_0xb8da('0x3e')](_0x4f3b28);})[_0xb8da('0x23')](function(_0x5a708e){_0x3ed31e[_0xb8da('0x3f')]=_0x5a708e;return _0x3ed31e;})[_0xb8da('0x23')](respondWithFilteredResult(_0x1f0e38,_0x4f3b28))[_0xb8da('0x40')](handleError(_0x1f0e38,null));};exports[_0xb8da('0x41')]=function(_0x5718e5,_0x4d507b){var _0x614dd5={'raw':![],'where':{'id':_0x5718e5[_0xb8da('0x42')]['id']}},_0x858f00={};_0x858f00[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x2c')][_0xb8da('0x2d')]);_0x858f00[_0xb8da('0x30')]=_[_0xb8da('0x31')](_0x5718e5[_0xb8da('0x30')]);_0x858f00[_0xb8da('0x37')]=_[_0xb8da('0x33')](_0x858f00[_0xb8da('0x2f')],_0x858f00[_0xb8da('0x30')]);_0x614dd5['attributes']=_['intersection'](_0x858f00[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x5718e5['query'][_0xb8da('0x34')]));_0x614dd5['attributes']=_0x614dd5[_0xb8da('0x32')]['length']?_0x614dd5[_0xb8da('0x32')]:_0x858f00[_0xb8da('0x2f')];if(_0x5718e5['query'][_0xb8da('0x3c')]){_0x614dd5['include']=[{'all':!![]}];}_0x614dd5=_['merge']({},_0x614dd5,_0x5718e5['options']);return db[_0xb8da('0x2c')][_0xb8da('0x43')](_0x614dd5)[_0xb8da('0x23')](handleEntityNotFound(_0x4d507b,null))['then'](respondWithResult(_0x4d507b,null))['catch'](handleError(_0x4d507b,null));};exports[_0xb8da('0x44')]=function(_0x2dea3d,_0x240ae0){return db[_0xb8da('0x2c')][_0xb8da('0x44')](_0x2dea3d[_0xb8da('0x45')],{})[_0xb8da('0x23')](function(_0x5eae51){var _0x1c351f=_0x2dea3d[_0xb8da('0x46')]['get']({'plain':!![]});if(!_0x1c351f)throw new Error(_0xb8da('0x47'));if(_0x1c351f[_0xb8da('0x48')]===_0xb8da('0x46')){var _0xa05f6a=_0x5eae51[_0xb8da('0x25')]({'plain':!![]});var _0x5c0e9a=_0xb8da('0x49');return db[_0xb8da('0x4a')][_0xb8da('0x43')]({'where':{'name':_0x5c0e9a,'userProfileId':_0x1c351f[_0xb8da('0x4b')]},'raw':!![]})['then'](function(_0x45e344){if(_0x45e344&&_0x45e344['autoAssociation']===0x0){return db[_0xb8da('0x26')]['create']({'name':_0xa05f6a[_0xb8da('0x28')],'resourceId':_0xa05f6a['id'],'type':_0x45e344[_0xb8da('0x28')],'sectionId':_0x45e344['id']},{})[_0xb8da('0x23')](function(){return _0x5eae51;});}else{return _0x5eae51;}})[_0xb8da('0x40')](function(_0x573641){logger[_0xb8da('0x4c')](_0xb8da('0x4d'),_0x573641);throw _0x573641;});}return _0x5eae51;})[_0xb8da('0x23')](respondWithResult(_0x240ae0,0xc9))[_0xb8da('0x40')](handleError(_0x240ae0,null));};exports['clone']=function(_0x27fd1d,_0x414d61){var _0x400500={'where':{'id':_0x27fd1d[_0xb8da('0x42')]['id']}},_0x4a0e08={};_0x4a0e08[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x2c')][_0xb8da('0x2d')]);_0x400500[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x4a0e08['model'],qs[_0xb8da('0x34')](_0x27fd1d['query'][_0xb8da('0x34')]));_0x400500[_0xb8da('0x32')]=_0x400500['attributes'][_0xb8da('0x4e')]?_0x400500[_0xb8da('0x32')]:_0x4a0e08[_0xb8da('0x2f')];if(_0x27fd1d['query'][_0xb8da('0x3c')]){_0x400500[_0xb8da('0x3d')]=[{'all':!![]}];}_0x400500=_[_0xb8da('0x39')]({},_0x400500,_0x27fd1d['options']);return db[_0xb8da('0x2c')][_0xb8da('0x43')](_0x400500)['then'](handleEntityNotFound(_0x414d61,null))[_0xb8da('0x23')](function(_0x46ce64){if(_0x46ce64){var _0x34207a=_0x46ce64['get']({'plain':!![]});_0x34207a=qs[_0xb8da('0x4f')](_0x34207a,['id',_0xb8da('0x50'),_0xb8da('0x51')]);_0x27fd1d['body']=_[_0xb8da('0x4f')](_0x27fd1d[_0xb8da('0x45')],['id',_0xb8da('0x50'),_0xb8da('0x51')]);return db[_0xb8da('0x2c')][_0xb8da('0x44')](_[_0xb8da('0x39')](_0x34207a,_0x27fd1d['body']),{'include':_0x27fd1d[_0xb8da('0x30')][_0xb8da('0x3c')]?[{'all':!![]}]:undefined})[_0xb8da('0x23')](function(_0x58c750){var _0x5a17a4=_0x27fd1d['user'][_0xb8da('0x25')]({'plain':!![]});if(!_0x5a17a4)throw new Error(_0xb8da('0x47'));if(_0x5a17a4[_0xb8da('0x48')]==='user'){var _0x5c428f=_0x58c750[_0xb8da('0x25')]({'plain':!![]});var _0x105b6c=_0xb8da('0x49');return db['UserProfileSection'][_0xb8da('0x43')]({'where':{'name':_0x105b6c,'userProfileId':_0x5a17a4[_0xb8da('0x4b')]},'raw':!![]})[_0xb8da('0x23')](function(_0x219956){if(_0x219956&&_0x219956[_0xb8da('0x52')]===0x0){return db[_0xb8da('0x26')][_0xb8da('0x44')]({'name':_0x5c428f['name'],'resourceId':_0x5c428f['id'],'type':_0x219956[_0xb8da('0x28')],'sectionId':_0x219956['id']},{})[_0xb8da('0x23')](function(){return _0x58c750;});}else{return _0x58c750;}})[_0xb8da('0x40')](function(_0x21aed3){logger['error'](_0xb8da('0x4d'),_0x21aed3);throw _0x21aed3;});}return _0x58c750;});}})[_0xb8da('0x23')](respondWithResult(_0x414d61,0xc9))['catch'](handleError(_0x414d61,null));};exports[_0xb8da('0x53')]=function(_0x240ee0,_0x3bff65){if(_0x240ee0['body']['id']){delete _0x240ee0[_0xb8da('0x45')]['id'];}return db[_0xb8da('0x2c')]['find']({'where':{'id':_0x240ee0[_0xb8da('0x42')]['id']}})['then'](handleEntityNotFound(_0x3bff65,null))[_0xb8da('0x23')](saveUpdates(_0x240ee0[_0xb8da('0x45')],null))['then'](respondWithResult(_0x3bff65,null))[_0xb8da('0x40')](handleError(_0x3bff65,null));};exports[_0xb8da('0x24')]=function(_0x582e7c,_0x49ada7){return db[_0xb8da('0x2c')]['find']({'where':{'id':_0x582e7c[_0xb8da('0x42')]['id']}})['then'](handleEntityNotFound(_0x49ada7,null))[_0xb8da('0x23')](removeEntity(_0x49ada7,null))['catch'](handleError(_0x49ada7,null));};exports[_0xb8da('0x54')]=function(_0x1f21fa,_0x39a757,_0x39bbf8){var _0x5637c5={'raw':!![],'where':{}};var _0x83e227={};var _0x29c388={'count':0x0,'rows':[]};return db['Campaign']['findOne']({'where':{'id':_0x1f21fa[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x39a757,null))[_0xb8da('0x23')](function(_0x4fb0ab){if(_0x4fb0ab){_0x83e227[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x55')][_0xb8da('0x2d')]);_0x83e227[_0xb8da('0x30')]=_[_0xb8da('0x31')](_0x1f21fa[_0xb8da('0x30')]);_0x83e227['filters']=_['intersection'](_0x83e227[_0xb8da('0x2f')],_0x83e227[_0xb8da('0x30')]);_0x5637c5[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x83e227[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x1f21fa[_0xb8da('0x30')][_0xb8da('0x34')]));_0x5637c5[_0xb8da('0x32')]=_0x5637c5[_0xb8da('0x32')][_0xb8da('0x4e')]?_0x5637c5[_0xb8da('0x32')]:_0x83e227[_0xb8da('0x2f')];if(!_0x1f21fa[_0xb8da('0x30')][_0xb8da('0x56')]('nolimit')){_0x5637c5[_0xb8da('0x1a')]=qs['limit'](_0x1f21fa[_0xb8da('0x30')][_0xb8da('0x1a')]);_0x5637c5[_0xb8da('0x19')]=qs['offset'](_0x1f21fa[_0xb8da('0x30')]['offset']);}_0x5637c5[_0xb8da('0x57')]=qs[_0xb8da('0x36')](_0x1f21fa[_0xb8da('0x30')][_0xb8da('0x36')]);_0x5637c5[_0xb8da('0x58')]=qs[_0xb8da('0x37')](_[_0xb8da('0x59')](_0x1f21fa[_0xb8da('0x30')],_0x83e227[_0xb8da('0x37')]));_0x5637c5[_0xb8da('0x58')][_0xb8da('0x5a')]=_0x4fb0ab['id'];if(_0x1f21fa['query'][_0xb8da('0x38')]){_0x5637c5[_0xb8da('0x58')]=_[_0xb8da('0x39')](_0x5637c5[_0xb8da('0x58')],{'$or':_[_0xb8da('0x2b')](_0x5637c5[_0xb8da('0x32')],function(_0x5651a8){var _0x8ce608={};_0x8ce608[_0x5651a8]={'$like':'%'+_0x1f21fa['query'][_0xb8da('0x38')]+'%'};return _0x8ce608;})});}_0x5637c5=_['merge']({},_0x5637c5,_0x1f21fa[_0xb8da('0x3b')]);return db[_0xb8da('0x55')]['count']({'where':_0x5637c5[_0xb8da('0x58')]})['then'](function(_0x4dccf2){_0x29c388[_0xb8da('0x1c')]=_0x4dccf2;if(_0x1f21fa[_0xb8da('0x30')][_0xb8da('0x3c')]){_0x5637c5[_0xb8da('0x3d')]=[{'all':!![]}];}return db[_0xb8da('0x55')][_0xb8da('0x3e')](_0x5637c5);})[_0xb8da('0x23')](function(_0x2c310d){_0x29c388[_0xb8da('0x3f')]=_0x2c310d;return _0x29c388;});}})['then'](respondWithFilteredResult(_0x39a757,_0x5637c5))[_0xb8da('0x40')](handleError(_0x39a757,null));};exports[_0xb8da('0x5b')]=function(_0x4230b9,_0x5586b7,_0x1b6abb){var _0x14bb83={'raw':!![],'where':{}};var _0x4f2ffe={};var _0x428e33={'count':0x0,'rows':[]};return db[_0xb8da('0x2c')]['findOne']({'where':{'id':_0x4230b9[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x5586b7,null))[_0xb8da('0x23')](function(_0x31c9f7){if(_0x31c9f7){_0x4f2ffe['model']=_[_0xb8da('0x31')](db['CmHopperHistory'][_0xb8da('0x2d')]);_0x4f2ffe[_0xb8da('0x30')]=_[_0xb8da('0x31')](_0x4230b9[_0xb8da('0x30')]);_0x4f2ffe['filters']=_['intersection'](_0x4f2ffe[_0xb8da('0x2f')],_0x4f2ffe[_0xb8da('0x30')]);_0x14bb83[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x4f2ffe[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x4230b9['query']['fields']));_0x14bb83[_0xb8da('0x32')]=_0x14bb83[_0xb8da('0x32')]['length']?_0x14bb83[_0xb8da('0x32')]:_0x4f2ffe[_0xb8da('0x2f')];if(!_0x4230b9[_0xb8da('0x30')][_0xb8da('0x56')]('nolimit')){_0x14bb83[_0xb8da('0x1a')]=qs[_0xb8da('0x1a')](_0x4230b9[_0xb8da('0x30')]['limit']);_0x14bb83[_0xb8da('0x19')]=qs['offset'](_0x4230b9[_0xb8da('0x30')][_0xb8da('0x19')]);}_0x14bb83['order']=qs['sort'](_0x4230b9[_0xb8da('0x30')][_0xb8da('0x36')]);_0x14bb83['where']=qs[_0xb8da('0x37')](_[_0xb8da('0x59')](_0x4230b9['query'],_0x4f2ffe['filters']));_0x14bb83[_0xb8da('0x58')][_0xb8da('0x5a')]=_0x31c9f7['id'];if(_0x4230b9[_0xb8da('0x30')][_0xb8da('0x38')]){_0x14bb83[_0xb8da('0x58')]=_[_0xb8da('0x39')](_0x14bb83['where'],{'$or':_[_0xb8da('0x2b')](_0x14bb83[_0xb8da('0x32')],function(_0x30afa1){var _0x109cf7={};_0x109cf7[_0x30afa1]={'$like':'%'+_0x4230b9['query'][_0xb8da('0x38')]+'%'};return _0x109cf7;})});}_0x14bb83=_['merge']({},_0x14bb83,_0x4230b9[_0xb8da('0x3b')]);return db[_0xb8da('0x5c')][_0xb8da('0x1c')]({'where':_0x14bb83['where']})[_0xb8da('0x23')](function(_0xeada56){_0x428e33[_0xb8da('0x1c')]=_0xeada56;if(_0x4230b9[_0xb8da('0x30')][_0xb8da('0x3c')]){_0x14bb83[_0xb8da('0x3d')]=[{'all':!![]}];}return db[_0xb8da('0x5c')][_0xb8da('0x3e')](_0x14bb83);})[_0xb8da('0x23')](function(_0x5cafa2){_0x428e33[_0xb8da('0x3f')]=_0x5cafa2;return _0x428e33;});}})[_0xb8da('0x23')](respondWithFilteredResult(_0x5586b7,_0x14bb83))[_0xb8da('0x40')](handleError(_0x5586b7,null));};exports[_0xb8da('0x5d')]=function(_0x4ced1f,_0x54d923,_0x1cb02c){var _0x2f271a={'raw':!![],'where':{}};var _0x381e4b={};var _0x1a5163={'count':0x0,'rows':[]};return db[_0xb8da('0x2c')]['findOne']({'where':{'id':_0x4ced1f[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x54d923,null))[_0xb8da('0x23')](function(_0x331fcd){if(_0x331fcd){_0x381e4b[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x5e')][_0xb8da('0x2d')]);_0x381e4b['query']=_[_0xb8da('0x31')](_0x4ced1f[_0xb8da('0x30')]);_0x381e4b[_0xb8da('0x37')]=_[_0xb8da('0x33')](_0x381e4b['model'],_0x381e4b[_0xb8da('0x30')]);_0x2f271a[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x381e4b[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x34')]));_0x2f271a[_0xb8da('0x32')]=_0x2f271a[_0xb8da('0x32')][_0xb8da('0x4e')]?_0x2f271a[_0xb8da('0x32')]:_0x381e4b[_0xb8da('0x2f')];if(!_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x56')]('nolimit')){_0x2f271a[_0xb8da('0x1a')]=qs[_0xb8da('0x1a')](_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x1a')]);_0x2f271a[_0xb8da('0x19')]=qs['offset'](_0x4ced1f['query']['offset']);}_0x2f271a[_0xb8da('0x57')]=qs[_0xb8da('0x36')](_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x36')]);_0x2f271a['where']=qs[_0xb8da('0x37')](_[_0xb8da('0x59')](_0x4ced1f[_0xb8da('0x30')],_0x381e4b[_0xb8da('0x37')]));_0x2f271a[_0xb8da('0x58')]['CampaignId']=_0x331fcd['id'];if(_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x38')]){_0x2f271a['where']=_[_0xb8da('0x39')](_0x2f271a[_0xb8da('0x58')],{'$or':_[_0xb8da('0x2b')](_0x2f271a['attributes'],function(_0x12bbbf){var _0x4a850c={};_0x4a850c[_0x12bbbf]={'$like':'%'+_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x38')]+'%'};return _0x4a850c;})});}_0x2f271a=_[_0xb8da('0x39')]({},_0x2f271a,_0x4ced1f[_0xb8da('0x3b')]);return db[_0xb8da('0x5e')][_0xb8da('0x1c')]({'where':_0x2f271a[_0xb8da('0x58')]})[_0xb8da('0x23')](function(_0x1a5f57){_0x1a5163[_0xb8da('0x1c')]=_0x1a5f57;if(_0x4ced1f[_0xb8da('0x30')][_0xb8da('0x3c')]){_0x2f271a['include']=[{'all':!![]}];}return db[_0xb8da('0x5e')][_0xb8da('0x3e')](_0x2f271a);})[_0xb8da('0x23')](function(_0x23b219){_0x1a5163[_0xb8da('0x3f')]=_0x23b219;return _0x1a5163;});}})[_0xb8da('0x23')](respondWithFilteredResult(_0x54d923,_0x2f271a))[_0xb8da('0x40')](handleError(_0x54d923,null));};exports[_0xb8da('0x5f')]=function(_0x5497cc,_0x214eb6,_0x47e543){var _0x64eec2={'raw':!![],'where':{}};var _0xc6db8c={};var _0x20ac5b={'count':0x0,'rows':[]};return db['Campaign'][_0xb8da('0x60')]({'where':{'id':_0x5497cc['params']['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x214eb6,null))[_0xb8da('0x23')](function(_0x561391){if(_0x561391){_0xc6db8c[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x61')][_0xb8da('0x2d')]);_0xc6db8c['query']=_[_0xb8da('0x31')](_0x5497cc[_0xb8da('0x30')]);_0xc6db8c['filters']=_['intersection'](_0xc6db8c[_0xb8da('0x2f')],_0xc6db8c[_0xb8da('0x30')]);_0x64eec2[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0xc6db8c[_0xb8da('0x2f')],qs['fields'](_0x5497cc[_0xb8da('0x30')][_0xb8da('0x34')]));_0x64eec2['attributes']=_0x64eec2[_0xb8da('0x32')][_0xb8da('0x4e')]?_0x64eec2['attributes']:_0xc6db8c[_0xb8da('0x2f')];if(!_0x5497cc[_0xb8da('0x30')][_0xb8da('0x56')](_0xb8da('0x35'))){_0x64eec2[_0xb8da('0x1a')]=qs[_0xb8da('0x1a')](_0x5497cc[_0xb8da('0x30')]['limit']);_0x64eec2['offset']=qs[_0xb8da('0x19')](_0x5497cc[_0xb8da('0x30')][_0xb8da('0x19')]);}_0x64eec2['order']=qs[_0xb8da('0x36')](_0x5497cc[_0xb8da('0x30')][_0xb8da('0x36')]);_0x64eec2['where']=qs[_0xb8da('0x37')](_[_0xb8da('0x59')](_0x5497cc[_0xb8da('0x30')],_0xc6db8c[_0xb8da('0x37')]));_0x64eec2[_0xb8da('0x58')][_0xb8da('0x5a')]=_0x561391['id'];if(_0x5497cc[_0xb8da('0x30')][_0xb8da('0x38')]){_0x64eec2['where']=_[_0xb8da('0x39')](_0x64eec2[_0xb8da('0x58')],{'$or':_[_0xb8da('0x2b')](_0x64eec2['attributes'],function(_0x2e9dbb){var _0x2b4e83={};_0x2b4e83[_0x2e9dbb]={'$like':'%'+_0x5497cc[_0xb8da('0x30')][_0xb8da('0x38')]+'%'};return _0x2b4e83;})});}_0x64eec2=_[_0xb8da('0x39')]({},_0x64eec2,_0x5497cc['options']);return db['CmHopperBlack']['count']({'where':_0x64eec2[_0xb8da('0x58')]})['then'](function(_0x2d18e0){_0x20ac5b[_0xb8da('0x1c')]=_0x2d18e0;if(_0x5497cc[_0xb8da('0x30')][_0xb8da('0x3c')]){_0x64eec2[_0xb8da('0x3d')]=[{'all':!![]}];}return db[_0xb8da('0x61')][_0xb8da('0x3e')](_0x64eec2);})[_0xb8da('0x23')](function(_0x2ab6fd){_0x20ac5b[_0xb8da('0x3f')]=_0x2ab6fd;return _0x20ac5b;});}})[_0xb8da('0x23')](respondWithFilteredResult(_0x214eb6,_0x64eec2))[_0xb8da('0x40')](handleError(_0x214eb6,null));};exports['getLists']=function(_0x21a583,_0x58437c,_0x1f6ee0){var _0x145cdd={};var _0x599f87={};var _0x5c197b;var _0x4328bb;return db[_0xb8da('0x2c')][_0xb8da('0x60')]({'where':{'id':_0x21a583[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x58437c,null))['then'](function(_0x6c6b10){if(_0x6c6b10){_0x5c197b=_0x6c6b10;_0x599f87[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db[_0xb8da('0x62')][_0xb8da('0x2d')]);_0x599f87[_0xb8da('0x30')]=_['keys'](_0x21a583[_0xb8da('0x30')]);_0x599f87['filters']=_['intersection'](_0x599f87[_0xb8da('0x2f')],_0x599f87[_0xb8da('0x30')]);_0x145cdd['attributes']=_[_0xb8da('0x33')](_0x599f87[_0xb8da('0x2f')],qs['fields'](_0x21a583['query']['fields']));_0x145cdd[_0xb8da('0x32')]=_0x145cdd[_0xb8da('0x32')][_0xb8da('0x4e')]?_0x145cdd[_0xb8da('0x32')]:_0x599f87[_0xb8da('0x2f')];_0x145cdd[_0xb8da('0x57')]=qs[_0xb8da('0x36')](_0x21a583[_0xb8da('0x30')][_0xb8da('0x36')]);_0x145cdd[_0xb8da('0x58')]=qs[_0xb8da('0x37')](_[_0xb8da('0x59')](_0x21a583['query'],_0x599f87['filters']));if(_0x21a583[_0xb8da('0x30')]['filter']){_0x145cdd['where']=_[_0xb8da('0x39')](_0x145cdd[_0xb8da('0x58')],{'$or':_[_0xb8da('0x2b')](_0x145cdd[_0xb8da('0x32')],function(_0x532d0d){var _0x50aa81={};_0x50aa81[_0x532d0d]={'$like':'%'+_0x21a583[_0xb8da('0x30')][_0xb8da('0x38')]+'%'};return _0x50aa81;})});}_0x145cdd=_[_0xb8da('0x39')]({},_0x145cdd,_0x21a583[_0xb8da('0x3b')]);return _0x5c197b[_0xb8da('0x63')](_0x145cdd);}})[_0xb8da('0x23')](function(_0x13e3ec){if(_0x13e3ec){_0x4328bb=_0x13e3ec[_0xb8da('0x4e')];if(!_0x21a583[_0xb8da('0x30')]['hasOwnProperty']('nolimit')){_0x145cdd[_0xb8da('0x1a')]=qs['limit'](_0x21a583[_0xb8da('0x30')][_0xb8da('0x1a')]);_0x145cdd[_0xb8da('0x19')]=qs['offset'](_0x21a583[_0xb8da('0x30')][_0xb8da('0x19')]);}return _0x5c197b[_0xb8da('0x63')](_0x145cdd);}})[_0xb8da('0x23')](function(_0x50e525){if(_0x50e525){return _0x50e525?{'count':_0x4328bb,'rows':_0x50e525}:null;}})[_0xb8da('0x23')](respondWithResult(_0x58437c,null))[_0xb8da('0x40')](handleError(_0x58437c,null));};exports[_0xb8da('0x64')]=function(_0x9705af,_0x4bc848,_0x4a5553){var _0x5f1acc,_0x4d5b00;var _0x2eb5f8=[];var _0x1cbb07=moment()[_0xb8da('0x65')]('YYYY-MM-DD\x20HH:mm:ss');return db[_0xb8da('0x2c')][_0xb8da('0x43')]({'where':{'id':_0x9705af['params']['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x4bc848,null))[_0xb8da('0x23')](function(_0x2e9794){if(_0x2e9794){_0x4d5b00=_0x2e9794;return _0x2e9794[_0xb8da('0x64')](_0x9705af[_0xb8da('0x45')][_0xb8da('0x66')],_['omit'](_0x9705af[_0xb8da('0x45')],[_0xb8da('0x66'),'id'])||{});}return null;})[_0xb8da('0x67')](function(_0x26e2cb){var _0x37ae4b;var _0x550f7e;_0x5f1acc=_0x26e2cb||[];var _0x5f36ce=[];if(_0x26e2cb){for(var _0x4f48ce=0x0;_0x4f48ce<_0x26e2cb[_0xb8da('0x4e')];_0x4f48ce+=0x1){var _0x1361fe=_0x26e2cb[_0x4f48ce][_0xb8da('0x25')]({'plain':!![]});_0x4d5b00[_0xb8da('0x68')]=_0x9705af[_0xb8da('0x45')]['dialCheckDuplicateType']?_0x9705af[_0xb8da('0x45')][_0xb8da('0x68')]:_0x4d5b00['dialCheckDuplicateType'];switch(_0x4d5b00[_0xb8da('0x68')]){case _0xb8da('0x69'):_0x37ae4b=squel[_0xb8da('0x6a')]()[_0xb8da('0x6b')](_0xb8da('0x6c'))['fromQuery']([_0xb8da('0x6d'),_0xb8da('0x6e'),_0xb8da('0x6f'),_0xb8da('0x70'),'CampaignId','createdAt',_0xb8da('0x51')],squel[_0xb8da('0x71')]()[_0xb8da('0x72')]('phone','phone')[_0xb8da('0x72')](_0xb8da('0x73'),_0xb8da('0x6e'))[_0xb8da('0x72')]('id',_0xb8da('0x6f'))[_0xb8da('0x72')](_0x1361fe['CmListId'][_0xb8da('0x74')](),_0xb8da('0x70'))[_0xb8da('0x72')](_0x9705af[_0xb8da('0x42')]['id']['toString'](),_0xb8da('0x5a'))[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27',_0xb8da('0x50'))[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27',_0xb8da('0x51'))['from'](_0xb8da('0x75'))['where']('deletedAt\x20IS\x20NULL')['where'](_0xb8da('0x76'),_0x1361fe['CmListId']['toString']())[_0xb8da('0x58')](_0xb8da('0x77'))[_0xb8da('0x58')](_0xb8da('0x78'),squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x79'))[_0xb8da('0x7a')](_0xb8da('0x7b'))[_0xb8da('0x58')](_0xb8da('0x7c'),_0x9705af[_0xb8da('0x42')]['id'][_0xb8da('0x74')]()))[_0xb8da('0x58')](_0xb8da('0x78'),squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x7d'))[_0xb8da('0x7a')](_0xb8da('0x6c'))['where'](_0xb8da('0x7c'),_0x9705af['params']['id']['toString']())))['toString']();break;case _0xb8da('0x7e'):_0x37ae4b=squel[_0xb8da('0x6a')]()[_0xb8da('0x6b')](_0xb8da('0x6c'))['fromQuery'](['phone',_0xb8da('0x6e'),_0xb8da('0x6f'),'ListId','CampaignId',_0xb8da('0x50'),_0xb8da('0x51')],squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x6d'),_0xb8da('0x6d'))['field'](_0xb8da('0x73'),_0xb8da('0x6e'))[_0xb8da('0x72')]('id','ContactId')[_0xb8da('0x72')](_0x1361fe[_0xb8da('0x7f')]['toString'](),'ListId')[_0xb8da('0x72')](_0x9705af[_0xb8da('0x42')]['id'][_0xb8da('0x74')](),_0xb8da('0x5a'))['field']('\x27'+_0x1cbb07+'\x27','createdAt')['field']('\x27'+_0x1cbb07+'\x27',_0xb8da('0x51'))[_0xb8da('0x7a')](_0xb8da('0x75'))[_0xb8da('0x58')](_0xb8da('0x80'))[_0xb8da('0x58')](_0xb8da('0x76'),_0x1361fe[_0xb8da('0x7f')][_0xb8da('0x74')]())[_0xb8da('0x58')]('phone\x20IS\x20NOT\x20NULL')[_0xb8da('0x58')](_0xb8da('0x78'),squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x7d'))['from'](_0xb8da('0x6c'))[_0xb8da('0x58')](_0xb8da('0x7c'),_0x9705af[_0xb8da('0x42')]['id'][_0xb8da('0x74')]())))[_0xb8da('0x74')]();break;default:_0x37ae4b=squel[_0xb8da('0x6a')]()[_0xb8da('0x6b')](_0xb8da('0x6c'))[_0xb8da('0x81')]([_0xb8da('0x6d'),_0xb8da('0x6e'),_0xb8da('0x6f'),_0xb8da('0x70'),_0xb8da('0x5a'),'createdAt','updatedAt'],squel[_0xb8da('0x71')]()['field'](_0xb8da('0x6d'),'phone')[_0xb8da('0x72')](_0xb8da('0x73'),'scheduledAt')[_0xb8da('0x72')]('id',_0xb8da('0x6f'))[_0xb8da('0x72')](_0x1361fe[_0xb8da('0x7f')][_0xb8da('0x74')](),_0xb8da('0x70'))[_0xb8da('0x72')](_0x9705af[_0xb8da('0x42')]['id'][_0xb8da('0x74')](),_0xb8da('0x5a'))[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27',_0xb8da('0x50'))[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27',_0xb8da('0x51'))[_0xb8da('0x7a')]('cm_contacts')[_0xb8da('0x58')](_0xb8da('0x80'))['where'](_0xb8da('0x76'),_0x1361fe[_0xb8da('0x7f')][_0xb8da('0x74')]())[_0xb8da('0x58')](_0xb8da('0x77')))['toString']();}_0x550f7e=squel[_0xb8da('0x6a')]()['into'](_0xb8da('0x82'))[_0xb8da('0x81')]([_0xb8da('0x83'),_0xb8da('0x6e'),'phone',_0xb8da('0x84'),_0xb8da('0x50'),_0xb8da('0x51')],squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x85'),'id')[_0xb8da('0x72')](_0xb8da('0x73'),_0xb8da('0x6e'))[_0xb8da('0x72')](_0xb8da('0x86'),_0xb8da('0x6d'))[_0xb8da('0x72')]('ci.OrderBY',_0xb8da('0x84'))[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27','createdAt')[_0xb8da('0x72')]('\x27'+_0x1cbb07+'\x27','updatedAt')[_0xb8da('0x7a')](_0xb8da('0x87'),'ci')[_0xb8da('0x88')](_0xb8da('0x6c'),'h','h.ContactId\x20=\x20ci.CmContactId')[_0xb8da('0x58')](_0xb8da('0x89'),_0x1361fe[_0xb8da('0x7f')][_0xb8da('0x74')]())[_0xb8da('0x58')](_0xb8da('0x8a'),_0x9705af[_0xb8da('0x42')]['id'][_0xb8da('0x74')]())[_0xb8da('0x58')]('h.createdAt\x20=\x20?',_0x1cbb07))[_0xb8da('0x74')]();_0x5f36ce[_0xb8da('0x8b')](db[_0xb8da('0x8c')][_0xb8da('0x30')](_0x37ae4b));_0x2eb5f8[_0xb8da('0x8b')](db[_0xb8da('0x8c')][_0xb8da('0x30')](_0x550f7e));}return BPromise[_0xb8da('0x8d')](_0x5f36ce);}})['then'](function(){return BPromise['all'](_0x2eb5f8);})[_0xb8da('0x23')](function(){return _0x5f1acc;})['then'](respondWithResult(_0x4bc848,null))['catch'](handleError(_0x4bc848,null));};exports[_0xb8da('0x8e')]=function(_0x6b81e5,_0x488d15,_0x2cde2e){return db[_0xb8da('0x2c')][_0xb8da('0x43')]({'where':{'id':_0x6b81e5[_0xb8da('0x42')]['id']}})['then'](handleEntityNotFound(_0x488d15,null))[_0xb8da('0x23')](function(_0x5d6b45){if(_0x5d6b45){return _0x5d6b45['removeLists'](_0x6b81e5['query'][_0xb8da('0x66')]);}})['then'](function(_0x1dc90e){if(_0x1dc90e){return db['CmHopper'][_0xb8da('0x24')]({'where':{'ListId':_0x6b81e5['query'][_0xb8da('0x66')],'CampaignId':_0x6b81e5['params']['id']}})['then'](function(){return _0x1dc90e;});}})['then'](respondWithStatusCode(_0x488d15,null))[_0xb8da('0x40')](handleError(_0x488d15,null));};exports[_0xb8da('0x8f')]=function(_0x41a461,_0x10e011,_0x274fc1){var _0x56806e={};var _0x2f1385={};var _0x1d9a47;var _0x4cabb4;return db[_0xb8da('0x2c')][_0xb8da('0x60')]({'where':{'id':_0x41a461[_0xb8da('0x42')]['id']}})['then'](handleEntityNotFound(_0x10e011,null))[_0xb8da('0x23')](function(_0x2b078d){if(_0x2b078d){_0x1d9a47=_0x2b078d;_0x2f1385[_0xb8da('0x2f')]=_[_0xb8da('0x31')](db['CmList'][_0xb8da('0x2d')]);_0x2f1385[_0xb8da('0x30')]=_[_0xb8da('0x31')](_0x41a461['query']);_0x2f1385[_0xb8da('0x37')]=_[_0xb8da('0x33')](_0x2f1385[_0xb8da('0x2f')],_0x2f1385[_0xb8da('0x30')]);_0x56806e[_0xb8da('0x32')]=_[_0xb8da('0x33')](_0x2f1385[_0xb8da('0x2f')],qs[_0xb8da('0x34')](_0x41a461[_0xb8da('0x30')]['fields']));_0x56806e[_0xb8da('0x32')]=_0x56806e[_0xb8da('0x32')][_0xb8da('0x4e')]?_0x56806e[_0xb8da('0x32')]:_0x2f1385['model'];_0x56806e['order']=qs[_0xb8da('0x36')](_0x41a461[_0xb8da('0x30')][_0xb8da('0x36')]);_0x56806e[_0xb8da('0x58')]=qs['filters'](_[_0xb8da('0x59')](_0x41a461[_0xb8da('0x30')],_0x2f1385[_0xb8da('0x37')]));if(_0x41a461[_0xb8da('0x30')][_0xb8da('0x38')]){_0x56806e[_0xb8da('0x58')]=_[_0xb8da('0x39')](_0x56806e[_0xb8da('0x58')],{'$or':_[_0xb8da('0x2b')](_0x56806e[_0xb8da('0x32')],function(_0x32daf4){var _0xde153e={};_0xde153e[_0x32daf4]={'$like':'%'+_0x41a461[_0xb8da('0x30')][_0xb8da('0x38')]+'%'};return _0xde153e;})});}_0x56806e=_[_0xb8da('0x39')]({},_0x56806e,_0x41a461[_0xb8da('0x3b')]);return _0x1d9a47[_0xb8da('0x8f')](_0x56806e);}})[_0xb8da('0x23')](function(_0x1b298d){if(_0x1b298d){_0x4cabb4=_0x1b298d['length'];if(!_0x41a461[_0xb8da('0x30')][_0xb8da('0x56')](_0xb8da('0x35'))){_0x56806e[_0xb8da('0x1a')]=qs['limit'](_0x41a461[_0xb8da('0x30')][_0xb8da('0x1a')]);_0x56806e[_0xb8da('0x19')]=qs[_0xb8da('0x19')](_0x41a461[_0xb8da('0x30')][_0xb8da('0x19')]);}return _0x1d9a47[_0xb8da('0x8f')](_0x56806e);}})[_0xb8da('0x23')](function(_0x287027){if(_0x287027){return _0x287027?{'count':_0x4cabb4,'rows':_0x287027}:null;}})[_0xb8da('0x23')](respondWithResult(_0x10e011,null))[_0xb8da('0x40')](handleError(_0x10e011,null));};exports['addBlackLists']=function(_0x496003,_0x354668,_0xcd547d){var _0x694599,_0x12c107;var _0x4ef394=[];var _0x177548=moment()['format'](_0xb8da('0x90'));return db[_0xb8da('0x2c')][_0xb8da('0x43')]({'where':{'id':_0x496003[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x354668,null))['then'](function(_0x1095fe){if(_0x1095fe){_0x12c107=_0x1095fe;return _0x1095fe['addBlackLists'](_0x496003[_0xb8da('0x45')][_0xb8da('0x66')],_['omit'](_0x496003[_0xb8da('0x45')],[_0xb8da('0x66'),'id'])||{});}return null;})['spread'](function(_0x5e053a){var _0xe091ca;var _0x496994;_0x694599=_0x5e053a||[];var _0x49dcaf=[];if(_0x5e053a){for(var _0x243f91=0x0;_0x243f91<_0x5e053a[_0xb8da('0x4e')];_0x243f91+=0x1){var _0x4f8335=_0x5e053a[_0x243f91][_0xb8da('0x25')]({'plain':!![]});_0xe091ca=squel[_0xb8da('0x6a')]()[_0xb8da('0x6b')](_0xb8da('0x91'))['fromQuery']([_0xb8da('0x6d'),_0xb8da('0x6f'),_0xb8da('0x70'),_0xb8da('0x5a'),_0xb8da('0x50'),_0xb8da('0x51')],squel[_0xb8da('0x71')]()[_0xb8da('0x72')](_0xb8da('0x6d'),_0xb8da('0x6d'))['field']('id',_0xb8da('0x6f'))[_0xb8da('0x72')](_0x4f8335['CmListId'][_0xb8da('0x74')](),_0xb8da('0x70'))[_0xb8da('0x72')](_0x496003[_0xb8da('0x42')]['id'][_0xb8da('0x74')](),_0xb8da('0x5a'))[_0xb8da('0x72')](_0xb8da('0x73'),_0xb8da('0x50'))['field']('NOW()',_0xb8da('0x51'))['from']('cm_contacts')[_0xb8da('0x58')](_0xb8da('0x80'))[_0xb8da('0x58')](_0xb8da('0x76'),_0x4f8335[_0xb8da('0x7f')]['toString']())[_0xb8da('0x58')]('phone\x20IS\x20NOT\x20NULL'))['toString']();_0x49dcaf[_0xb8da('0x8b')](db[_0xb8da('0x8c')][_0xb8da('0x30')](_0xe091ca));}return BPromise[_0xb8da('0x8d')](_0x49dcaf);}})[_0xb8da('0x23')](function(){return _0x694599;})[_0xb8da('0x23')](respondWithResult(_0x354668,null))[_0xb8da('0x40')](handleError(_0x354668,null));};exports['removeBlackLists']=function(_0x382b42,_0x41db8a,_0x424d41){return db[_0xb8da('0x2c')][_0xb8da('0x43')]({'where':{'id':_0x382b42[_0xb8da('0x42')]['id']}})[_0xb8da('0x23')](handleEntityNotFound(_0x41db8a,null))[_0xb8da('0x23')](function(_0x4c0b72){if(_0x4c0b72){return _0x4c0b72[_0xb8da('0x92')](_0x382b42[_0xb8da('0x30')][_0xb8da('0x66')]);}})[_0xb8da('0x23')](function(_0x44fee3){if(_0x44fee3){return db['CmHopperBlack'][_0xb8da('0x24')]({'where':{'ListId':_0x382b42[_0xb8da('0x30')][_0xb8da('0x66')],'CampaignId':_0x382b42[_0xb8da('0x42')]['id']}})['then'](function(){return _0x44fee3;});}})[_0xb8da('0x23')](respondWithStatusCode(_0x41db8a,null))[_0xb8da('0x40')](handleError(_0x41db8a,null));};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.model.js b/server/api/campaign/campaign.model.js
index 6721b9f..b23d10f 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 _0x7a54=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./campaign.attributes','exports','Campaign','campaigns','lodash','util'];(function(_0x4e291f,_0x202c9){var _0x3b2d52=function(_0x2004a8){while(--_0x2004a8){_0x4e291f['push'](_0x4e291f['shift']());}};_0x3b2d52(++_0x202c9);}(_0x7a54,0x106));var _0x47a5=function(_0x819713,_0x48562d){_0x819713=_0x819713-0x0;var _0x548c40=_0x7a54[_0x819713];return _0x548c40;};'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':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x7a54=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./campaign.attributes','exports','Campaign','campaigns','lodash','util'];(function(_0x117417,_0x214c67){var _0x5ba86d=function(_0x35ad70){while(--_0x35ad70){_0x117417['push'](_0x117417['shift']());}};_0x5ba86d(++_0x214c67);}(_0x7a54,0x106));var _0x47a5=function(_0x3289ad,_0x45b709){_0x3289ad=_0x3289ad-0x0;var _0x2cdce2=_0x7a54[_0x3289ad];return _0x2cdce2;};'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':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.rpc.js b/server/api/campaign/campaign.rpc.js
index 12b7caa..7aea0bf 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 _0x2c6a=['where','attributes','limit','include','model','map','stringify','lodash','util','moment','bluebird','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','request','then','info','Campaign,\x20%s,\x20%s','request\x20sent','debug','error','code','message','result','catch','GetCampaign','Campaign','findAll','options','raw'];(function(_0x1211e2,_0x2745a5){var _0x4dbdb5=function(_0xe968fb){while(--_0xe968fb){_0x1211e2['push'](_0x1211e2['shift']());}};_0x4dbdb5(++_0x2745a5);}(_0x2c6a,0xa7));var _0xa2c6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2c6a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xa2c6('0x0'));var util=require(_0xa2c6('0x1'));var moment=require(_0xa2c6('0x2'));var BPromise=require(_0xa2c6('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa2c6('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0xa2c6('0x5'))(_0xa2c6('0x6'));var config=require(_0xa2c6('0x7'));var jayson=require(_0xa2c6('0x8'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x1a9131,_0x1fa65f,_0x3d1aa0){return new BPromise(function(_0x11aa17,_0x3c2894){return client[_0xa2c6('0x9')](_0x1a9131,_0x3d1aa0)[_0xa2c6('0xa')](function(_0x4b0bdf){logger[_0xa2c6('0xb')](_0xa2c6('0xc'),_0x1fa65f,_0xa2c6('0xd'));logger[_0xa2c6('0xe')]('Campaign,\x20%s,\x20%s,\x20%s',_0x1fa65f,_0xa2c6('0xd'),JSON['stringify'](_0x4b0bdf));if(_0x4b0bdf[_0xa2c6('0xf')]){if(_0x4b0bdf[_0xa2c6('0xf')][_0xa2c6('0x10')]===0x1f4){logger[_0xa2c6('0xf')]('Campaign,\x20%s,\x20%s',_0x1fa65f,_0x4b0bdf[_0xa2c6('0xf')][_0xa2c6('0x11')]);return _0x3c2894(_0x4b0bdf[_0xa2c6('0xf')]['message']);}logger[_0xa2c6('0xf')](_0xa2c6('0xc'),_0x1fa65f,_0x4b0bdf[_0xa2c6('0xf')][_0xa2c6('0x11')]);return _0x11aa17(_0x4b0bdf[_0xa2c6('0xf')]['message']);}else{logger[_0xa2c6('0xb')](_0xa2c6('0xc'),_0x1fa65f,_0xa2c6('0xd'));_0x11aa17(_0x4b0bdf[_0xa2c6('0x12')][_0xa2c6('0x11')]);}})[_0xa2c6('0x13')](function(_0x4fd220){logger[_0xa2c6('0xf')]('Campaign,\x20%s,\x20%s',_0x1fa65f,_0x4fd220);_0x3c2894(_0x4fd220);});});}exports[_0xa2c6('0x14')]=function(_0x114424){var _0x1cf0a9=this;return new Promise(function(_0x2479bd,_0x372ce3){return db[_0xa2c6('0x15')][_0xa2c6('0x16')]({'raw':_0x114424[_0xa2c6('0x17')]?_0x114424['options'][_0xa2c6('0x18')]===undefined?!![]:![]:!![],'where':_0x114424[_0xa2c6('0x17')]?_0x114424[_0xa2c6('0x17')][_0xa2c6('0x19')]||null:null,'attributes':_0x114424[_0xa2c6('0x17')]?_0x114424['options'][_0xa2c6('0x1a')]||null:null,'limit':_0x114424[_0xa2c6('0x17')]?_0x114424['options'][_0xa2c6('0x1b')]||null:null,'include':_0x114424['options']?_0x114424[_0xa2c6('0x17')][_0xa2c6('0x1c')]?_['map'](_0x114424[_0xa2c6('0x17')]['include'],function(_0x19a765){return{'model':db[_0x19a765[_0xa2c6('0x1d')]],'as':_0x19a765['as'],'attributes':_0x19a765[_0xa2c6('0x1a')],'include':_0x19a765[_0xa2c6('0x1c')]?_[_0xa2c6('0x1e')](_0x19a765['include'],function(_0x2ed646){return{'model':db[_0x2ed646['model']],'as':_0x2ed646['as'],'attributes':_0x2ed646[_0xa2c6('0x1a')],'include':_0x2ed646[_0xa2c6('0x1c')]?_['map'](_0x2ed646[_0xa2c6('0x1c')],function(_0x4485d4){return{'model':db[_0x4485d4[_0xa2c6('0x1d')]],'as':_0x4485d4['as'],'attributes':_0x4485d4[_0xa2c6('0x1a')]};}):[]};}):[]};}):[]:[]})[_0xa2c6('0xa')](function(_0x11a72c){logger[_0xa2c6('0xb')](_0xa2c6('0x14'),_0x114424);logger[_0xa2c6('0xe')]('GetCampaign',_0x114424,JSON[_0xa2c6('0x1f')](_0x11a72c));_0x2479bd(_0x11a72c);})[_0xa2c6('0x13')](function(_0x233284){logger[_0xa2c6('0xf')]('GetCampaign',_0x233284['message'],_0x114424);_0x372ce3(_0x1cf0a9['error'](0x1f4,_0x233284['message']));});});};
\ No newline at end of file
+var _0xf0ba=['catch','GetCampaign','Campaign','findAll','options','raw','where','attributes','limit','include','map','model','debug','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','rpc','jayson/promise','then','info','request\x20sent','Campaign,\x20%s,\x20%s,\x20%s','stringify','error','code','Campaign,\x20%s,\x20%s','message','result'];(function(_0x3c8e9a,_0x384306){var _0x2d4c57=function(_0x43d408){while(--_0x43d408){_0x3c8e9a['push'](_0x3c8e9a['shift']());}};_0x2d4c57(++_0x384306);}(_0xf0ba,0x1ed));var _0xaf0b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf0ba[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0xaf0b('0x0'));var util=require(_0xaf0b('0x1'));var moment=require(_0xaf0b('0x2'));var BPromise=require(_0xaf0b('0x3'));var rs=require(_0xaf0b('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xaf0b('0x5'))['db'];var utils=require(_0xaf0b('0x6'));var logger=require('../../config/logger')(_0xaf0b('0x7'));var config=require('../../config/environment');var jayson=require(_0xaf0b('0x8'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x53b32d,_0x1d260e,_0x17b6d5){return new BPromise(function(_0x3439d5,_0xd67a9){return client['request'](_0x53b32d,_0x17b6d5)[_0xaf0b('0x9')](function(_0x4242b1){logger[_0xaf0b('0xa')]('Campaign,\x20%s,\x20%s',_0x1d260e,_0xaf0b('0xb'));logger['debug'](_0xaf0b('0xc'),_0x1d260e,_0xaf0b('0xb'),JSON[_0xaf0b('0xd')](_0x4242b1));if(_0x4242b1['error']){if(_0x4242b1[_0xaf0b('0xe')][_0xaf0b('0xf')]===0x1f4){logger[_0xaf0b('0xe')](_0xaf0b('0x10'),_0x1d260e,_0x4242b1[_0xaf0b('0xe')][_0xaf0b('0x11')]);return _0xd67a9(_0x4242b1['error'][_0xaf0b('0x11')]);}logger[_0xaf0b('0xe')](_0xaf0b('0x10'),_0x1d260e,_0x4242b1[_0xaf0b('0xe')]['message']);return _0x3439d5(_0x4242b1[_0xaf0b('0xe')][_0xaf0b('0x11')]);}else{logger[_0xaf0b('0xa')](_0xaf0b('0x10'),_0x1d260e,_0xaf0b('0xb'));_0x3439d5(_0x4242b1[_0xaf0b('0x12')][_0xaf0b('0x11')]);}})[_0xaf0b('0x13')](function(_0x4885da){logger[_0xaf0b('0xe')]('Campaign,\x20%s,\x20%s',_0x1d260e,_0x4885da);_0xd67a9(_0x4885da);});});}exports[_0xaf0b('0x14')]=function(_0x1dd132){var _0x36b059=this;return new Promise(function(_0xbe0d1e,_0x3201ed){return db[_0xaf0b('0x15')][_0xaf0b('0x16')]({'raw':_0x1dd132[_0xaf0b('0x17')]?_0x1dd132[_0xaf0b('0x17')][_0xaf0b('0x18')]===undefined?!![]:![]:!![],'where':_0x1dd132['options']?_0x1dd132[_0xaf0b('0x17')][_0xaf0b('0x19')]||null:null,'attributes':_0x1dd132[_0xaf0b('0x17')]?_0x1dd132['options'][_0xaf0b('0x1a')]||null:null,'limit':_0x1dd132[_0xaf0b('0x17')]?_0x1dd132['options'][_0xaf0b('0x1b')]||null:null,'include':_0x1dd132[_0xaf0b('0x17')]?_0x1dd132[_0xaf0b('0x17')][_0xaf0b('0x1c')]?_[_0xaf0b('0x1d')](_0x1dd132['options']['include'],function(_0x4541c5){return{'model':db[_0x4541c5[_0xaf0b('0x1e')]],'as':_0x4541c5['as'],'attributes':_0x4541c5[_0xaf0b('0x1a')],'include':_0x4541c5[_0xaf0b('0x1c')]?_[_0xaf0b('0x1d')](_0x4541c5[_0xaf0b('0x1c')],function(_0x234040){return{'model':db[_0x234040[_0xaf0b('0x1e')]],'as':_0x234040['as'],'attributes':_0x234040['attributes'],'include':_0x234040[_0xaf0b('0x1c')]?_[_0xaf0b('0x1d')](_0x234040[_0xaf0b('0x1c')],function(_0x51cb2f){return{'model':db[_0x51cb2f[_0xaf0b('0x1e')]],'as':_0x51cb2f['as'],'attributes':_0x51cb2f[_0xaf0b('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x5a3e1b){logger['info'](_0xaf0b('0x14'),_0x1dd132);logger[_0xaf0b('0x1f')](_0xaf0b('0x14'),_0x1dd132,JSON['stringify'](_0x5a3e1b));_0xbe0d1e(_0x5a3e1b);})[_0xaf0b('0x13')](function(_0x674048){logger[_0xaf0b('0xe')](_0xaf0b('0x14'),_0x674048[_0xaf0b('0x11')],_0x1dd132);_0x3201ed(_0x36b059[_0xaf0b('0xe')](0x1f4,_0x674048[_0xaf0b('0x11')]));});});};
\ No newline at end of file
diff --git a/server/api/campaign/index.js b/server/api/campaign/index.js
index ae87d12..3289d50 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 _0x4f20=['addBlackLists','update','delete','destroy','/:id/lists','removeLists','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','index','/:id','show','isAuthenticated','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','getLists','getBlackLists','create','post','/:id/blacklists'];(function(_0x2a0350,_0x249319){var _0x425220=function(_0x1d5f78){while(--_0x1d5f78){_0x2a0350['push'](_0x2a0350['shift']());}};_0x425220(++_0x249319);}(_0x4f20,0x86));var _0x04f2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4f20[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0x04f2('0x0'));var path=require(_0x04f2('0x1'));var timeout=require(_0x04f2('0x2'));var express=require(_0x04f2('0x3'));var router=express['Router']();var fs_extra=require(_0x04f2('0x4'));var auth=require(_0x04f2('0x5'));var interaction=require(_0x04f2('0x6'));var config=require(_0x04f2('0x7'));var controller=require(_0x04f2('0x8'));router[_0x04f2('0x9')]('/',auth['isAuthenticated'](),controller[_0x04f2('0xa')]);router[_0x04f2('0x9')](_0x04f2('0xb'),auth['isAuthenticated'](),controller[_0x04f2('0xc')]);router['get']('/:id/hoppers',auth[_0x04f2('0xd')](),controller[_0x04f2('0xe')]);router['get'](_0x04f2('0xf'),auth[_0x04f2('0xd')](),controller[_0x04f2('0x10')]);router[_0x04f2('0x9')](_0x04f2('0x11'),auth['isAuthenticated'](),controller[_0x04f2('0x12')]);router['get'](_0x04f2('0x13'),auth[_0x04f2('0xd')](),controller[_0x04f2('0x14')]);router['get']('/:id/lists',auth['isAuthenticated'](),controller[_0x04f2('0x15')]);router[_0x04f2('0x9')]('/:id/blacklists',auth[_0x04f2('0xd')](),controller[_0x04f2('0x16')]);router['post']('/',auth[_0x04f2('0xd')](),controller[_0x04f2('0x17')]);router[_0x04f2('0x18')]('/:id/clone',auth[_0x04f2('0xd')](),controller['clone']);router[_0x04f2('0x18')]('/:id/lists',auth[_0x04f2('0xd')](),controller['addLists']);router[_0x04f2('0x18')](_0x04f2('0x19'),auth['isAuthenticated'](),controller[_0x04f2('0x1a')]);router['put'](_0x04f2('0xb'),auth[_0x04f2('0xd')](),controller[_0x04f2('0x1b')]);router[_0x04f2('0x1c')](_0x04f2('0xb'),auth[_0x04f2('0xd')](),controller[_0x04f2('0x1d')]);router[_0x04f2('0x1c')](_0x04f2('0x1e'),auth[_0x04f2('0xd')](),controller[_0x04f2('0x1f')]);router[_0x04f2('0x1c')]('/:id/blacklists',auth[_0x04f2('0xd')](),controller['removeBlackLists']);module['exports']=router;
\ No newline at end of file
+var _0x48db=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./campaign.controller','isAuthenticated','index','get','/:id','show','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists','post','/:id/clone','clone','addBlackLists','put','destroy','delete','removeBlackLists','exports','path'];(function(_0x30d3bf,_0x58c72b){var _0x1e2f39=function(_0x2f0fe1){while(--_0x2f0fe1){_0x30d3bf['push'](_0x30d3bf['shift']());}};_0x1e2f39(++_0x58c72b);}(_0x48db,0x1cf));var _0xb48d=function(_0x13f129,_0x2fb87b){_0x13f129=_0x13f129-0x0;var _0x12145f=_0x48db[_0x13f129];return _0x12145f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb48d('0x0'));var timeout=require(_0xb48d('0x1'));var express=require(_0xb48d('0x2'));var router=express[_0xb48d('0x3')]();var fs_extra=require(_0xb48d('0x4'));var auth=require(_0xb48d('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb48d('0x6'));var controller=require(_0xb48d('0x7'));router['get']('/',auth[_0xb48d('0x8')](),controller[_0xb48d('0x9')]);router[_0xb48d('0xa')](_0xb48d('0xb'),auth[_0xb48d('0x8')](),controller[_0xb48d('0xc')]);router['get']('/:id/hoppers',auth[_0xb48d('0x8')](),controller['getHoppers']);router[_0xb48d('0xa')](_0xb48d('0xd'),auth['isAuthenticated'](),controller[_0xb48d('0xe')]);router[_0xb48d('0xa')]('/:id/hopper_finals',auth[_0xb48d('0x8')](),controller[_0xb48d('0xf')]);router[_0xb48d('0xa')](_0xb48d('0x10'),auth[_0xb48d('0x8')](),controller[_0xb48d('0x11')]);router[_0xb48d('0xa')](_0xb48d('0x12'),auth['isAuthenticated'](),controller['getLists']);router[_0xb48d('0xa')](_0xb48d('0x13'),auth[_0xb48d('0x8')](),controller['getBlackLists']);router['post']('/',auth[_0xb48d('0x8')](),controller['create']);router[_0xb48d('0x14')](_0xb48d('0x15'),auth[_0xb48d('0x8')](),controller[_0xb48d('0x16')]);router[_0xb48d('0x14')](_0xb48d('0x12'),auth[_0xb48d('0x8')](),controller['addLists']);router[_0xb48d('0x14')]('/:id/blacklists',auth[_0xb48d('0x8')](),controller[_0xb48d('0x17')]);router[_0xb48d('0x18')](_0xb48d('0xb'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xb48d('0xb'),auth[_0xb48d('0x8')](),controller[_0xb48d('0x19')]);router[_0xb48d('0x1a')](_0xb48d('0x12'),auth[_0xb48d('0x8')](),controller['removeLists']);router[_0xb48d('0x1a')]('/:id/blacklists',auth[_0xb48d('0x8')](),controller[_0xb48d('0x1b')]);module[_0xb48d('0x1c')]=router;
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.attributes.js b/server/api/cannedAnswer/cannedAnswer.attributes.js
index 9fb2432..00b9eb3 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 _0xac8f=['sequelize','exports','STRING','TEXT','VIRTUAL','key'];(function(_0x4da0ea,_0x571773){var _0x3d1419=function(_0x1a8aa0){while(--_0x1a8aa0){_0x4da0ea['push'](_0x4da0ea['shift']());}};_0x3d1419(++_0x571773);}(_0xac8f,0x1b6));var _0xfac8=function(_0x296809,_0x1c9665){_0x296809=_0x296809-0x0;var _0x18c0d3=_0xac8f[_0x296809];return _0x18c0d3;};'use strict';var Sequelize=require(_0xfac8('0x0'));module[_0xfac8('0x1')]={'key':{'type':Sequelize[_0xfac8('0x2')],'allowNull':![]},'value':{'type':Sequelize[_0xfac8('0x3')],'allowNull':![]},'description':{'type':Sequelize[_0xfac8('0x2')]},'name':{'type':Sequelize[_0xfac8('0x4')],'get':function(){return this['getDataValue'](_0xfac8('0x5'));}}};
\ No newline at end of file
+var _0xcb5f=['key','sequelize','STRING','TEXT'];(function(_0x1ff10a,_0x590fda){var _0x40f3d9=function(_0x2f377a){while(--_0x2f377a){_0x1ff10a['push'](_0x1ff10a['shift']());}};_0x40f3d9(++_0x590fda);}(_0xcb5f,0x129));var _0xfcb5=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xcb5f[_0x2641f9];return _0x585741;};'use strict';var Sequelize=require(_0xfcb5('0x0'));module['exports']={'key':{'type':Sequelize[_0xfcb5('0x1')],'allowNull':![]},'value':{'type':Sequelize[_0xfcb5('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xfcb5('0x1')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0xfcb5('0x3'));}}};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.controller.js b/server/api/cannedAnswer/cannedAnswer.controller.js
index 9082eb7..2fb9a6c 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 _0xcb36=['options','includeAll','include','findAll','rows','catch','show','params','keys','find','body','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','Sequelize','The\x20inserted\x20key\x20already\x20exists.','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','request-promise','bluebird','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','offset','undefined','count','set','apply','reject','save','update','then','destroy','CannedAnswers','UserProfileResource','sendStatus','name','send','index','map','CannedAnswer','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge'];(function(_0x4de1b1,_0x18c64c){var _0x639f27=function(_0x635e03){while(--_0x635e03){_0x4de1b1['push'](_0x4de1b1['shift']());}};_0x639f27(++_0x18c64c);}(_0xcb36,0x70));var _0x6cb3=function(_0x44bce4,_0x3e4372){_0x44bce4=_0x44bce4-0x0;var _0x50eb72=_0xcb36[_0x44bce4];return _0x50eb72;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x6cb3('0x0'));var moment=require('moment');var BPromise=require(_0x6cb3('0x1'));var Mustache=require('mustache');var util=require(_0x6cb3('0x2'));var path=require(_0x6cb3('0x3'));var sox=require(_0x6cb3('0x4'));var csv=require(_0x6cb3('0x5'));var ejs=require(_0x6cb3('0x6'));var fs=require('fs');var fs_extra=require(_0x6cb3('0x7'));var _=require(_0x6cb3('0x8'));var squel=require(_0x6cb3('0x9'));var crypto=require('crypto');var jsforce=require(_0x6cb3('0xa'));var deskjs=require(_0x6cb3('0xb'));var toCsv=require(_0x6cb3('0x5'));var querystring=require('querystring');var Papa=require(_0x6cb3('0xc'));var Redis=require('ioredis');var authService=require(_0x6cb3('0xd'));var qs=require(_0x6cb3('0xe'));var as=require(_0x6cb3('0xf'));var hardwareService=require(_0x6cb3('0x10'));var logger=require(_0x6cb3('0x11'))(_0x6cb3('0x12'));var utils=require('../../config/utils');var config=require(_0x6cb3('0x13'));var licenseUtil=require('../../config/license/util');var db=require(_0x6cb3('0x14'))['db'];function respondWithStatusCode(_0x18676b,_0x64ea6b){_0x64ea6b=_0x64ea6b||0xcc;return function(_0x1dc2eb){if(_0x1dc2eb){return _0x18676b['sendStatus'](_0x64ea6b);}return _0x18676b[_0x6cb3('0x15')](_0x64ea6b)[_0x6cb3('0x16')]();};}function respondWithResult(_0x4e5591,_0x71d69){_0x71d69=_0x71d69||0xc8;return function(_0x89a24b){if(_0x89a24b){return _0x4e5591['status'](_0x71d69)[_0x6cb3('0x17')](_0x89a24b);}};}function respondWithFilteredResult(_0x441d77,_0x12c87){return function(_0x34b869){if(_0x34b869){var _0x445782=typeof _0x12c87[_0x6cb3('0x18')]==='undefined'&&typeof _0x12c87['limit']===_0x6cb3('0x19');var _0x1d8ca3=_0x34b869['count'];var _0x28f19a=_0x445782?0x0:_0x12c87['offset'];var _0x763855=_0x445782?_0x34b869[_0x6cb3('0x1a')]:_0x12c87['offset']+_0x12c87['limit'];var _0x4af033;if(_0x763855>=_0x1d8ca3){_0x763855=_0x1d8ca3;_0x4af033=0xc8;}else{_0x4af033=0xce;}_0x441d77[_0x6cb3('0x15')](_0x4af033);return _0x441d77[_0x6cb3('0x1b')]('Content-Range',_0x28f19a+'-'+_0x763855+'/'+_0x1d8ca3)[_0x6cb3('0x17')](_0x34b869);}return null;};}function patchUpdates(_0x3e0b63){return function(_0x21925a){try{jsonpatch[_0x6cb3('0x1c')](_0x21925a,_0x3e0b63,!![]);}catch(_0x456833){return BPromise[_0x6cb3('0x1d')](_0x456833);}return _0x21925a[_0x6cb3('0x1e')]();};}function saveUpdates(_0x408f8f,_0x313b79){return function(_0x2aa7f7){if(_0x2aa7f7){return _0x2aa7f7[_0x6cb3('0x1f')](_0x408f8f)[_0x6cb3('0x20')](function(_0x5d0085){return _0x5d0085;});}return null;};}function removeEntity(_0x2780db,_0x3fc35d){return function(_0x3fee9e){if(_0x3fee9e){return _0x3fee9e[_0x6cb3('0x21')]()['then'](function(){var _0x59ec4f=_0x3fee9e['get']({'plain':!![]});var _0x503628=_0x6cb3('0x22');return db[_0x6cb3('0x23')]['destroy']({'where':{'type':_0x503628,'resourceId':_0x59ec4f['id']}})[_0x6cb3('0x20')](function(){return _0x3fee9e;});})[_0x6cb3('0x20')](function(){_0x2780db[_0x6cb3('0x15')](0xcc)[_0x6cb3('0x16')]();});}};}function handleEntityNotFound(_0x47fb02,_0x58c9ad){return function(_0x4d601a){if(!_0x4d601a){_0x47fb02[_0x6cb3('0x24')](0x194);}return _0x4d601a;};}function handleError(_0x50d825,_0x17aeab){_0x17aeab=_0x17aeab||0x1f4;return function(_0x8a545f){logger['error'](_0x8a545f['stack']);if(_0x8a545f[_0x6cb3('0x25')]){delete _0x8a545f['name'];}_0x50d825[_0x6cb3('0x15')](_0x17aeab)[_0x6cb3('0x26')](_0x8a545f);};}exports[_0x6cb3('0x27')]=function(_0x20f5e,_0x31a384){var _0x4d756b={},_0x2435ef={},_0x255df6={'count':0x0,'rows':[]};var _0x896e5e=_[_0x6cb3('0x28')](db[_0x6cb3('0x29')][_0x6cb3('0x2a')],function(_0x2d7542){return{'name':_0x2d7542[_0x6cb3('0x2b')],'type':_0x2d7542[_0x6cb3('0x2c')][_0x6cb3('0x2d')]};});_0x2435ef[_0x6cb3('0x2e')]=_['map'](_0x896e5e,_0x6cb3('0x25'));_0x2435ef['query']=_['keys'](_0x20f5e[_0x6cb3('0x2f')]);_0x2435ef[_0x6cb3('0x30')]=_[_0x6cb3('0x31')](_0x2435ef['model'],_0x2435ef[_0x6cb3('0x2f')]);_0x4d756b[_0x6cb3('0x32')]=_[_0x6cb3('0x31')](_0x2435ef[_0x6cb3('0x2e')],qs[_0x6cb3('0x33')](_0x20f5e[_0x6cb3('0x2f')]['fields']));_0x4d756b[_0x6cb3('0x32')]=_0x4d756b[_0x6cb3('0x32')][_0x6cb3('0x34')]?_0x4d756b['attributes']:_0x2435ef[_0x6cb3('0x2e')];if(!_0x20f5e[_0x6cb3('0x2f')][_0x6cb3('0x35')](_0x6cb3('0x36'))){_0x4d756b[_0x6cb3('0x37')]=qs['limit'](_0x20f5e[_0x6cb3('0x2f')][_0x6cb3('0x37')]);_0x4d756b[_0x6cb3('0x18')]=qs['offset'](_0x20f5e[_0x6cb3('0x2f')][_0x6cb3('0x18')]);}_0x4d756b[_0x6cb3('0x38')]=qs[_0x6cb3('0x39')](_0x20f5e[_0x6cb3('0x2f')]['sort']);_0x4d756b[_0x6cb3('0x3a')]=qs[_0x6cb3('0x30')](_[_0x6cb3('0x3b')](_0x20f5e[_0x6cb3('0x2f')],_0x2435ef[_0x6cb3('0x30')]),_0x896e5e);if(_0x20f5e[_0x6cb3('0x2f')][_0x6cb3('0x3c')]){_0x4d756b[_0x6cb3('0x3a')]=_[_0x6cb3('0x3d')](_0x4d756b['where'],{'$or':[{'key':{'$like':'%'+_0x20f5e['query']['filter']+'%'}},{'value':{'$like':'%'+_0x20f5e['query'][_0x6cb3('0x3c')]+'%'}}]});}_0x4d756b=_['merge']({},_0x4d756b,_0x20f5e[_0x6cb3('0x3e')]);var _0x212a2b={'where':_0x4d756b[_0x6cb3('0x3a')]};return db['CannedAnswer'][_0x6cb3('0x1a')](_0x212a2b)[_0x6cb3('0x20')](function(_0x543bab){_0x255df6[_0x6cb3('0x1a')]=_0x543bab;if(_0x20f5e[_0x6cb3('0x2f')][_0x6cb3('0x3f')]){_0x4d756b[_0x6cb3('0x40')]=[{'all':!![]}];}return db[_0x6cb3('0x29')][_0x6cb3('0x41')](_0x4d756b);})[_0x6cb3('0x20')](function(_0x15431e){_0x255df6[_0x6cb3('0x42')]=_0x15431e;return _0x255df6;})[_0x6cb3('0x20')](respondWithFilteredResult(_0x31a384,_0x4d756b))[_0x6cb3('0x43')](handleError(_0x31a384,null));};exports[_0x6cb3('0x44')]=function(_0x2cfb4d,_0x56bcfe){var _0x5b216a={'raw':!![],'where':{'id':_0x2cfb4d[_0x6cb3('0x45')]['id']}},_0x455096={};_0x455096[_0x6cb3('0x2e')]=_[_0x6cb3('0x46')](db[_0x6cb3('0x29')][_0x6cb3('0x2a')]);_0x455096['query']=_[_0x6cb3('0x46')](_0x2cfb4d[_0x6cb3('0x2f')]);_0x455096[_0x6cb3('0x30')]=_[_0x6cb3('0x31')](_0x455096[_0x6cb3('0x2e')],_0x455096[_0x6cb3('0x2f')]);_0x5b216a[_0x6cb3('0x32')]=_[_0x6cb3('0x31')](_0x455096['model'],qs[_0x6cb3('0x33')](_0x2cfb4d[_0x6cb3('0x2f')][_0x6cb3('0x33')]));_0x5b216a[_0x6cb3('0x32')]=_0x5b216a['attributes'][_0x6cb3('0x34')]?_0x5b216a[_0x6cb3('0x32')]:_0x455096[_0x6cb3('0x2e')];if(_0x2cfb4d[_0x6cb3('0x2f')]['includeAll']){_0x5b216a['include']=[{'all':!![]}];}_0x5b216a=_[_0x6cb3('0x3d')]({},_0x5b216a,_0x2cfb4d[_0x6cb3('0x3e')]);return db[_0x6cb3('0x29')][_0x6cb3('0x47')](_0x5b216a)[_0x6cb3('0x20')](handleEntityNotFound(_0x56bcfe,null))[_0x6cb3('0x20')](respondWithResult(_0x56bcfe,null))[_0x6cb3('0x43')](handleError(_0x56bcfe,null));};exports['update']=function(_0x488296,_0x22604c){if(_0x488296[_0x6cb3('0x48')]['id']){delete _0x488296['body']['id'];}return db[_0x6cb3('0x29')]['find']({'where':{'id':_0x488296[_0x6cb3('0x45')]['id']}})['then'](handleEntityNotFound(_0x22604c,null))[_0x6cb3('0x20')](saveUpdates(_0x488296[_0x6cb3('0x48')],null))['then'](respondWithResult(_0x22604c,null))['catch'](handleError(_0x22604c,null));};exports[_0x6cb3('0x21')]=function(_0x4e1838,_0x552f97){return db[_0x6cb3('0x29')][_0x6cb3('0x47')]({'where':{'id':_0x4e1838[_0x6cb3('0x45')]['id']}})[_0x6cb3('0x20')](handleEntityNotFound(_0x552f97,null))['then'](removeEntity(_0x552f97,null))[_0x6cb3('0x43')](handleError(_0x552f97,null));};exports[_0x6cb3('0x49')]=function(_0x2f3019,_0x120bae){var _0x63fc4c={'key':_0x2f3019['body'][_0x6cb3('0x2d')]};if(_0x2f3019[_0x6cb3('0x48')][_0x6cb3('0x4a')]){_0x63fc4c[_0x6cb3('0x4a')]=_0x2f3019[_0x6cb3('0x48')][_0x6cb3('0x4a')];}else if(_0x2f3019[_0x6cb3('0x48')][_0x6cb3('0x4b')]){_0x63fc4c[_0x6cb3('0x4b')]=_0x2f3019['body'][_0x6cb3('0x4b')];}else if(_0x2f3019[_0x6cb3('0x48')][_0x6cb3('0x4c')]){_0x63fc4c['OpenchannelAccountId']=_0x2f3019['body'][_0x6cb3('0x4c')];}else if(_0x2f3019['body'][_0x6cb3('0x4d')]){_0x63fc4c['ChatWebsiteId']=_0x2f3019[_0x6cb3('0x48')][_0x6cb3('0x4d')];}return db[_0x6cb3('0x29')][_0x6cb3('0x47')]({'where':_0x63fc4c})['then'](function(_0x42f787){if(_0x42f787){throw new db[(_0x6cb3('0x4e'))]['ValidationError'](_0x6cb3('0x4f'));}return db[_0x6cb3('0x29')]['create'](_0x2f3019['body']);})[_0x6cb3('0x20')](function(_0x11821a){var _0x55f06f=_0x2f3019[_0x6cb3('0x50')][_0x6cb3('0x51')]({'plain':!![]});if(!_0x55f06f)throw new Error(_0x6cb3('0x52'));if(_0x55f06f[_0x6cb3('0x53')]===_0x6cb3('0x50')){var _0x118c38=_0x11821a[_0x6cb3('0x51')]({'plain':!![]});return db['UserProfileSection'][_0x6cb3('0x47')]({'where':{'name':_0x6cb3('0x22'),'userProfileId':_0x55f06f['userProfileId']},'raw':!![]})[_0x6cb3('0x20')](function(_0x5e91d3){if(_0x5e91d3&&_0x5e91d3[_0x6cb3('0x54')]===0x0){return db['UserProfileResource'][_0x6cb3('0x49')]({'name':_0x118c38[_0x6cb3('0x25')],'resourceId':_0x118c38['id'],'type':_0x5e91d3[_0x6cb3('0x25')],'sectionId':_0x5e91d3['id']},{})[_0x6cb3('0x20')](function(){return _0x11821a;});}else{return _0x11821a;}})[_0x6cb3('0x43')](function(_0x35640f){logger[_0x6cb3('0x55')](_0x6cb3('0x56'),_0x35640f);throw _0x35640f;});}return _0x11821a;})[_0x6cb3('0x20')](respondWithResult(_0x120bae,0xc9))[_0x6cb3('0x43')](handleError(_0x120bae,null));};
\ No newline at end of file
+var _0xe302=['set','apply','save','destroy','get','CannedAnswers','then','error','stack','name','map','CannedAnswer','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','hasOwnProperty','nolimit','sort','where','filter','merge','includeAll','include','rows','length','find','catch','update','body','params','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','Sequelize','The\x20inserted\x20key\x20already\x20exists.','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','eml-format','rimraf','zip-dir','request-promise','bluebird','mustache','util','path','sox','to-csv','fs-extra','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count'];(function(_0x541b29,_0x59c1e1){var _0x518f84=function(_0x573034){while(--_0x573034){_0x541b29['push'](_0x541b29['shift']());}};_0x518f84(++_0x59c1e1);}(_0xe302,0xdd));var _0x2e30=function(_0x15cd58,_0x52b016){_0x15cd58=_0x15cd58-0x0;var _0x233c74=_0xe302[_0x15cd58];return _0x233c74;};'use strict';var emlformat=require(_0x2e30('0x0'));var rimraf=require(_0x2e30('0x1'));var zipdir=require(_0x2e30('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x2e30('0x3'));var moment=require('moment');var BPromise=require(_0x2e30('0x4'));var Mustache=require(_0x2e30('0x5'));var util=require(_0x2e30('0x6'));var path=require(_0x2e30('0x7'));var sox=require(_0x2e30('0x8'));var csv=require(_0x2e30('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x2e30('0xa'));var _=require(_0x2e30('0xb'));var squel=require(_0x2e30('0xc'));var crypto=require(_0x2e30('0xd'));var jsforce=require(_0x2e30('0xe'));var deskjs=require(_0x2e30('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x2e30('0x10'));var Redis=require(_0x2e30('0x11'));var authService=require(_0x2e30('0x12'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x2e30('0x13'));var logger=require(_0x2e30('0x14'))(_0x2e30('0x15'));var utils=require(_0x2e30('0x16'));var config=require(_0x2e30('0x17'));var licenseUtil=require(_0x2e30('0x18'));var db=require(_0x2e30('0x19'))['db'];function respondWithStatusCode(_0x3219ff,_0x4d38bb){_0x4d38bb=_0x4d38bb||0xcc;return function(_0x234d12){if(_0x234d12){return _0x3219ff[_0x2e30('0x1a')](_0x4d38bb);}return _0x3219ff['status'](_0x4d38bb)[_0x2e30('0x1b')]();};}function respondWithResult(_0x537f59,_0x354dac){_0x354dac=_0x354dac||0xc8;return function(_0x306098){if(_0x306098){return _0x537f59[_0x2e30('0x1c')](_0x354dac)[_0x2e30('0x1d')](_0x306098);}};}function respondWithFilteredResult(_0x3797bc,_0x90dbc0){return function(_0x5d14ef){if(_0x5d14ef){var _0x4c4731=typeof _0x90dbc0[_0x2e30('0x1e')]===_0x2e30('0x1f')&&typeof _0x90dbc0[_0x2e30('0x20')]===_0x2e30('0x1f');var _0x1c0d66=_0x5d14ef[_0x2e30('0x21')];var _0x1e7d0b=_0x4c4731?0x0:_0x90dbc0[_0x2e30('0x1e')];var _0x4cd52f=_0x4c4731?_0x5d14ef[_0x2e30('0x21')]:_0x90dbc0[_0x2e30('0x1e')]+_0x90dbc0[_0x2e30('0x20')];var _0x4c2a79;if(_0x4cd52f>=_0x1c0d66){_0x4cd52f=_0x1c0d66;_0x4c2a79=0xc8;}else{_0x4c2a79=0xce;}_0x3797bc[_0x2e30('0x1c')](_0x4c2a79);return _0x3797bc[_0x2e30('0x22')]('Content-Range',_0x1e7d0b+'-'+_0x4cd52f+'/'+_0x1c0d66)[_0x2e30('0x1d')](_0x5d14ef);}return null;};}function patchUpdates(_0xa8642c){return function(_0x1fa759){try{jsonpatch[_0x2e30('0x23')](_0x1fa759,_0xa8642c,!![]);}catch(_0x36e5a2){return BPromise['reject'](_0x36e5a2);}return _0x1fa759[_0x2e30('0x24')]();};}function saveUpdates(_0x59f159,_0x41537e){return function(_0x548e66){if(_0x548e66){return _0x548e66['update'](_0x59f159)['then'](function(_0x530a95){return _0x530a95;});}return null;};}function removeEntity(_0x5a85f0,_0x546c8c){return function(_0x30c07c){if(_0x30c07c){return _0x30c07c[_0x2e30('0x25')]()['then'](function(){var _0x4d4c6f=_0x30c07c[_0x2e30('0x26')]({'plain':!![]});var _0x32e9dd=_0x2e30('0x27');return db['UserProfileResource'][_0x2e30('0x25')]({'where':{'type':_0x32e9dd,'resourceId':_0x4d4c6f['id']}})[_0x2e30('0x28')](function(){return _0x30c07c;});})[_0x2e30('0x28')](function(){_0x5a85f0[_0x2e30('0x1c')](0xcc)[_0x2e30('0x1b')]();});}};}function handleEntityNotFound(_0x452661,_0x1a3e94){return function(_0x2d7263){if(!_0x2d7263){_0x452661[_0x2e30('0x1a')](0x194);}return _0x2d7263;};}function handleError(_0x118e7f,_0x5cfe24){_0x5cfe24=_0x5cfe24||0x1f4;return function(_0x1ce148){logger[_0x2e30('0x29')](_0x1ce148[_0x2e30('0x2a')]);if(_0x1ce148[_0x2e30('0x2b')]){delete _0x1ce148[_0x2e30('0x2b')];}_0x118e7f[_0x2e30('0x1c')](_0x5cfe24)['send'](_0x1ce148);};}exports['index']=function(_0x5dabe4,_0x55ae11){var _0x17e029={},_0x31cc59={},_0x17acca={'count':0x0,'rows':[]};var _0x39808c=_[_0x2e30('0x2c')](db[_0x2e30('0x2d')][_0x2e30('0x2e')],function(_0x4fb7d4){return{'name':_0x4fb7d4[_0x2e30('0x2f')],'type':_0x4fb7d4[_0x2e30('0x30')][_0x2e30('0x31')]};});_0x31cc59['model']=_[_0x2e30('0x2c')](_0x39808c,_0x2e30('0x2b'));_0x31cc59[_0x2e30('0x32')]=_[_0x2e30('0x33')](_0x5dabe4[_0x2e30('0x32')]);_0x31cc59[_0x2e30('0x34')]=_[_0x2e30('0x35')](_0x31cc59[_0x2e30('0x36')],_0x31cc59[_0x2e30('0x32')]);_0x17e029['attributes']=_[_0x2e30('0x35')](_0x31cc59[_0x2e30('0x36')],qs[_0x2e30('0x37')](_0x5dabe4[_0x2e30('0x32')][_0x2e30('0x37')]));_0x17e029[_0x2e30('0x38')]=_0x17e029['attributes']['length']?_0x17e029['attributes']:_0x31cc59[_0x2e30('0x36')];if(!_0x5dabe4['query'][_0x2e30('0x39')](_0x2e30('0x3a'))){_0x17e029[_0x2e30('0x20')]=qs['limit'](_0x5dabe4[_0x2e30('0x32')]['limit']);_0x17e029[_0x2e30('0x1e')]=qs[_0x2e30('0x1e')](_0x5dabe4['query']['offset']);}_0x17e029['order']=qs[_0x2e30('0x3b')](_0x5dabe4['query'][_0x2e30('0x3b')]);_0x17e029[_0x2e30('0x3c')]=qs[_0x2e30('0x34')](_['pick'](_0x5dabe4[_0x2e30('0x32')],_0x31cc59[_0x2e30('0x34')]),_0x39808c);if(_0x5dabe4[_0x2e30('0x32')][_0x2e30('0x3d')]){_0x17e029['where']=_[_0x2e30('0x3e')](_0x17e029[_0x2e30('0x3c')],{'$or':[{'key':{'$like':'%'+_0x5dabe4[_0x2e30('0x32')][_0x2e30('0x3d')]+'%'}},{'value':{'$like':'%'+_0x5dabe4[_0x2e30('0x32')][_0x2e30('0x3d')]+'%'}}]});}_0x17e029=_[_0x2e30('0x3e')]({},_0x17e029,_0x5dabe4['options']);var _0x512b16={'where':_0x17e029[_0x2e30('0x3c')]};return db[_0x2e30('0x2d')][_0x2e30('0x21')](_0x512b16)['then'](function(_0x3911f5){_0x17acca['count']=_0x3911f5;if(_0x5dabe4[_0x2e30('0x32')][_0x2e30('0x3f')]){_0x17e029[_0x2e30('0x40')]=[{'all':!![]}];}return db[_0x2e30('0x2d')]['findAll'](_0x17e029);})['then'](function(_0x280487){_0x17acca[_0x2e30('0x41')]=_0x280487;return _0x17acca;})[_0x2e30('0x28')](respondWithFilteredResult(_0x55ae11,_0x17e029))['catch'](handleError(_0x55ae11,null));};exports['show']=function(_0x377687,_0x330dda){var _0x1e8ce9={'raw':!![],'where':{'id':_0x377687['params']['id']}},_0x54e903={};_0x54e903[_0x2e30('0x36')]=_[_0x2e30('0x33')](db[_0x2e30('0x2d')][_0x2e30('0x2e')]);_0x54e903[_0x2e30('0x32')]=_[_0x2e30('0x33')](_0x377687['query']);_0x54e903[_0x2e30('0x34')]=_[_0x2e30('0x35')](_0x54e903[_0x2e30('0x36')],_0x54e903[_0x2e30('0x32')]);_0x1e8ce9['attributes']=_[_0x2e30('0x35')](_0x54e903[_0x2e30('0x36')],qs[_0x2e30('0x37')](_0x377687[_0x2e30('0x32')][_0x2e30('0x37')]));_0x1e8ce9[_0x2e30('0x38')]=_0x1e8ce9['attributes'][_0x2e30('0x42')]?_0x1e8ce9[_0x2e30('0x38')]:_0x54e903[_0x2e30('0x36')];if(_0x377687[_0x2e30('0x32')]['includeAll']){_0x1e8ce9[_0x2e30('0x40')]=[{'all':!![]}];}_0x1e8ce9=_[_0x2e30('0x3e')]({},_0x1e8ce9,_0x377687['options']);return db[_0x2e30('0x2d')][_0x2e30('0x43')](_0x1e8ce9)[_0x2e30('0x28')](handleEntityNotFound(_0x330dda,null))[_0x2e30('0x28')](respondWithResult(_0x330dda,null))[_0x2e30('0x44')](handleError(_0x330dda,null));};exports[_0x2e30('0x45')]=function(_0x525fbd,_0x5e4317){if(_0x525fbd[_0x2e30('0x46')]['id']){delete _0x525fbd['body']['id'];}return db[_0x2e30('0x2d')][_0x2e30('0x43')]({'where':{'id':_0x525fbd[_0x2e30('0x47')]['id']}})[_0x2e30('0x28')](handleEntityNotFound(_0x5e4317,null))[_0x2e30('0x28')](saveUpdates(_0x525fbd['body'],null))[_0x2e30('0x28')](respondWithResult(_0x5e4317,null))[_0x2e30('0x44')](handleError(_0x5e4317,null));};exports[_0x2e30('0x25')]=function(_0x2cbd2c,_0x4b62c1){return db[_0x2e30('0x2d')][_0x2e30('0x43')]({'where':{'id':_0x2cbd2c['params']['id']}})['then'](handleEntityNotFound(_0x4b62c1,null))['then'](removeEntity(_0x4b62c1,null))[_0x2e30('0x44')](handleError(_0x4b62c1,null));};exports[_0x2e30('0x48')]=function(_0x53171f,_0x311875){var _0x410a08={'key':_0x53171f['body'][_0x2e30('0x31')]};if(_0x53171f[_0x2e30('0x46')][_0x2e30('0x49')]){_0x410a08[_0x2e30('0x49')]=_0x53171f[_0x2e30('0x46')][_0x2e30('0x49')];}else if(_0x53171f['body'][_0x2e30('0x4a')]){_0x410a08[_0x2e30('0x4a')]=_0x53171f['body'][_0x2e30('0x4a')];}else if(_0x53171f['body'][_0x2e30('0x4b')]){_0x410a08['OpenchannelAccountId']=_0x53171f[_0x2e30('0x46')][_0x2e30('0x4b')];}else if(_0x53171f[_0x2e30('0x46')][_0x2e30('0x4c')]){_0x410a08[_0x2e30('0x4c')]=_0x53171f[_0x2e30('0x46')][_0x2e30('0x4c')];}return db[_0x2e30('0x2d')]['find']({'where':_0x410a08})[_0x2e30('0x28')](function(_0x422985){if(_0x422985){throw new db[(_0x2e30('0x4d'))]['ValidationError'](_0x2e30('0x4e'));}return db[_0x2e30('0x2d')][_0x2e30('0x48')](_0x53171f['body']);})['then'](function(_0x46c3aa){var _0x10f6fa=_0x53171f[_0x2e30('0x4f')][_0x2e30('0x26')]({'plain':!![]});if(!_0x10f6fa)throw new Error(_0x2e30('0x50'));if(_0x10f6fa[_0x2e30('0x51')]===_0x2e30('0x4f')){var _0x7f0ad1=_0x46c3aa[_0x2e30('0x26')]({'plain':!![]});return db[_0x2e30('0x52')][_0x2e30('0x43')]({'where':{'name':'CannedAnswers','userProfileId':_0x10f6fa[_0x2e30('0x53')]},'raw':!![]})['then'](function(_0x4c1f6b){if(_0x4c1f6b&&_0x4c1f6b['autoAssociation']===0x0){return db['UserProfileResource']['create']({'name':_0x7f0ad1[_0x2e30('0x2b')],'resourceId':_0x7f0ad1['id'],'type':_0x4c1f6b[_0x2e30('0x2b')],'sectionId':_0x4c1f6b['id']},{})[_0x2e30('0x28')](function(){return _0x46c3aa;});}else{return _0x46c3aa;}})['catch'](function(_0x369c05){logger[_0x2e30('0x29')](_0x2e30('0x54'),_0x369c05);throw _0x369c05;});}return _0x46c3aa;})[_0x2e30('0x28')](respondWithResult(_0x311875,0xc9))[_0x2e30('0x44')](handleError(_0x311875,null));};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.model.js b/server/api/cannedAnswer/cannedAnswer.model.js
index 79897bd..f84a71e 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 _0xe8cd=['tools_canned_answers','utf8mb4','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cannedAnswer.attributes','exports'];(function(_0x380979,_0x55cdd2){var _0x22e825=function(_0x54b8c0){while(--_0x54b8c0){_0x380979['push'](_0x380979['shift']());}};_0x22e825(++_0x55cdd2);}(_0xe8cd,0x106));var _0xde8c=function(_0x1c470d,_0x81d66b){_0x1c470d=_0x1c470d-0x0;var _0x12141b=_0xe8cd[_0x1c470d];return _0x12141b;};'use strict';var _=require('lodash');var util=require(_0xde8c('0x0'));var logger=require(_0xde8c('0x1'))(_0xde8c('0x2'));var moment=require(_0xde8c('0x3'));var BPromise=require(_0xde8c('0x4'));var rp=require(_0xde8c('0x5'));var fs=require('fs');var path=require(_0xde8c('0x6'));var rimraf=require(_0xde8c('0x7'));var config=require(_0xde8c('0x8'));var attributes=require(_0xde8c('0x9'));module[_0xde8c('0xa')]=function(_0x55dc31,_0x1b9e2b){return _0x55dc31['define']('CannedAnswer',attributes,{'tableName':_0xde8c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xde8c('0xc'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
+var _0xc592=['tools_canned_answers','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird','request-promise','path','./cannedAnswer.attributes','exports','define','CannedAnswer'];(function(_0x4a0c7c,_0x4b80e3){var _0x501130=function(_0x1525dc){while(--_0x1525dc){_0x4a0c7c['push'](_0x4a0c7c['shift']());}};_0x501130(++_0x4b80e3);}(_0xc592,0xd5));var _0x2c59=function(_0x115488,_0x393f77){_0x115488=_0x115488-0x0;var _0x1089fc=_0xc592[_0x115488];return _0x1089fc;};'use strict';var _=require(_0x2c59('0x0'));var util=require('util');var logger=require(_0x2c59('0x1'))(_0x2c59('0x2'));var moment=require(_0x2c59('0x3'));var BPromise=require(_0x2c59('0x4'));var rp=require(_0x2c59('0x5'));var fs=require('fs');var path=require(_0x2c59('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x2c59('0x7'));module[_0x2c59('0x8')]=function(_0x5a5ada,_0x4fe3f9){return _0x5a5ada[_0x2c59('0x9')](_0x2c59('0xa'),attributes,{'tableName':_0x2c59('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x2c59('0xc'),'collate':_0x2c59('0xd')});};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.rpc.js b/server/api/cannedAnswer/cannedAnswer.rpc.js
index c44336f..ff4e1a8 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(_0x4fd1b4,_0x43fb36){var _0x21f3bb=function(_0x39e7e2){while(--_0x39e7e2){_0x4fd1b4['push'](_0x4fd1b4['shift']());}};_0x21f3bb(++_0x43fb36);}(_0xa9e0,0x123));var _0x0a9e=function(_0x521929,_0x479be5){_0x521929=_0x521929-0x0;var _0x632436=_0xa9e0[_0x521929];return _0x632436;};'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(_0x496146,_0x4d083a){var _0x919dd=function(_0x4c862e){while(--_0x4c862e){_0x496146['push'](_0x496146['shift']());}};_0x919dd(++_0x4d083a);}(_0xa9e0,0x123));var _0x0a9e=function(_0x18a79d,_0x57bd2c){_0x18a79d=_0x18a79d-0x0;var _0x4f8848=_0xa9e0[_0x18a79d];return _0x4f8848;};'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 1ccb4f0..e88bf3d 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 _0x3334=['../../components/auth/service','../../components/interaction/service','./cannedAnswer.controller','get','isAuthenticated','show','post','create','/:id','update','delete','destroy','exports','util','connect-timeout','Router','fs-extra'];(function(_0x45a0b8,_0x40c46d){var _0x221e45=function(_0x3f5508){while(--_0x3f5508){_0x45a0b8['push'](_0x45a0b8['shift']());}};_0x221e45(++_0x40c46d);}(_0x3334,0x13f));var _0x4333=function(_0x1ea6e5,_0x5638fd){_0x1ea6e5=_0x1ea6e5-0x0;var _0x5347d2=_0x3334[_0x1ea6e5];return _0x5347d2;};'use strict';var multer=require('multer');var util=require(_0x4333('0x0'));var path=require('path');var timeout=require(_0x4333('0x1'));var express=require('express');var router=express[_0x4333('0x2')]();var fs_extra=require(_0x4333('0x3'));var auth=require(_0x4333('0x4'));var interaction=require(_0x4333('0x5'));var config=require('../../config/environment');var controller=require(_0x4333('0x6'));router[_0x4333('0x7')]('/',auth[_0x4333('0x8')](),controller['index']);router[_0x4333('0x7')]('/:id',auth[_0x4333('0x8')](),controller[_0x4333('0x9')]);router[_0x4333('0xa')]('/',auth[_0x4333('0x8')](),controller[_0x4333('0xb')]);router['put'](_0x4333('0xc'),auth['isAuthenticated'](),controller[_0x4333('0xd')]);router[_0x4333('0xe')](_0x4333('0xc'),auth[_0x4333('0x8')](),controller[_0x4333('0xf')]);module[_0x4333('0x10')]=router;
\ No newline at end of file
+var _0x1c2d=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','create','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x3bc565,_0x1c9a3f){var _0x23ced3=function(_0x29dfa0){while(--_0x29dfa0){_0x3bc565['push'](_0x3bc565['shift']());}};_0x23ced3(++_0x1c9a3f);}(_0x1c2d,0x16d));var _0xd1c2=function(_0x3a34f2,_0x16d340){_0x3a34f2=_0x3a34f2-0x0;var _0x42847b=_0x1c2d[_0x3a34f2];return _0x42847b;};'use strict';var multer=require(_0xd1c2('0x0'));var util=require(_0xd1c2('0x1'));var path=require('path');var timeout=require(_0xd1c2('0x2'));var express=require(_0xd1c2('0x3'));var router=express[_0xd1c2('0x4')]();var fs_extra=require(_0xd1c2('0x5'));var auth=require(_0xd1c2('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd1c2('0x7'));var controller=require('./cannedAnswer.controller');router[_0xd1c2('0x8')]('/',auth[_0xd1c2('0x9')](),controller[_0xd1c2('0xa')]);router['get'](_0xd1c2('0xb'),auth[_0xd1c2('0x9')](),controller['show']);router['post']('/',auth[_0xd1c2('0x9')](),controller[_0xd1c2('0xc')]);router['put'](_0xd1c2('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xd1c2('0xd')](_0xd1c2('0xb'),auth[_0xd1c2('0x9')](),controller[_0xd1c2('0xe')]);module[_0xd1c2('0xf')]=router;
\ No newline at end of file
diff --git a/server/api/cdr/cdr.attributes.js b/server/api/cdr/cdr.attributes.js
index dbd5325..0d50273 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 _0xe50e=['sequelize','STRING','INTEGER'];(function(_0x46e011,_0xf3affa){var _0x46fdea=function(_0x1651bb){while(--_0x1651bb){_0x46e011['push'](_0x46e011['shift']());}};_0x46fdea(++_0xf3affa);}(_0xe50e,0xf9));var _0xee50=function(_0x7bf57e,_0x2a5489){_0x7bf57e=_0x7bf57e-0x0;var _0x43b33d=_0xe50e[_0x7bf57e];return _0x43b33d;};'use strict';var Sequelize=require(_0xee50('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0xee50('0x1')]},'src':{'type':Sequelize[_0xee50('0x1')]},'dst':{'type':Sequelize[_0xee50('0x1')]},'dcontext':{'type':Sequelize[_0xee50('0x1')]},'channel':{'type':Sequelize[_0xee50('0x1')]},'dstchannel':{'type':Sequelize[_0xee50('0x1')]},'lastapp':{'type':Sequelize[_0xee50('0x1')]},'lastdata':{'type':Sequelize[_0xee50('0x1')]},'duration':{'type':Sequelize[_0xee50('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xee50('0x2')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xee50('0x1')]},'amaflags':{'type':Sequelize[_0xee50('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xee50('0x1')]},'userfield':{'type':Sequelize[_0xee50('0x1')]},'uniqueid':{'type':Sequelize[_0xee50('0x1')]},'linkedid':{'type':Sequelize[_0xee50('0x1')]},'sequence':{'type':Sequelize[_0xee50('0x1')]},'peeraccount':{'type':Sequelize[_0xee50('0x1')]},'type':{'type':Sequelize[_0xee50('0x1')]},'tag':{'type':Sequelize[_0xee50('0x1')]}};
\ No newline at end of file
+var _0x2621=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x389a45,_0x5a36cf){var _0x42d634=function(_0x4150a9){while(--_0x4150a9){_0x389a45['push'](_0x389a45['shift']());}};_0x42d634(++_0x5a36cf);}(_0x2621,0x1d2));var _0x1262=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2621[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x1262('0x0'));module[_0x1262('0x1')]={'calldate':{'type':Sequelize[_0x1262('0x2')],'allowNull':![],'defaultValue':_0x1262('0x3')},'clid':{'type':Sequelize[_0x1262('0x4')]},'src':{'type':Sequelize[_0x1262('0x4')]},'dst':{'type':Sequelize[_0x1262('0x4')]},'dcontext':{'type':Sequelize[_0x1262('0x4')]},'channel':{'type':Sequelize[_0x1262('0x4')]},'dstchannel':{'type':Sequelize[_0x1262('0x4')]},'lastapp':{'type':Sequelize[_0x1262('0x4')]},'lastdata':{'type':Sequelize[_0x1262('0x4')]},'duration':{'type':Sequelize[_0x1262('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x1262('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x1262('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0x1262('0x4')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize[_0x1262('0x4')]},'sequence':{'type':Sequelize[_0x1262('0x4')]},'peeraccount':{'type':Sequelize[_0x1262('0x4')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x1262('0x4')]}};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.controller.js b/server/api/cdr/cdr.controller.js
index ca98fe9..6c56400 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 _0xd6d2=['../../config/license/util','../../mysqldb','sendStatus','status','end','undefined','count','offset','limit','Content-Range','json','apply','reject','save','update','then','error','stack','name','send','Cdr','fieldName','key','model','keys','query','filters','intersection','attributes','fields','length','sort','where','pick','filter','merge','type','VIRTUAL','options','include','findAll','catch','show','params','rawAttributes','includeAll','find','create','body','destroy','describe','eml-format','rimraf','fast-json-patch','request-promise','bluebird','util','path','sox','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment'];(function(_0x1df090,_0x21b1ff){var _0x23f609=function(_0x522ac1){while(--_0x522ac1){_0x1df090['push'](_0x1df090['shift']());}};_0x23f609(++_0x21b1ff);}(_0xd6d2,0xcb));var _0x2d6d=function(_0x23adad,_0x1b0b3a){_0x23adad=_0x23adad-0x0;var _0x4b63c0=_0xd6d2[_0x23adad];return _0x4b63c0;};'use strict';var emlformat=require(_0x2d6d('0x0'));var rimraf=require(_0x2d6d('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x2d6d('0x2'));var rp=require(_0x2d6d('0x3'));var moment=require('moment');var BPromise=require(_0x2d6d('0x4'));var Mustache=require('mustache');var util=require(_0x2d6d('0x5'));var path=require(_0x2d6d('0x6'));var sox=require(_0x2d6d('0x7'));var csv=require('to-csv');var ejs=require(_0x2d6d('0x8'));var fs=require('fs');var fs_extra=require(_0x2d6d('0x9'));var _=require(_0x2d6d('0xa'));var squel=require(_0x2d6d('0xb'));var crypto=require(_0x2d6d('0xc'));var jsforce=require(_0x2d6d('0xd'));var deskjs=require(_0x2d6d('0xe'));var toCsv=require(_0x2d6d('0xf'));var querystring=require(_0x2d6d('0x10'));var Papa=require(_0x2d6d('0x11'));var Redis=require(_0x2d6d('0x12'));var authService=require('../../components/auth/service');var qs=require(_0x2d6d('0x13'));var as=require(_0x2d6d('0x14'));var hardwareService=require(_0x2d6d('0x15'));var logger=require(_0x2d6d('0x16'))(_0x2d6d('0x17'));var utils=require('../../config/utils');var config=require(_0x2d6d('0x18'));var licenseUtil=require(_0x2d6d('0x19'));var db=require(_0x2d6d('0x1a'))['db'];function respondWithStatusCode(_0x2ad9fc,_0x5c4bf6){_0x5c4bf6=_0x5c4bf6||0xcc;return function(_0x5ef174){if(_0x5ef174){return _0x2ad9fc[_0x2d6d('0x1b')](_0x5c4bf6);}return _0x2ad9fc[_0x2d6d('0x1c')](_0x5c4bf6)[_0x2d6d('0x1d')]();};}function respondWithResult(_0x3528de,_0x58bd29){_0x58bd29=_0x58bd29||0xc8;return function(_0x1ec6aa){if(_0x1ec6aa){return _0x3528de[_0x2d6d('0x1c')](_0x58bd29)['json'](_0x1ec6aa);}};}function respondWithFilteredResult(_0x586085,_0x370096){return function(_0x17340f){if(_0x17340f){var _0x109b49=typeof _0x370096['offset']===_0x2d6d('0x1e')&&typeof _0x370096['limit']==='undefined';var _0x4c3092=_0x17340f[_0x2d6d('0x1f')];var _0x4179f2=_0x109b49?0x0:_0x370096[_0x2d6d('0x20')];var _0x3c527e=_0x109b49?_0x17340f[_0x2d6d('0x1f')]:_0x370096[_0x2d6d('0x20')]+_0x370096[_0x2d6d('0x21')];var _0xa2c4a7;if(_0x3c527e>=_0x4c3092){_0x3c527e=_0x4c3092;_0xa2c4a7=0xc8;}else{_0xa2c4a7=0xce;}_0x586085[_0x2d6d('0x1c')](_0xa2c4a7);return _0x586085['set'](_0x2d6d('0x22'),_0x4179f2+'-'+_0x3c527e+'/'+_0x4c3092)[_0x2d6d('0x23')](_0x17340f);}return null;};}function patchUpdates(_0x5b0c61){return function(_0x227e44){try{jsonpatch[_0x2d6d('0x24')](_0x227e44,_0x5b0c61,!![]);}catch(_0x15cb80){return BPromise[_0x2d6d('0x25')](_0x15cb80);}return _0x227e44[_0x2d6d('0x26')]();};}function saveUpdates(_0x59234a,_0x4aaa62){return function(_0x42c2f2){if(_0x42c2f2){return _0x42c2f2[_0x2d6d('0x27')](_0x59234a)[_0x2d6d('0x28')](function(_0x585b54){return _0x585b54;});}return null;};}function removeEntity(_0x47eb0e,_0x3ae8ad){return function(_0x4e7ec8){if(_0x4e7ec8){return _0x4e7ec8['destroy']()['then'](function(){_0x47eb0e[_0x2d6d('0x1c')](0xcc)[_0x2d6d('0x1d')]();});}};}function handleEntityNotFound(_0x3da83d,_0x3f89dd){return function(_0x3e5a92){if(!_0x3e5a92){_0x3da83d['sendStatus'](0x194);}return _0x3e5a92;};}function handleError(_0x16634d,_0x1b4964){_0x1b4964=_0x1b4964||0x1f4;return function(_0x455e71){logger[_0x2d6d('0x29')](_0x455e71[_0x2d6d('0x2a')]);if(_0x455e71[_0x2d6d('0x2b')]){delete _0x455e71[_0x2d6d('0x2b')];}_0x16634d[_0x2d6d('0x1c')](_0x1b4964)[_0x2d6d('0x2c')](_0x455e71);};}exports['index']=function(_0x1016e1,_0x26d299){var _0x2e7b32={},_0x34d485={},_0x486963={'count':0x0,'rows':[]};var _0x317bde=_['map'](db[_0x2d6d('0x2d')]['rawAttributes'],function(_0x58bfc7){return{'name':_0x58bfc7[_0x2d6d('0x2e')],'type':_0x58bfc7['type'][_0x2d6d('0x2f')]};});_0x34d485[_0x2d6d('0x30')]=_['map'](_0x317bde,_0x2d6d('0x2b'));_0x34d485['query']=_[_0x2d6d('0x31')](_0x1016e1[_0x2d6d('0x32')]);_0x34d485[_0x2d6d('0x33')]=_[_0x2d6d('0x34')](_0x34d485[_0x2d6d('0x30')],_0x34d485[_0x2d6d('0x32')]);_0x2e7b32[_0x2d6d('0x35')]=_[_0x2d6d('0x34')](_0x34d485['model'],qs[_0x2d6d('0x36')](_0x1016e1[_0x2d6d('0x32')]['fields']));_0x2e7b32[_0x2d6d('0x35')]=_0x2e7b32[_0x2d6d('0x35')][_0x2d6d('0x37')]?_0x2e7b32[_0x2d6d('0x35')]:_0x34d485[_0x2d6d('0x30')];if(!_0x1016e1['query']['hasOwnProperty']('nolimit')){_0x2e7b32[_0x2d6d('0x21')]=qs[_0x2d6d('0x21')](_0x1016e1[_0x2d6d('0x32')]['limit']);_0x2e7b32[_0x2d6d('0x20')]=qs[_0x2d6d('0x20')](_0x1016e1[_0x2d6d('0x32')][_0x2d6d('0x20')]);}_0x2e7b32['order']=qs[_0x2d6d('0x38')](_0x1016e1[_0x2d6d('0x32')][_0x2d6d('0x38')]);_0x2e7b32[_0x2d6d('0x39')]=qs[_0x2d6d('0x33')](_[_0x2d6d('0x3a')](_0x1016e1[_0x2d6d('0x32')],_0x34d485['filters']),_0x317bde);if(_0x1016e1[_0x2d6d('0x32')][_0x2d6d('0x3b')]){_0x2e7b32[_0x2d6d('0x39')]=_[_0x2d6d('0x3c')](_0x2e7b32[_0x2d6d('0x39')],{'$or':_['map'](_0x317bde,function(_0x1cad57){if(_0x1cad57[_0x2d6d('0x3d')]!==_0x2d6d('0x3e')){var _0x4616df={};_0x4616df[_0x1cad57[_0x2d6d('0x2b')]]={'$like':'%'+_0x1016e1[_0x2d6d('0x32')][_0x2d6d('0x3b')]+'%'};return _0x4616df;}})});}_0x2e7b32=_[_0x2d6d('0x3c')]({},_0x2e7b32,_0x1016e1[_0x2d6d('0x3f')]);var _0x38cce8={'where':_0x2e7b32[_0x2d6d('0x39')]};return db[_0x2d6d('0x2d')][_0x2d6d('0x1f')](_0x38cce8)[_0x2d6d('0x28')](function(_0x34fc23){_0x486963[_0x2d6d('0x1f')]=_0x34fc23;if(_0x1016e1[_0x2d6d('0x32')]['includeAll']){_0x2e7b32[_0x2d6d('0x40')]=[{'all':!![]}];}return db[_0x2d6d('0x2d')][_0x2d6d('0x41')](_0x2e7b32);})[_0x2d6d('0x28')](function(_0x246d6e){_0x486963['rows']=_0x246d6e;return _0x486963;})[_0x2d6d('0x28')](respondWithFilteredResult(_0x26d299,_0x2e7b32))[_0x2d6d('0x42')](handleError(_0x26d299,null));};exports[_0x2d6d('0x43')]=function(_0x41ab2e,_0x543b4b){var _0x3b62b1={'raw':!![],'where':{'id':_0x41ab2e[_0x2d6d('0x44')]['id']}},_0x7f76ad={};_0x7f76ad[_0x2d6d('0x30')]=_[_0x2d6d('0x31')](db['Cdr'][_0x2d6d('0x45')]);_0x7f76ad[_0x2d6d('0x32')]=_['keys'](_0x41ab2e[_0x2d6d('0x32')]);_0x7f76ad[_0x2d6d('0x33')]=_[_0x2d6d('0x34')](_0x7f76ad['model'],_0x7f76ad[_0x2d6d('0x32')]);_0x3b62b1[_0x2d6d('0x35')]=_['intersection'](_0x7f76ad['model'],qs['fields'](_0x41ab2e[_0x2d6d('0x32')][_0x2d6d('0x36')]));_0x3b62b1['attributes']=_0x3b62b1[_0x2d6d('0x35')][_0x2d6d('0x37')]?_0x3b62b1[_0x2d6d('0x35')]:_0x7f76ad[_0x2d6d('0x30')];if(_0x41ab2e['query'][_0x2d6d('0x46')]){_0x3b62b1[_0x2d6d('0x40')]=[{'all':!![]}];}_0x3b62b1=_['merge']({},_0x3b62b1,_0x41ab2e[_0x2d6d('0x3f')]);return db[_0x2d6d('0x2d')][_0x2d6d('0x47')](_0x3b62b1)[_0x2d6d('0x28')](handleEntityNotFound(_0x543b4b,null))[_0x2d6d('0x28')](respondWithResult(_0x543b4b,null))[_0x2d6d('0x42')](handleError(_0x543b4b,null));};exports[_0x2d6d('0x48')]=function(_0x5ac5e9,_0xe6b038){return db[_0x2d6d('0x2d')][_0x2d6d('0x48')](_0x5ac5e9['body'],{})['then'](respondWithResult(_0xe6b038,0xc9))[_0x2d6d('0x42')](handleError(_0xe6b038,null));};exports[_0x2d6d('0x27')]=function(_0x422198,_0x4e5203){if(_0x422198[_0x2d6d('0x49')]['id']){delete _0x422198[_0x2d6d('0x49')]['id'];}return db['Cdr'][_0x2d6d('0x47')]({'where':{'id':_0x422198[_0x2d6d('0x44')]['id']}})[_0x2d6d('0x28')](handleEntityNotFound(_0x4e5203,null))[_0x2d6d('0x28')](saveUpdates(_0x422198[_0x2d6d('0x49')],null))[_0x2d6d('0x28')](respondWithResult(_0x4e5203,null))[_0x2d6d('0x42')](handleError(_0x4e5203,null));};exports[_0x2d6d('0x4a')]=function(_0x42c125,_0x1ca9a2){return db['Cdr'][_0x2d6d('0x47')]({'where':{'id':_0x42c125[_0x2d6d('0x44')]['id']}})[_0x2d6d('0x28')](handleEntityNotFound(_0x1ca9a2,null))['then'](removeEntity(_0x1ca9a2,null))[_0x2d6d('0x42')](handleError(_0x1ca9a2,null));};exports[_0x2d6d('0x4b')]=function(_0x3738b3,_0x2dbcdc){return db[_0x2d6d('0x2d')][_0x2d6d('0x4b')]()[_0x2d6d('0x28')](respondWithResult(_0x2dbcdc,null))['catch'](handleError(_0x2dbcdc,null));};
\ No newline at end of file
+var _0xd6d6=['key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','options','includeAll','include','findAll','rows','show','params','keys','find','catch','create','body','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','fs-extra','lodash','squel','crypto','jsforce','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','undefined','limit','offset','count','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send','map','Cdr','rawAttributes','fieldName','type'];(function(_0x4fdbce,_0x2370b9){var _0x234cf7=function(_0x25365c){while(--_0x25365c){_0x4fdbce['push'](_0x4fdbce['shift']());}};_0x234cf7(++_0x2370b9);}(_0xd6d6,0xbe));var _0x6d6d=function(_0x3a8b05,_0x29d686){_0x3a8b05=_0x3a8b05-0x0;var _0x5568fb=_0xd6d6[_0x3a8b05];return _0x5568fb;};'use strict';var emlformat=require(_0x6d6d('0x0'));var rimraf=require(_0x6d6d('0x1'));var zipdir=require(_0x6d6d('0x2'));var jsonpatch=require(_0x6d6d('0x3'));var rp=require('request-promise');var moment=require(_0x6d6d('0x4'));var BPromise=require(_0x6d6d('0x5'));var Mustache=require(_0x6d6d('0x6'));var util=require(_0x6d6d('0x7'));var path=require(_0x6d6d('0x8'));var sox=require(_0x6d6d('0x9'));var csv=require(_0x6d6d('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x6d6d('0xb'));var _=require(_0x6d6d('0xc'));var squel=require(_0x6d6d('0xd'));var crypto=require(_0x6d6d('0xe'));var jsforce=require(_0x6d6d('0xf'));var deskjs=require(_0x6d6d('0x10'));var toCsv=require(_0x6d6d('0xa'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x6d6d('0x11'));var authService=require(_0x6d6d('0x12'));var qs=require(_0x6d6d('0x13'));var as=require(_0x6d6d('0x14'));var hardwareService=require(_0x6d6d('0x15'));var logger=require('../../config/logger')(_0x6d6d('0x16'));var utils=require(_0x6d6d('0x17'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0x6d6d('0x18'))['db'];function respondWithStatusCode(_0x32146d,_0xe61c36){_0xe61c36=_0xe61c36||0xcc;return function(_0x3f8542){if(_0x3f8542){return _0x32146d[_0x6d6d('0x19')](_0xe61c36);}return _0x32146d[_0x6d6d('0x1a')](_0xe61c36)[_0x6d6d('0x1b')]();};}function respondWithResult(_0x2cb2dd,_0x5f4154){_0x5f4154=_0x5f4154||0xc8;return function(_0xd09ea7){if(_0xd09ea7){return _0x2cb2dd[_0x6d6d('0x1a')](_0x5f4154)[_0x6d6d('0x1c')](_0xd09ea7);}};}function respondWithFilteredResult(_0xa3b05d,_0x29cbd8){return function(_0x5d80c0){if(_0x5d80c0){var _0x2e6fdb=typeof _0x29cbd8['offset']===_0x6d6d('0x1d')&&typeof _0x29cbd8[_0x6d6d('0x1e')]===_0x6d6d('0x1d');var _0x4bb3d1=_0x5d80c0['count'];var _0x9e1e18=_0x2e6fdb?0x0:_0x29cbd8[_0x6d6d('0x1f')];var _0x2b59d4=_0x2e6fdb?_0x5d80c0[_0x6d6d('0x20')]:_0x29cbd8['offset']+_0x29cbd8['limit'];var _0x474873;if(_0x2b59d4>=_0x4bb3d1){_0x2b59d4=_0x4bb3d1;_0x474873=0xc8;}else{_0x474873=0xce;}_0xa3b05d['status'](_0x474873);return _0xa3b05d[_0x6d6d('0x21')](_0x6d6d('0x22'),_0x9e1e18+'-'+_0x2b59d4+'/'+_0x4bb3d1)[_0x6d6d('0x1c')](_0x5d80c0);}return null;};}function patchUpdates(_0x450352){return function(_0x40d35b){try{jsonpatch[_0x6d6d('0x23')](_0x40d35b,_0x450352,!![]);}catch(_0x164c67){return BPromise[_0x6d6d('0x24')](_0x164c67);}return _0x40d35b[_0x6d6d('0x25')]();};}function saveUpdates(_0x6f64e3,_0x24b10d){return function(_0x6e58e3){if(_0x6e58e3){return _0x6e58e3[_0x6d6d('0x26')](_0x6f64e3)[_0x6d6d('0x27')](function(_0x1f7f88){return _0x1f7f88;});}return null;};}function removeEntity(_0x25a02e,_0xced622){return function(_0x583b10){if(_0x583b10){return _0x583b10[_0x6d6d('0x28')]()[_0x6d6d('0x27')](function(){_0x25a02e[_0x6d6d('0x1a')](0xcc)[_0x6d6d('0x1b')]();});}};}function handleEntityNotFound(_0xf0df7f,_0x12fab2){return function(_0x554f8e){if(!_0x554f8e){_0xf0df7f[_0x6d6d('0x19')](0x194);}return _0x554f8e;};}function handleError(_0x2b5e31,_0x235451){_0x235451=_0x235451||0x1f4;return function(_0x126ac8){logger[_0x6d6d('0x29')](_0x126ac8[_0x6d6d('0x2a')]);if(_0x126ac8[_0x6d6d('0x2b')]){delete _0x126ac8['name'];}_0x2b5e31[_0x6d6d('0x1a')](_0x235451)[_0x6d6d('0x2c')](_0x126ac8);};}exports['index']=function(_0x553645,_0x3edcce){var _0x5273cd={},_0x8a9a84={},_0x57341f={'count':0x0,'rows':[]};var _0xde3272=_[_0x6d6d('0x2d')](db[_0x6d6d('0x2e')][_0x6d6d('0x2f')],function(_0x64d1f7){return{'name':_0x64d1f7[_0x6d6d('0x30')],'type':_0x64d1f7[_0x6d6d('0x31')][_0x6d6d('0x32')]};});_0x8a9a84[_0x6d6d('0x33')]=_[_0x6d6d('0x2d')](_0xde3272,'name');_0x8a9a84[_0x6d6d('0x34')]=_['keys'](_0x553645[_0x6d6d('0x34')]);_0x8a9a84[_0x6d6d('0x35')]=_[_0x6d6d('0x36')](_0x8a9a84[_0x6d6d('0x33')],_0x8a9a84['query']);_0x5273cd[_0x6d6d('0x37')]=_['intersection'](_0x8a9a84[_0x6d6d('0x33')],qs[_0x6d6d('0x38')](_0x553645['query'][_0x6d6d('0x38')]));_0x5273cd[_0x6d6d('0x37')]=_0x5273cd[_0x6d6d('0x37')][_0x6d6d('0x39')]?_0x5273cd[_0x6d6d('0x37')]:_0x8a9a84[_0x6d6d('0x33')];if(!_0x553645[_0x6d6d('0x34')][_0x6d6d('0x3a')](_0x6d6d('0x3b'))){_0x5273cd[_0x6d6d('0x1e')]=qs[_0x6d6d('0x1e')](_0x553645[_0x6d6d('0x34')][_0x6d6d('0x1e')]);_0x5273cd[_0x6d6d('0x1f')]=qs['offset'](_0x553645[_0x6d6d('0x34')][_0x6d6d('0x1f')]);}_0x5273cd[_0x6d6d('0x3c')]=qs[_0x6d6d('0x3d')](_0x553645['query']['sort']);_0x5273cd[_0x6d6d('0x3e')]=qs[_0x6d6d('0x35')](_[_0x6d6d('0x3f')](_0x553645['query'],_0x8a9a84[_0x6d6d('0x35')]),_0xde3272);if(_0x553645[_0x6d6d('0x34')][_0x6d6d('0x40')]){_0x5273cd[_0x6d6d('0x3e')]=_['merge'](_0x5273cd['where'],{'$or':_['map'](_0xde3272,function(_0x62620d){if(_0x62620d[_0x6d6d('0x31')]!==_0x6d6d('0x41')){var _0x22a49a={};_0x22a49a[_0x62620d['name']]={'$like':'%'+_0x553645[_0x6d6d('0x34')][_0x6d6d('0x40')]+'%'};return _0x22a49a;}})});}_0x5273cd=_[_0x6d6d('0x42')]({},_0x5273cd,_0x553645[_0x6d6d('0x43')]);var _0x3d632c={'where':_0x5273cd[_0x6d6d('0x3e')]};return db['Cdr'][_0x6d6d('0x20')](_0x3d632c)[_0x6d6d('0x27')](function(_0x42aff0){_0x57341f[_0x6d6d('0x20')]=_0x42aff0;if(_0x553645[_0x6d6d('0x34')][_0x6d6d('0x44')]){_0x5273cd[_0x6d6d('0x45')]=[{'all':!![]}];}return db['Cdr'][_0x6d6d('0x46')](_0x5273cd);})[_0x6d6d('0x27')](function(_0x16e177){_0x57341f[_0x6d6d('0x47')]=_0x16e177;return _0x57341f;})[_0x6d6d('0x27')](respondWithFilteredResult(_0x3edcce,_0x5273cd))['catch'](handleError(_0x3edcce,null));};exports[_0x6d6d('0x48')]=function(_0x39f2a9,_0x55dba8){var _0x452de2={'raw':!![],'where':{'id':_0x39f2a9[_0x6d6d('0x49')]['id']}},_0x50dc17={};_0x50dc17[_0x6d6d('0x33')]=_['keys'](db[_0x6d6d('0x2e')][_0x6d6d('0x2f')]);_0x50dc17[_0x6d6d('0x34')]=_[_0x6d6d('0x4a')](_0x39f2a9[_0x6d6d('0x34')]);_0x50dc17['filters']=_['intersection'](_0x50dc17[_0x6d6d('0x33')],_0x50dc17['query']);_0x452de2['attributes']=_[_0x6d6d('0x36')](_0x50dc17[_0x6d6d('0x33')],qs[_0x6d6d('0x38')](_0x39f2a9['query'][_0x6d6d('0x38')]));_0x452de2['attributes']=_0x452de2[_0x6d6d('0x37')][_0x6d6d('0x39')]?_0x452de2[_0x6d6d('0x37')]:_0x50dc17[_0x6d6d('0x33')];if(_0x39f2a9[_0x6d6d('0x34')][_0x6d6d('0x44')]){_0x452de2[_0x6d6d('0x45')]=[{'all':!![]}];}_0x452de2=_['merge']({},_0x452de2,_0x39f2a9[_0x6d6d('0x43')]);return db[_0x6d6d('0x2e')][_0x6d6d('0x4b')](_0x452de2)[_0x6d6d('0x27')](handleEntityNotFound(_0x55dba8,null))[_0x6d6d('0x27')](respondWithResult(_0x55dba8,null))[_0x6d6d('0x4c')](handleError(_0x55dba8,null));};exports[_0x6d6d('0x4d')]=function(_0x1d2b20,_0x24cec2){return db['Cdr']['create'](_0x1d2b20[_0x6d6d('0x4e')],{})[_0x6d6d('0x27')](respondWithResult(_0x24cec2,0xc9))[_0x6d6d('0x4c')](handleError(_0x24cec2,null));};exports[_0x6d6d('0x26')]=function(_0xe2a20e,_0x492834){if(_0xe2a20e[_0x6d6d('0x4e')]['id']){delete _0xe2a20e[_0x6d6d('0x4e')]['id'];}return db[_0x6d6d('0x2e')][_0x6d6d('0x4b')]({'where':{'id':_0xe2a20e[_0x6d6d('0x49')]['id']}})[_0x6d6d('0x27')](handleEntityNotFound(_0x492834,null))[_0x6d6d('0x27')](saveUpdates(_0xe2a20e[_0x6d6d('0x4e')],null))[_0x6d6d('0x27')](respondWithResult(_0x492834,null))[_0x6d6d('0x4c')](handleError(_0x492834,null));};exports[_0x6d6d('0x28')]=function(_0x175e26,_0x4d9811){return db[_0x6d6d('0x2e')][_0x6d6d('0x4b')]({'where':{'id':_0x175e26[_0x6d6d('0x49')]['id']}})[_0x6d6d('0x27')](handleEntityNotFound(_0x4d9811,null))[_0x6d6d('0x27')](removeEntity(_0x4d9811,null))['catch'](handleError(_0x4d9811,null));};exports[_0x6d6d('0x4f')]=function(_0x36bc5a,_0x45340b){return db['Cdr']['describe']()[_0x6d6d('0x27')](respondWithResult(_0x45340b,null))['catch'](handleError(_0x45340b,null));};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.model.js b/server/api/cdr/cdr.model.js
index 0bc9a0e..79b0b64 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(_0x328c01,_0x50cd1c){var _0x596b6d=function(_0x5872e1){while(--_0x5872e1){_0x328c01['push'](_0x328c01['shift']());}};_0x596b6d(++_0x50cd1c);}(_0x7a54,0x106));var _0x47a5=function(_0x56b28b,_0x1cb873){_0x56b28b=_0x56b28b-0x0;var _0x3c4879=_0x7a54[_0x56b28b];return _0x3c4879;};'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 _0x9957=['dst','src','uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./cdr.attributes','exports','define','Cdr','accountcode','calldate','disposition'];(function(_0x2a9d4d,_0x37e68c){var _0xe32c68=function(_0x39bf87){while(--_0x39bf87){_0x2a9d4d['push'](_0x2a9d4d['shift']());}};_0xe32c68(++_0x37e68c);}(_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':'cdr','paranoid':![],'indexes':[{'name':_0x7995('0xc'),'fields':[_0x7995('0xc')]},{'name':'calldate','fields':[_0x7995('0xd')]},{'name':_0x7995('0xe'),'fields':[_0x7995('0xe')]},{'name':_0x7995('0xf'),'fields':[_0x7995('0xf')]},{'name':_0x7995('0x10'),'fields':[_0x7995('0x10')]},{'name':'uniqueid','fields':[_0x7995('0x11')]}],'timestamps':![]});};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.rpc.js b/server/api/cdr/cdr.rpc.js
index d6f1852..af935f9 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 _0xf496=['jayson/promise','client','request','then','info','Cdr,\x20%s,\x20%s','request\x20sent','debug','Cdr,\x20%s,\x20%s,\x20%s','stringify','error','message','result','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0xf496,0x1db));var _0x6f49=function(_0x354985,_0x295746){_0x354985=_0x354985-0x0;var _0x30152f=_0xf496[_0x354985];return _0x30152f;};'use strict';var _=require(_0x6f49('0x0'));var util=require('util');var moment=require(_0x6f49('0x1'));var BPromise=require('bluebird');var rs=require(_0x6f49('0x2'));var fs=require('fs');var Redis=require(_0x6f49('0x3'));var db=require(_0x6f49('0x4'))['db'];var utils=require(_0x6f49('0x5'));var logger=require(_0x6f49('0x6'))(_0x6f49('0x7'));var config=require(_0x6f49('0x8'));var jayson=require(_0x6f49('0x9'));var client=jayson[_0x6f49('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4ada92,_0x5e6b08,_0x5c1916){return new BPromise(function(_0x39a5a3,_0x4bc2b9){return client[_0x6f49('0xb')](_0x4ada92,_0x5c1916)[_0x6f49('0xc')](function(_0x13180c){logger[_0x6f49('0xd')](_0x6f49('0xe'),_0x5e6b08,_0x6f49('0xf'));logger[_0x6f49('0x10')](_0x6f49('0x11'),_0x5e6b08,'request\x20sent',JSON[_0x6f49('0x12')](_0x13180c));if(_0x13180c[_0x6f49('0x13')]){if(_0x13180c[_0x6f49('0x13')]['code']===0x1f4){logger[_0x6f49('0x13')](_0x6f49('0xe'),_0x5e6b08,_0x13180c['error'][_0x6f49('0x14')]);return _0x4bc2b9(_0x13180c['error'][_0x6f49('0x14')]);}logger['error'](_0x6f49('0xe'),_0x5e6b08,_0x13180c['error'][_0x6f49('0x14')]);return _0x39a5a3(_0x13180c['error'][_0x6f49('0x14')]);}else{logger[_0x6f49('0xd')]('Cdr,\x20%s,\x20%s',_0x5e6b08,'request\x20sent');_0x39a5a3(_0x13180c[_0x6f49('0x15')]['message']);}})['catch'](function(_0x529caa){logger[_0x6f49('0x13')](_0x6f49('0xe'),_0x5e6b08,_0x529caa);_0x4bc2b9(_0x529caa);});});}
\ No newline at end of file
+var _0x70cf=['http','request','then','info','request\x20sent','debug','stringify','error','code','message','Cdr,\x20%s,\x20%s','result','catch','lodash','moment','bluebird','ioredis','../../config/utils','rpc','jayson/promise','client'];(function(_0x8ac6fb,_0x34a863){var _0x5a76aa=function(_0xce8b64){while(--_0xce8b64){_0x8ac6fb['push'](_0x8ac6fb['shift']());}};_0x5a76aa(++_0x34a863);}(_0x70cf,0x133));var _0xf70c=function(_0x2b91c5,_0x3b6db5){_0x2b91c5=_0x2b91c5-0x0;var _0xbd5531=_0x70cf[_0x2b91c5];return _0xbd5531;};'use strict';var _=require(_0xf70c('0x0'));var util=require('util');var moment=require(_0xf70c('0x1'));var BPromise=require(_0xf70c('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xf70c('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xf70c('0x4'));var logger=require('../../config/logger')(_0xf70c('0x5'));var config=require('../../config/environment');var jayson=require(_0xf70c('0x6'));var client=jayson[_0xf70c('0x7')][_0xf70c('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x3eb42d,_0x779a26,_0x256924){return new BPromise(function(_0x14cc92,_0xc65c31){return client[_0xf70c('0x9')](_0x3eb42d,_0x256924)[_0xf70c('0xa')](function(_0x46f04a){logger[_0xf70c('0xb')]('Cdr,\x20%s,\x20%s',_0x779a26,_0xf70c('0xc'));logger[_0xf70c('0xd')]('Cdr,\x20%s,\x20%s,\x20%s',_0x779a26,_0xf70c('0xc'),JSON[_0xf70c('0xe')](_0x46f04a));if(_0x46f04a['error']){if(_0x46f04a[_0xf70c('0xf')][_0xf70c('0x10')]===0x1f4){logger[_0xf70c('0xf')]('Cdr,\x20%s,\x20%s',_0x779a26,_0x46f04a['error'][_0xf70c('0x11')]);return _0xc65c31(_0x46f04a[_0xf70c('0xf')][_0xf70c('0x11')]);}logger[_0xf70c('0xf')](_0xf70c('0x12'),_0x779a26,_0x46f04a[_0xf70c('0xf')][_0xf70c('0x11')]);return _0x14cc92(_0x46f04a[_0xf70c('0xf')]['message']);}else{logger[_0xf70c('0xb')](_0xf70c('0x12'),_0x779a26,_0xf70c('0xc'));_0x14cc92(_0x46f04a[_0xf70c('0x13')][_0xf70c('0x11')]);}})[_0xf70c('0x14')](function(_0x350c48){logger[_0xf70c('0xf')]('Cdr,\x20%s,\x20%s',_0x779a26,_0x350c48);_0xc65c31(_0x350c48);});});}
\ No newline at end of file
diff --git a/server/api/cdr/index.js b/server/api/cdr/index.js
index f48a140..deaf70f 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 _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(_0x3e4d9a,_0x449a9f){var _0x4124d3=function(_0x3dd192){while(--_0x3dd192){_0x3e4d9a['push'](_0x3e4d9a['shift']());}};_0x4124d3(++_0x449a9f);}(_0xd8b0,0xad));var _0x0d8b=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xd8b0[_0x122ef9];return _0x42fba0;};'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
+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(_0x3d6ac0,_0x1c52e2){var _0x359130=function(_0x49e579){while(--_0x49e579){_0x3d6ac0['push'](_0x3d6ac0['shift']());}};_0x359130(++_0x1c52e2);}(_0xd8b0,0xad));var _0x0d8b=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xd8b0[_0xa464c9];return _0x3d73c4;};'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 693be85..14059ca 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 _0x8893=['STRING','INTEGER'];(function(_0x2b6f33,_0x3a2516){var _0x3776ac=function(_0x227067){while(--_0x227067){_0x2b6f33['push'](_0x2b6f33['shift']());}};_0x3776ac(++_0x3a2516);}(_0x8893,0xc5));var _0x3889=function(_0x48f202,_0x37f19f){_0x48f202=_0x48f202-0x0;var _0x2f6ca4=_0x8893[_0x48f202];return _0x2f6ca4;};'use strict';var Sequelize=require('sequelize');module['exports']={'priority':{'type':Sequelize[_0x3889('0x0')],'allowNull':![]},'app':{'type':Sequelize[_0x3889('0x1')],'allowNull':![],'defaultValue':'noop'},'appdata':{'type':Sequelize['TEXT']()},'description':{'type':Sequelize[_0x3889('0x1')]},'interval':{'type':Sequelize[_0x3889('0x1')],'defaultValue':'*,*,*,*'}};
\ No newline at end of file
+var _0xcb77=['TEXT','*,*,*,*','exports','STRING'];(function(_0x20b216,_0x2f6bc4){var _0x4a7f19=function(_0x14212b){while(--_0x14212b){_0x20b216['push'](_0x20b216['shift']());}};_0x4a7f19(++_0x2f6bc4);}(_0xcb77,0x12e));var _0x7cb7=function(_0x867b0a,_0x587ccf){_0x867b0a=_0x867b0a-0x0;var _0x137438=_0xcb77[_0x867b0a];return _0x137438;};'use strict';var Sequelize=require('sequelize');module[_0x7cb7('0x0')]={'priority':{'type':Sequelize['INTEGER'],'allowNull':![]},'app':{'type':Sequelize[_0x7cb7('0x1')],'allowNull':![],'defaultValue':'noop'},'appdata':{'type':Sequelize[_0x7cb7('0x2')]()},'description':{'type':Sequelize[_0x7cb7('0x1')]},'interval':{'type':Sequelize['STRING'],'defaultValue':_0x7cb7('0x3')}};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.controller.js b/server/api/chatApplication/chatApplication.controller.js
index fcf8e9a..79bd994 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 _0xa4db=['update','then','end','error','name','show','params','model','ChatApplication','rawAttributes','keys','query','filters','intersection','fields','attributes','includeAll','include','merge','options','find','catch','body','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','offset','count','Content-Range','json','apply','reject','save'];(function(_0xc29bb9,_0x1c17ed){var _0x1e9910=function(_0x2ab1f7){while(--_0x2ab1f7){_0xc29bb9['push'](_0xc29bb9['shift']());}};_0x1e9910(++_0x1c17ed);}(_0xa4db,0x139));var _0xba4d=function(_0x40ab30,_0x4011f2){_0x40ab30=_0x40ab30-0x0;var _0xae7b4c=_0xa4db[_0x40ab30];return _0xae7b4c;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xba4d('0x0'));var rp=require(_0xba4d('0x1'));var moment=require(_0xba4d('0x2'));var BPromise=require(_0xba4d('0x3'));var Mustache=require(_0xba4d('0x4'));var util=require(_0xba4d('0x5'));var path=require('path');var sox=require(_0xba4d('0x6'));var csv=require('to-csv');var ejs=require(_0xba4d('0x7'));var fs=require('fs');var fs_extra=require(_0xba4d('0x8'));var _=require(_0xba4d('0x9'));var squel=require(_0xba4d('0xa'));var crypto=require(_0xba4d('0xb'));var jsforce=require(_0xba4d('0xc'));var deskjs=require(_0xba4d('0xd'));var toCsv=require(_0xba4d('0xe'));var querystring=require(_0xba4d('0xf'));var Papa=require('papaparse');var Redis=require(_0xba4d('0x10'));var authService=require(_0xba4d('0x11'));var qs=require(_0xba4d('0x12'));var as=require(_0xba4d('0x13'));var hardwareService=require(_0xba4d('0x14'));var logger=require(_0xba4d('0x15'))(_0xba4d('0x16'));var utils=require(_0xba4d('0x17'));var config=require(_0xba4d('0x18'));var licenseUtil=require(_0xba4d('0x19'));var db=require(_0xba4d('0x1a'))['db'];function respondWithStatusCode(_0x3256ef,_0x5a8ab5){_0x5a8ab5=_0x5a8ab5||0xcc;return function(_0x5a84f0){if(_0x5a84f0){return _0x3256ef['sendStatus'](_0x5a8ab5);}return _0x3256ef[_0xba4d('0x1b')](_0x5a8ab5)['end']();};}function respondWithResult(_0x4ae237,_0x393713){_0x393713=_0x393713||0xc8;return function(_0x42150e){if(_0x42150e){return _0x4ae237[_0xba4d('0x1b')](_0x393713)['json'](_0x42150e);}};}function respondWithFilteredResult(_0x5e6a43,_0x4cc2e5){return function(_0x3b256a){if(_0x3b256a){var _0x2981bd=typeof _0x4cc2e5[_0xba4d('0x1c')]==='undefined'&&typeof _0x4cc2e5['limit']==='undefined';var _0x5633bf=_0x3b256a['count'];var _0x5e533a=_0x2981bd?0x0:_0x4cc2e5[_0xba4d('0x1c')];var _0x4c9f27=_0x2981bd?_0x3b256a[_0xba4d('0x1d')]:_0x4cc2e5['offset']+_0x4cc2e5['limit'];var _0x4e46e2;if(_0x4c9f27>=_0x5633bf){_0x4c9f27=_0x5633bf;_0x4e46e2=0xc8;}else{_0x4e46e2=0xce;}_0x5e6a43['status'](_0x4e46e2);return _0x5e6a43['set'](_0xba4d('0x1e'),_0x5e533a+'-'+_0x4c9f27+'/'+_0x5633bf)[_0xba4d('0x1f')](_0x3b256a);}return null;};}function patchUpdates(_0x4ea891){return function(_0x480594){try{jsonpatch[_0xba4d('0x20')](_0x480594,_0x4ea891,!![]);}catch(_0x4bdd02){return BPromise[_0xba4d('0x21')](_0x4bdd02);}return _0x480594[_0xba4d('0x22')]();};}function saveUpdates(_0x7f641e,_0x46f7ff){return function(_0x3c1408){if(_0x3c1408){return _0x3c1408[_0xba4d('0x23')](_0x7f641e)[_0xba4d('0x24')](function(_0x19971d){return _0x19971d;});}return null;};}function removeEntity(_0x38184d,_0x13fdf3){return function(_0x2fac41){if(_0x2fac41){return _0x2fac41['destroy']()[_0xba4d('0x24')](function(){_0x38184d[_0xba4d('0x1b')](0xcc)[_0xba4d('0x25')]();});}};}function handleEntityNotFound(_0x34c3e9,_0x366f5c){return function(_0x49e2f6){if(!_0x49e2f6){_0x34c3e9['sendStatus'](0x194);}return _0x49e2f6;};}function handleError(_0x4c4324,_0xa39501){_0xa39501=_0xa39501||0x1f4;return function(_0x2a7bc3){logger[_0xba4d('0x26')](_0x2a7bc3['stack']);if(_0x2a7bc3[_0xba4d('0x27')]){delete _0x2a7bc3[_0xba4d('0x27')];}_0x4c4324['status'](_0xa39501)['send'](_0x2a7bc3);};}exports[_0xba4d('0x28')]=function(_0x1d1c51,_0x52d3f1){var _0x22a0d6={'raw':!![],'where':{'id':_0x1d1c51[_0xba4d('0x29')]['id']}},_0x4424d0={};_0x4424d0[_0xba4d('0x2a')]=_['keys'](db[_0xba4d('0x2b')][_0xba4d('0x2c')]);_0x4424d0['query']=_[_0xba4d('0x2d')](_0x1d1c51[_0xba4d('0x2e')]);_0x4424d0[_0xba4d('0x2f')]=_[_0xba4d('0x30')](_0x4424d0[_0xba4d('0x2a')],_0x4424d0['query']);_0x22a0d6['attributes']=_[_0xba4d('0x30')](_0x4424d0[_0xba4d('0x2a')],qs[_0xba4d('0x31')](_0x1d1c51['query'][_0xba4d('0x31')]));_0x22a0d6[_0xba4d('0x32')]=_0x22a0d6[_0xba4d('0x32')]['length']?_0x22a0d6['attributes']:_0x4424d0[_0xba4d('0x2a')];if(_0x1d1c51[_0xba4d('0x2e')][_0xba4d('0x33')]){_0x22a0d6[_0xba4d('0x34')]=[{'all':!![]}];}_0x22a0d6=_[_0xba4d('0x35')]({},_0x22a0d6,_0x1d1c51[_0xba4d('0x36')]);return db[_0xba4d('0x2b')][_0xba4d('0x37')](_0x22a0d6)[_0xba4d('0x24')](handleEntityNotFound(_0x52d3f1,null))[_0xba4d('0x24')](respondWithResult(_0x52d3f1,null))[_0xba4d('0x38')](handleError(_0x52d3f1,null));};exports['update']=function(_0x4fbb27,_0x39d26b){if(_0x4fbb27[_0xba4d('0x39')]['id']){delete _0x4fbb27[_0xba4d('0x39')]['id'];}return db[_0xba4d('0x2b')][_0xba4d('0x37')]({'where':{'id':_0x4fbb27['params']['id']}})['then'](handleEntityNotFound(_0x39d26b,null))[_0xba4d('0x24')](saveUpdates(_0x4fbb27[_0xba4d('0x39')],null))['then'](respondWithResult(_0x39d26b,null))['catch'](handleError(_0x39d26b,null));};exports['destroy']=function(_0x1be3a9,_0x36e82f){return db[_0xba4d('0x2b')][_0xba4d('0x37')]({'where':{'id':_0x1be3a9[_0xba4d('0x29')]['id']}})['then'](handleEntityNotFound(_0x36e82f,null))[_0xba4d('0x24')](removeEntity(_0x36e82f,null))[_0xba4d('0x38')](handleError(_0x36e82f,null));};
\ No newline at end of file
+var _0x7217=['util','path','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','status','end','json','offset','limit','count','set','Content-Range','reject','save','update','then','error','stack','name','send','show','params','keys','ChatApplication','rawAttributes','query','filters','intersection','attributes','model','fields','include','merge','options','find','body','catch','zip-dir','request-promise','moment','bluebird','mustache'];(function(_0x31082a,_0x2d9653){var _0x1ed4dd=function(_0x3ea8c){while(--_0x3ea8c){_0x31082a['push'](_0x31082a['shift']());}};_0x1ed4dd(++_0x2d9653);}(_0x7217,0xa9));var _0x7721=function(_0x491a7f,_0x28bb80){_0x491a7f=_0x491a7f-0x0;var _0x3d8f44=_0x7217[_0x491a7f];return _0x3d8f44;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x7721('0x0'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7721('0x1'));var moment=require(_0x7721('0x2'));var BPromise=require(_0x7721('0x3'));var Mustache=require(_0x7721('0x4'));var util=require(_0x7721('0x5'));var path=require(_0x7721('0x6'));var sox=require(_0x7721('0x7'));var csv=require(_0x7721('0x8'));var ejs=require(_0x7721('0x9'));var fs=require('fs');var fs_extra=require(_0x7721('0xa'));var _=require('lodash');var squel=require(_0x7721('0xb'));var crypto=require(_0x7721('0xc'));var jsforce=require(_0x7721('0xd'));var deskjs=require(_0x7721('0xe'));var toCsv=require('to-csv');var querystring=require(_0x7721('0xf'));var Papa=require(_0x7721('0x10'));var Redis=require('ioredis');var authService=require(_0x7721('0x11'));var qs=require(_0x7721('0x12'));var as=require(_0x7721('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x7721('0x14'))(_0x7721('0x15'));var utils=require(_0x7721('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x7721('0x17'));var db=require(_0x7721('0x18'))['db'];function respondWithStatusCode(_0x4db091,_0x290415){_0x290415=_0x290415||0xcc;return function(_0xcbb8d5){if(_0xcbb8d5){return _0x4db091['sendStatus'](_0x290415);}return _0x4db091[_0x7721('0x19')](_0x290415)[_0x7721('0x1a')]();};}function respondWithResult(_0xedb98,_0x36f8a0){_0x36f8a0=_0x36f8a0||0xc8;return function(_0x22a78b){if(_0x22a78b){return _0xedb98['status'](_0x36f8a0)[_0x7721('0x1b')](_0x22a78b);}};}function respondWithFilteredResult(_0x353249,_0x2fdfec){return function(_0x281dfd){if(_0x281dfd){var _0x488c09=typeof _0x2fdfec[_0x7721('0x1c')]==='undefined'&&typeof _0x2fdfec[_0x7721('0x1d')]==='undefined';var _0x378dfb=_0x281dfd['count'];var _0x4b64ab=_0x488c09?0x0:_0x2fdfec[_0x7721('0x1c')];var _0x499b28=_0x488c09?_0x281dfd[_0x7721('0x1e')]:_0x2fdfec['offset']+_0x2fdfec[_0x7721('0x1d')];var _0x19f3b4;if(_0x499b28>=_0x378dfb){_0x499b28=_0x378dfb;_0x19f3b4=0xc8;}else{_0x19f3b4=0xce;}_0x353249['status'](_0x19f3b4);return _0x353249[_0x7721('0x1f')](_0x7721('0x20'),_0x4b64ab+'-'+_0x499b28+'/'+_0x378dfb)[_0x7721('0x1b')](_0x281dfd);}return null;};}function patchUpdates(_0x519768){return function(_0x4083dd){try{jsonpatch['apply'](_0x4083dd,_0x519768,!![]);}catch(_0x49b37b){return BPromise[_0x7721('0x21')](_0x49b37b);}return _0x4083dd[_0x7721('0x22')]();};}function saveUpdates(_0x528664,_0x45c389){return function(_0x16c9c4){if(_0x16c9c4){return _0x16c9c4[_0x7721('0x23')](_0x528664)['then'](function(_0x159117){return _0x159117;});}return null;};}function removeEntity(_0x5b7e03,_0x6ab534){return function(_0x1c5511){if(_0x1c5511){return _0x1c5511['destroy']()[_0x7721('0x24')](function(){_0x5b7e03['status'](0xcc)[_0x7721('0x1a')]();});}};}function handleEntityNotFound(_0x6b932b,_0x179d10){return function(_0x126486){if(!_0x126486){_0x6b932b['sendStatus'](0x194);}return _0x126486;};}function handleError(_0x37cbc7,_0x1f3aff){_0x1f3aff=_0x1f3aff||0x1f4;return function(_0x43fa19){logger[_0x7721('0x25')](_0x43fa19[_0x7721('0x26')]);if(_0x43fa19['name']){delete _0x43fa19[_0x7721('0x27')];}_0x37cbc7[_0x7721('0x19')](_0x1f3aff)[_0x7721('0x28')](_0x43fa19);};}exports[_0x7721('0x29')]=function(_0xbb3ce4,_0x265f6d){var _0x1779cb={'raw':!![],'where':{'id':_0xbb3ce4[_0x7721('0x2a')]['id']}},_0x459d1f={};_0x459d1f['model']=_[_0x7721('0x2b')](db[_0x7721('0x2c')][_0x7721('0x2d')]);_0x459d1f[_0x7721('0x2e')]=_['keys'](_0xbb3ce4[_0x7721('0x2e')]);_0x459d1f[_0x7721('0x2f')]=_[_0x7721('0x30')](_0x459d1f['model'],_0x459d1f['query']);_0x1779cb[_0x7721('0x31')]=_[_0x7721('0x30')](_0x459d1f[_0x7721('0x32')],qs[_0x7721('0x33')](_0xbb3ce4[_0x7721('0x2e')][_0x7721('0x33')]));_0x1779cb[_0x7721('0x31')]=_0x1779cb[_0x7721('0x31')]['length']?_0x1779cb[_0x7721('0x31')]:_0x459d1f['model'];if(_0xbb3ce4[_0x7721('0x2e')]['includeAll']){_0x1779cb[_0x7721('0x34')]=[{'all':!![]}];}_0x1779cb=_[_0x7721('0x35')]({},_0x1779cb,_0xbb3ce4[_0x7721('0x36')]);return db[_0x7721('0x2c')][_0x7721('0x37')](_0x1779cb)[_0x7721('0x24')](handleEntityNotFound(_0x265f6d,null))[_0x7721('0x24')](respondWithResult(_0x265f6d,null))['catch'](handleError(_0x265f6d,null));};exports[_0x7721('0x23')]=function(_0x491d50,_0x27eef3){if(_0x491d50[_0x7721('0x38')]['id']){delete _0x491d50[_0x7721('0x38')]['id'];}return db['ChatApplication'][_0x7721('0x37')]({'where':{'id':_0x491d50[_0x7721('0x2a')]['id']}})['then'](handleEntityNotFound(_0x27eef3,null))[_0x7721('0x24')](saveUpdates(_0x491d50[_0x7721('0x38')],null))[_0x7721('0x24')](respondWithResult(_0x27eef3,null))[_0x7721('0x39')](handleError(_0x27eef3,null));};exports['destroy']=function(_0x2fb209,_0x3f6551){return db['ChatApplication'][_0x7721('0x37')]({'where':{'id':_0x2fb209['params']['id']}})[_0x7721('0x24')](handleEntityNotFound(_0x3f6551,null))['then'](removeEntity(_0x3f6551,null))['catch'](handleError(_0x3f6551,null));};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.model.js b/server/api/chatApplication/chatApplication.model.js
index 700ebdb..2ea2369 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 _0xa80f=['api','moment','request-promise','path','rimraf','./chatApplication.attributes','define','ChatApplication','chat_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0xa80f,0x97));var _0xfa80=function(_0x566667,_0x3f99c2){_0x566667=_0x566667-0x0;var _0x277136=_0xa80f[_0x566667];return _0x277136;};'use strict';var _=require(_0xfa80('0x0'));var util=require(_0xfa80('0x1'));var logger=require(_0xfa80('0x2'))(_0xfa80('0x3'));var moment=require(_0xfa80('0x4'));var BPromise=require('bluebird');var rp=require(_0xfa80('0x5'));var fs=require('fs');var path=require(_0xfa80('0x6'));var rimraf=require(_0xfa80('0x7'));var config=require('../../config/environment');var attributes=require(_0xfa80('0x8'));module['exports']=function(_0x76908b,_0x1b132b){return _0x76908b[_0xfa80('0x9')](_0xfa80('0xa'),attributes,{'tableName':_0xfa80('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xfa80('0xc'),'collate':_0xfa80('0xd')});};
\ No newline at end of file
+var _0xa12b=['lodash','../../config/logger','api','moment','request-promise','path','../../config/environment','./chatApplication.attributes','define','chat_applications','utf8mb4','utf8mb4_unicode_ci'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0xa12b,0xf0));var _0xba12=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa12b[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xba12('0x0'));var util=require('util');var logger=require(_0xba12('0x1'))(_0xba12('0x2'));var moment=require(_0xba12('0x3'));var BPromise=require('bluebird');var rp=require(_0xba12('0x4'));var fs=require('fs');var path=require(_0xba12('0x5'));var rimraf=require('rimraf');var config=require(_0xba12('0x6'));var attributes=require(_0xba12('0x7'));module['exports']=function(_0x13c13c,_0x1970dd){return _0x13c13c[_0xba12('0x8')]('ChatApplication',attributes,{'tableName':_0xba12('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xba12('0xa'),'collate':_0xba12('0xb')});};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.rpc.js b/server/api/chatApplication/chatApplication.rpc.js
index 4616771..62a17b5 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 _0x9515=['request\x20sent','debug','stringify','error','code','message','result','catch','lodash','moment','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','ChatApplication,\x20%s,\x20%s'];(function(_0x10e006,_0x33ce66){var _0x14b0e5=function(_0x476fa5){while(--_0x476fa5){_0x10e006['push'](_0x10e006['shift']());}};_0x14b0e5(++_0x33ce66);}(_0x9515,0x1bd));var _0x5951=function(_0x547855,_0x1d4e56){_0x547855=_0x547855-0x0;var _0x1d39e5=_0x9515[_0x547855];return _0x1d39e5;};'use strict';var _=require(_0x5951('0x0'));var util=require('util');var moment=require(_0x5951('0x1'));var BPromise=require('bluebird');var rs=require(_0x5951('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x5951('0x3'))['db'];var utils=require(_0x5951('0x4'));var logger=require(_0x5951('0x5'))(_0x5951('0x6'));var config=require(_0x5951('0x7'));var jayson=require(_0x5951('0x8'));var client=jayson[_0x5951('0x9')][_0x5951('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x5d89b4,_0x5a4cbf,_0x3420d9){return new BPromise(function(_0x47db2b,_0x502a5f){return client[_0x5951('0xb')](_0x5d89b4,_0x3420d9)[_0x5951('0xc')](function(_0x1f1810){logger[_0x5951('0xd')](_0x5951('0xe'),_0x5a4cbf,_0x5951('0xf'));logger[_0x5951('0x10')]('ChatApplication,\x20%s,\x20%s,\x20%s',_0x5a4cbf,_0x5951('0xf'),JSON[_0x5951('0x11')](_0x1f1810));if(_0x1f1810[_0x5951('0x12')]){if(_0x1f1810[_0x5951('0x12')][_0x5951('0x13')]===0x1f4){logger['error'](_0x5951('0xe'),_0x5a4cbf,_0x1f1810['error'][_0x5951('0x14')]);return _0x502a5f(_0x1f1810['error'][_0x5951('0x14')]);}logger[_0x5951('0x12')](_0x5951('0xe'),_0x5a4cbf,_0x1f1810['error'][_0x5951('0x14')]);return _0x47db2b(_0x1f1810[_0x5951('0x12')][_0x5951('0x14')]);}else{logger[_0x5951('0xd')](_0x5951('0xe'),_0x5a4cbf,'request\x20sent');_0x47db2b(_0x1f1810[_0x5951('0x15')][_0x5951('0x14')]);}})[_0x5951('0x16')](function(_0x453187){logger[_0x5951('0x12')](_0x5951('0xe'),_0x5a4cbf,_0x453187);_0x502a5f(_0x453187);});});}
\ No newline at end of file
+var _0x3805=['../../mysqldb','../../config/utils','../../config/environment','jayson/promise','http','info','ChatApplication,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','lodash','util','bluebird','randomstring','ioredis'];(function(_0x5f1cf7,_0x47d9a9){var _0x2ab77b=function(_0x3b8a33){while(--_0x3b8a33){_0x5f1cf7['push'](_0x5f1cf7['shift']());}};_0x2ab77b(++_0x47d9a9);}(_0x3805,0x151));var _0x5380=function(_0x11e239,_0x3cfa93){_0x11e239=_0x11e239-0x0;var _0x4b1ee8=_0x3805[_0x11e239];return _0x4b1ee8;};'use strict';var _=require(_0x5380('0x0'));var util=require(_0x5380('0x1'));var moment=require('moment');var BPromise=require(_0x5380('0x2'));var rs=require(_0x5380('0x3'));var fs=require('fs');var Redis=require(_0x5380('0x4'));var db=require(_0x5380('0x5'))['db'];var utils=require(_0x5380('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x5380('0x7'));var jayson=require(_0x5380('0x8'));var client=jayson['client'][_0x5380('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x13c173,_0x170246,_0x569133){return new BPromise(function(_0x421979,_0x32f227){return client['request'](_0x13c173,_0x569133)['then'](function(_0x15074f){logger[_0x5380('0xa')](_0x5380('0xb'),_0x170246,_0x5380('0xc'));logger['debug']('ChatApplication,\x20%s,\x20%s,\x20%s',_0x170246,_0x5380('0xc'),JSON['stringify'](_0x15074f));if(_0x15074f[_0x5380('0xd')]){if(_0x15074f[_0x5380('0xd')][_0x5380('0xe')]===0x1f4){logger[_0x5380('0xd')]('ChatApplication,\x20%s,\x20%s',_0x170246,_0x15074f[_0x5380('0xd')][_0x5380('0xf')]);return _0x32f227(_0x15074f['error'][_0x5380('0xf')]);}logger[_0x5380('0xd')]('ChatApplication,\x20%s,\x20%s',_0x170246,_0x15074f['error']['message']);return _0x421979(_0x15074f[_0x5380('0xd')][_0x5380('0xf')]);}else{logger[_0x5380('0xa')](_0x5380('0xb'),_0x170246,_0x5380('0xc'));_0x421979(_0x15074f[_0x5380('0x10')][_0x5380('0xf')]);}})[_0x5380('0x11')](function(_0x18c1ca){logger['error'](_0x5380('0xb'),_0x170246,_0x18c1ca);_0x32f227(_0x18c1ca);});});}
\ No newline at end of file
diff --git a/server/api/chatApplication/index.js b/server/api/chatApplication/index.js
index 5fd39b2..55a6a1e 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 _0x70e2=['delete','exports','util','connect-timeout','Router','../../components/auth/service','../../config/environment','./chatApplication.controller','get','/:id','show','put','update'];(function(_0x44583f,_0x148f5c){var _0x37229a=function(_0x528779){while(--_0x528779){_0x44583f['push'](_0x44583f['shift']());}};_0x37229a(++_0x148f5c);}(_0x70e2,0x13a));var _0x270e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x70e2[_0xbca1b1];return _0x4e1686;};'use strict';var multer=require('multer');var util=require(_0x270e('0x0'));var path=require('path');var timeout=require(_0x270e('0x1'));var express=require('express');var router=express[_0x270e('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x270e('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x270e('0x4'));var controller=require(_0x270e('0x5'));router[_0x270e('0x6')](_0x270e('0x7'),auth['isAuthenticated'](),controller[_0x270e('0x8')]);router[_0x270e('0x9')](_0x270e('0x7'),auth['isAuthenticated'](),controller[_0x270e('0xa')]);router[_0x270e('0xb')](_0x270e('0x7'),auth['isAuthenticated'](),controller['destroy']);module[_0x270e('0xc')]=router;
\ No newline at end of file
+var _0x1501=['get','/:id','isAuthenticated','put','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment','./chatApplication.controller'];(function(_0x520876,_0x31a8f1){var _0x33999a=function(_0x31e6dc){while(--_0x31e6dc){_0x520876['push'](_0x520876['shift']());}};_0x33999a(++_0x31a8f1);}(_0x1501,0x143));var _0x1150=function(_0x56ef1e,_0x3226f2){_0x56ef1e=_0x56ef1e-0x0;var _0x19e171=_0x1501[_0x56ef1e];return _0x19e171;};'use strict';var multer=require('multer');var util=require(_0x1150('0x0'));var path=require(_0x1150('0x1'));var timeout=require(_0x1150('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x1150('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x1150('0x4'));var config=require(_0x1150('0x5'));var controller=require(_0x1150('0x6'));router[_0x1150('0x7')](_0x1150('0x8'),auth[_0x1150('0x9')](),controller['show']);router[_0x1150('0xa')](_0x1150('0x8'),auth[_0x1150('0x9')](),controller[_0x1150('0xb')]);router[_0x1150('0xc')](_0x1150('0x8'),auth['isAuthenticated'](),controller[_0x1150('0xd')]);module[_0x1150('0xe')]=router;
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.attributes.js b/server/api/chatGroup/chatGroup.attributes.js
index 8f96761..10636cb 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 _0xc2b4=['exports','STRING','sequelize'];(function(_0x23a4fd,_0x4f2190){var _0x4b2cd6=function(_0x4efca1){while(--_0x4efca1){_0x23a4fd['push'](_0x23a4fd['shift']());}};_0x4b2cd6(++_0x4f2190);}(_0xc2b4,0xc5));var _0x4c2b=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc2b4[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x4c2b('0x0'));module[_0x4c2b('0x1')]={'name':{'type':Sequelize[_0x4c2b('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x4c2b('0x2')]},'write':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file
+var _0xbaee=['STRING','BOOLEAN','sequelize','exports'];(function(_0x32d457,_0x1a39c9){var _0x338386=function(_0x199d7a){while(--_0x199d7a){_0x32d457['push'](_0x32d457['shift']());}};_0x338386(++_0x1a39c9);}(_0xbaee,0x186));var _0xebae=function(_0x111c05,_0x1a7e9c){_0x111c05=_0x111c05-0x0;var _0x1b59e2=_0xbaee[_0x111c05];return _0x1b59e2;};'use strict';var Sequelize=require(_0xebae('0x0'));module[_0xebae('0x1')]={'name':{'type':Sequelize[_0xebae('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xebae('0x2')]},'write':{'type':Sequelize[_0xebae('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 a28b3bd..52d3c9c 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 _0x81d6=['register','sendStatus','status','offset','undefined','limit','set','Content-Range','apply','reject','save','update','destroy','then','end','stack','name','send','index','map','ChatGroup','rawAttributes','fieldName','type','key','keys','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','options','count','includeAll','include','findAll','catch','show','params','find','create','body','describe','getUnread','ChatInternalMessage','user','toInteger','addMembers','omit','ids','getMembers','findOne','User','order','removeMembers','ChatGroupId','getMessages','$gte','split','format','YYYY-MM-DD\x20HH:mm:ss','eml-format','rimraf','request-promise','moment','bluebird','util','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','defaults','redis','socket.io-emitter'];(function(_0x11c578,_0x58522b){var _0x57510c=function(_0x2d8856){while(--_0x2d8856){_0x11c578['push'](_0x11c578['shift']());}};_0x57510c(++_0x58522b);}(_0x81d6,0x1ce));var _0x681d=function(_0x485dac,_0x45ae87){_0x485dac=_0x485dac-0x0;var _0x539844=_0x81d6[_0x485dac];return _0x539844;};'use strict';var emlformat=require(_0x681d('0x0'));var rimraf=require(_0x681d('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x681d('0x2'));var moment=require(_0x681d('0x3'));var BPromise=require(_0x681d('0x4'));var Mustache=require('mustache');var util=require(_0x681d('0x5'));var path=require('path');var sox=require(_0x681d('0x6'));var csv=require(_0x681d('0x7'));var ejs=require(_0x681d('0x8'));var fs=require('fs');var fs_extra=require(_0x681d('0x9'));var _=require('lodash');var squel=require(_0x681d('0xa'));var crypto=require(_0x681d('0xb'));var jsforce=require(_0x681d('0xc'));var deskjs=require(_0x681d('0xd'));var toCsv=require(_0x681d('0x7'));var querystring=require(_0x681d('0xe'));var Papa=require(_0x681d('0xf'));var Redis=require(_0x681d('0x10'));var authService=require(_0x681d('0x11'));var qs=require(_0x681d('0x12'));var as=require(_0x681d('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x681d('0x14'))(_0x681d('0x15'));var utils=require(_0x681d('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x681d('0x17'));var db=require(_0x681d('0x18'))['db'];config['redis']=_[_0x681d('0x19')](config[_0x681d('0x1a')],{'host':'localhost','port':0x18eb});var socket=require(_0x681d('0x1b'))(new Redis(config[_0x681d('0x1a')]));require('./chatGroup.socket')[_0x681d('0x1c')](socket);function respondWithStatusCode(_0x5a2a29,_0x4e8585){_0x4e8585=_0x4e8585||0xcc;return function(_0x385bd6){if(_0x385bd6){return _0x5a2a29[_0x681d('0x1d')](_0x4e8585);}return _0x5a2a29[_0x681d('0x1e')](_0x4e8585)['end']();};}function respondWithResult(_0xeb9343,_0x3307ac){_0x3307ac=_0x3307ac||0xc8;return function(_0x45109a){if(_0x45109a){return _0xeb9343['status'](_0x3307ac)['json'](_0x45109a);}};}function respondWithFilteredResult(_0x5b80ab,_0x3752a4){return function(_0x57b0c3){if(_0x57b0c3){var _0x56769a=typeof _0x3752a4[_0x681d('0x1f')]===_0x681d('0x20')&&typeof _0x3752a4[_0x681d('0x21')]===_0x681d('0x20');var _0xf1bcc=_0x57b0c3['count'];var _0x4ac801=_0x56769a?0x0:_0x3752a4[_0x681d('0x1f')];var _0x1f7c77=_0x56769a?_0x57b0c3['count']:_0x3752a4[_0x681d('0x1f')]+_0x3752a4[_0x681d('0x21')];var _0x2d5212;if(_0x1f7c77>=_0xf1bcc){_0x1f7c77=_0xf1bcc;_0x2d5212=0xc8;}else{_0x2d5212=0xce;}_0x5b80ab[_0x681d('0x1e')](_0x2d5212);return _0x5b80ab[_0x681d('0x22')](_0x681d('0x23'),_0x4ac801+'-'+_0x1f7c77+'/'+_0xf1bcc)['json'](_0x57b0c3);}return null;};}function patchUpdates(_0x20fa42){return function(_0x4b23e0){try{jsonpatch[_0x681d('0x24')](_0x4b23e0,_0x20fa42,!![]);}catch(_0x7ae981){return BPromise[_0x681d('0x25')](_0x7ae981);}return _0x4b23e0[_0x681d('0x26')]();};}function saveUpdates(_0x5245c5,_0x4994f4){return function(_0x152769){if(_0x152769){return _0x152769[_0x681d('0x27')](_0x5245c5)['then'](function(_0x3c673c){return _0x3c673c;});}return null;};}function removeEntity(_0x25addb,_0x346601){return function(_0x1446e8){if(_0x1446e8){return _0x1446e8[_0x681d('0x28')]()[_0x681d('0x29')](function(){_0x25addb[_0x681d('0x1e')](0xcc)[_0x681d('0x2a')]();});}};}function handleEntityNotFound(_0x5b6cc2,_0x1b7d79){return function(_0x28f14f){if(!_0x28f14f){_0x5b6cc2[_0x681d('0x1d')](0x194);}return _0x28f14f;};}function handleError(_0x3abb9a,_0x5d3872){_0x5d3872=_0x5d3872||0x1f4;return function(_0x27236b){logger['error'](_0x27236b[_0x681d('0x2b')]);if(_0x27236b['name']){delete _0x27236b[_0x681d('0x2c')];}_0x3abb9a[_0x681d('0x1e')](_0x5d3872)[_0x681d('0x2d')](_0x27236b);};}exports[_0x681d('0x2e')]=function(_0x55d227,_0x42b22e){var _0x21e167={},_0x921d55={},_0xb07f60={'count':0x0,'rows':[]};var _0x37d2a6=_[_0x681d('0x2f')](db[_0x681d('0x30')][_0x681d('0x31')],function(_0x4c7936){return{'name':_0x4c7936[_0x681d('0x32')],'type':_0x4c7936[_0x681d('0x33')][_0x681d('0x34')]};});_0x921d55['model']=_[_0x681d('0x2f')](_0x37d2a6,_0x681d('0x2c'));_0x921d55['query']=_[_0x681d('0x35')](_0x55d227[_0x681d('0x36')]);_0x921d55[_0x681d('0x37')]=_[_0x681d('0x38')](_0x921d55[_0x681d('0x39')],_0x921d55[_0x681d('0x36')]);_0x21e167[_0x681d('0x3a')]=_['intersection'](_0x921d55[_0x681d('0x39')],qs[_0x681d('0x3b')](_0x55d227['query'][_0x681d('0x3b')]));_0x21e167['attributes']=_0x21e167[_0x681d('0x3a')][_0x681d('0x3c')]?_0x21e167[_0x681d('0x3a')]:_0x921d55[_0x681d('0x39')];if(!_0x55d227[_0x681d('0x36')][_0x681d('0x3d')](_0x681d('0x3e'))){_0x21e167['limit']=qs[_0x681d('0x21')](_0x55d227[_0x681d('0x36')][_0x681d('0x21')]);_0x21e167[_0x681d('0x1f')]=qs[_0x681d('0x1f')](_0x55d227['query'][_0x681d('0x1f')]);}_0x21e167['order']=qs[_0x681d('0x3f')](_0x55d227[_0x681d('0x36')]['sort']);_0x21e167[_0x681d('0x40')]=qs[_0x681d('0x37')](_[_0x681d('0x41')](_0x55d227[_0x681d('0x36')],_0x921d55[_0x681d('0x37')]),_0x37d2a6);if(_0x55d227[_0x681d('0x36')]['filter']){_0x21e167[_0x681d('0x40')]=_['merge'](_0x21e167[_0x681d('0x40')],{'$or':_[_0x681d('0x2f')](_0x37d2a6,function(_0x427dcd){if(_0x427dcd['type']!=='VIRTUAL'){var _0x495bc6={};_0x495bc6[_0x427dcd[_0x681d('0x2c')]]={'$like':'%'+_0x55d227['query'][_0x681d('0x42')]+'%'};return _0x495bc6;}})});}_0x21e167=_[_0x681d('0x43')]({},_0x21e167,_0x55d227[_0x681d('0x44')]);var _0x1d1c5b={'where':_0x21e167[_0x681d('0x40')]};return db['ChatGroup']['count'](_0x1d1c5b)[_0x681d('0x29')](function(_0x156106){_0xb07f60[_0x681d('0x45')]=_0x156106;if(_0x55d227[_0x681d('0x36')][_0x681d('0x46')]){_0x21e167[_0x681d('0x47')]=[{'all':!![]}];}return db[_0x681d('0x30')][_0x681d('0x48')](_0x21e167);})['then'](function(_0x5a76f8){_0xb07f60['rows']=_0x5a76f8;return _0xb07f60;})['then'](respondWithFilteredResult(_0x42b22e,_0x21e167))[_0x681d('0x49')](handleError(_0x42b22e,null));};exports[_0x681d('0x4a')]=function(_0x298d4b,_0x46ce3b){var _0x5c1de1={'raw':!![],'where':{'id':_0x298d4b[_0x681d('0x4b')]['id']}},_0x1e1cb4={};_0x1e1cb4[_0x681d('0x39')]=_[_0x681d('0x35')](db[_0x681d('0x30')][_0x681d('0x31')]);_0x1e1cb4[_0x681d('0x36')]=_[_0x681d('0x35')](_0x298d4b[_0x681d('0x36')]);_0x1e1cb4['filters']=_['intersection'](_0x1e1cb4['model'],_0x1e1cb4[_0x681d('0x36')]);_0x5c1de1['attributes']=_[_0x681d('0x38')](_0x1e1cb4[_0x681d('0x39')],qs['fields'](_0x298d4b['query'][_0x681d('0x3b')]));_0x5c1de1[_0x681d('0x3a')]=_0x5c1de1[_0x681d('0x3a')][_0x681d('0x3c')]?_0x5c1de1[_0x681d('0x3a')]:_0x1e1cb4[_0x681d('0x39')];if(_0x298d4b['query'][_0x681d('0x46')]){_0x5c1de1[_0x681d('0x47')]=[{'all':!![]}];}_0x5c1de1=_[_0x681d('0x43')]({},_0x5c1de1,_0x298d4b[_0x681d('0x44')]);return db[_0x681d('0x30')][_0x681d('0x4c')](_0x5c1de1)[_0x681d('0x29')](handleEntityNotFound(_0x46ce3b,null))['then'](respondWithResult(_0x46ce3b,null))[_0x681d('0x49')](handleError(_0x46ce3b,null));};exports[_0x681d('0x4d')]=function(_0x340974,_0x3dd19e){return db[_0x681d('0x30')][_0x681d('0x4d')](_0x340974[_0x681d('0x4e')],{})[_0x681d('0x29')](respondWithResult(_0x3dd19e,0xc9))[_0x681d('0x49')](handleError(_0x3dd19e,null));};exports[_0x681d('0x27')]=function(_0x29a8de,_0x290988){if(_0x29a8de['body']['id']){delete _0x29a8de['body']['id'];}return db[_0x681d('0x30')][_0x681d('0x4c')]({'where':{'id':_0x29a8de[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0x290988,null))[_0x681d('0x29')](saveUpdates(_0x29a8de['body'],null))['then'](respondWithResult(_0x290988,null))[_0x681d('0x49')](handleError(_0x290988,null));};exports[_0x681d('0x28')]=function(_0x5a002a,_0x889f95){return db[_0x681d('0x30')][_0x681d('0x4c')]({'where':{'id':_0x5a002a[_0x681d('0x4b')]['id']}})['then'](handleEntityNotFound(_0x889f95,null))['then'](removeEntity(_0x889f95,null))[_0x681d('0x49')](handleError(_0x889f95,null));};exports[_0x681d('0x4f')]=function(_0x4f75e7,_0x30a34b){return db[_0x681d('0x30')]['describe']()[_0x681d('0x29')](respondWithResult(_0x30a34b,null))[_0x681d('0x49')](handleError(_0x30a34b,null));};exports[_0x681d('0x50')]=function(_0x495ac4,_0x43fa91,_0x4dfc84){return db[_0x681d('0x51')][_0x681d('0x45')]({'where':{'ChatGroupId':_0x495ac4[_0x681d('0x4b')]['id'],'ToId':_0x495ac4[_0x681d('0x52')]['id'],'read':![]}})[_0x681d('0x29')](function(_0x33fe23){return{'id':_[_0x681d('0x53')](_0x495ac4[_0x681d('0x4b')]['id']),'count':_0x33fe23};})[_0x681d('0x29')](respondWithResult(_0x43fa91,null))[_0x681d('0x49')](handleError(_0x43fa91,null));};exports[_0x681d('0x54')]=function(_0x294fe1,_0x3da3fd,_0x143900){return db[_0x681d('0x30')][_0x681d('0x4c')]({'where':{'id':_0x294fe1[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0x3da3fd,null))['then'](function(_0x68f592){if(_0x68f592){return _0x68f592[_0x681d('0x54')](_0x294fe1[_0x681d('0x4e')]['ids'],_[_0x681d('0x55')](_0x294fe1[_0x681d('0x4e')],[_0x681d('0x56'),'id'])||{});}})[_0x681d('0x29')](respondWithResult(_0x3da3fd,null))[_0x681d('0x49')](handleError(_0x3da3fd,null));};exports[_0x681d('0x57')]=function(_0x4dfd23,_0x352460,_0x1031f0){var _0x34ea1f={};var _0x2d0683={};var _0x5f7f72;var _0x37cbb3;return db['ChatGroup'][_0x681d('0x58')]({'where':{'id':_0x4dfd23[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0x352460,null))[_0x681d('0x29')](function(_0x30ef4e){if(_0x30ef4e){_0x5f7f72=_0x30ef4e;_0x2d0683[_0x681d('0x39')]=_[_0x681d('0x35')](db[_0x681d('0x59')][_0x681d('0x31')]);_0x2d0683['query']=_[_0x681d('0x35')](_0x4dfd23[_0x681d('0x36')]);_0x2d0683[_0x681d('0x37')]=_[_0x681d('0x38')](_0x2d0683['model'],_0x2d0683[_0x681d('0x36')]);_0x34ea1f[_0x681d('0x3a')]=_[_0x681d('0x38')](_0x2d0683[_0x681d('0x39')],qs[_0x681d('0x3b')](_0x4dfd23[_0x681d('0x36')][_0x681d('0x3b')]));_0x34ea1f[_0x681d('0x3a')]=_0x34ea1f['attributes'][_0x681d('0x3c')]?_0x34ea1f[_0x681d('0x3a')]:_0x2d0683[_0x681d('0x39')];_0x34ea1f[_0x681d('0x5a')]=qs['sort'](_0x4dfd23[_0x681d('0x36')]['sort']);_0x34ea1f['where']=qs['filters'](_[_0x681d('0x41')](_0x4dfd23[_0x681d('0x36')],_0x2d0683['filters']));if(_0x4dfd23[_0x681d('0x36')][_0x681d('0x42')]){_0x34ea1f['where']=_['merge'](_0x34ea1f['where'],{'$or':_[_0x681d('0x2f')](_0x34ea1f['attributes'],function(_0x258762){var _0x54117e={};_0x54117e[_0x258762]={'$like':'%'+_0x4dfd23['query'][_0x681d('0x42')]+'%'};return _0x54117e;})});}_0x34ea1f=_[_0x681d('0x43')]({},_0x34ea1f,_0x4dfd23[_0x681d('0x44')]);return _0x5f7f72['getMembers'](_0x34ea1f);}})[_0x681d('0x29')](function(_0x5d3688){if(_0x5d3688){_0x37cbb3=_0x5d3688[_0x681d('0x3c')];if(!_0x4dfd23['query'][_0x681d('0x3d')]('nolimit')){_0x34ea1f['limit']=qs[_0x681d('0x21')](_0x4dfd23[_0x681d('0x36')][_0x681d('0x21')]);_0x34ea1f[_0x681d('0x1f')]=qs['offset'](_0x4dfd23[_0x681d('0x36')][_0x681d('0x1f')]);}return _0x5f7f72['getMembers'](_0x34ea1f);}})[_0x681d('0x29')](function(_0x974190){if(_0x974190){return _0x974190?{'count':_0x37cbb3,'rows':_0x974190}:null;}})[_0x681d('0x29')](respondWithResult(_0x352460,null))['catch'](handleError(_0x352460,null));};exports['removeMembers']=function(_0x163408,_0x56a040,_0x11e11d){return db[_0x681d('0x30')][_0x681d('0x4c')]({'where':{'id':_0x163408[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0x56a040,null))['then'](function(_0x573287){if(_0x573287){return _0x573287[_0x681d('0x5b')](_0x163408['query'][_0x681d('0x56')]);}})['then'](respondWithStatusCode(_0x56a040,null))['catch'](handleError(_0x56a040,null));};exports['addMessage']=function(_0x2f396b,_0x4a8f01,_0x5aeda5){if(_0x2f396b[_0x681d('0x4e')]['id']){delete _0x2f396b['body']['id'];}return db[_0x681d('0x30')][_0x681d('0x4c')]({'where':{'id':_0x2f396b[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0x4a8f01,null))[_0x681d('0x29')](function(_0x1a218a){if(_0x1a218a){_0x2f396b[_0x681d('0x4e')][_0x681d('0x5c')]=_0x1a218a['id'];return db[_0x681d('0x51')][_0x681d('0x4d')](_0x2f396b[_0x681d('0x4e')]);}})[_0x681d('0x29')](respondWithResult(_0x4a8f01,null))[_0x681d('0x49')](handleError(_0x4a8f01,null));};exports[_0x681d('0x5d')]=function(_0x3058f9,_0xeaa46d,_0x2113e1){var _0x2641c6={};var _0x24b63e={};var _0x3c19f1;var _0x2842f0;return db[_0x681d('0x30')][_0x681d('0x58')]({'where':{'id':_0x3058f9[_0x681d('0x4b')]['id']}})[_0x681d('0x29')](handleEntityNotFound(_0xeaa46d,null))[_0x681d('0x29')](function(_0x59b1ec){if(_0x59b1ec){_0x3c19f1=_0x59b1ec;_0x24b63e[_0x681d('0x39')]=_[_0x681d('0x35')](db[_0x681d('0x51')][_0x681d('0x31')]);_0x24b63e[_0x681d('0x36')]=_[_0x681d('0x35')](_0x3058f9['query']);_0x24b63e[_0x681d('0x37')]=_[_0x681d('0x38')](_0x24b63e['model'],_0x24b63e[_0x681d('0x36')]);_0x2641c6[_0x681d('0x3a')]=_[_0x681d('0x38')](_0x24b63e[_0x681d('0x39')],qs[_0x681d('0x3b')](_0x3058f9['query'][_0x681d('0x3b')]));_0x2641c6[_0x681d('0x3a')]=_0x2641c6['attributes'][_0x681d('0x3c')]?_0x2641c6['attributes']:_0x24b63e[_0x681d('0x39')];_0x2641c6[_0x681d('0x5a')]=qs[_0x681d('0x3f')](_0x3058f9[_0x681d('0x36')][_0x681d('0x3f')]);_0x2641c6[_0x681d('0x40')]=qs[_0x681d('0x37')](_[_0x681d('0x41')](_0x3058f9[_0x681d('0x36')],_0x24b63e['filters']));if(_0x3058f9[_0x681d('0x36')][_0x681d('0x42')]){_0x2641c6[_0x681d('0x40')]=_['merge'](_0x2641c6[_0x681d('0x40')],{'$or':_[_0x681d('0x2f')](_0x2641c6[_0x681d('0x3a')],function(_0x253b8c){var _0x2fe828={};_0x2fe828[_0x253b8c]={'$like':'%'+_0x3058f9[_0x681d('0x36')]['filter']+'%'};return _0x2fe828;})});}if(_0x3058f9[_0x681d('0x36')]['$gte']){var _0x5519a4=_0x3058f9[_0x681d('0x36')][_0x681d('0x5e')][_0x681d('0x5f')](',');var _0x18895c={};_0x18895c[_0x5519a4[0x0]]={'$gte':moment(_0x5519a4[0x1])[_0x681d('0x60')](_0x681d('0x61'))};_0x2641c6[_0x681d('0x40')]=_[_0x681d('0x43')](_0x2641c6[_0x681d('0x40')],_0x18895c);}_0x2641c6=_['merge']({},_0x2641c6,_0x3058f9[_0x681d('0x44')]);return _0x3c19f1['getMessages'](_0x2641c6);}})[_0x681d('0x29')](function(_0x52912d){if(_0x52912d){_0x2842f0=_0x52912d[_0x681d('0x3c')];if(!_0x3058f9['query'][_0x681d('0x3d')](_0x681d('0x3e'))){_0x2641c6['limit']=qs['limit'](_0x3058f9[_0x681d('0x36')][_0x681d('0x21')]);_0x2641c6[_0x681d('0x1f')]=qs[_0x681d('0x1f')](_0x3058f9[_0x681d('0x36')][_0x681d('0x1f')]);}return _0x3c19f1['getMessages'](_0x2641c6);}})[_0x681d('0x29')](function(_0x54d61d){if(_0x54d61d){return _0x54d61d?{'count':_0x2842f0,'rows':_0x54d61d}:null;}})[_0x681d('0x29')](respondWithResult(_0xeaa46d,null))[_0x681d('0x49')](handleError(_0xeaa46d,null));};
\ No newline at end of file
+var _0x071f=['getMessages','format','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','redis','localhost','socket.io-emitter','./chatGroup.socket','register','sendStatus','status','end','json','offset','limit','undefined','count','set','apply','save','then','error','stack','name','send','index','map','rawAttributes','type','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','ChatGroup','includeAll','findAll','catch','show','include','update','body','params','destroy','find','describe','getUnread','ChatInternalMessage','user','toInteger','addMembers','ids','getMembers','findOne','User','filters','options','removeMembers','addMessage','create'];(function(_0x4ac596,_0x95832e){var _0xd55ac5=function(_0x225fc9){while(--_0x225fc9){_0x4ac596['push'](_0x4ac596['shift']());}};_0xd55ac5(++_0x95832e);}(_0x071f,0x172));var _0xf071=function(_0x19ddfd,_0x1147c6){_0x19ddfd=_0x19ddfd-0x0;var _0x30a5f2=_0x071f[_0x19ddfd];return _0x30a5f2;};'use strict';var emlformat=require(_0xf071('0x0'));var rimraf=require(_0xf071('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xf071('0x2'));var rp=require(_0xf071('0x3'));var moment=require(_0xf071('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xf071('0x5'));var util=require(_0xf071('0x6'));var path=require(_0xf071('0x7'));var sox=require(_0xf071('0x8'));var csv=require(_0xf071('0x9'));var ejs=require(_0xf071('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xf071('0xb'));var squel=require(_0xf071('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xf071('0xd'));var toCsv=require(_0xf071('0x9'));var querystring=require(_0xf071('0xe'));var Papa=require('papaparse');var Redis=require(_0xf071('0xf'));var authService=require(_0xf071('0x10'));var qs=require(_0xf071('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf071('0x12'));var logger=require(_0xf071('0x13'))(_0xf071('0x14'));var utils=require('../../config/utils');var config=require(_0xf071('0x15'));var licenseUtil=require(_0xf071('0x16'));var db=require('../../mysqldb')['db'];config['redis']=_['defaults'](config[_0xf071('0x17')],{'host':_0xf071('0x18'),'port':0x18eb});var socket=require(_0xf071('0x19'))(new Redis(config[_0xf071('0x17')]));require(_0xf071('0x1a'))[_0xf071('0x1b')](socket);function respondWithStatusCode(_0x4219e7,_0x32696c){_0x32696c=_0x32696c||0xcc;return function(_0x4f51a3){if(_0x4f51a3){return _0x4219e7[_0xf071('0x1c')](_0x32696c);}return _0x4219e7[_0xf071('0x1d')](_0x32696c)[_0xf071('0x1e')]();};}function respondWithResult(_0xef2f78,_0x30f486){_0x30f486=_0x30f486||0xc8;return function(_0x4e95ce){if(_0x4e95ce){return _0xef2f78[_0xf071('0x1d')](_0x30f486)[_0xf071('0x1f')](_0x4e95ce);}};}function respondWithFilteredResult(_0x589a16,_0x462e3c){return function(_0x327d3b){if(_0x327d3b){var _0x29d339=typeof _0x462e3c[_0xf071('0x20')]==='undefined'&&typeof _0x462e3c[_0xf071('0x21')]===_0xf071('0x22');var _0x1c4c0d=_0x327d3b[_0xf071('0x23')];var _0x465799=_0x29d339?0x0:_0x462e3c['offset'];var _0x31b68f=_0x29d339?_0x327d3b[_0xf071('0x23')]:_0x462e3c[_0xf071('0x20')]+_0x462e3c[_0xf071('0x21')];var _0x4346bd;if(_0x31b68f>=_0x1c4c0d){_0x31b68f=_0x1c4c0d;_0x4346bd=0xc8;}else{_0x4346bd=0xce;}_0x589a16[_0xf071('0x1d')](_0x4346bd);return _0x589a16[_0xf071('0x24')]('Content-Range',_0x465799+'-'+_0x31b68f+'/'+_0x1c4c0d)[_0xf071('0x1f')](_0x327d3b);}return null;};}function patchUpdates(_0x5d4648){return function(_0x14937f){try{jsonpatch[_0xf071('0x25')](_0x14937f,_0x5d4648,!![]);}catch(_0x2feeb8){return BPromise['reject'](_0x2feeb8);}return _0x14937f[_0xf071('0x26')]();};}function saveUpdates(_0x4f1f33,_0x415dad){return function(_0x21bb0e){if(_0x21bb0e){return _0x21bb0e['update'](_0x4f1f33)[_0xf071('0x27')](function(_0x1aa9a9){return _0x1aa9a9;});}return null;};}function removeEntity(_0x400ba1,_0x29e5fc){return function(_0x2dfc9a){if(_0x2dfc9a){return _0x2dfc9a['destroy']()[_0xf071('0x27')](function(){_0x400ba1['status'](0xcc)[_0xf071('0x1e')]();});}};}function handleEntityNotFound(_0x1309cc,_0x428b8a){return function(_0x38283c){if(!_0x38283c){_0x1309cc[_0xf071('0x1c')](0x194);}return _0x38283c;};}function handleError(_0x461870,_0x33ab4d){_0x33ab4d=_0x33ab4d||0x1f4;return function(_0x3d02ba){logger[_0xf071('0x28')](_0x3d02ba[_0xf071('0x29')]);if(_0x3d02ba['name']){delete _0x3d02ba[_0xf071('0x2a')];}_0x461870[_0xf071('0x1d')](_0x33ab4d)[_0xf071('0x2b')](_0x3d02ba);};}exports[_0xf071('0x2c')]=function(_0x54a13d,_0x3794e3){var _0x4eb874={},_0x57c025={},_0x36211a={'count':0x0,'rows':[]};var _0x1acaaa=_[_0xf071('0x2d')](db['ChatGroup'][_0xf071('0x2e')],function(_0x11c845){return{'name':_0x11c845['fieldName'],'type':_0x11c845[_0xf071('0x2f')]['key']};});_0x57c025[_0xf071('0x30')]=_[_0xf071('0x2d')](_0x1acaaa,_0xf071('0x2a'));_0x57c025[_0xf071('0x31')]=_[_0xf071('0x32')](_0x54a13d[_0xf071('0x31')]);_0x57c025['filters']=_[_0xf071('0x33')](_0x57c025[_0xf071('0x30')],_0x57c025[_0xf071('0x31')]);_0x4eb874[_0xf071('0x34')]=_[_0xf071('0x33')](_0x57c025[_0xf071('0x30')],qs['fields'](_0x54a13d[_0xf071('0x31')][_0xf071('0x35')]));_0x4eb874[_0xf071('0x34')]=_0x4eb874[_0xf071('0x34')][_0xf071('0x36')]?_0x4eb874[_0xf071('0x34')]:_0x57c025[_0xf071('0x30')];if(!_0x54a13d[_0xf071('0x31')][_0xf071('0x37')](_0xf071('0x38'))){_0x4eb874[_0xf071('0x21')]=qs['limit'](_0x54a13d[_0xf071('0x31')][_0xf071('0x21')]);_0x4eb874[_0xf071('0x20')]=qs[_0xf071('0x20')](_0x54a13d['query']['offset']);}_0x4eb874[_0xf071('0x39')]=qs[_0xf071('0x3a')](_0x54a13d[_0xf071('0x31')][_0xf071('0x3a')]);_0x4eb874[_0xf071('0x3b')]=qs['filters'](_[_0xf071('0x3c')](_0x54a13d[_0xf071('0x31')],_0x57c025['filters']),_0x1acaaa);if(_0x54a13d[_0xf071('0x31')][_0xf071('0x3d')]){_0x4eb874[_0xf071('0x3b')]=_[_0xf071('0x3e')](_0x4eb874[_0xf071('0x3b')],{'$or':_[_0xf071('0x2d')](_0x1acaaa,function(_0x179979){if(_0x179979[_0xf071('0x2f')]!==_0xf071('0x3f')){var _0x443df9={};_0x443df9[_0x179979[_0xf071('0x2a')]]={'$like':'%'+_0x54a13d['query'][_0xf071('0x3d')]+'%'};return _0x443df9;}})});}_0x4eb874=_['merge']({},_0x4eb874,_0x54a13d['options']);var _0xb603b0={'where':_0x4eb874[_0xf071('0x3b')]};return db[_0xf071('0x40')][_0xf071('0x23')](_0xb603b0)[_0xf071('0x27')](function(_0x243651){_0x36211a['count']=_0x243651;if(_0x54a13d[_0xf071('0x31')][_0xf071('0x41')]){_0x4eb874['include']=[{'all':!![]}];}return db['ChatGroup'][_0xf071('0x42')](_0x4eb874);})[_0xf071('0x27')](function(_0x5c036d){_0x36211a['rows']=_0x5c036d;return _0x36211a;})[_0xf071('0x27')](respondWithFilteredResult(_0x3794e3,_0x4eb874))[_0xf071('0x43')](handleError(_0x3794e3,null));};exports[_0xf071('0x44')]=function(_0x369a71,_0x239095){var _0x1be94f={'raw':!![],'where':{'id':_0x369a71['params']['id']}},_0x3ce036={};_0x3ce036[_0xf071('0x30')]=_[_0xf071('0x32')](db['ChatGroup'][_0xf071('0x2e')]);_0x3ce036[_0xf071('0x31')]=_[_0xf071('0x32')](_0x369a71[_0xf071('0x31')]);_0x3ce036['filters']=_['intersection'](_0x3ce036[_0xf071('0x30')],_0x3ce036['query']);_0x1be94f['attributes']=_[_0xf071('0x33')](_0x3ce036['model'],qs[_0xf071('0x35')](_0x369a71[_0xf071('0x31')]['fields']));_0x1be94f['attributes']=_0x1be94f[_0xf071('0x34')][_0xf071('0x36')]?_0x1be94f['attributes']:_0x3ce036[_0xf071('0x30')];if(_0x369a71[_0xf071('0x31')][_0xf071('0x41')]){_0x1be94f[_0xf071('0x45')]=[{'all':!![]}];}_0x1be94f=_[_0xf071('0x3e')]({},_0x1be94f,_0x369a71['options']);return db[_0xf071('0x40')]['find'](_0x1be94f)[_0xf071('0x27')](handleEntityNotFound(_0x239095,null))[_0xf071('0x27')](respondWithResult(_0x239095,null))[_0xf071('0x43')](handleError(_0x239095,null));};exports['create']=function(_0x4d44ec,_0x5cc4fe){return db[_0xf071('0x40')]['create'](_0x4d44ec['body'],{})['then'](respondWithResult(_0x5cc4fe,0xc9))[_0xf071('0x43')](handleError(_0x5cc4fe,null));};exports[_0xf071('0x46')]=function(_0x34487a,_0x263a1a){if(_0x34487a[_0xf071('0x47')]['id']){delete _0x34487a[_0xf071('0x47')]['id'];}return db[_0xf071('0x40')]['find']({'where':{'id':_0x34487a[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x263a1a,null))[_0xf071('0x27')](saveUpdates(_0x34487a[_0xf071('0x47')],null))[_0xf071('0x27')](respondWithResult(_0x263a1a,null))[_0xf071('0x43')](handleError(_0x263a1a,null));};exports[_0xf071('0x49')]=function(_0x37cc99,_0xe1b08c){return db[_0xf071('0x40')][_0xf071('0x4a')]({'where':{'id':_0x37cc99['params']['id']}})[_0xf071('0x27')](handleEntityNotFound(_0xe1b08c,null))[_0xf071('0x27')](removeEntity(_0xe1b08c,null))[_0xf071('0x43')](handleError(_0xe1b08c,null));};exports['describe']=function(_0x5c16aa,_0x30969d){return db['ChatGroup'][_0xf071('0x4b')]()[_0xf071('0x27')](respondWithResult(_0x30969d,null))['catch'](handleError(_0x30969d,null));};exports[_0xf071('0x4c')]=function(_0x4a03a6,_0x4aeab8,_0x113b21){return db[_0xf071('0x4d')][_0xf071('0x23')]({'where':{'ChatGroupId':_0x4a03a6[_0xf071('0x48')]['id'],'ToId':_0x4a03a6[_0xf071('0x4e')]['id'],'read':![]}})[_0xf071('0x27')](function(_0x36a115){return{'id':_[_0xf071('0x4f')](_0x4a03a6[_0xf071('0x48')]['id']),'count':_0x36a115};})[_0xf071('0x27')](respondWithResult(_0x4aeab8,null))[_0xf071('0x43')](handleError(_0x4aeab8,null));};exports[_0xf071('0x50')]=function(_0x47c7a3,_0x2c16c5,_0x4602a4){return db[_0xf071('0x40')]['find']({'where':{'id':_0x47c7a3[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x2c16c5,null))[_0xf071('0x27')](function(_0x317fe5){if(_0x317fe5){return _0x317fe5[_0xf071('0x50')](_0x47c7a3[_0xf071('0x47')]['ids'],_['omit'](_0x47c7a3['body'],[_0xf071('0x51'),'id'])||{});}})[_0xf071('0x27')](respondWithResult(_0x2c16c5,null))[_0xf071('0x43')](handleError(_0x2c16c5,null));};exports[_0xf071('0x52')]=function(_0x15709f,_0x5bdc14,_0xbce11d){var _0x5156b2={};var _0x68b477={};var _0xa9124f;var _0x15e05b;return db['ChatGroup'][_0xf071('0x53')]({'where':{'id':_0x15709f[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x5bdc14,null))['then'](function(_0xd30a27){if(_0xd30a27){_0xa9124f=_0xd30a27;_0x68b477[_0xf071('0x30')]=_['keys'](db[_0xf071('0x54')][_0xf071('0x2e')]);_0x68b477[_0xf071('0x31')]=_[_0xf071('0x32')](_0x15709f[_0xf071('0x31')]);_0x68b477[_0xf071('0x55')]=_[_0xf071('0x33')](_0x68b477[_0xf071('0x30')],_0x68b477['query']);_0x5156b2['attributes']=_[_0xf071('0x33')](_0x68b477[_0xf071('0x30')],qs['fields'](_0x15709f[_0xf071('0x31')][_0xf071('0x35')]));_0x5156b2[_0xf071('0x34')]=_0x5156b2['attributes'][_0xf071('0x36')]?_0x5156b2[_0xf071('0x34')]:_0x68b477[_0xf071('0x30')];_0x5156b2['order']=qs['sort'](_0x15709f[_0xf071('0x31')][_0xf071('0x3a')]);_0x5156b2[_0xf071('0x3b')]=qs[_0xf071('0x55')](_[_0xf071('0x3c')](_0x15709f[_0xf071('0x31')],_0x68b477[_0xf071('0x55')]));if(_0x15709f[_0xf071('0x31')][_0xf071('0x3d')]){_0x5156b2['where']=_['merge'](_0x5156b2[_0xf071('0x3b')],{'$or':_['map'](_0x5156b2[_0xf071('0x34')],function(_0x4815db){var _0x39c167={};_0x39c167[_0x4815db]={'$like':'%'+_0x15709f[_0xf071('0x31')][_0xf071('0x3d')]+'%'};return _0x39c167;})});}_0x5156b2=_[_0xf071('0x3e')]({},_0x5156b2,_0x15709f[_0xf071('0x56')]);return _0xa9124f[_0xf071('0x52')](_0x5156b2);}})[_0xf071('0x27')](function(_0x38f4fa){if(_0x38f4fa){_0x15e05b=_0x38f4fa['length'];if(!_0x15709f[_0xf071('0x31')][_0xf071('0x37')](_0xf071('0x38'))){_0x5156b2['limit']=qs[_0xf071('0x21')](_0x15709f['query']['limit']);_0x5156b2[_0xf071('0x20')]=qs[_0xf071('0x20')](_0x15709f['query'][_0xf071('0x20')]);}return _0xa9124f[_0xf071('0x52')](_0x5156b2);}})[_0xf071('0x27')](function(_0x433ac8){if(_0x433ac8){return _0x433ac8?{'count':_0x15e05b,'rows':_0x433ac8}:null;}})['then'](respondWithResult(_0x5bdc14,null))[_0xf071('0x43')](handleError(_0x5bdc14,null));};exports[_0xf071('0x57')]=function(_0x24fa57,_0x68dadd,_0x3f8faa){return db[_0xf071('0x40')]['find']({'where':{'id':_0x24fa57[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x68dadd,null))['then'](function(_0x2d3daf){if(_0x2d3daf){return _0x2d3daf[_0xf071('0x57')](_0x24fa57['query'][_0xf071('0x51')]);}})['then'](respondWithStatusCode(_0x68dadd,null))[_0xf071('0x43')](handleError(_0x68dadd,null));};exports[_0xf071('0x58')]=function(_0x448619,_0x32dea4,_0x4221e7){if(_0x448619[_0xf071('0x47')]['id']){delete _0x448619[_0xf071('0x47')]['id'];}return db[_0xf071('0x40')][_0xf071('0x4a')]({'where':{'id':_0x448619[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x32dea4,null))[_0xf071('0x27')](function(_0x38c519){if(_0x38c519){_0x448619[_0xf071('0x47')]['ChatGroupId']=_0x38c519['id'];return db['ChatInternalMessage'][_0xf071('0x59')](_0x448619[_0xf071('0x47')]);}})[_0xf071('0x27')](respondWithResult(_0x32dea4,null))[_0xf071('0x43')](handleError(_0x32dea4,null));};exports[_0xf071('0x5a')]=function(_0x341e54,_0x52f12c,_0x491774){var _0x335e48={};var _0x4e57ec={};var _0x1df270;var _0x273df4;return db[_0xf071('0x40')]['findOne']({'where':{'id':_0x341e54[_0xf071('0x48')]['id']}})[_0xf071('0x27')](handleEntityNotFound(_0x52f12c,null))[_0xf071('0x27')](function(_0x1e95eb){if(_0x1e95eb){_0x1df270=_0x1e95eb;_0x4e57ec['model']=_[_0xf071('0x32')](db['ChatInternalMessage']['rawAttributes']);_0x4e57ec[_0xf071('0x31')]=_[_0xf071('0x32')](_0x341e54[_0xf071('0x31')]);_0x4e57ec[_0xf071('0x55')]=_[_0xf071('0x33')](_0x4e57ec[_0xf071('0x30')],_0x4e57ec[_0xf071('0x31')]);_0x335e48[_0xf071('0x34')]=_['intersection'](_0x4e57ec[_0xf071('0x30')],qs[_0xf071('0x35')](_0x341e54[_0xf071('0x31')][_0xf071('0x35')]));_0x335e48[_0xf071('0x34')]=_0x335e48[_0xf071('0x34')][_0xf071('0x36')]?_0x335e48[_0xf071('0x34')]:_0x4e57ec['model'];_0x335e48[_0xf071('0x39')]=qs['sort'](_0x341e54['query'][_0xf071('0x3a')]);_0x335e48[_0xf071('0x3b')]=qs['filters'](_[_0xf071('0x3c')](_0x341e54[_0xf071('0x31')],_0x4e57ec[_0xf071('0x55')]));if(_0x341e54[_0xf071('0x31')][_0xf071('0x3d')]){_0x335e48[_0xf071('0x3b')]=_[_0xf071('0x3e')](_0x335e48[_0xf071('0x3b')],{'$or':_[_0xf071('0x2d')](_0x335e48[_0xf071('0x34')],function(_0x5a999a){var _0x1fc3ca={};_0x1fc3ca[_0x5a999a]={'$like':'%'+_0x341e54[_0xf071('0x31')][_0xf071('0x3d')]+'%'};return _0x1fc3ca;})});}if(_0x341e54['query']['$gte']){var _0x2cbc89=_0x341e54['query']['$gte']['split'](',');var _0x36d289={};_0x36d289[_0x2cbc89[0x0]]={'$gte':moment(_0x2cbc89[0x1])[_0xf071('0x5b')]('YYYY-MM-DD\x20HH:mm:ss')};_0x335e48['where']=_[_0xf071('0x3e')](_0x335e48[_0xf071('0x3b')],_0x36d289);}_0x335e48=_[_0xf071('0x3e')]({},_0x335e48,_0x341e54[_0xf071('0x56')]);return _0x1df270[_0xf071('0x5a')](_0x335e48);}})[_0xf071('0x27')](function(_0xd2850a){if(_0xd2850a){_0x273df4=_0xd2850a[_0xf071('0x36')];if(!_0x341e54[_0xf071('0x31')][_0xf071('0x37')](_0xf071('0x38'))){_0x335e48[_0xf071('0x21')]=qs[_0xf071('0x21')](_0x341e54[_0xf071('0x31')]['limit']);_0x335e48['offset']=qs['offset'](_0x341e54['query']['offset']);}return _0x1df270[_0xf071('0x5a')](_0x335e48);}})[_0xf071('0x27')](function(_0x4049a4){if(_0x4049a4){return _0x4049a4?{'count':_0x273df4,'rows':_0x4049a4}:null;}})['then'](respondWithResult(_0x52f12c,null))['catch'](handleError(_0x52f12c,null));};
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.events.js b/server/api/chatGroup/chatGroup.events.js
index 930adab..09a113c 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 _0x3c91=['update','remove','emit','hasOwnProperty','events','../../mysqldb','ChatGroup'];(function(_0x5cabfd,_0x5dea47){var _0x4bc06c=function(_0x4a2fea){while(--_0x4a2fea){_0x5cabfd['push'](_0x5cabfd['shift']());}};_0x4bc06c(++_0x5dea47);}(_0x3c91,0x1af));var _0x13c9=function(_0x2105ed,_0x3d8ea2){_0x2105ed=_0x2105ed-0x0;var _0x8371e1=_0x3c91[_0x2105ed];return _0x8371e1;};'use strict';var EventEmitter=require(_0x13c9('0x0'));var ChatGroup=require(_0x13c9('0x1'))['db'][_0x13c9('0x2')];var ChatGroupEvents=new EventEmitter();ChatGroupEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x13c9('0x3'),'afterDestroy':_0x13c9('0x4')};function emitEvent(_0x3e955c){return function(_0x4eec3a,_0x305980,_0x45854a){ChatGroupEvents[_0x13c9('0x5')](_0x3e955c+':'+_0x4eec3a['id'],_0x4eec3a);ChatGroupEvents[_0x13c9('0x5')](_0x3e955c,_0x4eec3a);_0x45854a(null);};}for(var e in events){if(events[_0x13c9('0x6')](e)){var event=events[e];ChatGroup['hook'](e,emitEvent(event));}}module['exports']=ChatGroupEvents;
\ No newline at end of file
+var _0x3189=['update','remove','emit','hasOwnProperty','exports','events','ChatGroup','setMaxListeners','save'];(function(_0x3b8c4f,_0x3de4de){var _0x5793bc=function(_0x1baef8){while(--_0x1baef8){_0x3b8c4f['push'](_0x3b8c4f['shift']());}};_0x5793bc(++_0x3de4de);}(_0x3189,0x19a));var _0x9318=function(_0x2d2421,_0x3422d6){_0x2d2421=_0x2d2421-0x0;var _0x341708=_0x3189[_0x2d2421];return _0x341708;};'use strict';var EventEmitter=require(_0x9318('0x0'));var ChatGroup=require('../../mysqldb')['db'][_0x9318('0x1')];var ChatGroupEvents=new EventEmitter();ChatGroupEvents[_0x9318('0x2')](0x0);var events={'afterCreate':_0x9318('0x3'),'afterUpdate':_0x9318('0x4'),'afterDestroy':_0x9318('0x5')};function emitEvent(_0x5b33c1){return function(_0x6ee8e8,_0x88ded7,_0x2920b4){ChatGroupEvents[_0x9318('0x6')](_0x5b33c1+':'+_0x6ee8e8['id'],_0x6ee8e8);ChatGroupEvents[_0x9318('0x6')](_0x5b33c1,_0x6ee8e8);_0x2920b4(null);};}for(var e in events){if(events[_0x9318('0x7')](e)){var event=events[e];ChatGroup['hook'](e,emitEvent(event));}}module[_0x9318('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 c7cf491..45cb756 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 _0x6be8=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','ChatGroup','chat_groups','util','../../config/logger','api'];(function(_0x5a6cda,_0x23767e){var _0x2d660b=function(_0x3eae03){while(--_0x3eae03){_0x5a6cda['push'](_0x5a6cda['shift']());}};_0x2d660b(++_0x23767e);}(_0x6be8,0x190));var _0x86be=function(_0x31fe93,_0x323946){_0x31fe93=_0x31fe93-0x0;var _0x3d7768=_0x6be8[_0x31fe93];return _0x3d7768;};'use strict';var _=require('lodash');var util=require(_0x86be('0x0'));var logger=require(_0x86be('0x1'))(_0x86be('0x2'));var moment=require(_0x86be('0x3'));var BPromise=require(_0x86be('0x4'));var rp=require(_0x86be('0x5'));var fs=require('fs');var path=require(_0x86be('0x6'));var rimraf=require(_0x86be('0x7'));var config=require(_0x86be('0x8'));var attributes=require('./chatGroup.attributes');module[_0x86be('0x9')]=function(_0x3364a1,_0x237248){return _0x3364a1[_0x86be('0xa')](_0x86be('0xb'),attributes,{'tableName':_0x86be('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x848e=['path','rimraf','../../config/environment','./chatGroup.attributes','exports','define','ChatGroup','lodash','util','../../config/logger','api','moment'];(function(_0x126364,_0xeba548){var _0x4fc360=function(_0x13fddd){while(--_0x13fddd){_0x126364['push'](_0x126364['shift']());}};_0x4fc360(++_0xeba548);}(_0x848e,0xd3));var _0xe848=function(_0x18d945,_0x11e617){_0x18d945=_0x18d945-0x0;var _0x44328b=_0x848e[_0x18d945];return _0x44328b;};'use strict';var _=require(_0xe848('0x0'));var util=require(_0xe848('0x1'));var logger=require(_0xe848('0x2'))(_0xe848('0x3'));var moment=require(_0xe848('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe848('0x5'));var rimraf=require(_0xe848('0x6'));var config=require(_0xe848('0x7'));var attributes=require(_0xe848('0x8'));module[_0xe848('0x9')]=function(_0x2287ca,_0x491de1){return _0x2287ca[_0xe848('0xa')](_0xe848('0xb'),attributes,{'tableName':'chat_groups','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 2a98a14..c0524b8 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 _0xdab2=['request\x20sent','ChatGroup,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./chatGroup.socket','then','info','ChatGroup,\x20%s,\x20%s'];(function(_0x140f21,_0x3e9551){var _0x573a18=function(_0x2b85c0){while(--_0x2b85c0){_0x140f21['push'](_0x140f21['shift']());}};_0x573a18(++_0x3e9551);}(_0xdab2,0x130));var _0x2dab=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdab2[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x2dab('0x0'));var util=require(_0x2dab('0x1'));var moment=require('moment');var BPromise=require(_0x2dab('0x2'));var rs=require(_0x2dab('0x3'));var fs=require('fs');var Redis=require(_0x2dab('0x4'));var db=require(_0x2dab('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x2dab('0x6'))(_0x2dab('0x7'));var config=require(_0x2dab('0x8'));var jayson=require(_0x2dab('0x9'));var client=jayson[_0x2dab('0xa')][_0x2dab('0xb')]({'port':0x232a});config[_0x2dab('0xc')]=_[_0x2dab('0xd')](config[_0x2dab('0xc')],{'host':_0x2dab('0xe'),'port':0x18eb});var socket=require(_0x2dab('0xf'))(new Redis(config[_0x2dab('0xc')]));require(_0x2dab('0x10'))['register'](socket);function respondWithRpcPromise(_0x596950,_0x26852f,_0x18db7b){return new BPromise(function(_0x1e258e,_0x4bc28b){return client['request'](_0x596950,_0x18db7b)[_0x2dab('0x11')](function(_0x3e7252){logger[_0x2dab('0x12')](_0x2dab('0x13'),_0x26852f,_0x2dab('0x14'));logger['debug'](_0x2dab('0x15'),_0x26852f,_0x2dab('0x14'),JSON['stringify'](_0x3e7252));if(_0x3e7252[_0x2dab('0x16')]){if(_0x3e7252[_0x2dab('0x16')][_0x2dab('0x17')]===0x1f4){logger['error'](_0x2dab('0x13'),_0x26852f,_0x3e7252[_0x2dab('0x16')]['message']);return _0x4bc28b(_0x3e7252[_0x2dab('0x16')][_0x2dab('0x18')]);}logger[_0x2dab('0x16')](_0x2dab('0x13'),_0x26852f,_0x3e7252[_0x2dab('0x16')]['message']);return _0x1e258e(_0x3e7252[_0x2dab('0x16')][_0x2dab('0x18')]);}else{logger[_0x2dab('0x12')](_0x2dab('0x13'),_0x26852f,_0x2dab('0x14'));_0x1e258e(_0x3e7252[_0x2dab('0x19')]['message']);}})[_0x2dab('0x1a')](function(_0x366e7c){logger[_0x2dab('0x16')]('ChatGroup,\x20%s,\x20%s',_0x26852f,_0x366e7c);_0x4bc28b(_0x366e7c);});});}
\ No newline at end of file
+var _0xf61e=['client','http','defaults','localhost','socket.io-emitter','redis','./chatGroup.socket','register','request','ChatGroup,\x20%s,\x20%s','request\x20sent','debug','ChatGroup,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','lodash','util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0xcf539f,_0x569e47){var _0x3d9c50=function(_0x2864bc){while(--_0x2864bc){_0xcf539f['push'](_0xcf539f['shift']());}};_0x3d9c50(++_0x569e47);}(_0xf61e,0x82));var _0xef61=function(_0x41bcc3,_0x5cd04f){_0x41bcc3=_0x41bcc3-0x0;var _0x4b3c99=_0xf61e[_0x41bcc3];return _0x4b3c99;};'use strict';var _=require(_0xef61('0x0'));var util=require(_0xef61('0x1'));var moment=require(_0xef61('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xef61('0x3'));var db=require(_0xef61('0x4'))['db'];var utils=require(_0xef61('0x5'));var logger=require(_0xef61('0x6'))(_0xef61('0x7'));var config=require(_0xef61('0x8'));var jayson=require(_0xef61('0x9'));var client=jayson[_0xef61('0xa')][_0xef61('0xb')]({'port':0x232a});config['redis']=_[_0xef61('0xc')](config['redis'],{'host':_0xef61('0xd'),'port':0x18eb});var socket=require(_0xef61('0xe'))(new Redis(config[_0xef61('0xf')]));require(_0xef61('0x10'))[_0xef61('0x11')](socket);function respondWithRpcPromise(_0x5b68e9,_0x4bb153,_0x4e1f45){return new BPromise(function(_0x1721b4,_0x1e10c0){return client[_0xef61('0x12')](_0x5b68e9,_0x4e1f45)['then'](function(_0x1bfd11){logger['info'](_0xef61('0x13'),_0x4bb153,_0xef61('0x14'));logger[_0xef61('0x15')](_0xef61('0x16'),_0x4bb153,'request\x20sent',JSON[_0xef61('0x17')](_0x1bfd11));if(_0x1bfd11['error']){if(_0x1bfd11[_0xef61('0x18')][_0xef61('0x19')]===0x1f4){logger[_0xef61('0x18')](_0xef61('0x13'),_0x4bb153,_0x1bfd11[_0xef61('0x18')][_0xef61('0x1a')]);return _0x1e10c0(_0x1bfd11[_0xef61('0x18')]['message']);}logger[_0xef61('0x18')]('ChatGroup,\x20%s,\x20%s',_0x4bb153,_0x1bfd11[_0xef61('0x18')][_0xef61('0x1a')]);return _0x1721b4(_0x1bfd11[_0xef61('0x18')][_0xef61('0x1a')]);}else{logger[_0xef61('0x1b')]('ChatGroup,\x20%s,\x20%s',_0x4bb153,_0xef61('0x14'));_0x1721b4(_0x1bfd11['result'][_0xef61('0x1a')]);}})['catch'](function(_0x2368b3){logger[_0xef61('0x18')]('ChatGroup,\x20%s,\x20%s',_0x4bb153,_0x2368b3);_0x1e10c0(_0x2368b3);});});}
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.socket.js b/server/api/chatGroup/chatGroup.socket.js
index 04d4a92..e6a2cd8 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 _0x7809=['removeListener','register','chatGroup:','./chatGroup.events','save','remove'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0x7809,0xe1));var _0x9780=function(_0x430827,_0x124255){_0x430827=_0x430827-0x0;var _0x213ac4=_0x7809[_0x430827];return _0x213ac4;};'use strict';var ChatGroupEvents=require(_0x9780('0x0'));var events=[_0x9780('0x1'),_0x9780('0x2'),'update'];function createListener(_0x2a1337,_0x496433){return function(_0x36734c){_0x496433['emit'](_0x2a1337,_0x36734c);};}function removeListener(_0x53d150,_0x1cc06f){return function(){ChatGroupEvents[_0x9780('0x3')](_0x53d150,_0x1cc06f);};}exports[_0x9780('0x4')]=function(_0xc941da){for(var _0x4a68f9=0x0,_0x10b7cc=events['length'];_0x4a68f9<_0x10b7cc;_0x4a68f9++){var _0x1dac89=events[_0x4a68f9];var _0x43a7a7=createListener(_0x9780('0x5')+_0x1dac89,_0xc941da);ChatGroupEvents['on'](_0x1dac89,_0x43a7a7);}};
\ No newline at end of file
+var _0xc0aa=['length','chatGroup:','./chatGroup.events','save','remove','update','emit'];(function(_0x3df1a8,_0x14c6a0){var _0x52e372=function(_0x1a8218){while(--_0x1a8218){_0x3df1a8['push'](_0x3df1a8['shift']());}};_0x52e372(++_0x14c6a0);}(_0xc0aa,0x136));var _0xac0a=function(_0x3aeef3,_0x5b039a){_0x3aeef3=_0x3aeef3-0x0;var _0x4844f8=_0xc0aa[_0x3aeef3];return _0x4844f8;};'use strict';var ChatGroupEvents=require(_0xac0a('0x0'));var events=[_0xac0a('0x1'),_0xac0a('0x2'),_0xac0a('0x3')];function createListener(_0x129334,_0x1f467b){return function(_0x413dd1){_0x1f467b[_0xac0a('0x4')](_0x129334,_0x413dd1);};}function removeListener(_0x5de74a,_0x55d52c){return function(){ChatGroupEvents['removeListener'](_0x5de74a,_0x55d52c);};}exports['register']=function(_0x2e4e16){for(var _0x332d2c=0x0,_0x891c9f=events[_0xac0a('0x5')];_0x332d2c<_0x891c9f;_0x332d2c++){var _0x3a99de=events[_0x332d2c];var _0x175f7e=createListener(_0xac0a('0x6')+_0x3a99de,_0x2e4e16);ChatGroupEvents['on'](_0x3a99de,_0x175f7e);}};
\ No newline at end of file
diff --git a/server/api/chatGroup/index.js b/server/api/chatGroup/index.js
index 308db93..ec4514f 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 _0xc60a=['isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','getMessages','create','post','/:id/messages','addMessage','update','delete','destroy','removeMembers','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatGroup.controller','get'];(function(_0x1344d6,_0x2181e6){var _0xf45b24=function(_0x2d90c1){while(--_0x2d90c1){_0x1344d6['push'](_0x1344d6['shift']());}};_0xf45b24(++_0x2181e6);}(_0xc60a,0x6b));var _0xac60=function(_0x3e86b9,_0x4ffc72){_0x3e86b9=_0x3e86b9-0x0;var _0x5c02ea=_0xc60a[_0x3e86b9];return _0x5c02ea;};'use strict';var multer=require('multer');var util=require(_0xac60('0x0'));var path=require('path');var timeout=require(_0xac60('0x1'));var express=require(_0xac60('0x2'));var router=express[_0xac60('0x3')]();var fs_extra=require(_0xac60('0x4'));var auth=require(_0xac60('0x5'));var interaction=require(_0xac60('0x6'));var config=require('../../config/environment');var controller=require(_0xac60('0x7'));router[_0xac60('0x8')]('/',auth[_0xac60('0x9')](),controller[_0xac60('0xa')]);router[_0xac60('0x8')](_0xac60('0xb'),auth[_0xac60('0x9')](),controller[_0xac60('0xc')]);router[_0xac60('0x8')](_0xac60('0xd'),auth['isAuthenticated'](),controller[_0xac60('0xe')]);router[_0xac60('0x8')](_0xac60('0xf'),auth[_0xac60('0x9')](),controller[_0xac60('0x10')]);router[_0xac60('0x8')](_0xac60('0x11'),auth[_0xac60('0x9')](),controller[_0xac60('0x12')]);router[_0xac60('0x8')]('/:id/messages',auth[_0xac60('0x9')](),controller[_0xac60('0x13')]);router['post']('/',auth['isAuthenticated'](),controller[_0xac60('0x14')]);router[_0xac60('0x15')](_0xac60('0x11'),auth[_0xac60('0x9')](),controller['addMembers']);router[_0xac60('0x15')](_0xac60('0x16'),auth[_0xac60('0x9')](),controller[_0xac60('0x17')]);router['put'](_0xac60('0xd'),auth[_0xac60('0x9')](),controller[_0xac60('0x18')]);router[_0xac60('0x19')](_0xac60('0xd'),auth[_0xac60('0x9')](),controller[_0xac60('0x1a')]);router['delete'](_0xac60('0x11'),auth[_0xac60('0x9')](),controller[_0xac60('0x1b')]);module[_0xac60('0x1c')]=router;
\ No newline at end of file
+var _0xb6b7=['/:id','delete','removeMembers','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatGroup.controller','get','index','/describe','isAuthenticated','describe','show','getUnread','/:id/members','/:id/messages','getMessages','post','addMembers','addMessage'];(function(_0x307ff8,_0x42e75d){var _0x6ed34a=function(_0x2dbfed){while(--_0x2dbfed){_0x307ff8['push'](_0x307ff8['shift']());}};_0x6ed34a(++_0x42e75d);}(_0xb6b7,0x149));var _0x7b6b=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xb6b7[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0x7b6b('0x0'));var util=require('util');var path=require(_0x7b6b('0x1'));var timeout=require('connect-timeout');var express=require(_0x7b6b('0x2'));var router=express[_0x7b6b('0x3')]();var fs_extra=require(_0x7b6b('0x4'));var auth=require(_0x7b6b('0x5'));var interaction=require(_0x7b6b('0x6'));var config=require('../../config/environment');var controller=require(_0x7b6b('0x7'));router[_0x7b6b('0x8')]('/',auth['isAuthenticated'](),controller[_0x7b6b('0x9')]);router[_0x7b6b('0x8')](_0x7b6b('0xa'),auth[_0x7b6b('0xb')](),controller[_0x7b6b('0xc')]);router[_0x7b6b('0x8')]('/:id',auth[_0x7b6b('0xb')](),controller[_0x7b6b('0xd')]);router[_0x7b6b('0x8')]('/:id/unread',auth[_0x7b6b('0xb')](),controller[_0x7b6b('0xe')]);router[_0x7b6b('0x8')](_0x7b6b('0xf'),auth[_0x7b6b('0xb')](),controller['getMembers']);router[_0x7b6b('0x8')](_0x7b6b('0x10'),auth[_0x7b6b('0xb')](),controller[_0x7b6b('0x11')]);router[_0x7b6b('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x7b6b('0x12')](_0x7b6b('0xf'),auth['isAuthenticated'](),controller[_0x7b6b('0x13')]);router[_0x7b6b('0x12')](_0x7b6b('0x10'),auth['isAuthenticated'](),controller[_0x7b6b('0x14')]);router['put'](_0x7b6b('0x15'),auth[_0x7b6b('0xb')](),controller['update']);router[_0x7b6b('0x16')](_0x7b6b('0x15'),auth[_0x7b6b('0xb')](),controller['destroy']);router[_0x7b6b('0x16')]('/:id/members',auth[_0x7b6b('0xb')](),controller[_0x7b6b('0x17')]);module[_0x7b6b('0x18')]=router;
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.attributes.js b/server/api/chatInteraction/chatInteraction.attributes.js
index e13ad72..db9598f 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 _0x05b6=['thumb','TEXT','STRING','DATE','long','out','sequelize','BOOLEAN','INTEGER','ENUM','star'];(function(_0x51dfe3,_0x53b9b7){var _0x28d2a2=function(_0x3fe7f9){while(--_0x3fe7f9){_0x51dfe3['push'](_0x51dfe3['shift']());}};_0x28d2a2(++_0x53b9b7);}(_0x05b6,0x74));var _0x605b=function(_0x182094,_0x269200){_0x182094=_0x182094-0x0;var _0x2e74ff=_0x05b6[_0x182094];return _0x2e74ff;};'use strict';var Sequelize=require(_0x605b('0x0'));module['exports']={'closed':{'type':Sequelize[_0x605b('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x605b('0x2')]},'ratingType':{'type':Sequelize[_0x605b('0x3')](_0x605b('0x4'),_0x605b('0x5')),'defaultValue':_0x605b('0x4')},'ratingMessage':{'type':Sequelize[_0x605b('0x6')]},'pathTranscript':{'type':Sequelize[_0x605b('0x6')]},'mailTranscript':{'type':Sequelize[_0x605b('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x605b('0x8')]},'disposition':{'type':Sequelize[_0x605b('0x7')]},'secondDisposition':{'type':Sequelize[_0x605b('0x7')]},'thirdDisposition':{'type':Sequelize[_0x605b('0x7')]},'note':{'type':Sequelize[_0x605b('0x7')]},'browserName':{'type':Sequelize[_0x605b('0x7')]},'browserVersion':{'type':Sequelize[_0x605b('0x7')]},'osName':{'type':Sequelize[_0x605b('0x7')]},'osVersion':{'type':Sequelize[_0x605b('0x7')]},'deviceModel':{'type':Sequelize[_0x605b('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x605b('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize['TEXT'](_0x605b('0x9'))},'read1stAt':{'type':Sequelize[_0x605b('0x8')]},'lastMsgAt':{'type':Sequelize[_0x605b('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x605b('0x3')]('in',_0x605b('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x605b('0x7')]},'customerPort':{'type':Sequelize[_0x605b('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x605b('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x605b('0x1')],'defaultValue':![]}};
\ No newline at end of file
+var _0xefe3=['DATE','STRING','long','out','BOOLEAN','sequelize','ENUM','star','thumb','TEXT'];(function(_0x2b19c5,_0x35c198){var _0x4f7993=function(_0x301b9b){while(--_0x301b9b){_0x2b19c5['push'](_0x2b19c5['shift']());}};_0x4f7993(++_0x35c198);}(_0xefe3,0xf5));var _0x3efe=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xefe3[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0x3efe('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x3efe('0x1')](_0x3efe('0x2'),_0x3efe('0x3')),'defaultValue':_0x3efe('0x2')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x3efe('0x4')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x3efe('0x5')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x3efe('0x6')]},'thirdDisposition':{'type':Sequelize[_0x3efe('0x6')]},'note':{'type':Sequelize[_0x3efe('0x6')]},'browserName':{'type':Sequelize[_0x3efe('0x6')]},'browserVersion':{'type':Sequelize[_0x3efe('0x6')]},'osName':{'type':Sequelize[_0x3efe('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x3efe('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x3efe('0x6')]},'referer':{'type':Sequelize[_0x3efe('0x4')]},'customerIp':{'type':Sequelize[_0x3efe('0x6')]},'formData':{'type':Sequelize[_0x3efe('0x4')](_0x3efe('0x7'))},'read1stAt':{'type':Sequelize[_0x3efe('0x5')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x3efe('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x3efe('0x6')]},'customerPort':{'type':Sequelize[_0x3efe('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x3efe('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0x3efe('0x9')],'defaultValue':![]}};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.controller.js b/server/api/chatInteraction/chatInteraction.controller.js
index 9a5baab..3a721b7 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 _0x4c4e=['YYYY-MM-DD\x20HH:mm:ss','include','findAll','getMyMessages','secret','includeAgent','alias','addTags','setTags','omit','spread','chatInteractionTags:save','removeTags','unix','files','server','attachments','transcript-%d-%s.zip','firstName','lastName','Owner','get','mkdirSync','N.A.','browserName','osName','customerIp','customerPort','existsSync','createReadStream','createWriteStream','renderFile','downloadInteraction.ejs','.pdf','Chat','createPdfFromHTML','unlinkSync','rimraf','request-promise','moment','bluebird','util','path','ejs','squel','../../components/parsers/qs','../../components/parsers/advancedSearch','../../components/export/pdf','../../config/logger','api','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','./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','sendStatus','status','end','json','undefined','count','offset','set','destroy','name','send','render','merge','body','contact','agent','account','Users','map','fullname','TagIds','Tags','split','push','waiting','talking','answered','abandoned','total','closed','UserId','disposition','index','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','nolimit','limit','order','sort','where','pick','select','field','color','from','u.fullname','left_join','users','u.id\x20=\x20ui.UserId','chat_interactions','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','chat_websites','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','sqlOperator','conditions','having','`\x20=\x200','Contact','operator','value','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','find','ContactId','buildExpression','text','start','Tag','forEach','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','$substring','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','some','i.ChatWebsiteId\x20IN\x20?','concat','parse','$gte','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20=\x20?','read','`unreadMessages`\x20>\x200','tag','isArray','filter','replace','isNumeric','i.id\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','Sequelize','QueryTypes','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','unreadMessages','contactName','DESC','isEmpty','t.id\x20IN\x20?','resolve','i.ChatWebsiteId\x20IS\x20NOT\x20NULL','user','getChatWebsites','i.ChatWebsiteId\x20IS\x20NULL','role','ChatWebsiteId','sequelize','toString','keyBy','ChatInteraction','a.key','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','c.firstName','Contact.firstName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.fax','Contact.fax','o.fullname','Owner.fullname','o.internal','Owner.internal','ui.ChatInteractionId\x20IN\x20?','groupBy','ChatInteractionId','rows','show','params','includeAll','options','create','update','describe','createVidaooSession','findOne','vidaooEscalation','vidaooTopic','vidaooMetadata','vidaooApiKey','email','POST','https://api-vidaoo.xcally.com/api/v1/meetings','isNull','vidaooNote','follow','metadata','ValidationError','Error\x20in\x20conversion\x20vidaooMetadata','join_url','out','ChatMessage','Unable\x20to\x20create\x20Vidaoo\x20session','updateAttributes','abandon','abandonInteraction,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','AbandonInteraction','file','originalname','basename','filename','Attachment','attachmentDownload','Unauthorized','attachId','ChatOfflineMessageId','offline-chat/','join','download','close','mailTranscript','root','server/files/chat/upload/','format','transcript-%s.txt','now','ChatWebsite','CmContact','Messages','agentAlias','System','customer','%s%d','Visitor','website_alias','agent_fullname','[%s]\x20%s:\x20%s\x0a','createdAt','MM/DD/YYYY\x20HH:mm:ss','direction','appendFileSync','MailAccount','Smtp','CloudProvider','SendMail','sendMail','\x22%s\x22\x20<%s>','Mail\x20Transcript','addMessage','ids','getMessages','hasOwnProperty'];(function(_0x4fcacc,_0x53e95c){var _0x72124b=function(_0xa9ea29){while(--_0xa9ea29){_0x4fcacc['push'](_0x4fcacc['shift']());}};_0x72124b(++_0x53e95c);}(_0x4c4e,0x152));var _0xe4c4=function(_0x596a4a,_0xc531cb){_0x596a4a=_0x596a4a-0x0;var _0x38b080=_0x4c4e[_0x596a4a];return _0x38b080;};'use strict';var rimraf=require(_0xe4c4('0x0'));var zipdir=require('zip-dir');var rp=require(_0xe4c4('0x1'));var moment=require(_0xe4c4('0x2'));var BPromise=require(_0xe4c4('0x3'));var Mustache=require('mustache');var util=require(_0xe4c4('0x4'));var path=require(_0xe4c4('0x5'));var ejs=require(_0xe4c4('0x6'));var fs=require('fs');var _=require('lodash');var squel=require(_0xe4c4('0x7'));var Redis=require('ioredis');var qs=require(_0xe4c4('0x8'));var as=require(_0xe4c4('0x9'));var pdf=require(_0xe4c4('0xa'));var logger=require(_0xe4c4('0xb'))(_0xe4c4('0xc'));var config=require(_0xe4c4('0xd'));var db=require(_0xe4c4('0xe'))['db'];config[_0xe4c4('0xf')]=_['defaults'](config['redis'],{'host':_0xe4c4('0x10'),'port':0x18eb});var socket=require(_0xe4c4('0x11'))(new Redis(config[_0xe4c4('0xf')]));require(_0xe4c4('0x12'))[_0xe4c4('0x13')](socket);var jayson=require(_0xe4c4('0x14'));var client=jayson['client'][_0xe4c4('0x15')]({'port':0x232b});var client9004=jayson[_0xe4c4('0x16')][_0xe4c4('0x15')]({'port':0x232c});function respondWithRpcPromise(_0x2483d0,_0x50bfab,_0x262083,_0x115802){return new BPromise(function(_0x515056,_0xe485ca){var _0x1a44e5=_0x115802||client;return _0x1a44e5['request'](_0x2483d0,_0x262083)[_0xe4c4('0x17')](function(_0x29766a){logger['info'](_0xe4c4('0x18'),_0x50bfab,_0xe4c4('0x19'));logger[_0xe4c4('0x1a')](_0xe4c4('0x1b'),_0x50bfab,_0xe4c4('0x19'),JSON[_0xe4c4('0x1c')](_0x29766a));if(_0x29766a[_0xe4c4('0x1d')]){if(_0x29766a[_0xe4c4('0x1d')][_0xe4c4('0x1e')]===0x1f4){logger[_0xe4c4('0x1d')](_0xe4c4('0x18'),_0x50bfab,_0x29766a[_0xe4c4('0x1d')][_0xe4c4('0x1f')]);return _0xe485ca(_0x29766a[_0xe4c4('0x1d')][_0xe4c4('0x1f')]);}logger['error'](_0xe4c4('0x18'),_0x50bfab,_0x29766a[_0xe4c4('0x1d')][_0xe4c4('0x1f')]);return _0x515056(_0x29766a[_0xe4c4('0x1d')]['message']);}else{logger[_0xe4c4('0x20')](_0xe4c4('0x18'),_0x50bfab,_0xe4c4('0x19'));_0x515056(_0x29766a[_0xe4c4('0x21')][_0xe4c4('0x1f')]);}})[_0xe4c4('0x22')](function(_0x1d4597){logger[_0xe4c4('0x1d')](_0xe4c4('0x18'),_0x50bfab,_0x1d4597);_0xe485ca(_0x1d4597);});});}function respondWithStatusCode(_0x1a7690,_0x210ee1){_0x210ee1=_0x210ee1||0xcc;return function(_0x3a6d39){if(_0x3a6d39){return _0x1a7690[_0xe4c4('0x23')](_0x210ee1);}return _0x1a7690[_0xe4c4('0x24')](_0x210ee1)[_0xe4c4('0x25')]();};}function respondWithResult(_0x59498e,_0x49cadc){_0x49cadc=_0x49cadc||0xc8;return function(_0x403a2c){if(_0x403a2c){return _0x59498e['status'](_0x49cadc)[_0xe4c4('0x26')](_0x403a2c);}};}function respondWithFilteredResult(_0x5374fd,_0x3adfcb){return function(_0x5efc4c){if(_0x5efc4c){var _0x34d667=typeof _0x3adfcb['offset']===_0xe4c4('0x27')&&typeof _0x3adfcb['limit']==='undefined';var _0x4cea1f=_0x5efc4c['count'];var _0x3221cd=_0x34d667?0x0:_0x3adfcb['offset'];var _0x5b5ea5=_0x34d667?_0x5efc4c[_0xe4c4('0x28')]:_0x3adfcb[_0xe4c4('0x29')]+_0x3adfcb['limit'];var _0x57ba43;if(_0x5b5ea5>=_0x4cea1f){_0x5b5ea5=_0x4cea1f;_0x57ba43=0xc8;}else{_0x57ba43=0xce;}_0x5374fd[_0xe4c4('0x24')](_0x57ba43);return _0x5374fd[_0xe4c4('0x2a')]('Content-Range',_0x3221cd+'-'+_0x5b5ea5+'/'+_0x4cea1f)[_0xe4c4('0x26')](_0x5efc4c);}return null;};}function saveUpdates(_0x2d0e2){return function(_0x3f60fc){if(_0x3f60fc){return _0x3f60fc['update'](_0x2d0e2)['then'](function(_0x46db7e){return _0x46db7e;});}return null;};}function removeEntity(_0x2c5652){return function(_0x12bde8){if(_0x12bde8){return _0x12bde8[_0xe4c4('0x2b')]()['then'](function(){_0x2c5652['status'](0xcc)[_0xe4c4('0x25')]();});}};}function handleEntityNotFound(_0x2e4282){return function(_0x5d0ba5){if(!_0x5d0ba5){_0x2e4282[_0xe4c4('0x23')](0x194);}return _0x5d0ba5;};}function handleError(_0x1ad3e6,_0x835e8c){_0x835e8c=_0x835e8c||0x1f4;return function(_0x59b5d1){logger[_0xe4c4('0x1d')](_0x59b5d1['stack']);if(_0x59b5d1[_0xe4c4('0x2c')]){delete _0x59b5d1[_0xe4c4('0x2c')];}_0x1ad3e6[_0xe4c4('0x24')](_0x835e8c)[_0xe4c4('0x2d')](_0x59b5d1);};}function getMustacheRender(_0x2bd5c1,_0x43c1ec){return Mustache[_0xe4c4('0x2e')](_0x2bd5c1,_[_0xe4c4('0x2f')](_0x43c1ec[_0xe4c4('0x30')],{'contact':_0x43c1ec[_0xe4c4('0x31')],'message':_0x43c1ec[_0xe4c4('0x1f')],'agent':_0x43c1ec[_0xe4c4('0x32')],'interaction':_0x43c1ec['interaction'],'account':_0x43c1ec[_0xe4c4('0x33')]}))||'';}function getInteractionUsers(_0x25eb81,_0x3d598a){return new BPromise(function(_0x518018,_0xac6cb4){try{if(_0x3d598a[_0x25eb81['id']]){_0x25eb81[_0xe4c4('0x34')]=_[_0xe4c4('0x35')](_0x3d598a[_0x25eb81['id']],function(_0x53eb5b){return{'id':_0x53eb5b['id'],'fullname':_0x53eb5b[_0xe4c4('0x36')]};});}}catch(_0xa2e734){_0xac6cb4(_0xa2e734);}_0x518018(_0x25eb81);});}function getInteractionTags(_0x4a3644,_0x1de955){return new BPromise(function(_0x413ec9,_0x10f243){try{if(_0x4a3644[_0xe4c4('0x37')]){_0x4a3644[_0xe4c4('0x38')]=[];_0x4a3644[_0xe4c4('0x37')][_0xe4c4('0x39')](',')['forEach'](function(_0x153df2){_0x4a3644[_0xe4c4('0x38')][_0xe4c4('0x3a')](_0x1de955[_0x153df2]);});}delete _0x4a3644[_0xe4c4('0x37')];}catch(_0x4c5551){_0x10f243(_0x4c5551);}_0x413ec9(_0x4a3644);});}function updateChatInteraction(_0x2362d6,_0xc50508,_0x4e6bd9){return new BPromise(function(_0xa5534c,_0x185959){return getInteractionUsers(_0x2362d6,_0x4e6bd9)['then'](function(_0x433f0c){return getInteractionTags(_0x433f0c,_0xc50508);})[_0xe4c4('0x17')](function(_0x127bcd){return getStateInteraction(_0x127bcd);})[_0xe4c4('0x17')](function(_0x370117){_0xa5534c(_0x370117);})[_0xe4c4('0x22')](function(_0x96dd48){_0x185959(_0x96dd48);});});}function getStateInteraction(_0x43201e){return new BPromise(function(_0x1e457c){_0x43201e[_0xe4c4('0x3b')]=0x0;_0x43201e[_0xe4c4('0x3c')]=0x0;_0x43201e[_0xe4c4('0x3d')]=0x0;_0x43201e['unmanaged']=0x0;_0x43201e[_0xe4c4('0x3e')]=0x0;_0x43201e[_0xe4c4('0x3f')]=0x0;if(!_0x43201e[_0xe4c4('0x40')]&&!_0x43201e[_0xe4c4('0x41')]){_0x43201e[_0xe4c4('0x3b')]+=0x1;}if(!_0x43201e[_0xe4c4('0x40')]&&_0x43201e['UserId']){_0x43201e[_0xe4c4('0x3c')]+=0x1;if(_0x43201e['waiting']){_0x43201e[_0xe4c4('0x3b')]-=0x1;}}if(_0x43201e[_0xe4c4('0x40')]&&_0x43201e[_0xe4c4('0x42')]===_0xe4c4('0x3e')){_0x43201e[_0xe4c4('0x3e')]+=0x1;if(_0x43201e['waiting']){_0x43201e['waiting']-=0x1;}}else if(_0x43201e[_0xe4c4('0x40')]&&!_0x43201e[_0xe4c4('0x41')]&&_0x43201e[_0xe4c4('0x42')]){_0x43201e['unmanaged']+=0x1;if(_0x43201e[_0xe4c4('0x3b')]){_0x43201e[_0xe4c4('0x3b')]-=0x1;}}else if(_0x43201e[_0xe4c4('0x40')]&&_0x43201e[_0xe4c4('0x41')]){_0x43201e['answered']+=0x1;if(_0x43201e[_0xe4c4('0x3c')]){_0x43201e[_0xe4c4('0x3c')]-=0x1;}}_0x43201e[_0xe4c4('0x3f')]+=0x1;_0x1e457c(_0x43201e);});}exports[_0xe4c4('0x43')]=function(_0x6bf1ee,_0x1e459e){var _0x1eda5e={},_0x176712={},_0x3ee4db={'count':0x0,'rows':[]};var _0x5c7c4d=_[_0xe4c4('0x35')](db['ChatInteraction'][_0xe4c4('0x44')],function(_0x7a40c2){return{'name':_0x7a40c2[_0xe4c4('0x45')],'type':_0x7a40c2[_0xe4c4('0x46')][_0xe4c4('0x47')]};});_0x176712[_0xe4c4('0x48')]=_[_0xe4c4('0x35')](_0x5c7c4d,_0xe4c4('0x2c'));_0x176712[_0xe4c4('0x49')]=_[_0xe4c4('0x4a')](_0x6bf1ee[_0xe4c4('0x49')]);_0x176712[_0xe4c4('0x4b')]=_[_0xe4c4('0x4c')](_0x176712[_0xe4c4('0x48')],_0x176712['query']);_0x1eda5e['attributes']=_[_0xe4c4('0x4c')](_0x176712[_0xe4c4('0x48')],qs['fields'](_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x4d')]));_0x1eda5e[_0xe4c4('0x4e')]=_0x1eda5e[_0xe4c4('0x4e')][_0xe4c4('0x4f')]?_0x1eda5e['attributes']:_0x176712[_0xe4c4('0x48')];if(!_0x6bf1ee[_0xe4c4('0x49')]['hasOwnProperty'](_0xe4c4('0x50'))){_0x1eda5e[_0xe4c4('0x51')]=qs['limit'](_0x6bf1ee[_0xe4c4('0x49')]['limit']);_0x1eda5e[_0xe4c4('0x29')]=qs[_0xe4c4('0x29')](_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x29')]);}_0x1eda5e[_0xe4c4('0x52')]=qs['sort'](_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x53')]);_0x1eda5e[_0xe4c4('0x54')]=qs[_0xe4c4('0x4b')](_[_0xe4c4('0x55')](_0x6bf1ee[_0xe4c4('0x49')],_0x176712[_0xe4c4('0x4b')]),_0x5c7c4d);var _0x3aa205=[];var _0x1a96ba=squel[_0xe4c4('0x56')]()[_0xe4c4('0x57')]('id')[_0xe4c4('0x57')](_0xe4c4('0x2c'))[_0xe4c4('0x57')](_0xe4c4('0x58'))[_0xe4c4('0x59')]('tools_tags');var _0x11a7b9=squel[_0xe4c4('0x56')]()[_0xe4c4('0x57')]('u.id')[_0xe4c4('0x57')](_0xe4c4('0x5a'))[_0xe4c4('0x57')]('ui.ChatInteractionId')[_0xe4c4('0x59')]('user_has_chat_interactions','ui')[_0xe4c4('0x5b')](_0xe4c4('0x5c'),'u',_0xe4c4('0x5d'));var _0x5b7194=squel['select']()[_0xe4c4('0x59')](_0xe4c4('0x5e'),'i')[_0xe4c4('0x5b')]('cm_contacts','c',_0xe4c4('0x5f'))['left_join']('users','o','o.id\x20=\x20i.UserId')['left_join'](_0xe4c4('0x60'),'a',_0xe4c4('0x61'))[_0xe4c4('0x5b')](_0xe4c4('0x62'),'me',_0xe4c4('0x63'))[_0xe4c4('0x5b')]('chat_interaction_has_tags','it',_0xe4c4('0x64'))[_0xe4c4('0x5b')](_0xe4c4('0x65'),'t',_0xe4c4('0x66'));var _0x261341=squel[_0xe4c4('0x67')]();var _0x554ddb=[];var _0x531137=squel[_0xe4c4('0x67')]();var _0x6f374e;if(_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x68')]){_0x6f374e=as[_0xe4c4('0x69')](_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x68')]);var _0x24e1a2=_0x6f374e[_0xe4c4('0x6a')];for(var _0x5a0cbd=0x0;_0x5a0cbd<_0x6f374e['conditions'][_0xe4c4('0x4f')];_0x5a0cbd++){var _0x56f32e=_0x6f374e[_0xe4c4('0x6b')][_0x5a0cbd];var _0x11ce76='i';var _0x2f33ea=_['find'](_0x5c7c4d,[_0xe4c4('0x2c'),_0x56f32e['field']]);if(!_0x2f33ea){switch(_0x56f32e[_0xe4c4('0x57')]){case'unreadMessages':if(_0x56f32e['value']==0x1){_0x5b7194[_0xe4c4('0x6c')]('`'+_0x56f32e[_0xe4c4('0x57')]+_0xe4c4('0x6d'));}else{_0x5b7194['having']('`'+_0x56f32e['field']+'`\x20>\x200');}break;case _0xe4c4('0x6e'):if(_0x56f32e[_0xe4c4('0x6f')]==='$substring'){if(_0x56f32e[_0xe4c4('0x70')][_0xe4c4('0x39')]('\x20')[_0xe4c4('0x4f')]>0x1){_0x261341[_0x24e1a2]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs['getFullTextValue'](_0x56f32e[_0xe4c4('0x70')]),null);}else{var _0x2e9185='%'+_0x56f32e[_0xe4c4('0x70')]+'%';_0x261341[_0x24e1a2](_0xe4c4('0x71'),_0x2e9185,_0x2e9185,_0x2e9185);}}else{_0x2f33ea=_[_0xe4c4('0x72')](_0x5c7c4d,[_0xe4c4('0x2c'),'ContactId']);_0x56f32e[_0xe4c4('0x57')]=_0xe4c4('0x73');_0xb40f8a=as[_0xe4c4('0x74')](_0x11ce76,_0x2f33ea['type'],_0x56f32e);_0x261341[_0x24e1a2](_0xb40f8a[_0xe4c4('0x75')],_0xb40f8a[_0xe4c4('0x70')][_0xe4c4('0x76')],_0xb40f8a['value']['end']);}break;case _0xe4c4('0x77'):var _0x5dbd4d=_0x56f32e['value'][_0xe4c4('0x39')](',')[_0xe4c4('0x35')](function(_0x16c4c9){return Number(_0x16c4c9);});_0x5dbd4d[_0xe4c4('0x78')](function(_0x2d338b){_0x531137['or'](_0xe4c4('0x79'),'%,'+_0x2d338b+',%');});_0x554ddb=_[_0xe4c4('0x7a')](_0x554ddb,_0x5dbd4d);break;case _0xe4c4('0x7b'):if(_0x56f32e['operator']===_0xe4c4('0x7c')){_0x261341[_0x24e1a2](_0xe4c4('0x7d'),'%'+_0x56f32e['value']+'%',null);}else{_0x2f33ea=_['find'](_0x5c7c4d,[_0xe4c4('0x2c'),_0xe4c4('0x41')]);_0x56f32e[_0xe4c4('0x57')]=_0xe4c4('0x41');_0xb40f8a=as['buildExpression'](_0x11ce76,_0x2f33ea[_0xe4c4('0x46')],_0x56f32e);_0x261341[_0x24e1a2](_0xb40f8a[_0xe4c4('0x75')],_0xb40f8a[_0xe4c4('0x70')]['start'],_0xb40f8a['value'][_0xe4c4('0x25')]);}break;case _0xe4c4('0x30'):_0xb40f8a=as[_0xe4c4('0x74')]('me',null,_0x56f32e);_0x261341[_0x24e1a2](_0xb40f8a[_0xe4c4('0x75')],_0xb40f8a['value']['start'],_0xb40f8a[_0xe4c4('0x70')][_0xe4c4('0x25')]);break;}}else{var _0xb40f8a=as[_0xe4c4('0x74')](_0x11ce76,_0x2f33ea[_0xe4c4('0x46')],_0x56f32e);_0x261341[_0x24e1a2](_0xb40f8a['text'],_0xb40f8a[_0xe4c4('0x70')]['start'],_0xb40f8a[_0xe4c4('0x70')][_0xe4c4('0x25')]);}}}else{var _0x4a1fc0=_(_0x6bf1ee['query'])[_0xe4c4('0x4a')]()[_0xe4c4('0x35')](function(_0x250bb8){return _[_0xe4c4('0x7e')](_0x5c7c4d,[_0xe4c4('0x2c'),_0x250bb8])?_0x250bb8:undefined;})['compact']()['value']();if(!_['isEmpty'](_0x4a1fc0)){_0x4a1fc0[_0xe4c4('0x78')](function(_0x3285f4){if(_0x3285f4==='ChatWebsiteId'){_0x5b7194[_0xe4c4('0x54')](_0xe4c4('0x7f'),[][_0xe4c4('0x80')](_0x6bf1ee[_0xe4c4('0x49')][_0x3285f4]));}else if(_0x3285f4==='createdAt'){var _0x5ca600=JSON[_0xe4c4('0x81')](_0x6bf1ee[_0xe4c4('0x49')][_0x3285f4])[_0xe4c4('0x82')];var _0x25f215=JSON[_0xe4c4('0x81')](_0x6bf1ee[_0xe4c4('0x49')][_0x3285f4])[_0xe4c4('0x83')];_0x5b7194['where'](_0xe4c4('0x84'),_0x5ca600,_0x25f215);}else{if(_0x6bf1ee[_0xe4c4('0x49')][_0x3285f4]===_0xe4c4('0x85')){_0x5b7194[_0xe4c4('0x54')]('i.'+_0x3285f4+'\x20IS\x20NULL');}else{_0x5b7194[_0xe4c4('0x54')]('i.'+_0x3285f4+_0xe4c4('0x86'),_0x6bf1ee[_0xe4c4('0x49')][_0x3285f4]);}}});}if(_0x6bf1ee[_0xe4c4('0x49')]['read']){if(_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x87')]==0x1){_0x5b7194['having']('`unreadMessages`\x20=\x200');}else{_0x5b7194[_0xe4c4('0x6c')](_0xe4c4('0x88'));}}if(_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x89')]){_0x554ddb=_[_0xe4c4('0x8a')](_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x89')])?_0x6bf1ee[_0xe4c4('0x49')]['tag']:new Array(_0x6bf1ee['query'][_0xe4c4('0x89')]);_0x554ddb[_0xe4c4('0x78')](function(_0x2a76ce){_0x531137['or'](_0xe4c4('0x79'),'%,'+_0x2a76ce+',%');});}if(_0x6bf1ee[_0xe4c4('0x49')]['filter']){var _0x41aa14=_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x8b')][_0xe4c4('0x8c')]('\x5c','\x5c\x5c')[_0xe4c4('0x8c')](/'/g,'\x27\x27');if(qs[_0xe4c4('0x8d')](_0x41aa14)){_0x261341['or'](_0xe4c4('0x8e'),_0x41aa14+'%');}else{_0x261341['or'](_0xe4c4('0x8f'),qs[_0xe4c4('0x90')](_0x41aa14))['or'](_0xe4c4('0x91'),_0x41aa14+'%');}}}_0x5b7194[_0xe4c4('0x54')](_0x261341);_0x5b7194[_0xe4c4('0x92')](_0xe4c4('0x93'));var _0x289d20={'type':db[_0xe4c4('0x94')][_0xe4c4('0x95')]['SELECT'],'raw':!![]};var _0x4f2d02=_0x5b7194[_0xe4c4('0x96')]();_0x4f2d02['field'](_0xe4c4('0x93'));_0x4f2d02[_0xe4c4('0x57')](_0xe4c4('0x97'),_0xe4c4('0x98'));if(_0x1eda5e[_0xe4c4('0x52')]){_0x1eda5e[_0xe4c4('0x52')][_0xe4c4('0x78')](function(_0x2b9bf5){var _0x371947=_0x2b9bf5[0x0]===_0xe4c4('0x99')?_0x2b9bf5[0x0]:'i.'+_0x2b9bf5[0x0];_0x5b7194[_0xe4c4('0x52')](_0x371947,_0x2b9bf5[0x1]===_0xe4c4('0x9a')?![]:!![]);});}if(!_[_0xe4c4('0x9b')](_0x554ddb)){_0x5b7194['having'](_0x531137);_0x4f2d02[_0xe4c4('0x54')](_0xe4c4('0x9c'),_0x554ddb);}BPromise[_0xe4c4('0x9d')]()[_0xe4c4('0x17')](function(){if(!_0x6f374e){if(_0x6bf1ee[_0xe4c4('0x49')]['ChatWebsiteId'])return;_0x4f2d02[_0xe4c4('0x54')](_0xe4c4('0x9e'));_0x5b7194['where'](_0xe4c4('0x9e'));return;}if(_0x6bf1ee[_0xe4c4('0x9f')]['role']!=='agent')return;return _0x6bf1ee['user'][_0xe4c4('0xa0')]({'attributes':['id'],'raw':!![]})['then'](function(_0x441ca8){if(_[_0xe4c4('0x9b')](_0x441ca8)){_0x4f2d02[_0xe4c4('0x54')]('i.ChatWebsiteId\x20IS\x20NULL');_0x5b7194[_0xe4c4('0x54')](_0xe4c4('0xa1'));}else{_0x4f2d02[_0xe4c4('0x54')]('i.ChatWebsiteId\x20IN\x20?',_['map'](_0x441ca8,'id'));_0x5b7194['where'](_0xe4c4('0x7f'),_[_0xe4c4('0x35')](_0x441ca8,'id'));}});})[_0xe4c4('0x17')](function(){if(_0x6bf1ee['user'][_0xe4c4('0xa2')]===_0xe4c4('0x32')&&!_0x6f374e&&!_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0xa3')])return[];return db[_0xe4c4('0xa4')]['query'](_0x4f2d02[_0xe4c4('0xa5')](),_0x289d20);})[_0xe4c4('0x17')](function(_0x24c9b0){_0x3ee4db['count']=_0x24c9b0[_0xe4c4('0x4f')];if(_0x3ee4db[_0xe4c4('0x28')]===0x0)return[];return db[_0xe4c4('0xa4')]['query'](_0x1a96ba[_0xe4c4('0xa5')](),_0x289d20)[_0xe4c4('0x17')](function(_0x47d67d){_0x3aa205=_[_0xe4c4('0xa6')](_0x47d67d,'id');_0x289d20=_[_0xe4c4('0x2f')](_0x289d20,{'model':db[_0xe4c4('0xa7')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x6bf1ee[_0xe4c4('0x49')][_0xe4c4('0x4d')]){_0x1eda5e[_0xe4c4('0x4e')][_0xe4c4('0x78')](function(_0x4df5c1){_0x5b7194['field']('i.'+_0x4df5c1);});}else{_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0x97'),_0xe4c4('0x98'));_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xa8'),'Account.key');_0x5b7194[_0xe4c4('0x57')]('a.mandatoryDisposition',_0xe4c4('0xa9'));_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xaa'),'contactName');_0x5b7194['field']('i.*');_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xab'),_0xe4c4('0xac'));_0x5b7194[_0xe4c4('0x57')]('c.lastName',_0xe4c4('0xad'));_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xae'),_0xe4c4('0xaf'));_0x5b7194['field'](_0xe4c4('0xb0'),_0xe4c4('0xb1'));_0x5b7194['field']('c.mobile','Contact.mobile');_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xb2'),_0xe4c4('0xb3'));_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xb4'),_0xe4c4('0xb5'));_0x5b7194[_0xe4c4('0x57')](_0xe4c4('0xb6'),_0xe4c4('0xb7'));_0x5b7194[_0xe4c4('0x57')]('GROUP_CONCAT(DISTINCT\x20t.id)','TagIds');}if(_0x1eda5e[_0xe4c4('0x51')])_0x5b7194[_0xe4c4('0x51')](_0x1eda5e[_0xe4c4('0x51')]);if(_0x1eda5e['offset'])_0x5b7194[_0xe4c4('0x29')](_0x1eda5e[_0xe4c4('0x29')]);return db['sequelize'][_0xe4c4('0x49')](_0x5b7194['toString'](),_0x289d20);})[_0xe4c4('0x17')](function(_0x534dee){if(_0x534dee[_0xe4c4('0x4f')]>0x0)_0x11a7b9[_0xe4c4('0x54')](_0xe4c4('0xb8'),_[_0xe4c4('0x35')](_0x534dee,'id'));return db[_0xe4c4('0xa4')]['query'](_0x11a7b9['toString'](),_0x289d20)[_0xe4c4('0x17')](function(_0x5e827b){var _0x1d068a=_[_0xe4c4('0xb9')](_0x5e827b,_0xe4c4('0xba'));var _0x5138ff=[];_0x534dee[_0xe4c4('0x78')](function(_0x4b4377){_0x5138ff[_0xe4c4('0x3a')](updateChatInteraction(_0x4b4377,_0x3aa205,_0x1d068a));});return BPromise['all'](_0x5138ff);});});})['then'](function(_0x2fb74b){_0x3ee4db[_0xe4c4('0xbb')]=_0x2fb74b;return _0x3ee4db;})[_0xe4c4('0x17')](respondWithFilteredResult(_0x1e459e,_0x1eda5e))['catch'](handleError(_0x1e459e,null));};exports[_0xe4c4('0xbc')]=function(_0x42efa3,_0x123aab){var _0xd290c9={'raw':![],'where':{'id':_0x42efa3[_0xe4c4('0xbd')]['id']}},_0x5153ca={};_0x5153ca[_0xe4c4('0x48')]=_[_0xe4c4('0x4a')](db[_0xe4c4('0xa7')]['rawAttributes']);_0x5153ca['query']=_[_0xe4c4('0x4a')](_0x42efa3['query']);_0x5153ca[_0xe4c4('0x4b')]=_[_0xe4c4('0x4c')](_0x5153ca[_0xe4c4('0x48')],_0x5153ca[_0xe4c4('0x49')]);_0xd290c9['attributes']=_[_0xe4c4('0x4c')](_0x5153ca[_0xe4c4('0x48')],qs[_0xe4c4('0x4d')](_0x42efa3[_0xe4c4('0x49')]['fields']));_0xd290c9[_0xe4c4('0x4e')]=_0xd290c9['attributes']['length']?_0xd290c9['attributes']:_0x5153ca['model'];if(_0x42efa3[_0xe4c4('0x49')][_0xe4c4('0xbe')]){_0xd290c9['include']=[{'all':!![]}];}_0xd290c9=_[_0xe4c4('0x2f')]({},_0xd290c9,_0x42efa3[_0xe4c4('0xbf')]);return db[_0xe4c4('0xa7')][_0xe4c4('0x72')](_0xd290c9)['then'](handleEntityNotFound(_0x123aab,null))['then'](respondWithResult(_0x123aab,null))[_0xe4c4('0x22')](handleError(_0x123aab,null));};exports[_0xe4c4('0xc0')]=function(_0xc8168b,_0x2609d7){return db['ChatInteraction'][_0xe4c4('0xc0')](_0xc8168b[_0xe4c4('0x30')],{})[_0xe4c4('0x17')](respondWithResult(_0x2609d7,0xc9))['catch'](handleError(_0x2609d7,null));};exports[_0xe4c4('0xc1')]=function(_0x16968c,_0x435e7e){if(_0x16968c[_0xe4c4('0x30')]['id']){delete _0x16968c[_0xe4c4('0x30')]['id'];}return db[_0xe4c4('0xa7')][_0xe4c4('0x72')]({'where':{'id':_0x16968c[_0xe4c4('0xbd')]['id']}})['then'](handleEntityNotFound(_0x435e7e,null))[_0xe4c4('0x17')](saveUpdates(_0x16968c[_0xe4c4('0x30')],null))[_0xe4c4('0x17')](respondWithResult(_0x435e7e,null))['catch'](handleError(_0x435e7e,null));};exports[_0xe4c4('0x2b')]=function(_0x2006e1,_0x56ddaf){return db[_0xe4c4('0xa7')]['find']({'where':{'id':_0x2006e1['params']['id']}})[_0xe4c4('0x17')](handleEntityNotFound(_0x56ddaf,null))[_0xe4c4('0x17')](removeEntity(_0x56ddaf,null))[_0xe4c4('0x22')](handleError(_0x56ddaf,null));};exports['describe']=function(_0x2c4934,_0x4c2c11){return db[_0xe4c4('0xa7')][_0xe4c4('0xc2')]()[_0xe4c4('0x17')](respondWithResult(_0x4c2c11,null))[_0xe4c4('0x22')](handleError(_0x4c2c11,null));};exports[_0xe4c4('0xc3')]=function(_0x9935cb,_0x5a31ca){var _0x34baa7=_0x9935cb[_0xe4c4('0xbd')]['id'];var _0x36c1ce;var _0x27040f;var _0x1946e2;return db[_0xe4c4('0xa7')]['findOne']({'where':{'id':_0x34baa7}})[_0xe4c4('0x17')](function(_0x3f6e40){_0x36c1ce=_0x3f6e40;return db['ChatWebsite'][_0xe4c4('0xc4')]({'where':{'id':_0x3f6e40[_0xe4c4('0xa3')]},'attributes':['id','vidaooApiKey',_0xe4c4('0xc5'),_0xe4c4('0xc6'),'vidaooNote',_0xe4c4('0xc7')],'raw':!![]});})[_0xe4c4('0x17')](function(_0x30aeb4){if(_0x30aeb4&&_0x30aeb4[_0xe4c4('0xc8')]&&_0x30aeb4['vidaooEscalation']){_0x27040f=_0x30aeb4;var _0x270ad7={'interaction':{'id':_0x34baa7},'agent':{'id':_0x9935cb[_0xe4c4('0x9f')]['id'],'name':_0x9935cb[_0xe4c4('0x9f')][_0xe4c4('0x2c')],'fullname':_0x9935cb[_0xe4c4('0x9f')][_0xe4c4('0x36')],'email':_0x9935cb[_0xe4c4('0x9f')][_0xe4c4('0xc9')]},'contact':_0x9935cb[_0xe4c4('0x30')]['contact'],'account':_0x9935cb['body']['account']};var _0x145388={'rejectUnauthorized':![],'method':_0xe4c4('0xca'),'url':_0xe4c4('0xcb'),'headers':{'X-APIKEY':_0x30aeb4['vidaooApiKey']},'body':{'duration':null,'scheduledAt':null,'participants':[_0x9935cb[_0xe4c4('0x9f')][_0xe4c4('0xc9')]],'buttons':null,'topic':_0x27040f[_0xe4c4('0xc6')],'note':_[_0xe4c4('0xcc')](_0x27040f[_0xe4c4('0xcd')])?null:getMustacheRender(_0x27040f[_0xe4c4('0xcd')],_0x270ad7),'metadata':null},'redirect':_0xe4c4('0xce'),'json':!![]};try{if(!_[_0xe4c4('0xcc')](_0x27040f[_0xe4c4('0xc7')])){var _0x4f93dd=getMustacheRender(_0x27040f[_0xe4c4('0xc7')],_0x270ad7);var _0x3f01fb=JSON[_0xe4c4('0x81')](_0x4f93dd);_0x145388[_0xe4c4('0x30')][_0xe4c4('0xcf')]=_0x3f01fb;}}catch(_0x249246){throw new db[(_0xe4c4('0x94'))][(_0xe4c4('0xd0'))](_0xe4c4('0xd1'));}return rp(_0x145388);}else{throw new db[(_0xe4c4('0x94'))][(_0xe4c4('0xd0'))]('Error\x20in\x20Vidaoo\x20configuration');}})[_0xe4c4('0x17')](function(_0x37ece1){_0x1946e2=_0x37ece1;if(_0x1946e2['id']){var _0x57f26b={'body':_0x1946e2[_0xe4c4('0xd2')],'ChatWebsiteId':_0x27040f['id'],'ChatInteractionId':_0x36c1ce['id'],'direction':_0xe4c4('0xd3'),'UserId':_0x9935cb[_0xe4c4('0x9f')]['id']};return db[_0xe4c4('0xd4')][_0xe4c4('0xc0')](_0x57f26b,{});}else{throw new db['Sequelize']['ValidationError'](_0xe4c4('0xd5'));}})[_0xe4c4('0x17')](function(){return _0x36c1ce[_0xe4c4('0xd6')]({'vidaooSessionId':_0x1946e2['id']});})[_0xe4c4('0x17')](respondWithResult(_0x5a31ca,null))[_0xe4c4('0x22')](handleError(_0x5a31ca,null));};exports['customUpdate']=function(_0x52b36e,_0x297c8e){if(_0x52b36e[_0xe4c4('0x30')]['id']){delete _0x52b36e[_0xe4c4('0x30')]['id'];}return db[_0xe4c4('0xa7')][_0xe4c4('0x72')]({'where':{'id':_0x52b36e[_0xe4c4('0xbd')]['id']},'include':[{'model':db['CmContact'],'as':'Contact'}]})['then'](handleEntityNotFound(_0x297c8e,null))[_0xe4c4('0x17')](saveUpdates(_0x52b36e['body'],null))[_0xe4c4('0x17')](respondWithResult(_0x297c8e,null))[_0xe4c4('0x22')](handleError(_0x297c8e,null));};exports[_0xe4c4('0xd7')]=function(_0x28c69e,_0x410f83){if(_0x28c69e[_0xe4c4('0x30')]['id']){delete _0x28c69e['body']['id'];}return db['ChatInteraction'][_0xe4c4('0x72')]({'where':{'id':_0x28c69e[_0xe4c4('0xbd')]['id']}})[_0xe4c4('0x17')](function(_0x5a9c3a){if(!_0x5a9c3a){logger[_0xe4c4('0x1d')](_0xe4c4('0xd8'),_0xe4c4('0xd7'),0x194,_0xe4c4('0xd9'));_0x410f83['sendStatus'](0x194);}else{if(_0x5a9c3a[_0xe4c4('0x41')]){throw new db[(_0xe4c4('0x94'))][(_0xe4c4('0xd0'))]('Interaction\x20already\x20assigned');}}return _0x5a9c3a;})[_0xe4c4('0x17')](function(_0x4e3287){if(_0x4e3287){return _0x4e3287[_0xe4c4('0xc1')]({'closed':_0x28c69e[_0xe4c4('0x30')][_0xe4c4('0x40')],'disposition':_0x28c69e[_0xe4c4('0x30')][_0xe4c4('0x42')]})[_0xe4c4('0x17')](function(_0x5f2b1c){return _0x5f2b1c;});}})[_0xe4c4('0x17')](function(){return respondWithRpcPromise(_0xe4c4('0xda'),_0xe4c4('0xd7'),_0x28c69e[_0xe4c4('0x30')],client9004);})[_0xe4c4('0x17')](respondWithResult(_0x410f83,null))[_0xe4c4('0x22')](handleError(_0x410f83,null));};exports['attachmentUpload']=function(_0x5cbd93,_0x2c8ba4){_0x5cbd93['body']['name']=_0x5cbd93[_0xe4c4('0xdb')][_0xe4c4('0xdc')];_0x5cbd93['body'][_0xe4c4('0xdd')]=_0x5cbd93[_0xe4c4('0xdb')][_0xe4c4('0xde')];_0x5cbd93[_0xe4c4('0x30')]['type']=_0x5cbd93[_0xe4c4('0xdb')]['mimetype'];return db[_0xe4c4('0xdf')]['create'](_0x5cbd93['body'])[_0xe4c4('0x17')](respondWithResult(_0x2c8ba4,0xc9))['catch'](handleError(_0x2c8ba4,null));};exports[_0xe4c4('0xe0')]=function(_0x2d57a2,_0x451f30){return db[_0xe4c4('0xa7')][_0xe4c4('0xc4')]({'where':{'id':_0x2d57a2[_0xe4c4('0xbd')]['id']},'raw':!![]})[_0xe4c4('0x17')](handleEntityNotFound(_0x451f30,null))[_0xe4c4('0x17')](function(_0x5a1e7e){if(_0x5a1e7e){if(_0x5a1e7e['closed']){return _0x451f30[_0xe4c4('0x24')](0x193)['json']({'status':0x193,'message':_0xe4c4('0xe1')});}return db[_0xe4c4('0xdf')][_0xe4c4('0xc4')]({'where':{'id':_0x2d57a2[_0xe4c4('0x49')][_0xe4c4('0xe2')]},'raw':!![]})[_0xe4c4('0x17')](handleEntityNotFound(_0x451f30,null));}})[_0xe4c4('0x17')](function(_0x51fc92){if(_0x51fc92){var _0x5e62a6=_0x51fc92[_0xe4c4('0xe3')]!==null;var _0x5f5cd0=path['join'](config['root'],'server/files/attachments/');if(_0x5e62a6){_0x5f5cd0=path['join'](_0x5f5cd0,_0xe4c4('0xe4'));}var _0x1433d7=path[_0xe4c4('0xe5')](_0x5f5cd0,_0x51fc92[_0xe4c4('0xdd')]);return _0x451f30[_0xe4c4('0xe6')](_0x1433d7);}})[_0xe4c4('0x22')](handleError(_0x451f30,null));};exports[_0xe4c4('0xe7')]=function(_0x624345,_0x56e875){var _0x4a1eee=null;var _0x44ef17=null;var _0x17c4f5=null;if(_0x624345[_0xe4c4('0x30')]['id']){delete _0x624345[_0xe4c4('0x30')]['id'];}if(_0x624345[_0xe4c4('0x30')][_0xe4c4('0xe8')]){_0x17c4f5=path[_0xe4c4('0xe5')](config[_0xe4c4('0xe9')],_0xe4c4('0xea'),util[_0xe4c4('0xeb')](_0xe4c4('0xec'),Date[_0xe4c4('0xed')]()));_0x624345['body']['pathTranscript']=_0x17c4f5;}return db['ChatInteraction'][_0xe4c4('0x72')]({'where':{'id':_0x624345[_0xe4c4('0xbd')]['id']},'include':[{'model':db[_0xe4c4('0xd4')],'as':'Messages','include':[{'model':db['User'],'as':_0xe4c4('0x7b')}]}]})[_0xe4c4('0x17')](handleEntityNotFound(_0x56e875,null))['then'](saveUpdates(_0x624345['body'],null))[_0xe4c4('0x17')](function(_0xb30f1e){if(_0xb30f1e){_0x4a1eee=_0xb30f1e;return db[_0xe4c4('0xee')][_0xe4c4('0x72')]({'where':{'id':_0x4a1eee[_0xe4c4('0xa3')]}});}})['then'](function(_0x1e7caa){if(_0x1e7caa){_0x44ef17=_0x1e7caa;return db[_0xe4c4('0xef')][_0xe4c4('0x72')]({'where':{'id':_0x4a1eee[_0xe4c4('0x73')]}});}})[_0xe4c4('0x17')](function(_0x478e19){if(_0x478e19){if(_0x17c4f5){var _0xcba7e3=null;for(var _0x3b8471=0x1;_0x3b8471<_0x4a1eee[_0xe4c4('0xf0')][_0xe4c4('0x4f')];++_0x3b8471){_0xcba7e3=_0x4a1eee[_0xe4c4('0xf0')][_0x3b8471];var _0x14e75f=_0xcba7e3[_0xe4c4('0x41')]?util[_0xe4c4('0xeb')]('%s%d',_0x44ef17[_0xe4c4('0xf1')],_0xcba7e3[_0xe4c4('0x41')]):_0xe4c4('0xf2');var _0x11159f=_0x624345[_0xe4c4('0x30')][_0xe4c4('0xf3')]||util[_0xe4c4('0xeb')](_0xe4c4('0xf4'),_0xe4c4('0xf5'),_0xcba7e3[_0xe4c4('0x73')]);switch(_0x44ef17['agentIdentifier']){case _0xe4c4('0xf6'):_0x14e75f=_0xcba7e3[_0xe4c4('0x41')]?util['format']('%s%d',_0x44ef17[_0xe4c4('0xf1')],_0xcba7e3[_0xe4c4('0x41')]):'System';break;case'agent_alias':_0x14e75f=_0xcba7e3[_0xe4c4('0x41')]?_0xcba7e3[_0xe4c4('0x7b')]['alias']||_0xcba7e3[_0xe4c4('0x7b')][_0xe4c4('0x36')]:_0xe4c4('0xf2');break;case _0xe4c4('0xf7'):_0x14e75f=_0xcba7e3[_0xe4c4('0x41')]?_0xcba7e3[_0xe4c4('0x7b')][_0xe4c4('0x36')]:_0xe4c4('0xf2');break;default:_0x14e75f=_0xcba7e3[_0xe4c4('0x41')]?util['format'](_0xe4c4('0xf4'),_0x44ef17[_0xe4c4('0xf1')],_0xcba7e3['UserId']):_0xe4c4('0xf2');}var _0x14624c=util[_0xe4c4('0xeb')](_0xe4c4('0xf8'),moment(_0xcba7e3[_0xe4c4('0xf9')])[_0xe4c4('0xeb')](_0xe4c4('0xfa')),_0xcba7e3[_0xe4c4('0xfb')]==='in'?_0x11159f:_0x14e75f,_0xcba7e3['body']);if(!_0xcba7e3['secret']){fs[_0xe4c4('0xfc')](_0x17c4f5,_0x14624c);}}return db[_0xe4c4('0xfd')]['findOne']({'where':{'service':!![]},'include':[{'model':db['MailServerOut'],'as':_0xe4c4('0xfe'),'raw':!![],'include':[{'model':db[_0xe4c4('0xff')],'as':_0xe4c4('0xff'),'raw':!![]}]}]});}}})[_0xe4c4('0x17')](function(_0x319cb2){if(!_0x319cb2||!_0x319cb2['Smtp']||!_0x624345[_0xe4c4('0x30')])return _0x4a1eee;var _0x422099=_0x319cb2['getSmtpOptions']();return respondWithRpcPromise(_0xe4c4('0x100'),_0xe4c4('0x101'),{'account':_0x422099,'message':{'from':util['format'](_0xe4c4('0x102'),_0x319cb2[_0xe4c4('0x2c')],_0x319cb2[_0xe4c4('0xc9')]||_0x319cb2['Smtp'][_0xe4c4('0x9f')]),'to':_0x624345['body'][_0xe4c4('0xe8')],'subject':_0xe4c4('0x103'),'text':util[_0xe4c4('0xeb')]('Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a',_0x624345[_0xe4c4('0x30')][_0xe4c4('0xe8')]),'attachments':[{'path':_0x17c4f5}]}})[_0xe4c4('0x17')](function(){return _0x4a1eee;})[_0xe4c4('0x22')](function(_0x18b728){logger[_0xe4c4('0x1d')](_0x18b728);});})[_0xe4c4('0x17')](respondWithStatusCode(_0x56e875,0xc8))[_0xe4c4('0x22')](handleError(_0x56e875,null));};exports[_0xe4c4('0x104')]=function(_0x315bbb,_0x4f5a0f){return db[_0xe4c4('0xd4')][_0xe4c4('0x72')]({'where':{'id':_0x315bbb[_0xe4c4('0xbd')]['id']}})[_0xe4c4('0x17')](handleEntityNotFound(_0x4f5a0f,null))[_0xe4c4('0x17')](function(_0xe1c20d){if(_0xe1c20d){return _0xe1c20d[_0xe4c4('0x104')](_0x315bbb[_0xe4c4('0x30')][_0xe4c4('0x105')],_['omit'](_0x315bbb[_0xe4c4('0x30')],[_0xe4c4('0x105'),'id'])||{});}})[_0xe4c4('0x17')](respondWithResult(_0x4f5a0f,null))[_0xe4c4('0x22')](handleError(_0x4f5a0f,null));};exports[_0xe4c4('0x106')]=function(_0x17b5bc,_0x35506a){var _0x1f6e04={'raw':![],'where':{}};var _0x4f7790={};var _0x4444e0={'count':0x0,'rows':[]};return db[_0xe4c4('0xa7')][_0xe4c4('0xc4')]({'where':{'id':_0x17b5bc['params']['id']}})['then'](handleEntityNotFound(_0x35506a,null))['then'](function(_0x3e1c4a){if(_0x3e1c4a){_0x4f7790[_0xe4c4('0x48')]=_['keys'](db['ChatMessage']['rawAttributes']);_0x4f7790[_0xe4c4('0x49')]=_['keys'](_0x17b5bc[_0xe4c4('0x49')]);_0x4f7790[_0xe4c4('0x4b')]=_[_0xe4c4('0x4c')](_0x4f7790[_0xe4c4('0x48')],_0x4f7790[_0xe4c4('0x49')]);_0x1f6e04[_0xe4c4('0x4e')]=_[_0xe4c4('0x4c')](_0x4f7790[_0xe4c4('0x48')],qs[_0xe4c4('0x4d')](_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x4d')]));_0x1f6e04[_0xe4c4('0x4e')]=_0x1f6e04[_0xe4c4('0x4e')][_0xe4c4('0x4f')]?_0x1f6e04[_0xe4c4('0x4e')]:_0x4f7790[_0xe4c4('0x48')];if(!_0x17b5bc['query'][_0xe4c4('0x107')](_0xe4c4('0x50'))){_0x1f6e04['limit']=qs[_0xe4c4('0x51')](_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x51')]);_0x1f6e04[_0xe4c4('0x29')]=qs[_0xe4c4('0x29')](_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x29')]);}_0x1f6e04[_0xe4c4('0x52')]=qs['sort'](_0x17b5bc['query'][_0xe4c4('0x53')]);_0x1f6e04['where']=qs['filters'](_[_0xe4c4('0x55')](_0x17b5bc[_0xe4c4('0x49')],_0x4f7790[_0xe4c4('0x4b')]));_0x1f6e04[_0xe4c4('0x54')][_0xe4c4('0xba')]=_0x3e1c4a['id'];if(_0x17b5bc['query']['filter']){_0x1f6e04[_0xe4c4('0x54')]=_[_0xe4c4('0x2f')](_0x1f6e04[_0xe4c4('0x54')],{'$or':_[_0xe4c4('0x35')](_0x1f6e04[_0xe4c4('0x4e')],function(_0x211371){var _0x570dd2={};_0x570dd2[_0x211371]={'$like':'%'+_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x8b')]+'%'};return _0x570dd2;})});}if(_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x82')]){var _0x46522f=_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0x82')][_0xe4c4('0x39')](',');var _0xe25125={};_0xe25125[_0x46522f[0x0]]={'$gte':moment(_0x46522f[0x1])[_0xe4c4('0xeb')](_0xe4c4('0x108'))};_0x1f6e04[_0xe4c4('0x54')]=_[_0xe4c4('0x2f')](_0x1f6e04[_0xe4c4('0x54')],_0xe25125);}_0x1f6e04=_[_0xe4c4('0x2f')]({},_0x1f6e04,_0x17b5bc[_0xe4c4('0xbf')]);return db[_0xe4c4('0xd4')][_0xe4c4('0x28')]({'where':_0x1f6e04[_0xe4c4('0x54')]})[_0xe4c4('0x17')](function(_0x18973e){_0x4444e0[_0xe4c4('0x28')]=_0x18973e;if(_0x17b5bc[_0xe4c4('0x49')][_0xe4c4('0xbe')]){_0x1f6e04[_0xe4c4('0x109')]=[{'all':!![]}];}return db['ChatMessage'][_0xe4c4('0x10a')](_0x1f6e04);})[_0xe4c4('0x17')](function(_0x438b19){_0x4444e0['rows']=_0x438b19;return _0x4444e0;});}})['then'](respondWithFilteredResult(_0x35506a,_0x1f6e04))['catch'](handleError(_0x35506a,null));};exports[_0xe4c4('0x10b')]=function(_0x1dc920,_0x1f8272){var _0x11bc93={'where':{}},_0x3fe1a4={},_0x589ad2={'count':0x0,'rows':[]};return db['ChatInteraction'][_0xe4c4('0xc4')]({'where':{'id':_0x1dc920[_0xe4c4('0xbd')]['id']}})[_0xe4c4('0x17')](handleEntityNotFound(_0x1f8272,null))['then'](function(_0x22f09e){if(_0x22f09e){_0x3fe1a4[_0xe4c4('0x48')]=_[_0xe4c4('0x4a')](db['ChatMessage'][_0xe4c4('0x44')]);_0x3fe1a4['query']=_['keys'](_0x1dc920[_0xe4c4('0x49')]);_0x3fe1a4['filters']=_[_0xe4c4('0x4c')](_0x3fe1a4[_0xe4c4('0x48')],_0x3fe1a4[_0xe4c4('0x49')]);_0x11bc93['attributes']=_[_0xe4c4('0x4c')](_0x3fe1a4[_0xe4c4('0x48')],qs[_0xe4c4('0x4d')](_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x4d')]));_0x11bc93[_0xe4c4('0x4e')]=_0x11bc93[_0xe4c4('0x4e')][_0xe4c4('0x4f')]?_0x11bc93[_0xe4c4('0x4e')]:_0x3fe1a4[_0xe4c4('0x48')];if(!_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x107')]('nolimit')){_0x11bc93[_0xe4c4('0x51')]=qs[_0xe4c4('0x51')](_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x51')]);_0x11bc93[_0xe4c4('0x29')]=qs['offset'](_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x29')]);}_0x11bc93[_0xe4c4('0x52')]=qs['sort'](_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x53')]);_0x11bc93[_0xe4c4('0x54')]=qs[_0xe4c4('0x4b')](_[_0xe4c4('0x55')](_0x1dc920[_0xe4c4('0x49')],_0x3fe1a4[_0xe4c4('0x4b')]));_0x11bc93[_0xe4c4('0x54')][_0xe4c4('0xba')]=_0x22f09e['id'];if(_0x1dc920['query'][_0xe4c4('0x8b')]){_0x11bc93[_0xe4c4('0x54')]=_[_0xe4c4('0x2f')](_0x11bc93[_0xe4c4('0x54')],{'$or':_[_0xe4c4('0x35')](_0x11bc93[_0xe4c4('0x4e')],function(_0x4ca179){var _0x405cc4={};_0x405cc4[_0x4ca179]={'$like':'%'+_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x8b')]+'%'};return _0x405cc4;})});}_0x11bc93['where'][_0xe4c4('0x10c')]=![];if(_0x1dc920[_0xe4c4('0x49')]['id']){_0x11bc93[_0xe4c4('0x54')]['id']={'$gt':_0x1dc920['query']['id']};}_0x11bc93=_['merge']({},_0x11bc93,_0x1dc920[_0xe4c4('0xbf')]);return db[_0xe4c4('0xd4')][_0xe4c4('0x28')]({'where':_0x11bc93['where']})[_0xe4c4('0x17')](function(_0xf526b8){_0x589ad2[_0xe4c4('0x28')]=_0xf526b8;_0x11bc93['include']=[];if(_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0x10d')]){_0x11bc93[_0xe4c4('0x109')][_0xe4c4('0x3a')]({'model':db[_0xe4c4('0x7b')],'as':_0xe4c4('0x7b'),'attributes':['id','fullname',_0xe4c4('0x10e')]});}if(_0x1dc920[_0xe4c4('0x49')][_0xe4c4('0xbe')]){_0x11bc93[_0xe4c4('0x109')]=[{'all':!![]}];}return db[_0xe4c4('0xd4')][_0xe4c4('0x10a')](_0x11bc93);})[_0xe4c4('0x17')](function(_0x16f993){_0x589ad2[_0xe4c4('0xbb')]=_0x16f993;return _0x589ad2;});}})[_0xe4c4('0x17')](respondWithFilteredResult(_0x1f8272,_0x11bc93))['catch'](handleError(_0x1f8272,null));};exports[_0xe4c4('0x10f')]=function(_0x571165,_0x1ac10e){return db['ChatInteraction'][_0xe4c4('0x72')]({'where':{'id':_0x571165['params']['id']}})['then'](handleEntityNotFound(_0x1ac10e,null))[_0xe4c4('0x17')](function(_0x16390e){if(_0x16390e){return _0x16390e[_0xe4c4('0x110')](_0x571165[_0xe4c4('0x30')][_0xe4c4('0x105')],_[_0xe4c4('0x111')](_0x571165[_0xe4c4('0x30')],[_0xe4c4('0x105'),'id'])||{})[_0xe4c4('0x112')](function(){return db[_0xe4c4('0x77')][_0xe4c4('0x10a')]({'attributes':['id',_0xe4c4('0x2c'),_0xe4c4('0x58')],'where':{'id':_0x571165['body'][_0xe4c4('0x105')]}});})[_0xe4c4('0x17')](function(_0x7b85b3){socket['emit'](_0xe4c4('0x113'),{'id':Number(_0x571165[_0xe4c4('0xbd')]['id']),'tags':_0x7b85b3||[]});return{'id':Number(_0x571165['params']['id']),'tags':_0x7b85b3||[]};});}})[_0xe4c4('0x17')](respondWithResult(_0x1ac10e,null))['catch'](handleError(_0x1ac10e,null));};exports[_0xe4c4('0x114')]=function(_0x3b4c6e,_0x51182a){return db[_0xe4c4('0xa7')][_0xe4c4('0x72')]({'where':{'id':_0x3b4c6e[_0xe4c4('0xbd')]['id']}})[_0xe4c4('0x17')](handleEntityNotFound(_0x51182a,null))[_0xe4c4('0x17')](function(_0x257ffc){if(_0x257ffc){return _0x257ffc[_0xe4c4('0x114')](_0x3b4c6e[_0xe4c4('0x49')][_0xe4c4('0x105')]);}})[_0xe4c4('0x17')](respondWithStatusCode(_0x51182a,null))[_0xe4c4('0x22')](handleError(_0x51182a,null));};exports[_0xe4c4('0xe6')]=function(_0x307198,_0x36169f){var _0x31ab16=moment()[_0xe4c4('0x115')]()['toString']();var _0x555318=path[_0xe4c4('0xe5')](config[_0xe4c4('0xe9')],'server',_0xe4c4('0x116'),'tmp');var _0x134d86=path['join'](config[_0xe4c4('0xe9')],_0xe4c4('0x117'),_0xe4c4('0x116'),_0xe4c4('0x118'));var _0x1fac1e=path[_0xe4c4('0xe5')](_0x555318,_0x31ab16);var _0x1caed0=util[_0xe4c4('0xeb')](_0xe4c4('0x119'),_0x307198[_0xe4c4('0xbd')]['id'],_0x31ab16);var _0x55cfe3=path[_0xe4c4('0xe5')](_0x555318,_0x1caed0);var _0x550c69=[];_0x550c69[_0xe4c4('0x3a')]({'model':db[_0xe4c4('0x7b')],'as':_0xe4c4('0x7b'),'attributes':['id',_0xe4c4('0x36')],'raw':!![]});_0x550c69[_0xe4c4('0x3a')]({'model':db[_0xe4c4('0xef')],'as':_0xe4c4('0x6e'),'attributes':['id',_0xe4c4('0x11a'),_0xe4c4('0x11b')],'raw':!![]});if(_0x307198[_0xe4c4('0x49')]['attachments']){_0x550c69['push']({'model':db['Attachment'],'as':_0xe4c4('0xdf'),'raw':!![]});}var _0x2391a1=[{'model':db['ChatMessage'],'as':'Messages','attributes':['id','body',_0xe4c4('0xf9'),_0xe4c4('0xfb'),_0xe4c4('0x10c'),_0xe4c4('0x87')],'include':_0x550c69}];_0x2391a1[_0xe4c4('0x3a')]({'model':db[_0xe4c4('0xee')],'as':'Account','attributes':['id',_0xe4c4('0x2c')]});_0x2391a1['push']({'model':db[_0xe4c4('0x7b')],'as':_0xe4c4('0x11c'),'attributes':['id','fullname']});return db[_0xe4c4('0xa7')][_0xe4c4('0x72')]({'where':{'id':_0x307198[_0xe4c4('0xbd')]['id']},'include':_0x2391a1})[_0xe4c4('0x17')](handleEntityNotFound(_0x36169f,null))[_0xe4c4('0x17')](function(_0x9581d){if(_0x9581d){var _0x22fc3f=_0x9581d[_0xe4c4('0x11d')]({'plain':!![]});fs[_0xe4c4('0x11e')](_0x1fac1e);var _0x200fa={'channel':'Chat','account':_0x22fc3f['Account'][_0xe4c4('0x2c')],'agent':_0x22fc3f['Owner']?_0x22fc3f['Owner'][_0xe4c4('0x36')]:_0xe4c4('0x11f'),'createdAt':moment(_0x22fc3f[_0xe4c4('0xf9')])[_0xe4c4('0xeb')](_0xe4c4('0x108'))[_0xe4c4('0xa5')](),'closedAt':_0x22fc3f[_0xe4c4('0x40')]?moment(_0x22fc3f['closedAt'])[_0xe4c4('0xeb')](_0xe4c4('0x108'))['toString']():'','disposition':_0x22fc3f[_0xe4c4('0x42')],'chatInfo':{'browser':_0x22fc3f[_0xe4c4('0x120')],'os':_0x22fc3f[_0xe4c4('0x121')],'referer':_0x22fc3f['referer'],'customerIp':_0x22fc3f[_0xe4c4('0x122')],'customerPort':_0x22fc3f[_0xe4c4('0x123')]?_0x22fc3f[_0xe4c4('0x123')]:_0xe4c4('0x11f')},'messages':_(_0x22fc3f[_0xe4c4('0xf0')])['tail']()['filter']({'secret':![]})[_0xe4c4('0x35')](function(_0x51b9a1){if(_0x51b9a1[_0xe4c4('0xdf')]){var _0x3b9327=path[_0xe4c4('0xe5')](_0x134d86,_0x51b9a1['Attachment']['basename']);if(fs[_0xe4c4('0x124')](_0x3b9327)){fs[_0xe4c4('0x125')](_0x3b9327)['pipe'](fs[_0xe4c4('0x126')](path[_0xe4c4('0xe5')](_0x1fac1e,_0x51b9a1[_0xe4c4('0xdf')][_0xe4c4('0xdd')])));}}return{'date':moment(_0x51b9a1[_0xe4c4('0xf9')])[_0xe4c4('0xeb')](_0xe4c4('0x108'))[_0xe4c4('0xa5')](),'sender':_0x51b9a1[_0xe4c4('0xfb')]===_0xe4c4('0xd3')?_0x51b9a1[_0xe4c4('0x7b')]?_0x51b9a1['User'][_0xe4c4('0x36')]:_0xe4c4('0xf2'):_0x51b9a1['Contact']['firstName']+(_0x51b9a1[_0xe4c4('0x6e')]['lastName']?'\x20'+_0x51b9a1[_0xe4c4('0x6e')][_0xe4c4('0x11b')]:''),'body':_0x51b9a1['Attachment']?_0x51b9a1[_0xe4c4('0xdf')][_0xe4c4('0xdd')]:_0x51b9a1[_0xe4c4('0x30')],'direction':_0x51b9a1[_0xe4c4('0xfb')]==='out'?'A':'C','secret':_0x51b9a1[_0xe4c4('0x10c')],'read':_0x51b9a1[_0xe4c4('0x87')],'attachment':_0x51b9a1[_0xe4c4('0xdf')]};})[_0xe4c4('0x70')]()};return ejs[_0xe4c4('0x127')](path[_0xe4c4('0xe5')](config['root'],'server','views',_0xe4c4('0x128')),{'interaction':_0x200fa})[_0xe4c4('0x17')](function(_0x6959bb){var _0x5592fe=path['join'](_0x1fac1e,'transcript-'+_0x22fc3f['id']+'-'+_0x31ab16+_0xe4c4('0x129'));var _0x1d2edf={'path':_0x5592fe,'channel':_0xe4c4('0x12a'),'interactionId':_0x22fc3f['id']};return pdf[_0xe4c4('0x12b')](_0x6959bb,_0x1d2edf);})[_0xe4c4('0x17')](function(){return new Promise(function(_0x4e2c79,_0x21db63){zipdir(_0x1fac1e,{'saveTo':_0x55cfe3},function(_0x17de87,_0x3d8d5b){if(_0x17de87)return _0x21db63(_0x17de87);return _0x4e2c79(_0x3d8d5b);});})[_0xe4c4('0x17')](function(){return new BPromise(function(_0x1a5597,_0x334d01){rimraf(_0x1fac1e,function(_0x28fbe4){if(_0x28fbe4)_0x334d01(_0x28fbe4);return _0x1a5597();});});})[_0xe4c4('0x17')](function(){return _0x36169f[_0xe4c4('0xe6')](_0x55cfe3,_0x1caed0,function(_0x247206){if(_0x247206){logger[_0xe4c4('0x1d')]('err',_0x247206);}else{fs[_0xe4c4('0x12c')](_0x55cfe3);}});});});}else{return _0x36169f[_0xe4c4('0x23')](0xc8);}})[_0xe4c4('0x22')](handleError(_0x36169f,null));};
\ No newline at end of file
+var _0x0a9a=['Sequelize','ValidationError','Error\x20in\x20conversion\x20vidaooMetadata','Error\x20in\x20Vidaoo\x20configuration','join_url','ChatMessage','customUpdate','CmContact','abandon','Interaction\x20already\x20assigned','attachmentUpload','file','originalname','filename','attachmentDownload','findOne','Unauthorized','Attachment','attachId','ChatOfflineMessageId','join','root','server/files/attachments/','offline-chat/','download','mailTranscript','server/files/chat/upload/','now','pathTranscript','Messages','%s%d','agentAlias','System','customer','format','agentIdentifier','website_alias','agent_alias','agent_fullname','MM/DD/YYYY\x20HH:mm:ss','direction','secret','appendFileSync','MailServerOut','CloudProvider','Smtp','getSmtpOptions','SendMail','sendMail','Mail\x20Transcript','Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a','addMessage','omit','ids','getMessages','YYYY-MM-DD\x20HH:mm:ss','options','findAll','rows','getMyMessages','includeAgent','addTags','emit','chatInteractionTags:save','removeTags','server','files','tmp','attachments','transcript-%d-%s.zip','firstName','Account','Owner','get','mkdirSync','N.A.','closedAt','browserName','osName','referer','tail','basename','pipe','out','lastName','downloadInteraction.ejs','transcript-','.pdf','Chat','createPdfFromHTML','unlinkSync','zip-dir','moment','bluebird','mustache','util','ejs','lodash','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../components/export/pdf','api','../../mysqldb','redis','defaults','socket.io-emitter','jayson/promise','client','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','error','code','message','result','sendStatus','status','json','offset','undefined','count','limit','set','Content-Range','destroy','end','stack','name','send','render','merge','agent','interaction','account','map','fullname','TagIds','Tags','split','forEach','push','catch','waiting','talking','answered','abandoned','total','closed','UserId','disposition','unmanaged','index','ChatInteraction','rawAttributes','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','pick','field','color','from','tools_tags','select','u.id','u.fullname','ui.ChatInteractionId','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','chat_interaction_has_tags','it.ChatInteractionId\x20=\x20i.id','expr','search','parseSearch','conditions','find','unreadMessages','having','`\x20=\x200','Contact','operator','$substring','value','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','type','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?','body','some','compact','where','i.ChatWebsiteId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','\x20IS\x20NULL','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','filter','replace','isNumeric','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','order','DESC','t.id\x20IN\x20?','ChatWebsiteId','i.ChatWebsiteId\x20IS\x20NOT\x20NULL','user','getChatWebsites','isEmpty','i.ChatWebsiteId\x20IS\x20NULL','role','toString','sequelize','keyBy','a.key','Account.key','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','contactName','i.*','c.lastName','Contact.lastName','c.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','o.fullname','Owner.fullname','o.internal','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.ChatInteractionId\x20IN\x20?','groupBy','ChatInteractionId','all','show','includeAll','include','create','update','params','describe','createVidaooSession','ChatWebsite','vidaooApiKey','vidaooEscalation','vidaooTopic','vidaooNote','vidaooMetadata','email','contact','POST','https://api-vidaoo.xcally.com/api/v1/meetings','isNull','follow','metadata'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x0a9a,0x183));var _0xa0a9=function(_0x3274aa,_0x3e7769){_0x3274aa=_0x3274aa-0x0;var _0x4f6415=_0x0a9a[_0x3274aa];return _0x4f6415;};'use strict';var rimraf=require('rimraf');var zipdir=require(_0xa0a9('0x0'));var rp=require('request-promise');var moment=require(_0xa0a9('0x1'));var BPromise=require(_0xa0a9('0x2'));var Mustache=require(_0xa0a9('0x3'));var util=require(_0xa0a9('0x4'));var path=require('path');var ejs=require(_0xa0a9('0x5'));var fs=require('fs');var _=require(_0xa0a9('0x6'));var squel=require('squel');var Redis=require(_0xa0a9('0x7'));var qs=require(_0xa0a9('0x8'));var as=require(_0xa0a9('0x9'));var pdf=require(_0xa0a9('0xa'));var logger=require('../../config/logger')(_0xa0a9('0xb'));var config=require('../../config/environment');var db=require(_0xa0a9('0xc'))['db'];config[_0xa0a9('0xd')]=_[_0xa0a9('0xe')](config[_0xa0a9('0xd')],{'host':'localhost','port':0x18eb});var socket=require(_0xa0a9('0xf'))(new Redis(config[_0xa0a9('0xd')]));require('./chatInteraction.socket')['register'](socket);var jayson=require(_0xa0a9('0x10'));var client=jayson[_0xa0a9('0x11')]['http']({'port':0x232b});var client9004=jayson[_0xa0a9('0x11')]['http']({'port':0x232c});function respondWithRpcPromise(_0x1c39ff,_0x4b7913,_0xb87a94,_0x1ae2a7){return new BPromise(function(_0xa10656,_0x35e7cd){var _0x13833c=_0x1ae2a7||client;return _0x13833c['request'](_0x1c39ff,_0xb87a94)[_0xa0a9('0x12')](function(_0x9ef979){logger[_0xa0a9('0x13')](_0xa0a9('0x14'),_0x4b7913,_0xa0a9('0x15'));logger[_0xa0a9('0x16')]('ChatInteraction,\x20%s,\x20%s,\x20%s',_0x4b7913,_0xa0a9('0x15'),JSON['stringify'](_0x9ef979));if(_0x9ef979['error']){if(_0x9ef979[_0xa0a9('0x17')][_0xa0a9('0x18')]===0x1f4){logger[_0xa0a9('0x17')](_0xa0a9('0x14'),_0x4b7913,_0x9ef979['error'][_0xa0a9('0x19')]);return _0x35e7cd(_0x9ef979[_0xa0a9('0x17')][_0xa0a9('0x19')]);}logger[_0xa0a9('0x17')](_0xa0a9('0x14'),_0x4b7913,_0x9ef979[_0xa0a9('0x17')]['message']);return _0xa10656(_0x9ef979[_0xa0a9('0x17')][_0xa0a9('0x19')]);}else{logger['info']('ChatInteraction,\x20%s,\x20%s',_0x4b7913,_0xa0a9('0x15'));_0xa10656(_0x9ef979[_0xa0a9('0x1a')][_0xa0a9('0x19')]);}})['catch'](function(_0x307d7e){logger['error'](_0xa0a9('0x14'),_0x4b7913,_0x307d7e);_0x35e7cd(_0x307d7e);});});}function respondWithStatusCode(_0x5e6148,_0x4d9dde){_0x4d9dde=_0x4d9dde||0xcc;return function(_0x504786){if(_0x504786){return _0x5e6148[_0xa0a9('0x1b')](_0x4d9dde);}return _0x5e6148[_0xa0a9('0x1c')](_0x4d9dde)['end']();};}function respondWithResult(_0x423d3a,_0x4fb909){_0x4fb909=_0x4fb909||0xc8;return function(_0x20b318){if(_0x20b318){return _0x423d3a[_0xa0a9('0x1c')](_0x4fb909)[_0xa0a9('0x1d')](_0x20b318);}};}function respondWithFilteredResult(_0x252a14,_0x503ef2){return function(_0x7c1502){if(_0x7c1502){var _0xe49d3b=typeof _0x503ef2[_0xa0a9('0x1e')]===_0xa0a9('0x1f')&&typeof _0x503ef2['limit']===_0xa0a9('0x1f');var _0x38e454=_0x7c1502[_0xa0a9('0x20')];var _0x5c446e=_0xe49d3b?0x0:_0x503ef2['offset'];var _0x2b3cbb=_0xe49d3b?_0x7c1502[_0xa0a9('0x20')]:_0x503ef2[_0xa0a9('0x1e')]+_0x503ef2[_0xa0a9('0x21')];var _0x4685c5;if(_0x2b3cbb>=_0x38e454){_0x2b3cbb=_0x38e454;_0x4685c5=0xc8;}else{_0x4685c5=0xce;}_0x252a14[_0xa0a9('0x1c')](_0x4685c5);return _0x252a14[_0xa0a9('0x22')](_0xa0a9('0x23'),_0x5c446e+'-'+_0x2b3cbb+'/'+_0x38e454)[_0xa0a9('0x1d')](_0x7c1502);}return null;};}function saveUpdates(_0x42024c){return function(_0x41e994){if(_0x41e994){return _0x41e994['update'](_0x42024c)[_0xa0a9('0x12')](function(_0x1957bf){return _0x1957bf;});}return null;};}function removeEntity(_0x4fc94a){return function(_0x2f21ea){if(_0x2f21ea){return _0x2f21ea[_0xa0a9('0x24')]()['then'](function(){_0x4fc94a['status'](0xcc)[_0xa0a9('0x25')]();});}};}function handleEntityNotFound(_0x5291e3){return function(_0x5a1095){if(!_0x5a1095){_0x5291e3[_0xa0a9('0x1b')](0x194);}return _0x5a1095;};}function handleError(_0x104936,_0x347cbf){_0x347cbf=_0x347cbf||0x1f4;return function(_0x1e83ac){logger[_0xa0a9('0x17')](_0x1e83ac[_0xa0a9('0x26')]);if(_0x1e83ac[_0xa0a9('0x27')]){delete _0x1e83ac['name'];}_0x104936[_0xa0a9('0x1c')](_0x347cbf)[_0xa0a9('0x28')](_0x1e83ac);};}function getMustacheRender(_0x539807,_0x46ef2b){return Mustache[_0xa0a9('0x29')](_0x539807,_[_0xa0a9('0x2a')](_0x46ef2b['body'],{'contact':_0x46ef2b['contact'],'message':_0x46ef2b[_0xa0a9('0x19')],'agent':_0x46ef2b[_0xa0a9('0x2b')],'interaction':_0x46ef2b[_0xa0a9('0x2c')],'account':_0x46ef2b[_0xa0a9('0x2d')]}))||'';}function getInteractionUsers(_0x520817,_0x70a275){return new BPromise(function(_0x19a122,_0x459485){try{if(_0x70a275[_0x520817['id']]){_0x520817['Users']=_[_0xa0a9('0x2e')](_0x70a275[_0x520817['id']],function(_0x3c74ea){return{'id':_0x3c74ea['id'],'fullname':_0x3c74ea[_0xa0a9('0x2f')]};});}}catch(_0x53dfd1){_0x459485(_0x53dfd1);}_0x19a122(_0x520817);});}function getInteractionTags(_0x3ae735,_0x2ed673){return new BPromise(function(_0x41c056,_0x3206a2){try{if(_0x3ae735[_0xa0a9('0x30')]){_0x3ae735[_0xa0a9('0x31')]=[];_0x3ae735[_0xa0a9('0x30')][_0xa0a9('0x32')](',')[_0xa0a9('0x33')](function(_0x2ea301){_0x3ae735[_0xa0a9('0x31')][_0xa0a9('0x34')](_0x2ed673[_0x2ea301]);});}delete _0x3ae735[_0xa0a9('0x30')];}catch(_0x1574cd){_0x3206a2(_0x1574cd);}_0x41c056(_0x3ae735);});}function updateChatInteraction(_0xaa6ef9,_0x1b1aff,_0x868447){return new BPromise(function(_0x54fe3f,_0x3f1e4f){return getInteractionUsers(_0xaa6ef9,_0x868447)[_0xa0a9('0x12')](function(_0x3d3769){return getInteractionTags(_0x3d3769,_0x1b1aff);})['then'](function(_0x757e10){return getStateInteraction(_0x757e10);})[_0xa0a9('0x12')](function(_0x91e37e){_0x54fe3f(_0x91e37e);})[_0xa0a9('0x35')](function(_0x48993c){_0x3f1e4f(_0x48993c);});});}function getStateInteraction(_0x26ffb8){return new BPromise(function(_0x44791e){_0x26ffb8[_0xa0a9('0x36')]=0x0;_0x26ffb8[_0xa0a9('0x37')]=0x0;_0x26ffb8[_0xa0a9('0x38')]=0x0;_0x26ffb8['unmanaged']=0x0;_0x26ffb8[_0xa0a9('0x39')]=0x0;_0x26ffb8[_0xa0a9('0x3a')]=0x0;if(!_0x26ffb8[_0xa0a9('0x3b')]&&!_0x26ffb8[_0xa0a9('0x3c')]){_0x26ffb8[_0xa0a9('0x36')]+=0x1;}if(!_0x26ffb8['closed']&&_0x26ffb8[_0xa0a9('0x3c')]){_0x26ffb8[_0xa0a9('0x37')]+=0x1;if(_0x26ffb8[_0xa0a9('0x36')]){_0x26ffb8[_0xa0a9('0x36')]-=0x1;}}if(_0x26ffb8[_0xa0a9('0x3b')]&&_0x26ffb8['disposition']===_0xa0a9('0x39')){_0x26ffb8[_0xa0a9('0x39')]+=0x1;if(_0x26ffb8['waiting']){_0x26ffb8['waiting']-=0x1;}}else if(_0x26ffb8[_0xa0a9('0x3b')]&&!_0x26ffb8[_0xa0a9('0x3c')]&&_0x26ffb8[_0xa0a9('0x3d')]){_0x26ffb8[_0xa0a9('0x3e')]+=0x1;if(_0x26ffb8['waiting']){_0x26ffb8[_0xa0a9('0x36')]-=0x1;}}else if(_0x26ffb8[_0xa0a9('0x3b')]&&_0x26ffb8[_0xa0a9('0x3c')]){_0x26ffb8[_0xa0a9('0x38')]+=0x1;if(_0x26ffb8[_0xa0a9('0x37')]){_0x26ffb8[_0xa0a9('0x37')]-=0x1;}}_0x26ffb8[_0xa0a9('0x3a')]+=0x1;_0x44791e(_0x26ffb8);});}exports[_0xa0a9('0x3f')]=function(_0xbdce0e,_0x1a7879){var _0xe82093={},_0x1b2172={},_0x2fcc76={'count':0x0,'rows':[]};var _0x3bb0fb=_[_0xa0a9('0x2e')](db[_0xa0a9('0x40')][_0xa0a9('0x41')],function(_0x54e917){return{'name':_0x54e917[_0xa0a9('0x42')],'type':_0x54e917['type'][_0xa0a9('0x43')]};});_0x1b2172[_0xa0a9('0x44')]=_[_0xa0a9('0x2e')](_0x3bb0fb,_0xa0a9('0x27'));_0x1b2172[_0xa0a9('0x45')]=_[_0xa0a9('0x46')](_0xbdce0e[_0xa0a9('0x45')]);_0x1b2172[_0xa0a9('0x47')]=_[_0xa0a9('0x48')](_0x1b2172['model'],_0x1b2172[_0xa0a9('0x45')]);_0xe82093[_0xa0a9('0x49')]=_[_0xa0a9('0x48')](_0x1b2172['model'],qs[_0xa0a9('0x4a')](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x4a')]));_0xe82093['attributes']=_0xe82093[_0xa0a9('0x49')][_0xa0a9('0x4b')]?_0xe82093[_0xa0a9('0x49')]:_0x1b2172[_0xa0a9('0x44')];if(!_0xbdce0e['query'][_0xa0a9('0x4c')](_0xa0a9('0x4d'))){_0xe82093[_0xa0a9('0x21')]=qs[_0xa0a9('0x21')](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x21')]);_0xe82093[_0xa0a9('0x1e')]=qs['offset'](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x1e')]);}_0xe82093['order']=qs[_0xa0a9('0x4e')](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x4e')]);_0xe82093['where']=qs['filters'](_[_0xa0a9('0x4f')](_0xbdce0e[_0xa0a9('0x45')],_0x1b2172[_0xa0a9('0x47')]),_0x3bb0fb);var _0x1397dd=[];var _0x51387d=squel['select']()[_0xa0a9('0x50')]('id')[_0xa0a9('0x50')]('name')['field'](_0xa0a9('0x51'))[_0xa0a9('0x52')](_0xa0a9('0x53'));var _0x31bc1b=squel[_0xa0a9('0x54')]()[_0xa0a9('0x50')](_0xa0a9('0x55'))[_0xa0a9('0x50')](_0xa0a9('0x56'))[_0xa0a9('0x50')](_0xa0a9('0x57'))['from'](_0xa0a9('0x58'),'ui')[_0xa0a9('0x59')](_0xa0a9('0x5a'),'u','u.id\x20=\x20ui.UserId');var _0x426ddc=squel[_0xa0a9('0x54')]()[_0xa0a9('0x52')]('chat_interactions','i')[_0xa0a9('0x59')](_0xa0a9('0x5b'),'c',_0xa0a9('0x5c'))[_0xa0a9('0x59')](_0xa0a9('0x5a'),'o',_0xa0a9('0x5d'))[_0xa0a9('0x59')]('chat_websites','a',_0xa0a9('0x5e'))[_0xa0a9('0x59')](_0xa0a9('0x5f'),'me',_0xa0a9('0x60'))[_0xa0a9('0x59')](_0xa0a9('0x61'),'it',_0xa0a9('0x62'))['left_join']('tools_tags','t','t.id\x20=\x20it.TagId');var _0x40d0f5=squel['expr']();var _0x331a0a=[];var _0x5c8ce1=squel[_0xa0a9('0x63')]();var _0x3f9648;if(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x64')]){_0x3f9648=as[_0xa0a9('0x65')](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x64')]);var _0x40c53d=_0x3f9648['sqlOperator'];for(var _0x5968ce=0x0;_0x5968ce<_0x3f9648[_0xa0a9('0x66')]['length'];_0x5968ce++){var _0x35c897=_0x3f9648[_0xa0a9('0x66')][_0x5968ce];var _0x3c526a='i';var _0x483dd3=_[_0xa0a9('0x67')](_0x3bb0fb,['name',_0x35c897[_0xa0a9('0x50')]]);if(!_0x483dd3){switch(_0x35c897[_0xa0a9('0x50')]){case _0xa0a9('0x68'):if(_0x35c897['value']==0x1){_0x426ddc[_0xa0a9('0x69')]('`'+_0x35c897['field']+_0xa0a9('0x6a'));}else{_0x426ddc['having']('`'+_0x35c897[_0xa0a9('0x50')]+'`\x20>\x200');}break;case _0xa0a9('0x6b'):if(_0x35c897[_0xa0a9('0x6c')]===_0xa0a9('0x6d')){if(_0x35c897[_0xa0a9('0x6e')][_0xa0a9('0x32')]('\x20')[_0xa0a9('0x4b')]>0x1){_0x40d0f5[_0x40c53d]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs[_0xa0a9('0x6f')](_0x35c897[_0xa0a9('0x6e')]),null);}else{var _0x2e6d3f='%'+_0x35c897['value']+'%';_0x40d0f5[_0x40c53d](_0xa0a9('0x70'),_0x2e6d3f,_0x2e6d3f,_0x2e6d3f);}}else{_0x483dd3=_[_0xa0a9('0x67')](_0x3bb0fb,[_0xa0a9('0x27'),_0xa0a9('0x71')]);_0x35c897[_0xa0a9('0x50')]='ContactId';_0x2faa44=as[_0xa0a9('0x72')](_0x3c526a,_0x483dd3[_0xa0a9('0x73')],_0x35c897);_0x40d0f5[_0x40c53d](_0x2faa44[_0xa0a9('0x74')],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x75')],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x25')]);}break;case _0xa0a9('0x76'):var _0x3a6b21=_0x35c897[_0xa0a9('0x6e')]['split'](',')[_0xa0a9('0x2e')](function(_0x1bae56){return Number(_0x1bae56);});_0x3a6b21[_0xa0a9('0x33')](function(_0x2d9b5c){_0x5c8ce1['or'](_0xa0a9('0x77'),'%,'+_0x2d9b5c+',%');});_0x331a0a=_[_0xa0a9('0x78')](_0x331a0a,_0x3a6b21);break;case _0xa0a9('0x79'):if(_0x35c897[_0xa0a9('0x6c')]===_0xa0a9('0x6d')){_0x40d0f5[_0x40c53d](_0xa0a9('0x7a'),'%'+_0x35c897[_0xa0a9('0x6e')]+'%',null);}else{_0x483dd3=_[_0xa0a9('0x67')](_0x3bb0fb,[_0xa0a9('0x27'),_0xa0a9('0x3c')]);_0x35c897[_0xa0a9('0x50')]=_0xa0a9('0x3c');_0x2faa44=as['buildExpression'](_0x3c526a,_0x483dd3[_0xa0a9('0x73')],_0x35c897);_0x40d0f5[_0x40c53d](_0x2faa44['text'],_0x2faa44[_0xa0a9('0x6e')]['start'],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x25')]);}break;case _0xa0a9('0x7b'):_0x2faa44=as[_0xa0a9('0x72')]('me',null,_0x35c897);_0x40d0f5[_0x40c53d](_0x2faa44[_0xa0a9('0x74')],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x75')],_0x2faa44['value'][_0xa0a9('0x25')]);break;}}else{var _0x2faa44=as[_0xa0a9('0x72')](_0x3c526a,_0x483dd3[_0xa0a9('0x73')],_0x35c897);_0x40d0f5[_0x40c53d](_0x2faa44[_0xa0a9('0x74')],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x75')],_0x2faa44[_0xa0a9('0x6e')][_0xa0a9('0x25')]);}}}else{var _0x4da18d=_(_0xbdce0e[_0xa0a9('0x45')])[_0xa0a9('0x46')]()[_0xa0a9('0x2e')](function(_0x2a0a40){return _[_0xa0a9('0x7c')](_0x3bb0fb,[_0xa0a9('0x27'),_0x2a0a40])?_0x2a0a40:undefined;})[_0xa0a9('0x7d')]()[_0xa0a9('0x6e')]();if(!_['isEmpty'](_0x4da18d)){_0x4da18d[_0xa0a9('0x33')](function(_0x35c824){if(_0x35c824==='ChatWebsiteId'){_0x426ddc[_0xa0a9('0x7e')](_0xa0a9('0x7f'),[][_0xa0a9('0x80')](_0xbdce0e[_0xa0a9('0x45')][_0x35c824]));}else if(_0x35c824===_0xa0a9('0x81')){var _0x3fa9ec=JSON[_0xa0a9('0x82')](_0xbdce0e[_0xa0a9('0x45')][_0x35c824])[_0xa0a9('0x83')];var _0x106440=JSON[_0xa0a9('0x82')](_0xbdce0e[_0xa0a9('0x45')][_0x35c824])[_0xa0a9('0x84')];_0x426ddc['where']('i.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x3fa9ec,_0x106440);}else{if(_0xbdce0e[_0xa0a9('0x45')][_0x35c824]==='null'){_0x426ddc['where']('i.'+_0x35c824+_0xa0a9('0x85'));}else{_0x426ddc[_0xa0a9('0x7e')]('i.'+_0x35c824+'\x20=\x20?',_0xbdce0e[_0xa0a9('0x45')][_0x35c824]);}}});}if(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x86')]){if(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x86')]==0x1){_0x426ddc[_0xa0a9('0x69')](_0xa0a9('0x87'));}else{_0x426ddc['having'](_0xa0a9('0x88'));}}if(_0xbdce0e['query']['tag']){_0x331a0a=_['isArray'](_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x89')])?_0xbdce0e['query'][_0xa0a9('0x89')]:new Array(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x89')]);_0x331a0a[_0xa0a9('0x33')](function(_0x301de2){_0x5c8ce1['or'](_0xa0a9('0x77'),'%,'+_0x301de2+',%');});}if(_0xbdce0e[_0xa0a9('0x45')]['filter']){var _0x1fff5c=_0xbdce0e['query'][_0xa0a9('0x8a')][_0xa0a9('0x8b')]('\x5c','\x5c\x5c')[_0xa0a9('0x8b')](/'/g,'\x27\x27');if(qs[_0xa0a9('0x8c')](_0x1fff5c)){_0x40d0f5['or']('i.id\x20LIKE\x20?',_0x1fff5c+'%');}else{_0x40d0f5['or']('MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs[_0xa0a9('0x6f')](_0x1fff5c))['or'](_0xa0a9('0x8d'),_0x1fff5c+'%');}}}_0x426ddc[_0xa0a9('0x7e')](_0x40d0f5);_0x426ddc[_0xa0a9('0x8e')](_0xa0a9('0x8f'));var _0xcc00a8={'type':db['Sequelize']['QueryTypes'][_0xa0a9('0x90')],'raw':!![]};var _0x161d87=_0x426ddc[_0xa0a9('0x91')]();_0x161d87[_0xa0a9('0x50')](_0xa0a9('0x8f'));_0x161d87[_0xa0a9('0x50')](_0xa0a9('0x92'),'unreadMessages');if(_0xe82093[_0xa0a9('0x93')]){_0xe82093[_0xa0a9('0x93')]['forEach'](function(_0x25049d){var _0xe83741=_0x25049d[0x0]==='contactName'?_0x25049d[0x0]:'i.'+_0x25049d[0x0];_0x426ddc[_0xa0a9('0x93')](_0xe83741,_0x25049d[0x1]===_0xa0a9('0x94')?![]:!![]);});}if(!_['isEmpty'](_0x331a0a)){_0x426ddc['having'](_0x5c8ce1);_0x161d87['where'](_0xa0a9('0x95'),_0x331a0a);}BPromise['resolve']()[_0xa0a9('0x12')](function(){if(!_0x3f9648){if(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x96')])return;_0x161d87['where']('i.ChatWebsiteId\x20IS\x20NOT\x20NULL');_0x426ddc['where'](_0xa0a9('0x97'));return;}if(_0xbdce0e[_0xa0a9('0x98')]['role']!=='agent')return;return _0xbdce0e['user'][_0xa0a9('0x99')]({'attributes':['id'],'raw':!![]})[_0xa0a9('0x12')](function(_0x295145){if(_[_0xa0a9('0x9a')](_0x295145)){_0x161d87['where'](_0xa0a9('0x9b'));_0x426ddc[_0xa0a9('0x7e')]('i.ChatWebsiteId\x20IS\x20NULL');}else{_0x161d87[_0xa0a9('0x7e')](_0xa0a9('0x7f'),_[_0xa0a9('0x2e')](_0x295145,'id'));_0x426ddc['where'](_0xa0a9('0x7f'),_[_0xa0a9('0x2e')](_0x295145,'id'));}});})[_0xa0a9('0x12')](function(){if(_0xbdce0e['user'][_0xa0a9('0x9c')]===_0xa0a9('0x2b')&&!_0x3f9648&&!_0xbdce0e['query'][_0xa0a9('0x96')])return[];return db['sequelize']['query'](_0x161d87[_0xa0a9('0x9d')](),_0xcc00a8);})['then'](function(_0x49610e){_0x2fcc76[_0xa0a9('0x20')]=_0x49610e[_0xa0a9('0x4b')];if(_0x2fcc76['count']===0x0)return[];return db[_0xa0a9('0x9e')]['query'](_0x51387d[_0xa0a9('0x9d')](),_0xcc00a8)[_0xa0a9('0x12')](function(_0x5dc92b){_0x1397dd=_[_0xa0a9('0x9f')](_0x5dc92b,'id');_0xcc00a8=_[_0xa0a9('0x2a')](_0xcc00a8,{'model':db[_0xa0a9('0x40')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0xbdce0e[_0xa0a9('0x45')][_0xa0a9('0x4a')]){_0xe82093['attributes'][_0xa0a9('0x33')](function(_0x235f87){_0x426ddc[_0xa0a9('0x50')]('i.'+_0x235f87);});}else{_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0x92'),'unreadMessages');_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xa0'),_0xa0a9('0xa1'));_0x426ddc[_0xa0a9('0x50')]('a.mandatoryDisposition',_0xa0a9('0xa2'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xa3'),_0xa0a9('0xa4'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xa5'));_0x426ddc[_0xa0a9('0x50')]('c.firstName','Contact.firstName');_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xa6'),_0xa0a9('0xa7'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xa8'),'Contact.email');_0x426ddc['field'](_0xa0a9('0xa9'),_0xa0a9('0xaa'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xab'),_0xa0a9('0xac'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xad'),_0xa0a9('0xae'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xaf'),_0xa0a9('0xb0'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xb1'),_0xa0a9('0xb2'));_0x426ddc[_0xa0a9('0x50')](_0xa0a9('0xb3'),_0xa0a9('0x30'));}if(_0xe82093[_0xa0a9('0x21')])_0x426ddc[_0xa0a9('0x21')](_0xe82093[_0xa0a9('0x21')]);if(_0xe82093[_0xa0a9('0x1e')])_0x426ddc[_0xa0a9('0x1e')](_0xe82093[_0xa0a9('0x1e')]);return db['sequelize']['query'](_0x426ddc['toString'](),_0xcc00a8);})[_0xa0a9('0x12')](function(_0x21e364){if(_0x21e364[_0xa0a9('0x4b')]>0x0)_0x31bc1b[_0xa0a9('0x7e')](_0xa0a9('0xb4'),_[_0xa0a9('0x2e')](_0x21e364,'id'));return db['sequelize'][_0xa0a9('0x45')](_0x31bc1b[_0xa0a9('0x9d')](),_0xcc00a8)[_0xa0a9('0x12')](function(_0x160094){var _0x4a2ef5=_[_0xa0a9('0xb5')](_0x160094,_0xa0a9('0xb6'));var _0x3f3c0d=[];_0x21e364[_0xa0a9('0x33')](function(_0xb1715){_0x3f3c0d[_0xa0a9('0x34')](updateChatInteraction(_0xb1715,_0x1397dd,_0x4a2ef5));});return BPromise[_0xa0a9('0xb7')](_0x3f3c0d);});});})['then'](function(_0x5bcc9f){_0x2fcc76['rows']=_0x5bcc9f;return _0x2fcc76;})[_0xa0a9('0x12')](respondWithFilteredResult(_0x1a7879,_0xe82093))[_0xa0a9('0x35')](handleError(_0x1a7879,null));};exports[_0xa0a9('0xb8')]=function(_0x238192,_0x5e4d6c){var _0x577bd5={'raw':![],'where':{'id':_0x238192['params']['id']}},_0x311019={};_0x311019[_0xa0a9('0x44')]=_['keys'](db[_0xa0a9('0x40')][_0xa0a9('0x41')]);_0x311019['query']=_[_0xa0a9('0x46')](_0x238192[_0xa0a9('0x45')]);_0x311019['filters']=_[_0xa0a9('0x48')](_0x311019[_0xa0a9('0x44')],_0x311019[_0xa0a9('0x45')]);_0x577bd5[_0xa0a9('0x49')]=_[_0xa0a9('0x48')](_0x311019[_0xa0a9('0x44')],qs[_0xa0a9('0x4a')](_0x238192['query']['fields']));_0x577bd5[_0xa0a9('0x49')]=_0x577bd5[_0xa0a9('0x49')]['length']?_0x577bd5[_0xa0a9('0x49')]:_0x311019[_0xa0a9('0x44')];if(_0x238192[_0xa0a9('0x45')][_0xa0a9('0xb9')]){_0x577bd5[_0xa0a9('0xba')]=[{'all':!![]}];}_0x577bd5=_[_0xa0a9('0x2a')]({},_0x577bd5,_0x238192['options']);return db[_0xa0a9('0x40')]['find'](_0x577bd5)[_0xa0a9('0x12')](handleEntityNotFound(_0x5e4d6c,null))[_0xa0a9('0x12')](respondWithResult(_0x5e4d6c,null))['catch'](handleError(_0x5e4d6c,null));};exports[_0xa0a9('0xbb')]=function(_0x1a0bd7,_0x2f9e19){return db[_0xa0a9('0x40')][_0xa0a9('0xbb')](_0x1a0bd7[_0xa0a9('0x7b')],{})['then'](respondWithResult(_0x2f9e19,0xc9))[_0xa0a9('0x35')](handleError(_0x2f9e19,null));};exports[_0xa0a9('0xbc')]=function(_0x3f489a,_0x2d433f){if(_0x3f489a['body']['id']){delete _0x3f489a[_0xa0a9('0x7b')]['id'];}return db['ChatInteraction'][_0xa0a9('0x67')]({'where':{'id':_0x3f489a[_0xa0a9('0xbd')]['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x2d433f,null))[_0xa0a9('0x12')](saveUpdates(_0x3f489a['body'],null))[_0xa0a9('0x12')](respondWithResult(_0x2d433f,null))[_0xa0a9('0x35')](handleError(_0x2d433f,null));};exports['destroy']=function(_0xa4809f,_0x3777dd){return db[_0xa0a9('0x40')]['find']({'where':{'id':_0xa4809f[_0xa0a9('0xbd')]['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x3777dd,null))[_0xa0a9('0x12')](removeEntity(_0x3777dd,null))[_0xa0a9('0x35')](handleError(_0x3777dd,null));};exports[_0xa0a9('0xbe')]=function(_0x1d0c93,_0x37135f){return db[_0xa0a9('0x40')][_0xa0a9('0xbe')]()['then'](respondWithResult(_0x37135f,null))[_0xa0a9('0x35')](handleError(_0x37135f,null));};exports[_0xa0a9('0xbf')]=function(_0x6608c9,_0x62edc6){var _0x5e8748=_0x6608c9['params']['id'];var _0x1c52c9;var _0x20cb2e;var _0x17e067;return db[_0xa0a9('0x40')]['findOne']({'where':{'id':_0x5e8748}})[_0xa0a9('0x12')](function(_0x11e564){_0x1c52c9=_0x11e564;return db[_0xa0a9('0xc0')]['findOne']({'where':{'id':_0x11e564[_0xa0a9('0x96')]},'attributes':['id',_0xa0a9('0xc1'),_0xa0a9('0xc2'),_0xa0a9('0xc3'),_0xa0a9('0xc4'),_0xa0a9('0xc5')],'raw':!![]});})[_0xa0a9('0x12')](function(_0x33c4a7){if(_0x33c4a7&&_0x33c4a7['vidaooApiKey']&&_0x33c4a7[_0xa0a9('0xc2')]){_0x20cb2e=_0x33c4a7;var _0x350af5={'interaction':{'id':_0x5e8748},'agent':{'id':_0x6608c9['user']['id'],'name':_0x6608c9[_0xa0a9('0x98')][_0xa0a9('0x27')],'fullname':_0x6608c9[_0xa0a9('0x98')][_0xa0a9('0x2f')],'email':_0x6608c9['user'][_0xa0a9('0xc6')]},'contact':_0x6608c9[_0xa0a9('0x7b')][_0xa0a9('0xc7')],'account':_0x6608c9[_0xa0a9('0x7b')][_0xa0a9('0x2d')]};var _0xad0f9a={'rejectUnauthorized':![],'method':_0xa0a9('0xc8'),'url':_0xa0a9('0xc9'),'headers':{'X-APIKEY':_0x33c4a7['vidaooApiKey']},'body':{'duration':null,'scheduledAt':null,'participants':[_0x6608c9[_0xa0a9('0x98')][_0xa0a9('0xc6')]],'buttons':null,'topic':_0x20cb2e[_0xa0a9('0xc3')],'note':_[_0xa0a9('0xca')](_0x20cb2e[_0xa0a9('0xc4')])?null:getMustacheRender(_0x20cb2e[_0xa0a9('0xc4')],_0x350af5),'metadata':null},'redirect':_0xa0a9('0xcb'),'json':!![]};try{if(!_['isNull'](_0x20cb2e[_0xa0a9('0xc5')])){var _0x35b4ef=getMustacheRender(_0x20cb2e[_0xa0a9('0xc5')],_0x350af5);var _0x473915=JSON[_0xa0a9('0x82')](_0x35b4ef);_0xad0f9a[_0xa0a9('0x7b')][_0xa0a9('0xcc')]=_0x473915;}}catch(_0x436650){throw new db[(_0xa0a9('0xcd'))][(_0xa0a9('0xce'))](_0xa0a9('0xcf'));}return rp(_0xad0f9a);}else{throw new db[(_0xa0a9('0xcd'))][(_0xa0a9('0xce'))](_0xa0a9('0xd0'));}})[_0xa0a9('0x12')](function(_0x154862){_0x17e067=_0x154862;if(_0x17e067['id']){var _0x349c38={'body':_0x17e067[_0xa0a9('0xd1')],'ChatWebsiteId':_0x20cb2e['id'],'ChatInteractionId':_0x1c52c9['id'],'direction':'out','UserId':_0x6608c9[_0xa0a9('0x98')]['id']};return db[_0xa0a9('0xd2')]['create'](_0x349c38,{});}else{throw new db[(_0xa0a9('0xcd'))][(_0xa0a9('0xce'))]('Unable\x20to\x20create\x20Vidaoo\x20session');}})[_0xa0a9('0x12')](function(){return _0x1c52c9['updateAttributes']({'vidaooSessionId':_0x17e067['id']});})['then'](respondWithResult(_0x62edc6,null))[_0xa0a9('0x35')](handleError(_0x62edc6,null));};exports[_0xa0a9('0xd3')]=function(_0x372745,_0x4b951c){if(_0x372745[_0xa0a9('0x7b')]['id']){delete _0x372745['body']['id'];}return db[_0xa0a9('0x40')][_0xa0a9('0x67')]({'where':{'id':_0x372745[_0xa0a9('0xbd')]['id']},'include':[{'model':db[_0xa0a9('0xd4')],'as':_0xa0a9('0x6b')}]})[_0xa0a9('0x12')](handleEntityNotFound(_0x4b951c,null))[_0xa0a9('0x12')](saveUpdates(_0x372745[_0xa0a9('0x7b')],null))['then'](respondWithResult(_0x4b951c,null))[_0xa0a9('0x35')](handleError(_0x4b951c,null));};exports[_0xa0a9('0xd5')]=function(_0x27b2b9,_0x402032){if(_0x27b2b9[_0xa0a9('0x7b')]['id']){delete _0x27b2b9[_0xa0a9('0x7b')]['id'];}return db['ChatInteraction'][_0xa0a9('0x67')]({'where':{'id':_0x27b2b9[_0xa0a9('0xbd')]['id']}})[_0xa0a9('0x12')](function(_0x12c80f){if(!_0x12c80f){logger[_0xa0a9('0x17')]('abandonInteraction,\x20%s,\x20%s,\x20%s',_0xa0a9('0xd5'),0x194,'entity\x20not\x20found');_0x402032[_0xa0a9('0x1b')](0x194);}else{if(_0x12c80f[_0xa0a9('0x3c')]){throw new db[(_0xa0a9('0xcd'))][(_0xa0a9('0xce'))](_0xa0a9('0xd6'));}}return _0x12c80f;})['then'](function(_0x17fcbb){if(_0x17fcbb){return _0x17fcbb['update']({'closed':_0x27b2b9[_0xa0a9('0x7b')][_0xa0a9('0x3b')],'disposition':_0x27b2b9[_0xa0a9('0x7b')][_0xa0a9('0x3d')]})[_0xa0a9('0x12')](function(_0x52dc56){return _0x52dc56;});}})[_0xa0a9('0x12')](function(){return respondWithRpcPromise('AbandonInteraction',_0xa0a9('0xd5'),_0x27b2b9[_0xa0a9('0x7b')],client9004);})[_0xa0a9('0x12')](respondWithResult(_0x402032,null))['catch'](handleError(_0x402032,null));};exports[_0xa0a9('0xd7')]=function(_0x5baba3,_0x44c430){_0x5baba3['body'][_0xa0a9('0x27')]=_0x5baba3[_0xa0a9('0xd8')][_0xa0a9('0xd9')];_0x5baba3['body']['basename']=_0x5baba3[_0xa0a9('0xd8')][_0xa0a9('0xda')];_0x5baba3['body']['type']=_0x5baba3[_0xa0a9('0xd8')]['mimetype'];return db['Attachment']['create'](_0x5baba3[_0xa0a9('0x7b')])[_0xa0a9('0x12')](respondWithResult(_0x44c430,0xc9))[_0xa0a9('0x35')](handleError(_0x44c430,null));};exports[_0xa0a9('0xdb')]=function(_0x4efd74,_0x9bd5f7){return db['ChatInteraction'][_0xa0a9('0xdc')]({'where':{'id':_0x4efd74[_0xa0a9('0xbd')]['id']},'raw':!![]})[_0xa0a9('0x12')](handleEntityNotFound(_0x9bd5f7,null))[_0xa0a9('0x12')](function(_0x46dbf5){if(_0x46dbf5){if(_0x46dbf5[_0xa0a9('0x3b')]){return _0x9bd5f7[_0xa0a9('0x1c')](0x193)[_0xa0a9('0x1d')]({'status':0x193,'message':_0xa0a9('0xdd')});}return db[_0xa0a9('0xde')][_0xa0a9('0xdc')]({'where':{'id':_0x4efd74[_0xa0a9('0x45')][_0xa0a9('0xdf')]},'raw':!![]})[_0xa0a9('0x12')](handleEntityNotFound(_0x9bd5f7,null));}})[_0xa0a9('0x12')](function(_0x514525){if(_0x514525){var _0xbb9cb1=_0x514525[_0xa0a9('0xe0')]!==null;var _0x27fd56=path[_0xa0a9('0xe1')](config[_0xa0a9('0xe2')],_0xa0a9('0xe3'));if(_0xbb9cb1){_0x27fd56=path[_0xa0a9('0xe1')](_0x27fd56,_0xa0a9('0xe4'));}var _0x5408ae=path[_0xa0a9('0xe1')](_0x27fd56,_0x514525['basename']);return _0x9bd5f7[_0xa0a9('0xe5')](_0x5408ae);}})[_0xa0a9('0x35')](handleError(_0x9bd5f7,null));};exports['close']=function(_0x482ce4,_0x324007){var _0x1bf013=null;var _0x5a5cb0=null;var _0x31948d=null;if(_0x482ce4[_0xa0a9('0x7b')]['id']){delete _0x482ce4[_0xa0a9('0x7b')]['id'];}if(_0x482ce4[_0xa0a9('0x7b')][_0xa0a9('0xe6')]){_0x31948d=path[_0xa0a9('0xe1')](config[_0xa0a9('0xe2')],_0xa0a9('0xe7'),util['format']('transcript-%s.txt',Date[_0xa0a9('0xe8')]()));_0x482ce4[_0xa0a9('0x7b')][_0xa0a9('0xe9')]=_0x31948d;}return db[_0xa0a9('0x40')][_0xa0a9('0x67')]({'where':{'id':_0x482ce4[_0xa0a9('0xbd')]['id']},'include':[{'model':db[_0xa0a9('0xd2')],'as':_0xa0a9('0xea'),'include':[{'model':db[_0xa0a9('0x79')],'as':_0xa0a9('0x79')}]}]})[_0xa0a9('0x12')](handleEntityNotFound(_0x324007,null))['then'](saveUpdates(_0x482ce4[_0xa0a9('0x7b')],null))['then'](function(_0x3479a4){if(_0x3479a4){_0x1bf013=_0x3479a4;return db[_0xa0a9('0xc0')][_0xa0a9('0x67')]({'where':{'id':_0x1bf013['ChatWebsiteId']}});}})[_0xa0a9('0x12')](function(_0x352584){if(_0x352584){_0x5a5cb0=_0x352584;return db[_0xa0a9('0xd4')][_0xa0a9('0x67')]({'where':{'id':_0x1bf013[_0xa0a9('0x71')]}});}})[_0xa0a9('0x12')](function(_0x35b7b3){if(_0x35b7b3){if(_0x31948d){var _0x79cac0=null;for(var _0x23b6be=0x1;_0x23b6be<_0x1bf013[_0xa0a9('0xea')]['length'];++_0x23b6be){_0x79cac0=_0x1bf013[_0xa0a9('0xea')][_0x23b6be];var _0x14a805=_0x79cac0[_0xa0a9('0x3c')]?util['format'](_0xa0a9('0xeb'),_0x5a5cb0[_0xa0a9('0xec')],_0x79cac0[_0xa0a9('0x3c')]):_0xa0a9('0xed');var _0x5093aa=_0x482ce4[_0xa0a9('0x7b')][_0xa0a9('0xee')]||util[_0xa0a9('0xef')](_0xa0a9('0xeb'),'Visitor',_0x79cac0[_0xa0a9('0x71')]);switch(_0x5a5cb0[_0xa0a9('0xf0')]){case _0xa0a9('0xf1'):_0x14a805=_0x79cac0[_0xa0a9('0x3c')]?util[_0xa0a9('0xef')](_0xa0a9('0xeb'),_0x5a5cb0[_0xa0a9('0xec')],_0x79cac0['UserId']):_0xa0a9('0xed');break;case _0xa0a9('0xf2'):_0x14a805=_0x79cac0[_0xa0a9('0x3c')]?_0x79cac0['User']['alias']||_0x79cac0[_0xa0a9('0x79')][_0xa0a9('0x2f')]:_0xa0a9('0xed');break;case _0xa0a9('0xf3'):_0x14a805=_0x79cac0[_0xa0a9('0x3c')]?_0x79cac0['User'][_0xa0a9('0x2f')]:_0xa0a9('0xed');break;default:_0x14a805=_0x79cac0[_0xa0a9('0x3c')]?util['format']('%s%d',_0x5a5cb0[_0xa0a9('0xec')],_0x79cac0['UserId']):_0xa0a9('0xed');}var _0x2389f7=util[_0xa0a9('0xef')]('[%s]\x20%s:\x20%s\x0a',moment(_0x79cac0[_0xa0a9('0x81')])['format'](_0xa0a9('0xf4')),_0x79cac0[_0xa0a9('0xf5')]==='in'?_0x5093aa:_0x14a805,_0x79cac0['body']);if(!_0x79cac0[_0xa0a9('0xf6')]){fs[_0xa0a9('0xf7')](_0x31948d,_0x2389f7);}}return db['MailAccount'][_0xa0a9('0xdc')]({'where':{'service':!![]},'include':[{'model':db[_0xa0a9('0xf8')],'as':'Smtp','raw':!![],'include':[{'model':db[_0xa0a9('0xf9')],'as':_0xa0a9('0xf9'),'raw':!![]}]}]});}}})['then'](function(_0x48416b){if(!_0x48416b||!_0x48416b[_0xa0a9('0xfa')]||!_0x482ce4[_0xa0a9('0x7b')])return _0x1bf013;var _0x3b6362=_0x48416b[_0xa0a9('0xfb')]();return respondWithRpcPromise(_0xa0a9('0xfc'),_0xa0a9('0xfd'),{'account':_0x3b6362,'message':{'from':util['format']('\x22%s\x22\x20<%s>',_0x48416b[_0xa0a9('0x27')],_0x48416b[_0xa0a9('0xc6')]||_0x48416b[_0xa0a9('0xfa')][_0xa0a9('0x98')]),'to':_0x482ce4[_0xa0a9('0x7b')][_0xa0a9('0xe6')],'subject':_0xa0a9('0xfe'),'text':util[_0xa0a9('0xef')](_0xa0a9('0xff'),_0x482ce4[_0xa0a9('0x7b')][_0xa0a9('0xe6')]),'attachments':[{'path':_0x31948d}]}})[_0xa0a9('0x12')](function(){return _0x1bf013;})[_0xa0a9('0x35')](function(_0x5bd10e){logger[_0xa0a9('0x17')](_0x5bd10e);});})[_0xa0a9('0x12')](respondWithStatusCode(_0x324007,0xc8))[_0xa0a9('0x35')](handleError(_0x324007,null));};exports[_0xa0a9('0x100')]=function(_0x50987c,_0x5a84fe){return db[_0xa0a9('0xd2')][_0xa0a9('0x67')]({'where':{'id':_0x50987c[_0xa0a9('0xbd')]['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x5a84fe,null))[_0xa0a9('0x12')](function(_0x6e8b08){if(_0x6e8b08){return _0x6e8b08[_0xa0a9('0x100')](_0x50987c[_0xa0a9('0x7b')]['ids'],_[_0xa0a9('0x101')](_0x50987c['body'],[_0xa0a9('0x102'),'id'])||{});}})[_0xa0a9('0x12')](respondWithResult(_0x5a84fe,null))[_0xa0a9('0x35')](handleError(_0x5a84fe,null));};exports[_0xa0a9('0x103')]=function(_0x4761d5,_0x452abd){var _0x5d5e07={'raw':![],'where':{}};var _0x150702={};var _0x21cb84={'count':0x0,'rows':[]};return db[_0xa0a9('0x40')][_0xa0a9('0xdc')]({'where':{'id':_0x4761d5[_0xa0a9('0xbd')]['id']}})['then'](handleEntityNotFound(_0x452abd,null))[_0xa0a9('0x12')](function(_0x5553ab){if(_0x5553ab){_0x150702['model']=_[_0xa0a9('0x46')](db[_0xa0a9('0xd2')]['rawAttributes']);_0x150702['query']=_[_0xa0a9('0x46')](_0x4761d5[_0xa0a9('0x45')]);_0x150702[_0xa0a9('0x47')]=_['intersection'](_0x150702[_0xa0a9('0x44')],_0x150702[_0xa0a9('0x45')]);_0x5d5e07[_0xa0a9('0x49')]=_['intersection'](_0x150702[_0xa0a9('0x44')],qs['fields'](_0x4761d5[_0xa0a9('0x45')][_0xa0a9('0x4a')]));_0x5d5e07['attributes']=_0x5d5e07['attributes'][_0xa0a9('0x4b')]?_0x5d5e07['attributes']:_0x150702[_0xa0a9('0x44')];if(!_0x4761d5['query'][_0xa0a9('0x4c')](_0xa0a9('0x4d'))){_0x5d5e07[_0xa0a9('0x21')]=qs[_0xa0a9('0x21')](_0x4761d5['query'][_0xa0a9('0x21')]);_0x5d5e07[_0xa0a9('0x1e')]=qs[_0xa0a9('0x1e')](_0x4761d5['query'][_0xa0a9('0x1e')]);}_0x5d5e07[_0xa0a9('0x93')]=qs[_0xa0a9('0x4e')](_0x4761d5[_0xa0a9('0x45')][_0xa0a9('0x4e')]);_0x5d5e07[_0xa0a9('0x7e')]=qs[_0xa0a9('0x47')](_[_0xa0a9('0x4f')](_0x4761d5[_0xa0a9('0x45')],_0x150702[_0xa0a9('0x47')]));_0x5d5e07[_0xa0a9('0x7e')]['ChatInteractionId']=_0x5553ab['id'];if(_0x4761d5['query']['filter']){_0x5d5e07[_0xa0a9('0x7e')]=_[_0xa0a9('0x2a')](_0x5d5e07[_0xa0a9('0x7e')],{'$or':_['map'](_0x5d5e07[_0xa0a9('0x49')],function(_0x2d912d){var _0x4d1058={};_0x4d1058[_0x2d912d]={'$like':'%'+_0x4761d5[_0xa0a9('0x45')]['filter']+'%'};return _0x4d1058;})});}if(_0x4761d5['query'][_0xa0a9('0x83')]){var _0x5c9a49=_0x4761d5['query'][_0xa0a9('0x83')][_0xa0a9('0x32')](',');var _0x5d22fd={};_0x5d22fd[_0x5c9a49[0x0]]={'$gte':moment(_0x5c9a49[0x1])[_0xa0a9('0xef')](_0xa0a9('0x104'))};_0x5d5e07[_0xa0a9('0x7e')]=_[_0xa0a9('0x2a')](_0x5d5e07[_0xa0a9('0x7e')],_0x5d22fd);}_0x5d5e07=_[_0xa0a9('0x2a')]({},_0x5d5e07,_0x4761d5[_0xa0a9('0x105')]);return db['ChatMessage'][_0xa0a9('0x20')]({'where':_0x5d5e07[_0xa0a9('0x7e')]})[_0xa0a9('0x12')](function(_0x55ab15){_0x21cb84[_0xa0a9('0x20')]=_0x55ab15;if(_0x4761d5['query']['includeAll']){_0x5d5e07[_0xa0a9('0xba')]=[{'all':!![]}];}return db[_0xa0a9('0xd2')][_0xa0a9('0x106')](_0x5d5e07);})[_0xa0a9('0x12')](function(_0x5e48d7){_0x21cb84[_0xa0a9('0x107')]=_0x5e48d7;return _0x21cb84;});}})[_0xa0a9('0x12')](respondWithFilteredResult(_0x452abd,_0x5d5e07))['catch'](handleError(_0x452abd,null));};exports[_0xa0a9('0x108')]=function(_0x400095,_0x14a263){var _0xd4de40={'where':{}},_0x164ce4={},_0x1ccc1f={'count':0x0,'rows':[]};return db[_0xa0a9('0x40')]['findOne']({'where':{'id':_0x400095[_0xa0a9('0xbd')]['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x14a263,null))[_0xa0a9('0x12')](function(_0x440856){if(_0x440856){_0x164ce4['model']=_['keys'](db['ChatMessage']['rawAttributes']);_0x164ce4['query']=_['keys'](_0x400095[_0xa0a9('0x45')]);_0x164ce4[_0xa0a9('0x47')]=_[_0xa0a9('0x48')](_0x164ce4['model'],_0x164ce4[_0xa0a9('0x45')]);_0xd4de40[_0xa0a9('0x49')]=_[_0xa0a9('0x48')](_0x164ce4['model'],qs[_0xa0a9('0x4a')](_0x400095[_0xa0a9('0x45')][_0xa0a9('0x4a')]));_0xd4de40['attributes']=_0xd4de40[_0xa0a9('0x49')]['length']?_0xd4de40['attributes']:_0x164ce4['model'];if(!_0x400095[_0xa0a9('0x45')][_0xa0a9('0x4c')]('nolimit')){_0xd4de40['limit']=qs[_0xa0a9('0x21')](_0x400095[_0xa0a9('0x45')][_0xa0a9('0x21')]);_0xd4de40[_0xa0a9('0x1e')]=qs['offset'](_0x400095[_0xa0a9('0x45')][_0xa0a9('0x1e')]);}_0xd4de40[_0xa0a9('0x93')]=qs[_0xa0a9('0x4e')](_0x400095[_0xa0a9('0x45')][_0xa0a9('0x4e')]);_0xd4de40[_0xa0a9('0x7e')]=qs[_0xa0a9('0x47')](_[_0xa0a9('0x4f')](_0x400095[_0xa0a9('0x45')],_0x164ce4[_0xa0a9('0x47')]));_0xd4de40[_0xa0a9('0x7e')]['ChatInteractionId']=_0x440856['id'];if(_0x400095[_0xa0a9('0x45')][_0xa0a9('0x8a')]){_0xd4de40[_0xa0a9('0x7e')]=_[_0xa0a9('0x2a')](_0xd4de40[_0xa0a9('0x7e')],{'$or':_[_0xa0a9('0x2e')](_0xd4de40[_0xa0a9('0x49')],function(_0x472cb0){var _0x4bf645={};_0x4bf645[_0x472cb0]={'$like':'%'+_0x400095['query'][_0xa0a9('0x8a')]+'%'};return _0x4bf645;})});}_0xd4de40['where'][_0xa0a9('0xf6')]=![];if(_0x400095[_0xa0a9('0x45')]['id']){_0xd4de40[_0xa0a9('0x7e')]['id']={'$gt':_0x400095[_0xa0a9('0x45')]['id']};}_0xd4de40=_[_0xa0a9('0x2a')]({},_0xd4de40,_0x400095[_0xa0a9('0x105')]);return db[_0xa0a9('0xd2')][_0xa0a9('0x20')]({'where':_0xd4de40[_0xa0a9('0x7e')]})[_0xa0a9('0x12')](function(_0x166de1){_0x1ccc1f[_0xa0a9('0x20')]=_0x166de1;_0xd4de40['include']=[];if(_0x400095[_0xa0a9('0x45')][_0xa0a9('0x109')]){_0xd4de40[_0xa0a9('0xba')][_0xa0a9('0x34')]({'model':db[_0xa0a9('0x79')],'as':_0xa0a9('0x79'),'attributes':['id',_0xa0a9('0x2f'),'alias']});}if(_0x400095['query']['includeAll']){_0xd4de40[_0xa0a9('0xba')]=[{'all':!![]}];}return db[_0xa0a9('0xd2')]['findAll'](_0xd4de40);})[_0xa0a9('0x12')](function(_0x36b55b){_0x1ccc1f[_0xa0a9('0x107')]=_0x36b55b;return _0x1ccc1f;});}})[_0xa0a9('0x12')](respondWithFilteredResult(_0x14a263,_0xd4de40))[_0xa0a9('0x35')](handleError(_0x14a263,null));};exports[_0xa0a9('0x10a')]=function(_0x39995d,_0x2bfd59){return db['ChatInteraction'][_0xa0a9('0x67')]({'where':{'id':_0x39995d['params']['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x2bfd59,null))[_0xa0a9('0x12')](function(_0x51377d){if(_0x51377d){return _0x51377d['setTags'](_0x39995d['body'][_0xa0a9('0x102')],_[_0xa0a9('0x101')](_0x39995d[_0xa0a9('0x7b')],[_0xa0a9('0x102'),'id'])||{})['spread'](function(){return db['Tag'][_0xa0a9('0x106')]({'attributes':['id',_0xa0a9('0x27'),_0xa0a9('0x51')],'where':{'id':_0x39995d[_0xa0a9('0x7b')][_0xa0a9('0x102')]}});})[_0xa0a9('0x12')](function(_0x1f34d4){socket[_0xa0a9('0x10b')](_0xa0a9('0x10c'),{'id':Number(_0x39995d[_0xa0a9('0xbd')]['id']),'tags':_0x1f34d4||[]});return{'id':Number(_0x39995d[_0xa0a9('0xbd')]['id']),'tags':_0x1f34d4||[]};});}})[_0xa0a9('0x12')](respondWithResult(_0x2bfd59,null))[_0xa0a9('0x35')](handleError(_0x2bfd59,null));};exports['removeTags']=function(_0x58afbe,_0x45f667){return db[_0xa0a9('0x40')]['find']({'where':{'id':_0x58afbe['params']['id']}})[_0xa0a9('0x12')](handleEntityNotFound(_0x45f667,null))[_0xa0a9('0x12')](function(_0x3c9b49){if(_0x3c9b49){return _0x3c9b49[_0xa0a9('0x10d')](_0x58afbe[_0xa0a9('0x45')][_0xa0a9('0x102')]);}})[_0xa0a9('0x12')](respondWithStatusCode(_0x45f667,null))[_0xa0a9('0x35')](handleError(_0x45f667,null));};exports[_0xa0a9('0xe5')]=function(_0x307abf,_0x45f3eb){var _0x4ce9ab=moment()['unix']()['toString']();var _0x297188=path['join'](config['root'],_0xa0a9('0x10e'),_0xa0a9('0x10f'),_0xa0a9('0x110'));var _0x16ca55=path[_0xa0a9('0xe1')](config[_0xa0a9('0xe2')],_0xa0a9('0x10e'),_0xa0a9('0x10f'),_0xa0a9('0x111'));var _0x1104ce=path['join'](_0x297188,_0x4ce9ab);var _0x364531=util['format'](_0xa0a9('0x112'),_0x307abf[_0xa0a9('0xbd')]['id'],_0x4ce9ab);var _0x302f76=path[_0xa0a9('0xe1')](_0x297188,_0x364531);var _0x4e229b=[];_0x4e229b[_0xa0a9('0x34')]({'model':db[_0xa0a9('0x79')],'as':'User','attributes':['id',_0xa0a9('0x2f')],'raw':!![]});_0x4e229b['push']({'model':db['CmContact'],'as':_0xa0a9('0x6b'),'attributes':['id',_0xa0a9('0x113'),'lastName'],'raw':!![]});if(_0x307abf[_0xa0a9('0x45')][_0xa0a9('0x111')]){_0x4e229b['push']({'model':db[_0xa0a9('0xde')],'as':_0xa0a9('0xde'),'raw':!![]});}var _0x16e611=[{'model':db[_0xa0a9('0xd2')],'as':_0xa0a9('0xea'),'attributes':['id',_0xa0a9('0x7b'),_0xa0a9('0x81'),_0xa0a9('0xf5'),'secret',_0xa0a9('0x86')],'include':_0x4e229b}];_0x16e611[_0xa0a9('0x34')]({'model':db[_0xa0a9('0xc0')],'as':_0xa0a9('0x114'),'attributes':['id',_0xa0a9('0x27')]});_0x16e611[_0xa0a9('0x34')]({'model':db[_0xa0a9('0x79')],'as':_0xa0a9('0x115'),'attributes':['id',_0xa0a9('0x2f')]});return db[_0xa0a9('0x40')][_0xa0a9('0x67')]({'where':{'id':_0x307abf[_0xa0a9('0xbd')]['id']},'include':_0x16e611})['then'](handleEntityNotFound(_0x45f3eb,null))[_0xa0a9('0x12')](function(_0x21b0c2){if(_0x21b0c2){var _0x532a92=_0x21b0c2[_0xa0a9('0x116')]({'plain':!![]});fs[_0xa0a9('0x117')](_0x1104ce);var _0xcfd51d={'channel':'Chat','account':_0x532a92[_0xa0a9('0x114')]['name'],'agent':_0x532a92[_0xa0a9('0x115')]?_0x532a92['Owner'][_0xa0a9('0x2f')]:_0xa0a9('0x118'),'createdAt':moment(_0x532a92[_0xa0a9('0x81')])['format'](_0xa0a9('0x104'))[_0xa0a9('0x9d')](),'closedAt':_0x532a92[_0xa0a9('0x3b')]?moment(_0x532a92[_0xa0a9('0x119')])['format'](_0xa0a9('0x104'))[_0xa0a9('0x9d')]():'','disposition':_0x532a92[_0xa0a9('0x3d')],'chatInfo':{'browser':_0x532a92[_0xa0a9('0x11a')],'os':_0x532a92[_0xa0a9('0x11b')],'referer':_0x532a92[_0xa0a9('0x11c')],'customerIp':_0x532a92['customerIp'],'customerPort':_0x532a92['customerPort']?_0x532a92['customerPort']:_0xa0a9('0x118')},'messages':_(_0x532a92[_0xa0a9('0xea')])[_0xa0a9('0x11d')]()[_0xa0a9('0x8a')]({'secret':![]})[_0xa0a9('0x2e')](function(_0xe69cbf){if(_0xe69cbf['Attachment']){var _0x5c0b22=path[_0xa0a9('0xe1')](_0x16ca55,_0xe69cbf[_0xa0a9('0xde')][_0xa0a9('0x11e')]);if(fs['existsSync'](_0x5c0b22)){fs['createReadStream'](_0x5c0b22)[_0xa0a9('0x11f')](fs['createWriteStream'](path['join'](_0x1104ce,_0xe69cbf[_0xa0a9('0xde')][_0xa0a9('0x11e')])));}}return{'date':moment(_0xe69cbf['createdAt'])[_0xa0a9('0xef')](_0xa0a9('0x104'))[_0xa0a9('0x9d')](),'sender':_0xe69cbf['direction']===_0xa0a9('0x120')?_0xe69cbf[_0xa0a9('0x79')]?_0xe69cbf[_0xa0a9('0x79')][_0xa0a9('0x2f')]:'System':_0xe69cbf[_0xa0a9('0x6b')][_0xa0a9('0x113')]+(_0xe69cbf[_0xa0a9('0x6b')][_0xa0a9('0x121')]?'\x20'+_0xe69cbf[_0xa0a9('0x6b')][_0xa0a9('0x121')]:''),'body':_0xe69cbf[_0xa0a9('0xde')]?_0xe69cbf['Attachment']['basename']:_0xe69cbf['body'],'direction':_0xe69cbf[_0xa0a9('0xf5')]===_0xa0a9('0x120')?'A':'C','secret':_0xe69cbf[_0xa0a9('0xf6')],'read':_0xe69cbf[_0xa0a9('0x86')],'attachment':_0xe69cbf[_0xa0a9('0xde')]};})['value']()};return ejs['renderFile'](path[_0xa0a9('0xe1')](config[_0xa0a9('0xe2')],_0xa0a9('0x10e'),'views',_0xa0a9('0x122')),{'interaction':_0xcfd51d})[_0xa0a9('0x12')](function(_0xd552c9){var _0x3fa016=path[_0xa0a9('0xe1')](_0x1104ce,_0xa0a9('0x123')+_0x532a92['id']+'-'+_0x4ce9ab+_0xa0a9('0x124'));var _0xef07f0={'path':_0x3fa016,'channel':_0xa0a9('0x125'),'interactionId':_0x532a92['id']};return pdf[_0xa0a9('0x126')](_0xd552c9,_0xef07f0);})['then'](function(){return new Promise(function(_0x538668,_0x1092f8){zipdir(_0x1104ce,{'saveTo':_0x302f76},function(_0x2117a6,_0x1128aa){if(_0x2117a6)return _0x1092f8(_0x2117a6);return _0x538668(_0x1128aa);});})[_0xa0a9('0x12')](function(){return new BPromise(function(_0x3414bd,_0x50db7d){rimraf(_0x1104ce,function(_0x5560aa){if(_0x5560aa)_0x50db7d(_0x5560aa);return _0x3414bd();});});})[_0xa0a9('0x12')](function(){return _0x45f3eb[_0xa0a9('0xe5')](_0x302f76,_0x364531,function(_0x30a84c){if(_0x30a84c){logger[_0xa0a9('0x17')]('err',_0x30a84c);}else{fs[_0xa0a9('0x127')](_0x302f76);}});});});}else{return _0x45f3eb[_0xa0a9('0x1b')](0xc8);}})[_0xa0a9('0x35')](handleError(_0x45f3eb,null));};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.events.js b/server/api/chatInteraction/chatInteraction.events.js
index ec25160..8f4e574 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 _0xe9af=['exports','events','ChatInteraction','setMaxListeners','save','update','remove','getUsers','then','setDataValue','Users','map','unreadMessages','emit','catch','hasOwnProperty','hook'];(function(_0x1bd4a9,_0x5ca3f9){var _0x26b456=function(_0x283c72){while(--_0x283c72){_0x1bd4a9['push'](_0x1bd4a9['shift']());}};_0x26b456(++_0x5ca3f9);}(_0xe9af,0x9a));var _0xfe9a=function(_0x486081,_0x1bc542){_0x486081=_0x486081-0x0;var _0x439b6f=_0xe9af[_0x486081];return _0x439b6f;};'use strict';var EventEmitter=require(_0xfe9a('0x0'));var ChatInteraction=require('../../mysqldb')['db'][_0xfe9a('0x1')];var ChatMessage=require('../../mysqldb')['db']['ChatMessage'];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents[_0xfe9a('0x2')](0x0);var events={'afterCreate':_0xfe9a('0x3'),'afterUpdate':_0xfe9a('0x4'),'afterDestroy':_0xfe9a('0x5')};function emitEvent(_0x195c71){return function(_0x2a22de,_0x1f8947,_0x1afdbd){_0x2a22de[_0xfe9a('0x6')]({'attributes':['id'],'raw':!![]})[_0xfe9a('0x7')](function(_0x4e2537){_0x2a22de[_0xfe9a('0x8')](_0xfe9a('0x9'),_0x4e2537[_0xfe9a('0xa')](function(_0x36666e){return{'id':_0x36666e['id']};}));return ChatMessage['findAll']({'where':{'ChatInteractionId':_0x2a22de['id'],'direction':'in','read':![]},'raw':!![]});})[_0xfe9a('0x7')](function(_0x2ade61){_0x2a22de[_0xfe9a('0x8')](_0xfe9a('0xb'),_0x2ade61['length']);ChatInteractionEvents['emit'](_0x195c71+':'+_0x2a22de['id'],_0x2a22de);ChatInteractionEvents[_0xfe9a('0xc')](_0x195c71,_0x2a22de);_0x1afdbd(null);})[_0xfe9a('0xd')](_0x1afdbd(null));};}for(var e in events){if(events[_0xfe9a('0xe')](e)){var event=events[e];ChatInteraction[_0xfe9a('0xf')](e,emitEvent(event));}}module[_0xfe9a('0x10')]=ChatInteractionEvents;
\ No newline at end of file
+var _0x7233=['getUsers','then','Users','map','setDataValue','unreadMessages','emit','catch','hasOwnProperty','exports','../../mysqldb','setMaxListeners','update'];(function(_0x28b00a,_0x12b1c9){var _0xa7fe9c=function(_0x14674e){while(--_0x14674e){_0x28b00a['push'](_0x28b00a['shift']());}};_0xa7fe9c(++_0x12b1c9);}(_0x7233,0x1d1));var _0x3723=function(_0x3a6ee4,_0x3afe1e){_0x3a6ee4=_0x3a6ee4-0x0;var _0x473242=_0x7233[_0x3a6ee4];return _0x473242;};'use strict';var EventEmitter=require('events');var ChatInteraction=require(_0x3723('0x0'))['db']['ChatInteraction'];var ChatMessage=require(_0x3723('0x0'))['db']['ChatMessage'];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents[_0x3723('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':_0x3723('0x2'),'afterDestroy':'remove'};function emitEvent(_0x375335){return function(_0x441a58,_0x5d7881,_0x571bed){_0x441a58[_0x3723('0x3')]({'attributes':['id'],'raw':!![]})[_0x3723('0x4')](function(_0x158365){_0x441a58['setDataValue'](_0x3723('0x5'),_0x158365[_0x3723('0x6')](function(_0x2b88f3){return{'id':_0x2b88f3['id']};}));return ChatMessage['findAll']({'where':{'ChatInteractionId':_0x441a58['id'],'direction':'in','read':![]},'raw':!![]});})[_0x3723('0x4')](function(_0x2dcf9e){_0x441a58[_0x3723('0x7')](_0x3723('0x8'),_0x2dcf9e['length']);ChatInteractionEvents[_0x3723('0x9')](_0x375335+':'+_0x441a58['id'],_0x441a58);ChatInteractionEvents[_0x3723('0x9')](_0x375335,_0x441a58);_0x571bed(null);})[_0x3723('0xa')](_0x571bed(null));};}for(var e in events){if(events[_0x3723('0xb')](e)){var event=events[e];ChatInteraction['hook'](e,emitEvent(event));}}module[_0x3723('0xc')]=ChatInteractionEvents;
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.model.js b/server/api/chatInteraction/chatInteraction.model.js
index 2d80ebc..4cb7466 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 _0x256b=['closedAt','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatInteraction.attributes','exports','define','ChatInteraction','chat_interactions','changed','closed'];(function(_0x91ddd4,_0x1cc013){var _0x51c5d1=function(_0x39eac6){while(--_0x39eac6){_0x91ddd4['push'](_0x91ddd4['shift']());}};_0x51c5d1(++_0x1cc013);}(_0x256b,0x1e4));var _0xb256=function(_0x319e1c,_0x3b4634){_0x319e1c=_0x319e1c-0x0;var _0x49c88d=_0x256b[_0x319e1c];return _0x49c88d;};'use strict';var _=require(_0xb256('0x0'));var util=require(_0xb256('0x1'));var logger=require(_0xb256('0x2'))(_0xb256('0x3'));var moment=require(_0xb256('0x4'));var BPromise=require(_0xb256('0x5'));var rp=require(_0xb256('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb256('0x7'));var config=require(_0xb256('0x8'));var attributes=require(_0xb256('0x9'));module[_0xb256('0xa')]=function(_0x230aa1,_0xb6c6e0){return _0x230aa1[_0xb256('0xb')](_0xb256('0xc'),attributes,{'tableName':_0xb256('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x13d042,_0x5f1fb0,_0x1efb76){if(_0x13d042[_0xb256('0xe')](_0xb256('0xf'))){_0x13d042[_0xb256('0x10')]=moment()['format'](_0xb256('0x11'));}_0x1efb76(null,_0x13d042);}},'charset':_0xb256('0x12'),'collate':_0xb256('0x13')});};
\ No newline at end of file
+var _0x529e=['api','moment','request-promise','rimraf','../../config/environment','./chatInteraction.attributes','exports','define','ChatInteraction','chat_interactions','changed','closed','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0xb3c46e,_0x5c15f0){var _0x43ad16=function(_0x865238){while(--_0x865238){_0xb3c46e['push'](_0xb3c46e['shift']());}};_0x43ad16(++_0x5c15f0);}(_0x529e,0x8d));var _0xe529=function(_0x373bac,_0x486421){_0x373bac=_0x373bac-0x0;var _0x321f0b=_0x529e[_0x373bac];return _0x321f0b;};'use strict';var _=require(_0xe529('0x0'));var util=require(_0xe529('0x1'));var logger=require(_0xe529('0x2'))(_0xe529('0x3'));var moment=require(_0xe529('0x4'));var BPromise=require('bluebird');var rp=require(_0xe529('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe529('0x6'));var config=require(_0xe529('0x7'));var attributes=require(_0xe529('0x8'));module[_0xe529('0x9')]=function(_0x2e6017,_0x5dce3c){return _0x2e6017[_0xe529('0xa')](_0xe529('0xb'),attributes,{'tableName':_0xe529('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0xbe13f,_0x3577b0,_0x4732d9){if(_0xbe13f[_0xe529('0xd')](_0xe529('0xe'))){_0xbe13f['closedAt']=moment()['format'](_0xe529('0xf'));}_0x4732d9(null,_0xbe13f);}},'charset':_0xe529('0x10'),'collate':_0xe529('0x11')});};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.rpc.js b/server/api/chatInteraction/chatInteraction.rpc.js
index 94fecdb..cbf6c4c 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 _0x9a3e=['socket.io-emitter','./chatInteraction.socket','register','then','info','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','ChatInteraction,\x20%s,\x20%s','message','result','catch','ChatInteraction','update','options','raw','limit','UpdateChatInteraction','find','where','body','ids','omit','spread','AddTags','lodash','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','redis','localhost'];(function(_0x1deb03,_0xd05ad8){var _0x189fe7=function(_0x321225){while(--_0x321225){_0x1deb03['push'](_0x1deb03['shift']());}};_0x189fe7(++_0xd05ad8);}(_0x9a3e,0x133));var _0xe9a3=function(_0x37ca2d,_0x3075a3){_0x37ca2d=_0x37ca2d-0x0;var _0x598608=_0x9a3e[_0x37ca2d];return _0x598608;};'use strict';var _=require(_0xe9a3('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0xe9a3('0x1'));var rs=require(_0xe9a3('0x2'));var fs=require('fs');var Redis=require(_0xe9a3('0x3'));var db=require(_0xe9a3('0x4'))['db'];var utils=require(_0xe9a3('0x5'));var logger=require('../../config/logger')(_0xe9a3('0x6'));var config=require(_0xe9a3('0x7'));var jayson=require(_0xe9a3('0x8'));var client=jayson[_0xe9a3('0x9')][_0xe9a3('0xa')]({'port':0x232a});config[_0xe9a3('0xb')]=_['defaults'](config[_0xe9a3('0xb')],{'host':_0xe9a3('0xc'),'port':0x18eb});var socket=require(_0xe9a3('0xd'))(new Redis(config[_0xe9a3('0xb')]));require(_0xe9a3('0xe'))[_0xe9a3('0xf')](socket);function respondWithRpcPromise(_0x1611fa,_0x41df4f,_0x44b38e){return new BPromise(function(_0x4ffaf4,_0x4fcf3c){return client['request'](_0x1611fa,_0x44b38e)[_0xe9a3('0x10')](function(_0x380038){logger[_0xe9a3('0x11')]('ChatInteraction,\x20%s,\x20%s',_0x41df4f,'request\x20sent');logger[_0xe9a3('0x12')](_0xe9a3('0x13'),_0x41df4f,_0xe9a3('0x14'),JSON[_0xe9a3('0x15')](_0x380038));if(_0x380038['error']){if(_0x380038[_0xe9a3('0x16')]['code']===0x1f4){logger[_0xe9a3('0x16')](_0xe9a3('0x17'),_0x41df4f,_0x380038[_0xe9a3('0x16')][_0xe9a3('0x18')]);return _0x4fcf3c(_0x380038['error'][_0xe9a3('0x18')]);}logger[_0xe9a3('0x16')](_0xe9a3('0x17'),_0x41df4f,_0x380038['error'][_0xe9a3('0x18')]);return _0x4ffaf4(_0x380038[_0xe9a3('0x16')][_0xe9a3('0x18')]);}else{logger[_0xe9a3('0x11')](_0xe9a3('0x17'),_0x41df4f,_0xe9a3('0x14'));_0x4ffaf4(_0x380038[_0xe9a3('0x19')][_0xe9a3('0x18')]);}})[_0xe9a3('0x1a')](function(_0x5df7e4){logger[_0xe9a3('0x16')]('ChatInteraction,\x20%s,\x20%s',_0x41df4f,_0x5df7e4);_0x4fcf3c(_0x5df7e4);});});}exports['UpdateChatInteraction']=function(_0x25db66){var _0x1049da=this;return new Promise(function(_0x5d4fbd,_0x5c1ec4){return db[_0xe9a3('0x1b')][_0xe9a3('0x1c')](_0x25db66['body'],{'raw':_0x25db66['options']?_0x25db66[_0xe9a3('0x1d')][_0xe9a3('0x1e')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x25db66[_0xe9a3('0x1d')]?_0x25db66[_0xe9a3('0x1d')]['where']||null:null,'attributes':_0x25db66[_0xe9a3('0x1d')]?_0x25db66[_0xe9a3('0x1d')]['attributes']||null:null,'limit':_0x25db66[_0xe9a3('0x1d')]?_0x25db66['options'][_0xe9a3('0x1f')]||null:null})[_0xe9a3('0x10')](function(_0x44ecaf){logger[_0xe9a3('0x11')](_0xe9a3('0x20'),_0x25db66);logger['debug']('UpdateChatInteraction',_0x25db66,JSON[_0xe9a3('0x15')](_0x44ecaf));_0x5d4fbd(_0x44ecaf);})[_0xe9a3('0x1a')](function(_0x451f5a){logger[_0xe9a3('0x16')](_0xe9a3('0x20'),_0x451f5a['message'],_0x25db66);_0x5c1ec4(_0x1049da['error'](0x1f4,_0x451f5a[_0xe9a3('0x18')]));});});};exports['AddTagsToChatInteraction']=function(_0x8d28a8){return new Promise(function(_0x1ce1b5,_0x4d34b9){return db['ChatInteraction'][_0xe9a3('0x21')]({'where':_0x8d28a8['options']?_0x8d28a8['options'][_0xe9a3('0x22')]||null:null})[_0xe9a3('0x10')](function(_0x33f978){if(_0x33f978){return _0x33f978['addTags'](_0x8d28a8[_0xe9a3('0x23')][_0xe9a3('0x24')],_[_0xe9a3('0x25')](_0x8d28a8[_0xe9a3('0x23')],['ids','id'])||{});}})[_0xe9a3('0x26')](function(_0x31d285){logger[_0xe9a3('0x11')](_0xe9a3('0x27'),_0x8d28a8);logger[_0xe9a3('0x12')](_0xe9a3('0x27'),_0x8d28a8,JSON[_0xe9a3('0x15')](_0x31d285));_0x1ce1b5(_0x31d285);})[_0xe9a3('0x1a')](function(_0x2b17e4){logger[_0xe9a3('0x16')](_0xe9a3('0x27'),_0x2b17e4['message'],_0x8d28a8);_0x4d34b9(_this[_0xe9a3('0x16')](0x1f4,_0x2b17e4['message']));});});};
\ No newline at end of file
+var _0x96e0=['rpc','../../config/environment','jayson/promise','client','redis','./chatInteraction.socket','request','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','UpdateChatInteraction','ChatInteraction','body','options','attributes','AddTagsToChatInteraction','ids','spread','AddTags','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x223b34,_0xd55c31){var _0x3e3be7=function(_0x5acea8){while(--_0x5acea8){_0x223b34['push'](_0x223b34['shift']());}};_0x3e3be7(++_0xd55c31);}(_0x96e0,0x10a));var _0x096e=function(_0x30d977,_0x44123a){_0x30d977=_0x30d977-0x0;var _0x305955=_0x96e0[_0x30d977];return _0x305955;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x096e('0x0'));var BPromise=require(_0x096e('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x096e('0x2'));var db=require(_0x096e('0x3'))['db'];var utils=require(_0x096e('0x4'));var logger=require(_0x096e('0x5'))(_0x096e('0x6'));var config=require(_0x096e('0x7'));var jayson=require(_0x096e('0x8'));var client=jayson[_0x096e('0x9')]['http']({'port':0x232a});config[_0x096e('0xa')]=_['defaults'](config[_0x096e('0xa')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x096e('0xb'))['register'](socket);function respondWithRpcPromise(_0x3c6ee9,_0x549af7,_0x3f74a5){return new BPromise(function(_0x53d779,_0x524568){return client[_0x096e('0xc')](_0x3c6ee9,_0x3f74a5)[_0x096e('0xd')](function(_0x27e84c){logger[_0x096e('0xe')](_0x096e('0xf'),_0x549af7,_0x096e('0x10'));logger[_0x096e('0x11')](_0x096e('0x12'),_0x549af7,'request\x20sent',JSON[_0x096e('0x13')](_0x27e84c));if(_0x27e84c['error']){if(_0x27e84c[_0x096e('0x14')][_0x096e('0x15')]===0x1f4){logger[_0x096e('0x14')](_0x096e('0xf'),_0x549af7,_0x27e84c[_0x096e('0x14')][_0x096e('0x16')]);return _0x524568(_0x27e84c[_0x096e('0x14')][_0x096e('0x16')]);}logger[_0x096e('0x14')](_0x096e('0xf'),_0x549af7,_0x27e84c['error'][_0x096e('0x16')]);return _0x53d779(_0x27e84c['error'][_0x096e('0x16')]);}else{logger[_0x096e('0xe')](_0x096e('0xf'),_0x549af7,'request\x20sent');_0x53d779(_0x27e84c[_0x096e('0x17')][_0x096e('0x16')]);}})[_0x096e('0x18')](function(_0x2cbc9b){logger['error'](_0x096e('0xf'),_0x549af7,_0x2cbc9b);_0x524568(_0x2cbc9b);});});}exports[_0x096e('0x19')]=function(_0x1809a1){var _0x5d013b=this;return new Promise(function(_0x49fb79,_0x264f1c){return db[_0x096e('0x1a')]['update'](_0x1809a1[_0x096e('0x1b')],{'raw':_0x1809a1[_0x096e('0x1c')]?_0x1809a1['options']['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x1809a1['options']?_0x1809a1['options']['where']||null:null,'attributes':_0x1809a1[_0x096e('0x1c')]?_0x1809a1[_0x096e('0x1c')][_0x096e('0x1d')]||null:null,'limit':_0x1809a1[_0x096e('0x1c')]?_0x1809a1[_0x096e('0x1c')]['limit']||null:null})[_0x096e('0xd')](function(_0x46dfc6){logger[_0x096e('0xe')](_0x096e('0x19'),_0x1809a1);logger['debug'](_0x096e('0x19'),_0x1809a1,JSON['stringify'](_0x46dfc6));_0x49fb79(_0x46dfc6);})['catch'](function(_0x5b532e){logger[_0x096e('0x14')](_0x096e('0x19'),_0x5b532e[_0x096e('0x16')],_0x1809a1);_0x264f1c(_0x5d013b['error'](0x1f4,_0x5b532e[_0x096e('0x16')]));});});};exports[_0x096e('0x1e')]=function(_0x1fb731){return new Promise(function(_0x161f12,_0x5aac5c){return db['ChatInteraction']['find']({'where':_0x1fb731[_0x096e('0x1c')]?_0x1fb731[_0x096e('0x1c')]['where']||null:null})[_0x096e('0xd')](function(_0x42da32){if(_0x42da32){return _0x42da32['addTags'](_0x1fb731[_0x096e('0x1b')][_0x096e('0x1f')],_['omit'](_0x1fb731[_0x096e('0x1b')],['ids','id'])||{});}})[_0x096e('0x20')](function(_0x3b343f){logger[_0x096e('0xe')]('AddTags',_0x1fb731);logger['debug'](_0x096e('0x21'),_0x1fb731,JSON['stringify'](_0x3b343f));_0x161f12(_0x3b343f);})[_0x096e('0x18')](function(_0x48d885){logger['error'](_0x096e('0x21'),_0x48d885[_0x096e('0x16')],_0x1fb731);_0x5aac5c(_this[_0x096e('0x14')](0x1f4,_0x48d885[_0x096e('0x16')]));});});};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.socket.js b/server/api/chatInteraction/chatInteraction.socket.js
index 16a52c8..3a0d074 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 _0x9466=['remove','removeListener','register','length','chatInteraction:','save'];(function(_0x26b0d9,_0x19c4ce){var _0x237795=function(_0x384ae4){while(--_0x384ae4){_0x26b0d9['push'](_0x26b0d9['shift']());}};_0x237795(++_0x19c4ce);}(_0x9466,0x161));var _0x6946=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x9466[_0x4792c8];return _0x35edb1;};'use strict';var ChatInteractionEvents=require('./chatInteraction.events');var events=[_0x6946('0x0'),_0x6946('0x1'),'update'];function createListener(_0x5be013,_0x3f376b){return function(_0x561501){_0x3f376b['emit'](_0x5be013,_0x561501);};}function removeListener(_0x584506,_0x40683e){return function(){ChatInteractionEvents[_0x6946('0x2')](_0x584506,_0x40683e);};}exports[_0x6946('0x3')]=function(_0x540da7){for(var _0x389633=0x0,_0x3db051=events[_0x6946('0x4')];_0x389633<_0x3db051;_0x389633++){var _0xe66426=events[_0x389633];var _0xdd5e79=createListener(_0x6946('0x5')+_0xe66426,_0x540da7);ChatInteractionEvents['on'](_0xe66426,_0xdd5e79);}};
\ No newline at end of file
+var _0xc884=['remove','update','removeListener','length','./chatInteraction.events'];(function(_0x2ed02c,_0x5386f9){var _0x113f27=function(_0x354b0a){while(--_0x354b0a){_0x2ed02c['push'](_0x2ed02c['shift']());}};_0x113f27(++_0x5386f9);}(_0xc884,0x130));var _0x4c88=function(_0x596524,_0x495428){_0x596524=_0x596524-0x0;var _0x235d59=_0xc884[_0x596524];return _0x235d59;};'use strict';var ChatInteractionEvents=require(_0x4c88('0x0'));var events=['save',_0x4c88('0x1'),_0x4c88('0x2')];function createListener(_0x3125ab,_0x1098ed){return function(_0x547e17){_0x1098ed['emit'](_0x3125ab,_0x547e17);};}function removeListener(_0x4dba2d,_0x2eb28e){return function(){ChatInteractionEvents[_0x4c88('0x3')](_0x4dba2d,_0x2eb28e);};}exports['register']=function(_0x4a2797){for(var _0x33b783=0x0,_0x559157=events[_0x4c88('0x4')];_0x33b783<_0x559157;_0x33b783++){var _0x29bd5e=events[_0x33b783];var _0x3a0403=createListener('chatInteraction:'+_0x29bd5e,_0x4a2797);ChatInteractionEvents['on'](_0x29bd5e,_0x3a0403);}};
\ No newline at end of file
diff --git a/server/api/chatInteraction/index.js b/server/api/chatInteraction/index.js
index c615817..b761104 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 _0x1a1b=['addMessage','/:id/tags','tracked','chat','chatinteraction:addtags','addTags','put','chatinteraction:update','update','/:id/custom_update','/:id/abandon','abandon','chatinteraction:destroy','destroy','delete','removeTags','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInteraction.controller','get','isAuthenticated','index','describe','/:id','isChatInteractionAuthorized','/:id/attachment_download','attachmentDownload','/:id/messages','getMessages','/:id/my_messages','/:id/download','post','create','/:id/vidaoo','createVidaooSession','diskStorage','join','root','server/files/attachments/','format','%s-%s','now','originalname','/:id/attachment_upload','file','attachmentUpload'];(function(_0x5d9db1,_0xbca50f){var _0x48a92e=function(_0x226ed1){while(--_0x226ed1){_0x5d9db1['push'](_0x5d9db1['shift']());}};_0x48a92e(++_0xbca50f);}(_0x1a1b,0xe9));var _0xb1a1=function(_0x55ec91,_0x5b5514){_0x55ec91=_0x55ec91-0x0;var _0x65451a=_0x1a1b[_0x55ec91];return _0x65451a;};'use strict';var multer=require(_0xb1a1('0x0'));var util=require('util');var path=require(_0xb1a1('0x1'));var timeout=require(_0xb1a1('0x2'));var express=require(_0xb1a1('0x3'));var router=express[_0xb1a1('0x4')]();var fs_extra=require(_0xb1a1('0x5'));var auth=require(_0xb1a1('0x6'));var interaction=require(_0xb1a1('0x7'));var config=require(_0xb1a1('0x8'));var controller=require(_0xb1a1('0x9'));router[_0xb1a1('0xa')]('/',auth[_0xb1a1('0xb')](),controller[_0xb1a1('0xc')]);router[_0xb1a1('0xa')]('/describe',auth[_0xb1a1('0xb')](),controller[_0xb1a1('0xd')]);router[_0xb1a1('0xa')](_0xb1a1('0xe'),auth[_0xb1a1('0xf')](),controller['show']);router[_0xb1a1('0xa')](_0xb1a1('0x10'),auth[_0xb1a1('0xf')](),controller[_0xb1a1('0x11')]);router['get'](_0xb1a1('0x12'),auth[_0xb1a1('0xb')](),controller[_0xb1a1('0x13')]);router[_0xb1a1('0xa')](_0xb1a1('0x14'),auth[_0xb1a1('0xf')](),controller['getMyMessages']);router['get'](_0xb1a1('0x15'),auth[_0xb1a1('0xb')](),controller['download']);router[_0xb1a1('0x16')]('/',auth[_0xb1a1('0xb')](),controller[_0xb1a1('0x17')]);router[_0xb1a1('0x16')](_0xb1a1('0x18'),auth['isAuthenticated'](),controller[_0xb1a1('0x19')]);var upload=multer({'storage':multer[_0xb1a1('0x1a')]({'destination':function(_0x20cb3b,_0x2c924a,_0x2aa511){_0x2aa511(null,path[_0xb1a1('0x1b')](config[_0xb1a1('0x1c')],_0xb1a1('0x1d')));},'filename':function(_0x236274,_0xb2aea0,_0x1da5a0){_0x1da5a0(null,util[_0xb1a1('0x1e')](_0xb1a1('0x1f'),Date[_0xb1a1('0x20')](),_0xb2aea0[_0xb1a1('0x21')]['replace'](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0xb1a1('0x16')](_0xb1a1('0x22'),upload['single'](_0xb1a1('0x23')),controller[_0xb1a1('0x24')]);router[_0xb1a1('0x16')](_0xb1a1('0x12'),auth[_0xb1a1('0xf')](),controller[_0xb1a1('0x25')]);router['post'](_0xb1a1('0x26'),auth[_0xb1a1('0xb')](),interaction[_0xb1a1('0x27')](_0xb1a1('0x28'),_0xb1a1('0x29')),controller[_0xb1a1('0x2a')]);router[_0xb1a1('0x2b')]('/:id',auth[_0xb1a1('0xb')](),interaction['tracked'](_0xb1a1('0x28'),_0xb1a1('0x2c')),controller[_0xb1a1('0x2d')]);router[_0xb1a1('0x2b')](_0xb1a1('0x2e'),controller['customUpdate']);router[_0xb1a1('0x2b')](_0xb1a1('0x2f'),auth[_0xb1a1('0xf')](),controller[_0xb1a1('0x30')]);router[_0xb1a1('0x2b')]('/:id/close',controller['close']);router['delete']('/:id',auth[_0xb1a1('0xb')](),interaction[_0xb1a1('0x27')](_0xb1a1('0x28'),_0xb1a1('0x31')),controller[_0xb1a1('0x32')]);router[_0xb1a1('0x33')]('/:id/tags',auth[_0xb1a1('0xb')](),controller[_0xb1a1('0x34')]);module[_0xb1a1('0x35')]=router;
\ No newline at end of file
+var _0xf736=['close','delete','chatinteraction:destroy','removeTags','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInteraction.controller','get','index','/describe','describe','/:id','isChatInteractionAuthorized','/:id/attachment_download','/:id/messages','getMessages','/:id/my_messages','getMyMessages','/:id/download','isAuthenticated','post','create','/:id/vidaoo','diskStorage','join','root','server/files/attachments/','format','%s-%s','now','originalname','replace','/:id/attachment_upload','file','attachmentUpload','addMessage','/:id/tags','tracked','chat','chatinteraction:addtags','put','chatinteraction:update','/:id/custom_update','customUpdate','/:id/abandon','abandon'];(function(_0x3d9fb9,_0x120e76){var _0x5ea49a=function(_0x5ee7e3){while(--_0x5ee7e3){_0x3d9fb9['push'](_0x3d9fb9['shift']());}};_0x5ea49a(++_0x120e76);}(_0xf736,0x6a));var _0x6f73=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf736[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0x6f73('0x0'));var path=require(_0x6f73('0x1'));var timeout=require('connect-timeout');var express=require(_0x6f73('0x2'));var router=express['Router']();var fs_extra=require(_0x6f73('0x3'));var auth=require(_0x6f73('0x4'));var interaction=require(_0x6f73('0x5'));var config=require(_0x6f73('0x6'));var controller=require(_0x6f73('0x7'));router[_0x6f73('0x8')]('/',auth['isAuthenticated'](),controller[_0x6f73('0x9')]);router['get'](_0x6f73('0xa'),auth['isAuthenticated'](),controller[_0x6f73('0xb')]);router['get'](_0x6f73('0xc'),auth[_0x6f73('0xd')](),controller['show']);router['get'](_0x6f73('0xe'),auth[_0x6f73('0xd')](),controller['attachmentDownload']);router[_0x6f73('0x8')](_0x6f73('0xf'),auth['isAuthenticated'](),controller[_0x6f73('0x10')]);router[_0x6f73('0x8')](_0x6f73('0x11'),auth[_0x6f73('0xd')](),controller[_0x6f73('0x12')]);router['get'](_0x6f73('0x13'),auth[_0x6f73('0x14')](),controller['download']);router[_0x6f73('0x15')]('/',auth['isAuthenticated'](),controller[_0x6f73('0x16')]);router[_0x6f73('0x15')](_0x6f73('0x17'),auth['isAuthenticated'](),controller['createVidaooSession']);var upload=multer({'storage':multer[_0x6f73('0x18')]({'destination':function(_0x172edc,_0xc49e0f,_0x2f11ab){_0x2f11ab(null,path[_0x6f73('0x19')](config[_0x6f73('0x1a')],_0x6f73('0x1b')));},'filename':function(_0x53e4be,_0x4b3a10,_0x3ec0e6){_0x3ec0e6(null,util[_0x6f73('0x1c')](_0x6f73('0x1d'),Date[_0x6f73('0x1e')](),_0x4b3a10[_0x6f73('0x1f')][_0x6f73('0x20')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x6f73('0x15')](_0x6f73('0x21'),upload['single'](_0x6f73('0x22')),controller[_0x6f73('0x23')]);router[_0x6f73('0x15')](_0x6f73('0xf'),auth['isChatInteractionAuthorized'](),controller[_0x6f73('0x24')]);router[_0x6f73('0x15')](_0x6f73('0x25'),auth[_0x6f73('0x14')](),interaction[_0x6f73('0x26')](_0x6f73('0x27'),_0x6f73('0x28')),controller['addTags']);router[_0x6f73('0x29')](_0x6f73('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x6f73('0x27'),_0x6f73('0x2a')),controller['update']);router['put'](_0x6f73('0x2b'),controller[_0x6f73('0x2c')]);router['put'](_0x6f73('0x2d'),auth[_0x6f73('0xd')](),controller[_0x6f73('0x2e')]);router['put']('/:id/close',controller[_0x6f73('0x2f')]);router[_0x6f73('0x30')](_0x6f73('0xc'),auth[_0x6f73('0x14')](),interaction[_0x6f73('0x26')]('chat',_0x6f73('0x31')),controller['destroy']);router[_0x6f73('0x30')]('/:id/tags',auth[_0x6f73('0x14')](),controller[_0x6f73('0x32')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.attributes.js b/server/api/chatInternalMessage/chatInternalMessage.attributes.js
index fe299b1..2417eba 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 _0xb83c=['exports','medium','BOOLEAN','INTEGER','sequelize'];(function(_0x5ba46a,_0x582fe0){var _0x5cbf4f=function(_0x22349b){while(--_0x22349b){_0x5ba46a['push'](_0x5ba46a['shift']());}};_0x5cbf4f(++_0x582fe0);}(_0xb83c,0xf4));var _0xcb83=function(_0x1ae109,_0x58f4e2){_0x1ae109=_0x1ae109-0x0;var _0x2c43a8=_0xb83c[_0x1ae109];return _0x2c43a8;};'use strict';var Sequelize=require(_0xcb83('0x0'));module[_0xcb83('0x1')]={'body':{'type':Sequelize['TEXT'](_0xcb83('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0xcb83('0x3')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize[_0xcb83('0x4')]}};
\ No newline at end of file
+var _0xcef9=['TEXT','BOOLEAN','INTEGER','exports'];(function(_0xe1e09c,_0x46a516){var _0x3b577e=function(_0x1450ab){while(--_0x1450ab){_0xe1e09c['push'](_0xe1e09c['shift']());}};_0x3b577e(++_0x46a516);}(_0xcef9,0x19b));var _0x9cef=function(_0x52d9d8,_0x5ce859){_0x52d9d8=_0x52d9d8-0x0;var _0x2cabd0=_0xcef9[_0x52d9d8];return _0x2cabd0;};'use strict';var Sequelize=require('sequelize');module[_0x9cef('0x0')]={'body':{'type':Sequelize[_0x9cef('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x9cef('0x2')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize[_0x9cef('0x3')]}};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.controller.js b/server/api/chatInternalMessage/chatInternalMessage.controller.js
index 903f0eb..dd862c5 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 _0x61b2=['desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../config/license/util','redis','localhost','socket.io-emitter','./chatInternalMessage.socket','sendStatus','status','end','offset','undefined','limit','count','set','Content-Range','json','apply','reject','save','then','destroy','error','stack','name','send','index','map','ChatInternalMessage','rawAttributes','type','key','query','keys','filters','intersection','model','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','VIRTUAL','filter','includeAll','include','findAll','rows','catch','show','params','length','merge','options','find','create','body','update','describe','get','messages','createdAt','lastMessage','lastMessageAt','getUsers','User','admin','user','fullname','userpic','internal','lastLoginAt','allowmessenger','showWebBar','-online','VoiceQueues','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Agents','userProfileId','autoAssociation','UserProfileResource','agent','resourceId','push','FromId','ToId','read','-createdAt','all','eml-format','rimraf','zip-dir','fast-json-patch','moment','util','path','ejs','fs-extra','lodash','squel','crypto','jsforce'];(function(_0x560d66,_0xf86af7){var _0x1a7191=function(_0x47fdbc){while(--_0x47fdbc){_0x560d66['push'](_0x560d66['shift']());}};_0x1a7191(++_0xf86af7);}(_0x61b2,0x14c));var _0x261b=function(_0x58f1c8,_0x57c90f){_0x58f1c8=_0x58f1c8-0x0;var _0x37af32=_0x61b2[_0x58f1c8];return _0x37af32;};'use strict';var emlformat=require(_0x261b('0x0'));var rimraf=require(_0x261b('0x1'));var zipdir=require(_0x261b('0x2'));var jsonpatch=require(_0x261b('0x3'));var rp=require('request-promise');var moment=require(_0x261b('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x261b('0x5'));var path=require(_0x261b('0x6'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x261b('0x7'));var fs=require('fs');var fs_extra=require(_0x261b('0x8'));var _=require(_0x261b('0x9'));var squel=require(_0x261b('0xa'));var crypto=require(_0x261b('0xb'));var jsforce=require(_0x261b('0xc'));var deskjs=require(_0x261b('0xd'));var toCsv=require(_0x261b('0xe'));var querystring=require(_0x261b('0xf'));var Papa=require(_0x261b('0x10'));var Redis=require(_0x261b('0x11'));var authService=require(_0x261b('0x12'));var qs=require(_0x261b('0x13'));var as=require(_0x261b('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x261b('0x15'));var utils=require(_0x261b('0x16'));var config=require(_0x261b('0x17'));var licenseUtil=require(_0x261b('0x18'));var db=require('../../mysqldb')['db'];config[_0x261b('0x19')]=_['defaults'](config[_0x261b('0x19')],{'host':_0x261b('0x1a'),'port':0x18eb});var socket=require(_0x261b('0x1b'))(new Redis(config['redis']));require(_0x261b('0x1c'))['register'](socket);function respondWithStatusCode(_0x5598d6,_0x1d56c4){_0x1d56c4=_0x1d56c4||0xcc;return function(_0x2d5abf){if(_0x2d5abf){return _0x5598d6[_0x261b('0x1d')](_0x1d56c4);}return _0x5598d6[_0x261b('0x1e')](_0x1d56c4)[_0x261b('0x1f')]();};}function respondWithResult(_0x221cad,_0x7e9e1){_0x7e9e1=_0x7e9e1||0xc8;return function(_0x342589){if(_0x342589){return _0x221cad[_0x261b('0x1e')](_0x7e9e1)['json'](_0x342589);}};}function respondWithFilteredResult(_0x55913a,_0x31b245){return function(_0x52bf0d){if(_0x52bf0d){var _0x57dcc5=typeof _0x31b245[_0x261b('0x20')]===_0x261b('0x21')&&typeof _0x31b245[_0x261b('0x22')]==='undefined';var _0x2ec0da=_0x52bf0d[_0x261b('0x23')];var _0x4fa087=_0x57dcc5?0x0:_0x31b245['offset'];var _0x5a10d3=_0x57dcc5?_0x52bf0d[_0x261b('0x23')]:_0x31b245['offset']+_0x31b245[_0x261b('0x22')];var _0x1407e1;if(_0x5a10d3>=_0x2ec0da){_0x5a10d3=_0x2ec0da;_0x1407e1=0xc8;}else{_0x1407e1=0xce;}_0x55913a[_0x261b('0x1e')](_0x1407e1);return _0x55913a[_0x261b('0x24')](_0x261b('0x25'),_0x4fa087+'-'+_0x5a10d3+'/'+_0x2ec0da)[_0x261b('0x26')](_0x52bf0d);}return null;};}function patchUpdates(_0x2dd36a){return function(_0x49d8a7){try{jsonpatch[_0x261b('0x27')](_0x49d8a7,_0x2dd36a,!![]);}catch(_0x4aa316){return BPromise[_0x261b('0x28')](_0x4aa316);}return _0x49d8a7[_0x261b('0x29')]();};}function saveUpdates(_0xeb9993,_0x4471ff){return function(_0x2719c9){if(_0x2719c9){return _0x2719c9['update'](_0xeb9993)[_0x261b('0x2a')](function(_0x3e62e4){return _0x3e62e4;});}return null;};}function removeEntity(_0x1576fa,_0x1b2421){return function(_0x1a1ee5){if(_0x1a1ee5){return _0x1a1ee5[_0x261b('0x2b')]()[_0x261b('0x2a')](function(){_0x1576fa[_0x261b('0x1e')](0xcc)['end']();});}};}function handleEntityNotFound(_0x534eae,_0x3d24e2){return function(_0x5c115b){if(!_0x5c115b){_0x534eae['sendStatus'](0x194);}return _0x5c115b;};}function handleError(_0x4425ef,_0x2219c6){_0x2219c6=_0x2219c6||0x1f4;return function(_0x1525a9){logger[_0x261b('0x2c')](_0x1525a9[_0x261b('0x2d')]);if(_0x1525a9['name']){delete _0x1525a9[_0x261b('0x2e')];}_0x4425ef[_0x261b('0x1e')](_0x2219c6)[_0x261b('0x2f')](_0x1525a9);};}exports[_0x261b('0x30')]=function(_0x2cbd11,_0xd11853){var _0x47ed4b={},_0x1547c1={},_0x31aea9={'count':0x0,'rows':[]};var _0x193298=_[_0x261b('0x31')](db[_0x261b('0x32')][_0x261b('0x33')],function(_0x496773){return{'name':_0x496773['fieldName'],'type':_0x496773[_0x261b('0x34')][_0x261b('0x35')]};});_0x1547c1['model']=_[_0x261b('0x31')](_0x193298,'name');_0x1547c1[_0x261b('0x36')]=_[_0x261b('0x37')](_0x2cbd11['query']);_0x1547c1[_0x261b('0x38')]=_[_0x261b('0x39')](_0x1547c1['model'],_0x1547c1[_0x261b('0x36')]);_0x47ed4b['attributes']=_['intersection'](_0x1547c1[_0x261b('0x3a')],qs[_0x261b('0x3b')](_0x2cbd11[_0x261b('0x36')]['fields']));_0x47ed4b[_0x261b('0x3c')]=_0x47ed4b[_0x261b('0x3c')]['length']?_0x47ed4b['attributes']:_0x1547c1[_0x261b('0x3a')];if(!_0x2cbd11[_0x261b('0x36')][_0x261b('0x3d')](_0x261b('0x3e'))){_0x47ed4b['limit']=qs[_0x261b('0x22')](_0x2cbd11[_0x261b('0x36')]['limit']);_0x47ed4b['offset']=qs[_0x261b('0x20')](_0x2cbd11[_0x261b('0x36')][_0x261b('0x20')]);}_0x47ed4b[_0x261b('0x3f')]=qs[_0x261b('0x40')](_0x2cbd11[_0x261b('0x36')][_0x261b('0x40')]);_0x47ed4b[_0x261b('0x41')]=qs[_0x261b('0x38')](_[_0x261b('0x42')](_0x2cbd11[_0x261b('0x36')],_0x1547c1['filters']),_0x193298);if(_0x2cbd11[_0x261b('0x36')]['filter']){_0x47ed4b['where']=_['merge'](_0x47ed4b[_0x261b('0x41')],{'$or':_[_0x261b('0x31')](_0x193298,function(_0x169631){if(_0x169631[_0x261b('0x34')]!==_0x261b('0x43')){var _0xb09f4d={};_0xb09f4d[_0x169631['name']]={'$like':'%'+_0x2cbd11[_0x261b('0x36')][_0x261b('0x44')]+'%'};return _0xb09f4d;}})});}_0x47ed4b=_['merge']({},_0x47ed4b,_0x2cbd11['options']);var _0x9e591b={'where':_0x47ed4b[_0x261b('0x41')]};return db[_0x261b('0x32')][_0x261b('0x23')](_0x9e591b)['then'](function(_0x3e8602){_0x31aea9[_0x261b('0x23')]=_0x3e8602;if(_0x2cbd11['query'][_0x261b('0x45')]){_0x47ed4b[_0x261b('0x46')]=[{'all':!![]}];}return db[_0x261b('0x32')][_0x261b('0x47')](_0x47ed4b);})[_0x261b('0x2a')](function(_0x5c92d3){_0x31aea9[_0x261b('0x48')]=_0x5c92d3;return _0x31aea9;})[_0x261b('0x2a')](respondWithFilteredResult(_0xd11853,_0x47ed4b))[_0x261b('0x49')](handleError(_0xd11853,null));};exports[_0x261b('0x4a')]=function(_0x1be65e,_0x252b5a){var _0x2160c6={'raw':!![],'where':{'id':_0x1be65e[_0x261b('0x4b')]['id']}},_0x42d8b2={};_0x42d8b2[_0x261b('0x3a')]=_[_0x261b('0x37')](db['ChatInternalMessage'][_0x261b('0x33')]);_0x42d8b2[_0x261b('0x36')]=_[_0x261b('0x37')](_0x1be65e['query']);_0x42d8b2[_0x261b('0x38')]=_[_0x261b('0x39')](_0x42d8b2[_0x261b('0x3a')],_0x42d8b2[_0x261b('0x36')]);_0x2160c6[_0x261b('0x3c')]=_['intersection'](_0x42d8b2[_0x261b('0x3a')],qs[_0x261b('0x3b')](_0x1be65e['query']['fields']));_0x2160c6[_0x261b('0x3c')]=_0x2160c6['attributes'][_0x261b('0x4c')]?_0x2160c6['attributes']:_0x42d8b2['model'];if(_0x1be65e[_0x261b('0x36')]['includeAll']){_0x2160c6['include']=[{'all':!![]}];}_0x2160c6=_[_0x261b('0x4d')]({},_0x2160c6,_0x1be65e[_0x261b('0x4e')]);return db['ChatInternalMessage'][_0x261b('0x4f')](_0x2160c6)[_0x261b('0x2a')](handleEntityNotFound(_0x252b5a,null))[_0x261b('0x2a')](respondWithResult(_0x252b5a,null))[_0x261b('0x49')](handleError(_0x252b5a,null));};exports[_0x261b('0x50')]=function(_0x47d53d,_0x2fd6a4){return db[_0x261b('0x32')][_0x261b('0x50')](_0x47d53d[_0x261b('0x51')],{})[_0x261b('0x2a')](respondWithResult(_0x2fd6a4,0xc9))[_0x261b('0x49')](handleError(_0x2fd6a4,null));};exports[_0x261b('0x52')]=function(_0x281814,_0x414026){if(_0x281814['body']['id']){delete _0x281814['body']['id'];}return db[_0x261b('0x32')][_0x261b('0x4f')]({'where':{'id':_0x281814[_0x261b('0x4b')]['id']}})[_0x261b('0x2a')](handleEntityNotFound(_0x414026,null))['then'](saveUpdates(_0x281814[_0x261b('0x51')],null))[_0x261b('0x2a')](respondWithResult(_0x414026,null))['catch'](handleError(_0x414026,null));};exports[_0x261b('0x2b')]=function(_0x7c4843,_0x11a0b5){return db[_0x261b('0x32')]['find']({'where':{'id':_0x7c4843[_0x261b('0x4b')]['id']}})[_0x261b('0x2a')](handleEntityNotFound(_0x11a0b5,null))[_0x261b('0x2a')](removeEntity(_0x11a0b5,null))[_0x261b('0x49')](handleError(_0x11a0b5,null));};exports[_0x261b('0x53')]=function(_0x566bbb,_0x2afb7b){return db[_0x261b('0x32')]['describe']()[_0x261b('0x2a')](respondWithResult(_0x2afb7b,null))[_0x261b('0x49')](handleError(_0x2afb7b,null));};function wrapUser(_0x36c874){return function(_0x2ab891){var _0x4c1466=_0x36c874[_0x261b('0x54')]({'plain':!![]});_0x4c1466[_0x261b('0x55')]=[];if(_0x2ab891){_0x4c1466['lastMessageAt']=_0x2ab891[_0x261b('0x56')];_0x4c1466[_0x261b('0x57')]=_0x2ab891;}else{_0x4c1466[_0x261b('0x58')]=moment(0x0)['format']('YYYY-MM-DD\x20HH:mm:ss');_0x4c1466[_0x261b('0x57')]={};}return _0x4c1466;};}exports[_0x261b('0x59')]=function(_0x59d31f,_0xb12d82,_0x11c44f){var _0x408c55=[];return db[_0x261b('0x5a')][_0x261b('0x47')]({'where':{'role':['agent',_0x261b('0x5b'),_0x261b('0x5c')]},'attributes':['id',_0x261b('0x5d'),'name','role',_0x261b('0x5e'),_0x261b('0x5f'),'online',_0x261b('0x60'),_0x261b('0x61'),_0x261b('0x62')],'order':qs[_0x261b('0x40')](_0x261b('0x63')),'include':[{'model':db['VoiceQueue'],'as':_0x261b('0x64'),'attributes':['id',_0x261b('0x2e'),_0x261b('0x34')],'through':{'attributes':[]}}]})[_0x261b('0x2a')](function(_0x5c6443){if(_0x5c6443){var _0x46902b=_0x59d31f[_0x261b('0x5c')]['get']({'plain':!![]});if(!_0x46902b)throw new Error(_0x261b('0x65'));if(_0x46902b[_0x261b('0x66')]==='user'){return db['UserProfileSection'][_0x261b('0x4f')]({'where':{'name':_0x261b('0x67'),'userProfileId':_0x46902b[_0x261b('0x68')]},'raw':!![]})[_0x261b('0x2a')](function(_0x280ab0){if(_0x280ab0){if(_0x280ab0[_0x261b('0x69')]===0x0){return db[_0x261b('0x6a')][_0x261b('0x47')]({'where':{'sectionId':_0x280ab0['id']},'raw':!![]})['then'](function(_0x5006d7){var _0x3d4330=[];if(_['isEmpty'](_0x5006d7)){_0x3d4330=_[_0x261b('0x44')](_0x5c6443,function(_0x1039ad){if(_0x1039ad['role']!==_0x261b('0x6b')){return _0x1039ad;}});return _0x3d4330;}else{for(var _0x25a072=0x0;_0x25a072<_0x5c6443[_0x261b('0x4c')];_0x25a072++){var _0x5746cb=_0x5c6443[_0x25a072];if(_0x5746cb['role']===_0x261b('0x6b')){var _0x236ea7=_[_0x261b('0x4f')](_0x5006d7,function(_0x3d26e2){return _0x3d26e2[_0x261b('0x6c')]===_0x5746cb['id'];});if(_0x236ea7)_0x3d4330[_0x261b('0x6d')](_0x5746cb);}else{_0x3d4330[_0x261b('0x6d')](_0x5746cb);}}return _0x3d4330;}});}else{return _0x5c6443;}}else{var _0x4dcc81=_['filter'](_0x5c6443,function(_0x468915){if(_0x468915[_0x261b('0x66')]!==_0x261b('0x6b')){return _0x468915;}});return _0x4dcc81;}});}else{return _0x5c6443;}}})['then'](function(_0x40a5fd){var _0x3faa1a=[];if(_0x40a5fd){_0x408c55=_0x40a5fd;for(var _0x5a8780=0x0;_0x5a8780<_0x40a5fd[_0x261b('0x4c')];_0x5a8780+=0x1){_0x408c55[_0x5a8780][_0x261b('0x55')]=[];_0x3faa1a[_0x261b('0x6d')](db['ChatInternalMessage'][_0x261b('0x4f')]({'where':{'FromId':[_0x59d31f[_0x261b('0x5c')]['id'],_0x40a5fd[_0x5a8780]['id']],'ToId':[_0x59d31f[_0x261b('0x5c')]['id'],_0x40a5fd[_0x5a8780]['id']],'ChatGroupId':null},'attributes':['id',_0x261b('0x56'),_0x261b('0x6e'),_0x261b('0x6f'),_0x261b('0x70'),_0x261b('0x51')],'order':qs[_0x261b('0x40')](_0x261b('0x71')),'limit':0x1,'offset':0x0,'raw':!![]})[_0x261b('0x2a')](wrapUser(_0x40a5fd[_0x5a8780])));}return BPromise[_0x261b('0x72')](_0x3faa1a);}return[];})[_0x261b('0x2a')](function(_0x250b8c){return{'rows':_0x250b8c,'count':_0x250b8c[_0x261b('0x4c')]};})[_0x261b('0x2a')](respondWithResult(_0xb12d82,null))[_0x261b('0x49')](handleError(_0xb12d82,null));};
\ No newline at end of file
+var _0x144c=['findAll','rows','catch','show','params','keys','include','create','body','describe','get','messages','lastMessageAt','lastMessage','format','getUsers','agent','admin','fullname','role','userpic','internal','online','allowmessenger','showWebBar','-online','VoiceQueue','VoiceQueues','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','find','Agents','userProfileId','autoAssociation','UserProfileResource','isEmpty','resourceId','push','FromId','ToId','read','-createdAt','all','rimraf','zip-dir','fast-json-patch','request-promise','moment','util','sox','to-csv','ejs','fs-extra','lodash','squel','desk.js','querystring','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/environment','../../config/license/util','../../mysqldb','redis','localhost','socket.io-emitter','./chatInternalMessage.socket','register','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','reject','update','then','destroy','error','stack','name','index','map','ChatInternalMessage','rawAttributes','fieldName','type','key','query','filters','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','where','merge','VIRTUAL','filter','options','includeAll'];(function(_0x5c4375,_0x2766c3){var _0x3369d6=function(_0x16da90){while(--_0x16da90){_0x5c4375['push'](_0x5c4375['shift']());}};_0x3369d6(++_0x2766c3);}(_0x144c,0x1db));var _0xc144=function(_0x4a6979,_0x5f3d1a){_0x4a6979=_0x4a6979-0x0;var _0x226f93=_0x144c[_0x4a6979];return _0x226f93;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xc144('0x0'));var zipdir=require(_0xc144('0x1'));var jsonpatch=require(_0xc144('0x2'));var rp=require(_0xc144('0x3'));var moment=require(_0xc144('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xc144('0x5'));var path=require('path');var sox=require(_0xc144('0x6'));var csv=require(_0xc144('0x7'));var ejs=require(_0xc144('0x8'));var fs=require('fs');var fs_extra=require(_0xc144('0x9'));var _=require(_0xc144('0xa'));var squel=require(_0xc144('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xc144('0xc'));var toCsv=require('to-csv');var querystring=require(_0xc144('0xd'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xc144('0xe'));var as=require(_0xc144('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xc144('0x10'));var utils=require('../../config/utils');var config=require(_0xc144('0x11'));var licenseUtil=require(_0xc144('0x12'));var db=require(_0xc144('0x13'))['db'];config[_0xc144('0x14')]=_['defaults'](config[_0xc144('0x14')],{'host':_0xc144('0x15'),'port':0x18eb});var socket=require(_0xc144('0x16'))(new Redis(config[_0xc144('0x14')]));require(_0xc144('0x17'))[_0xc144('0x18')](socket);function respondWithStatusCode(_0x3fd113,_0x5a7040){_0x5a7040=_0x5a7040||0xcc;return function(_0x575b3d){if(_0x575b3d){return _0x3fd113[_0xc144('0x19')](_0x5a7040);}return _0x3fd113[_0xc144('0x1a')](_0x5a7040)[_0xc144('0x1b')]();};}function respondWithResult(_0x5a8613,_0x4132f5){_0x4132f5=_0x4132f5||0xc8;return function(_0x3f0044){if(_0x3f0044){return _0x5a8613[_0xc144('0x1a')](_0x4132f5)[_0xc144('0x1c')](_0x3f0044);}};}function respondWithFilteredResult(_0x5e0e65,_0x3b213e){return function(_0x34298b){if(_0x34298b){var _0xa1bc55=typeof _0x3b213e[_0xc144('0x1d')]===_0xc144('0x1e')&&typeof _0x3b213e[_0xc144('0x1f')]===_0xc144('0x1e');var _0x2a8c35=_0x34298b[_0xc144('0x20')];var _0x74dd68=_0xa1bc55?0x0:_0x3b213e[_0xc144('0x1d')];var _0x399966=_0xa1bc55?_0x34298b[_0xc144('0x20')]:_0x3b213e[_0xc144('0x1d')]+_0x3b213e[_0xc144('0x1f')];var _0x56351e;if(_0x399966>=_0x2a8c35){_0x399966=_0x2a8c35;_0x56351e=0xc8;}else{_0x56351e=0xce;}_0x5e0e65[_0xc144('0x1a')](_0x56351e);return _0x5e0e65['set'](_0xc144('0x21'),_0x74dd68+'-'+_0x399966+'/'+_0x2a8c35)[_0xc144('0x1c')](_0x34298b);}return null;};}function patchUpdates(_0x24e4cf){return function(_0x13d7b4){try{jsonpatch['apply'](_0x13d7b4,_0x24e4cf,!![]);}catch(_0x519320){return BPromise[_0xc144('0x22')](_0x519320);}return _0x13d7b4['save']();};}function saveUpdates(_0x462e4d,_0x8a1288){return function(_0x5d1fbe){if(_0x5d1fbe){return _0x5d1fbe[_0xc144('0x23')](_0x462e4d)[_0xc144('0x24')](function(_0x1fbc4d){return _0x1fbc4d;});}return null;};}function removeEntity(_0x509085,_0xd59706){return function(_0x59f257){if(_0x59f257){return _0x59f257[_0xc144('0x25')]()[_0xc144('0x24')](function(){_0x509085[_0xc144('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x393ed7,_0x1c8ec7){return function(_0x82c69d){if(!_0x82c69d){_0x393ed7[_0xc144('0x19')](0x194);}return _0x82c69d;};}function handleError(_0x30ce95,_0x150428){_0x150428=_0x150428||0x1f4;return function(_0x223f69){logger[_0xc144('0x26')](_0x223f69[_0xc144('0x27')]);if(_0x223f69[_0xc144('0x28')]){delete _0x223f69[_0xc144('0x28')];}_0x30ce95[_0xc144('0x1a')](_0x150428)['send'](_0x223f69);};}exports[_0xc144('0x29')]=function(_0x1aab71,_0x180c8c){var _0x288278={},_0x9b6e15={},_0x23201a={'count':0x0,'rows':[]};var _0x298589=_[_0xc144('0x2a')](db[_0xc144('0x2b')][_0xc144('0x2c')],function(_0x5cbefb){return{'name':_0x5cbefb[_0xc144('0x2d')],'type':_0x5cbefb[_0xc144('0x2e')][_0xc144('0x2f')]};});_0x9b6e15['model']=_[_0xc144('0x2a')](_0x298589,_0xc144('0x28'));_0x9b6e15[_0xc144('0x30')]=_['keys'](_0x1aab71[_0xc144('0x30')]);_0x9b6e15[_0xc144('0x31')]=_[_0xc144('0x32')](_0x9b6e15['model'],_0x9b6e15['query']);_0x288278[_0xc144('0x33')]=_[_0xc144('0x32')](_0x9b6e15[_0xc144('0x34')],qs[_0xc144('0x35')](_0x1aab71[_0xc144('0x30')][_0xc144('0x35')]));_0x288278['attributes']=_0x288278[_0xc144('0x33')][_0xc144('0x36')]?_0x288278[_0xc144('0x33')]:_0x9b6e15[_0xc144('0x34')];if(!_0x1aab71['query'][_0xc144('0x37')](_0xc144('0x38'))){_0x288278[_0xc144('0x1f')]=qs[_0xc144('0x1f')](_0x1aab71[_0xc144('0x30')]['limit']);_0x288278[_0xc144('0x1d')]=qs[_0xc144('0x1d')](_0x1aab71['query'][_0xc144('0x1d')]);}_0x288278[_0xc144('0x39')]=qs[_0xc144('0x3a')](_0x1aab71['query'][_0xc144('0x3a')]);_0x288278['where']=qs['filters'](_['pick'](_0x1aab71[_0xc144('0x30')],_0x9b6e15['filters']),_0x298589);if(_0x1aab71[_0xc144('0x30')]['filter']){_0x288278[_0xc144('0x3b')]=_[_0xc144('0x3c')](_0x288278['where'],{'$or':_['map'](_0x298589,function(_0x2081e1){if(_0x2081e1[_0xc144('0x2e')]!==_0xc144('0x3d')){var _0x1db020={};_0x1db020[_0x2081e1[_0xc144('0x28')]]={'$like':'%'+_0x1aab71['query'][_0xc144('0x3e')]+'%'};return _0x1db020;}})});}_0x288278=_[_0xc144('0x3c')]({},_0x288278,_0x1aab71[_0xc144('0x3f')]);var _0x227248={'where':_0x288278['where']};return db[_0xc144('0x2b')][_0xc144('0x20')](_0x227248)['then'](function(_0x5eaf3b){_0x23201a[_0xc144('0x20')]=_0x5eaf3b;if(_0x1aab71[_0xc144('0x30')][_0xc144('0x40')]){_0x288278['include']=[{'all':!![]}];}return db['ChatInternalMessage'][_0xc144('0x41')](_0x288278);})[_0xc144('0x24')](function(_0x4287dd){_0x23201a[_0xc144('0x42')]=_0x4287dd;return _0x23201a;})['then'](respondWithFilteredResult(_0x180c8c,_0x288278))[_0xc144('0x43')](handleError(_0x180c8c,null));};exports[_0xc144('0x44')]=function(_0x392e91,_0x6afec0){var _0x1901c8={'raw':!![],'where':{'id':_0x392e91[_0xc144('0x45')]['id']}},_0x1eaee3={};_0x1eaee3[_0xc144('0x34')]=_['keys'](db[_0xc144('0x2b')]['rawAttributes']);_0x1eaee3[_0xc144('0x30')]=_[_0xc144('0x46')](_0x392e91[_0xc144('0x30')]);_0x1eaee3[_0xc144('0x31')]=_['intersection'](_0x1eaee3[_0xc144('0x34')],_0x1eaee3['query']);_0x1901c8[_0xc144('0x33')]=_[_0xc144('0x32')](_0x1eaee3['model'],qs[_0xc144('0x35')](_0x392e91['query'][_0xc144('0x35')]));_0x1901c8['attributes']=_0x1901c8[_0xc144('0x33')][_0xc144('0x36')]?_0x1901c8[_0xc144('0x33')]:_0x1eaee3['model'];if(_0x392e91['query']['includeAll']){_0x1901c8[_0xc144('0x47')]=[{'all':!![]}];}_0x1901c8=_[_0xc144('0x3c')]({},_0x1901c8,_0x392e91[_0xc144('0x3f')]);return db[_0xc144('0x2b')]['find'](_0x1901c8)['then'](handleEntityNotFound(_0x6afec0,null))[_0xc144('0x24')](respondWithResult(_0x6afec0,null))[_0xc144('0x43')](handleError(_0x6afec0,null));};exports[_0xc144('0x48')]=function(_0x2909ac,_0x55aae1){return db[_0xc144('0x2b')]['create'](_0x2909ac[_0xc144('0x49')],{})[_0xc144('0x24')](respondWithResult(_0x55aae1,0xc9))[_0xc144('0x43')](handleError(_0x55aae1,null));};exports['update']=function(_0x320585,_0x2c6668){if(_0x320585['body']['id']){delete _0x320585['body']['id'];}return db[_0xc144('0x2b')]['find']({'where':{'id':_0x320585[_0xc144('0x45')]['id']}})[_0xc144('0x24')](handleEntityNotFound(_0x2c6668,null))[_0xc144('0x24')](saveUpdates(_0x320585['body'],null))[_0xc144('0x24')](respondWithResult(_0x2c6668,null))[_0xc144('0x43')](handleError(_0x2c6668,null));};exports['destroy']=function(_0x573d1e,_0x324a2f){return db['ChatInternalMessage']['find']({'where':{'id':_0x573d1e['params']['id']}})['then'](handleEntityNotFound(_0x324a2f,null))['then'](removeEntity(_0x324a2f,null))['catch'](handleError(_0x324a2f,null));};exports[_0xc144('0x4a')]=function(_0x353659,_0x8da6f7){return db[_0xc144('0x2b')][_0xc144('0x4a')]()['then'](respondWithResult(_0x8da6f7,null))['catch'](handleError(_0x8da6f7,null));};function wrapUser(_0x8fe6ee){return function(_0x13b7a5){var _0x4c0dbe=_0x8fe6ee[_0xc144('0x4b')]({'plain':!![]});_0x4c0dbe[_0xc144('0x4c')]=[];if(_0x13b7a5){_0x4c0dbe[_0xc144('0x4d')]=_0x13b7a5['createdAt'];_0x4c0dbe[_0xc144('0x4e')]=_0x13b7a5;}else{_0x4c0dbe[_0xc144('0x4d')]=moment(0x0)[_0xc144('0x4f')]('YYYY-MM-DD\x20HH:mm:ss');_0x4c0dbe[_0xc144('0x4e')]={};}return _0x4c0dbe;};}exports[_0xc144('0x50')]=function(_0x21bdbe,_0x2b4d3e,_0x4fd30b){var _0x5193df=[];return db['User'][_0xc144('0x41')]({'where':{'role':[_0xc144('0x51'),_0xc144('0x52'),'user']},'attributes':['id',_0xc144('0x53'),_0xc144('0x28'),_0xc144('0x54'),_0xc144('0x55'),_0xc144('0x56'),_0xc144('0x57'),'lastLoginAt',_0xc144('0x58'),_0xc144('0x59')],'order':qs[_0xc144('0x3a')](_0xc144('0x5a')),'include':[{'model':db[_0xc144('0x5b')],'as':_0xc144('0x5c'),'attributes':['id',_0xc144('0x28'),_0xc144('0x2e')],'through':{'attributes':[]}}]})['then'](function(_0x3d5afa){if(_0x3d5afa){var _0x12fa3d=_0x21bdbe[_0xc144('0x5d')][_0xc144('0x4b')]({'plain':!![]});if(!_0x12fa3d)throw new Error(_0xc144('0x5e'));if(_0x12fa3d[_0xc144('0x54')]==='user'){return db['UserProfileSection'][_0xc144('0x5f')]({'where':{'name':_0xc144('0x60'),'userProfileId':_0x12fa3d[_0xc144('0x61')]},'raw':!![]})[_0xc144('0x24')](function(_0x317871){if(_0x317871){if(_0x317871[_0xc144('0x62')]===0x0){return db[_0xc144('0x63')][_0xc144('0x41')]({'where':{'sectionId':_0x317871['id']},'raw':!![]})[_0xc144('0x24')](function(_0x2f8cb4){var _0xb55e23=[];if(_[_0xc144('0x64')](_0x2f8cb4)){_0xb55e23=_[_0xc144('0x3e')](_0x3d5afa,function(_0x287c07){if(_0x287c07[_0xc144('0x54')]!=='agent'){return _0x287c07;}});return _0xb55e23;}else{for(var _0xcc6c65=0x0;_0xcc6c65<_0x3d5afa['length'];_0xcc6c65++){var _0x4897ee=_0x3d5afa[_0xcc6c65];if(_0x4897ee['role']==='agent'){var _0x427366=_['find'](_0x2f8cb4,function(_0x35696c){return _0x35696c[_0xc144('0x65')]===_0x4897ee['id'];});if(_0x427366)_0xb55e23[_0xc144('0x66')](_0x4897ee);}else{_0xb55e23['push'](_0x4897ee);}}return _0xb55e23;}});}else{return _0x3d5afa;}}else{var _0x3e2220=_[_0xc144('0x3e')](_0x3d5afa,function(_0x47f7c8){if(_0x47f7c8[_0xc144('0x54')]!==_0xc144('0x51')){return _0x47f7c8;}});return _0x3e2220;}});}else{return _0x3d5afa;}}})[_0xc144('0x24')](function(_0x531690){var _0x22f8c5=[];if(_0x531690){_0x5193df=_0x531690;for(var _0x559723=0x0;_0x559723<_0x531690[_0xc144('0x36')];_0x559723+=0x1){_0x5193df[_0x559723][_0xc144('0x4c')]=[];_0x22f8c5[_0xc144('0x66')](db['ChatInternalMessage'][_0xc144('0x5f')]({'where':{'FromId':[_0x21bdbe[_0xc144('0x5d')]['id'],_0x531690[_0x559723]['id']],'ToId':[_0x21bdbe[_0xc144('0x5d')]['id'],_0x531690[_0x559723]['id']],'ChatGroupId':null},'attributes':['id','createdAt',_0xc144('0x67'),_0xc144('0x68'),_0xc144('0x69'),'body'],'order':qs[_0xc144('0x3a')](_0xc144('0x6a')),'limit':0x1,'offset':0x0,'raw':!![]})['then'](wrapUser(_0x531690[_0x559723])));}return BPromise[_0xc144('0x6b')](_0x22f8c5);}return[];})[_0xc144('0x24')](function(_0x31d157){return{'rows':_0x31d157,'count':_0x31d157[_0xc144('0x36')]};})[_0xc144('0x24')](respondWithResult(_0x2b4d3e,null))[_0xc144('0x43')](handleError(_0x2b4d3e,null));};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.events.js b/server/api/chatInternalMessage/chatInternalMessage.events.js
index c4292c0..b5a7abb 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 _0x4eaa=['save','remove','emit','hasOwnProperty','exports','events','ChatInternalMessage','setMaxListeners'];(function(_0x356bce,_0x2e190b){var _0x228af3=function(_0xf15a49){while(--_0xf15a49){_0x356bce['push'](_0x356bce['shift']());}};_0x228af3(++_0x2e190b);}(_0x4eaa,0x16d));var _0xa4ea=function(_0x4749b6,_0x5f1b3f){_0x4749b6=_0x4749b6-0x0;var _0x27596b=_0x4eaa[_0x4749b6];return _0x27596b;};'use strict';var EventEmitter=require(_0xa4ea('0x0'));var ChatInternalMessage=require('../../mysqldb')['db'][_0xa4ea('0x1')];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents[_0xa4ea('0x2')](0x0);var events={'afterCreate':_0xa4ea('0x3'),'afterUpdate':'update','afterDestroy':_0xa4ea('0x4')};function emitEvent(_0x124650){return function(_0x8e1f7,_0x5a154d,_0x3f7334){ChatInternalMessageEvents[_0xa4ea('0x5')](_0x124650+':'+_0x8e1f7['id'],_0x8e1f7);ChatInternalMessageEvents[_0xa4ea('0x5')](_0x124650,_0x8e1f7);_0x3f7334(null);};}for(var e in events){if(events[_0xa4ea('0x6')](e)){var event=events[e];ChatInternalMessage['hook'](e,emitEvent(event));}}module[_0xa4ea('0x7')]=ChatInternalMessageEvents;
\ No newline at end of file
+var _0x23a9=['update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','ChatInternalMessage','setMaxListeners','save'];(function(_0x74d570,_0x40079b){var _0x3cca6e=function(_0x708d3e){while(--_0x708d3e){_0x74d570['push'](_0x74d570['shift']());}};_0x3cca6e(++_0x40079b);}(_0x23a9,0x119));var _0x923a=function(_0x2ee95a,_0x294708){_0x2ee95a=_0x2ee95a-0x0;var _0x46324b=_0x23a9[_0x2ee95a];return _0x46324b;};'use strict';var EventEmitter=require(_0x923a('0x0'));var ChatInternalMessage=require(_0x923a('0x1'))['db'][_0x923a('0x2')];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents[_0x923a('0x3')](0x0);var events={'afterCreate':_0x923a('0x4'),'afterUpdate':_0x923a('0x5'),'afterDestroy':_0x923a('0x6')};function emitEvent(_0xb93e2){return function(_0x310757,_0xa4d035,_0x4f0de6){ChatInternalMessageEvents[_0x923a('0x7')](_0xb93e2+':'+_0x310757['id'],_0x310757);ChatInternalMessageEvents[_0x923a('0x7')](_0xb93e2,_0x310757);_0x4f0de6(null);};}for(var e in events){if(events[_0x923a('0x8')](e)){var event=events[e];ChatInternalMessage[_0x923a('0x9')](e,emitEvent(event));}}module[_0x923a('0xa')]=ChatInternalMessageEvents;
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.model.js b/server/api/chatInternalMessage/chatInternalMessage.model.js
index bd60b51..fb6ddbb 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 _0x6325=['rimraf','../../config/environment','./chatInternalMessage.attributes','exports','define','ChatInternalMessage','chat_internal_messages','utf8mb4','lodash','../../config/logger','bluebird','path'];(function(_0x399ad3,_0x249e0f){var _0x290fed=function(_0x2c9415){while(--_0x2c9415){_0x399ad3['push'](_0x399ad3['shift']());}};_0x290fed(++_0x249e0f);}(_0x6325,0x1ac));var _0x5632=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x6325[_0x3b380d];return _0x54502b;};'use strict';var _=require(_0x5632('0x0'));var util=require('util');var logger=require(_0x5632('0x1'))('api');var moment=require('moment');var BPromise=require(_0x5632('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5632('0x3'));var rimraf=require(_0x5632('0x4'));var config=require(_0x5632('0x5'));var attributes=require(_0x5632('0x6'));module[_0x5632('0x7')]=function(_0x294938,_0x1bfbc6){return _0x294938[_0x5632('0x8')](_0x5632('0x9'),attributes,{'tableName':_0x5632('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5632('0xb'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
+var _0x89cd=['utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment','define','ChatInternalMessage','chat_internal_messages'];(function(_0x53e931,_0xafd0e1){var _0x1c43a7=function(_0x289d1c){while(--_0x289d1c){_0x53e931['push'](_0x53e931['shift']());}};_0x1c43a7(++_0xafd0e1);}(_0x89cd,0xfe));var _0xd89c=function(_0x272440,_0x2d9c92){_0x272440=_0x272440-0x0;var _0x28dc6b=_0x89cd[_0x272440];return _0x28dc6b;};'use strict';var _=require(_0xd89c('0x0'));var util=require(_0xd89c('0x1'));var logger=require(_0xd89c('0x2'))('api');var moment=require('moment');var BPromise=require(_0xd89c('0x3'));var rp=require(_0xd89c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd89c('0x5'));var config=require(_0xd89c('0x6'));var attributes=require('./chatInternalMessage.attributes');module['exports']=function(_0x598392,_0x5976bf){return _0x598392[_0xd89c('0x7')](_0xd89c('0x8'),attributes,{'tableName':_0xd89c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xd89c('0xa'),'collate':_0xd89c('0xb')});};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.rpc.js b/server/api/chatInternalMessage/chatInternalMessage.rpc.js
index 5499537..0e6f8b2 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 _0xae7c=['jayson/promise','http','defaults','redis','localhost','./chatInternalMessage.socket','register','request','then','info','ChatInternalMessage,\x20%s,\x20%s','request\x20sent','debug','ChatInternalMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment'];(function(_0x446f11,_0x95cf21){var _0x385cb5=function(_0x426715){while(--_0x426715){_0x446f11['push'](_0x446f11['shift']());}};_0x385cb5(++_0x95cf21);}(_0xae7c,0x104));var _0xcae7=function(_0x25e0ac,_0x340b5e){_0x25e0ac=_0x25e0ac-0x0;var _0x56be20=_0xae7c[_0x25e0ac];return _0x56be20;};'use strict';var _=require(_0xcae7('0x0'));var util=require(_0xcae7('0x1'));var moment=require(_0xcae7('0x2'));var BPromise=require(_0xcae7('0x3'));var rs=require(_0xcae7('0x4'));var fs=require('fs');var Redis=require(_0xcae7('0x5'));var db=require(_0xcae7('0x6'))['db'];var utils=require(_0xcae7('0x7'));var logger=require('../../config/logger')(_0xcae7('0x8'));var config=require(_0xcae7('0x9'));var jayson=require(_0xcae7('0xa'));var client=jayson['client'][_0xcae7('0xb')]({'port':0x232a});config['redis']=_[_0xcae7('0xc')](config[_0xcae7('0xd')],{'host':_0xcae7('0xe'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0xcae7('0xf'))[_0xcae7('0x10')](socket);function respondWithRpcPromise(_0x7cb6ae,_0x4fad8e,_0x607b55){return new BPromise(function(_0xb0fa83,_0x2672f5){return client[_0xcae7('0x11')](_0x7cb6ae,_0x607b55)[_0xcae7('0x12')](function(_0x140899){logger[_0xcae7('0x13')](_0xcae7('0x14'),_0x4fad8e,_0xcae7('0x15'));logger[_0xcae7('0x16')](_0xcae7('0x17'),_0x4fad8e,_0xcae7('0x15'),JSON[_0xcae7('0x18')](_0x140899));if(_0x140899[_0xcae7('0x19')]){if(_0x140899['error'][_0xcae7('0x1a')]===0x1f4){logger[_0xcae7('0x19')](_0xcae7('0x14'),_0x4fad8e,_0x140899[_0xcae7('0x19')][_0xcae7('0x1b')]);return _0x2672f5(_0x140899[_0xcae7('0x19')][_0xcae7('0x1b')]);}logger[_0xcae7('0x19')](_0xcae7('0x14'),_0x4fad8e,_0x140899[_0xcae7('0x19')]['message']);return _0xb0fa83(_0x140899[_0xcae7('0x19')]['message']);}else{logger[_0xcae7('0x13')](_0xcae7('0x14'),_0x4fad8e,_0xcae7('0x15'));_0xb0fa83(_0x140899[_0xcae7('0x1c')][_0xcae7('0x1b')]);}})[_0xcae7('0x1d')](function(_0x15d175){logger[_0xcae7('0x19')](_0xcae7('0x14'),_0x4fad8e,_0x15d175);_0x2672f5(_0x15d175);});});}
\ No newline at end of file
+var _0xcde0=['then','info','ChatInternalMessage,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','register','request'];(function(_0x259d17,_0x220710){var _0x407535=function(_0x49bc38){while(--_0x49bc38){_0x259d17['push'](_0x259d17['shift']());}};_0x407535(++_0x220710);}(_0xcde0,0x14a));var _0x0cde=function(_0x337a42,_0x5a15c6){_0x337a42=_0x337a42-0x0;var _0x1fdd51=_0xcde0[_0x337a42];return _0x1fdd51;};'use strict';var _=require(_0x0cde('0x0'));var util=require(_0x0cde('0x1'));var moment=require(_0x0cde('0x2'));var BPromise=require('bluebird');var rs=require(_0x0cde('0x3'));var fs=require('fs');var Redis=require(_0x0cde('0x4'));var db=require(_0x0cde('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x0cde('0x6'))(_0x0cde('0x7'));var config=require(_0x0cde('0x8'));var jayson=require(_0x0cde('0x9'));var client=jayson[_0x0cde('0xa')][_0x0cde('0xb')]({'port':0x232a});config[_0x0cde('0xc')]=_[_0x0cde('0xd')](config[_0x0cde('0xc')],{'host':_0x0cde('0xe'),'port':0x18eb});var socket=require(_0x0cde('0xf'))(new Redis(config[_0x0cde('0xc')]));require('./chatInternalMessage.socket')[_0x0cde('0x10')](socket);function respondWithRpcPromise(_0x56f2d6,_0x19914d,_0x18ae89){return new BPromise(function(_0x1f755e,_0x5aa9d8){return client[_0x0cde('0x11')](_0x56f2d6,_0x18ae89)[_0x0cde('0x12')](function(_0x4970aa){logger[_0x0cde('0x13')](_0x0cde('0x14'),_0x19914d,_0x0cde('0x15'));logger[_0x0cde('0x16')]('ChatInternalMessage,\x20%s,\x20%s,\x20%s',_0x19914d,_0x0cde('0x15'),JSON[_0x0cde('0x17')](_0x4970aa));if(_0x4970aa[_0x0cde('0x18')]){if(_0x4970aa[_0x0cde('0x18')][_0x0cde('0x19')]===0x1f4){logger[_0x0cde('0x18')](_0x0cde('0x14'),_0x19914d,_0x4970aa[_0x0cde('0x18')][_0x0cde('0x1a')]);return _0x5aa9d8(_0x4970aa[_0x0cde('0x18')][_0x0cde('0x1a')]);}logger[_0x0cde('0x18')](_0x0cde('0x14'),_0x19914d,_0x4970aa[_0x0cde('0x18')][_0x0cde('0x1a')]);return _0x1f755e(_0x4970aa[_0x0cde('0x18')][_0x0cde('0x1a')]);}else{logger[_0x0cde('0x13')](_0x0cde('0x14'),_0x19914d,_0x0cde('0x15'));_0x1f755e(_0x4970aa[_0x0cde('0x1b')][_0x0cde('0x1a')]);}})[_0x0cde('0x1c')](function(_0x573fad){logger[_0x0cde('0x18')]('ChatInternalMessage,\x20%s,\x20%s',_0x19914d,_0x573fad);_0x5aa9d8(_0x573fad);});});}
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.socket.js b/server/api/chatInternalMessage/chatInternalMessage.socket.js
index f439aef..42820dc 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 _0xd38d=['length','chatInternalMessage:','./chatInternalMessage.events','save','update','emit','register'];(function(_0x3b5cad,_0x10d086){var _0x3a4e03=function(_0xa88ca9){while(--_0xa88ca9){_0x3b5cad['push'](_0x3b5cad['shift']());}};_0x3a4e03(++_0x10d086);}(_0xd38d,0xf0));var _0xdd38=function(_0x5b734b,_0x486a7f){_0x5b734b=_0x5b734b-0x0;var _0x2a15a3=_0xd38d[_0x5b734b];return _0x2a15a3;};'use strict';var ChatInternalMessageEvents=require(_0xdd38('0x0'));var events=[_0xdd38('0x1'),'remove',_0xdd38('0x2')];function createListener(_0x3c1692,_0x23ef95){return function(_0x2fe752){_0x23ef95[_0xdd38('0x3')](_0x3c1692,_0x2fe752);};}function removeListener(_0x497261,_0x3522e8){return function(){ChatInternalMessageEvents['removeListener'](_0x497261,_0x3522e8);};}exports[_0xdd38('0x4')]=function(_0x310515){for(var _0x4dcbcf=0x0,_0x17d1d6=events[_0xdd38('0x5')];_0x4dcbcf<_0x17d1d6;_0x4dcbcf++){var _0x24de58=events[_0x4dcbcf];var _0x276ba0=createListener(_0xdd38('0x6')+_0x24de58,_0x310515);ChatInternalMessageEvents['on'](_0x24de58,_0x276ba0);}};
\ No newline at end of file
+var _0xb7e7=['removeListener','register','length','chatInternalMessage:','./chatInternalMessage.events','remove','update','emit'];(function(_0x5f53f9,_0x5dbfc5){var _0x4d10ec=function(_0x5f0d83){while(--_0x5f0d83){_0x5f53f9['push'](_0x5f53f9['shift']());}};_0x4d10ec(++_0x5dbfc5);}(_0xb7e7,0x18c));var _0x7b7e=function(_0x3ea913,_0x255df2){_0x3ea913=_0x3ea913-0x0;var _0x2b4f28=_0xb7e7[_0x3ea913];return _0x2b4f28;};'use strict';var ChatInternalMessageEvents=require(_0x7b7e('0x0'));var events=['save',_0x7b7e('0x1'),_0x7b7e('0x2')];function createListener(_0x403ef2,_0xc92a8){return function(_0x56ce77){_0xc92a8[_0x7b7e('0x3')](_0x403ef2,_0x56ce77);};}function removeListener(_0x3d4dc1,_0x344758){return function(){ChatInternalMessageEvents[_0x7b7e('0x4')](_0x3d4dc1,_0x344758);};}exports[_0x7b7e('0x5')]=function(_0x3ab68c){for(var _0x33b893=0x0,_0x592b93=events[_0x7b7e('0x6')];_0x33b893<_0x592b93;_0x33b893++){var _0x18330a=events[_0x33b893];var _0x51e272=createListener(_0x7b7e('0x7')+_0x18330a,_0x3ab68c);ChatInternalMessageEvents['on'](_0x18330a,_0x51e272);}};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/index.js b/server/api/chatInternalMessage/index.js
index 26bb523..63eacac 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 _0x00c5=['index','/describe','describe','getUsers','show','post','put','/:id','update','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','get','isAuthenticated'];(function(_0x378198,_0x3ca234){var _0x2fa75b=function(_0xd178c8){while(--_0xd178c8){_0x378198['push'](_0x378198['shift']());}};_0x2fa75b(++_0x3ca234);}(_0x00c5,0x1d9));var _0x500c=function(_0x143360,_0x50a88d){_0x143360=_0x143360-0x0;var _0x4d714a=_0x00c5[_0x143360];return _0x4d714a;};'use strict';var multer=require(_0x500c('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x500c('0x1'));var router=express[_0x500c('0x2')]();var fs_extra=require(_0x500c('0x3'));var auth=require(_0x500c('0x4'));var interaction=require(_0x500c('0x5'));var config=require(_0x500c('0x6'));var controller=require(_0x500c('0x7'));router[_0x500c('0x8')]('/',auth[_0x500c('0x9')](),controller[_0x500c('0xa')]);router['get'](_0x500c('0xb'),auth[_0x500c('0x9')](),controller[_0x500c('0xc')]);router[_0x500c('0x8')]('/users',auth[_0x500c('0x9')](),controller[_0x500c('0xd')]);router[_0x500c('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x500c('0xe')]);router[_0x500c('0xf')]('/',auth[_0x500c('0x9')](),controller['create']);router[_0x500c('0x10')](_0x500c('0x11'),controller[_0x500c('0x12')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x500c('0x13')]);module[_0x500c('0x14')]=router;
\ No newline at end of file
+var _0x2d94=['describe','/users','show','post','update','delete','/:id','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','index','/describe'];(function(_0x5762ea,_0x4e9966){var _0x166b24=function(_0x19cb06){while(--_0x19cb06){_0x5762ea['push'](_0x5762ea['shift']());}};_0x166b24(++_0x4e9966);}(_0x2d94,0xf7));var _0x42d9=function(_0x52629a,_0x13fb90){_0x52629a=_0x52629a-0x0;var _0x445cc2=_0x2d94[_0x52629a];return _0x445cc2;};'use strict';var multer=require('multer');var util=require(_0x42d9('0x0'));var path=require(_0x42d9('0x1'));var timeout=require(_0x42d9('0x2'));var express=require(_0x42d9('0x3'));var router=express['Router']();var fs_extra=require(_0x42d9('0x4'));var auth=require(_0x42d9('0x5'));var interaction=require(_0x42d9('0x6'));var config=require(_0x42d9('0x7'));var controller=require(_0x42d9('0x8'));router[_0x42d9('0x9')]('/',auth[_0x42d9('0xa')](),controller[_0x42d9('0xb')]);router['get'](_0x42d9('0xc'),auth[_0x42d9('0xa')](),controller[_0x42d9('0xd')]);router['get'](_0x42d9('0xe'),auth[_0x42d9('0xa')](),controller['getUsers']);router[_0x42d9('0x9')]('/:id',auth[_0x42d9('0xa')](),controller[_0x42d9('0xf')]);router[_0x42d9('0x10')]('/',auth[_0x42d9('0xa')](),controller['create']);router['put']('/:id',controller[_0x42d9('0x11')]);router[_0x42d9('0x12')](_0x42d9('0x13'),auth[_0x42d9('0xa')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.attributes.js b/server/api/chatMessage/chatMessage.attributes.js
index 45136de..0051ea4 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 _0x6b20=['STRING','TEXT','sequelize','exports','medium','BOOLEAN','ENUM','out','DATE'];(function(_0x13594e,_0x6f0ed0){var _0x1a4f42=function(_0x30b064){while(--_0x30b064){_0x13594e['push'](_0x13594e['shift']());}};_0x1a4f42(++_0x6f0ed0);}(_0x6b20,0xd1));var _0x06b2=function(_0x4584df,_0x560c65){_0x4584df=_0x4584df-0x0;var _0x1701db=_0x6b20[_0x4584df];return _0x1701db;};'use strict';var Sequelize=require(_0x06b2('0x0'));module[_0x06b2('0x1')]={'body':{'type':Sequelize['TEXT'](_0x06b2('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x06b2('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x06b2('0x4')]('in',_0x06b2('0x5')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x06b2('0x6')]},'providerName':{'type':Sequelize[_0x06b2('0x7')]},'providerResponse':{'type':Sequelize[_0x06b2('0x8')]}};
\ No newline at end of file
+var _0xe511=['medium','BOOLEAN','ENUM','out','DATE','STRING','TEXT','sequelize','exports'];(function(_0x18b695,_0x2f7ea0){var _0x1890a9=function(_0x447d32){while(--_0x447d32){_0x18b695['push'](_0x18b695['shift']());}};_0x1890a9(++_0x2f7ea0);}(_0xe511,0x16f));var _0x1e51=function(_0x27d2bf,_0x27ec74){_0x27d2bf=_0x27d2bf-0x0;var _0x5498a=_0xe511[_0x27d2bf];return _0x5498a;};'use strict';var Sequelize=require(_0x1e51('0x0'));module[_0x1e51('0x1')]={'body':{'type':Sequelize['TEXT'](_0x1e51('0x2')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize[_0x1e51('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x1e51('0x4')]('in','out'),'defaultValue':_0x1e51('0x5'),'allowNull':![]},'readAt':{'type':Sequelize[_0x1e51('0x6')]},'providerName':{'type':Sequelize[_0x1e51('0x7')]},'providerResponse':{'type':Sequelize[_0x1e51('0x8')]}};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.controller.js b/server/api/chatMessage/chatMessage.controller.js
index fb89475..0b07c5c 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 _0x7af1=['then','stack','index','map','ChatMessage','rawAttributes','fieldName','type','key','name','query','keys','filters','intersection','model','attributes','fields','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','options','count','includeAll','include','findAll','show','params','length','find','create','body','destroy','describe','chat-interactions','accept','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','agent','get','ChatInteraction','ChatInteractionId','isNil','read1stAt','interaction','[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','stringify','AcceptMessage','acceptMessage','SELECT\x20*\x20FROM\x20cm_contacts\x20WHERE\x20id\x20=\x20','QueryTypes','SELECT','User','email','manual','SIP/%s','channel','event','EventManager','acceptmessage','parse','formData','chat','[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','null','rejectMessage','ContactId','Sequelize','contact','internal','interface','motionChannel','rejectmessage','eml-format','rimraf','zip-dir','request-promise','moment','path','sox','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','redis','defaults','localhost','socket.io-emitter','./chatMessage.socket','register','jayson/promise','client','http','request','info','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','error','code','message','ChatMessage,\x20%s,\x20%s','result','catch','sendStatus','end','status','json','offset','undefined','limit','set','Content-Range','apply','reject','save','update'];(function(_0x249973,_0x3c48e6){var _0x177ff2=function(_0x38396c){while(--_0x38396c){_0x249973['push'](_0x249973['shift']());}};_0x177ff2(++_0x3c48e6);}(_0x7af1,0xda));var _0x17af=function(_0x376c7c,_0x2cb0d3){_0x376c7c=_0x376c7c-0x0;var _0x26c2b2=_0x7af1[_0x376c7c];return _0x26c2b2;};'use strict';var emlformat=require(_0x17af('0x0'));var rimraf=require(_0x17af('0x1'));var zipdir=require(_0x17af('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x17af('0x3'));var moment=require(_0x17af('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0x17af('0x5'));var sox=require(_0x17af('0x6'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x17af('0x7'));var _=require(_0x17af('0x8'));var squel=require(_0x17af('0x9'));var crypto=require(_0x17af('0xa'));var jsforce=require(_0x17af('0xb'));var deskjs=require(_0x17af('0xc'));var toCsv=require('to-csv');var querystring=require(_0x17af('0xd'));var Papa=require(_0x17af('0xe'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x17af('0xf'));var hardwareService=require(_0x17af('0x10'));var logger=require(_0x17af('0x11'))(_0x17af('0x12'));var utils=require('../../config/utils');var config=require(_0x17af('0x13'));var licenseUtil=require(_0x17af('0x14'));var db=require('../../mysqldb')['db'];config[_0x17af('0x15')]=_[_0x17af('0x16')](config[_0x17af('0x15')],{'host':_0x17af('0x17'),'port':0x18eb});var socket=require(_0x17af('0x18'))(new Redis(config[_0x17af('0x15')]));require(_0x17af('0x19'))[_0x17af('0x1a')](socket);var jayson=require(_0x17af('0x1b'));var client=jayson[_0x17af('0x1c')][_0x17af('0x1d')]({'port':0x232c});var client9002=jayson[_0x17af('0x1c')][_0x17af('0x1d')]({'port':0x232a});function respondWithRpcPromise(_0x48d8d2,_0x22ff44,_0x20590e,_0xe7e771){return new BPromise(function(_0x38d55d,_0x15d344){var _0x4ac2c9=_0xe7e771||client;return _0x4ac2c9[_0x17af('0x1e')](_0x48d8d2,_0x20590e)['then'](function(_0x33df57){logger[_0x17af('0x1f')]('ChatMessage,\x20%s,\x20%s',_0x22ff44,_0x17af('0x20'));logger[_0x17af('0x21')](_0x17af('0x22'),_0x22ff44,_0x17af('0x20'),JSON['stringify'](_0x33df57));if(_0x33df57[_0x17af('0x23')]){if(_0x33df57['error'][_0x17af('0x24')]===0x1f4){logger[_0x17af('0x23')]('ChatMessage,\x20%s,\x20%s',_0x22ff44,_0x33df57[_0x17af('0x23')][_0x17af('0x25')]);return _0x15d344(_0x33df57[_0x17af('0x23')][_0x17af('0x25')]);}logger[_0x17af('0x23')](_0x17af('0x26'),_0x22ff44,_0x33df57[_0x17af('0x23')][_0x17af('0x25')]);return _0x38d55d(_0x33df57[_0x17af('0x23')][_0x17af('0x25')]);}else{logger[_0x17af('0x1f')](_0x17af('0x26'),_0x22ff44,_0x17af('0x20'));_0x38d55d(_0x33df57[_0x17af('0x27')]['message']);}})[_0x17af('0x28')](function(_0x42f7fb){logger[_0x17af('0x23')]('ChatMessage,\x20%s,\x20%s',_0x22ff44,_0x42f7fb);_0x15d344(_0x42f7fb);});});}function respondWithStatusCode(_0x7bbe3c,_0x1a7f31){_0x1a7f31=_0x1a7f31||0xcc;return function(_0x4c8258){if(_0x4c8258){return _0x7bbe3c[_0x17af('0x29')](_0x1a7f31);}return _0x7bbe3c['status'](_0x1a7f31)[_0x17af('0x2a')]();};}function respondWithResult(_0x35ebcb,_0x48f821){_0x48f821=_0x48f821||0xc8;return function(_0x530027){if(_0x530027){return _0x35ebcb[_0x17af('0x2b')](_0x48f821)[_0x17af('0x2c')](_0x530027);}};}function respondWithFilteredResult(_0x44a88f,_0x28b4c8){return function(_0x231408){if(_0x231408){var _0x424451=typeof _0x28b4c8[_0x17af('0x2d')]==='undefined'&&typeof _0x28b4c8['limit']===_0x17af('0x2e');var _0x49b088=_0x231408['count'];var _0x52f86f=_0x424451?0x0:_0x28b4c8[_0x17af('0x2d')];var _0x2082d2=_0x424451?_0x231408['count']:_0x28b4c8['offset']+_0x28b4c8[_0x17af('0x2f')];var _0x54342f;if(_0x2082d2>=_0x49b088){_0x2082d2=_0x49b088;_0x54342f=0xc8;}else{_0x54342f=0xce;}_0x44a88f[_0x17af('0x2b')](_0x54342f);return _0x44a88f[_0x17af('0x30')](_0x17af('0x31'),_0x52f86f+'-'+_0x2082d2+'/'+_0x49b088)[_0x17af('0x2c')](_0x231408);}return null;};}function patchUpdates(_0xeb9085){return function(_0xc7c276){try{jsonpatch[_0x17af('0x32')](_0xc7c276,_0xeb9085,!![]);}catch(_0x1795a2){return BPromise[_0x17af('0x33')](_0x1795a2);}return _0xc7c276[_0x17af('0x34')]();};}function saveUpdates(_0x27d532,_0x1ad904){return function(_0x3ab8bb){if(_0x3ab8bb){return _0x3ab8bb[_0x17af('0x35')](_0x27d532)[_0x17af('0x36')](function(_0x1fb45b){return _0x1fb45b;});}return null;};}function removeEntity(_0x509899,_0x32b14a){return function(_0x3504cb){if(_0x3504cb){return _0x3504cb['destroy']()[_0x17af('0x36')](function(){_0x509899[_0x17af('0x2b')](0xcc)[_0x17af('0x2a')]();});}};}function handleEntityNotFound(_0x2c09ed,_0x2846d9){return function(_0x30295a){if(!_0x30295a){_0x2c09ed['sendStatus'](0x194);}return _0x30295a;};}function handleError(_0x2564c4,_0x2e1d86){_0x2e1d86=_0x2e1d86||0x1f4;return function(_0x42ecaf){logger['error'](_0x42ecaf[_0x17af('0x37')]);if(_0x42ecaf['name']){delete _0x42ecaf['name'];}_0x2564c4[_0x17af('0x2b')](_0x2e1d86)['send'](_0x42ecaf);};}exports[_0x17af('0x38')]=function(_0xdb3b4b,_0x4ac674){var _0x1d19bc={},_0x4082dd={},_0x45b5d6={'count':0x0,'rows':[]};var _0x314bde=_[_0x17af('0x39')](db[_0x17af('0x3a')][_0x17af('0x3b')],function(_0x5a26f4){return{'name':_0x5a26f4[_0x17af('0x3c')],'type':_0x5a26f4[_0x17af('0x3d')][_0x17af('0x3e')]};});_0x4082dd['model']=_[_0x17af('0x39')](_0x314bde,_0x17af('0x3f'));_0x4082dd[_0x17af('0x40')]=_[_0x17af('0x41')](_0xdb3b4b[_0x17af('0x40')]);_0x4082dd[_0x17af('0x42')]=_[_0x17af('0x43')](_0x4082dd[_0x17af('0x44')],_0x4082dd['query']);_0x1d19bc[_0x17af('0x45')]=_[_0x17af('0x43')](_0x4082dd[_0x17af('0x44')],qs[_0x17af('0x46')](_0xdb3b4b[_0x17af('0x40')][_0x17af('0x46')]));_0x1d19bc[_0x17af('0x45')]=_0x1d19bc[_0x17af('0x45')]['length']?_0x1d19bc['attributes']:_0x4082dd[_0x17af('0x44')];if(!_0xdb3b4b[_0x17af('0x40')]['hasOwnProperty'](_0x17af('0x47'))){_0x1d19bc[_0x17af('0x2f')]=qs[_0x17af('0x2f')](_0xdb3b4b[_0x17af('0x40')][_0x17af('0x2f')]);_0x1d19bc['offset']=qs[_0x17af('0x2d')](_0xdb3b4b[_0x17af('0x40')][_0x17af('0x2d')]);}_0x1d19bc[_0x17af('0x48')]=qs[_0x17af('0x49')](_0xdb3b4b[_0x17af('0x40')][_0x17af('0x49')]);_0x1d19bc[_0x17af('0x4a')]=qs['filters'](_[_0x17af('0x4b')](_0xdb3b4b[_0x17af('0x40')],_0x4082dd['filters']),_0x314bde);if(_0xdb3b4b[_0x17af('0x40')][_0x17af('0x4c')]){_0x1d19bc[_0x17af('0x4a')]=_['merge'](_0x1d19bc[_0x17af('0x4a')],{'$or':_[_0x17af('0x39')](_0x314bde,function(_0x427f2a){if(_0x427f2a[_0x17af('0x3d')]!==_0x17af('0x4d')){var _0x460ab4={};_0x460ab4[_0x427f2a[_0x17af('0x3f')]]={'$like':'%'+_0xdb3b4b['query'][_0x17af('0x4c')]+'%'};return _0x460ab4;}})});}_0x1d19bc=_[_0x17af('0x4e')]({},_0x1d19bc,_0xdb3b4b[_0x17af('0x4f')]);var _0x523891={'where':_0x1d19bc[_0x17af('0x4a')]};return db[_0x17af('0x3a')][_0x17af('0x50')](_0x523891)['then'](function(_0x25363f){_0x45b5d6[_0x17af('0x50')]=_0x25363f;if(_0xdb3b4b['query'][_0x17af('0x51')]){_0x1d19bc[_0x17af('0x52')]=[{'all':!![]}];}return db[_0x17af('0x3a')][_0x17af('0x53')](_0x1d19bc);})['then'](function(_0x317a41){_0x45b5d6['rows']=_0x317a41;return _0x45b5d6;})[_0x17af('0x36')](respondWithFilteredResult(_0x4ac674,_0x1d19bc))['catch'](handleError(_0x4ac674,null));};exports[_0x17af('0x54')]=function(_0x399979,_0x2460ce){var _0x125d6e={'raw':!![],'where':{'id':_0x399979[_0x17af('0x55')]['id']}},_0x1f978a={};_0x1f978a[_0x17af('0x44')]=_[_0x17af('0x41')](db['ChatMessage'][_0x17af('0x3b')]);_0x1f978a[_0x17af('0x40')]=_['keys'](_0x399979[_0x17af('0x40')]);_0x1f978a[_0x17af('0x42')]=_[_0x17af('0x43')](_0x1f978a['model'],_0x1f978a[_0x17af('0x40')]);_0x125d6e[_0x17af('0x45')]=_[_0x17af('0x43')](_0x1f978a['model'],qs[_0x17af('0x46')](_0x399979[_0x17af('0x40')][_0x17af('0x46')]));_0x125d6e[_0x17af('0x45')]=_0x125d6e[_0x17af('0x45')][_0x17af('0x56')]?_0x125d6e['attributes']:_0x1f978a[_0x17af('0x44')];if(_0x399979[_0x17af('0x40')][_0x17af('0x51')]){_0x125d6e[_0x17af('0x52')]=[{'all':!![]}];}_0x125d6e=_['merge']({},_0x125d6e,_0x399979[_0x17af('0x4f')]);return db[_0x17af('0x3a')][_0x17af('0x57')](_0x125d6e)['then'](handleEntityNotFound(_0x2460ce,null))[_0x17af('0x36')](respondWithResult(_0x2460ce,null))[_0x17af('0x28')](handleError(_0x2460ce,null));};exports[_0x17af('0x58')]=function(_0x209a7f,_0x2030c3){return db[_0x17af('0x3a')]['create'](_0x209a7f[_0x17af('0x59')],{})[_0x17af('0x36')](respondWithResult(_0x2030c3,0xc9))['catch'](handleError(_0x2030c3,null));};exports[_0x17af('0x35')]=function(_0xe5d4e4,_0x23cedb){if(_0xe5d4e4[_0x17af('0x59')]['id']){delete _0xe5d4e4[_0x17af('0x59')]['id'];}return db[_0x17af('0x3a')]['find']({'where':{'id':_0xe5d4e4[_0x17af('0x55')]['id']}})[_0x17af('0x36')](handleEntityNotFound(_0x23cedb,null))[_0x17af('0x36')](saveUpdates(_0xe5d4e4[_0x17af('0x59')],null))[_0x17af('0x36')](respondWithResult(_0x23cedb,null))[_0x17af('0x28')](handleError(_0x23cedb,null));};exports[_0x17af('0x5a')]=function(_0x3be144,_0x31a4d2){return db[_0x17af('0x3a')]['find']({'where':{'id':_0x3be144[_0x17af('0x55')]['id']}})[_0x17af('0x36')](handleEntityNotFound(_0x31a4d2,null))[_0x17af('0x36')](removeEntity(_0x31a4d2,null))['catch'](handleError(_0x31a4d2,null));};exports[_0x17af('0x5b')]=function(_0x4030e3,_0x5d12){return db[_0x17af('0x3a')]['describe']()[_0x17af('0x36')](respondWithResult(_0x5d12,null))[_0x17af('0x28')](handleError(_0x5d12,null));};var interaction_log=require(_0x17af('0x11'))(_0x17af('0x5c'));exports[_0x17af('0x5d')]=function(_0x74cf6b,_0xc1d7eb,_0xe345f1){var _0xc48282={'agent':{},'channel':'chat'};if(_0x74cf6b['body']['id']){delete _0x74cf6b[_0x17af('0x59')]['id'];}_0x74cf6b['body'][_0x17af('0x5e')]=!![];_0x74cf6b['body'][_0x17af('0x5f')]=moment()[_0x17af('0x60')](_0x17af('0x61'));_0x74cf6b[_0x17af('0x59')][_0x17af('0x62')]=_0x74cf6b[_0x17af('0x59')][_0x17af('0x62')]||_0x74cf6b[_0x17af('0x63')]['id'];_0xc48282[_0x17af('0x64')]['id']=_0x74cf6b['body']['UserId'];return db[_0x17af('0x3a')][_0x17af('0x57')]({'where':{'id':_0x74cf6b['params']['id'],'UserId':null}})['then'](handleEntityNotFound(_0xc1d7eb,null))[_0x17af('0x36')](saveUpdates(_0x74cf6b[_0x17af('0x59')],null))[_0x17af('0x36')](function(_0x219e17){if(_0x219e17){_0xc48282['message']=_0x219e17[_0x17af('0x65')]({'plain':!![]});return db[_0x17af('0x66')][_0x17af('0x57')]({'where':{'id':_0x219e17[_0x17af('0x67')]}});}return null;})[_0x17af('0x36')](handleEntityNotFound(_0xc1d7eb,null))[_0x17af('0x36')](function(_0x2a38f3){if(_0x2a38f3){return _0x2a38f3[_0x17af('0x35')]({'UserId':_0x74cf6b[_0x17af('0x59')][_0x17af('0x62')],'read1stAt':_[_0x17af('0x68')](_0x2a38f3[_0x17af('0x69')])?moment()['format'](_0x17af('0x61')):undefined});}return null;})[_0x17af('0x36')](function(_0x45314b){if(_0x45314b){_0xc48282[_0x17af('0x6a')]=_0x45314b[_0x17af('0x65')]({'plain':!![]});interaction_log['info'](_0x17af('0x6b'),_0x74cf6b[_0x17af('0x63')]['id'],_0x74cf6b[_0x17af('0x63')]['name'],_0x74cf6b[_0x17af('0x63')][_0x17af('0x6c')],_0xc48282['interaction']['id'],_0x74cf6b[_0x17af('0x59')]?JSON[_0x17af('0x6d')](_0x74cf6b['body']):'null');return respondWithRpcPromise(_0x17af('0x6e'),_0x17af('0x6f'),_0xc48282);}return null;})[_0x17af('0x36')](function(_0x28bf07){var _0x46494f=_0x17af('0x70')+_0x28bf07[_0x17af('0x25')]['ContactId'];return db['sequelize'][_0x17af('0x40')](_0x46494f,{'type':db['Sequelize'][_0x17af('0x71')][_0x17af('0x72')],'raw':!![]})[_0x17af('0x36')](function(_0x5c4fdc){return _0x5c4fdc;});})[_0x17af('0x36')](function(_0x5b6ff9){if(_0x5b6ff9){_0xc48282['message']['contact']=_0x5b6ff9[0x0];if(!_0x74cf6b[_0x17af('0x59')][_0x17af('0x62')])return;return db[_0x17af('0x73')][_0x17af('0x57')]({'where':{'id':_0x74cf6b[_0x17af('0x59')][_0x17af('0x62')],'role':_0x17af('0x64')},'attributes':['id',_0x17af('0x3f'),'fullname',_0x17af('0x74'),'internal'],'raw':!![]});}return null;})[_0x17af('0x36')](function(_0x13e974){if(!_0x13e974)return null;_0xc48282[_0x17af('0x25')][_0x17af('0x64')]=_0x13e974;return _0xc48282;})[_0x17af('0x36')](function(_0x1093a3){if(_0x1093a3){if(_0x74cf6b[_0x17af('0x59')][_0x17af('0x75')]){_0xc48282['message']['interface']=util[_0x17af('0x60')](_0x17af('0x76'),_0x74cf6b[_0x17af('0x63')][_0x17af('0x3f')]);_0xc48282[_0x17af('0x25')][_0x17af('0x77')]=_0xc48282[_0x17af('0x77')];_0xc48282[_0x17af('0x25')]['motionChannel']=_0xc48282['channel'];_0xc48282['message'][_0x17af('0x78')]=_0x17af('0x5d');return respondWithRpcPromise(_0x17af('0x79'),_0x17af('0x79'),{'event':_0x17af('0x7a'),'message':_[_0x17af('0x4e')](_0xc48282[_0x17af('0x25')],JSON[_0x17af('0x7b')](_0xc48282[_0x17af('0x6a')][_0x17af('0x7c')]))},client9002)[_0x17af('0x36')](function(){return _0xc48282;});}return _0xc48282;}return null;})[_0x17af('0x36')](respondWithResult(_0xc1d7eb,null))[_0x17af('0x28')](handleError(_0xc1d7eb,null));};var interaction_log=require('../../config/logger')(_0x17af('0x5c'));exports['reject']=function(_0x48324b,_0x36b82,_0x46eb38){var _0x4d0d3a={'agent':{},'channel':_0x17af('0x7d')};if(_0x48324b[_0x17af('0x59')]['id']){delete _0x48324b[_0x17af('0x59')]['id'];}_0x48324b['body'][_0x17af('0x62')]=_0x48324b['body'][_0x17af('0x62')]||_0x48324b[_0x17af('0x63')]['id'];_0x4d0d3a[_0x17af('0x64')]['id']=_0x48324b[_0x17af('0x59')][_0x17af('0x62')];return db[_0x17af('0x3a')]['find']({'where':{'id':_0x48324b[_0x17af('0x55')]['id'],'UserId':null}})[_0x17af('0x36')](handleEntityNotFound(_0x36b82,null))[_0x17af('0x36')](function(_0xd3517d){if(_0xd3517d){_0x4d0d3a[_0x17af('0x25')]=_0xd3517d[_0x17af('0x65')]({'plain':!![]});return db[_0x17af('0x66')]['find']({'where':{'id':_0xd3517d['ChatInteractionId']}});}return null;})[_0x17af('0x36')](handleEntityNotFound(_0x36b82,null))[_0x17af('0x36')](function(_0x4feae1){if(_0x4feae1){_0x4d0d3a[_0x17af('0x6a')]=_0x4feae1['get']({'plain':!![]});interaction_log[_0x17af('0x1f')](_0x17af('0x7e'),_0x48324b[_0x17af('0x63')]['id'],_0x48324b['user'][_0x17af('0x3f')],_0x48324b['user'][_0x17af('0x6c')],_0x4d0d3a[_0x17af('0x6a')]['id'],_0x48324b[_0x17af('0x59')]?JSON['stringify'](_0x48324b[_0x17af('0x59')]):_0x17af('0x7f'));return respondWithRpcPromise('RejectMessage',_0x17af('0x80'),_0x4d0d3a);}return null;})[_0x17af('0x36')](function(_0x101c69){var _0x1adbeb=_0x17af('0x70')+_0x101c69['message'][_0x17af('0x81')];return db['sequelize'][_0x17af('0x40')](_0x1adbeb,{'type':db[_0x17af('0x82')]['QueryTypes'][_0x17af('0x72')],'raw':!![]})[_0x17af('0x36')](function(_0x4b2d2a){return _0x4b2d2a;});})[_0x17af('0x36')](function(_0x52a28f){if(_0x52a28f){_0x4d0d3a['message'][_0x17af('0x83')]=_0x52a28f[0x0];if(!_0x48324b[_0x17af('0x59')][_0x17af('0x62')])return;return db[_0x17af('0x73')][_0x17af('0x57')]({'where':{'id':_0x48324b[_0x17af('0x59')][_0x17af('0x62')],'role':_0x17af('0x64')},'attributes':['id',_0x17af('0x3f'),'fullname',_0x17af('0x74'),_0x17af('0x84')],'raw':!![]});}return null;})[_0x17af('0x36')](function(_0x2c22ca){if(!_0x2c22ca)return null;_0x4d0d3a['message']['agent']=_0x2c22ca;return _0x4d0d3a;})[_0x17af('0x36')](function(_0x1b95f0){if(_0x1b95f0){_0x1b95f0[_0x17af('0x25')][_0x17af('0x85')]=util[_0x17af('0x60')](_0x17af('0x76'),_0x48324b['user'][_0x17af('0x3f')]);_0x1b95f0[_0x17af('0x25')][_0x17af('0x77')]=_0x4d0d3a['channel'];_0x1b95f0[_0x17af('0x25')][_0x17af('0x86')]=_0x4d0d3a[_0x17af('0x77')];_0x1b95f0[_0x17af('0x25')]['event']=_0x17af('0x33');respondWithRpcPromise(_0x17af('0x79'),'EventManager',{'event':_0x17af('0x87'),'message':_[_0x17af('0x4e')](_0x4d0d3a[_0x17af('0x25')],JSON['parse'](_0x4d0d3a['interaction'][_0x17af('0x7c')]))},client9002);return _0x4d0d3a;}return null;})[_0x17af('0x36')](respondWithResult(_0x36b82,null))[_0x17af('0x28')](handleError(_0x36b82,null));};
\ No newline at end of file
+var _0x726e=['body','find','params','describe','chat-interactions','chat','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','agent','get','ChatInteraction','ChatInteractionId','isNil','read1stAt','[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','user','role','interaction','AcceptMessage','acceptMessage','ContactId','sequelize','Sequelize','QueryTypes','User','fullname','email','internal','manual','SIP/%s','channel','motionChannel','accept','EventManager','acceptmessage','parse','formData','[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','RejectMessage','rejectMessage','SELECT\x20*\x20FROM\x20cm_contacts\x20WHERE\x20id\x20=\x20','SELECT','contact','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','lodash','squel','jsforce','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','redis','defaults','socket.io-emitter','./chatMessage.socket','register','jayson/promise','client','request','info','ChatMessage,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','sendStatus','status','end','json','undefined','limit','count','offset','set','Content-Range','apply','reject','update','destroy','then','stack','name','send','index','map','rawAttributes','fieldName','type','key','model','keys','query','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','ChatMessage','findAll','rows','show','create'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x726e,0xaf));var _0xe726=function(_0x2947f9,_0x3de637){_0x2947f9=_0x2947f9-0x0;var _0x3736b4=_0x726e[_0x2947f9];return _0x3736b4;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xe726('0x0'));var zipdir=require(_0xe726('0x1'));var jsonpatch=require(_0xe726('0x2'));var rp=require(_0xe726('0x3'));var moment=require(_0xe726('0x4'));var BPromise=require(_0xe726('0x5'));var Mustache=require(_0xe726('0x6'));var util=require(_0xe726('0x7'));var path=require(_0xe726('0x8'));var sox=require(_0xe726('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xe726('0xa'));var squel=require(_0xe726('0xb'));var crypto=require('crypto');var jsforce=require(_0xe726('0xc'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xe726('0xd'));var Redis=require(_0xe726('0xe'));var authService=require('../../components/auth/service');var qs=require(_0xe726('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xe726('0x10'));var logger=require(_0xe726('0x11'))(_0xe726('0x12'));var utils=require(_0xe726('0x13'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xe726('0x14'))['db'];config[_0xe726('0x15')]=_[_0xe726('0x16')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xe726('0x17'))(new Redis(config['redis']));require(_0xe726('0x18'))[_0xe726('0x19')](socket);var jayson=require(_0xe726('0x1a'));var client=jayson[_0xe726('0x1b')]['http']({'port':0x232c});var client9002=jayson[_0xe726('0x1b')]['http']({'port':0x232a});function respondWithRpcPromise(_0x43cd7d,_0x31afc5,_0x2a918e,_0x16e146){return new BPromise(function(_0x59d229,_0x557f5f){var _0x26da40=_0x16e146||client;return _0x26da40[_0xe726('0x1c')](_0x43cd7d,_0x2a918e)['then'](function(_0xcb8869){logger[_0xe726('0x1d')](_0xe726('0x1e'),_0x31afc5,_0xe726('0x1f'));logger['debug']('ChatMessage,\x20%s,\x20%s,\x20%s',_0x31afc5,_0xe726('0x1f'),JSON[_0xe726('0x20')](_0xcb8869));if(_0xcb8869[_0xe726('0x21')]){if(_0xcb8869[_0xe726('0x21')][_0xe726('0x22')]===0x1f4){logger['error'](_0xe726('0x1e'),_0x31afc5,_0xcb8869[_0xe726('0x21')]['message']);return _0x557f5f(_0xcb8869[_0xe726('0x21')]['message']);}logger[_0xe726('0x21')](_0xe726('0x1e'),_0x31afc5,_0xcb8869[_0xe726('0x21')][_0xe726('0x23')]);return _0x59d229(_0xcb8869['error'][_0xe726('0x23')]);}else{logger[_0xe726('0x1d')](_0xe726('0x1e'),_0x31afc5,'request\x20sent');_0x59d229(_0xcb8869[_0xe726('0x24')][_0xe726('0x23')]);}})[_0xe726('0x25')](function(_0x161ac4){logger['error'](_0xe726('0x1e'),_0x31afc5,_0x161ac4);_0x557f5f(_0x161ac4);});});}function respondWithStatusCode(_0x593fc8,_0x4a7813){_0x4a7813=_0x4a7813||0xcc;return function(_0x181df9){if(_0x181df9){return _0x593fc8[_0xe726('0x26')](_0x4a7813);}return _0x593fc8[_0xe726('0x27')](_0x4a7813)[_0xe726('0x28')]();};}function respondWithResult(_0x3a14ed,_0x245f94){_0x245f94=_0x245f94||0xc8;return function(_0x12e563){if(_0x12e563){return _0x3a14ed[_0xe726('0x27')](_0x245f94)[_0xe726('0x29')](_0x12e563);}};}function respondWithFilteredResult(_0x5e96be,_0xfff977){return function(_0x315ee0){if(_0x315ee0){var _0x5aafa3=typeof _0xfff977['offset']===_0xe726('0x2a')&&typeof _0xfff977[_0xe726('0x2b')]===_0xe726('0x2a');var _0x2f822e=_0x315ee0[_0xe726('0x2c')];var _0x5ac9ba=_0x5aafa3?0x0:_0xfff977[_0xe726('0x2d')];var _0x3e4c99=_0x5aafa3?_0x315ee0[_0xe726('0x2c')]:_0xfff977['offset']+_0xfff977[_0xe726('0x2b')];var _0x13b8c3;if(_0x3e4c99>=_0x2f822e){_0x3e4c99=_0x2f822e;_0x13b8c3=0xc8;}else{_0x13b8c3=0xce;}_0x5e96be['status'](_0x13b8c3);return _0x5e96be[_0xe726('0x2e')](_0xe726('0x2f'),_0x5ac9ba+'-'+_0x3e4c99+'/'+_0x2f822e)[_0xe726('0x29')](_0x315ee0);}return null;};}function patchUpdates(_0x2c61eb){return function(_0x1e9c07){try{jsonpatch[_0xe726('0x30')](_0x1e9c07,_0x2c61eb,!![]);}catch(_0x5f568f){return BPromise[_0xe726('0x31')](_0x5f568f);}return _0x1e9c07['save']();};}function saveUpdates(_0x46ae12,_0x1d73d5){return function(_0x59023e){if(_0x59023e){return _0x59023e[_0xe726('0x32')](_0x46ae12)['then'](function(_0x4a7e49){return _0x4a7e49;});}return null;};}function removeEntity(_0x25ff43,_0x459eb7){return function(_0x256a5a){if(_0x256a5a){return _0x256a5a[_0xe726('0x33')]()[_0xe726('0x34')](function(){_0x25ff43[_0xe726('0x27')](0xcc)[_0xe726('0x28')]();});}};}function handleEntityNotFound(_0x2c2483,_0x20647a){return function(_0x161f0e){if(!_0x161f0e){_0x2c2483[_0xe726('0x26')](0x194);}return _0x161f0e;};}function handleError(_0x6f54b9,_0x1bfa03){_0x1bfa03=_0x1bfa03||0x1f4;return function(_0x42a881){logger[_0xe726('0x21')](_0x42a881[_0xe726('0x35')]);if(_0x42a881[_0xe726('0x36')]){delete _0x42a881[_0xe726('0x36')];}_0x6f54b9['status'](_0x1bfa03)[_0xe726('0x37')](_0x42a881);};}exports[_0xe726('0x38')]=function(_0x5de358,_0x424783){var _0x59d9ff={},_0x11224f={},_0x59ccc2={'count':0x0,'rows':[]};var _0x42504f=_[_0xe726('0x39')](db['ChatMessage'][_0xe726('0x3a')],function(_0x1667f1){return{'name':_0x1667f1[_0xe726('0x3b')],'type':_0x1667f1[_0xe726('0x3c')][_0xe726('0x3d')]};});_0x11224f[_0xe726('0x3e')]=_[_0xe726('0x39')](_0x42504f,_0xe726('0x36'));_0x11224f['query']=_[_0xe726('0x3f')](_0x5de358[_0xe726('0x40')]);_0x11224f[_0xe726('0x41')]=_['intersection'](_0x11224f[_0xe726('0x3e')],_0x11224f[_0xe726('0x40')]);_0x59d9ff['attributes']=_[_0xe726('0x42')](_0x11224f['model'],qs[_0xe726('0x43')](_0x5de358[_0xe726('0x40')][_0xe726('0x43')]));_0x59d9ff[_0xe726('0x44')]=_0x59d9ff[_0xe726('0x44')]['length']?_0x59d9ff['attributes']:_0x11224f['model'];if(!_0x5de358[_0xe726('0x40')][_0xe726('0x45')](_0xe726('0x46'))){_0x59d9ff[_0xe726('0x2b')]=qs[_0xe726('0x2b')](_0x5de358[_0xe726('0x40')]['limit']);_0x59d9ff[_0xe726('0x2d')]=qs['offset'](_0x5de358[_0xe726('0x40')][_0xe726('0x2d')]);}_0x59d9ff[_0xe726('0x47')]=qs[_0xe726('0x48')](_0x5de358['query'][_0xe726('0x48')]);_0x59d9ff[_0xe726('0x49')]=qs[_0xe726('0x41')](_[_0xe726('0x4a')](_0x5de358[_0xe726('0x40')],_0x11224f[_0xe726('0x41')]),_0x42504f);if(_0x5de358['query'][_0xe726('0x4b')]){_0x59d9ff[_0xe726('0x49')]=_[_0xe726('0x4c')](_0x59d9ff[_0xe726('0x49')],{'$or':_[_0xe726('0x39')](_0x42504f,function(_0x5f1eba){if(_0x5f1eba[_0xe726('0x3c')]!=='VIRTUAL'){var _0x15fe58={};_0x15fe58[_0x5f1eba['name']]={'$like':'%'+_0x5de358['query']['filter']+'%'};return _0x15fe58;}})});}_0x59d9ff=_['merge']({},_0x59d9ff,_0x5de358[_0xe726('0x4d')]);var _0x2f8ba5={'where':_0x59d9ff['where']};return db['ChatMessage'][_0xe726('0x2c')](_0x2f8ba5)[_0xe726('0x34')](function(_0x54db89){_0x59ccc2['count']=_0x54db89;if(_0x5de358['query'][_0xe726('0x4e')]){_0x59d9ff[_0xe726('0x4f')]=[{'all':!![]}];}return db[_0xe726('0x50')][_0xe726('0x51')](_0x59d9ff);})[_0xe726('0x34')](function(_0x4fa298){_0x59ccc2[_0xe726('0x52')]=_0x4fa298;return _0x59ccc2;})[_0xe726('0x34')](respondWithFilteredResult(_0x424783,_0x59d9ff))[_0xe726('0x25')](handleError(_0x424783,null));};exports[_0xe726('0x53')]=function(_0x124748,_0x1d02b7){var _0x375579={'raw':!![],'where':{'id':_0x124748['params']['id']}},_0x33723f={};_0x33723f[_0xe726('0x3e')]=_[_0xe726('0x3f')](db[_0xe726('0x50')]['rawAttributes']);_0x33723f[_0xe726('0x40')]=_[_0xe726('0x3f')](_0x124748[_0xe726('0x40')]);_0x33723f[_0xe726('0x41')]=_[_0xe726('0x42')](_0x33723f[_0xe726('0x3e')],_0x33723f[_0xe726('0x40')]);_0x375579['attributes']=_[_0xe726('0x42')](_0x33723f[_0xe726('0x3e')],qs[_0xe726('0x43')](_0x124748['query'][_0xe726('0x43')]));_0x375579[_0xe726('0x44')]=_0x375579[_0xe726('0x44')]['length']?_0x375579[_0xe726('0x44')]:_0x33723f[_0xe726('0x3e')];if(_0x124748[_0xe726('0x40')][_0xe726('0x4e')]){_0x375579['include']=[{'all':!![]}];}_0x375579=_['merge']({},_0x375579,_0x124748['options']);return db[_0xe726('0x50')]['find'](_0x375579)[_0xe726('0x34')](handleEntityNotFound(_0x1d02b7,null))[_0xe726('0x34')](respondWithResult(_0x1d02b7,null))[_0xe726('0x25')](handleError(_0x1d02b7,null));};exports[_0xe726('0x54')]=function(_0xa3e4c4,_0xa8052b){return db[_0xe726('0x50')][_0xe726('0x54')](_0xa3e4c4[_0xe726('0x55')],{})[_0xe726('0x34')](respondWithResult(_0xa8052b,0xc9))[_0xe726('0x25')](handleError(_0xa8052b,null));};exports[_0xe726('0x32')]=function(_0xb91408,_0x53a0a0){if(_0xb91408['body']['id']){delete _0xb91408[_0xe726('0x55')]['id'];}return db[_0xe726('0x50')][_0xe726('0x56')]({'where':{'id':_0xb91408[_0xe726('0x57')]['id']}})[_0xe726('0x34')](handleEntityNotFound(_0x53a0a0,null))[_0xe726('0x34')](saveUpdates(_0xb91408['body'],null))['then'](respondWithResult(_0x53a0a0,null))['catch'](handleError(_0x53a0a0,null));};exports[_0xe726('0x33')]=function(_0x245150,_0x1abe25){return db[_0xe726('0x50')][_0xe726('0x56')]({'where':{'id':_0x245150[_0xe726('0x57')]['id']}})[_0xe726('0x34')](handleEntityNotFound(_0x1abe25,null))[_0xe726('0x34')](removeEntity(_0x1abe25,null))[_0xe726('0x25')](handleError(_0x1abe25,null));};exports['describe']=function(_0x19ca89,_0x547cdc){return db['ChatMessage'][_0xe726('0x58')]()[_0xe726('0x34')](respondWithResult(_0x547cdc,null))[_0xe726('0x25')](handleError(_0x547cdc,null));};var interaction_log=require('../../config/logger')(_0xe726('0x59'));exports['accept']=function(_0x562b84,_0x2a1cc7,_0x7982c3){var _0x1e668d={'agent':{},'channel':_0xe726('0x5a')};if(_0x562b84[_0xe726('0x55')]['id']){delete _0x562b84[_0xe726('0x55')]['id'];}_0x562b84[_0xe726('0x55')]['read']=!![];_0x562b84['body'][_0xe726('0x5b')]=moment()[_0xe726('0x5c')](_0xe726('0x5d'));_0x562b84[_0xe726('0x55')][_0xe726('0x5e')]=_0x562b84[_0xe726('0x55')][_0xe726('0x5e')]||_0x562b84['user']['id'];_0x1e668d[_0xe726('0x5f')]['id']=_0x562b84[_0xe726('0x55')][_0xe726('0x5e')];return db[_0xe726('0x50')][_0xe726('0x56')]({'where':{'id':_0x562b84[_0xe726('0x57')]['id'],'UserId':null}})[_0xe726('0x34')](handleEntityNotFound(_0x2a1cc7,null))[_0xe726('0x34')](saveUpdates(_0x562b84[_0xe726('0x55')],null))[_0xe726('0x34')](function(_0xd8e9e7){if(_0xd8e9e7){_0x1e668d[_0xe726('0x23')]=_0xd8e9e7[_0xe726('0x60')]({'plain':!![]});return db[_0xe726('0x61')]['find']({'where':{'id':_0xd8e9e7[_0xe726('0x62')]}});}return null;})['then'](handleEntityNotFound(_0x2a1cc7,null))[_0xe726('0x34')](function(_0x311522){if(_0x311522){return _0x311522[_0xe726('0x32')]({'UserId':_0x562b84[_0xe726('0x55')][_0xe726('0x5e')],'read1stAt':_[_0xe726('0x63')](_0x311522[_0xe726('0x64')])?moment()[_0xe726('0x5c')]('YYYY-MM-DD\x20HH:mm:ss'):undefined});}return null;})[_0xe726('0x34')](function(_0x89f18f){if(_0x89f18f){_0x1e668d['interaction']=_0x89f18f[_0xe726('0x60')]({'plain':!![]});interaction_log['info'](_0xe726('0x65'),_0x562b84[_0xe726('0x66')]['id'],_0x562b84['user'][_0xe726('0x36')],_0x562b84[_0xe726('0x66')][_0xe726('0x67')],_0x1e668d[_0xe726('0x68')]['id'],_0x562b84[_0xe726('0x55')]?JSON[_0xe726('0x20')](_0x562b84[_0xe726('0x55')]):'null');return respondWithRpcPromise(_0xe726('0x69'),_0xe726('0x6a'),_0x1e668d);}return null;})['then'](function(_0x56573a){var _0x18707c='SELECT\x20*\x20FROM\x20cm_contacts\x20WHERE\x20id\x20=\x20'+_0x56573a['message'][_0xe726('0x6b')];return db[_0xe726('0x6c')][_0xe726('0x40')](_0x18707c,{'type':db[_0xe726('0x6d')][_0xe726('0x6e')]['SELECT'],'raw':!![]})[_0xe726('0x34')](function(_0x25ccea){return _0x25ccea;});})['then'](function(_0x258097){if(_0x258097){_0x1e668d[_0xe726('0x23')]['contact']=_0x258097[0x0];if(!_0x562b84[_0xe726('0x55')][_0xe726('0x5e')])return;return db[_0xe726('0x6f')][_0xe726('0x56')]({'where':{'id':_0x562b84[_0xe726('0x55')]['UserId'],'role':_0xe726('0x5f')},'attributes':['id',_0xe726('0x36'),_0xe726('0x70'),_0xe726('0x71'),_0xe726('0x72')],'raw':!![]});}return null;})['then'](function(_0x133235){if(!_0x133235)return null;_0x1e668d['message'][_0xe726('0x5f')]=_0x133235;return _0x1e668d;})[_0xe726('0x34')](function(_0x2cddde){if(_0x2cddde){if(_0x562b84['body'][_0xe726('0x73')]){_0x1e668d[_0xe726('0x23')]['interface']=util[_0xe726('0x5c')](_0xe726('0x74'),_0x562b84['user'][_0xe726('0x36')]);_0x1e668d[_0xe726('0x23')][_0xe726('0x75')]=_0x1e668d['channel'];_0x1e668d['message'][_0xe726('0x76')]=_0x1e668d[_0xe726('0x75')];_0x1e668d[_0xe726('0x23')]['event']=_0xe726('0x77');return respondWithRpcPromise('EventManager',_0xe726('0x78'),{'event':_0xe726('0x79'),'message':_[_0xe726('0x4c')](_0x1e668d[_0xe726('0x23')],JSON[_0xe726('0x7a')](_0x1e668d['interaction'][_0xe726('0x7b')]))},client9002)[_0xe726('0x34')](function(){return _0x1e668d;});}return _0x1e668d;}return null;})[_0xe726('0x34')](respondWithResult(_0x2a1cc7,null))[_0xe726('0x25')](handleError(_0x2a1cc7,null));};var interaction_log=require(_0xe726('0x11'))(_0xe726('0x59'));exports[_0xe726('0x31')]=function(_0x10e854,_0x1eaac6,_0x4a0b2e){var _0x13c143={'agent':{},'channel':_0xe726('0x5a')};if(_0x10e854[_0xe726('0x55')]['id']){delete _0x10e854[_0xe726('0x55')]['id'];}_0x10e854[_0xe726('0x55')][_0xe726('0x5e')]=_0x10e854['body']['UserId']||_0x10e854[_0xe726('0x66')]['id'];_0x13c143['agent']['id']=_0x10e854[_0xe726('0x55')][_0xe726('0x5e')];return db[_0xe726('0x50')][_0xe726('0x56')]({'where':{'id':_0x10e854[_0xe726('0x57')]['id'],'UserId':null}})[_0xe726('0x34')](handleEntityNotFound(_0x1eaac6,null))[_0xe726('0x34')](function(_0x296e8f){if(_0x296e8f){_0x13c143[_0xe726('0x23')]=_0x296e8f[_0xe726('0x60')]({'plain':!![]});return db[_0xe726('0x61')][_0xe726('0x56')]({'where':{'id':_0x296e8f['ChatInteractionId']}});}return null;})['then'](handleEntityNotFound(_0x1eaac6,null))[_0xe726('0x34')](function(_0x39cbda){if(_0x39cbda){_0x13c143[_0xe726('0x68')]=_0x39cbda['get']({'plain':!![]});interaction_log[_0xe726('0x1d')](_0xe726('0x7c'),_0x10e854['user']['id'],_0x10e854[_0xe726('0x66')]['name'],_0x10e854[_0xe726('0x66')][_0xe726('0x67')],_0x13c143[_0xe726('0x68')]['id'],_0x10e854[_0xe726('0x55')]?JSON[_0xe726('0x20')](_0x10e854[_0xe726('0x55')]):'null');return respondWithRpcPromise(_0xe726('0x7d'),_0xe726('0x7e'),_0x13c143);}return null;})[_0xe726('0x34')](function(_0x4e2e4b){var _0x3f9d3f=_0xe726('0x7f')+_0x4e2e4b[_0xe726('0x23')][_0xe726('0x6b')];return db[_0xe726('0x6c')]['query'](_0x3f9d3f,{'type':db['Sequelize'][_0xe726('0x6e')][_0xe726('0x80')],'raw':!![]})[_0xe726('0x34')](function(_0x235bae){return _0x235bae;});})[_0xe726('0x34')](function(_0x11543a){if(_0x11543a){_0x13c143[_0xe726('0x23')][_0xe726('0x81')]=_0x11543a[0x0];if(!_0x10e854[_0xe726('0x55')][_0xe726('0x5e')])return;return db[_0xe726('0x6f')]['find']({'where':{'id':_0x10e854[_0xe726('0x55')][_0xe726('0x5e')],'role':'agent'},'attributes':['id','name',_0xe726('0x70'),_0xe726('0x71'),'internal'],'raw':!![]});}return null;})[_0xe726('0x34')](function(_0x28274e){if(!_0x28274e)return null;_0x13c143['message']['agent']=_0x28274e;return _0x13c143;})[_0xe726('0x34')](function(_0x169e94){if(_0x169e94){_0x169e94[_0xe726('0x23')]['interface']=util[_0xe726('0x5c')]('SIP/%s',_0x10e854[_0xe726('0x66')][_0xe726('0x36')]);_0x169e94['message'][_0xe726('0x75')]=_0x13c143['channel'];_0x169e94[_0xe726('0x23')][_0xe726('0x76')]=_0x13c143[_0xe726('0x75')];_0x169e94[_0xe726('0x23')]['event']=_0xe726('0x31');respondWithRpcPromise(_0xe726('0x78'),_0xe726('0x78'),{'event':'rejectmessage','message':_[_0xe726('0x4c')](_0x13c143[_0xe726('0x23')],JSON[_0xe726('0x7a')](_0x13c143[_0xe726('0x68')]['formData']))},client9002);return _0x13c143;}return null;})[_0xe726('0x34')](respondWithResult(_0x1eaac6,null))[_0xe726('0x25')](handleError(_0x1eaac6,null));};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.events.js b/server/api/chatMessage/chatMessage.events.js
index b3ba3ce..3265f0f 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 _0xce5d=['emit','hook','events','ChatMessage','setMaxListeners','save','update'];(function(_0x2d701e,_0x207209){var _0x24c850=function(_0x49b005){while(--_0x49b005){_0x2d701e['push'](_0x2d701e['shift']());}};_0x24c850(++_0x207209);}(_0xce5d,0xf0));var _0xdce5=function(_0x1419f6,_0x4180de){_0x1419f6=_0x1419f6-0x0;var _0x5b07c7=_0xce5d[_0x1419f6];return _0x5b07c7;};'use strict';var EventEmitter=require(_0xdce5('0x0'));var ChatMessage=require('../../mysqldb')['db'][_0xdce5('0x1')];var ChatMessageEvents=new EventEmitter();ChatMessageEvents[_0xdce5('0x2')](0x0);var events={'afterCreate':_0xdce5('0x3'),'afterUpdate':_0xdce5('0x4'),'afterDestroy':'remove'};function emitEvent(_0x4f4131){return function(_0x33ffc4,_0x394732,_0xd98740){ChatMessageEvents[_0xdce5('0x5')](_0x4f4131+':'+_0x33ffc4['id'],_0x33ffc4);ChatMessageEvents[_0xdce5('0x5')](_0x4f4131,_0x33ffc4);_0xd98740(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatMessage[_0xdce5('0x6')](e,emitEvent(event));}}module['exports']=ChatMessageEvents;
\ No newline at end of file
+var _0x39b1=['setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0x39b1,0x17a));var _0x139b=function(_0x11f88d,_0x444aa5){_0x11f88d=_0x11f88d-0x0;var _0x17db28=_0x39b1[_0x11f88d];return _0x17db28;};'use strict';var EventEmitter=require(_0x139b('0x0'));var ChatMessage=require(_0x139b('0x1'))['db']['ChatMessage'];var ChatMessageEvents=new EventEmitter();ChatMessageEvents[_0x139b('0x2')](0x0);var events={'afterCreate':_0x139b('0x3'),'afterUpdate':_0x139b('0x4'),'afterDestroy':_0x139b('0x5')};function emitEvent(_0x154c73){return function(_0x3a4b8d,_0x157e57,_0x3fbcc4){ChatMessageEvents[_0x139b('0x6')](_0x154c73+':'+_0x3a4b8d['id'],_0x3a4b8d);ChatMessageEvents[_0x139b('0x6')](_0x154c73,_0x3a4b8d);_0x3fbcc4(null);};}for(var e in events){if(events[_0x139b('0x7')](e)){var event=events[e];ChatMessage[_0x139b('0x8')](e,emitEvent(event));}}module[_0x139b('0x9')]=ChatMessageEvents;
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.model.js b/server/api/chatMessage/chatMessage.model.js
index 494b46d..fbad4db 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 _0x77a3=['ChatInteraction','findOne','then','update','createdAt','catch','error','utf8mb4','utf8mb4_unicode_ci','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','ChatMessage','chat_messages','FULLTEXT','get','direction','toLowerCase','secret','isNil','UserId'];(function(_0x3bfff4,_0xb878fd){var _0xba1f3d=function(_0x13f64d){while(--_0x13f64d){_0x3bfff4['push'](_0x3bfff4['shift']());}};_0xba1f3d(++_0xb878fd);}(_0x77a3,0xfc));var _0x377a=function(_0x439eb8,_0x1f8882){_0x439eb8=_0x439eb8-0x0;var _0x207441=_0x77a3[_0x439eb8];return _0x207441;};'use strict';var _=require(_0x377a('0x0'));var util=require(_0x377a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x377a('0x2'));var BPromise=require(_0x377a('0x3'));var rp=require(_0x377a('0x4'));var fs=require('fs');var path=require(_0x377a('0x5'));var rimraf=require(_0x377a('0x6'));var config=require(_0x377a('0x7'));var attributes=require('./chatMessage.attributes');module['exports']=function(_0x2ca6b1,_0x2e935c){return _0x2ca6b1[_0x377a('0x8')](_0x377a('0x9'),attributes,{'tableName':_0x377a('0xa'),'paranoid':![],'indexes':[{'name':'fti_chat_messages','fields':['body'],'type':_0x377a('0xb')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x2aae33,_0x296855,_0x3746bd){var _0x2e4292=_0x2ca6b1['models'];var _0x2ce025=_0x2aae33[_0x377a('0xc')]({'plain':!![]});if(_0x2ce025[_0x377a('0xd')][_0x377a('0xe')]()==='in'||_0x2ce025['direction']['toLowerCase']()==='out'&&!_0x2ce025[_0x377a('0xf')]&&!_[_0x377a('0x10')](_0x2ce025[_0x377a('0x11')])){_0x2e4292[_0x377a('0x12')][_0x377a('0x13')]({'where':{'id':_0x2ce025['ChatInteractionId']}})[_0x377a('0x14')](function(_0x41c566){if(_0x41c566){_0x41c566[_0x377a('0x15')]({'lastMsgAt':_0x2ce025[_0x377a('0x16')],'lastMsgDirection':_0x2ce025[_0x377a('0xd')][_0x377a('0xe')]()});}})[_0x377a('0x17')](function(_0x4ff001){console[_0x377a('0x18')](_0x4ff001);});}_0x3746bd();}},'charset':_0x377a('0x19'),'collate':_0x377a('0x1a')});};
\ No newline at end of file
+var _0x81c3=['get','toLowerCase','direction','secret','isNil','UserId','ChatInteraction','ChatInteractionId','then','update','catch','error','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','moment','bluebird','rimraf','../../config/environment','exports','define','ChatMessage','chat_messages','fti_chat_messages','body','FULLTEXT','models'];(function(_0x42797a,_0x3ca2c2){var _0xed8797=function(_0x33040e){while(--_0x33040e){_0x42797a['push'](_0x42797a['shift']());}};_0xed8797(++_0x3ca2c2);}(_0x81c3,0xd2));var _0x381c=function(_0x1445e6,_0x1612d1){_0x1445e6=_0x1445e6-0x0;var _0x1888a7=_0x81c3[_0x1445e6];return _0x1888a7;};'use strict';var _=require('lodash');var util=require(_0x381c('0x0'));var logger=require(_0x381c('0x1'))('api');var moment=require(_0x381c('0x2'));var BPromise=require(_0x381c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x381c('0x4'));var config=require(_0x381c('0x5'));var attributes=require('./chatMessage.attributes');module[_0x381c('0x6')]=function(_0x4639ea,_0x9c02e5){return _0x4639ea[_0x381c('0x7')](_0x381c('0x8'),attributes,{'tableName':_0x381c('0x9'),'paranoid':![],'indexes':[{'name':_0x381c('0xa'),'fields':[_0x381c('0xb')],'type':_0x381c('0xc')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x9f58f6,_0x211cc6,_0x202012){var _0x25b4a7=_0x4639ea[_0x381c('0xd')];var _0x4536f8=_0x9f58f6[_0x381c('0xe')]({'plain':!![]});if(_0x4536f8['direction'][_0x381c('0xf')]()==='in'||_0x4536f8[_0x381c('0x10')][_0x381c('0xf')]()==='out'&&!_0x4536f8[_0x381c('0x11')]&&!_[_0x381c('0x12')](_0x4536f8[_0x381c('0x13')])){_0x25b4a7[_0x381c('0x14')]['findOne']({'where':{'id':_0x4536f8[_0x381c('0x15')]}})[_0x381c('0x16')](function(_0x5d8771){if(_0x5d8771){_0x5d8771[_0x381c('0x17')]({'lastMsgAt':_0x4536f8['createdAt'],'lastMsgDirection':_0x4536f8[_0x381c('0x10')][_0x381c('0xf')]()});}})[_0x381c('0x18')](function(_0x4fe6d4){console[_0x381c('0x19')](_0x4fe6d4);});}_0x202012();}},'charset':_0x381c('0x1a'),'collate':_0x381c('0x1b')});};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.rpc.js b/server/api/chatMessage/chatMessage.rpc.js
index 8a07a1c..ab43dd4 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 _0x9466=['bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','localhost','socket.io-emitter','request','then','info','debug','ChatMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','ChatMessage,\x20%s,\x20%s','message','catch','CreateChatMessage','create','body','options','raw','lodash','util','moment'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x9466,0xa2));var _0x6946=function(_0x599f41,_0x4db732){_0x599f41=_0x599f41-0x0;var _0x2e4d58=_0x9466[_0x599f41];return _0x2e4d58;};'use strict';var _=require(_0x6946('0x0'));var util=require(_0x6946('0x1'));var moment=require(_0x6946('0x2'));var BPromise=require(_0x6946('0x3'));var rs=require(_0x6946('0x4'));var fs=require('fs');var Redis=require(_0x6946('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x6946('0x6'));var logger=require(_0x6946('0x7'))(_0x6946('0x8'));var config=require(_0x6946('0x9'));var jayson=require(_0x6946('0xa'));var client=jayson[_0x6946('0xb')][_0x6946('0xc')]({'port':0x232a});config[_0x6946('0xd')]=_['defaults'](config['redis'],{'host':_0x6946('0xe'),'port':0x18eb});var socket=require(_0x6946('0xf'))(new Redis(config[_0x6946('0xd')]));require('./chatMessage.socket')['register'](socket);function respondWithRpcPromise(_0x58eb64,_0x439c94,_0x72ea1a){return new BPromise(function(_0x4e0cdb,_0x52d094){return client[_0x6946('0x10')](_0x58eb64,_0x72ea1a)[_0x6946('0x11')](function(_0x70950b){logger[_0x6946('0x12')]('ChatMessage,\x20%s,\x20%s',_0x439c94,'request\x20sent');logger[_0x6946('0x13')](_0x6946('0x14'),_0x439c94,_0x6946('0x15'),JSON[_0x6946('0x16')](_0x70950b));if(_0x70950b[_0x6946('0x17')]){if(_0x70950b[_0x6946('0x17')][_0x6946('0x18')]===0x1f4){logger[_0x6946('0x17')](_0x6946('0x19'),_0x439c94,_0x70950b[_0x6946('0x17')][_0x6946('0x1a')]);return _0x52d094(_0x70950b[_0x6946('0x17')][_0x6946('0x1a')]);}logger[_0x6946('0x17')](_0x6946('0x19'),_0x439c94,_0x70950b[_0x6946('0x17')][_0x6946('0x1a')]);return _0x4e0cdb(_0x70950b['error'][_0x6946('0x1a')]);}else{logger[_0x6946('0x12')](_0x6946('0x19'),_0x439c94,_0x6946('0x15'));_0x4e0cdb(_0x70950b['result'][_0x6946('0x1a')]);}})[_0x6946('0x1b')](function(_0x4f0aab){logger[_0x6946('0x17')](_0x6946('0x19'),_0x439c94,_0x4f0aab);_0x52d094(_0x4f0aab);});});}exports[_0x6946('0x1c')]=function(_0x29427f){var _0xa6e610=this;return new Promise(function(_0x58d15b,_0x419ae9){return db['ChatMessage'][_0x6946('0x1d')](_0x29427f[_0x6946('0x1e')],{'raw':_0x29427f[_0x6946('0x1f')]?_0x29427f[_0x6946('0x1f')][_0x6946('0x20')]===undefined?!![]:![]:!![]})[_0x6946('0x11')](function(_0x3fdd4d){logger['info'](_0x6946('0x1c'),_0x29427f);logger[_0x6946('0x13')](_0x6946('0x1c'),_0x29427f,JSON[_0x6946('0x16')](_0x3fdd4d));_0x58d15b(_0x3fdd4d);})[_0x6946('0x1b')](function(_0x5850d3){logger[_0x6946('0x17')]('CreateChatMessage',_0x5850d3[_0x6946('0x1a')],_0x29427f);_0x419ae9(_0xa6e610[_0x6946('0x17')](0x1f4,_0x5850d3['message']));});});};
\ No newline at end of file
+var _0xaa40=['then','info','ChatMessage,\x20%s,\x20%s','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','CreateChatMessage','ChatMessage','create','body','options','raw','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','redis','defaults','localhost','register','request'];(function(_0x760e69,_0x4a1455){var _0x175636=function(_0x4d3156){while(--_0x4d3156){_0x760e69['push'](_0x760e69['shift']());}};_0x175636(++_0x4a1455);}(_0xaa40,0x107));var _0x0aa4=function(_0x40d59e,_0x28ea77){_0x40d59e=_0x40d59e-0x0;var _0x386bfa=_0xaa40[_0x40d59e];return _0x386bfa;};'use strict';var _=require(_0x0aa4('0x0'));var util=require('util');var moment=require(_0x0aa4('0x1'));var BPromise=require(_0x0aa4('0x2'));var rs=require(_0x0aa4('0x3'));var fs=require('fs');var Redis=require(_0x0aa4('0x4'));var db=require(_0x0aa4('0x5'))['db'];var utils=require(_0x0aa4('0x6'));var logger=require(_0x0aa4('0x7'))(_0x0aa4('0x8'));var config=require(_0x0aa4('0x9'));var jayson=require(_0x0aa4('0xa'));var client=jayson['client'][_0x0aa4('0xb')]({'port':0x232a});config[_0x0aa4('0xc')]=_[_0x0aa4('0xd')](config[_0x0aa4('0xc')],{'host':_0x0aa4('0xe'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require('./chatMessage.socket')[_0x0aa4('0xf')](socket);function respondWithRpcPromise(_0x2161b6,_0xc47f2c,_0x3bc855){return new BPromise(function(_0x1e1323,_0x150828){return client[_0x0aa4('0x10')](_0x2161b6,_0x3bc855)[_0x0aa4('0x11')](function(_0x56ec7c){logger[_0x0aa4('0x12')](_0x0aa4('0x13'),_0xc47f2c,_0x0aa4('0x14'));logger[_0x0aa4('0x15')](_0x0aa4('0x16'),_0xc47f2c,'request\x20sent',JSON[_0x0aa4('0x17')](_0x56ec7c));if(_0x56ec7c[_0x0aa4('0x18')]){if(_0x56ec7c['error'][_0x0aa4('0x19')]===0x1f4){logger[_0x0aa4('0x18')](_0x0aa4('0x13'),_0xc47f2c,_0x56ec7c[_0x0aa4('0x18')][_0x0aa4('0x1a')]);return _0x150828(_0x56ec7c[_0x0aa4('0x18')][_0x0aa4('0x1a')]);}logger[_0x0aa4('0x18')](_0x0aa4('0x13'),_0xc47f2c,_0x56ec7c[_0x0aa4('0x18')][_0x0aa4('0x1a')]);return _0x1e1323(_0x56ec7c[_0x0aa4('0x18')]['message']);}else{logger[_0x0aa4('0x12')](_0x0aa4('0x13'),_0xc47f2c,_0x0aa4('0x14'));_0x1e1323(_0x56ec7c[_0x0aa4('0x1b')]['message']);}})[_0x0aa4('0x1c')](function(_0xc6f988){logger[_0x0aa4('0x18')]('ChatMessage,\x20%s,\x20%s',_0xc47f2c,_0xc6f988);_0x150828(_0xc6f988);});});}exports[_0x0aa4('0x1d')]=function(_0x4611e3){var _0x190db8=this;return new Promise(function(_0x37db06,_0x3e4d00){return db[_0x0aa4('0x1e')][_0x0aa4('0x1f')](_0x4611e3[_0x0aa4('0x20')],{'raw':_0x4611e3[_0x0aa4('0x21')]?_0x4611e3[_0x0aa4('0x21')][_0x0aa4('0x22')]===undefined?!![]:![]:!![]})[_0x0aa4('0x11')](function(_0x26093f){logger[_0x0aa4('0x12')](_0x0aa4('0x1d'),_0x4611e3);logger['debug']('CreateChatMessage',_0x4611e3,JSON[_0x0aa4('0x17')](_0x26093f));_0x37db06(_0x26093f);})['catch'](function(_0x8e1a12){logger[_0x0aa4('0x18')](_0x0aa4('0x1d'),_0x8e1a12[_0x0aa4('0x1a')],_0x4611e3);_0x3e4d00(_0x190db8[_0x0aa4('0x18')](0x1f4,_0x8e1a12[_0x0aa4('0x1a')]));});});};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.socket.js b/server/api/chatMessage/chatMessage.socket.js
index 084c65e..0fe5616 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 _0xf5a7=['save','update','emit','removeListener','register','chatMessage:','./chatMessage.events'];(function(_0x4ca286,_0x297c3a){var _0x5f3263=function(_0x407a2a){while(--_0x407a2a){_0x4ca286['push'](_0x4ca286['shift']());}};_0x5f3263(++_0x297c3a);}(_0xf5a7,0x133));var _0x7f5a=function(_0x21180b,_0x3fdbef){_0x21180b=_0x21180b-0x0;var _0x23984e=_0xf5a7[_0x21180b];return _0x23984e;};'use strict';var ChatMessageEvents=require(_0x7f5a('0x0'));var events=[_0x7f5a('0x1'),'remove',_0x7f5a('0x2')];function createListener(_0x13cc6f,_0x15a24a){return function(_0x25616d){_0x15a24a[_0x7f5a('0x3')](_0x13cc6f,_0x25616d);};}function removeListener(_0x342fa0,_0x6da3f3){return function(){ChatMessageEvents[_0x7f5a('0x4')](_0x342fa0,_0x6da3f3);};}exports[_0x7f5a('0x5')]=function(_0x520bf9){for(var _0x2808f2=0x0,_0x2be845=events['length'];_0x2808f2<_0x2be845;_0x2808f2++){var _0x19c400=events[_0x2808f2];var _0x46d6d5=createListener(_0x7f5a('0x6')+_0x19c400,_0x520bf9);ChatMessageEvents['on'](_0x19c400,_0x46d6d5);}};
\ No newline at end of file
+var _0x423b=['update','removeListener','length','chatMessage:','save'];(function(_0x54ecd6,_0xb3694f){var _0x52c08e=function(_0x50a346){while(--_0x50a346){_0x54ecd6['push'](_0x54ecd6['shift']());}};_0x52c08e(++_0xb3694f);}(_0x423b,0x12b));var _0xb423=function(_0x36c5b0,_0x5001da){_0x36c5b0=_0x36c5b0-0x0;var _0xf19333=_0x423b[_0x36c5b0];return _0xf19333;};'use strict';var ChatMessageEvents=require('./chatMessage.events');var events=[_0xb423('0x0'),'remove',_0xb423('0x1')];function createListener(_0x54e396,_0x3dbb0c){return function(_0x4b4acf){_0x3dbb0c['emit'](_0x54e396,_0x4b4acf);};}function removeListener(_0x50f31a,_0x2fa5da){return function(){ChatMessageEvents[_0xb423('0x2')](_0x50f31a,_0x2fa5da);};}exports['register']=function(_0x1be92e){for(var _0x3e6b18=0x0,_0x49eabb=events[_0xb423('0x3')];_0x3e6b18<_0x49eabb;_0x3e6b18++){var _0x573e95=events[_0x3e6b18];var _0x4119d7=createListener(_0xb423('0x4')+_0x573e95,_0x1be92e);ChatMessageEvents['on'](_0x573e95,_0x4119d7);}};
\ No newline at end of file
diff --git a/server/api/chatMessage/index.js b/server/api/chatMessage/index.js
index 30553dd..e967237 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 _0xb0cb=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','tracked','chatmessage:create','create','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','path'];(function(_0x1faf57,_0x1587b5){var _0x1957ae=function(_0x2b7f87){while(--_0x2b7f87){_0x1faf57['push'](_0x1faf57['shift']());}};_0x1957ae(++_0x1587b5);}(_0xb0cb,0x1d2));var _0xbb0c=function(_0x1a72f3,_0x217011){_0x1a72f3=_0x1a72f3-0x0;var _0x57ef47=_0xb0cb[_0x1a72f3];return _0x57ef47;};'use strict';var multer=require(_0xbb0c('0x0'));var util=require('util');var path=require(_0xbb0c('0x1'));var timeout=require(_0xbb0c('0x2'));var express=require(_0xbb0c('0x3'));var router=express[_0xbb0c('0x4')]();var fs_extra=require(_0xbb0c('0x5'));var auth=require(_0xbb0c('0x6'));var interaction=require(_0xbb0c('0x7'));var config=require('../../config/environment');var controller=require(_0xbb0c('0x8'));router['get']('/',auth[_0xbb0c('0x9')](),controller[_0xbb0c('0xa')]);router[_0xbb0c('0xb')](_0xbb0c('0xc'),auth['isAuthenticated'](),controller[_0xbb0c('0xd')]);router[_0xbb0c('0xb')](_0xbb0c('0xe'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xbb0c('0x9')](),interaction[_0xbb0c('0xf')]('chat',_0xbb0c('0x10')),controller[_0xbb0c('0x11')]);router[_0xbb0c('0x12')]('/:id',controller['update']);router['put'](_0xbb0c('0x13'),auth[_0xbb0c('0x9')](),controller[_0xbb0c('0x14')]);router[_0xbb0c('0x12')](_0xbb0c('0x15'),auth[_0xbb0c('0x9')](),controller[_0xbb0c('0x16')]);router[_0xbb0c('0x17')](_0xbb0c('0xe'),auth[_0xbb0c('0x9')](),controller[_0xbb0c('0x18')]);module[_0xbb0c('0x19')]=router;
\ No newline at end of file
+var _0x2e37=['../../config/environment','isAuthenticated','index','get','/describe','describe','show','tracked','chat','create','put','/:id','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x2e37,0x165));var _0x72e3=function(_0x33bc64,_0x4d1e92){_0x33bc64=_0x33bc64-0x0;var _0x3fdd34=_0x2e37[_0x33bc64];return _0x3fdd34;};'use strict';var multer=require(_0x72e3('0x0'));var util=require(_0x72e3('0x1'));var path=require('path');var timeout=require(_0x72e3('0x2'));var express=require(_0x72e3('0x3'));var router=express[_0x72e3('0x4')]();var fs_extra=require(_0x72e3('0x5'));var auth=require(_0x72e3('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x72e3('0x7'));var controller=require('./chatMessage.controller');router['get']('/',auth[_0x72e3('0x8')](),controller[_0x72e3('0x9')]);router[_0x72e3('0xa')](_0x72e3('0xb'),auth['isAuthenticated'](),controller[_0x72e3('0xc')]);router[_0x72e3('0xa')]('/:id',auth[_0x72e3('0x8')](),controller[_0x72e3('0xd')]);router['post']('/',auth[_0x72e3('0x8')](),interaction[_0x72e3('0xe')](_0x72e3('0xf'),'chatmessage:create'),controller[_0x72e3('0x10')]);router[_0x72e3('0x11')](_0x72e3('0x12'),controller['update']);router[_0x72e3('0x11')](_0x72e3('0x13'),auth['isAuthenticated'](),controller[_0x72e3('0x14')]);router['put'](_0x72e3('0x15'),auth[_0x72e3('0x8')](),controller[_0x72e3('0x16')]);router[_0x72e3('0x17')](_0x72e3('0x12'),auth[_0x72e3('0x8')](),controller[_0x72e3('0x18')]);module[_0x72e3('0x19')]=router;
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js b/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js
index e4c981e..a2f3dad 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 _0x0b0e=['medium','sequelize','TEXT'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x0b0e,0x187));var _0xe0b0=function(_0x54a9e3,_0x4a3813){_0x54a9e3=_0x54a9e3-0x0;var _0x247cce=_0x0b0e[_0x54a9e3];return _0x247cce;};'use strict';var Sequelize=require(_0xe0b0('0x0'));module['exports']={'body':{'type':Sequelize[_0xe0b0('0x1')]('medium'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xe0b0('0x1')](_0xe0b0('0x2')),'allowNull':![]}};
\ No newline at end of file
+var _0xadb5=['medium','TEXT','exports'];(function(_0x3e042d,_0x14ef1d){var _0x180d1f=function(_0x55fba1){while(--_0x55fba1){_0x3e042d['push'](_0x3e042d['shift']());}};_0x180d1f(++_0x14ef1d);}(_0xadb5,0xad));var _0x5adb=function(_0x1eeca1,_0x31e579){_0x1eeca1=_0x1eeca1-0x0;var _0x1685b0=_0xadb5[_0x1eeca1];return _0x1685b0;};'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 585a2f2..fb965b9 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 _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(_0x1131c2,_0x5952f3){var _0x2c5120=function(_0x4b420a){while(--_0x4b420a){_0x1131c2['push'](_0x1131c2['shift']());}};_0x2c5120(++_0x5952f3);}(_0x9957,0x93));var _0x7995=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x9957[_0x3947c9];return _0x2e7871;};'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
+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(_0x408bf3,_0x19b66c){var _0x4f959e=function(_0x378f0c){while(--_0x378f0c){_0x408bf3['push'](_0x408bf3['shift']());}};_0x4f959e(++_0x19b66c);}(_0x9957,0x93));var _0x7995=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x9957[_0x2dafbe];return _0x58a45a;};'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 e38e447..8715d81 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 _0xa6cd=['update','remove','emit','hook','../../mysqldb','ChatOfflineMessage','setMaxListeners','save'];(function(_0x4b9d08,_0x44f1d9){var _0x4cb5af=function(_0x2d6b94){while(--_0x2d6b94){_0x4b9d08['push'](_0x4b9d08['shift']());}};_0x4cb5af(++_0x44f1d9);}(_0xa6cd,0x64));var _0xda6c=function(_0x22fcf2,_0x442ab8){_0x22fcf2=_0x22fcf2-0x0;var _0x52e711=_0xa6cd[_0x22fcf2];return _0x52e711;};'use strict';var EventEmitter=require('events');var ChatOfflineMessage=require(_0xda6c('0x0'))['db'][_0xda6c('0x1')];var ChatOfflineMessageEvents=new EventEmitter();ChatOfflineMessageEvents[_0xda6c('0x2')](0x0);var events={'afterCreate':_0xda6c('0x3'),'afterUpdate':_0xda6c('0x4'),'afterDestroy':_0xda6c('0x5')};function emitEvent(_0x109844){return function(_0x98b7a2,_0x421f13,_0x1701b8){ChatOfflineMessageEvents[_0xda6c('0x6')](_0x109844+':'+_0x98b7a2['id'],_0x98b7a2);ChatOfflineMessageEvents['emit'](_0x109844,_0x98b7a2);_0x1701b8(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatOfflineMessage[_0xda6c('0x7')](e,emitEvent(event));}}module['exports']=ChatOfflineMessageEvents;
\ No newline at end of file
+var _0x6029=['ChatOfflineMessage','setMaxListeners','save','remove','emit','hasOwnProperty','exports','../../mysqldb'];(function(_0x5277f8,_0x321872){var _0x218d00=function(_0xe1a710){while(--_0xe1a710){_0x5277f8['push'](_0x5277f8['shift']());}};_0x218d00(++_0x321872);}(_0x6029,0x18f));var _0x9602=function(_0x454f65,_0x2596a4){_0x454f65=_0x454f65-0x0;var _0x86d2b3=_0x6029[_0x454f65];return _0x86d2b3;};'use strict';var EventEmitter=require('events');var ChatOfflineMessage=require(_0x9602('0x0'))['db'][_0x9602('0x1')];var ChatOfflineMessageEvents=new EventEmitter();ChatOfflineMessageEvents[_0x9602('0x2')](0x0);var events={'afterCreate':_0x9602('0x3'),'afterUpdate':'update','afterDestroy':_0x9602('0x4')};function emitEvent(_0x508f60){return function(_0x7488e4,_0x4a9402,_0x42680f){ChatOfflineMessageEvents['emit'](_0x508f60+':'+_0x7488e4['id'],_0x7488e4);ChatOfflineMessageEvents[_0x9602('0x5')](_0x508f60,_0x7488e4);_0x42680f(null);};}for(var e in events){if(events[_0x9602('0x6')](e)){var event=events[e];ChatOfflineMessage['hook'](e,emitEvent(event));}}module[_0x9602('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 6cdf5f8..8e12eac 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 _0xb394=['define','chat_offline_messages','utf8mb4','utf8mb4_unicode_ci','./chatOfflineMessage.attributes','exports'];(function(_0x217b56,_0x2093f8){var _0x5e2aab=function(_0x31a899){while(--_0x31a899){_0x217b56['push'](_0x217b56['shift']());}};_0x5e2aab(++_0x2093f8);}(_0xb394,0x1ae));var _0x4b39=function(_0x3426db,_0x433603){_0x3426db=_0x3426db-0x0;var _0x1ade4c=_0xb394[_0x3426db];return _0x1ade4c;};'use strict';var attributes=require(_0x4b39('0x0'));module[_0x4b39('0x1')]=function(_0x1d03fd){return _0x1d03fd[_0x4b39('0x2')]('ChatOfflineMessage',attributes,{'tableName':_0x4b39('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x4b39('0x4'),'collate':_0x4b39('0x5')});};
\ No newline at end of file
+var _0x3068=['ChatOfflineMessage','utf8mb4_unicode_ci','exports','define'];(function(_0x3dd5b2,_0x2c75dc){var _0x1ef8c6=function(_0x242e7d){while(--_0x242e7d){_0x3dd5b2['push'](_0x3dd5b2['shift']());}};_0x1ef8c6(++_0x2c75dc);}(_0x3068,0x1aa));var _0x8306=function(_0x3d3435,_0x5801ab){_0x3d3435=_0x3d3435-0x0;var _0x677023=_0x3068[_0x3d3435];return _0x677023;};'use strict';var attributes=require('./chatOfflineMessage.attributes');module[_0x8306('0x0')]=function(_0x14be46){return _0x14be46[_0x8306('0x1')](_0x8306('0x2'),attributes,{'tableName':'chat_offline_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x8306('0x3')});};
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js b/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js
index a3fcf6f..8ee4358 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 _0x40fd=['lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','info','request\x20sent','debug','stringify','error','code','message','ChatOfflineMessage,\x20%s,\x20%s','result','catch'];(function(_0x56d252,_0x55848b){var _0x564a40=function(_0x143ce9){while(--_0x143ce9){_0x56d252['push'](_0x56d252['shift']());}};_0x564a40(++_0x55848b);}(_0x40fd,0x187));var _0xd40f=function(_0x5d6b41,_0x3d1c8f){_0x5d6b41=_0x5d6b41-0x0;var _0x1c2dd6=_0x40fd[_0x5d6b41];return _0x1c2dd6;};'use strict';var _=require(_0xd40f('0x0'));var util=require('util');var moment=require(_0xd40f('0x1'));var BPromise=require('bluebird');var rs=require(_0xd40f('0x2'));var fs=require('fs');var Redis=require(_0xd40f('0x3'));var db=require(_0xd40f('0x4'))['db'];var utils=require(_0xd40f('0x5'));var logger=require(_0xd40f('0x6'))(_0xd40f('0x7'));var config=require('../../config/environment');var jayson=require(_0xd40f('0x8'));var client=jayson[_0xd40f('0x9')][_0xd40f('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x4a0afc,_0x522053,_0x34e4b6){return new BPromise(function(_0x55ef58,_0x2a64d2){return client[_0xd40f('0xb')](_0x4a0afc,_0x34e4b6)[_0xd40f('0xc')](function(_0x4b4f54){logger[_0xd40f('0xd')]('ChatOfflineMessage,\x20%s,\x20%s',_0x522053,_0xd40f('0xe'));logger[_0xd40f('0xf')]('ChatOfflineMessage,\x20%s,\x20%s,\x20%s',_0x522053,'request\x20sent',JSON[_0xd40f('0x10')](_0x4b4f54));if(_0x4b4f54[_0xd40f('0x11')]){if(_0x4b4f54[_0xd40f('0x11')][_0xd40f('0x12')]===0x1f4){logger[_0xd40f('0x11')]('ChatOfflineMessage,\x20%s,\x20%s',_0x522053,_0x4b4f54[_0xd40f('0x11')][_0xd40f('0x13')]);return _0x2a64d2(_0x4b4f54['error'][_0xd40f('0x13')]);}logger[_0xd40f('0x11')](_0xd40f('0x14'),_0x522053,_0x4b4f54[_0xd40f('0x11')][_0xd40f('0x13')]);return _0x55ef58(_0x4b4f54[_0xd40f('0x11')][_0xd40f('0x13')]);}else{logger['info'](_0xd40f('0x14'),_0x522053,_0xd40f('0xe'));_0x55ef58(_0x4b4f54[_0xd40f('0x15')][_0xd40f('0x13')]);}})[_0xd40f('0x16')](function(_0x5b9be7){logger[_0xd40f('0x11')](_0xd40f('0x14'),_0x522053,_0x5b9be7);_0x2a64d2(_0x5b9be7);});});}
\ No newline at end of file
+var _0x0032=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','ChatOfflineMessage,\x20%s,\x20%s','debug','request\x20sent','stringify','error','message','result','catch','util','moment','bluebird','randomstring'];(function(_0x5162ff,_0x47e103){var _0x50478b=function(_0xeecac){while(--_0xeecac){_0x5162ff['push'](_0x5162ff['shift']());}};_0x50478b(++_0x47e103);}(_0x0032,0x127));var _0x2003=function(_0x314b41,_0x59661c){_0x314b41=_0x314b41-0x0;var _0x508fbb=_0x0032[_0x314b41];return _0x508fbb;};'use strict';var _=require('lodash');var util=require(_0x2003('0x0'));var moment=require(_0x2003('0x1'));var BPromise=require(_0x2003('0x2'));var rs=require(_0x2003('0x3'));var fs=require('fs');var Redis=require(_0x2003('0x4'));var db=require(_0x2003('0x5'))['db'];var utils=require(_0x2003('0x6'));var logger=require(_0x2003('0x7'))(_0x2003('0x8'));var config=require(_0x2003('0x9'));var jayson=require(_0x2003('0xa'));var client=jayson[_0x2003('0xb')][_0x2003('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x672530,_0x5531c9,_0x5a93ff){return new BPromise(function(_0x4c6fcb,_0xf04e7d){return client['request'](_0x672530,_0x5a93ff)[_0x2003('0xd')](function(_0x43cbca){logger[_0x2003('0xe')](_0x2003('0xf'),_0x5531c9,'request\x20sent');logger[_0x2003('0x10')]('ChatOfflineMessage,\x20%s,\x20%s,\x20%s',_0x5531c9,_0x2003('0x11'),JSON[_0x2003('0x12')](_0x43cbca));if(_0x43cbca['error']){if(_0x43cbca[_0x2003('0x13')]['code']===0x1f4){logger['error'](_0x2003('0xf'),_0x5531c9,_0x43cbca[_0x2003('0x13')]['message']);return _0xf04e7d(_0x43cbca['error']['message']);}logger[_0x2003('0x13')](_0x2003('0xf'),_0x5531c9,_0x43cbca[_0x2003('0x13')][_0x2003('0x14')]);return _0x4c6fcb(_0x43cbca['error'][_0x2003('0x14')]);}else{logger['info'](_0x2003('0xf'),_0x5531c9,'request\x20sent');_0x4c6fcb(_0x43cbca[_0x2003('0x15')]['message']);}})[_0x2003('0x16')](function(_0x2254c4){logger[_0x2003('0x13')]('ChatOfflineMessage,\x20%s,\x20%s',_0x5531c9,_0x2254c4);_0xf04e7d(_0x2254c4);});});}
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js
index 835f049..bc65647 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 _0x47a9=['index','/describe','describe','/:id','create','put','update','delete','destroy','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x47a9,0x75));var _0x947a=function(_0x52e5b7,_0x22040b){_0x52e5b7=_0x52e5b7-0x0;var _0x56527b=_0x47a9[_0x52e5b7];return _0x56527b;};'use strict';var multer=require('multer');var util=require(_0x947a('0x0'));var path=require(_0x947a('0x1'));var timeout=require(_0x947a('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x947a('0x3'));var auth=require(_0x947a('0x4'));var interaction=require(_0x947a('0x5'));var config=require(_0x947a('0x6'));var controller=require(_0x947a('0x7'));router['get']('/',auth[_0x947a('0x8')](),controller[_0x947a('0x9')]);router['get'](_0x947a('0xa'),auth['isAuthenticated'](),controller[_0x947a('0xb')]);router['get'](_0x947a('0xc'),auth[_0x947a('0x8')](),controller['show']);router['post']('/',auth[_0x947a('0x8')](),controller[_0x947a('0xd')]);router[_0x947a('0xe')](_0x947a('0xc'),auth['isAuthenticated'](),controller[_0x947a('0xf')]);router[_0x947a('0x10')](_0x947a('0xc'),auth['isAuthenticated'](),controller[_0x947a('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0x445c=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','util'];(function(_0x1c5950,_0x49e128){var _0x2b720a=function(_0x4454f1){while(--_0x4454f1){_0x1c5950['push'](_0x1c5950['shift']());}};_0x2b720a(++_0x49e128);}(_0x445c,0x107));var _0xc445=function(_0x4c3402,_0x1f7e7c){_0x4c3402=_0x4c3402-0x0;var _0x3e41ba=_0x445c[_0x4c3402];return _0x3e41ba;};'use strict';var multer=require('multer');var util=require(_0xc445('0x0'));var path=require(_0xc445('0x1'));var timeout=require(_0xc445('0x2'));var express=require(_0xc445('0x3'));var router=express[_0xc445('0x4')]();var fs_extra=require(_0xc445('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc445('0x6'));var config=require('../../config/environment');var controller=require(_0xc445('0x7'));router[_0xc445('0x8')]('/',auth[_0xc445('0x9')](),controller[_0xc445('0xa')]);router[_0xc445('0x8')](_0xc445('0xb'),auth[_0xc445('0x9')](),controller[_0xc445('0xc')]);router[_0xc445('0x8')]('/:id',auth[_0xc445('0x9')](),controller[_0xc445('0xd')]);router[_0xc445('0xe')]('/',auth[_0xc445('0x9')](),controller[_0xc445('0xf')]);router[_0xc445('0x10')](_0xc445('0x11'),auth['isAuthenticated'](),controller[_0xc445('0x12')]);router[_0xc445('0x13')]('/:id',auth[_0xc445('0x9')](),controller[_0xc445('0x14')]);module[_0xc445('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 a121b1e..037ed64 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 _0x0dc2=['timeout','INTEGER','STRING','ENUM','mouseOver'];(function(_0x1c9fae,_0x4ee899){var _0x198aeb=function(_0x1f9bca){while(--_0x1f9bca){_0x1c9fae['push'](_0x1c9fae['shift']());}};_0x198aeb(++_0x4ee899);}(_0x0dc2,0x1f1));var _0x20dc=function(_0x4064a7,_0x4e43f5){_0x4064a7=_0x4064a7-0x0;var _0x11fdb9=_0x0dc2[_0x4064a7];return _0x11fdb9;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x20dc('0x0')],'allowNull':![]},'type':{'type':Sequelize[_0x20dc('0x1')](_0x20dc('0x2'),_0x20dc('0x3')),'defaultValue':_0x20dc('0x2')},'selector':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x20dc('0x4')]}};
\ No newline at end of file
+var _0x18a9=['sequelize','exports','STRING','mouseOver','timeout','INTEGER'];(function(_0x323684,_0x9875f7){var _0x4480f6=function(_0x52b0ab){while(--_0x52b0ab){_0x323684['push'](_0x323684['shift']());}};_0x4480f6(++_0x9875f7);}(_0x18a9,0x1e0));var _0x918a=function(_0x3e6ead,_0x61f91a){_0x3e6ead=_0x3e6ead-0x0;var _0x28f590=_0x18a9[_0x3e6ead];return _0x28f590;};'use strict';var Sequelize=require(_0x918a('0x0'));module[_0x918a('0x1')]={'name':{'type':Sequelize[_0x918a('0x2')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0x918a('0x3'),_0x918a('0x4')),'defaultValue':_0x918a('0x3')},'selector':{'type':Sequelize[_0x918a('0x2')]},'timeout':{'type':Sequelize[_0x918a('0x5')]}};
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.controller.js b/server/api/chatProactiveAction/chatProactiveAction.controller.js
index 030ce0c..45ce8b7 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 _0xec46=['to-csv','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','apply','reject','save','update','destroy','then','name','send','show','params','model','keys','rawAttributes','query','intersection','fields','attributes','length','includeAll','include','merge','options','ChatProactiveAction','catch','create','body','find','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','mustache','util','sox'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xec46,0x19c));var _0x6ec4=function(_0x57a872,_0x57a4e7){_0x57a872=_0x57a872-0x0;var _0x5d7b73=_0xec46[_0x57a872];return _0x5d7b73;};'use strict';var emlformat=require(_0x6ec4('0x0'));var rimraf=require(_0x6ec4('0x1'));var zipdir=require(_0x6ec4('0x2'));var jsonpatch=require(_0x6ec4('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x6ec4('0x4'));var Mustache=require(_0x6ec4('0x5'));var util=require(_0x6ec4('0x6'));var path=require('path');var sox=require(_0x6ec4('0x7'));var csv=require(_0x6ec4('0x8'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x6ec4('0x9'));var _=require('lodash');var squel=require(_0x6ec4('0xa'));var crypto=require(_0x6ec4('0xb'));var jsforce=require(_0x6ec4('0xc'));var deskjs=require(_0x6ec4('0xd'));var toCsv=require(_0x6ec4('0x8'));var querystring=require(_0x6ec4('0xe'));var Papa=require(_0x6ec4('0xf'));var Redis=require(_0x6ec4('0x10'));var authService=require(_0x6ec4('0x11'));var qs=require(_0x6ec4('0x12'));var as=require(_0x6ec4('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x6ec4('0x14'));var utils=require(_0x6ec4('0x15'));var config=require(_0x6ec4('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x6ec4('0x17'))['db'];function respondWithStatusCode(_0x489707,_0x472484){_0x472484=_0x472484||0xcc;return function(_0x5e9b01){if(_0x5e9b01){return _0x489707[_0x6ec4('0x18')](_0x472484);}return _0x489707[_0x6ec4('0x19')](_0x472484)[_0x6ec4('0x1a')]();};}function respondWithResult(_0x15f87f,_0x2813b6){_0x2813b6=_0x2813b6||0xc8;return function(_0x5882d1){if(_0x5882d1){return _0x15f87f[_0x6ec4('0x19')](_0x2813b6)[_0x6ec4('0x1b')](_0x5882d1);}};}function respondWithFilteredResult(_0x43d7f8,_0x272d71){return function(_0x4f5390){if(_0x4f5390){var _0x861a21=typeof _0x272d71[_0x6ec4('0x1c')]===_0x6ec4('0x1d')&&typeof _0x272d71[_0x6ec4('0x1e')]===_0x6ec4('0x1d');var _0x1b7c00=_0x4f5390['count'];var _0x327724=_0x861a21?0x0:_0x272d71['offset'];var _0x516f22=_0x861a21?_0x4f5390[_0x6ec4('0x1f')]:_0x272d71['offset']+_0x272d71[_0x6ec4('0x1e')];var _0x1db2ea;if(_0x516f22>=_0x1b7c00){_0x516f22=_0x1b7c00;_0x1db2ea=0xc8;}else{_0x1db2ea=0xce;}_0x43d7f8[_0x6ec4('0x19')](_0x1db2ea);return _0x43d7f8['set'](_0x6ec4('0x20'),_0x327724+'-'+_0x516f22+'/'+_0x1b7c00)['json'](_0x4f5390);}return null;};}function patchUpdates(_0x574d80){return function(_0x9689ab){try{jsonpatch[_0x6ec4('0x21')](_0x9689ab,_0x574d80,!![]);}catch(_0x5b4966){return BPromise[_0x6ec4('0x22')](_0x5b4966);}return _0x9689ab[_0x6ec4('0x23')]();};}function saveUpdates(_0x34b76e,_0x364cfc){return function(_0x5032a1){if(_0x5032a1){return _0x5032a1[_0x6ec4('0x24')](_0x34b76e)['then'](function(_0x5ef6a5){return _0x5ef6a5;});}return null;};}function removeEntity(_0x2a6f2f,_0x766a30){return function(_0x3dd6e0){if(_0x3dd6e0){return _0x3dd6e0[_0x6ec4('0x25')]()[_0x6ec4('0x26')](function(){_0x2a6f2f['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x183257,_0x52b927){return function(_0x1bc94e){if(!_0x1bc94e){_0x183257['sendStatus'](0x194);}return _0x1bc94e;};}function handleError(_0x3bac89,_0x4dc97d){_0x4dc97d=_0x4dc97d||0x1f4;return function(_0x239430){logger['error'](_0x239430['stack']);if(_0x239430[_0x6ec4('0x27')]){delete _0x239430['name'];}_0x3bac89[_0x6ec4('0x19')](_0x4dc97d)[_0x6ec4('0x28')](_0x239430);};}exports[_0x6ec4('0x29')]=function(_0x51606c,_0x33ea66){var _0x486951={'raw':!![],'where':{'id':_0x51606c[_0x6ec4('0x2a')]['id']}},_0x1ada63={};_0x1ada63[_0x6ec4('0x2b')]=_[_0x6ec4('0x2c')](db['ChatProactiveAction'][_0x6ec4('0x2d')]);_0x1ada63[_0x6ec4('0x2e')]=_[_0x6ec4('0x2c')](_0x51606c[_0x6ec4('0x2e')]);_0x1ada63['filters']=_['intersection'](_0x1ada63[_0x6ec4('0x2b')],_0x1ada63[_0x6ec4('0x2e')]);_0x486951['attributes']=_[_0x6ec4('0x2f')](_0x1ada63['model'],qs[_0x6ec4('0x30')](_0x51606c[_0x6ec4('0x2e')][_0x6ec4('0x30')]));_0x486951[_0x6ec4('0x31')]=_0x486951['attributes'][_0x6ec4('0x32')]?_0x486951[_0x6ec4('0x31')]:_0x1ada63[_0x6ec4('0x2b')];if(_0x51606c[_0x6ec4('0x2e')][_0x6ec4('0x33')]){_0x486951[_0x6ec4('0x34')]=[{'all':!![]}];}_0x486951=_[_0x6ec4('0x35')]({},_0x486951,_0x51606c[_0x6ec4('0x36')]);return db[_0x6ec4('0x37')]['find'](_0x486951)[_0x6ec4('0x26')](handleEntityNotFound(_0x33ea66,null))[_0x6ec4('0x26')](respondWithResult(_0x33ea66,null))[_0x6ec4('0x38')](handleError(_0x33ea66,null));};exports['create']=function(_0x72790,_0x52e04f){return db['ChatProactiveAction'][_0x6ec4('0x39')](_0x72790[_0x6ec4('0x3a')],{})['then'](respondWithResult(_0x52e04f,0xc9))['catch'](handleError(_0x52e04f,null));};exports['update']=function(_0x51d98b,_0x529ccf){if(_0x51d98b[_0x6ec4('0x3a')]['id']){delete _0x51d98b['body']['id'];}return db[_0x6ec4('0x37')]['find']({'where':{'id':_0x51d98b[_0x6ec4('0x2a')]['id']}})[_0x6ec4('0x26')](handleEntityNotFound(_0x529ccf,null))['then'](saveUpdates(_0x51d98b[_0x6ec4('0x3a')],null))[_0x6ec4('0x26')](respondWithResult(_0x529ccf,null))['catch'](handleError(_0x529ccf,null));};exports[_0x6ec4('0x25')]=function(_0x494a1f,_0x13daac){return db['ChatProactiveAction'][_0x6ec4('0x3b')]({'where':{'id':_0x494a1f[_0x6ec4('0x2a')]['id']}})[_0x6ec4('0x26')](handleEntityNotFound(_0x13daac,null))[_0x6ec4('0x26')](removeEntity(_0x13daac,null))[_0x6ec4('0x38')](handleError(_0x13daac,null));};
\ No newline at end of file
+var _0x8e0f=['reject','update','then','end','sendStatus','stack','name','show','params','model','keys','ChatProactiveAction','rawAttributes','query','intersection','fields','attributes','includeAll','merge','find','catch','create','body','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','fs-extra','lodash','squel','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','json','offset','undefined','limit','count','set','Content-Range'];(function(_0x5effd1,_0x1a1b0b){var _0x12ea38=function(_0x490a6e){while(--_0x490a6e){_0x5effd1['push'](_0x5effd1['shift']());}};_0x12ea38(++_0x1a1b0b);}(_0x8e0f,0x12f));var _0xf8e0=function(_0x3d6d27,_0x5c4dc4){_0x3d6d27=_0x3d6d27-0x0;var _0x3d44f6=_0x8e0f[_0x3d6d27];return _0x3d44f6;};'use strict';var emlformat=require(_0xf8e0('0x0'));var rimraf=require(_0xf8e0('0x1'));var zipdir=require(_0xf8e0('0x2'));var jsonpatch=require(_0xf8e0('0x3'));var rp=require(_0xf8e0('0x4'));var moment=require(_0xf8e0('0x5'));var BPromise=require(_0xf8e0('0x6'));var Mustache=require('mustache');var util=require(_0xf8e0('0x7'));var path=require('path');var sox=require(_0xf8e0('0x8'));var csv=require(_0xf8e0('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xf8e0('0xa'));var _=require(_0xf8e0('0xb'));var squel=require(_0xf8e0('0xc'));var crypto=require(_0xf8e0('0xd'));var jsforce=require('jsforce');var deskjs=require(_0xf8e0('0xe'));var toCsv=require(_0xf8e0('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xf8e0('0xf'));var authService=require(_0xf8e0('0x10'));var qs=require(_0xf8e0('0x11'));var as=require(_0xf8e0('0x12'));var hardwareService=require(_0xf8e0('0x13'));var logger=require(_0xf8e0('0x14'))(_0xf8e0('0x15'));var utils=require(_0xf8e0('0x16'));var config=require(_0xf8e0('0x17'));var licenseUtil=require('../../config/license/util');var db=require(_0xf8e0('0x18'))['db'];function respondWithStatusCode(_0x113b45,_0x3edb60){_0x3edb60=_0x3edb60||0xcc;return function(_0x415601){if(_0x415601){return _0x113b45['sendStatus'](_0x3edb60);}return _0x113b45[_0xf8e0('0x19')](_0x3edb60)['end']();};}function respondWithResult(_0xea93ae,_0x443445){_0x443445=_0x443445||0xc8;return function(_0x321785){if(_0x321785){return _0xea93ae['status'](_0x443445)[_0xf8e0('0x1a')](_0x321785);}};}function respondWithFilteredResult(_0x534844,_0x151990){return function(_0x4de3de){if(_0x4de3de){var _0x430b06=typeof _0x151990[_0xf8e0('0x1b')]===_0xf8e0('0x1c')&&typeof _0x151990[_0xf8e0('0x1d')]===_0xf8e0('0x1c');var _0x49e649=_0x4de3de[_0xf8e0('0x1e')];var _0x54ee7c=_0x430b06?0x0:_0x151990[_0xf8e0('0x1b')];var _0x13a29b=_0x430b06?_0x4de3de[_0xf8e0('0x1e')]:_0x151990[_0xf8e0('0x1b')]+_0x151990['limit'];var _0x592936;if(_0x13a29b>=_0x49e649){_0x13a29b=_0x49e649;_0x592936=0xc8;}else{_0x592936=0xce;}_0x534844[_0xf8e0('0x19')](_0x592936);return _0x534844[_0xf8e0('0x1f')](_0xf8e0('0x20'),_0x54ee7c+'-'+_0x13a29b+'/'+_0x49e649)[_0xf8e0('0x1a')](_0x4de3de);}return null;};}function patchUpdates(_0x5e5ad6){return function(_0x21831e){try{jsonpatch['apply'](_0x21831e,_0x5e5ad6,!![]);}catch(_0xd533d){return BPromise[_0xf8e0('0x21')](_0xd533d);}return _0x21831e['save']();};}function saveUpdates(_0x2e3826,_0x1b7c3c){return function(_0x2f844a){if(_0x2f844a){return _0x2f844a[_0xf8e0('0x22')](_0x2e3826)['then'](function(_0x47d885){return _0x47d885;});}return null;};}function removeEntity(_0x8d9993,_0x4cb871){return function(_0x4d5255){if(_0x4d5255){return _0x4d5255['destroy']()[_0xf8e0('0x23')](function(){_0x8d9993[_0xf8e0('0x19')](0xcc)[_0xf8e0('0x24')]();});}};}function handleEntityNotFound(_0x420309,_0x212df8){return function(_0x29b52d){if(!_0x29b52d){_0x420309[_0xf8e0('0x25')](0x194);}return _0x29b52d;};}function handleError(_0x512bb7,_0x26494f){_0x26494f=_0x26494f||0x1f4;return function(_0x1bcaf6){logger['error'](_0x1bcaf6[_0xf8e0('0x26')]);if(_0x1bcaf6[_0xf8e0('0x27')]){delete _0x1bcaf6[_0xf8e0('0x27')];}_0x512bb7[_0xf8e0('0x19')](_0x26494f)['send'](_0x1bcaf6);};}exports[_0xf8e0('0x28')]=function(_0x517f2f,_0x4ec8df){var _0xb1baa7={'raw':!![],'where':{'id':_0x517f2f[_0xf8e0('0x29')]['id']}},_0x327e5f={};_0x327e5f[_0xf8e0('0x2a')]=_[_0xf8e0('0x2b')](db[_0xf8e0('0x2c')][_0xf8e0('0x2d')]);_0x327e5f[_0xf8e0('0x2e')]=_[_0xf8e0('0x2b')](_0x517f2f[_0xf8e0('0x2e')]);_0x327e5f['filters']=_[_0xf8e0('0x2f')](_0x327e5f[_0xf8e0('0x2a')],_0x327e5f[_0xf8e0('0x2e')]);_0xb1baa7['attributes']=_[_0xf8e0('0x2f')](_0x327e5f['model'],qs[_0xf8e0('0x30')](_0x517f2f[_0xf8e0('0x2e')]['fields']));_0xb1baa7[_0xf8e0('0x31')]=_0xb1baa7[_0xf8e0('0x31')]['length']?_0xb1baa7[_0xf8e0('0x31')]:_0x327e5f[_0xf8e0('0x2a')];if(_0x517f2f['query'][_0xf8e0('0x32')]){_0xb1baa7['include']=[{'all':!![]}];}_0xb1baa7=_[_0xf8e0('0x33')]({},_0xb1baa7,_0x517f2f['options']);return db['ChatProactiveAction'][_0xf8e0('0x34')](_0xb1baa7)[_0xf8e0('0x23')](handleEntityNotFound(_0x4ec8df,null))[_0xf8e0('0x23')](respondWithResult(_0x4ec8df,null))[_0xf8e0('0x35')](handleError(_0x4ec8df,null));};exports[_0xf8e0('0x36')]=function(_0x40d9f6,_0x306096){return db[_0xf8e0('0x2c')][_0xf8e0('0x36')](_0x40d9f6[_0xf8e0('0x37')],{})[_0xf8e0('0x23')](respondWithResult(_0x306096,0xc9))[_0xf8e0('0x35')](handleError(_0x306096,null));};exports[_0xf8e0('0x22')]=function(_0x5431dc,_0x2266b0){if(_0x5431dc[_0xf8e0('0x37')]['id']){delete _0x5431dc['body']['id'];}return db['ChatProactiveAction'][_0xf8e0('0x34')]({'where':{'id':_0x5431dc['params']['id']}})['then'](handleEntityNotFound(_0x2266b0,null))[_0xf8e0('0x23')](saveUpdates(_0x5431dc[_0xf8e0('0x37')],null))[_0xf8e0('0x23')](respondWithResult(_0x2266b0,null))[_0xf8e0('0x35')](handleError(_0x2266b0,null));};exports['destroy']=function(_0x1423ab,_0x46e476){return db[_0xf8e0('0x2c')][_0xf8e0('0x34')]({'where':{'id':_0x1423ab[_0xf8e0('0x29')]['id']}})['then'](handleEntityNotFound(_0x46e476,null))[_0xf8e0('0x23')](removeEntity(_0x46e476,null))[_0xf8e0('0x35')](handleError(_0x46e476,null));};
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.model.js b/server/api/chatProactiveAction/chatProactiveAction.model.js
index 5628b7b..c8a791f 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 _0x8ac1=['path','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x539fac,_0x4def01){var _0x2a1f20=function(_0x48b0e2){while(--_0x48b0e2){_0x539fac['push'](_0x539fac['shift']());}};_0x2a1f20(++_0x4def01);}(_0x8ac1,0x13b));var _0x18ac=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x8ac1[_0x4565bf];return _0x5610ba;};'use strict';var _=require(_0x18ac('0x0'));var util=require(_0x18ac('0x1'));var logger=require(_0x18ac('0x2'))(_0x18ac('0x3'));var moment=require(_0x18ac('0x4'));var BPromise=require(_0x18ac('0x5'));var rp=require(_0x18ac('0x6'));var fs=require('fs');var path=require(_0x18ac('0x7'));var rimraf=require('rimraf');var config=require(_0x18ac('0x8'));var attributes=require(_0x18ac('0x9'));module[_0x18ac('0xa')]=function(_0x3e471a,_0x15dc95){return _0x3e471a[_0x18ac('0xb')](_0x18ac('0xc'),attributes,{'tableName':_0x18ac('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x005c=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util'];(function(_0x99facc,_0x548cd6){var _0xd39ed0=function(_0x207e47){while(--_0x207e47){_0x99facc['push'](_0x99facc['shift']());}};_0xd39ed0(++_0x548cd6);}(_0x005c,0x1df));var _0xc005=function(_0x1122df,_0x35b3f1){_0x1122df=_0x1122df-0x0;var _0x8264e5=_0x005c[_0x1122df];return _0x8264e5;};'use strict';var _=require(_0xc005('0x0'));var util=require(_0xc005('0x1'));var logger=require(_0xc005('0x2'))(_0xc005('0x3'));var moment=require(_0xc005('0x4'));var BPromise=require(_0xc005('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc005('0x6'));var rimraf=require(_0xc005('0x7'));var config=require(_0xc005('0x8'));var attributes=require('./chatProactiveAction.attributes');module[_0xc005('0x9')]=function(_0x9546d6,_0x5373a5){return _0x9546d6[_0xc005('0xa')](_0xc005('0xb'),attributes,{'tableName':_0xc005('0xc'),'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 edee931..644e431 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 _0x69dc=['error','code','message','catch','lodash','moment','randomstring','ioredis','../../config/utils','../../config/logger','jayson/promise','http','request','then','info','ChatProactiveAction,\x20%s,\x20%s','request\x20sent','ChatProactiveAction,\x20%s,\x20%s,\x20%s'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x69dc,0x148));var _0xc69d=function(_0x5addee,_0xc4adbb){_0x5addee=_0x5addee-0x0;var _0x245ac0=_0x69dc[_0x5addee];return _0x245ac0;};'use strict';var _=require(_0xc69d('0x0'));var util=require('util');var moment=require(_0xc69d('0x1'));var BPromise=require('bluebird');var rs=require(_0xc69d('0x2'));var fs=require('fs');var Redis=require(_0xc69d('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xc69d('0x4'));var logger=require(_0xc69d('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0xc69d('0x6'));var client=jayson['client'][_0xc69d('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x154ad7,_0x3ebc0d,_0x34fd92){return new BPromise(function(_0x46f29c,_0x29f53b){return client[_0xc69d('0x8')](_0x154ad7,_0x34fd92)[_0xc69d('0x9')](function(_0x9bce7d){logger[_0xc69d('0xa')](_0xc69d('0xb'),_0x3ebc0d,_0xc69d('0xc'));logger['debug'](_0xc69d('0xd'),_0x3ebc0d,'request\x20sent',JSON['stringify'](_0x9bce7d));if(_0x9bce7d['error']){if(_0x9bce7d[_0xc69d('0xe')][_0xc69d('0xf')]===0x1f4){logger[_0xc69d('0xe')](_0xc69d('0xb'),_0x3ebc0d,_0x9bce7d['error']['message']);return _0x29f53b(_0x9bce7d[_0xc69d('0xe')][_0xc69d('0x10')]);}logger['error'](_0xc69d('0xb'),_0x3ebc0d,_0x9bce7d[_0xc69d('0xe')][_0xc69d('0x10')]);return _0x46f29c(_0x9bce7d[_0xc69d('0xe')][_0xc69d('0x10')]);}else{logger[_0xc69d('0xa')](_0xc69d('0xb'),_0x3ebc0d,_0xc69d('0xc'));_0x46f29c(_0x9bce7d['result'][_0xc69d('0x10')]);}})[_0xc69d('0x11')](function(_0x16f1dc){logger['error']('ChatProactiveAction,\x20%s,\x20%s',_0x3ebc0d,_0x16f1dc);_0x29f53b(_0x16f1dc);});});}
\ No newline at end of file
+var _0x6b21=['util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','ChatProactiveAction,\x20%s,\x20%s','request\x20sent','debug','ChatProactiveAction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','lodash'];(function(_0x1562a2,_0x2e4655){var _0x39a636=function(_0x25483a){while(--_0x25483a){_0x1562a2['push'](_0x1562a2['shift']());}};_0x39a636(++_0x2e4655);}(_0x6b21,0x12a));var _0x16b2=function(_0x5bca1c,_0x29f3bf){_0x5bca1c=_0x5bca1c-0x0;var _0x13437b=_0x6b21[_0x5bca1c];return _0x13437b;};'use strict';var _=require(_0x16b2('0x0'));var util=require(_0x16b2('0x1'));var moment=require(_0x16b2('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x16b2('0x3'));var db=require(_0x16b2('0x4'))['db'];var utils=require(_0x16b2('0x5'));var logger=require(_0x16b2('0x6'))(_0x16b2('0x7'));var config=require(_0x16b2('0x8'));var jayson=require(_0x16b2('0x9'));var client=jayson[_0x16b2('0xa')][_0x16b2('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x5bac69,_0x15990f,_0x2eb72b){return new BPromise(function(_0x58f21d,_0x5a38bc){return client[_0x16b2('0xc')](_0x5bac69,_0x2eb72b)[_0x16b2('0xd')](function(_0x455407){logger[_0x16b2('0xe')](_0x16b2('0xf'),_0x15990f,_0x16b2('0x10'));logger[_0x16b2('0x11')](_0x16b2('0x12'),_0x15990f,_0x16b2('0x10'),JSON[_0x16b2('0x13')](_0x455407));if(_0x455407[_0x16b2('0x14')]){if(_0x455407[_0x16b2('0x14')][_0x16b2('0x15')]===0x1f4){logger[_0x16b2('0x14')](_0x16b2('0xf'),_0x15990f,_0x455407[_0x16b2('0x14')][_0x16b2('0x16')]);return _0x5a38bc(_0x455407[_0x16b2('0x14')][_0x16b2('0x16')]);}logger['error'](_0x16b2('0xf'),_0x15990f,_0x455407[_0x16b2('0x14')][_0x16b2('0x16')]);return _0x58f21d(_0x455407[_0x16b2('0x14')][_0x16b2('0x16')]);}else{logger[_0x16b2('0xe')](_0x16b2('0xf'),_0x15990f,_0x16b2('0x10'));_0x58f21d(_0x455407['result'][_0x16b2('0x16')]);}})['catch'](function(_0x4c639d){logger[_0x16b2('0x14')](_0x16b2('0xf'),_0x15990f,_0x4c639d);_0x5a38bc(_0x4c639d);});});}
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/index.js b/server/api/chatProactiveAction/index.js
index c995008..92769b3 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 _0x5fd1=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','post','create','put','update','multer','path','connect-timeout','express'];(function(_0xae16e0,_0x5656d6){var _0x542e66=function(_0x40ca14){while(--_0x40ca14){_0xae16e0['push'](_0xae16e0['shift']());}};_0x542e66(++_0x5656d6);}(_0x5fd1,0x155));var _0x15fd=function(_0x244a2c,_0x5eb691){_0x244a2c=_0x244a2c-0x0;var _0x1bb2db=_0x5fd1[_0x244a2c];return _0x1bb2db;};'use strict';var multer=require(_0x15fd('0x0'));var util=require('util');var path=require(_0x15fd('0x1'));var timeout=require(_0x15fd('0x2'));var express=require(_0x15fd('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x15fd('0x4'));var interaction=require(_0x15fd('0x5'));var config=require(_0x15fd('0x6'));var controller=require('./chatProactiveAction.controller');router[_0x15fd('0x7')](_0x15fd('0x8'),auth[_0x15fd('0x9')](),controller[_0x15fd('0xa')]);router[_0x15fd('0xb')]('/',auth['isAuthenticated'](),controller[_0x15fd('0xc')]);router[_0x15fd('0xd')](_0x15fd('0x8'),auth['isAuthenticated'](),controller[_0x15fd('0xe')]);router['delete'](_0x15fd('0x8'),auth[_0x15fd('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x2eb2=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','get','/:id','isAuthenticated','show','post','create','put','update','delete','util'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0x2eb2,0x19f));var _0x22eb=function(_0x15bc81,_0x4d4f77){_0x15bc81=_0x15bc81-0x0;var _0x59440e=_0x2eb2[_0x15bc81];return _0x59440e;};'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
diff --git a/server/api/chatQueue/chatQueue.attributes.js b/server/api/chatQueue/chatQueue.attributes.js
index b658961..e9f9dd7 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 _0x2356=['STRING','INTEGER','beepall','roundrobin','sequelize','exports'];(function(_0x4a27a5,_0x3ff927){var _0x3b05bb=function(_0x1f6cbf){while(--_0x1f6cbf){_0x4a27a5['push'](_0x4a27a5['shift']());}};_0x3b05bb(++_0x3ff927);}(_0x2356,0x106));var _0x6235=function(_0x3e0326,_0x137e73){_0x3e0326=_0x3e0326-0x0;var _0x12b5ac=_0x2356[_0x3e0326];return _0x12b5ac;};'use strict';var Sequelize=require(_0x6235('0x0'));module[_0x6235('0x1')]={'name':{'type':Sequelize[_0x6235('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x6235('0x2')]},'timeout':{'type':Sequelize[_0x6235('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x6235('0x4'),_0x6235('0x5'))}};
\ No newline at end of file
+var _0xc213=['sequelize','STRING','name','ENUM'];(function(_0x2e014a,_0x42c078){var _0x5e9a75=function(_0x103b34){while(--_0x103b34){_0x2e014a['push'](_0x2e014a['shift']());}};_0x5e9a75(++_0x42c078);}(_0xc213,0x17c));var _0x3c21=function(_0x612bf3,_0x4526f5){_0x612bf3=_0x612bf3-0x0;var _0x14444b=_0xc213[_0x612bf3];return _0x14444b;};'use strict';var Sequelize=require(_0x3c21('0x0'));module['exports']={'name':{'type':Sequelize[_0x3c21('0x1')],'unique':_0x3c21('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x3c21('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x3c21('0x3')]('rrmemory','beepall','roundrobin')}};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.controller.js b/server/api/chatQueue/chatQueue.controller.js
index 3c047c7..cd6479b 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 _0x2f31=['clone','ut.UserId\x20=\x20?','push','sequelize','toString','QueryTypes','SELECT','every','TeamId','includes','union','removeAgents','userChatQueue:remove','addAgents','omit','spread','isArray','getAgents','eml-format','zip-dir','fast-json-patch','moment','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/license/util','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./chatQueue.socket','register','jayson/promise','client','http','request','then','info','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','destroy','ChatQueues','UserProfileResource','sendStatus','stack','name','index','map','ChatQueue','rawAttributes','type','key','query','keys','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','VIRTUAL','merge','includeAll','include','rows','params','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','UserChatQueue','order','ChatQueueId','options','User','findAndCountAll','UserId','agent','chatPause','updatedAt','format','%s/%s','createdAt','getTeams','findOne','Team','addTeams','ids','Agents','online','voicePause','interface','transaction','forEach','emit','userChatQueue:save','removeTeams','select','field','tq.TeamId','from','team_has_chat_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','ChatQueueId\x20=\x20?'];(function(_0x432427,_0x5bbc3e){var _0x2ad98b=function(_0x38de21){while(--_0x38de21){_0x432427['push'](_0x432427['shift']());}};_0x2ad98b(++_0x5bbc3e);}(_0x2f31,0x1e0));var _0x12f3=function(_0x360c8a,_0x3acec4){_0x360c8a=_0x360c8a-0x0;var _0x3e5451=_0x2f31[_0x360c8a];return _0x3e5451;};'use strict';var emlformat=require(_0x12f3('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x12f3('0x1'));var jsonpatch=require(_0x12f3('0x2'));var rp=require('request-promise');var moment=require(_0x12f3('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x12f3('0x4'));var util=require('util');var path=require(_0x12f3('0x5'));var sox=require(_0x12f3('0x6'));var csv=require(_0x12f3('0x7'));var ejs=require(_0x12f3('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x12f3('0x9'));var squel=require(_0x12f3('0xa'));var crypto=require(_0x12f3('0xb'));var jsforce=require(_0x12f3('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x12f3('0x7'));var querystring=require(_0x12f3('0xd'));var Papa=require(_0x12f3('0xe'));var Redis=require(_0x12f3('0xf'));var authService=require(_0x12f3('0x10'));var qs=require(_0x12f3('0x11'));var as=require(_0x12f3('0x12'));var hardwareService=require(_0x12f3('0x13'));var logger=require(_0x12f3('0x14'))('api');var utils=require(_0x12f3('0x15'));var config=require('../../config/environment');var licenseUtil=require(_0x12f3('0x16'));var db=require(_0x12f3('0x17'))['db'];config[_0x12f3('0x18')]=_[_0x12f3('0x19')](config[_0x12f3('0x18')],{'host':_0x12f3('0x1a'),'port':0x18eb});var socket=require(_0x12f3('0x1b'))(new Redis(config[_0x12f3('0x18')]));require(_0x12f3('0x1c'))[_0x12f3('0x1d')](socket);var jayson=require(_0x12f3('0x1e'));var client=jayson[_0x12f3('0x1f')][_0x12f3('0x20')]({'port':0x232a});function respondWithRpcPromise(_0x2f3f9e,_0x1d1f5e,_0x592f85,_0x111054){return new BPromise(function(_0x37d25f,_0x116d6a){var _0x12349d=_0x111054||client;return _0x12349d[_0x12f3('0x21')](_0x2f3f9e,_0x592f85)[_0x12f3('0x22')](function(_0x19c636){logger[_0x12f3('0x23')](_0x12f3('0x24'),_0x1d1f5e,_0x12f3('0x25'));logger[_0x12f3('0x26')](_0x12f3('0x27'),_0x1d1f5e,_0x12f3('0x25'),JSON['stringify'](_0x19c636));if(_0x19c636[_0x12f3('0x28')]){if(_0x19c636[_0x12f3('0x28')][_0x12f3('0x29')]===0x1f4){logger[_0x12f3('0x28')]('ChatQueue,\x20%s,\x20%s',_0x1d1f5e,_0x19c636[_0x12f3('0x28')][_0x12f3('0x2a')]);return _0x116d6a(_0x19c636[_0x12f3('0x28')]['message']);}logger[_0x12f3('0x28')]('ChatQueue,\x20%s,\x20%s',_0x1d1f5e,_0x19c636[_0x12f3('0x28')][_0x12f3('0x2a')]);return _0x37d25f(_0x19c636[_0x12f3('0x28')]['message']);}else{logger[_0x12f3('0x23')]('ChatQueue,\x20%s,\x20%s',_0x1d1f5e,_0x12f3('0x25'));_0x37d25f(_0x19c636[_0x12f3('0x2b')][_0x12f3('0x2a')]);}})[_0x12f3('0x2c')](function(_0x17cd15){logger[_0x12f3('0x28')]('ChatQueue,\x20%s,\x20%s',_0x1d1f5e,_0x17cd15);_0x116d6a(_0x17cd15);});});}function respondWithStatusCode(_0x99762d,_0x33874f){_0x33874f=_0x33874f||0xcc;return function(_0x2cecf1){if(_0x2cecf1){return _0x99762d['sendStatus'](_0x33874f);}return _0x99762d[_0x12f3('0x2d')](_0x33874f)[_0x12f3('0x2e')]();};}function respondWithResult(_0x567f16,_0x3a086f){_0x3a086f=_0x3a086f||0xc8;return function(_0x27b81f){if(_0x27b81f){return _0x567f16[_0x12f3('0x2d')](_0x3a086f)[_0x12f3('0x2f')](_0x27b81f);}};}function respondWithFilteredResult(_0xb89693,_0x55a7aa){return function(_0x10115d){if(_0x10115d){var _0x640e3d=typeof _0x55a7aa[_0x12f3('0x30')]===_0x12f3('0x31')&&typeof _0x55a7aa[_0x12f3('0x32')]==='undefined';var _0x3a1fec=_0x10115d[_0x12f3('0x33')];var _0x2abb53=_0x640e3d?0x0:_0x55a7aa[_0x12f3('0x30')];var _0xf7e8a8=_0x640e3d?_0x10115d[_0x12f3('0x33')]:_0x55a7aa[_0x12f3('0x30')]+_0x55a7aa[_0x12f3('0x32')];var _0x2b8a0e;if(_0xf7e8a8>=_0x3a1fec){_0xf7e8a8=_0x3a1fec;_0x2b8a0e=0xc8;}else{_0x2b8a0e=0xce;}_0xb89693[_0x12f3('0x2d')](_0x2b8a0e);return _0xb89693[_0x12f3('0x34')](_0x12f3('0x35'),_0x2abb53+'-'+_0xf7e8a8+'/'+_0x3a1fec)[_0x12f3('0x2f')](_0x10115d);}return null;};}function patchUpdates(_0x5bb31f){return function(_0x451d02){try{jsonpatch[_0x12f3('0x36')](_0x451d02,_0x5bb31f,!![]);}catch(_0xef6924){return BPromise['reject'](_0xef6924);}return _0x451d02[_0x12f3('0x37')]();};}function saveUpdates(_0x57dcdc,_0x46875d){return function(_0x5817ab){if(_0x5817ab){return _0x5817ab[_0x12f3('0x38')](_0x57dcdc)[_0x12f3('0x22')](function(_0xcaca09){return _0xcaca09;});}return null;};}function removeEntity(_0x5e0d4f,_0x412904){return function(_0x33e53f){if(_0x33e53f){return _0x33e53f[_0x12f3('0x39')]()['then'](function(){var _0x1623b3=_0x33e53f['get']({'plain':!![]});var _0x2bdad1=_0x12f3('0x3a');return db[_0x12f3('0x3b')][_0x12f3('0x39')]({'where':{'type':_0x2bdad1,'resourceId':_0x1623b3['id']}})[_0x12f3('0x22')](function(){return _0x33e53f;});})[_0x12f3('0x22')](function(){_0x5e0d4f[_0x12f3('0x2d')](0xcc)['end']();});}};}function handleEntityNotFound(_0xf1a1fb,_0x14dc21){return function(_0x5be8fa){if(!_0x5be8fa){_0xf1a1fb[_0x12f3('0x3c')](0x194);}return _0x5be8fa;};}function handleError(_0x5893ca,_0x2b367f){_0x2b367f=_0x2b367f||0x1f4;return function(_0x30b711){logger['error'](_0x30b711[_0x12f3('0x3d')]);if(_0x30b711[_0x12f3('0x3e')]){delete _0x30b711[_0x12f3('0x3e')];}_0x5893ca['status'](_0x2b367f)['send'](_0x30b711);};}exports[_0x12f3('0x3f')]=function(_0x114996,_0xfbd59c){var _0x53ed78={},_0x23a86e={},_0x54a9d8={'count':0x0,'rows':[]};var _0xc9367d=_[_0x12f3('0x40')](db[_0x12f3('0x41')][_0x12f3('0x42')],function(_0x2fe954){return{'name':_0x2fe954['fieldName'],'type':_0x2fe954[_0x12f3('0x43')][_0x12f3('0x44')]};});_0x23a86e['model']=_['map'](_0xc9367d,_0x12f3('0x3e'));_0x23a86e[_0x12f3('0x45')]=_[_0x12f3('0x46')](_0x114996[_0x12f3('0x45')]);_0x23a86e['filters']=_[_0x12f3('0x47')](_0x23a86e[_0x12f3('0x48')],_0x23a86e[_0x12f3('0x45')]);_0x53ed78[_0x12f3('0x49')]=_[_0x12f3('0x47')](_0x23a86e[_0x12f3('0x48')],qs[_0x12f3('0x4a')](_0x114996[_0x12f3('0x45')][_0x12f3('0x4a')]));_0x53ed78[_0x12f3('0x49')]=_0x53ed78[_0x12f3('0x49')][_0x12f3('0x4b')]?_0x53ed78[_0x12f3('0x49')]:_0x23a86e['model'];if(!_0x114996[_0x12f3('0x45')][_0x12f3('0x4c')](_0x12f3('0x4d'))){_0x53ed78[_0x12f3('0x32')]=qs[_0x12f3('0x32')](_0x114996[_0x12f3('0x45')][_0x12f3('0x32')]);_0x53ed78['offset']=qs[_0x12f3('0x30')](_0x114996[_0x12f3('0x45')][_0x12f3('0x30')]);}_0x53ed78['order']=qs[_0x12f3('0x4e')](_0x114996['query']['sort']);_0x53ed78[_0x12f3('0x4f')]=qs[_0x12f3('0x50')](_[_0x12f3('0x51')](_0x114996[_0x12f3('0x45')],_0x23a86e[_0x12f3('0x50')]),_0xc9367d);if(_0x114996[_0x12f3('0x45')][_0x12f3('0x52')]){_0x53ed78[_0x12f3('0x4f')]=_['merge'](_0x53ed78[_0x12f3('0x4f')],{'$or':_[_0x12f3('0x40')](_0xc9367d,function(_0x1ff09d){if(_0x1ff09d['type']!==_0x12f3('0x53')){var _0x3ada60={};_0x3ada60[_0x1ff09d[_0x12f3('0x3e')]]={'$like':'%'+_0x114996[_0x12f3('0x45')][_0x12f3('0x52')]+'%'};return _0x3ada60;}})});}_0x53ed78=_[_0x12f3('0x54')]({},_0x53ed78,_0x114996['options']);var _0x314a5f={'where':_0x53ed78[_0x12f3('0x4f')]};return db['ChatQueue'][_0x12f3('0x33')](_0x314a5f)[_0x12f3('0x22')](function(_0x3f99e4){_0x54a9d8[_0x12f3('0x33')]=_0x3f99e4;if(_0x114996[_0x12f3('0x45')][_0x12f3('0x55')]){_0x53ed78[_0x12f3('0x56')]=[{'all':!![]}];}return db[_0x12f3('0x41')]['findAll'](_0x53ed78);})[_0x12f3('0x22')](function(_0x23069f){_0x54a9d8[_0x12f3('0x57')]=_0x23069f;return _0x54a9d8;})[_0x12f3('0x22')](respondWithFilteredResult(_0xfbd59c,_0x53ed78))['catch'](handleError(_0xfbd59c,null));};exports['show']=function(_0x27c201,_0x46726d){var _0x9cab10={'raw':!![],'where':{'id':_0x27c201[_0x12f3('0x58')]['id']}},_0x10d8cf={};_0x10d8cf[_0x12f3('0x48')]=_[_0x12f3('0x46')](db[_0x12f3('0x41')][_0x12f3('0x42')]);_0x10d8cf[_0x12f3('0x45')]=_[_0x12f3('0x46')](_0x27c201[_0x12f3('0x45')]);_0x10d8cf[_0x12f3('0x50')]=_[_0x12f3('0x47')](_0x10d8cf[_0x12f3('0x48')],_0x10d8cf[_0x12f3('0x45')]);_0x9cab10[_0x12f3('0x49')]=_[_0x12f3('0x47')](_0x10d8cf[_0x12f3('0x48')],qs[_0x12f3('0x4a')](_0x27c201['query'][_0x12f3('0x4a')]));_0x9cab10[_0x12f3('0x49')]=_0x9cab10[_0x12f3('0x49')]['length']?_0x9cab10[_0x12f3('0x49')]:_0x10d8cf['model'];if(_0x27c201['query'][_0x12f3('0x55')]){_0x9cab10[_0x12f3('0x56')]=[{'all':!![]}];}_0x9cab10=_[_0x12f3('0x54')]({},_0x9cab10,_0x27c201['options']);return db['ChatQueue'][_0x12f3('0x59')](_0x9cab10)[_0x12f3('0x22')](handleEntityNotFound(_0x46726d,null))[_0x12f3('0x22')](respondWithResult(_0x46726d,null))[_0x12f3('0x2c')](handleError(_0x46726d,null));};exports[_0x12f3('0x5a')]=function(_0x41bcbf,_0x4c5e95){return db[_0x12f3('0x41')]['create'](_0x41bcbf[_0x12f3('0x5b')],{})[_0x12f3('0x22')](function(_0x299564){var _0x5b85a4=_0x41bcbf[_0x12f3('0x5c')][_0x12f3('0x5d')]({'plain':!![]});if(!_0x5b85a4)throw new Error(_0x12f3('0x5e'));if(_0x5b85a4[_0x12f3('0x5f')]===_0x12f3('0x5c')){var _0x132325=_0x299564[_0x12f3('0x5d')]({'plain':!![]});var _0x20c6e5='ChatQueues';return db['UserProfileSection'][_0x12f3('0x59')]({'where':{'name':_0x20c6e5,'userProfileId':_0x5b85a4[_0x12f3('0x60')]},'raw':!![]})[_0x12f3('0x22')](function(_0xdb2946){if(_0xdb2946&&_0xdb2946[_0x12f3('0x61')]===0x0){return db[_0x12f3('0x3b')][_0x12f3('0x5a')]({'name':_0x132325[_0x12f3('0x3e')],'resourceId':_0x132325['id'],'type':_0xdb2946[_0x12f3('0x3e')],'sectionId':_0xdb2946['id']},{})[_0x12f3('0x22')](function(){return _0x299564;});}else{return _0x299564;}})[_0x12f3('0x2c')](function(_0x42bd8f){logger['error'](_0x12f3('0x62'),_0x42bd8f);throw _0x42bd8f;});}return _0x299564;})['then'](respondWithResult(_0x4c5e95,0xc9))[_0x12f3('0x2c')](handleError(_0x4c5e95,null));};exports[_0x12f3('0x38')]=function(_0x1e49f4,_0x41ddc0){if(_0x1e49f4[_0x12f3('0x5b')]['id']){delete _0x1e49f4[_0x12f3('0x5b')]['id'];}return db['ChatQueue'][_0x12f3('0x59')]({'where':{'id':_0x1e49f4[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x41ddc0,null))['then'](saveUpdates(_0x1e49f4[_0x12f3('0x5b')],null))['then'](respondWithResult(_0x41ddc0,null))[_0x12f3('0x2c')](handleError(_0x41ddc0,null));};exports[_0x12f3('0x39')]=function(_0x87f129,_0x51d993){return db[_0x12f3('0x41')][_0x12f3('0x59')]({'where':{'id':_0x87f129[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x51d993,null))['then'](removeEntity(_0x51d993,null))[_0x12f3('0x2c')](handleError(_0x51d993,null));};exports[_0x12f3('0x63')]=function(_0x244a52,_0x4d0550){return db[_0x12f3('0x41')]['describe']()['then'](respondWithResult(_0x4d0550,null))['catch'](handleError(_0x4d0550,null));};exports['getMembers']=function(_0x263248,_0x50936d,_0x5e4496){var _0x56789a={'raw':!![],'where':{}},_0x31e822={},_0x3ae96f;return db[_0x12f3('0x41')]['findOne']({'where':{'id':_0x263248[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x50936d,null))['then'](function(_0x23a315){if(_0x23a315){_0x3ae96f=_0x23a315[_0x12f3('0x5d')]({'plain':!![]});_0x31e822[_0x12f3('0x48')]=_[_0x12f3('0x46')](db[_0x12f3('0x64')]['rawAttributes']);_0x31e822[_0x12f3('0x45')]=_[_0x12f3('0x46')](_0x263248['query']);_0x31e822[_0x12f3('0x50')]=_['intersection'](_0x31e822[_0x12f3('0x48')],_0x31e822[_0x12f3('0x45')]);_0x56789a[_0x12f3('0x49')]=_[_0x12f3('0x47')](_0x31e822['model'],qs['fields'](_0x263248[_0x12f3('0x45')][_0x12f3('0x4a')]));_0x56789a[_0x12f3('0x49')]=_0x56789a[_0x12f3('0x49')][_0x12f3('0x4b')]?_0x56789a[_0x12f3('0x49')]:_0x31e822[_0x12f3('0x48')];if(!_0x263248[_0x12f3('0x45')][_0x12f3('0x4c')](_0x12f3('0x4d'))){_0x56789a[_0x12f3('0x32')]=qs[_0x12f3('0x32')](_0x263248[_0x12f3('0x45')]['limit']);_0x56789a[_0x12f3('0x30')]=qs[_0x12f3('0x30')](_0x263248[_0x12f3('0x45')]['offset']);}_0x56789a[_0x12f3('0x65')]=qs[_0x12f3('0x4e')](_0x263248[_0x12f3('0x45')][_0x12f3('0x4e')]);_0x56789a[_0x12f3('0x4f')]=qs[_0x12f3('0x50')](_[_0x12f3('0x51')](_0x263248[_0x12f3('0x45')],_0x31e822['filters']));_0x56789a[_0x12f3('0x4f')][_0x12f3('0x66')]=_0x23a315['id'];if(_0x263248[_0x12f3('0x45')][_0x12f3('0x52')]){_0x56789a[_0x12f3('0x4f')]=_[_0x12f3('0x54')](_0x56789a[_0x12f3('0x4f')],{'$or':_[_0x12f3('0x40')](_0x56789a[_0x12f3('0x49')],function(_0x16c0e9){var _0xa435eb={};_0xa435eb[_0x16c0e9]={'$like':'%'+_0x263248['query'][_0x12f3('0x52')]+'%'};return _0xa435eb;})});}_0x56789a=_[_0x12f3('0x54')]({},_0x56789a,_0x263248[_0x12f3('0x67')]);return db[_0x12f3('0x64')]['findAll'](_0x56789a);}})[_0x12f3('0x22')](function(_0x2c4b8b){if(_0x2c4b8b){return db[_0x12f3('0x68')][_0x12f3('0x69')]({'where':{'id':_['map'](_0x2c4b8b,_0x12f3('0x6a')),'role':_0x12f3('0x6b')},'attributes':['id','name',_0x12f3('0x6c'),_0x12f3('0x6d'),'createdAt']});}})[_0x12f3('0x22')](function(_0x4088f4){if(_0x4088f4){return{'count':_0x4088f4[_0x12f3('0x33')],'rows':_[_0x12f3('0x40')](_0x4088f4[_0x12f3('0x57')],function(_0xa44f18){return{'membername':_0xa44f18[_0x12f3('0x3e')],'UserId':_0xa44f18['id'],'queue_name':_0x3ae96f['name'],'ChatQueueId':_0x3ae96f['id'],'interface':util[_0x12f3('0x6e')](_0x12f3('0x6f'),'SIP',_0xa44f18['name']),'penalty':0x0,'paused':_0xa44f18['chatPause'],'createdAt':_0xa44f18[_0x12f3('0x70')],'updatedAt':_0xa44f18[_0x12f3('0x6d')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x12f3('0x22')](respondWithFilteredResult(_0x50936d,_0x56789a))['catch'](handleError(_0x50936d,null));};exports[_0x12f3('0x71')]=function(_0xc4201,_0x5d223c,_0x367bd2){var _0x47c53a={};var _0x59e7c6={};var _0x34b090;var _0x5d0d63;return db[_0x12f3('0x41')][_0x12f3('0x72')]({'where':{'id':_0xc4201[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x5d223c,null))[_0x12f3('0x22')](function(_0x53acad){if(_0x53acad){_0x34b090=_0x53acad;_0x59e7c6['model']=_[_0x12f3('0x46')](db[_0x12f3('0x73')][_0x12f3('0x42')]);_0x59e7c6[_0x12f3('0x45')]=_['keys'](_0xc4201[_0x12f3('0x45')]);_0x59e7c6[_0x12f3('0x50')]=_[_0x12f3('0x47')](_0x59e7c6[_0x12f3('0x48')],_0x59e7c6[_0x12f3('0x45')]);_0x47c53a[_0x12f3('0x49')]=_[_0x12f3('0x47')](_0x59e7c6[_0x12f3('0x48')],qs['fields'](_0xc4201[_0x12f3('0x45')][_0x12f3('0x4a')]));_0x47c53a[_0x12f3('0x49')]=_0x47c53a['attributes']['length']?_0x47c53a[_0x12f3('0x49')]:_0x59e7c6[_0x12f3('0x48')];_0x47c53a[_0x12f3('0x65')]=qs[_0x12f3('0x4e')](_0xc4201[_0x12f3('0x45')][_0x12f3('0x4e')]);_0x47c53a[_0x12f3('0x4f')]=qs['filters'](_[_0x12f3('0x51')](_0xc4201[_0x12f3('0x45')],_0x59e7c6['filters']));if(_0xc4201[_0x12f3('0x45')][_0x12f3('0x52')]){_0x47c53a[_0x12f3('0x4f')]=_['merge'](_0x47c53a[_0x12f3('0x4f')],{'$or':_['map'](_0x47c53a[_0x12f3('0x49')],function(_0x464445){var _0x119514={};_0x119514[_0x464445]={'$like':'%'+_0xc4201[_0x12f3('0x45')][_0x12f3('0x52')]+'%'};return _0x119514;})});}_0x47c53a=_[_0x12f3('0x54')]({},_0x47c53a,_0xc4201[_0x12f3('0x67')]);return _0x34b090[_0x12f3('0x71')](_0x47c53a);}})[_0x12f3('0x22')](function(_0x1f9f07){if(_0x1f9f07){_0x5d0d63=_0x1f9f07['length'];if(!_0xc4201[_0x12f3('0x45')][_0x12f3('0x4c')](_0x12f3('0x4d'))){_0x47c53a[_0x12f3('0x32')]=qs[_0x12f3('0x32')](_0xc4201[_0x12f3('0x45')][_0x12f3('0x32')]);_0x47c53a[_0x12f3('0x30')]=qs[_0x12f3('0x30')](_0xc4201[_0x12f3('0x45')][_0x12f3('0x30')]);}return _0x34b090[_0x12f3('0x71')](_0x47c53a);}})['then'](function(_0x6e7b77){if(_0x6e7b77){return _0x6e7b77?{'count':_0x5d0d63,'rows':_0x6e7b77}:null;}})['then'](respondWithResult(_0x5d223c,null))['catch'](handleError(_0x5d223c,null));};exports[_0x12f3('0x74')]=function(_0xf5383a,_0xdac67f,_0x5c970c){var _0x3cc24b=_0xf5383a[_0x12f3('0x5b')][_0x12f3('0x75')];return db[_0x12f3('0x73')]['findAll']({'where':{'id':_0x3cc24b},'attributes':['id'],'include':[{'model':db[_0x12f3('0x68')],'as':_0x12f3('0x76'),'attributes':['id','name',_0x12f3('0x77'),_0x12f3('0x78'),_0x12f3('0x79')],'raw':!![]}]})[_0x12f3('0x22')](function(_0x108e4f){if(_0x108e4f){var _0x511b40=_['flatMap'](_0x108e4f,function(_0x58b125){var _0x2b03fb=_0x58b125[_0x12f3('0x5d')]({'plain':!![]});return _0x2b03fb[_0x12f3('0x76')];});return db[_0x12f3('0x41')]['find']({'where':{'id':_0xf5383a[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](function(_0x3b7f42){return db['sequelize'][_0x12f3('0x7a')](function(_0x456a86){return _0x3b7f42[_0x12f3('0x74')](_0x3cc24b,{'transaction':_0x456a86})[_0x12f3('0x22')](function(){return BPromise['each'](_0x511b40,function(_0xc9c41f){return db[_0x12f3('0x64')]['findOrCreate']({'where':{'UserId':_0xc9c41f['id'],'ChatQueueId':_0xf5383a[_0x12f3('0x58')]['id']},'transaction':_0x456a86});});})[_0x12f3('0x22')](function(){_0x511b40[_0x12f3('0x7b')](function(_0x58f248){socket[_0x12f3('0x7c')](_0x12f3('0x7d'),{'UserId':_0x58f248['id'],'ChatQueueId':_0x3b7f42['id']});});});});});}})[_0x12f3('0x22')](respondWithStatusCode(_0xdac67f,null))[_0x12f3('0x2c')](handleError(_0xdac67f,null));};exports[_0x12f3('0x7e')]=function(_0x2e9480,_0x55c962,_0xd2e1e0){return db[_0x12f3('0x73')]['findAll']({'where':{'id':_0x2e9480[_0x12f3('0x45')][_0x12f3('0x75')]},'attributes':['id'],'include':[{'model':db['User'],'as':_0x12f3('0x76'),'attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x55c962,null))['then'](function(_0x3fcef6){var _0x1f97e6=_[_0x12f3('0x40')](_0x3fcef6,'id');var _0x4ef7b9=[];var _0x35b63d=[];var _0x5e7d39=squel[_0x12f3('0x7f')]();_0x5e7d39[_0x12f3('0x80')](_0x12f3('0x81'))[_0x12f3('0x82')](_0x12f3('0x83'),'tq')[_0x12f3('0x84')](_0x12f3('0x85'),'ut',_0x12f3('0x86'))[_0x12f3('0x4f')](_0x12f3('0x87'),_0x2e9480[_0x12f3('0x58')]['id']);for(var _0x4e0b86=0x0;_0x4e0b86<_0x3fcef6[_0x12f3('0x4b')];_0x4e0b86+=0x1){let _0x441b28=_0x3fcef6[_0x4e0b86];for(var _0x32998c=0x0;_0x32998c<_0x441b28[_0x12f3('0x76')]['length'];_0x32998c+=0x1){let _0x198499=_0x441b28['Agents'][_0x32998c];var _0x131208=_0x5e7d39[_0x12f3('0x88')]();_0x131208[_0x12f3('0x4f')](_0x12f3('0x89'),_0x198499['id']);_0x35b63d[_0x12f3('0x8a')](db[_0x12f3('0x8b')][_0x12f3('0x45')](_0x131208[_0x12f3('0x8c')](),{'type':db[_0x12f3('0x8b')][_0x12f3('0x8d')][_0x12f3('0x8e')]})['then'](function(_0x4cd74b){if(_0x4cd74b['length']===0x1){return _0x198499['id'];}else{var _0x1dee67=_[_0x12f3('0x8f')](_[_0x12f3('0x40')](_0x4cd74b,_0x12f3('0x90')),function(_0xdfd3dc){return _[_0x12f3('0x91')](_0x1f97e6,_0xdfd3dc);});if(_0x1dee67){return _0x198499['id'];}}}));}}return BPromise['all'](_0x35b63d)[_0x12f3('0x22')](function(_0x1e9f48){_0x4ef7b9=_(_0x4ef7b9)[_0x12f3('0x92')](_0x1e9f48)['compact']()['value']();return db[_0x12f3('0x41')][_0x12f3('0x59')]({'where':{'id':_0x2e9480[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](function(_0x2b0cd8){return db['sequelize'][_0x12f3('0x7a')](function(_0x1457f8){return _0x2b0cd8['removeTeams'](_0x2e9480[_0x12f3('0x45')][_0x12f3('0x75')],{'transaction':_0x1457f8})['then'](function(){if(!_['isEmpty'](_0x4ef7b9)){return _0x2b0cd8[_0x12f3('0x93')](_0x4ef7b9,{'transaction':_0x1457f8});}})['then'](function(){_0x4ef7b9[_0x12f3('0x7b')](function(_0xc96675){socket['emit'](_0x12f3('0x94'),{'UserId':_0xc96675,'ChatQueueId':_0x2b0cd8['id']});});});});});});})[_0x12f3('0x22')](respondWithStatusCode(_0x55c962,null))[_0x12f3('0x2c')](handleError(_0x55c962,null));};exports[_0x12f3('0x95')]=function(_0x43d51f,_0x4a3322,_0x2e2d1b){return db[_0x12f3('0x41')]['find']({'where':{'id':_0x43d51f[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x4a3322,null))[_0x12f3('0x22')](function(_0x4f748c){if(_0x4f748c){return _0x4f748c[_0x12f3('0x95')](_0x43d51f['body'][_0x12f3('0x75')],_[_0x12f3('0x96')](_0x43d51f[_0x12f3('0x5b')],[_0x12f3('0x75'),'id'])||{})[_0x12f3('0x97')](function(_0x17b8de){for(var _0x23c2d6=0x0;_0x23c2d6<_0x43d51f[_0x12f3('0x5b')][_0x12f3('0x75')]['length'];_0x23c2d6+=0x1){socket['emit'](_0x12f3('0x7d'),{'UserId':Number(_0x43d51f[_0x12f3('0x5b')]['ids'][_0x23c2d6]),'ChatQueueId':Number(_0x43d51f[_0x12f3('0x58')]['id'])});}return _0x17b8de;});}})[_0x12f3('0x22')](respondWithResult(_0x4a3322,null))[_0x12f3('0x2c')](handleError(_0x4a3322,null));};exports['removeAgents']=function(_0x55998a,_0x3bc56e,_0x2fe57e){return db['ChatQueue'][_0x12f3('0x59')]({'where':{'id':_0x55998a['params']['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0x3bc56e,null))[_0x12f3('0x22')](function(_0x5bed29){if(_0x5bed29){return _0x5bed29[_0x12f3('0x93')](_0x55998a[_0x12f3('0x45')][_0x12f3('0x75')])[_0x12f3('0x22')](function(){if(_[_0x12f3('0x98')](_0x55998a[_0x12f3('0x45')][_0x12f3('0x75')])){for(var _0x5ec565=0x0;_0x5ec565<_0x55998a[_0x12f3('0x45')][_0x12f3('0x75')][_0x12f3('0x4b')];_0x5ec565+=0x1){socket[_0x12f3('0x7c')](_0x12f3('0x94'),{'UserId':Number(_0x55998a['query'][_0x12f3('0x75')][_0x5ec565]),'ChatQueueId':Number(_0x55998a[_0x12f3('0x58')]['id'])});}}else{socket['emit'](_0x12f3('0x94'),{'UserId':Number(_0x55998a[_0x12f3('0x45')][_0x12f3('0x75')]),'ChatQueueId':Number(_0x55998a[_0x12f3('0x58')]['id'])});}});}})[_0x12f3('0x22')](respondWithStatusCode(_0x3bc56e,null))[_0x12f3('0x2c')](handleError(_0x3bc56e,null));};exports[_0x12f3('0x99')]=function(_0x1fa010,_0xecadfa,_0x3a0cae){var _0x3c3de4={};var _0x4e3b1d={};var _0x6798f5;var _0x190a56;return db['ChatQueue'][_0x12f3('0x72')]({'where':{'id':_0x1fa010[_0x12f3('0x58')]['id']}})[_0x12f3('0x22')](handleEntityNotFound(_0xecadfa,null))[_0x12f3('0x22')](function(_0x2730ee){if(_0x2730ee){_0x6798f5=_0x2730ee;_0x4e3b1d['model']=_[_0x12f3('0x46')](db[_0x12f3('0x68')][_0x12f3('0x42')]);_0x4e3b1d['query']=_[_0x12f3('0x46')](_0x1fa010['query']);_0x4e3b1d[_0x12f3('0x50')]=_[_0x12f3('0x47')](_0x4e3b1d[_0x12f3('0x48')],_0x4e3b1d[_0x12f3('0x45')]);_0x3c3de4['attributes']=_[_0x12f3('0x47')](_0x4e3b1d[_0x12f3('0x48')],qs[_0x12f3('0x4a')](_0x1fa010[_0x12f3('0x45')][_0x12f3('0x4a')]));_0x3c3de4[_0x12f3('0x49')]=_0x3c3de4[_0x12f3('0x49')][_0x12f3('0x4b')]?_0x3c3de4[_0x12f3('0x49')]:_0x4e3b1d[_0x12f3('0x48')];_0x3c3de4['order']=qs[_0x12f3('0x4e')](_0x1fa010[_0x12f3('0x45')][_0x12f3('0x4e')]);_0x3c3de4[_0x12f3('0x4f')]=qs['filters'](_[_0x12f3('0x51')](_0x1fa010[_0x12f3('0x45')],_0x4e3b1d['filters']));if(_0x1fa010[_0x12f3('0x45')][_0x12f3('0x52')]){_0x3c3de4['where']=_[_0x12f3('0x54')](_0x3c3de4[_0x12f3('0x4f')],{'$or':_['map'](_0x3c3de4['attributes'],function(_0x10e4c4){var _0x19dca2={};_0x19dca2[_0x10e4c4]={'$like':'%'+_0x1fa010[_0x12f3('0x45')]['filter']+'%'};return _0x19dca2;})});}_0x3c3de4=_[_0x12f3('0x54')]({},_0x3c3de4,_0x1fa010[_0x12f3('0x67')]);return _0x6798f5[_0x12f3('0x99')](_0x3c3de4);}})[_0x12f3('0x22')](function(_0x1b9fc5){if(_0x1b9fc5){_0x190a56=_0x1b9fc5[_0x12f3('0x4b')];if(!_0x1fa010[_0x12f3('0x45')][_0x12f3('0x4c')]('nolimit')){_0x3c3de4[_0x12f3('0x32')]=qs[_0x12f3('0x32')](_0x1fa010[_0x12f3('0x45')][_0x12f3('0x32')]);_0x3c3de4[_0x12f3('0x30')]=qs[_0x12f3('0x30')](_0x1fa010[_0x12f3('0x45')][_0x12f3('0x30')]);}return _0x6798f5[_0x12f3('0x99')](_0x3c3de4);}})[_0x12f3('0x22')](function(_0x455595){if(_0x455595){return _0x455595?{'count':_0x190a56,'rows':_0x455595}:null;}})[_0x12f3('0x22')](respondWithResult(_0xecadfa,null))[_0x12f3('0x2c')](handleError(_0xecadfa,null));};
\ No newline at end of file
+var _0xa293=['count','set','reject','update','then','destroy','ChatQueues','stack','name','send','index','map','ChatQueue','rawAttributes','fieldName','type','model','query','keys','intersection','attributes','fields','hasOwnProperty','nolimit','order','where','pick','filters','filter','VIRTUAL','merge','includeAll','include','rows','show','length','options','find','create','body','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','describe','getMembers','findOne','sort','ChatQueueId','UserChatQueue','findAll','User','findAndCountAll','agent','chatPause','updatedAt','createdAt','SIP','getTeams','Team','addTeams','ids','online','flatMap','Agents','sequelize','each','forEach','emit','removeTeams','field','tq.TeamId','team_has_chat_queues','join','ut.TeamId\x20=\x20tq.TeamId','ChatQueueId\x20=\x20?','ut.UserId\x20=\x20?','push','toString','QueryTypes','SELECT','every','all','union','compact','value','transaction','isEmpty','removeAgents','userChatQueue:remove','addAgents','omit','userChatQueue:save','isArray','getAgents','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','redis','defaults','register','jayson/promise','client','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','stringify','error','message','info','result','catch','status','end','json','offset','limit','undefined'];(function(_0x5ace32,_0xe6d11d){var _0x70dd6=function(_0x33e914){while(--_0x33e914){_0x5ace32['push'](_0x5ace32['shift']());}};_0x70dd6(++_0xe6d11d);}(_0xa293,0xfa));var _0x3a29=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xa293[_0x19e35c];return _0x3e1fe8;};'use strict';var emlformat=require(_0x3a29('0x0'));var rimraf=require(_0x3a29('0x1'));var zipdir=require(_0x3a29('0x2'));var jsonpatch=require(_0x3a29('0x3'));var rp=require(_0x3a29('0x4'));var moment=require(_0x3a29('0x5'));var BPromise=require(_0x3a29('0x6'));var Mustache=require(_0x3a29('0x7'));var util=require(_0x3a29('0x8'));var path=require(_0x3a29('0x9'));var sox=require(_0x3a29('0xa'));var csv=require(_0x3a29('0xb'));var ejs=require(_0x3a29('0xc'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x3a29('0xd'));var crypto=require(_0x3a29('0xe'));var jsforce=require(_0x3a29('0xf'));var deskjs=require(_0x3a29('0x10'));var toCsv=require(_0x3a29('0xb'));var querystring=require(_0x3a29('0x11'));var Papa=require(_0x3a29('0x12'));var Redis=require(_0x3a29('0x13'));var authService=require('../../components/auth/service');var qs=require(_0x3a29('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x3a29('0x15'));var logger=require('../../config/logger')(_0x3a29('0x16'));var utils=require(_0x3a29('0x17'));var config=require(_0x3a29('0x18'));var licenseUtil=require(_0x3a29('0x19'));var db=require(_0x3a29('0x1a'))['db'];config[_0x3a29('0x1b')]=_[_0x3a29('0x1c')](config[_0x3a29('0x1b')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x3a29('0x1b')]));require('./chatQueue.socket')[_0x3a29('0x1d')](socket);var jayson=require(_0x3a29('0x1e'));var client=jayson[_0x3a29('0x1f')]['http']({'port':0x232a});function respondWithRpcPromise(_0x158f3f,_0x4be6cf,_0x62e36a,_0x41e1b3){return new BPromise(function(_0x5983a1,_0x1ecd29){var _0x96df2f=_0x41e1b3||client;return _0x96df2f['request'](_0x158f3f,_0x62e36a)['then'](function(_0x459c62){logger['info'](_0x3a29('0x20'),_0x4be6cf,_0x3a29('0x21'));logger[_0x3a29('0x22')](_0x3a29('0x23'),_0x4be6cf,_0x3a29('0x21'),JSON[_0x3a29('0x24')](_0x459c62));if(_0x459c62[_0x3a29('0x25')]){if(_0x459c62[_0x3a29('0x25')]['code']===0x1f4){logger['error'](_0x3a29('0x20'),_0x4be6cf,_0x459c62[_0x3a29('0x25')][_0x3a29('0x26')]);return _0x1ecd29(_0x459c62[_0x3a29('0x25')][_0x3a29('0x26')]);}logger['error'](_0x3a29('0x20'),_0x4be6cf,_0x459c62[_0x3a29('0x25')][_0x3a29('0x26')]);return _0x5983a1(_0x459c62[_0x3a29('0x25')][_0x3a29('0x26')]);}else{logger[_0x3a29('0x27')](_0x3a29('0x20'),_0x4be6cf,_0x3a29('0x21'));_0x5983a1(_0x459c62[_0x3a29('0x28')][_0x3a29('0x26')]);}})[_0x3a29('0x29')](function(_0x26f364){logger[_0x3a29('0x25')](_0x3a29('0x20'),_0x4be6cf,_0x26f364);_0x1ecd29(_0x26f364);});});}function respondWithStatusCode(_0x10f6e6,_0x3d5752){_0x3d5752=_0x3d5752||0xcc;return function(_0x4d7e44){if(_0x4d7e44){return _0x10f6e6['sendStatus'](_0x3d5752);}return _0x10f6e6[_0x3a29('0x2a')](_0x3d5752)[_0x3a29('0x2b')]();};}function respondWithResult(_0x511698,_0x15bf90){_0x15bf90=_0x15bf90||0xc8;return function(_0x5434e7){if(_0x5434e7){return _0x511698['status'](_0x15bf90)[_0x3a29('0x2c')](_0x5434e7);}};}function respondWithFilteredResult(_0x1cab9b,_0x3525df){return function(_0x5e6771){if(_0x5e6771){var _0xac2838=typeof _0x3525df[_0x3a29('0x2d')]==='undefined'&&typeof _0x3525df[_0x3a29('0x2e')]===_0x3a29('0x2f');var _0x4c04d5=_0x5e6771['count'];var _0x1df25c=_0xac2838?0x0:_0x3525df[_0x3a29('0x2d')];var _0x39f637=_0xac2838?_0x5e6771[_0x3a29('0x30')]:_0x3525df[_0x3a29('0x2d')]+_0x3525df[_0x3a29('0x2e')];var _0x4ba3f8;if(_0x39f637>=_0x4c04d5){_0x39f637=_0x4c04d5;_0x4ba3f8=0xc8;}else{_0x4ba3f8=0xce;}_0x1cab9b[_0x3a29('0x2a')](_0x4ba3f8);return _0x1cab9b[_0x3a29('0x31')]('Content-Range',_0x1df25c+'-'+_0x39f637+'/'+_0x4c04d5)[_0x3a29('0x2c')](_0x5e6771);}return null;};}function patchUpdates(_0x22a305){return function(_0x18a22a){try{jsonpatch['apply'](_0x18a22a,_0x22a305,!![]);}catch(_0x2b8a8e){return BPromise[_0x3a29('0x32')](_0x2b8a8e);}return _0x18a22a['save']();};}function saveUpdates(_0x39b900,_0x2d9ac3){return function(_0x229a20){if(_0x229a20){return _0x229a20[_0x3a29('0x33')](_0x39b900)[_0x3a29('0x34')](function(_0x20767c){return _0x20767c;});}return null;};}function removeEntity(_0x2b03af,_0x107e2f){return function(_0x3f7e89){if(_0x3f7e89){return _0x3f7e89[_0x3a29('0x35')]()[_0x3a29('0x34')](function(){var _0x47f11a=_0x3f7e89['get']({'plain':!![]});var _0x368d4f=_0x3a29('0x36');return db['UserProfileResource'][_0x3a29('0x35')]({'where':{'type':_0x368d4f,'resourceId':_0x47f11a['id']}})[_0x3a29('0x34')](function(){return _0x3f7e89;});})[_0x3a29('0x34')](function(){_0x2b03af['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x53cf18,_0x2e9c67){return function(_0x3af339){if(!_0x3af339){_0x53cf18['sendStatus'](0x194);}return _0x3af339;};}function handleError(_0xf3ecb4,_0x2dfb1b){_0x2dfb1b=_0x2dfb1b||0x1f4;return function(_0x583c68){logger[_0x3a29('0x25')](_0x583c68[_0x3a29('0x37')]);if(_0x583c68[_0x3a29('0x38')]){delete _0x583c68[_0x3a29('0x38')];}_0xf3ecb4[_0x3a29('0x2a')](_0x2dfb1b)[_0x3a29('0x39')](_0x583c68);};}exports[_0x3a29('0x3a')]=function(_0x1a5a6f,_0x5c3a01){var _0x5d588b={},_0x1f9dec={},_0xe2a28={'count':0x0,'rows':[]};var _0x20aec0=_[_0x3a29('0x3b')](db[_0x3a29('0x3c')][_0x3a29('0x3d')],function(_0x540f2b){return{'name':_0x540f2b[_0x3a29('0x3e')],'type':_0x540f2b[_0x3a29('0x3f')]['key']};});_0x1f9dec[_0x3a29('0x40')]=_[_0x3a29('0x3b')](_0x20aec0,_0x3a29('0x38'));_0x1f9dec[_0x3a29('0x41')]=_[_0x3a29('0x42')](_0x1a5a6f['query']);_0x1f9dec['filters']=_[_0x3a29('0x43')](_0x1f9dec[_0x3a29('0x40')],_0x1f9dec[_0x3a29('0x41')]);_0x5d588b[_0x3a29('0x44')]=_[_0x3a29('0x43')](_0x1f9dec[_0x3a29('0x40')],qs[_0x3a29('0x45')](_0x1a5a6f['query'][_0x3a29('0x45')]));_0x5d588b[_0x3a29('0x44')]=_0x5d588b['attributes']['length']?_0x5d588b[_0x3a29('0x44')]:_0x1f9dec['model'];if(!_0x1a5a6f['query'][_0x3a29('0x46')](_0x3a29('0x47'))){_0x5d588b[_0x3a29('0x2e')]=qs[_0x3a29('0x2e')](_0x1a5a6f[_0x3a29('0x41')][_0x3a29('0x2e')]);_0x5d588b[_0x3a29('0x2d')]=qs[_0x3a29('0x2d')](_0x1a5a6f[_0x3a29('0x41')][_0x3a29('0x2d')]);}_0x5d588b[_0x3a29('0x48')]=qs['sort'](_0x1a5a6f['query']['sort']);_0x5d588b[_0x3a29('0x49')]=qs['filters'](_[_0x3a29('0x4a')](_0x1a5a6f['query'],_0x1f9dec[_0x3a29('0x4b')]),_0x20aec0);if(_0x1a5a6f[_0x3a29('0x41')][_0x3a29('0x4c')]){_0x5d588b[_0x3a29('0x49')]=_['merge'](_0x5d588b[_0x3a29('0x49')],{'$or':_[_0x3a29('0x3b')](_0x20aec0,function(_0x56b2c0){if(_0x56b2c0[_0x3a29('0x3f')]!==_0x3a29('0x4d')){var _0x488310={};_0x488310[_0x56b2c0['name']]={'$like':'%'+_0x1a5a6f[_0x3a29('0x41')][_0x3a29('0x4c')]+'%'};return _0x488310;}})});}_0x5d588b=_[_0x3a29('0x4e')]({},_0x5d588b,_0x1a5a6f['options']);var _0x37d1ad={'where':_0x5d588b['where']};return db[_0x3a29('0x3c')]['count'](_0x37d1ad)[_0x3a29('0x34')](function(_0x207231){_0xe2a28[_0x3a29('0x30')]=_0x207231;if(_0x1a5a6f['query'][_0x3a29('0x4f')]){_0x5d588b[_0x3a29('0x50')]=[{'all':!![]}];}return db['ChatQueue']['findAll'](_0x5d588b);})['then'](function(_0x220bd2){_0xe2a28[_0x3a29('0x51')]=_0x220bd2;return _0xe2a28;})[_0x3a29('0x34')](respondWithFilteredResult(_0x5c3a01,_0x5d588b))[_0x3a29('0x29')](handleError(_0x5c3a01,null));};exports[_0x3a29('0x52')]=function(_0xb1eace,_0x3c1da5){var _0x49680c={'raw':!![],'where':{'id':_0xb1eace['params']['id']}},_0x45dc94={};_0x45dc94[_0x3a29('0x40')]=_[_0x3a29('0x42')](db[_0x3a29('0x3c')][_0x3a29('0x3d')]);_0x45dc94[_0x3a29('0x41')]=_[_0x3a29('0x42')](_0xb1eace[_0x3a29('0x41')]);_0x45dc94[_0x3a29('0x4b')]=_[_0x3a29('0x43')](_0x45dc94[_0x3a29('0x40')],_0x45dc94['query']);_0x49680c[_0x3a29('0x44')]=_[_0x3a29('0x43')](_0x45dc94[_0x3a29('0x40')],qs['fields'](_0xb1eace['query'][_0x3a29('0x45')]));_0x49680c['attributes']=_0x49680c['attributes'][_0x3a29('0x53')]?_0x49680c[_0x3a29('0x44')]:_0x45dc94[_0x3a29('0x40')];if(_0xb1eace[_0x3a29('0x41')]['includeAll']){_0x49680c[_0x3a29('0x50')]=[{'all':!![]}];}_0x49680c=_[_0x3a29('0x4e')]({},_0x49680c,_0xb1eace[_0x3a29('0x54')]);return db[_0x3a29('0x3c')][_0x3a29('0x55')](_0x49680c)[_0x3a29('0x34')](handleEntityNotFound(_0x3c1da5,null))[_0x3a29('0x34')](respondWithResult(_0x3c1da5,null))[_0x3a29('0x29')](handleError(_0x3c1da5,null));};exports['create']=function(_0x9215f1,_0x153d4d){return db[_0x3a29('0x3c')][_0x3a29('0x56')](_0x9215f1[_0x3a29('0x57')],{})['then'](function(_0x360578){var _0x4e8340=_0x9215f1['user'][_0x3a29('0x58')]({'plain':!![]});if(!_0x4e8340)throw new Error(_0x3a29('0x59'));if(_0x4e8340[_0x3a29('0x5a')]===_0x3a29('0x5b')){var _0x5eff36=_0x360578['get']({'plain':!![]});var _0x52ba31=_0x3a29('0x36');return db[_0x3a29('0x5c')][_0x3a29('0x55')]({'where':{'name':_0x52ba31,'userProfileId':_0x4e8340[_0x3a29('0x5d')]},'raw':!![]})[_0x3a29('0x34')](function(_0x558b50){if(_0x558b50&&_0x558b50[_0x3a29('0x5e')]===0x0){return db[_0x3a29('0x5f')]['create']({'name':_0x5eff36[_0x3a29('0x38')],'resourceId':_0x5eff36['id'],'type':_0x558b50['name'],'sectionId':_0x558b50['id']},{})[_0x3a29('0x34')](function(){return _0x360578;});}else{return _0x360578;}})[_0x3a29('0x29')](function(_0x1c7427){logger[_0x3a29('0x25')](_0x3a29('0x60'),_0x1c7427);throw _0x1c7427;});}return _0x360578;})[_0x3a29('0x34')](respondWithResult(_0x153d4d,0xc9))['catch'](handleError(_0x153d4d,null));};exports[_0x3a29('0x33')]=function(_0x5b09f3,_0xd7dbf){if(_0x5b09f3[_0x3a29('0x57')]['id']){delete _0x5b09f3[_0x3a29('0x57')]['id'];}return db['ChatQueue'][_0x3a29('0x55')]({'where':{'id':_0x5b09f3[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0xd7dbf,null))[_0x3a29('0x34')](saveUpdates(_0x5b09f3[_0x3a29('0x57')],null))[_0x3a29('0x34')](respondWithResult(_0xd7dbf,null))[_0x3a29('0x29')](handleError(_0xd7dbf,null));};exports[_0x3a29('0x35')]=function(_0x5571b0,_0x1df99a){return db[_0x3a29('0x3c')][_0x3a29('0x55')]({'where':{'id':_0x5571b0[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0x1df99a,null))[_0x3a29('0x34')](removeEntity(_0x1df99a,null))[_0x3a29('0x29')](handleError(_0x1df99a,null));};exports[_0x3a29('0x62')]=function(_0x309ed2,_0x1f25dc){return db[_0x3a29('0x3c')][_0x3a29('0x62')]()[_0x3a29('0x34')](respondWithResult(_0x1f25dc,null))[_0x3a29('0x29')](handleError(_0x1f25dc,null));};exports[_0x3a29('0x63')]=function(_0xb273af,_0x4287fa,_0x514347){var _0x14681a={'raw':!![],'where':{}},_0x2ad5ca={},_0x51e60e;return db[_0x3a29('0x3c')][_0x3a29('0x64')]({'where':{'id':_0xb273af[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0x4287fa,null))[_0x3a29('0x34')](function(_0x1033b5){if(_0x1033b5){_0x51e60e=_0x1033b5[_0x3a29('0x58')]({'plain':!![]});_0x2ad5ca['model']=_[_0x3a29('0x42')](db['UserChatQueue'][_0x3a29('0x3d')]);_0x2ad5ca['query']=_[_0x3a29('0x42')](_0xb273af[_0x3a29('0x41')]);_0x2ad5ca[_0x3a29('0x4b')]=_[_0x3a29('0x43')](_0x2ad5ca['model'],_0x2ad5ca[_0x3a29('0x41')]);_0x14681a[_0x3a29('0x44')]=_[_0x3a29('0x43')](_0x2ad5ca['model'],qs[_0x3a29('0x45')](_0xb273af[_0x3a29('0x41')][_0x3a29('0x45')]));_0x14681a[_0x3a29('0x44')]=_0x14681a[_0x3a29('0x44')][_0x3a29('0x53')]?_0x14681a[_0x3a29('0x44')]:_0x2ad5ca[_0x3a29('0x40')];if(!_0xb273af['query'][_0x3a29('0x46')](_0x3a29('0x47'))){_0x14681a[_0x3a29('0x2e')]=qs[_0x3a29('0x2e')](_0xb273af[_0x3a29('0x41')][_0x3a29('0x2e')]);_0x14681a[_0x3a29('0x2d')]=qs[_0x3a29('0x2d')](_0xb273af[_0x3a29('0x41')][_0x3a29('0x2d')]);}_0x14681a[_0x3a29('0x48')]=qs[_0x3a29('0x65')](_0xb273af['query'][_0x3a29('0x65')]);_0x14681a['where']=qs[_0x3a29('0x4b')](_[_0x3a29('0x4a')](_0xb273af[_0x3a29('0x41')],_0x2ad5ca[_0x3a29('0x4b')]));_0x14681a[_0x3a29('0x49')][_0x3a29('0x66')]=_0x1033b5['id'];if(_0xb273af[_0x3a29('0x41')][_0x3a29('0x4c')]){_0x14681a[_0x3a29('0x49')]=_[_0x3a29('0x4e')](_0x14681a[_0x3a29('0x49')],{'$or':_['map'](_0x14681a['attributes'],function(_0x551f14){var _0xa5e44a={};_0xa5e44a[_0x551f14]={'$like':'%'+_0xb273af[_0x3a29('0x41')]['filter']+'%'};return _0xa5e44a;})});}_0x14681a=_[_0x3a29('0x4e')]({},_0x14681a,_0xb273af['options']);return db[_0x3a29('0x67')][_0x3a29('0x68')](_0x14681a);}})['then'](function(_0x538a1c){if(_0x538a1c){return db[_0x3a29('0x69')][_0x3a29('0x6a')]({'where':{'id':_[_0x3a29('0x3b')](_0x538a1c,'UserId'),'role':_0x3a29('0x6b')},'attributes':['id',_0x3a29('0x38'),_0x3a29('0x6c'),_0x3a29('0x6d'),_0x3a29('0x6e')]});}})[_0x3a29('0x34')](function(_0x5b8380){if(_0x5b8380){return{'count':_0x5b8380[_0x3a29('0x30')],'rows':_['map'](_0x5b8380[_0x3a29('0x51')],function(_0x1b20b7){return{'membername':_0x1b20b7['name'],'UserId':_0x1b20b7['id'],'queue_name':_0x51e60e[_0x3a29('0x38')],'ChatQueueId':_0x51e60e['id'],'interface':util['format']('%s/%s',_0x3a29('0x6f'),_0x1b20b7['name']),'penalty':0x0,'paused':_0x1b20b7[_0x3a29('0x6c')],'createdAt':_0x1b20b7['createdAt'],'updatedAt':_0x1b20b7[_0x3a29('0x6d')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x3a29('0x34')](respondWithFilteredResult(_0x4287fa,_0x14681a))['catch'](handleError(_0x4287fa,null));};exports[_0x3a29('0x70')]=function(_0x54432f,_0x1269fa,_0xb62e85){var _0x2cc19a={};var _0x4c5b24={};var _0x5bd25c;var _0x448e16;return db[_0x3a29('0x3c')][_0x3a29('0x64')]({'where':{'id':_0x54432f[_0x3a29('0x61')]['id']}})['then'](handleEntityNotFound(_0x1269fa,null))[_0x3a29('0x34')](function(_0x1accbb){if(_0x1accbb){_0x5bd25c=_0x1accbb;_0x4c5b24['model']=_['keys'](db[_0x3a29('0x71')][_0x3a29('0x3d')]);_0x4c5b24[_0x3a29('0x41')]=_[_0x3a29('0x42')](_0x54432f[_0x3a29('0x41')]);_0x4c5b24['filters']=_[_0x3a29('0x43')](_0x4c5b24[_0x3a29('0x40')],_0x4c5b24[_0x3a29('0x41')]);_0x2cc19a[_0x3a29('0x44')]=_[_0x3a29('0x43')](_0x4c5b24[_0x3a29('0x40')],qs['fields'](_0x54432f['query'][_0x3a29('0x45')]));_0x2cc19a[_0x3a29('0x44')]=_0x2cc19a[_0x3a29('0x44')][_0x3a29('0x53')]?_0x2cc19a[_0x3a29('0x44')]:_0x4c5b24[_0x3a29('0x40')];_0x2cc19a[_0x3a29('0x48')]=qs[_0x3a29('0x65')](_0x54432f[_0x3a29('0x41')]['sort']);_0x2cc19a[_0x3a29('0x49')]=qs[_0x3a29('0x4b')](_[_0x3a29('0x4a')](_0x54432f[_0x3a29('0x41')],_0x4c5b24[_0x3a29('0x4b')]));if(_0x54432f['query'][_0x3a29('0x4c')]){_0x2cc19a[_0x3a29('0x49')]=_['merge'](_0x2cc19a['where'],{'$or':_['map'](_0x2cc19a[_0x3a29('0x44')],function(_0xe40179){var _0x567e50={};_0x567e50[_0xe40179]={'$like':'%'+_0x54432f[_0x3a29('0x41')][_0x3a29('0x4c')]+'%'};return _0x567e50;})});}_0x2cc19a=_[_0x3a29('0x4e')]({},_0x2cc19a,_0x54432f[_0x3a29('0x54')]);return _0x5bd25c[_0x3a29('0x70')](_0x2cc19a);}})[_0x3a29('0x34')](function(_0x1f9d41){if(_0x1f9d41){_0x448e16=_0x1f9d41[_0x3a29('0x53')];if(!_0x54432f['query'][_0x3a29('0x46')]('nolimit')){_0x2cc19a['limit']=qs[_0x3a29('0x2e')](_0x54432f[_0x3a29('0x41')][_0x3a29('0x2e')]);_0x2cc19a['offset']=qs[_0x3a29('0x2d')](_0x54432f[_0x3a29('0x41')][_0x3a29('0x2d')]);}return _0x5bd25c[_0x3a29('0x70')](_0x2cc19a);}})[_0x3a29('0x34')](function(_0x32c2de){if(_0x32c2de){return _0x32c2de?{'count':_0x448e16,'rows':_0x32c2de}:null;}})[_0x3a29('0x34')](respondWithResult(_0x1269fa,null))[_0x3a29('0x29')](handleError(_0x1269fa,null));};exports[_0x3a29('0x72')]=function(_0x314eec,_0x2b6062,_0x632df3){var _0x1400e0=_0x314eec[_0x3a29('0x57')][_0x3a29('0x73')];return db['Team']['findAll']({'where':{'id':_0x1400e0},'attributes':['id'],'include':[{'model':db[_0x3a29('0x69')],'as':'Agents','attributes':['id',_0x3a29('0x38'),_0x3a29('0x74'),'voicePause','interface'],'raw':!![]}]})[_0x3a29('0x34')](function(_0x1d9ac2){if(_0x1d9ac2){var _0xe894e0=_[_0x3a29('0x75')](_0x1d9ac2,function(_0x273f49){var _0xdf805f=_0x273f49[_0x3a29('0x58')]({'plain':!![]});return _0xdf805f[_0x3a29('0x76')];});return db[_0x3a29('0x3c')]['find']({'where':{'id':_0x314eec['params']['id']}})['then'](function(_0x52a4b8){return db[_0x3a29('0x77')]['transaction'](function(_0x34c507){return _0x52a4b8[_0x3a29('0x72')](_0x1400e0,{'transaction':_0x34c507})[_0x3a29('0x34')](function(){return BPromise[_0x3a29('0x78')](_0xe894e0,function(_0x1f10c4){return db[_0x3a29('0x67')]['findOrCreate']({'where':{'UserId':_0x1f10c4['id'],'ChatQueueId':_0x314eec[_0x3a29('0x61')]['id']},'transaction':_0x34c507});});})[_0x3a29('0x34')](function(){_0xe894e0[_0x3a29('0x79')](function(_0x11cf2f){socket[_0x3a29('0x7a')]('userChatQueue:save',{'UserId':_0x11cf2f['id'],'ChatQueueId':_0x52a4b8['id']});});});});});}})['then'](respondWithStatusCode(_0x2b6062,null))[_0x3a29('0x29')](handleError(_0x2b6062,null));};exports[_0x3a29('0x7b')]=function(_0x4561df,_0x157d18,_0x1719f2){return db[_0x3a29('0x71')][_0x3a29('0x68')]({'where':{'id':_0x4561df[_0x3a29('0x41')][_0x3a29('0x73')]},'attributes':['id'],'include':[{'model':db['User'],'as':'Agents','attributes':['id'],'raw':!![]}]})[_0x3a29('0x34')](handleEntityNotFound(_0x157d18,null))[_0x3a29('0x34')](function(_0xbb68f4){var _0x1677af=_[_0x3a29('0x3b')](_0xbb68f4,'id');var _0x58b014=[];var _0x1094a6=[];var _0x5ac918=squel['select']();_0x5ac918[_0x3a29('0x7c')](_0x3a29('0x7d'))['from'](_0x3a29('0x7e'),'tq')[_0x3a29('0x7f')]('user_has_teams','ut',_0x3a29('0x80'))[_0x3a29('0x49')](_0x3a29('0x81'),_0x4561df['params']['id']);for(var _0x2f6f64=0x0;_0x2f6f64<_0xbb68f4['length'];_0x2f6f64+=0x1){let _0x3e3147=_0xbb68f4[_0x2f6f64];for(var _0x347324=0x0;_0x347324<_0x3e3147['Agents'][_0x3a29('0x53')];_0x347324+=0x1){let _0x1ad478=_0x3e3147[_0x3a29('0x76')][_0x347324];var _0x4f5397=_0x5ac918['clone']();_0x4f5397[_0x3a29('0x49')](_0x3a29('0x82'),_0x1ad478['id']);_0x1094a6[_0x3a29('0x83')](db[_0x3a29('0x77')][_0x3a29('0x41')](_0x4f5397[_0x3a29('0x84')](),{'type':db[_0x3a29('0x77')][_0x3a29('0x85')][_0x3a29('0x86')]})[_0x3a29('0x34')](function(_0x34cdfd){if(_0x34cdfd[_0x3a29('0x53')]===0x1){return _0x1ad478['id'];}else{var _0xc2cd5c=_[_0x3a29('0x87')](_['map'](_0x34cdfd,'TeamId'),function(_0x97078){return _['includes'](_0x1677af,_0x97078);});if(_0xc2cd5c){return _0x1ad478['id'];}}}));}}return BPromise[_0x3a29('0x88')](_0x1094a6)['then'](function(_0x1f63c1){_0x58b014=_(_0x58b014)[_0x3a29('0x89')](_0x1f63c1)[_0x3a29('0x8a')]()[_0x3a29('0x8b')]();return db[_0x3a29('0x3c')]['find']({'where':{'id':_0x4561df[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](function(_0x5c88ef){return db[_0x3a29('0x77')][_0x3a29('0x8c')](function(_0x5231fa){return _0x5c88ef['removeTeams'](_0x4561df[_0x3a29('0x41')][_0x3a29('0x73')],{'transaction':_0x5231fa})['then'](function(){if(!_[_0x3a29('0x8d')](_0x58b014)){return _0x5c88ef[_0x3a29('0x8e')](_0x58b014,{'transaction':_0x5231fa});}})[_0x3a29('0x34')](function(){_0x58b014['forEach'](function(_0x14dae2){socket['emit'](_0x3a29('0x8f'),{'UserId':_0x14dae2,'ChatQueueId':_0x5c88ef['id']});});});});});});})[_0x3a29('0x34')](respondWithStatusCode(_0x157d18,null))[_0x3a29('0x29')](handleError(_0x157d18,null));};exports[_0x3a29('0x90')]=function(_0x129d11,_0x535a7f,_0x24e122){return db[_0x3a29('0x3c')][_0x3a29('0x55')]({'where':{'id':_0x129d11['params']['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0x535a7f,null))['then'](function(_0x43b55b){if(_0x43b55b){return _0x43b55b[_0x3a29('0x90')](_0x129d11[_0x3a29('0x57')]['ids'],_[_0x3a29('0x91')](_0x129d11[_0x3a29('0x57')],[_0x3a29('0x73'),'id'])||{})['spread'](function(_0x8f226e){for(var _0x219b09=0x0;_0x219b09<_0x129d11[_0x3a29('0x57')][_0x3a29('0x73')][_0x3a29('0x53')];_0x219b09+=0x1){socket[_0x3a29('0x7a')](_0x3a29('0x92'),{'UserId':Number(_0x129d11[_0x3a29('0x57')][_0x3a29('0x73')][_0x219b09]),'ChatQueueId':Number(_0x129d11['params']['id'])});}return _0x8f226e;});}})[_0x3a29('0x34')](respondWithResult(_0x535a7f,null))['catch'](handleError(_0x535a7f,null));};exports[_0x3a29('0x8e')]=function(_0x22f284,_0x26fc6f,_0x1cbd65){return db[_0x3a29('0x3c')][_0x3a29('0x55')]({'where':{'id':_0x22f284[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0x26fc6f,null))[_0x3a29('0x34')](function(_0x3aff79){if(_0x3aff79){return _0x3aff79[_0x3a29('0x8e')](_0x22f284['query'][_0x3a29('0x73')])['then'](function(){if(_[_0x3a29('0x93')](_0x22f284[_0x3a29('0x41')][_0x3a29('0x73')])){for(var _0x36c3fd=0x0;_0x36c3fd<_0x22f284[_0x3a29('0x41')][_0x3a29('0x73')][_0x3a29('0x53')];_0x36c3fd+=0x1){socket[_0x3a29('0x7a')](_0x3a29('0x8f'),{'UserId':Number(_0x22f284[_0x3a29('0x41')]['ids'][_0x36c3fd]),'ChatQueueId':Number(_0x22f284[_0x3a29('0x61')]['id'])});}}else{socket[_0x3a29('0x7a')](_0x3a29('0x8f'),{'UserId':Number(_0x22f284[_0x3a29('0x41')][_0x3a29('0x73')]),'ChatQueueId':Number(_0x22f284[_0x3a29('0x61')]['id'])});}});}})[_0x3a29('0x34')](respondWithStatusCode(_0x26fc6f,null))['catch'](handleError(_0x26fc6f,null));};exports[_0x3a29('0x94')]=function(_0xf8c82c,_0x3f990e,_0x2254ef){var _0x34a5ba={};var _0x3fb1e9={};var _0x5053f2;var _0x25c85d;return db[_0x3a29('0x3c')][_0x3a29('0x64')]({'where':{'id':_0xf8c82c[_0x3a29('0x61')]['id']}})[_0x3a29('0x34')](handleEntityNotFound(_0x3f990e,null))[_0x3a29('0x34')](function(_0x4cb69f){if(_0x4cb69f){_0x5053f2=_0x4cb69f;_0x3fb1e9[_0x3a29('0x40')]=_[_0x3a29('0x42')](db[_0x3a29('0x69')]['rawAttributes']);_0x3fb1e9[_0x3a29('0x41')]=_[_0x3a29('0x42')](_0xf8c82c['query']);_0x3fb1e9[_0x3a29('0x4b')]=_[_0x3a29('0x43')](_0x3fb1e9[_0x3a29('0x40')],_0x3fb1e9[_0x3a29('0x41')]);_0x34a5ba[_0x3a29('0x44')]=_[_0x3a29('0x43')](_0x3fb1e9[_0x3a29('0x40')],qs[_0x3a29('0x45')](_0xf8c82c[_0x3a29('0x41')][_0x3a29('0x45')]));_0x34a5ba[_0x3a29('0x44')]=_0x34a5ba['attributes']['length']?_0x34a5ba[_0x3a29('0x44')]:_0x3fb1e9[_0x3a29('0x40')];_0x34a5ba[_0x3a29('0x48')]=qs[_0x3a29('0x65')](_0xf8c82c['query'][_0x3a29('0x65')]);_0x34a5ba['where']=qs[_0x3a29('0x4b')](_[_0x3a29('0x4a')](_0xf8c82c[_0x3a29('0x41')],_0x3fb1e9[_0x3a29('0x4b')]));if(_0xf8c82c[_0x3a29('0x41')]['filter']){_0x34a5ba[_0x3a29('0x49')]=_['merge'](_0x34a5ba[_0x3a29('0x49')],{'$or':_[_0x3a29('0x3b')](_0x34a5ba[_0x3a29('0x44')],function(_0x1e728f){var _0x2fed93={};_0x2fed93[_0x1e728f]={'$like':'%'+_0xf8c82c['query'][_0x3a29('0x4c')]+'%'};return _0x2fed93;})});}_0x34a5ba=_[_0x3a29('0x4e')]({},_0x34a5ba,_0xf8c82c['options']);return _0x5053f2[_0x3a29('0x94')](_0x34a5ba);}})['then'](function(_0x720e82){if(_0x720e82){_0x25c85d=_0x720e82[_0x3a29('0x53')];if(!_0xf8c82c[_0x3a29('0x41')][_0x3a29('0x46')]('nolimit')){_0x34a5ba[_0x3a29('0x2e')]=qs[_0x3a29('0x2e')](_0xf8c82c[_0x3a29('0x41')]['limit']);_0x34a5ba[_0x3a29('0x2d')]=qs['offset'](_0xf8c82c[_0x3a29('0x41')][_0x3a29('0x2d')]);}return _0x5053f2[_0x3a29('0x94')](_0x34a5ba);}})[_0x3a29('0x34')](function(_0x3c370f){if(_0x3c370f){return _0x3c370f?{'count':_0x25c85d,'rows':_0x3c370f}:null;}})[_0x3a29('0x34')](respondWithResult(_0x3f990e,null))[_0x3a29('0x29')](handleError(_0x3f990e,null));};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.events.js b/server/api/chatQueue/chatQueue.events.js
index b3dec44..44a828c 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 _0x7439=['../../mysqldb','setMaxListeners','emit','exports'];(function(_0x5880d9,_0x54f17d){var _0x336cad=function(_0x5bcd7c){while(--_0x5bcd7c){_0x5880d9['push'](_0x5880d9['shift']());}};_0x336cad(++_0x54f17d);}(_0x7439,0x15c));var _0x9743=function(_0xcf6c20,_0x3a90c9){_0xcf6c20=_0xcf6c20-0x0;var _0x2db56c=_0x7439[_0xcf6c20];return _0x2db56c;};'use strict';var EventEmitter=require('events');var ChatQueue=require(_0x9743('0x0'))['db']['ChatQueue'];var ChatQueueEvents=new EventEmitter();ChatQueueEvents[_0x9743('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x219299){return function(_0x3685ba,_0x1b67cd,_0x200a28){ChatQueueEvents[_0x9743('0x2')](_0x219299+':'+_0x3685ba['id'],_0x3685ba);ChatQueueEvents['emit'](_0x219299,_0x3685ba);_0x200a28(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatQueue['hook'](e,emitEvent(event));}}module[_0x9743('0x3')]=ChatQueueEvents;
\ No newline at end of file
+var _0x6464=['ChatQueue','setMaxListeners','save','update','emit','hook','exports','events','../../mysqldb'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6464,0x16f));var _0x4646=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x6464[_0x2641f9];return _0x585741;};'use strict';var EventEmitter=require(_0x4646('0x0'));var ChatQueue=require(_0x4646('0x1'))['db'][_0x4646('0x2')];var ChatQueueEvents=new EventEmitter();ChatQueueEvents[_0x4646('0x3')](0x0);var events={'afterCreate':_0x4646('0x4'),'afterUpdate':_0x4646('0x5'),'afterDestroy':'remove'};function emitEvent(_0x479589){return function(_0x52c4b5,_0x560b15,_0x26749c){ChatQueueEvents['emit'](_0x479589+':'+_0x52c4b5['id'],_0x52c4b5);ChatQueueEvents[_0x4646('0x6')](_0x479589,_0x52c4b5);_0x26749c(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatQueue[_0x4646('0x7')](e,emitEvent(event));}}module[_0x4646('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 88fcd5c..51cc2e0 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 _0x8ab4=['./chatQueue.attributes','exports','define','ChatQueue','chat_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x55816d,_0x15c16){var _0x2e91c5=function(_0xa4374c){while(--_0xa4374c){_0x55816d['push'](_0x55816d['shift']());}};_0x2e91c5(++_0x15c16);}(_0x8ab4,0x71));var _0x48ab=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x8ab4[_0x465028];return _0xb783d4;};'use strict';var _=require(_0x48ab('0x0'));var util=require('util');var logger=require(_0x48ab('0x1'))(_0x48ab('0x2'));var moment=require(_0x48ab('0x3'));var BPromise=require(_0x48ab('0x4'));var rp=require(_0x48ab('0x5'));var fs=require('fs');var path=require(_0x48ab('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x48ab('0x7'));module[_0x48ab('0x8')]=function(_0xfebd0d,_0x31aeca){return _0xfebd0d[_0x48ab('0x9')](_0x48ab('0xa'),attributes,{'tableName':_0x48ab('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3d5f=['exports','define','chat_queues','lodash','util','api','request-promise','rimraf','../../config/environment','./chatQueue.attributes'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3d5f,0x111));var _0xf3d5=function(_0x657564,_0x416683){_0x657564=_0x657564-0x0;var _0x14ef68=_0x3d5f[_0x657564];return _0x14ef68;};'use strict';var _=require(_0xf3d5('0x0'));var util=require(_0xf3d5('0x1'));var logger=require('../../config/logger')(_0xf3d5('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf3d5('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf3d5('0x4'));var config=require(_0xf3d5('0x5'));var attributes=require(_0xf3d5('0x6'));module[_0xf3d5('0x7')]=function(_0x1f6691,_0x20b265){return _0x1f6691[_0xf3d5('0x8')]('ChatQueue',attributes,{'tableName':_0xf3d5('0x9'),'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 31a9bfe..725dd41 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 _0x89f5=['lodash','util','moment','bluebird','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','register','request','then','info','ChatQueue,\x20%s,\x20%s','debug','ChatQueue,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','GetChatQueue','ChatQueue','findAll','options','where','attributes','limit','map','model','include','catch','ShowChatQueue','find','raw'];(function(_0x21a098,_0x204c09){var _0x3233a5=function(_0x192c82){while(--_0x192c82){_0x21a098['push'](_0x21a098['shift']());}};_0x3233a5(++_0x204c09);}(_0x89f5,0x118));var _0x589f=function(_0x3e7693,_0x24945b){_0x3e7693=_0x3e7693-0x0;var _0x147ea8=_0x89f5[_0x3e7693];return _0x147ea8;};'use strict';var _=require(_0x589f('0x0'));var util=require(_0x589f('0x1'));var moment=require(_0x589f('0x2'));var BPromise=require(_0x589f('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x589f('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x589f('0x5'))(_0x589f('0x6'));var config=require(_0x589f('0x7'));var jayson=require(_0x589f('0x8'));var client=jayson[_0x589f('0x9')][_0x589f('0xa')]({'port':0x232a});config[_0x589f('0xb')]=_[_0x589f('0xc')](config[_0x589f('0xb')],{'host':_0x589f('0xd'),'port':0x18eb});var socket=require(_0x589f('0xe'))(new Redis(config['redis']));require('./chatQueue.socket')[_0x589f('0xf')](socket);function respondWithRpcPromise(_0xdeb2ad,_0x4eedf8,_0x7e155e){return new BPromise(function(_0x300f63,_0x54c593){return client[_0x589f('0x10')](_0xdeb2ad,_0x7e155e)[_0x589f('0x11')](function(_0x272138){logger[_0x589f('0x12')](_0x589f('0x13'),_0x4eedf8,'request\x20sent');logger[_0x589f('0x14')](_0x589f('0x15'),_0x4eedf8,_0x589f('0x16'),JSON[_0x589f('0x17')](_0x272138));if(_0x272138[_0x589f('0x18')]){if(_0x272138[_0x589f('0x18')]['code']===0x1f4){logger['error'](_0x589f('0x13'),_0x4eedf8,_0x272138['error'][_0x589f('0x19')]);return _0x54c593(_0x272138[_0x589f('0x18')][_0x589f('0x19')]);}logger[_0x589f('0x18')](_0x589f('0x13'),_0x4eedf8,_0x272138[_0x589f('0x18')][_0x589f('0x19')]);return _0x300f63(_0x272138['error'][_0x589f('0x19')]);}else{logger[_0x589f('0x12')](_0x589f('0x13'),_0x4eedf8,_0x589f('0x16'));_0x300f63(_0x272138['result']['message']);}})['catch'](function(_0xd00f28){logger[_0x589f('0x18')](_0x589f('0x13'),_0x4eedf8,_0xd00f28);_0x54c593(_0xd00f28);});});}exports[_0x589f('0x1a')]=function(_0x1f3103){var _0x159732=this;return new Promise(function(_0x4117f3,_0x8508f0){return db[_0x589f('0x1b')][_0x589f('0x1c')]({'raw':_0x1f3103[_0x589f('0x1d')]?_0x1f3103[_0x589f('0x1d')]['raw']===undefined?!![]:![]:!![],'where':_0x1f3103[_0x589f('0x1d')]?_0x1f3103[_0x589f('0x1d')][_0x589f('0x1e')]||null:null,'attributes':_0x1f3103[_0x589f('0x1d')]?_0x1f3103[_0x589f('0x1d')][_0x589f('0x1f')]||null:null,'limit':_0x1f3103[_0x589f('0x1d')]?_0x1f3103[_0x589f('0x1d')][_0x589f('0x20')]||null:null,'include':_0x1f3103[_0x589f('0x1d')]?_0x1f3103[_0x589f('0x1d')]['include']?_[_0x589f('0x21')](_0x1f3103[_0x589f('0x1d')]['include'],function(_0x25e999){return{'model':db[_0x25e999[_0x589f('0x22')]],'as':_0x25e999['as'],'attributes':_0x25e999[_0x589f('0x1f')],'include':_0x25e999[_0x589f('0x23')]?_[_0x589f('0x21')](_0x25e999[_0x589f('0x23')],function(_0x268c1b){return{'model':db[_0x268c1b[_0x589f('0x22')]],'as':_0x268c1b['as'],'attributes':_0x268c1b[_0x589f('0x1f')],'include':_0x268c1b[_0x589f('0x23')]?_['map'](_0x268c1b[_0x589f('0x23')],function(_0x316859){return{'model':db[_0x316859[_0x589f('0x22')]],'as':_0x316859['as'],'attributes':_0x316859[_0x589f('0x1f')]};}):[]};}):[]};}):[]:[]})[_0x589f('0x11')](function(_0xb8fe6a){logger[_0x589f('0x12')](_0x589f('0x1a'),_0x1f3103);logger['debug'](_0x589f('0x1a'),_0x1f3103,JSON['stringify'](_0xb8fe6a));_0x4117f3(_0xb8fe6a);})[_0x589f('0x24')](function(_0x42ae77){logger[_0x589f('0x18')](_0x589f('0x1a'),_0x42ae77[_0x589f('0x19')],_0x1f3103);_0x8508f0(_0x159732['error'](0x1f4,_0x42ae77['message']));});});};exports[_0x589f('0x25')]=function(_0x5e5bf8){var _0x4b2155=this;return new Promise(function(_0x3ec884,_0xe212b){return db[_0x589f('0x1b')][_0x589f('0x26')]({'raw':_0x5e5bf8[_0x589f('0x1d')]?_0x5e5bf8['options'][_0x589f('0x27')]===undefined?!![]:![]:!![],'where':_0x5e5bf8[_0x589f('0x1d')]?_0x5e5bf8[_0x589f('0x1d')]['where']||null:null,'attributes':_0x5e5bf8[_0x589f('0x1d')]?_0x5e5bf8[_0x589f('0x1d')][_0x589f('0x1f')]||null:null,'include':_0x5e5bf8[_0x589f('0x1d')]?_0x5e5bf8[_0x589f('0x1d')][_0x589f('0x23')]?_[_0x589f('0x21')](_0x5e5bf8[_0x589f('0x1d')]['include'],function(_0xebc3c){return{'model':db[_0xebc3c['model']],'as':_0xebc3c['as'],'attributes':_0xebc3c[_0x589f('0x1f')],'include':_0xebc3c[_0x589f('0x23')]?_[_0x589f('0x21')](_0xebc3c['include'],function(_0x28b792){return{'model':db[_0x28b792[_0x589f('0x22')]],'as':_0x28b792['as'],'attributes':_0x28b792[_0x589f('0x1f')],'include':_0x28b792[_0x589f('0x23')]?_['map'](_0x28b792[_0x589f('0x23')],function(_0xe2c4c7){return{'model':db[_0xe2c4c7['model']],'as':_0xe2c4c7['as'],'attributes':_0xe2c4c7['attributes']};}):[]};}):[]};}):[]:[]})[_0x589f('0x11')](function(_0x2741f4){logger['info']('ShowChatQueue',_0x5e5bf8);logger[_0x589f('0x14')](_0x589f('0x25'),_0x5e5bf8,JSON[_0x589f('0x17')](_0x2741f4));_0x3ec884(_0x2741f4);})[_0x589f('0x24')](function(_0xa81305){logger['error'](_0x589f('0x25'),_0xa81305['message'],_0x5e5bf8);_0xe212b(_0x4b2155['error'](0x1f4,_0xa81305['message']));});});};
\ No newline at end of file
+var _0x5fbb=['./chatQueue.socket','then','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','error','code','message','info','result','catch','GetChatQueue','ChatQueue','options','raw','where','include','map','model','attributes','stringify','ShowChatQueue','find','lodash','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter'];(function(_0x3dd95a,_0x507480){var _0x5135af=function(_0x319855){while(--_0x319855){_0x3dd95a['push'](_0x3dd95a['shift']());}};_0x5135af(++_0x507480);}(_0x5fbb,0x1ba));var _0xb5fb=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x5fbb[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xb5fb('0x0'));var util=require('util');var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xb5fb('0x1'));var fs=require('fs');var Redis=require(_0xb5fb('0x2'));var db=require(_0xb5fb('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0xb5fb('0x4'))(_0xb5fb('0x5'));var config=require(_0xb5fb('0x6'));var jayson=require(_0xb5fb('0x7'));var client=jayson[_0xb5fb('0x8')][_0xb5fb('0x9')]({'port':0x232a});config[_0xb5fb('0xa')]=_[_0xb5fb('0xb')](config[_0xb5fb('0xa')],{'host':_0xb5fb('0xc'),'port':0x18eb});var socket=require(_0xb5fb('0xd'))(new Redis(config[_0xb5fb('0xa')]));require(_0xb5fb('0xe'))['register'](socket);function respondWithRpcPromise(_0x462832,_0x84f5a8,_0x38f18a){return new BPromise(function(_0x58eb20,_0x5e3694){return client['request'](_0x462832,_0x38f18a)[_0xb5fb('0xf')](function(_0xf7cb72){logger['info'](_0xb5fb('0x10'),_0x84f5a8,_0xb5fb('0x11'));logger[_0xb5fb('0x12')](_0xb5fb('0x13'),_0x84f5a8,_0xb5fb('0x11'),JSON['stringify'](_0xf7cb72));if(_0xf7cb72[_0xb5fb('0x14')]){if(_0xf7cb72[_0xb5fb('0x14')][_0xb5fb('0x15')]===0x1f4){logger[_0xb5fb('0x14')](_0xb5fb('0x10'),_0x84f5a8,_0xf7cb72['error'][_0xb5fb('0x16')]);return _0x5e3694(_0xf7cb72[_0xb5fb('0x14')]['message']);}logger[_0xb5fb('0x14')](_0xb5fb('0x10'),_0x84f5a8,_0xf7cb72['error'][_0xb5fb('0x16')]);return _0x58eb20(_0xf7cb72['error'][_0xb5fb('0x16')]);}else{logger[_0xb5fb('0x17')](_0xb5fb('0x10'),_0x84f5a8,_0xb5fb('0x11'));_0x58eb20(_0xf7cb72[_0xb5fb('0x18')][_0xb5fb('0x16')]);}})[_0xb5fb('0x19')](function(_0x15d462){logger[_0xb5fb('0x14')](_0xb5fb('0x10'),_0x84f5a8,_0x15d462);_0x5e3694(_0x15d462);});});}exports[_0xb5fb('0x1a')]=function(_0x3a87fe){var _0x1daacb=this;return new Promise(function(_0x28ad5b,_0x15a8f4){return db[_0xb5fb('0x1b')]['findAll']({'raw':_0x3a87fe['options']?_0x3a87fe[_0xb5fb('0x1c')][_0xb5fb('0x1d')]===undefined?!![]:![]:!![],'where':_0x3a87fe[_0xb5fb('0x1c')]?_0x3a87fe[_0xb5fb('0x1c')][_0xb5fb('0x1e')]||null:null,'attributes':_0x3a87fe[_0xb5fb('0x1c')]?_0x3a87fe[_0xb5fb('0x1c')]['attributes']||null:null,'limit':_0x3a87fe[_0xb5fb('0x1c')]?_0x3a87fe[_0xb5fb('0x1c')]['limit']||null:null,'include':_0x3a87fe[_0xb5fb('0x1c')]?_0x3a87fe[_0xb5fb('0x1c')][_0xb5fb('0x1f')]?_[_0xb5fb('0x20')](_0x3a87fe[_0xb5fb('0x1c')][_0xb5fb('0x1f')],function(_0x17e59f){return{'model':db[_0x17e59f[_0xb5fb('0x21')]],'as':_0x17e59f['as'],'attributes':_0x17e59f[_0xb5fb('0x22')],'include':_0x17e59f[_0xb5fb('0x1f')]?_[_0xb5fb('0x20')](_0x17e59f['include'],function(_0x3820dc){return{'model':db[_0x3820dc[_0xb5fb('0x21')]],'as':_0x3820dc['as'],'attributes':_0x3820dc[_0xb5fb('0x22')],'include':_0x3820dc[_0xb5fb('0x1f')]?_[_0xb5fb('0x20')](_0x3820dc[_0xb5fb('0x1f')],function(_0x4d9cc6){return{'model':db[_0x4d9cc6[_0xb5fb('0x21')]],'as':_0x4d9cc6['as'],'attributes':_0x4d9cc6[_0xb5fb('0x22')]};}):[]};}):[]};}):[]:[]})[_0xb5fb('0xf')](function(_0x2aa7bf){logger[_0xb5fb('0x17')]('GetChatQueue',_0x3a87fe);logger['debug']('GetChatQueue',_0x3a87fe,JSON[_0xb5fb('0x23')](_0x2aa7bf));_0x28ad5b(_0x2aa7bf);})[_0xb5fb('0x19')](function(_0x58c9a8){logger[_0xb5fb('0x14')](_0xb5fb('0x1a'),_0x58c9a8[_0xb5fb('0x16')],_0x3a87fe);_0x15a8f4(_0x1daacb['error'](0x1f4,_0x58c9a8[_0xb5fb('0x16')]));});});};exports[_0xb5fb('0x24')]=function(_0x5a60fb){var _0x54c2aa=this;return new Promise(function(_0x2ca3a6,_0x8d71da){return db[_0xb5fb('0x1b')][_0xb5fb('0x25')]({'raw':_0x5a60fb[_0xb5fb('0x1c')]?_0x5a60fb[_0xb5fb('0x1c')][_0xb5fb('0x1d')]===undefined?!![]:![]:!![],'where':_0x5a60fb[_0xb5fb('0x1c')]?_0x5a60fb[_0xb5fb('0x1c')]['where']||null:null,'attributes':_0x5a60fb[_0xb5fb('0x1c')]?_0x5a60fb[_0xb5fb('0x1c')][_0xb5fb('0x22')]||null:null,'include':_0x5a60fb[_0xb5fb('0x1c')]?_0x5a60fb[_0xb5fb('0x1c')][_0xb5fb('0x1f')]?_[_0xb5fb('0x20')](_0x5a60fb[_0xb5fb('0x1c')][_0xb5fb('0x1f')],function(_0x6b3e2e){return{'model':db[_0x6b3e2e['model']],'as':_0x6b3e2e['as'],'attributes':_0x6b3e2e['attributes'],'include':_0x6b3e2e['include']?_['map'](_0x6b3e2e[_0xb5fb('0x1f')],function(_0x4fe549){return{'model':db[_0x4fe549[_0xb5fb('0x21')]],'as':_0x4fe549['as'],'attributes':_0x4fe549['attributes'],'include':_0x4fe549['include']?_[_0xb5fb('0x20')](_0x4fe549[_0xb5fb('0x1f')],function(_0x2629f9){return{'model':db[_0x2629f9[_0xb5fb('0x21')]],'as':_0x2629f9['as'],'attributes':_0x2629f9[_0xb5fb('0x22')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x40f732){logger[_0xb5fb('0x17')](_0xb5fb('0x24'),_0x5a60fb);logger[_0xb5fb('0x12')](_0xb5fb('0x24'),_0x5a60fb,JSON[_0xb5fb('0x23')](_0x40f732));_0x2ca3a6(_0x40f732);})[_0xb5fb('0x19')](function(_0x1a0dfa){logger[_0xb5fb('0x14')](_0xb5fb('0x24'),_0x1a0dfa[_0xb5fb('0x16')],_0x5a60fb);_0x8d71da(_0x54c2aa[_0xb5fb('0x14')](0x1f4,_0x1a0dfa[_0xb5fb('0x16')]));});});};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.socket.js b/server/api/chatQueue/chatQueue.socket.js
index 725cdf5..4669fb9 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 _0x2dae=['remove','update','removeListener','register','length','chatQueue:','./chatQueue.events'];(function(_0x5712c9,_0xd0a191){var _0x56b4fa=function(_0x7c23d2){while(--_0x7c23d2){_0x5712c9['push'](_0x5712c9['shift']());}};_0x56b4fa(++_0xd0a191);}(_0x2dae,0xc3));var _0xe2da=function(_0x4191af,_0x5783da){_0x4191af=_0x4191af-0x0;var _0x27bebf=_0x2dae[_0x4191af];return _0x27bebf;};'use strict';var ChatQueueEvents=require(_0xe2da('0x0'));var events=['save',_0xe2da('0x1'),_0xe2da('0x2')];function createListener(_0xcd0055,_0x167432){return function(_0x99b46f){_0x167432['emit'](_0xcd0055,_0x99b46f);};}function removeListener(_0x25b9f2,_0x439b5d){return function(){ChatQueueEvents[_0xe2da('0x3')](_0x25b9f2,_0x439b5d);};}exports[_0xe2da('0x4')]=function(_0x523c60){for(var _0x3e3e25=0x0,_0x89c70b=events[_0xe2da('0x5')];_0x3e3e25<_0x89c70b;_0x3e3e25++){var _0x2efbd8=events[_0x3e3e25];var _0x238da3=createListener(_0xe2da('0x6')+_0x2efbd8,_0x523c60);ChatQueueEvents['on'](_0x2efbd8,_0x238da3);}};
\ No newline at end of file
+var _0xb458=['length','./chatQueue.events','save','remove','emit','removeListener'];(function(_0x37d7cd,_0x6681b1){var _0x518bad=function(_0x57bcff){while(--_0x57bcff){_0x37d7cd['push'](_0x37d7cd['shift']());}};_0x518bad(++_0x6681b1);}(_0xb458,0x103));var _0x8b45=function(_0x36be0a,_0x44b257){_0x36be0a=_0x36be0a-0x0;var _0xee76a5=_0xb458[_0x36be0a];return _0xee76a5;};'use strict';var ChatQueueEvents=require(_0x8b45('0x0'));var events=[_0x8b45('0x1'),_0x8b45('0x2'),'update'];function createListener(_0x58a508,_0xdf89d4){return function(_0x93d9cd){_0xdf89d4[_0x8b45('0x3')](_0x58a508,_0x93d9cd);};}function removeListener(_0x13a8c6,_0x5d51e4){return function(){ChatQueueEvents[_0x8b45('0x4')](_0x13a8c6,_0x5d51e4);};}exports['register']=function(_0x5cc2d5){for(var _0xe8d774=0x0,_0x12bd05=events[_0x8b45('0x5')];_0xe8d774<_0x12bd05;_0xe8d774++){var _0x3a8ccb=events[_0xe8d774];var _0x32342f=createListener('chatQueue:'+_0x3a8ccb,_0x5cc2d5);ChatQueueEvents['on'](_0x3a8ccb,_0x32342f);}};
\ No newline at end of file
diff --git a/server/api/chatQueue/index.js b/server/api/chatQueue/index.js
index b751424..a5baf0f 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 _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(_0x16f09a,_0x21c409){var _0x5e0327=function(_0x4ccef5){while(--_0x4ccef5){_0x16f09a['push'](_0x16f09a['shift']());}};_0x5e0327(++_0x21c409);}(_0x008c,0x188));var _0xc008=function(_0x186376,_0x5d988a){_0x186376=_0x186376-0x0;var _0x2dbdd9=_0x008c[_0x186376];return _0x2dbdd9;};'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
+var _0xe14b=['/describe','show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','/:id','delete','destroy','removeAgents','exports','multer','util','express','Router','../../components/auth/service','./chatQueue.controller','get','isAuthenticated','index'];(function(_0x1f94ef,_0xeead8b){var _0x196de7=function(_0x2f1eb1){while(--_0x2f1eb1){_0x1f94ef['push'](_0x1f94ef['shift']());}};_0x196de7(++_0xeead8b);}(_0xe14b,0x93));var _0xbe14=function(_0x401f29,_0xa16d9){_0x401f29=_0x401f29-0x0;var _0x1589c6=_0xe14b[_0x401f29];return _0x1589c6;};'use strict';var multer=require(_0xbe14('0x0'));var util=require(_0xbe14('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xbe14('0x2'));var router=express[_0xbe14('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xbe14('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbe14('0x5'));router[_0xbe14('0x6')]('/',auth[_0xbe14('0x7')](),controller[_0xbe14('0x8')]);router[_0xbe14('0x6')](_0xbe14('0x9'),auth[_0xbe14('0x7')](),controller['describe']);router['get']('/:id',auth[_0xbe14('0x7')](),controller[_0xbe14('0xa')]);router[_0xbe14('0x6')](_0xbe14('0xb'),auth['isAuthenticated'](),controller['getMembers']);router[_0xbe14('0x6')](_0xbe14('0xc'),auth['isAuthenticated'](),controller[_0xbe14('0xd')]);router[_0xbe14('0x6')](_0xbe14('0xe'),auth[_0xbe14('0x7')](),controller[_0xbe14('0xf')]);router[_0xbe14('0x10')]('/',auth[_0xbe14('0x7')](),controller[_0xbe14('0x11')]);router[_0xbe14('0x10')](_0xbe14('0xc'),auth[_0xbe14('0x7')](),controller[_0xbe14('0x12')]);router[_0xbe14('0x10')]('/:id/users',auth['isAuthenticated'](),controller[_0xbe14('0x13')]);router[_0xbe14('0x14')](_0xbe14('0x15'),auth[_0xbe14('0x7')](),controller['update']);router[_0xbe14('0x16')](_0xbe14('0x15'),auth[_0xbe14('0x7')](),controller[_0xbe14('0x17')]);router[_0xbe14('0x16')](_0xbe14('0xc'),auth[_0xbe14('0x7')](),controller['removeTeams']);router[_0xbe14('0x16')](_0xbe14('0xe'),auth[_0xbe14('0x7')](),controller[_0xbe14('0x18')]);module[_0xbe14('0x19')]=router;
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.attributes.js b/server/api/chatQueueReport/chatQueueReport.attributes.js
index b22cb86..72f3a47 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 _0xcd31=['exports','STRING','DATE','moment'];(function(_0x5a2fb1,_0x4a9436){var _0x12637f=function(_0x1f738b){while(--_0x1f738b){_0x5a2fb1['push'](_0x5a2fb1['shift']());}};_0x12637f(++_0x4a9436);}(_0xcd31,0x93));var _0x1cd3=function(_0x57265d,_0x31fa8b){_0x57265d=_0x57265d-0x0;var _0x1c4476=_0xcd31[_0x57265d];return _0x1c4476;};'use strict';var moment=require(_0x1cd3('0x0'));var Sequelize=require('sequelize');module[_0x1cd3('0x1')]={'uniqueid':{'type':Sequelize[_0x1cd3('0x2')],'allowNull':![]},'from':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize['DATE']},'acceptAt':{'type':Sequelize[_0x1cd3('0x3')]},'exitAt':{'type':Sequelize[_0x1cd3('0x3')]},'reason':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x3be6=['sequelize','exports','STRING','DATE','moment'];(function(_0x3d5af1,_0x1ae677){var _0x553682=function(_0xdf86ad){while(--_0xdf86ad){_0x3d5af1['push'](_0x3d5af1['shift']());}};_0x553682(++_0x1ae677);}(_0x3be6,0x6d));var _0x63be=function(_0x478414,_0xcf142d){_0x478414=_0x478414-0x0;var _0x5eb6b9=_0x3be6[_0x478414];return _0x5eb6b9;};'use strict';var moment=require(_0x63be('0x0'));var Sequelize=require(_0x63be('0x1'));module[_0x63be('0x2')]={'uniqueid':{'type':Sequelize[_0x63be('0x3')],'allowNull':![]},'from':{'type':Sequelize[_0x63be('0x3')]},'joinAt':{'type':Sequelize[_0x63be('0x4')]},'leaveAt':{'type':Sequelize[_0x63be('0x4')]},'acceptAt':{'type':Sequelize[_0x63be('0x4')]},'exitAt':{'type':Sequelize[_0x63be('0x4')]},'reason':{'type':Sequelize[_0x63be('0x3')]}};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.controller.js b/server/api/chatQueueReport/chatQueueReport.controller.js
index 2d03b09..4074529 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 _0x7163=['key','model','query','keys','attributes','intersection','fields','length','hasOwnProperty','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','include','show','params','includeAll','find','create','body','catch','describe','eml-format','fast-json-patch','request-promise','moment','mustache','util','path','sox','fs-extra','lodash','squel','crypto','jsforce','desk.js','to-csv','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','status','end','offset','undefined','count','limit','set','Content-Range','apply','reject','save','update','then','destroy','stack','name','index','map','ChatQueueReport','rawAttributes','fieldName','type'];(function(_0x42f0ce,_0x28ecf6){var _0x16e546=function(_0x322da6){while(--_0x322da6){_0x42f0ce['push'](_0x42f0ce['shift']());}};_0x16e546(++_0x28ecf6);}(_0x7163,0x1ef));var _0x3716=function(_0x2070da,_0x45e586){_0x2070da=_0x2070da-0x0;var _0x4f9fe1=_0x7163[_0x2070da];return _0x4f9fe1;};'use strict';var emlformat=require(_0x3716('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x3716('0x1'));var rp=require(_0x3716('0x2'));var moment=require(_0x3716('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x3716('0x4'));var util=require(_0x3716('0x5'));var path=require(_0x3716('0x6'));var sox=require(_0x3716('0x7'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x3716('0x8'));var _=require(_0x3716('0x9'));var squel=require(_0x3716('0xa'));var crypto=require(_0x3716('0xb'));var jsforce=require(_0x3716('0xc'));var deskjs=require(_0x3716('0xd'));var toCsv=require(_0x3716('0xe'));var querystring=require(_0x3716('0xf'));var Papa=require(_0x3716('0x10'));var Redis=require(_0x3716('0x11'));var authService=require(_0x3716('0x12'));var qs=require(_0x3716('0x13'));var as=require(_0x3716('0x14'));var hardwareService=require(_0x3716('0x15'));var logger=require(_0x3716('0x16'))(_0x3716('0x17'));var utils=require(_0x3716('0x18'));var config=require(_0x3716('0x19'));var licenseUtil=require(_0x3716('0x1a'));var db=require(_0x3716('0x1b'))['db'];function respondWithStatusCode(_0x2c32cf,_0x2bbb95){_0x2bbb95=_0x2bbb95||0xcc;return function(_0x21925a){if(_0x21925a){return _0x2c32cf[_0x3716('0x1c')](_0x2bbb95);}return _0x2c32cf[_0x3716('0x1d')](_0x2bbb95)[_0x3716('0x1e')]();};}function respondWithResult(_0xc095c4,_0x131c5a){_0x131c5a=_0x131c5a||0xc8;return function(_0x4d1791){if(_0x4d1791){return _0xc095c4['status'](_0x131c5a)['json'](_0x4d1791);}};}function respondWithFilteredResult(_0x493b7d,_0x372785){return function(_0x5bbc0a){if(_0x5bbc0a){var _0x166835=typeof _0x372785[_0x3716('0x1f')]===_0x3716('0x20')&&typeof _0x372785['limit']==='undefined';var _0x5f3833=_0x5bbc0a['count'];var _0x27fa57=_0x166835?0x0:_0x372785[_0x3716('0x1f')];var _0x5d16c4=_0x166835?_0x5bbc0a[_0x3716('0x21')]:_0x372785[_0x3716('0x1f')]+_0x372785[_0x3716('0x22')];var _0xf6c764;if(_0x5d16c4>=_0x5f3833){_0x5d16c4=_0x5f3833;_0xf6c764=0xc8;}else{_0xf6c764=0xce;}_0x493b7d[_0x3716('0x1d')](_0xf6c764);return _0x493b7d[_0x3716('0x23')](_0x3716('0x24'),_0x27fa57+'-'+_0x5d16c4+'/'+_0x5f3833)['json'](_0x5bbc0a);}return null;};}function patchUpdates(_0x4cd0a6){return function(_0x524db1){try{jsonpatch[_0x3716('0x25')](_0x524db1,_0x4cd0a6,!![]);}catch(_0x49a885){return BPromise[_0x3716('0x26')](_0x49a885);}return _0x524db1[_0x3716('0x27')]();};}function saveUpdates(_0x2cccca,_0x233517){return function(_0x2b5296){if(_0x2b5296){return _0x2b5296[_0x3716('0x28')](_0x2cccca)[_0x3716('0x29')](function(_0x12bc19){return _0x12bc19;});}return null;};}function removeEntity(_0x1f18b2,_0x483bdd){return function(_0xec15ce){if(_0xec15ce){return _0xec15ce[_0x3716('0x2a')]()[_0x3716('0x29')](function(){_0x1f18b2['status'](0xcc)[_0x3716('0x1e')]();});}};}function handleEntityNotFound(_0x3e7452,_0x4daec7){return function(_0x3fd2bf){if(!_0x3fd2bf){_0x3e7452['sendStatus'](0x194);}return _0x3fd2bf;};}function handleError(_0x224451,_0x2c3df6){_0x2c3df6=_0x2c3df6||0x1f4;return function(_0x203310){logger['error'](_0x203310[_0x3716('0x2b')]);if(_0x203310['name']){delete _0x203310[_0x3716('0x2c')];}_0x224451[_0x3716('0x1d')](_0x2c3df6)['send'](_0x203310);};}exports[_0x3716('0x2d')]=function(_0x3dcf6b,_0x1c29b8){var _0xc5211={},_0x1e413c={},_0x4f76dc={'count':0x0,'rows':[]};var _0x2fdfa1=_[_0x3716('0x2e')](db[_0x3716('0x2f')][_0x3716('0x30')],function(_0x4fee70){return{'name':_0x4fee70[_0x3716('0x31')],'type':_0x4fee70[_0x3716('0x32')][_0x3716('0x33')]};});_0x1e413c[_0x3716('0x34')]=_[_0x3716('0x2e')](_0x2fdfa1,'name');_0x1e413c[_0x3716('0x35')]=_[_0x3716('0x36')](_0x3dcf6b[_0x3716('0x35')]);_0x1e413c['filters']=_['intersection'](_0x1e413c[_0x3716('0x34')],_0x1e413c[_0x3716('0x35')]);_0xc5211[_0x3716('0x37')]=_[_0x3716('0x38')](_0x1e413c['model'],qs[_0x3716('0x39')](_0x3dcf6b[_0x3716('0x35')][_0x3716('0x39')]));_0xc5211[_0x3716('0x37')]=_0xc5211[_0x3716('0x37')][_0x3716('0x3a')]?_0xc5211['attributes']:_0x1e413c[_0x3716('0x34')];if(!_0x3dcf6b[_0x3716('0x35')][_0x3716('0x3b')]('nolimit')){_0xc5211['limit']=qs[_0x3716('0x22')](_0x3dcf6b['query'][_0x3716('0x22')]);_0xc5211[_0x3716('0x1f')]=qs[_0x3716('0x1f')](_0x3dcf6b[_0x3716('0x35')][_0x3716('0x1f')]);}_0xc5211[_0x3716('0x3c')]=qs[_0x3716('0x3d')](_0x3dcf6b[_0x3716('0x35')]['sort']);_0xc5211[_0x3716('0x3e')]=qs[_0x3716('0x3f')](_[_0x3716('0x40')](_0x3dcf6b['query'],_0x1e413c[_0x3716('0x3f')]),_0x2fdfa1);if(_0x3dcf6b['query'][_0x3716('0x41')]){_0xc5211[_0x3716('0x3e')]=_[_0x3716('0x42')](_0xc5211[_0x3716('0x3e')],{'$or':_[_0x3716('0x2e')](_0x2fdfa1,function(_0x207d5e){if(_0x207d5e[_0x3716('0x32')]!==_0x3716('0x43')){var _0x4028b9={};_0x4028b9[_0x207d5e[_0x3716('0x2c')]]={'$like':'%'+_0x3dcf6b[_0x3716('0x35')]['filter']+'%'};return _0x4028b9;}})});}_0xc5211=_[_0x3716('0x42')]({},_0xc5211,_0x3dcf6b[_0x3716('0x44')]);var _0xe69c79={'where':_0xc5211[_0x3716('0x3e')]};return db['ChatQueueReport'][_0x3716('0x21')](_0xe69c79)[_0x3716('0x29')](function(_0x48a539){_0x4f76dc[_0x3716('0x21')]=_0x48a539;if(_0x3dcf6b[_0x3716('0x35')]['includeAll']){_0xc5211[_0x3716('0x45')]=[{'all':!![]}];}return db[_0x3716('0x2f')]['findAll'](_0xc5211);})[_0x3716('0x29')](function(_0xe4b86a){_0x4f76dc['rows']=_0xe4b86a;return _0x4f76dc;})[_0x3716('0x29')](respondWithFilteredResult(_0x1c29b8,_0xc5211))['catch'](handleError(_0x1c29b8,null));};exports[_0x3716('0x46')]=function(_0x215ca6,_0x50dabb){var _0x55147c={'raw':!![],'where':{'id':_0x215ca6[_0x3716('0x47')]['id']}},_0x100807={};_0x100807[_0x3716('0x34')]=_['keys'](db[_0x3716('0x2f')][_0x3716('0x30')]);_0x100807['query']=_[_0x3716('0x36')](_0x215ca6['query']);_0x100807[_0x3716('0x3f')]=_[_0x3716('0x38')](_0x100807[_0x3716('0x34')],_0x100807['query']);_0x55147c['attributes']=_[_0x3716('0x38')](_0x100807[_0x3716('0x34')],qs['fields'](_0x215ca6[_0x3716('0x35')][_0x3716('0x39')]));_0x55147c[_0x3716('0x37')]=_0x55147c[_0x3716('0x37')][_0x3716('0x3a')]?_0x55147c[_0x3716('0x37')]:_0x100807[_0x3716('0x34')];if(_0x215ca6['query'][_0x3716('0x48')]){_0x55147c[_0x3716('0x45')]=[{'all':!![]}];}_0x55147c=_[_0x3716('0x42')]({},_0x55147c,_0x215ca6[_0x3716('0x44')]);return db[_0x3716('0x2f')][_0x3716('0x49')](_0x55147c)[_0x3716('0x29')](handleEntityNotFound(_0x50dabb,null))['then'](respondWithResult(_0x50dabb,null))['catch'](handleError(_0x50dabb,null));};exports['create']=function(_0x5b5df8,_0x1ef5da){return db[_0x3716('0x2f')][_0x3716('0x4a')](_0x5b5df8[_0x3716('0x4b')],{})['then'](respondWithResult(_0x1ef5da,0xc9))[_0x3716('0x4c')](handleError(_0x1ef5da,null));};exports['update']=function(_0xf06450,_0x524088){if(_0xf06450[_0x3716('0x4b')]['id']){delete _0xf06450['body']['id'];}return db[_0x3716('0x2f')][_0x3716('0x49')]({'where':{'id':_0xf06450[_0x3716('0x47')]['id']}})[_0x3716('0x29')](handleEntityNotFound(_0x524088,null))[_0x3716('0x29')](saveUpdates(_0xf06450[_0x3716('0x4b')],null))[_0x3716('0x29')](respondWithResult(_0x524088,null))[_0x3716('0x4c')](handleError(_0x524088,null));};exports[_0x3716('0x2a')]=function(_0xca5eca,_0x3f05de){return db['ChatQueueReport']['find']({'where':{'id':_0xca5eca[_0x3716('0x47')]['id']}})[_0x3716('0x29')](handleEntityNotFound(_0x3f05de,null))['then'](removeEntity(_0x3f05de,null))[_0x3716('0x4c')](handleError(_0x3f05de,null));};exports[_0x3716('0x4d')]=function(_0x2e439e,_0x2ae48b){return db[_0x3716('0x2f')]['describe']()[_0x3716('0x29')](respondWithResult(_0x2ae48b,null))[_0x3716('0x4c')](handleError(_0x2ae48b,null));};
\ No newline at end of file
+var _0x975b=['ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','undefined','count','offset','set','Content-Range','apply','reject','update','then','destroy','stack','name','send','index','map','ChatQueueReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','fields','attributes','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','show','params','length','find','create','body','catch','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv'];(function(_0x1c8ff7,_0x2dbc21){var _0x44a301=function(_0x4c59c8){while(--_0x4c59c8){_0x1c8ff7['push'](_0x1c8ff7['shift']());}};_0x44a301(++_0x2dbc21);}(_0x975b,0x1c9));var _0xb975=function(_0x424fe4,_0x5ad6f9){_0x424fe4=_0x424fe4-0x0;var _0x24136d=_0x975b[_0x424fe4];return _0x24136d;};'use strict';var emlformat=require(_0xb975('0x0'));var rimraf=require(_0xb975('0x1'));var zipdir=require(_0xb975('0x2'));var jsonpatch=require(_0xb975('0x3'));var rp=require(_0xb975('0x4'));var moment=require(_0xb975('0x5'));var BPromise=require(_0xb975('0x6'));var Mustache=require('mustache');var util=require(_0xb975('0x7'));var path=require(_0xb975('0x8'));var sox=require(_0xb975('0x9'));var csv=require(_0xb975('0xa'));var ejs=require(_0xb975('0xb'));var fs=require('fs');var fs_extra=require(_0xb975('0xc'));var _=require(_0xb975('0xd'));var squel=require('squel');var crypto=require(_0xb975('0xe'));var jsforce=require(_0xb975('0xf'));var deskjs=require(_0xb975('0x10'));var toCsv=require('to-csv');var querystring=require(_0xb975('0x11'));var Papa=require(_0xb975('0x12'));var Redis=require(_0xb975('0x13'));var authService=require('../../components/auth/service');var qs=require(_0xb975('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xb975('0x15'));var logger=require('../../config/logger')(_0xb975('0x16'));var utils=require('../../config/utils');var config=require(_0xb975('0x17'));var licenseUtil=require(_0xb975('0x18'));var db=require(_0xb975('0x19'))['db'];function respondWithStatusCode(_0x1c4b77,_0x13ca28){_0x13ca28=_0x13ca28||0xcc;return function(_0x558727){if(_0x558727){return _0x1c4b77[_0xb975('0x1a')](_0x13ca28);}return _0x1c4b77[_0xb975('0x1b')](_0x13ca28)[_0xb975('0x1c')]();};}function respondWithResult(_0x24919e,_0x5cea50){_0x5cea50=_0x5cea50||0xc8;return function(_0x470ead){if(_0x470ead){return _0x24919e[_0xb975('0x1b')](_0x5cea50)[_0xb975('0x1d')](_0x470ead);}};}function respondWithFilteredResult(_0x4b1ede,_0x24f8ec){return function(_0x3da9e9){if(_0x3da9e9){var _0x36d959=typeof _0x24f8ec['offset']===_0xb975('0x1e')&&typeof _0x24f8ec['limit']===_0xb975('0x1e');var _0x34e062=_0x3da9e9[_0xb975('0x1f')];var _0x347a04=_0x36d959?0x0:_0x24f8ec[_0xb975('0x20')];var _0x327728=_0x36d959?_0x3da9e9[_0xb975('0x1f')]:_0x24f8ec['offset']+_0x24f8ec['limit'];var _0x2abb84;if(_0x327728>=_0x34e062){_0x327728=_0x34e062;_0x2abb84=0xc8;}else{_0x2abb84=0xce;}_0x4b1ede[_0xb975('0x1b')](_0x2abb84);return _0x4b1ede[_0xb975('0x21')](_0xb975('0x22'),_0x347a04+'-'+_0x327728+'/'+_0x34e062)['json'](_0x3da9e9);}return null;};}function patchUpdates(_0x39af85){return function(_0x49adfa){try{jsonpatch[_0xb975('0x23')](_0x49adfa,_0x39af85,!![]);}catch(_0x3f0876){return BPromise[_0xb975('0x24')](_0x3f0876);}return _0x49adfa['save']();};}function saveUpdates(_0xe7a5f0,_0x493c0b){return function(_0x5d1312){if(_0x5d1312){return _0x5d1312[_0xb975('0x25')](_0xe7a5f0)[_0xb975('0x26')](function(_0x226f21){return _0x226f21;});}return null;};}function removeEntity(_0xa4d4c,_0x35dcc6){return function(_0x5620fc){if(_0x5620fc){return _0x5620fc[_0xb975('0x27')]()['then'](function(){_0xa4d4c[_0xb975('0x1b')](0xcc)[_0xb975('0x1c')]();});}};}function handleEntityNotFound(_0xc0d861,_0x263f73){return function(_0x5309c6){if(!_0x5309c6){_0xc0d861[_0xb975('0x1a')](0x194);}return _0x5309c6;};}function handleError(_0x2824bf,_0x41905e){_0x41905e=_0x41905e||0x1f4;return function(_0xed596){logger['error'](_0xed596[_0xb975('0x28')]);if(_0xed596[_0xb975('0x29')]){delete _0xed596[_0xb975('0x29')];}_0x2824bf[_0xb975('0x1b')](_0x41905e)[_0xb975('0x2a')](_0xed596);};}exports[_0xb975('0x2b')]=function(_0x442bc6,_0x135cc9){var _0x2d730d={},_0x514451={},_0x2b1319={'count':0x0,'rows':[]};var _0x2b3ec2=_[_0xb975('0x2c')](db[_0xb975('0x2d')][_0xb975('0x2e')],function(_0x3bd5cb){return{'name':_0x3bd5cb[_0xb975('0x2f')],'type':_0x3bd5cb[_0xb975('0x30')][_0xb975('0x31')]};});_0x514451[_0xb975('0x32')]=_[_0xb975('0x2c')](_0x2b3ec2,'name');_0x514451[_0xb975('0x33')]=_['keys'](_0x442bc6['query']);_0x514451[_0xb975('0x34')]=_['intersection'](_0x514451[_0xb975('0x32')],_0x514451[_0xb975('0x33')]);_0x2d730d['attributes']=_[_0xb975('0x35')](_0x514451['model'],qs[_0xb975('0x36')](_0x442bc6[_0xb975('0x33')][_0xb975('0x36')]));_0x2d730d[_0xb975('0x37')]=_0x2d730d[_0xb975('0x37')]['length']?_0x2d730d[_0xb975('0x37')]:_0x514451['model'];if(!_0x442bc6['query'][_0xb975('0x38')](_0xb975('0x39'))){_0x2d730d[_0xb975('0x3a')]=qs[_0xb975('0x3a')](_0x442bc6[_0xb975('0x33')][_0xb975('0x3a')]);_0x2d730d[_0xb975('0x20')]=qs[_0xb975('0x20')](_0x442bc6['query'][_0xb975('0x20')]);}_0x2d730d[_0xb975('0x3b')]=qs['sort'](_0x442bc6[_0xb975('0x33')][_0xb975('0x3c')]);_0x2d730d[_0xb975('0x3d')]=qs[_0xb975('0x34')](_[_0xb975('0x3e')](_0x442bc6[_0xb975('0x33')],_0x514451[_0xb975('0x34')]),_0x2b3ec2);if(_0x442bc6['query'][_0xb975('0x3f')]){_0x2d730d['where']=_[_0xb975('0x40')](_0x2d730d[_0xb975('0x3d')],{'$or':_['map'](_0x2b3ec2,function(_0x2341e6){if(_0x2341e6['type']!==_0xb975('0x41')){var _0x378e54={};_0x378e54[_0x2341e6[_0xb975('0x29')]]={'$like':'%'+_0x442bc6[_0xb975('0x33')][_0xb975('0x3f')]+'%'};return _0x378e54;}})});}_0x2d730d=_[_0xb975('0x40')]({},_0x2d730d,_0x442bc6[_0xb975('0x42')]);var _0x2781ab={'where':_0x2d730d['where']};return db[_0xb975('0x2d')][_0xb975('0x1f')](_0x2781ab)[_0xb975('0x26')](function(_0x562e0d){_0x2b1319['count']=_0x562e0d;if(_0x442bc6[_0xb975('0x33')][_0xb975('0x43')]){_0x2d730d[_0xb975('0x44')]=[{'all':!![]}];}return db['ChatQueueReport']['findAll'](_0x2d730d);})[_0xb975('0x26')](function(_0x335011){_0x2b1319[_0xb975('0x45')]=_0x335011;return _0x2b1319;})[_0xb975('0x26')](respondWithFilteredResult(_0x135cc9,_0x2d730d))['catch'](handleError(_0x135cc9,null));};exports[_0xb975('0x46')]=function(_0x17d594,_0xe5c7e7){var _0x160e58={'raw':!![],'where':{'id':_0x17d594[_0xb975('0x47')]['id']}},_0x55f550={};_0x55f550[_0xb975('0x32')]=_['keys'](db['ChatQueueReport'][_0xb975('0x2e')]);_0x55f550['query']=_['keys'](_0x17d594[_0xb975('0x33')]);_0x55f550['filters']=_[_0xb975('0x35')](_0x55f550[_0xb975('0x32')],_0x55f550['query']);_0x160e58[_0xb975('0x37')]=_[_0xb975('0x35')](_0x55f550[_0xb975('0x32')],qs[_0xb975('0x36')](_0x17d594[_0xb975('0x33')]['fields']));_0x160e58[_0xb975('0x37')]=_0x160e58[_0xb975('0x37')][_0xb975('0x48')]?_0x160e58['attributes']:_0x55f550[_0xb975('0x32')];if(_0x17d594[_0xb975('0x33')][_0xb975('0x43')]){_0x160e58['include']=[{'all':!![]}];}_0x160e58=_[_0xb975('0x40')]({},_0x160e58,_0x17d594[_0xb975('0x42')]);return db[_0xb975('0x2d')][_0xb975('0x49')](_0x160e58)['then'](handleEntityNotFound(_0xe5c7e7,null))['then'](respondWithResult(_0xe5c7e7,null))['catch'](handleError(_0xe5c7e7,null));};exports[_0xb975('0x4a')]=function(_0x4483ba,_0x15bc77){return db[_0xb975('0x2d')][_0xb975('0x4a')](_0x4483ba[_0xb975('0x4b')],{})[_0xb975('0x26')](respondWithResult(_0x15bc77,0xc9))[_0xb975('0x4c')](handleError(_0x15bc77,null));};exports[_0xb975('0x25')]=function(_0x466251,_0x1a3268){if(_0x466251['body']['id']){delete _0x466251[_0xb975('0x4b')]['id'];}return db['ChatQueueReport']['find']({'where':{'id':_0x466251['params']['id']}})[_0xb975('0x26')](handleEntityNotFound(_0x1a3268,null))[_0xb975('0x26')](saveUpdates(_0x466251['body'],null))[_0xb975('0x26')](respondWithResult(_0x1a3268,null))[_0xb975('0x4c')](handleError(_0x1a3268,null));};exports[_0xb975('0x27')]=function(_0x22743c,_0x1f9544){return db[_0xb975('0x2d')][_0xb975('0x49')]({'where':{'id':_0x22743c[_0xb975('0x47')]['id']}})[_0xb975('0x26')](handleEntityNotFound(_0x1f9544,null))['then'](removeEntity(_0x1f9544,null))['catch'](handleError(_0x1f9544,null));};exports['describe']=function(_0x3cedf9,_0x1a1f97){return db['ChatQueueReport'][_0xb975('0x4d')]()[_0xb975('0x26')](respondWithResult(_0x1a1f97,null))[_0xb975('0x4c')](handleError(_0x1a1f97,null));};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.model.js b/server/api/chatQueueReport/chatQueueReport.model.js
index bc6f522..268d77e 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 _0xe706=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatQueueReport.attributes','exports','define','ChatQueueReport','report_chat_queue','uniqueid','lodash','util'];(function(_0x126a10,_0x7bde76){var _0x15a853=function(_0x2bd2d6){while(--_0x2bd2d6){_0x126a10['push'](_0x126a10['shift']());}};_0x15a853(++_0x7bde76);}(_0xe706,0xa3));var _0x6e70=function(_0xed9c99,_0x2217b1){_0xed9c99=_0xed9c99-0x0;var _0x5443a1=_0xe706[_0xed9c99];return _0x5443a1;};'use strict';var _=require(_0x6e70('0x0'));var util=require(_0x6e70('0x1'));var logger=require(_0x6e70('0x2'))('api');var moment=require(_0x6e70('0x3'));var BPromise=require(_0x6e70('0x4'));var rp=require(_0x6e70('0x5'));var fs=require('fs');var path=require(_0x6e70('0x6'));var rimraf=require(_0x6e70('0x7'));var config=require(_0x6e70('0x8'));var attributes=require(_0x6e70('0x9'));module[_0x6e70('0xa')]=function(_0x1b0389,_0x4381d1){return _0x1b0389[_0x6e70('0xb')](_0x6e70('0xc'),attributes,{'tableName':_0x6e70('0xd'),'paranoid':![],'indexes':[{'name':_0x6e70('0xe'),'fields':[_0x6e70('0xe')]}],'timestamps':!![]});};
\ No newline at end of file
+var _0xe706=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatQueueReport.attributes','exports','define','ChatQueueReport','report_chat_queue','uniqueid','lodash','util'];(function(_0x443547,_0x21d7a8){var _0x1423a8=function(_0x2f8d47){while(--_0x2f8d47){_0x443547['push'](_0x443547['shift']());}};_0x1423a8(++_0x21d7a8);}(_0xe706,0xa3));var _0x6e70=function(_0x4b3e49,_0x9e566c){_0x4b3e49=_0x4b3e49-0x0;var _0x57e339=_0xe706[_0x4b3e49];return _0x57e339;};'use strict';var _=require(_0x6e70('0x0'));var util=require(_0x6e70('0x1'));var logger=require(_0x6e70('0x2'))('api');var moment=require(_0x6e70('0x3'));var BPromise=require(_0x6e70('0x4'));var rp=require(_0x6e70('0x5'));var fs=require('fs');var path=require(_0x6e70('0x6'));var rimraf=require(_0x6e70('0x7'));var config=require(_0x6e70('0x8'));var attributes=require(_0x6e70('0x9'));module[_0x6e70('0xa')]=function(_0x1b0389,_0x4381d1){return _0x1b0389[_0x6e70('0xb')](_0x6e70('0xc'),attributes,{'tableName':_0x6e70('0xd'),'paranoid':![],'indexes':[{'name':_0x6e70('0xe'),'fields':[_0x6e70('0xe')]}],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.rpc.js b/server/api/chatQueueReport/chatQueueReport.rpc.js
index c572409..eaabd84 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 _0x8a31=['limit','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','request','then','info','ChatQueueReport,\x20%s,\x20%s','request\x20sent','debug','ChatQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','CreateChatQueueReport','ChatQueueReport','create','body','options','raw','UpdateChatQueueReport','where','attributes'];(function(_0x3c6152,_0x555b70){var _0x54ec67=function(_0x30f3cf){while(--_0x30f3cf){_0x3c6152['push'](_0x3c6152['shift']());}};_0x54ec67(++_0x555b70);}(_0x8a31,0xa1));var _0x18a3=function(_0x2fff83,_0x29d5fe){_0x2fff83=_0x2fff83-0x0;var _0xa2a722=_0x8a31[_0x2fff83];return _0xa2a722;};'use strict';var _=require('lodash');var util=require(_0x18a3('0x0'));var moment=require(_0x18a3('0x1'));var BPromise=require(_0x18a3('0x2'));var rs=require(_0x18a3('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x18a3('0x4'))['db'];var utils=require(_0x18a3('0x5'));var logger=require(_0x18a3('0x6'))(_0x18a3('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x18a3('0x8')][_0x18a3('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x909b9c,_0x1e1f31,_0x579339){return new BPromise(function(_0x2bec04,_0x14d6cc){return client[_0x18a3('0xa')](_0x909b9c,_0x579339)[_0x18a3('0xb')](function(_0x1c9330){logger[_0x18a3('0xc')](_0x18a3('0xd'),_0x1e1f31,_0x18a3('0xe'));logger[_0x18a3('0xf')](_0x18a3('0x10'),_0x1e1f31,_0x18a3('0xe'),JSON[_0x18a3('0x11')](_0x1c9330));if(_0x1c9330[_0x18a3('0x12')]){if(_0x1c9330[_0x18a3('0x12')][_0x18a3('0x13')]===0x1f4){logger[_0x18a3('0x12')]('ChatQueueReport,\x20%s,\x20%s',_0x1e1f31,_0x1c9330[_0x18a3('0x12')][_0x18a3('0x14')]);return _0x14d6cc(_0x1c9330[_0x18a3('0x12')][_0x18a3('0x14')]);}logger[_0x18a3('0x12')](_0x18a3('0xd'),_0x1e1f31,_0x1c9330[_0x18a3('0x12')][_0x18a3('0x14')]);return _0x2bec04(_0x1c9330[_0x18a3('0x12')]['message']);}else{logger[_0x18a3('0xc')]('ChatQueueReport,\x20%s,\x20%s',_0x1e1f31,_0x18a3('0xe'));_0x2bec04(_0x1c9330['result'][_0x18a3('0x14')]);}})[_0x18a3('0x15')](function(_0x1ff663){logger[_0x18a3('0x12')](_0x18a3('0xd'),_0x1e1f31,_0x1ff663);_0x14d6cc(_0x1ff663);});});}exports[_0x18a3('0x16')]=function(_0xb0f847){var _0x35e6b6=this;return new Promise(function(_0x44e429,_0x15be03){return db[_0x18a3('0x17')][_0x18a3('0x18')](_0xb0f847[_0x18a3('0x19')],{'raw':_0xb0f847[_0x18a3('0x1a')]?_0xb0f847[_0x18a3('0x1a')][_0x18a3('0x1b')]===undefined?!![]:![]:!![]})['then'](function(_0x528994){logger[_0x18a3('0xc')](_0x18a3('0x16'),_0xb0f847);logger['debug'](_0x18a3('0x16'),_0xb0f847,JSON[_0x18a3('0x11')](_0x528994));_0x44e429(_0x528994);})[_0x18a3('0x15')](function(_0x2dcb88){logger['error']('CreateChatQueueReport',_0x2dcb88[_0x18a3('0x14')],_0xb0f847);_0x15be03(_0x35e6b6[_0x18a3('0x12')](0x1f4,_0x2dcb88[_0x18a3('0x14')]));});});};exports[_0x18a3('0x1c')]=function(_0x4bbf3b){var _0x2ca4=this;return new Promise(function(_0x2b0bc0,_0x458aee){return db['ChatQueueReport']['update'](_0x4bbf3b[_0x18a3('0x19')],{'raw':_0x4bbf3b['options']?_0x4bbf3b[_0x18a3('0x1a')][_0x18a3('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4bbf3b[_0x18a3('0x1a')]?_0x4bbf3b[_0x18a3('0x1a')][_0x18a3('0x1d')]||null:null,'attributes':_0x4bbf3b['options']?_0x4bbf3b[_0x18a3('0x1a')][_0x18a3('0x1e')]||null:null,'limit':_0x4bbf3b['options']?_0x4bbf3b['options'][_0x18a3('0x1f')]||null:null})[_0x18a3('0xb')](function(_0x47cac8){logger[_0x18a3('0xc')](_0x18a3('0x1c'),_0x4bbf3b);logger[_0x18a3('0xf')](_0x18a3('0x1c'),_0x4bbf3b,JSON[_0x18a3('0x11')](_0x47cac8));_0x2b0bc0(_0x47cac8);})[_0x18a3('0x15')](function(_0x25a455){logger['error'](_0x18a3('0x1c'),_0x25a455[_0x18a3('0x14')],_0x4bbf3b);_0x458aee(_0x2ca4[_0x18a3('0x12')](0x1f4,_0x25a455[_0x18a3('0x14')]));});});};
\ No newline at end of file
+var _0x9e09=['raw','catch','UpdateChatQueueReport','update','body','where','attributes','debug','lodash','util','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','then','info','ChatQueueReport,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','CreateChatQueueReport','ChatQueueReport','options'];(function(_0x22845f,_0xa8a62f){var _0x6dce84=function(_0x331636){while(--_0x331636){_0x22845f['push'](_0x22845f['shift']());}};_0x6dce84(++_0xa8a62f);}(_0x9e09,0x152));var _0x99e0=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x9e09[_0x6131cd];return _0x47e916;};'use strict';var _=require(_0x99e0('0x0'));var util=require(_0x99e0('0x1'));var moment=require('moment');var BPromise=require(_0x99e0('0x2'));var rs=require(_0x99e0('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x99e0('0x4'))['db'];var utils=require(_0x99e0('0x5'));var logger=require(_0x99e0('0x6'))(_0x99e0('0x7'));var config=require('../../config/environment');var jayson=require(_0x99e0('0x8'));var client=jayson[_0x99e0('0x9')][_0x99e0('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x121eeb,_0x1f8df0,_0x3c4afa){return new BPromise(function(_0x5d4f56,_0x24131f){return client['request'](_0x121eeb,_0x3c4afa)[_0x99e0('0xb')](function(_0xecd6e5){logger[_0x99e0('0xc')](_0x99e0('0xd'),_0x1f8df0,_0x99e0('0xe'));logger['debug']('ChatQueueReport,\x20%s,\x20%s,\x20%s',_0x1f8df0,'request\x20sent',JSON[_0x99e0('0xf')](_0xecd6e5));if(_0xecd6e5['error']){if(_0xecd6e5[_0x99e0('0x10')][_0x99e0('0x11')]===0x1f4){logger[_0x99e0('0x10')]('ChatQueueReport,\x20%s,\x20%s',_0x1f8df0,_0xecd6e5['error'][_0x99e0('0x12')]);return _0x24131f(_0xecd6e5[_0x99e0('0x10')][_0x99e0('0x12')]);}logger['error'](_0x99e0('0xd'),_0x1f8df0,_0xecd6e5[_0x99e0('0x10')][_0x99e0('0x12')]);return _0x5d4f56(_0xecd6e5[_0x99e0('0x10')][_0x99e0('0x12')]);}else{logger[_0x99e0('0xc')](_0x99e0('0xd'),_0x1f8df0,_0x99e0('0xe'));_0x5d4f56(_0xecd6e5['result'][_0x99e0('0x12')]);}})['catch'](function(_0x158b21){logger[_0x99e0('0x10')](_0x99e0('0xd'),_0x1f8df0,_0x158b21);_0x24131f(_0x158b21);});});}exports[_0x99e0('0x13')]=function(_0x5e8b35){var _0x2895e5=this;return new Promise(function(_0x5e32da,_0x4c64ca){return db[_0x99e0('0x14')]['create'](_0x5e8b35['body'],{'raw':_0x5e8b35[_0x99e0('0x15')]?_0x5e8b35[_0x99e0('0x15')][_0x99e0('0x16')]===undefined?!![]:![]:!![]})[_0x99e0('0xb')](function(_0x2db5a5){logger[_0x99e0('0xc')](_0x99e0('0x13'),_0x5e8b35);logger['debug']('CreateChatQueueReport',_0x5e8b35,JSON[_0x99e0('0xf')](_0x2db5a5));_0x5e32da(_0x2db5a5);})[_0x99e0('0x17')](function(_0x30e1d5){logger[_0x99e0('0x10')]('CreateChatQueueReport',_0x30e1d5[_0x99e0('0x12')],_0x5e8b35);_0x4c64ca(_0x2895e5[_0x99e0('0x10')](0x1f4,_0x30e1d5['message']));});});};exports[_0x99e0('0x18')]=function(_0x29a7dd){var _0x1899ee=this;return new Promise(function(_0x579658,_0x3565dd){return db[_0x99e0('0x14')][_0x99e0('0x19')](_0x29a7dd[_0x99e0('0x1a')],{'raw':_0x29a7dd[_0x99e0('0x15')]?_0x29a7dd[_0x99e0('0x15')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x29a7dd[_0x99e0('0x15')]?_0x29a7dd[_0x99e0('0x15')][_0x99e0('0x1b')]||null:null,'attributes':_0x29a7dd[_0x99e0('0x15')]?_0x29a7dd['options'][_0x99e0('0x1c')]||null:null,'limit':_0x29a7dd['options']?_0x29a7dd[_0x99e0('0x15')]['limit']||null:null})[_0x99e0('0xb')](function(_0x540cdf){logger[_0x99e0('0xc')](_0x99e0('0x18'),_0x29a7dd);logger[_0x99e0('0x1d')](_0x99e0('0x18'),_0x29a7dd,JSON[_0x99e0('0xf')](_0x540cdf));_0x579658(_0x540cdf);})[_0x99e0('0x17')](function(_0x2261d1){logger[_0x99e0('0x10')](_0x99e0('0x18'),_0x2261d1['message'],_0x29a7dd);_0x3565dd(_0x1899ee[_0x99e0('0x10')](0x1f4,_0x2261d1[_0x99e0('0x12')]));});});};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/index.js b/server/api/chatQueueReport/index.js
index fef8ad5..dfc5f33 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 _0xdd4c=['../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra'];(function(_0x1e03a6,_0xf0349){var _0x295b64=function(_0x1ad0a5){while(--_0x1ad0a5){_0x1e03a6['push'](_0x1e03a6['shift']());}};_0x295b64(++_0xf0349);}(_0xdd4c,0x13c));var _0xcdd4=function(_0x378c89,_0x1b9a0e){_0x378c89=_0x378c89-0x0;var _0x2abed8=_0xdd4c[_0x378c89];return _0x2abed8;};'use strict';var multer=require(_0xcdd4('0x0'));var util=require(_0xcdd4('0x1'));var path=require('path');var timeout=require(_0xcdd4('0x2'));var express=require(_0xcdd4('0x3'));var router=express[_0xcdd4('0x4')]();var fs_extra=require(_0xcdd4('0x5'));var auth=require(_0xcdd4('0x6'));var interaction=require(_0xcdd4('0x7'));var config=require(_0xcdd4('0x8'));var controller=require(_0xcdd4('0x9'));router['get']('/',auth[_0xcdd4('0xa')](),controller[_0xcdd4('0xb')]);router[_0xcdd4('0xc')](_0xcdd4('0xd'),auth['isAuthenticated'](),controller[_0xcdd4('0xe')]);router[_0xcdd4('0xc')](_0xcdd4('0xf'),auth[_0xcdd4('0xa')](),controller[_0xcdd4('0x10')]);router[_0xcdd4('0x11')]('/',auth[_0xcdd4('0xa')](),controller[_0xcdd4('0x12')]);router[_0xcdd4('0x13')](_0xcdd4('0xf'),auth['isAuthenticated'](),controller[_0xcdd4('0x14')]);router['delete']('/:id',auth[_0xcdd4('0xa')](),controller[_0xcdd4('0x15')]);module[_0xcdd4('0x16')]=router;
\ No newline at end of file
+var _0x66f5=['show','post','put','update','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/:id'];(function(_0x2876a0,_0x5a09e3){var _0x5c4aae=function(_0x499cd2){while(--_0x499cd2){_0x2876a0['push'](_0x2876a0['shift']());}};_0x5c4aae(++_0x5a09e3);}(_0x66f5,0x1a7));var _0x566f=function(_0x5c1df6,_0x1a4cde){_0x5c1df6=_0x5c1df6-0x0;var _0x26b82c=_0x66f5[_0x5c1df6];return _0x26b82c;};'use strict';var multer=require(_0x566f('0x0'));var util=require(_0x566f('0x1'));var path=require(_0x566f('0x2'));var timeout=require(_0x566f('0x3'));var express=require('express');var router=express[_0x566f('0x4')]();var fs_extra=require(_0x566f('0x5'));var auth=require(_0x566f('0x6'));var interaction=require(_0x566f('0x7'));var config=require(_0x566f('0x8'));var controller=require(_0x566f('0x9'));router[_0x566f('0xa')]('/',auth[_0x566f('0xb')](),controller[_0x566f('0xc')]);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x566f('0xa')](_0x566f('0xd'),auth[_0x566f('0xb')](),controller[_0x566f('0xe')]);router[_0x566f('0xf')]('/',auth[_0x566f('0xb')](),controller['create']);router[_0x566f('0x10')](_0x566f('0xd'),auth['isAuthenticated'](),controller[_0x566f('0x11')]);router['delete'](_0x566f('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x566f('0x12')]=router;
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.attributes.js b/server/api/chatTransferReport/chatTransferReport.attributes.js
index 7a9c545..e174f3a 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 _0x4b84=['moment','sequelize','ENUM','queue','DATE'];(function(_0x4ea4ec,_0x390973){var _0xb8d8b1=function(_0x4c63fc){while(--_0x4c63fc){_0x4ea4ec['push'](_0x4ea4ec['shift']());}};_0xb8d8b1(++_0x390973);}(_0x4b84,0x1cc));var _0x44b8=function(_0x92c450,_0x41f1e3){_0x92c450=_0x92c450-0x0;var _0x2a9599=_0x4b84[_0x92c450];return _0x2a9599;};'use strict';var moment=require(_0x44b8('0x0'));var Sequelize=require(_0x44b8('0x1'));module['exports']={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0x44b8('0x2')]('account','agent',_0x44b8('0x3')),'allowNull':![],'defaultValue':_0x44b8('0x3')},'transferredAt':{'type':Sequelize[_0x44b8('0x4')],'allowNull':![],'defaultValue':Sequelize['NOW']}};
\ No newline at end of file
+var _0xf3cd=['exports','STRING','ENUM','account','queue','DATE','moment','sequelize'];(function(_0x17c4f1,_0x178aa0){var _0x4336eb=function(_0x3c30cb){while(--_0x3c30cb){_0x17c4f1['push'](_0x17c4f1['shift']());}};_0x4336eb(++_0x178aa0);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x249d99,_0x16b584){_0x249d99=_0x249d99-0x0;var _0x5bfb05=_0xf3cd[_0x249d99];return _0x5bfb05;};'use strict';var moment=require(_0xdf3c('0x0'));var Sequelize=require(_0xdf3c('0x1'));module[_0xdf3c('0x2')]={'uniqueid':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0xdf3c('0x4')](_0xdf3c('0x5'),'agent',_0xdf3c('0x6')),'allowNull':![],'defaultValue':_0xdf3c('0x6')},'transferredAt':{'type':Sequelize[_0xdf3c('0x7')],'allowNull':![],'defaultValue':Sequelize['NOW']}};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.controller.js b/server/api/chatTransferReport/chatTransferReport.controller.js
index c6ef2e9..c0f8251 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 _0xe168=['undefined','offset','count','set','Content-Range','apply','reject','then','destroy','end','error','name','send','map','ChatTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','catch','show','params','find','create','body','update','describe','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','crypto','jsforce','desk.js','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','limit'];(function(_0x43519c,_0x5629a5){var _0x40af3e=function(_0xbb77e0){while(--_0xbb77e0){_0x43519c['push'](_0x43519c['shift']());}};_0x40af3e(++_0x5629a5);}(_0xe168,0xc2));var _0x8e16=function(_0x4b28cc,_0x2175f5){_0x4b28cc=_0x4b28cc-0x0;var _0x18c28e=_0xe168[_0x4b28cc];return _0x18c28e;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x8e16('0x0'));var zipdir=require(_0x8e16('0x1'));var jsonpatch=require(_0x8e16('0x2'));var rp=require('request-promise');var moment=require(_0x8e16('0x3'));var BPromise=require(_0x8e16('0x4'));var Mustache=require(_0x8e16('0x5'));var util=require(_0x8e16('0x6'));var path=require(_0x8e16('0x7'));var sox=require(_0x8e16('0x8'));var csv=require(_0x8e16('0x9'));var ejs=require(_0x8e16('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require('squel');var crypto=require(_0x8e16('0xb'));var jsforce=require(_0x8e16('0xc'));var deskjs=require(_0x8e16('0xd'));var toCsv=require(_0x8e16('0x9'));var querystring=require(_0x8e16('0xe'));var Papa=require('papaparse');var Redis=require(_0x8e16('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x8e16('0x10'));var as=require(_0x8e16('0x11'));var hardwareService=require(_0x8e16('0x12'));var logger=require(_0x8e16('0x13'))(_0x8e16('0x14'));var utils=require('../../config/utils');var config=require(_0x8e16('0x15'));var licenseUtil=require(_0x8e16('0x16'));var db=require(_0x8e16('0x17'))['db'];function respondWithStatusCode(_0x497b05,_0x15ccdd){_0x15ccdd=_0x15ccdd||0xcc;return function(_0x42cd4e){if(_0x42cd4e){return _0x497b05[_0x8e16('0x18')](_0x15ccdd);}return _0x497b05[_0x8e16('0x19')](_0x15ccdd)['end']();};}function respondWithResult(_0x42ecf6,_0x11f553){_0x11f553=_0x11f553||0xc8;return function(_0x113c46){if(_0x113c46){return _0x42ecf6[_0x8e16('0x19')](_0x11f553)[_0x8e16('0x1a')](_0x113c46);}};}function respondWithFilteredResult(_0x451c85,_0x589998){return function(_0x342f92){if(_0x342f92){var _0x48eeed=typeof _0x589998['offset']==='undefined'&&typeof _0x589998[_0x8e16('0x1b')]===_0x8e16('0x1c');var _0x24a523=_0x342f92['count'];var _0x5abce8=_0x48eeed?0x0:_0x589998[_0x8e16('0x1d')];var _0x5213ec=_0x48eeed?_0x342f92[_0x8e16('0x1e')]:_0x589998[_0x8e16('0x1d')]+_0x589998['limit'];var _0x5e5414;if(_0x5213ec>=_0x24a523){_0x5213ec=_0x24a523;_0x5e5414=0xc8;}else{_0x5e5414=0xce;}_0x451c85['status'](_0x5e5414);return _0x451c85[_0x8e16('0x1f')](_0x8e16('0x20'),_0x5abce8+'-'+_0x5213ec+'/'+_0x24a523)[_0x8e16('0x1a')](_0x342f92);}return null;};}function patchUpdates(_0xa34be7){return function(_0x3dcf05){try{jsonpatch[_0x8e16('0x21')](_0x3dcf05,_0xa34be7,!![]);}catch(_0x5984e1){return BPromise[_0x8e16('0x22')](_0x5984e1);}return _0x3dcf05['save']();};}function saveUpdates(_0x1d49d9,_0x565c89){return function(_0x5287f7){if(_0x5287f7){return _0x5287f7['update'](_0x1d49d9)[_0x8e16('0x23')](function(_0x2f6fa3){return _0x2f6fa3;});}return null;};}function removeEntity(_0x5df17d,_0x3250eb){return function(_0x146a41){if(_0x146a41){return _0x146a41[_0x8e16('0x24')]()['then'](function(){_0x5df17d[_0x8e16('0x19')](0xcc)[_0x8e16('0x25')]();});}};}function handleEntityNotFound(_0x173918,_0x1ec633){return function(_0x1f2295){if(!_0x1f2295){_0x173918[_0x8e16('0x18')](0x194);}return _0x1f2295;};}function handleError(_0x1b912f,_0x8dbd31){_0x8dbd31=_0x8dbd31||0x1f4;return function(_0x5c5ffc){logger[_0x8e16('0x26')](_0x5c5ffc['stack']);if(_0x5c5ffc[_0x8e16('0x27')]){delete _0x5c5ffc[_0x8e16('0x27')];}_0x1b912f[_0x8e16('0x19')](_0x8dbd31)[_0x8e16('0x28')](_0x5c5ffc);};}exports['index']=function(_0x4b0bd3,_0x5257e4){var _0x376f22={},_0x4c1e51={},_0xa26b2f={'count':0x0,'rows':[]};var _0x40f961=_[_0x8e16('0x29')](db[_0x8e16('0x2a')][_0x8e16('0x2b')],function(_0x2716f3){return{'name':_0x2716f3[_0x8e16('0x2c')],'type':_0x2716f3[_0x8e16('0x2d')][_0x8e16('0x2e')]};});_0x4c1e51[_0x8e16('0x2f')]=_[_0x8e16('0x29')](_0x40f961,_0x8e16('0x27'));_0x4c1e51[_0x8e16('0x30')]=_[_0x8e16('0x31')](_0x4b0bd3[_0x8e16('0x30')]);_0x4c1e51[_0x8e16('0x32')]=_[_0x8e16('0x33')](_0x4c1e51[_0x8e16('0x2f')],_0x4c1e51['query']);_0x376f22[_0x8e16('0x34')]=_['intersection'](_0x4c1e51[_0x8e16('0x2f')],qs[_0x8e16('0x35')](_0x4b0bd3[_0x8e16('0x30')][_0x8e16('0x35')]));_0x376f22[_0x8e16('0x34')]=_0x376f22[_0x8e16('0x34')][_0x8e16('0x36')]?_0x376f22[_0x8e16('0x34')]:_0x4c1e51[_0x8e16('0x2f')];if(!_0x4b0bd3[_0x8e16('0x30')]['hasOwnProperty']('nolimit')){_0x376f22[_0x8e16('0x1b')]=qs[_0x8e16('0x1b')](_0x4b0bd3[_0x8e16('0x30')][_0x8e16('0x1b')]);_0x376f22[_0x8e16('0x1d')]=qs[_0x8e16('0x1d')](_0x4b0bd3['query']['offset']);}_0x376f22[_0x8e16('0x37')]=qs[_0x8e16('0x38')](_0x4b0bd3[_0x8e16('0x30')]['sort']);_0x376f22[_0x8e16('0x39')]=qs[_0x8e16('0x32')](_[_0x8e16('0x3a')](_0x4b0bd3[_0x8e16('0x30')],_0x4c1e51['filters']),_0x40f961);if(_0x4b0bd3[_0x8e16('0x30')][_0x8e16('0x3b')]){_0x376f22[_0x8e16('0x39')]=_[_0x8e16('0x3c')](_0x376f22[_0x8e16('0x39')],{'$or':_[_0x8e16('0x29')](_0x40f961,function(_0x451c99){if(_0x451c99[_0x8e16('0x2d')]!==_0x8e16('0x3d')){var _0x1fabc7={};_0x1fabc7[_0x451c99[_0x8e16('0x27')]]={'$like':'%'+_0x4b0bd3[_0x8e16('0x30')][_0x8e16('0x3b')]+'%'};return _0x1fabc7;}})});}_0x376f22=_[_0x8e16('0x3c')]({},_0x376f22,_0x4b0bd3[_0x8e16('0x3e')]);var _0x1326c1={'where':_0x376f22['where']};return db[_0x8e16('0x2a')]['count'](_0x1326c1)[_0x8e16('0x23')](function(_0x364d90){_0xa26b2f[_0x8e16('0x1e')]=_0x364d90;if(_0x4b0bd3['query'][_0x8e16('0x3f')]){_0x376f22[_0x8e16('0x40')]=[{'all':!![]}];}return db['ChatTransferReport']['findAll'](_0x376f22);})[_0x8e16('0x23')](function(_0x4ac420){_0xa26b2f[_0x8e16('0x41')]=_0x4ac420;return _0xa26b2f;})['then'](respondWithFilteredResult(_0x5257e4,_0x376f22))[_0x8e16('0x42')](handleError(_0x5257e4,null));};exports[_0x8e16('0x43')]=function(_0xdcbffb,_0x35ed41){var _0x5e3b89={'raw':!![],'where':{'id':_0xdcbffb[_0x8e16('0x44')]['id']}},_0xc23543={};_0xc23543[_0x8e16('0x2f')]=_[_0x8e16('0x31')](db[_0x8e16('0x2a')][_0x8e16('0x2b')]);_0xc23543[_0x8e16('0x30')]=_['keys'](_0xdcbffb[_0x8e16('0x30')]);_0xc23543['filters']=_[_0x8e16('0x33')](_0xc23543['model'],_0xc23543[_0x8e16('0x30')]);_0x5e3b89[_0x8e16('0x34')]=_[_0x8e16('0x33')](_0xc23543['model'],qs[_0x8e16('0x35')](_0xdcbffb[_0x8e16('0x30')][_0x8e16('0x35')]));_0x5e3b89['attributes']=_0x5e3b89[_0x8e16('0x34')][_0x8e16('0x36')]?_0x5e3b89[_0x8e16('0x34')]:_0xc23543[_0x8e16('0x2f')];if(_0xdcbffb['query'][_0x8e16('0x3f')]){_0x5e3b89[_0x8e16('0x40')]=[{'all':!![]}];}_0x5e3b89=_[_0x8e16('0x3c')]({},_0x5e3b89,_0xdcbffb['options']);return db[_0x8e16('0x2a')][_0x8e16('0x45')](_0x5e3b89)['then'](handleEntityNotFound(_0x35ed41,null))['then'](respondWithResult(_0x35ed41,null))[_0x8e16('0x42')](handleError(_0x35ed41,null));};exports[_0x8e16('0x46')]=function(_0x455d81,_0x3519b5){return db[_0x8e16('0x2a')][_0x8e16('0x46')](_0x455d81[_0x8e16('0x47')],{})[_0x8e16('0x23')](respondWithResult(_0x3519b5,0xc9))[_0x8e16('0x42')](handleError(_0x3519b5,null));};exports[_0x8e16('0x48')]=function(_0x5f4fbc,_0x381d1d){if(_0x5f4fbc[_0x8e16('0x47')]['id']){delete _0x5f4fbc[_0x8e16('0x47')]['id'];}return db[_0x8e16('0x2a')][_0x8e16('0x45')]({'where':{'id':_0x5f4fbc[_0x8e16('0x44')]['id']}})[_0x8e16('0x23')](handleEntityNotFound(_0x381d1d,null))[_0x8e16('0x23')](saveUpdates(_0x5f4fbc['body'],null))[_0x8e16('0x23')](respondWithResult(_0x381d1d,null))[_0x8e16('0x42')](handleError(_0x381d1d,null));};exports['destroy']=function(_0x53e9a0,_0x326542){return db[_0x8e16('0x2a')][_0x8e16('0x45')]({'where':{'id':_0x53e9a0[_0x8e16('0x44')]['id']}})[_0x8e16('0x23')](handleEntityNotFound(_0x326542,null))[_0x8e16('0x23')](removeEntity(_0x326542,null))[_0x8e16('0x42')](handleError(_0x326542,null));};exports[_0x8e16('0x49')]=function(_0x408a74,_0xc95c8a){return db[_0x8e16('0x2a')]['describe']()['then'](respondWithResult(_0xc95c8a,null))[_0x8e16('0x42')](handleError(_0xc95c8a,null));};
\ No newline at end of file
+var _0x9a8a=['squel','crypto','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','apply','reject','save','update','destroy','then','stack','name','send','index','rawAttributes','fieldName','type','key','model','map','keys','intersection','query','fields','attributes','length','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','ChatTransferReport','include','findAll','rows','catch','show','params','find','create','body','describe','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash'];(function(_0x1470cf,_0x3f3189){var _0x548430=function(_0x5a7727){while(--_0x5a7727){_0x1470cf['push'](_0x1470cf['shift']());}};_0x548430(++_0x3f3189);}(_0x9a8a,0x1d9));var _0xa9a8=function(_0x1a8c9d,_0x1486b2){_0x1a8c9d=_0x1a8c9d-0x0;var _0x292cee=_0x9a8a[_0x1a8c9d];return _0x292cee;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xa9a8('0x0'));var zipdir=require(_0xa9a8('0x1'));var jsonpatch=require(_0xa9a8('0x2'));var rp=require('request-promise');var moment=require(_0xa9a8('0x3'));var BPromise=require(_0xa9a8('0x4'));var Mustache=require(_0xa9a8('0x5'));var util=require(_0xa9a8('0x6'));var path=require(_0xa9a8('0x7'));var sox=require(_0xa9a8('0x8'));var csv=require(_0xa9a8('0x9'));var ejs=require(_0xa9a8('0xa'));var fs=require('fs');var fs_extra=require(_0xa9a8('0xb'));var _=require(_0xa9a8('0xc'));var squel=require(_0xa9a8('0xd'));var crypto=require(_0xa9a8('0xe'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xa9a8('0xf'));var Papa=require(_0xa9a8('0x10'));var Redis=require(_0xa9a8('0x11'));var authService=require(_0xa9a8('0x12'));var qs=require(_0xa9a8('0x13'));var as=require(_0xa9a8('0x14'));var hardwareService=require(_0xa9a8('0x15'));var logger=require(_0xa9a8('0x16'))(_0xa9a8('0x17'));var utils=require(_0xa9a8('0x18'));var config=require(_0xa9a8('0x19'));var licenseUtil=require(_0xa9a8('0x1a'));var db=require(_0xa9a8('0x1b'))['db'];function respondWithStatusCode(_0x427452,_0xdfa7aa){_0xdfa7aa=_0xdfa7aa||0xcc;return function(_0xaff158){if(_0xaff158){return _0x427452[_0xa9a8('0x1c')](_0xdfa7aa);}return _0x427452['status'](_0xdfa7aa)[_0xa9a8('0x1d')]();};}function respondWithResult(_0x25c69f,_0x1af85d){_0x1af85d=_0x1af85d||0xc8;return function(_0x153a5d){if(_0x153a5d){return _0x25c69f[_0xa9a8('0x1e')](_0x1af85d)[_0xa9a8('0x1f')](_0x153a5d);}};}function respondWithFilteredResult(_0x2390c7,_0x233b36){return function(_0x4304f3){if(_0x4304f3){var _0x5dcfdf=typeof _0x233b36[_0xa9a8('0x20')]===_0xa9a8('0x21')&&typeof _0x233b36[_0xa9a8('0x22')]===_0xa9a8('0x21');var _0x8d173e=_0x4304f3['count'];var _0x4ba0bc=_0x5dcfdf?0x0:_0x233b36[_0xa9a8('0x20')];var _0x4dd1a4=_0x5dcfdf?_0x4304f3[_0xa9a8('0x23')]:_0x233b36[_0xa9a8('0x20')]+_0x233b36[_0xa9a8('0x22')];var _0x233a63;if(_0x4dd1a4>=_0x8d173e){_0x4dd1a4=_0x8d173e;_0x233a63=0xc8;}else{_0x233a63=0xce;}_0x2390c7['status'](_0x233a63);return _0x2390c7[_0xa9a8('0x24')](_0xa9a8('0x25'),_0x4ba0bc+'-'+_0x4dd1a4+'/'+_0x8d173e)['json'](_0x4304f3);}return null;};}function patchUpdates(_0x276db4){return function(_0x501f47){try{jsonpatch[_0xa9a8('0x26')](_0x501f47,_0x276db4,!![]);}catch(_0x15770c){return BPromise[_0xa9a8('0x27')](_0x15770c);}return _0x501f47[_0xa9a8('0x28')]();};}function saveUpdates(_0x270aeb,_0x40ffa2){return function(_0x5d53f0){if(_0x5d53f0){return _0x5d53f0[_0xa9a8('0x29')](_0x270aeb)['then'](function(_0x3f5ce1){return _0x3f5ce1;});}return null;};}function removeEntity(_0x1c865d,_0x4441be){return function(_0x90e240){if(_0x90e240){return _0x90e240[_0xa9a8('0x2a')]()[_0xa9a8('0x2b')](function(){_0x1c865d[_0xa9a8('0x1e')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3cd4ce,_0x4e9f77){return function(_0xd4b0ca){if(!_0xd4b0ca){_0x3cd4ce[_0xa9a8('0x1c')](0x194);}return _0xd4b0ca;};}function handleError(_0x53e3fb,_0x5d0a9e){_0x5d0a9e=_0x5d0a9e||0x1f4;return function(_0x2e6a9e){logger['error'](_0x2e6a9e[_0xa9a8('0x2c')]);if(_0x2e6a9e[_0xa9a8('0x2d')]){delete _0x2e6a9e['name'];}_0x53e3fb[_0xa9a8('0x1e')](_0x5d0a9e)[_0xa9a8('0x2e')](_0x2e6a9e);};}exports[_0xa9a8('0x2f')]=function(_0x1c9e0c,_0x215299){var _0x394561={},_0x1293d7={},_0x388396={'count':0x0,'rows':[]};var _0x50b1be=_['map'](db['ChatTransferReport'][_0xa9a8('0x30')],function(_0x32462f){return{'name':_0x32462f[_0xa9a8('0x31')],'type':_0x32462f[_0xa9a8('0x32')][_0xa9a8('0x33')]};});_0x1293d7[_0xa9a8('0x34')]=_[_0xa9a8('0x35')](_0x50b1be,_0xa9a8('0x2d'));_0x1293d7['query']=_[_0xa9a8('0x36')](_0x1c9e0c['query']);_0x1293d7['filters']=_[_0xa9a8('0x37')](_0x1293d7[_0xa9a8('0x34')],_0x1293d7[_0xa9a8('0x38')]);_0x394561['attributes']=_[_0xa9a8('0x37')](_0x1293d7['model'],qs[_0xa9a8('0x39')](_0x1c9e0c[_0xa9a8('0x38')][_0xa9a8('0x39')]));_0x394561['attributes']=_0x394561[_0xa9a8('0x3a')][_0xa9a8('0x3b')]?_0x394561['attributes']:_0x1293d7[_0xa9a8('0x34')];if(!_0x1c9e0c['query']['hasOwnProperty'](_0xa9a8('0x3c'))){_0x394561[_0xa9a8('0x22')]=qs[_0xa9a8('0x22')](_0x1c9e0c[_0xa9a8('0x38')][_0xa9a8('0x22')]);_0x394561[_0xa9a8('0x20')]=qs[_0xa9a8('0x20')](_0x1c9e0c[_0xa9a8('0x38')]['offset']);}_0x394561[_0xa9a8('0x3d')]=qs[_0xa9a8('0x3e')](_0x1c9e0c[_0xa9a8('0x38')]['sort']);_0x394561[_0xa9a8('0x3f')]=qs[_0xa9a8('0x40')](_[_0xa9a8('0x41')](_0x1c9e0c[_0xa9a8('0x38')],_0x1293d7['filters']),_0x50b1be);if(_0x1c9e0c['query'][_0xa9a8('0x42')]){_0x394561[_0xa9a8('0x3f')]=_[_0xa9a8('0x43')](_0x394561[_0xa9a8('0x3f')],{'$or':_[_0xa9a8('0x35')](_0x50b1be,function(_0x416f94){if(_0x416f94[_0xa9a8('0x32')]!==_0xa9a8('0x44')){var _0x2afb99={};_0x2afb99[_0x416f94[_0xa9a8('0x2d')]]={'$like':'%'+_0x1c9e0c[_0xa9a8('0x38')][_0xa9a8('0x42')]+'%'};return _0x2afb99;}})});}_0x394561=_[_0xa9a8('0x43')]({},_0x394561,_0x1c9e0c[_0xa9a8('0x45')]);var _0x530f21={'where':_0x394561[_0xa9a8('0x3f')]};return db[_0xa9a8('0x46')][_0xa9a8('0x23')](_0x530f21)[_0xa9a8('0x2b')](function(_0x4be6b9){_0x388396[_0xa9a8('0x23')]=_0x4be6b9;if(_0x1c9e0c[_0xa9a8('0x38')]['includeAll']){_0x394561[_0xa9a8('0x47')]=[{'all':!![]}];}return db[_0xa9a8('0x46')][_0xa9a8('0x48')](_0x394561);})[_0xa9a8('0x2b')](function(_0x5704d1){_0x388396[_0xa9a8('0x49')]=_0x5704d1;return _0x388396;})[_0xa9a8('0x2b')](respondWithFilteredResult(_0x215299,_0x394561))[_0xa9a8('0x4a')](handleError(_0x215299,null));};exports[_0xa9a8('0x4b')]=function(_0x4a9e41,_0x1e2b45){var _0x17e378={'raw':!![],'where':{'id':_0x4a9e41[_0xa9a8('0x4c')]['id']}},_0x99f09f={};_0x99f09f[_0xa9a8('0x34')]=_[_0xa9a8('0x36')](db[_0xa9a8('0x46')]['rawAttributes']);_0x99f09f[_0xa9a8('0x38')]=_[_0xa9a8('0x36')](_0x4a9e41['query']);_0x99f09f[_0xa9a8('0x40')]=_[_0xa9a8('0x37')](_0x99f09f[_0xa9a8('0x34')],_0x99f09f[_0xa9a8('0x38')]);_0x17e378['attributes']=_[_0xa9a8('0x37')](_0x99f09f['model'],qs[_0xa9a8('0x39')](_0x4a9e41[_0xa9a8('0x38')][_0xa9a8('0x39')]));_0x17e378['attributes']=_0x17e378[_0xa9a8('0x3a')][_0xa9a8('0x3b')]?_0x17e378['attributes']:_0x99f09f[_0xa9a8('0x34')];if(_0x4a9e41[_0xa9a8('0x38')]['includeAll']){_0x17e378[_0xa9a8('0x47')]=[{'all':!![]}];}_0x17e378=_[_0xa9a8('0x43')]({},_0x17e378,_0x4a9e41[_0xa9a8('0x45')]);return db[_0xa9a8('0x46')][_0xa9a8('0x4d')](_0x17e378)['then'](handleEntityNotFound(_0x1e2b45,null))[_0xa9a8('0x2b')](respondWithResult(_0x1e2b45,null))[_0xa9a8('0x4a')](handleError(_0x1e2b45,null));};exports[_0xa9a8('0x4e')]=function(_0x2681c5,_0x1f3329){return db[_0xa9a8('0x46')]['create'](_0x2681c5[_0xa9a8('0x4f')],{})[_0xa9a8('0x2b')](respondWithResult(_0x1f3329,0xc9))[_0xa9a8('0x4a')](handleError(_0x1f3329,null));};exports[_0xa9a8('0x29')]=function(_0x5c1f9b,_0x2b1ed0){if(_0x5c1f9b[_0xa9a8('0x4f')]['id']){delete _0x5c1f9b[_0xa9a8('0x4f')]['id'];}return db[_0xa9a8('0x46')][_0xa9a8('0x4d')]({'where':{'id':_0x5c1f9b[_0xa9a8('0x4c')]['id']}})[_0xa9a8('0x2b')](handleEntityNotFound(_0x2b1ed0,null))['then'](saveUpdates(_0x5c1f9b[_0xa9a8('0x4f')],null))[_0xa9a8('0x2b')](respondWithResult(_0x2b1ed0,null))[_0xa9a8('0x4a')](handleError(_0x2b1ed0,null));};exports[_0xa9a8('0x2a')]=function(_0x20562a,_0x1869ab){return db['ChatTransferReport'][_0xa9a8('0x4d')]({'where':{'id':_0x20562a[_0xa9a8('0x4c')]['id']}})['then'](handleEntityNotFound(_0x1869ab,null))[_0xa9a8('0x2b')](removeEntity(_0x1869ab,null))[_0xa9a8('0x4a')](handleError(_0x1869ab,null));};exports[_0xa9a8('0x50')]=function(_0x5696c5,_0xe26d6){return db[_0xa9a8('0x46')][_0xa9a8('0x50')]()[_0xa9a8('0x2b')](respondWithResult(_0xe26d6,null))['catch'](handleError(_0xe26d6,null));};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.model.js b/server/api/chatTransferReport/chatTransferReport.model.js
index d88a51f..6540fa3 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 _0x6191=['moment','bluebird','path','../../config/environment','./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','../../config/logger','api'];(function(_0x20a26a,_0x4572ee){var _0x4250d2=function(_0x2e4840){while(--_0x2e4840){_0x20a26a['push'](_0x20a26a['shift']());}};_0x4250d2(++_0x4572ee);}(_0x6191,0x1de));var _0x1619=function(_0x4ef734,_0x5826d){_0x4ef734=_0x4ef734-0x0;var _0x33a7cb=_0x6191[_0x4ef734];return _0x33a7cb;};'use strict';var _=require(_0x1619('0x0'));var util=require('util');var logger=require(_0x1619('0x1'))(_0x1619('0x2'));var moment=require(_0x1619('0x3'));var BPromise=require(_0x1619('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1619('0x5'));var rimraf=require('rimraf');var config=require(_0x1619('0x6'));var attributes=require(_0x1619('0x7'));module[_0x1619('0x8')]=function(_0x54a2a6,_0x519c7c){return _0x54a2a6[_0x1619('0x9')](_0x1619('0xa'),attributes,{'tableName':_0x1619('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x1619('0xc')]}],'timestamps':!![]});};
\ No newline at end of file
+var _0x95a6=['path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x319f60,_0x4f36b0){var _0x1d4491=function(_0x3b5184){while(--_0x3b5184){_0x319f60['push'](_0x319f60['shift']());}};_0x1d4491(++_0x4f36b0);}(_0x95a6,0x17f));var _0x695a=function(_0x276038,_0x2ee922){_0x276038=_0x276038-0x0;var _0x26bb1b=_0x95a6[_0x276038];return _0x26bb1b;};'use strict';var _=require(_0x695a('0x0'));var util=require(_0x695a('0x1'));var logger=require(_0x695a('0x2'))(_0x695a('0x3'));var moment=require(_0x695a('0x4'));var BPromise=require(_0x695a('0x5'));var rp=require(_0x695a('0x6'));var fs=require('fs');var path=require(_0x695a('0x7'));var rimraf=require(_0x695a('0x8'));var config=require(_0x695a('0x9'));var attributes=require(_0x695a('0xa'));module[_0x695a('0xb')]=function(_0xe3b3c1,_0x2bcd39){return _0xe3b3c1['define'](_0x695a('0xc'),attributes,{'tableName':_0x695a('0xd'),'paranoid':![],'indexes':[{'name':_0x695a('0xe'),'fields':[_0x695a('0xe')]}],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.rpc.js b/server/api/chatTransferReport/chatTransferReport.rpc.js
index 1aef82a..6d40f01 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 _0xd93c=['rpc','../../config/environment','jayson/promise','client','http','request','then','request\x20sent','debug','ChatTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','ChatTransferReport,\x20%s,\x20%s','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x155dca,_0x5f579e){var _0xbd3ff4=function(_0xed83d6){while(--_0xed83d6){_0x155dca['push'](_0x155dca['shift']());}};_0xbd3ff4(++_0x5f579e);}(_0xd93c,0x1ba));var _0xcd93=function(_0x31473f,_0x1d4b37){_0x31473f=_0x31473f-0x0;var _0x4b457e=_0xd93c[_0x31473f];return _0x4b457e;};'use strict';var _=require('lodash');var util=require(_0xcd93('0x0'));var moment=require(_0xcd93('0x1'));var BPromise=require(_0xcd93('0x2'));var rs=require(_0xcd93('0x3'));var fs=require('fs');var Redis=require(_0xcd93('0x4'));var db=require(_0xcd93('0x5'))['db'];var utils=require(_0xcd93('0x6'));var logger=require(_0xcd93('0x7'))(_0xcd93('0x8'));var config=require(_0xcd93('0x9'));var jayson=require(_0xcd93('0xa'));var client=jayson[_0xcd93('0xb')][_0xcd93('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1aed33,_0x5a63fc,_0x37b3e9){return new BPromise(function(_0x4840ff,_0x5cc4a7){return client[_0xcd93('0xd')](_0x1aed33,_0x37b3e9)[_0xcd93('0xe')](function(_0x26ba83){logger['info']('ChatTransferReport,\x20%s,\x20%s',_0x5a63fc,_0xcd93('0xf'));logger[_0xcd93('0x10')](_0xcd93('0x11'),_0x5a63fc,_0xcd93('0xf'),JSON[_0xcd93('0x12')](_0x26ba83));if(_0x26ba83[_0xcd93('0x13')]){if(_0x26ba83[_0xcd93('0x13')][_0xcd93('0x14')]===0x1f4){logger[_0xcd93('0x13')](_0xcd93('0x15'),_0x5a63fc,_0x26ba83[_0xcd93('0x13')][_0xcd93('0x16')]);return _0x5cc4a7(_0x26ba83[_0xcd93('0x13')]['message']);}logger[_0xcd93('0x13')](_0xcd93('0x15'),_0x5a63fc,_0x26ba83[_0xcd93('0x13')][_0xcd93('0x16')]);return _0x4840ff(_0x26ba83['error'][_0xcd93('0x16')]);}else{logger['info'](_0xcd93('0x15'),_0x5a63fc,_0xcd93('0xf'));_0x4840ff(_0x26ba83[_0xcd93('0x17')][_0xcd93('0x16')]);}})[_0xcd93('0x18')](function(_0xf4716c){logger[_0xcd93('0x13')]('ChatTransferReport,\x20%s,\x20%s',_0x5a63fc,_0xf4716c);_0x5cc4a7(_0xf4716c);});});}
\ No newline at end of file
+var _0xabbd=['request','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','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http'];(function(_0x35f8b6,_0x2f3d87){var _0x1034e0=function(_0x248847){while(--_0x248847){_0x35f8b6['push'](_0x35f8b6['shift']());}};_0x1034e0(++_0x2f3d87);}(_0xabbd,0x1d8));var _0xdabb=function(_0x51ef69,_0x56f50c){_0x51ef69=_0x51ef69-0x0;var _0x15f331=_0xabbd[_0x51ef69];return _0x15f331;};'use strict';var _=require(_0xdabb('0x0'));var util=require(_0xdabb('0x1'));var moment=require(_0xdabb('0x2'));var BPromise=require(_0xdabb('0x3'));var rs=require(_0xdabb('0x4'));var fs=require('fs');var Redis=require(_0xdabb('0x5'));var db=require(_0xdabb('0x6'))['db'];var utils=require(_0xdabb('0x7'));var logger=require(_0xdabb('0x8'))(_0xdabb('0x9'));var config=require(_0xdabb('0xa'));var jayson=require(_0xdabb('0xb'));var client=jayson[_0xdabb('0xc')][_0xdabb('0xd')]({'port':0x232a});function respondWithRpcPromise(_0xb96620,_0xf0aa4b,_0x5c1915){return new BPromise(function(_0xb0cef2,_0x30cfa0){return client[_0xdabb('0xe')](_0xb96620,_0x5c1915)[_0xdabb('0xf')](function(_0x9311e6){logger[_0xdabb('0x10')](_0xdabb('0x11'),_0xf0aa4b,_0xdabb('0x12'));logger[_0xdabb('0x13')](_0xdabb('0x14'),_0xf0aa4b,'request\x20sent',JSON[_0xdabb('0x15')](_0x9311e6));if(_0x9311e6[_0xdabb('0x16')]){if(_0x9311e6[_0xdabb('0x16')][_0xdabb('0x17')]===0x1f4){logger[_0xdabb('0x16')](_0xdabb('0x11'),_0xf0aa4b,_0x9311e6['error'][_0xdabb('0x18')]);return _0x30cfa0(_0x9311e6[_0xdabb('0x16')]['message']);}logger['error'](_0xdabb('0x11'),_0xf0aa4b,_0x9311e6[_0xdabb('0x16')][_0xdabb('0x18')]);return _0xb0cef2(_0x9311e6[_0xdabb('0x16')]['message']);}else{logger['info'](_0xdabb('0x11'),_0xf0aa4b,_0xdabb('0x12'));_0xb0cef2(_0x9311e6[_0xdabb('0x19')][_0xdabb('0x18')]);}})[_0xdabb('0x1a')](function(_0x57f328){logger['error'](_0xdabb('0x11'),_0xf0aa4b,_0x57f328);_0x30cfa0(_0x57f328);});});}
\ No newline at end of file
diff --git a/server/api/chatTransferReport/index.js b/server/api/chatTransferReport/index.js
index d6a2bb3..04c5d37 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 _0x14d5=['destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','put','delete'];(function(_0x502485,_0x1ebecd){var _0x137925=function(_0xe6a1af){while(--_0xe6a1af){_0x502485['push'](_0x502485['shift']());}};_0x137925(++_0x1ebecd);}(_0x14d5,0xf8));var _0x514d=function(_0x2813fa,_0x3211d4){_0x2813fa=_0x2813fa-0x0;var _0x8a2acb=_0x14d5[_0x2813fa];return _0x8a2acb;};'use strict';var multer=require('multer');var util=require(_0x514d('0x0'));var path=require(_0x514d('0x1'));var timeout=require(_0x514d('0x2'));var express=require(_0x514d('0x3'));var router=express[_0x514d('0x4')]();var fs_extra=require(_0x514d('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x514d('0x6'));var config=require(_0x514d('0x7'));var controller=require(_0x514d('0x8'));router[_0x514d('0x9')]('/',auth['isAuthenticated'](),controller[_0x514d('0xa')]);router['get'](_0x514d('0xb'),auth[_0x514d('0xc')](),controller[_0x514d('0xd')]);router[_0x514d('0x9')](_0x514d('0xe'),auth['isAuthenticated'](),controller[_0x514d('0xf')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x514d('0x10')](_0x514d('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x514d('0x11')](_0x514d('0xe'),auth[_0x514d('0xc')](),controller[_0x514d('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0x41c1=['fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x1d3471,_0x57a634){var _0x448b30=function(_0x411907){while(--_0x411907){_0x1d3471['push'](_0x1d3471['shift']());}};_0x448b30(++_0x57a634);}(_0x41c1,0x1dd));var _0x141c=function(_0x469393,_0x247969){_0x469393=_0x469393-0x0;var _0x5f720d=_0x41c1[_0x469393];return _0x5f720d;};'use strict';var multer=require(_0x141c('0x0'));var util=require(_0x141c('0x1'));var path=require(_0x141c('0x2'));var timeout=require(_0x141c('0x3'));var express=require(_0x141c('0x4'));var router=express[_0x141c('0x5')]();var fs_extra=require(_0x141c('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x141c('0x7'));var config=require(_0x141c('0x8'));var controller=require('./chatTransferReport.controller');router['get']('/',auth[_0x141c('0x9')](),controller[_0x141c('0xa')]);router[_0x141c('0xb')](_0x141c('0xc'),auth[_0x141c('0x9')](),controller['describe']);router[_0x141c('0xb')](_0x141c('0xd'),auth[_0x141c('0x9')](),controller['show']);router[_0x141c('0xe')]('/',auth[_0x141c('0x9')](),controller[_0x141c('0xf')]);router[_0x141c('0x10')](_0x141c('0xd'),auth['isAuthenticated'](),controller[_0x141c('0x11')]);router[_0x141c('0x12')](_0x141c('0xd'),auth[_0x141c('0x9')](),controller[_0x141c('0x13')]);module[_0x141c('0x14')]=router;
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.attributes.js b/server/api/chatWebsite/chatWebsite.attributes.js
index 61b9e77..6e9b0f7 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 _0xbec5=['getDataValue','onlineForm','parse','Comments','offlineForm','setDataValue','generate','New\x20offline\x20message\x20from\x20websiteName','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','website_alias','#fafafa','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','mandatoryDispositionPauseId','Generated\x20by\x20XCALLY\x20Motion','sequelize','randomstring','STRING','address','email','Agent','#011F6A','#ffffff','BOOLEAN','ENUM','squared','rounded','Chat','Send','Contact\x20us','INTEGER','Powered\x20by\x20xCALLY','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Note','Type\x20a\x20message','Skip','star','thumb','stringify','name','text','input'];(function(_0x4cf378,_0x3140ed){var _0x4862e5=function(_0x2ed017){while(--_0x2ed017){_0x4cf378['push'](_0x4cf378['shift']());}};_0x4862e5(++_0x3140ed);}(_0xbec5,0xe5));var _0x5bec=function(_0x50f0a9,_0x2b0c57){_0x50f0a9=_0x50f0a9-0x0;var _0x5a33d9=_0xbec5[_0x50f0a9];return _0x5a33d9;};'use strict';var Sequelize=require(_0x5bec('0x0'));var rs=require(_0x5bec('0x1'));module['exports']={'name':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![]},'address':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'unique':_0x5bec('0x3')},'description':{'type':Sequelize[_0x5bec('0x2')]},'mapKey':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'email'},'mapKeyOffline':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x4')},'key':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![]},'agentAlias':{'type':Sequelize['STRING'],'defaultValue':_0x5bec('0x5')},'customerAlias':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'Me'},'color':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'defaultValue':_0x5bec('0x6'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'defaultValue':_0x5bec('0x6'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'defaultValue':_0x5bec('0x7'),'validate':{'notEmpty':!![]}},'textButtonColor':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x5bec('0x7'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize[_0x5bec('0x2')]},'animation':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0x5bec('0x9')]('rounded',_0x5bec('0xa')),'defaultValue':_0x5bec('0xb')},'header_online':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'We\x20are\x20here!'},'start_chat_button':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0xc')},'offline_chat_button':{'type':Sequelize['STRING'],'defaultValue':_0x5bec('0xd')},'header_offline':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0xe')},'download_transcript':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0x5bec('0xf')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x10')},'defaultWhiteLabel':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0x5bec('0x11')]},'closingQuestion':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x12')},'formSubmitSuccessMessage':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x13')},'formSubmitFailureMessage':{'type':Sequelize['STRING'],'defaultValue':'Form\x20submission\x20error'},'noteTitle':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x14')},'placeholderMessage':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x15')},'closingMessage':{'type':Sequelize['STRING'],'defaultValue':'Thanks\x20you\x20for\x20your\x20time!'},'closingMessageButton':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0xd')},'skipMessageButton':{'type':Sequelize['STRING'],'defaultValue':_0x5bec('0x16')},'conditionAgreement':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'enableSendButton':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'Feedback'},'ratingType':{'type':Sequelize[_0x5bec('0x9')](_0x5bec('0x17'),_0x5bec('0x18')),'defaultValue':_0x5bec('0x17')},'ratingStarsNumber':{'type':Sequelize[_0x5bec('0xf')],'defaultValue':0x5},'onlineForm':{'type':Sequelize['TEXT'],'defaultValue':function(){return JSON[_0x5bec('0x19')]({'items':[{'type':'input','variable':null,'config':{'placeholder':_0x5bec('0x1a'),'type':_0x5bec('0x1b'),'required':!![]},'props':{'title':'name','helpText':''}},{'type':_0x5bec('0x1c'),'props':{'title':_0x5bec('0x4'),'helpText':''},'config':{'required':!![],'placeholder':'email','type':_0x5bec('0x4')},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0x5bec('0x1d')](_0x5bec('0x1e'))?JSON[_0x5bec('0x1f')](this[_0x5bec('0x1d')](_0x5bec('0x1e'))):{};},'set':function(_0x2dc014){return this['setDataValue']('onlineForm',JSON['stringify'](_0x2dc014));}},'offlineForm':{'type':Sequelize[_0x5bec('0x11')],'defaultValue':function(){return JSON[_0x5bec('0x19')]({'items':[{'type':_0x5bec('0x1c'),'props':{'title':'email','helpText':''},'config':{'required':!![],'placeholder':_0x5bec('0x4'),'type':_0x5bec('0x4')},'variable':null},{'type':'textarea','config':{'placeholder':_0x5bec('0x20')},'props':{'title':_0x5bec('0x20'),'helpText':'Leave\x20your\x20comments'}}],'fromKey':0x0});},'get':function(){return this['getDataValue'](_0x5bec('0x21'))?JSON[_0x5bec('0x1f')](this[_0x5bec('0x1d')](_0x5bec('0x21'))):{};},'set':function(_0x12862c){return this[_0x5bec('0x22')]('offlineForm',JSON[_0x5bec('0x19')](_0x12862c));}},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0x5bec('0x23')]();}},'autoclose':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize['STRING']},'forwardOffline':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0x5bec('0x2')]},'waitingTitle':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.'},'waitingMessage':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.'},'offlineMessageSubject':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x24')},'offlineMessageBody':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:'},'enableUnmanagedNote':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'Your\x20request\x20has\x20not\x20been\x20processed.'},'skipUnmanaged':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0x16')},'sendUnmanaged':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':_0x5bec('0xd')},'enableCustomerAttachment':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentAvatar':{'type':Sequelize[_0x5bec('0x11')]},'showAgentAvatar':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'timezone':{'type':Sequelize[_0x5bec('0x2')]},'notificationTemplate':{'type':Sequelize[_0x5bec('0x11')],'defaultValue':function(){return _0x5bec('0x25');}},'notificationSound':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize['STRING'],'defaultValue':_0x5bec('0x26')},'waitForTheAssignedAgent':{'type':Sequelize[_0x5bec('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'bottom_right'},'verticalAlignment':{'type':Sequelize[_0x5bec('0xf')],'defaultValue':0x1e},'labelText':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'CHAT'},'messagesAlignment':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'alternate'},'defaultTitle':{'type':Sequelize[_0x5bec('0x2')]},'customerAvatar':{'type':Sequelize[_0x5bec('0x11')]},'showCustomerAvatar':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'messageFontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'defaultValue':_0x5bec('0x27'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x5bec('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x5bec('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':'System'},'systemAvatar':{'type':Sequelize[_0x5bec('0x11')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x5bec('0xf')],'comment':_0x5bec('0x28')},'mandatoryDisposition':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x27863b){if(!_0x27863b)this[_0x5bec('0x22')](_0x5bec('0x29'),null);this['setDataValue']('mandatoryDisposition',_0x27863b);}},'vidaooEscalation':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize[_0x5bec('0x2')]},'vidaooTopic':{'type':Sequelize[_0x5bec('0x2')],'allowNull':![],'defaultValue':_0x5bec('0x2a')},'vidaooNote':{'type':Sequelize[_0x5bec('0x2')],'defaultValue':function(){return'Meeting\x20generated\x20for\x20interaction\x20#{{interaction.id}}\x20by\x20{{agent.name}}';}},'vidaooMetadata':{'type':Sequelize['TEXT'],'defaultValue':null},'openNewInteraction':{'type':Sequelize[_0x5bec('0x8')],'defaultValue':![],'allowNull':!![]},'subjectOffline':{'type':Sequelize['TEXT']}};
\ No newline at end of file
+var _0xa75b=['ENUM','rounded','squared','We\x20are\x20here!','Chat','Contact\x20us','Powered\x20by\x20xCALLY','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Note','Thanks\x20you\x20for\x20your\x20time!','Send','Skip','Feedback','star','TEXT','stringify','input','text','name','onlineForm','parse','getDataValue','setDataValue','Comments','Leave\x20your\x20comments','offlineForm','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','New\x20offline\x20message\x20from\x20websiteName','You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:','Your\x20request\x20has\x20not\x20been\x20processed.','CHAT','alternate','#fafafa','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','Meeting\x20generated\x20for\x20interaction\x20#{{interaction.id}}\x20by\x20{{agent.name}}','sequelize','STRING','address','email','Agent','#011F6A','INTEGER','BOOLEAN'];(function(_0x541260,_0x4c7f2e){var _0x1dd2b5=function(_0x4140de){while(--_0x4140de){_0x541260['push'](_0x541260['shift']());}};_0x1dd2b5(++_0x4c7f2e);}(_0xa75b,0x170));var _0xba75=function(_0x14a083,_0x784bc7){_0x14a083=_0x14a083-0x0;var _0x533d22=_0xa75b[_0x14a083];return _0x533d22;};'use strict';var Sequelize=require(_0xba75('0x0'));var rs=require('randomstring');module['exports']={'name':{'type':Sequelize[_0xba75('0x1')],'allowNull':![]},'address':{'type':Sequelize[_0xba75('0x1')],'allowNull':![],'unique':_0xba75('0x2')},'description':{'type':Sequelize[_0xba75('0x1')]},'mapKey':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x3')},'mapKeyOffline':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x3')},'key':{'type':Sequelize[_0xba75('0x1')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x4')},'customerAlias':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'Me'},'color':{'type':Sequelize[_0xba75('0x1')],'allowNull':![],'defaultValue':'#011F6A','validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xba75('0x5'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'textButtonColor':{'type':Sequelize[_0xba75('0x1')],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize[_0xba75('0x6')],'defaultValue':0xf},'remote':{'type':Sequelize[_0xba75('0x1')]},'animation':{'type':Sequelize[_0xba75('0x7')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0xba75('0x8')](_0xba75('0x9'),_0xba75('0xa')),'defaultValue':_0xba75('0x9')},'header_online':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0xb')},'start_chat_button':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0xc')},'offline_chat_button':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'Send'},'header_offline':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0xd')},'download_transcript':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'timeout':{'type':Sequelize[_0xba75('0x6')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0xe')},'defaultWhiteLabel':{'type':Sequelize[_0xba75('0x7')],'defaultValue':!![]},'sitepic':{'type':Sequelize['TEXT']},'closingQuestion':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0xf')},'formSubmitSuccessMessage':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x10')},'formSubmitFailureMessage':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'Form\x20submission\x20error'},'noteTitle':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x11')},'placeholderMessage':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'Type\x20a\x20message'},'closingMessage':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x12')},'closingMessageButton':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x13')},'skipMessageButton':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x14')},'conditionAgreement':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableRating':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'enableSendButton':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'feedbackTitle':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0x15')},'ratingType':{'type':Sequelize[_0xba75('0x8')]('star','thumb'),'defaultValue':_0xba75('0x16')},'ratingStarsNumber':{'type':Sequelize['INTEGER'],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0xba75('0x17')],'defaultValue':function(){return JSON[_0xba75('0x18')]({'items':[{'type':_0xba75('0x19'),'variable':null,'config':{'placeholder':'name','type':_0xba75('0x1a'),'required':!![]},'props':{'title':_0xba75('0x1b'),'helpText':''}},{'type':_0xba75('0x19'),'props':{'title':_0xba75('0x3'),'helpText':''},'config':{'required':!![],'placeholder':_0xba75('0x3'),'type':_0xba75('0x3')},'variable':null}],'fromKey':0x1});},'get':function(){return this['getDataValue'](_0xba75('0x1c'))?JSON[_0xba75('0x1d')](this[_0xba75('0x1e')](_0xba75('0x1c'))):{};},'set':function(_0x1caa6){return this[_0xba75('0x1f')](_0xba75('0x1c'),JSON[_0xba75('0x18')](_0x1caa6));}},'offlineForm':{'type':Sequelize[_0xba75('0x17')],'defaultValue':function(){return JSON[_0xba75('0x18')]({'items':[{'type':'input','props':{'title':'email','helpText':''},'config':{'required':!![],'placeholder':'email','type':_0xba75('0x3')},'variable':null},{'type':'textarea','config':{'placeholder':_0xba75('0x20')},'props':{'title':'Comments','helpText':_0xba75('0x21')}}],'fromKey':0x0});},'get':function(){return this[_0xba75('0x1e')](_0xba75('0x22'))?JSON['parse'](this[_0xba75('0x1e')](_0xba75('0x22'))):{};},'set':function(_0x8a2e4d){return this[_0xba75('0x1f')]('offlineForm',JSON['stringify'](_0x8a2e4d));}},'token':{'type':Sequelize[_0xba75('0x1')],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize[_0xba75('0x7')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize[_0xba75('0x1')]},'forwardOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0xba75('0x1')]},'waitingTitle':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.'},'waitingMessage':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x23')},'offlineMessageSubject':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x24')},'offlineMessageBody':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0x25')},'enableUnmanagedNote':{'type':Sequelize[_0xba75('0x7')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0x26')},'skipUnmanaged':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x14')},'sendUnmanaged':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0x13')},'enableCustomerAttachment':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'agentAvatar':{'type':Sequelize[_0xba75('0x17')]},'showAgentAvatar':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'timezone':{'type':Sequelize[_0xba75('0x1')]},'notificationTemplate':{'type':Sequelize[_0xba75('0x17')],'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[_0xba75('0x7')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'website_alias'},'waitForTheAssignedAgent':{'type':Sequelize[_0xba75('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize[_0xba75('0x1')],'defaultValue':'bottom_right'},'verticalAlignment':{'type':Sequelize['INTEGER'],'defaultValue':0x1e},'labelText':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x27')},'messagesAlignment':{'type':Sequelize[_0xba75('0x1')],'defaultValue':_0xba75('0x28')},'defaultTitle':{'type':Sequelize[_0xba75('0x1')]},'customerAvatar':{'type':Sequelize['TEXT']},'showCustomerAvatar':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0xba75('0x6')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0xba75('0x1')],'allowNull':![],'defaultValue':_0xba75('0x29'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xba75('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xba75('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize['STRING'],'defaultValue':_0xba75('0x2a')},'systemAvatar':{'type':Sequelize[_0xba75('0x17')]},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0xba75('0x2b')},'mandatoryDisposition':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![],'comment':_0xba75('0x2c'),'set':function(_0x45d8cd){if(!_0x45d8cd)this[_0xba75('0x1f')](_0xba75('0x2d'),null);this[_0xba75('0x1f')]('mandatoryDisposition',_0x45d8cd);}},'vidaooEscalation':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize['STRING']},'vidaooTopic':{'type':Sequelize[_0xba75('0x1')],'allowNull':![],'defaultValue':'Generated\x20by\x20XCALLY\x20Motion'},'vidaooNote':{'type':Sequelize[_0xba75('0x1')],'defaultValue':function(){return _0xba75('0x2e');}},'vidaooMetadata':{'type':Sequelize[_0xba75('0x17')],'defaultValue':null},'openNewInteraction':{'type':Sequelize[_0xba75('0x7')],'defaultValue':![],'allowNull':!![]},'subjectOffline':{'type':Sequelize[_0xba75('0x17')]}};
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.controller.js b/server/api/chatWebsite/chatWebsite.controller.js
index bf70956..f8e138f 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 _0xfa01=['fromKey','getOfflineMessages','ChatOfflineMessage','Attachments','addAgents','removeAgents','getAgents','bluebird','mustache','util','path','ejs','fs-extra','lodash','querystring','ioredis','../../config/logger','api','../../config/environment','redis','localhost','./chatWebsite.socket','register','html-to-text','jayson/promise','client','http','request','then','info','ChatWebsite,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','sendStatus','status','end','json','undefined','limit','count','offset','Content-Range','destroy','get','ChatWebsites','name','send','index','Pause','mandatoryDispositionPause','map','ChatWebsite','fieldName','key','model','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','order','sort','filter','where','VIRTUAL','options','includeAll','include','findAll','catch','show','params','rawAttributes','merge','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','UserProfileResource','update','describe','addDisposition','ChatWebsiteId','Disposition','getDispositions','findOne','nolimit','rows','removeDispositions','addAnswer','getAnswers','CannedAnswer','removeAnswers','ids','sitepic','file','filename','agentAvatar','addCustomerAvatar','customerAvatar','addSystemAvatar','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/','getCustomerAvatar','server/files/images/avatars/customer_avatar.png','getSystemAvatar','server/files/images/avatars/system_avatar.png','systemAvatar','setUA','user-agent','getResult','chat','CmContact','Sequelize','ValidationError','difference','updatedAt','createdAt','CompanyId','ListId','from','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','List','Contacts','DESC','ChatApplication','Applications','account','list','applications','orderBy','asc','defaults','contact','customerIp','headers','cf-connecting-ip','x-forwarded-for','first','split','firstName','lastName','x-real-port','referer','browser','version','%s\x20%s','unknown','format','device','type','threadId','ChatInteraction','externalUrl','interaction','spread','messageId','created','autoclose','unmanaged','*,*,*,*','ChatMessage','AttachmentId','User','UserId','unshift','waitForTheAssignedAgent','forcedOwnership','Start','startRouting','EventManager','notify','offline','files','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','mapKeyOffline','CmList','MailAccount','findOrCreate','server/files/templates/chatOfflineMessage.ejs','render','toPairs','offlineMessageBody','mimetype','server','attachments','offline-chat','openNewInteraction','sequelize','transaction','Attachment','Smtp','CloudProvider','forwardOffline','forwardOfflineAddress','getSmtpOptions','SendMail','sendMail','\x22%s\x22\x20<%s>','email','offlineMessageSubject','MailAccountId','originalname','subjectOffline','toPairsIn','mapValues','NotifyMailAccount','notifyMail','remove','Could\x20not\x20remove\x20attachment\x20file','addInteraction','omit','getInteractions','pick','Contact','Owner','fullname','internal','Tag','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)','OFFLINE','No\x20timezone','inspect','Interval','Intervals','getProactiveActions','License','increment','chatLicenseExceeded','push','all','some','server/files/chat/iframe.ejs','remote','x-real-ip','connection','remoteAddress','virtual','replace','labelText','textColor','textButtonColor','backgroundColor','hideWhenOffline','addApplications','Transaction','READ_COMMITTED','bulkCreate','findAndCountAll','finally','getApplications','addProactiveActions','chatProactiveAction','getFields','false','offlineForm','onlineForm','items'];(function(_0x5a2446,_0x1c4c47){var _0x4f4730=function(_0x10604b){while(--_0x10604b){_0x5a2446['push'](_0x5a2446['shift']());}};_0x4f4730(++_0x1c4c47);}(_0xfa01,0x130));var _0x1fa0=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xfa01[_0xa464c9];return _0x3d73c4;};'use strict';var BPromise=require(_0x1fa0('0x0'));var Mustache=require(_0x1fa0('0x1'));var util=require(_0x1fa0('0x2'));var path=require(_0x1fa0('0x3'));var ejs=require(_0x1fa0('0x4'));var fs=require('fs');var fs_extra=require(_0x1fa0('0x5'));var _=require(_0x1fa0('0x6'));var querystring=require(_0x1fa0('0x7'));var Redis=require(_0x1fa0('0x8'));var qs=require('../../components/parsers/qs');var logger=require(_0x1fa0('0x9'))(_0x1fa0('0xa'));var config=require(_0x1fa0('0xb'));var db=require('../../mysqldb')['db'];config[_0x1fa0('0xc')]=_['defaults'](config[_0x1fa0('0xc')],{'host':_0x1fa0('0xd'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x1fa0('0xc')]));require(_0x1fa0('0xe'))[_0x1fa0('0xf')](socket);var htmlToText=require(_0x1fa0('0x10'));var jayson=require(_0x1fa0('0x11'));var client=jayson[_0x1fa0('0x12')]['http']({'port':0x232c});var client9002=jayson[_0x1fa0('0x12')][_0x1fa0('0x13')]({'port':0x232a});var client9003=jayson['client'][_0x1fa0('0x13')]({'port':0x232b});var client9001=jayson[_0x1fa0('0x12')][_0x1fa0('0x13')]({'port':0x2329});function respondWithRpcPromise(_0x459119,_0x70e1f8,_0x1eede1,_0x363080){return new BPromise(function(_0x9923fb,_0x4ab4b6){var _0x5478fa=_0x363080||client;return _0x5478fa[_0x1fa0('0x14')](_0x459119,_0x1eede1)[_0x1fa0('0x15')](function(_0x37f55d){logger[_0x1fa0('0x16')](_0x1fa0('0x17'),_0x70e1f8,_0x1fa0('0x18'));logger['debug']('ChatWebsite,\x20%s,\x20%s,\x20%s',_0x70e1f8,_0x1fa0('0x18'),JSON[_0x1fa0('0x19')](_0x37f55d));if(_0x37f55d[_0x1fa0('0x1a')]){if(_0x37f55d['error'][_0x1fa0('0x1b')]===0x1f4){logger[_0x1fa0('0x1a')](_0x1fa0('0x17'),_0x70e1f8,_0x37f55d['error'][_0x1fa0('0x1c')]);return _0x4ab4b6(_0x37f55d[_0x1fa0('0x1a')][_0x1fa0('0x1c')]);}logger[_0x1fa0('0x1a')](_0x1fa0('0x17'),_0x70e1f8,_0x37f55d[_0x1fa0('0x1a')][_0x1fa0('0x1c')]);return _0x9923fb(_0x37f55d['error'][_0x1fa0('0x1c')]);}else{logger[_0x1fa0('0x16')](_0x1fa0('0x17'),_0x70e1f8,_0x1fa0('0x18'));_0x9923fb(_0x37f55d['result'][_0x1fa0('0x1c')]);}})['catch'](function(_0x388411){logger['error'](_0x1fa0('0x17'),_0x70e1f8,_0x388411);_0x4ab4b6(_0x388411);});});}function respondWithStatusCode(_0x14a299,_0x51f457){_0x51f457=_0x51f457||0xcc;return function(_0x1f727a){if(_0x1f727a){return _0x14a299[_0x1fa0('0x1d')](_0x51f457);}return _0x14a299[_0x1fa0('0x1e')](_0x51f457)[_0x1fa0('0x1f')]();};}function respondWithResult(_0x6c0b1d,_0x282a5f){_0x282a5f=_0x282a5f||0xc8;return function(_0x4fddbd){if(_0x4fddbd){return _0x6c0b1d[_0x1fa0('0x1e')](_0x282a5f)[_0x1fa0('0x20')](_0x4fddbd);}};}function respondWithFilteredResult(_0x3e4fa1,_0x15f178){return function(_0x1f6857){if(_0x1f6857){var _0x1ee307=typeof _0x15f178['offset']===_0x1fa0('0x21')&&typeof _0x15f178[_0x1fa0('0x22')]===_0x1fa0('0x21');var _0x1f883e=_0x1f6857[_0x1fa0('0x23')];var _0x46a7d2=_0x1ee307?0x0:_0x15f178['offset'];var _0x5cc0ae=_0x1ee307?_0x1f6857[_0x1fa0('0x23')]:_0x15f178[_0x1fa0('0x24')]+_0x15f178[_0x1fa0('0x22')];var _0x59aae2;if(_0x5cc0ae>=_0x1f883e){_0x5cc0ae=_0x1f883e;_0x59aae2=0xc8;}else{_0x59aae2=0xce;}_0x3e4fa1[_0x1fa0('0x1e')](_0x59aae2);return _0x3e4fa1['set'](_0x1fa0('0x25'),_0x46a7d2+'-'+_0x5cc0ae+'/'+_0x1f883e)['json'](_0x1f6857);}return null;};}function saveUpdates(_0x29d4fa){return function(_0x3dc239){if(_0x3dc239){return _0x3dc239['update'](_0x29d4fa)[_0x1fa0('0x15')](function(_0x17293b){return _0x17293b;});}return null;};}function removeEntity(_0x37e200){return function(_0x1ff8d4){if(_0x1ff8d4){return _0x1ff8d4[_0x1fa0('0x26')]()[_0x1fa0('0x15')](function(){var _0x59dc78=_0x1ff8d4[_0x1fa0('0x27')]({'plain':!![]});var _0x2c1f84=_0x1fa0('0x28');return db['UserProfileResource'][_0x1fa0('0x26')]({'where':{'type':_0x2c1f84,'resourceId':_0x59dc78['id']}})[_0x1fa0('0x15')](function(){return _0x1ff8d4;});})[_0x1fa0('0x15')](function(){_0x37e200['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x527703){return function(_0x4c832f){if(!_0x4c832f){_0x527703['sendStatus'](0x194);}return _0x4c832f;};}function handleError(_0x2bb5f1,_0x48e804){_0x48e804=_0x48e804||0x1f4;return function(_0x374e7d){logger[_0x1fa0('0x1a')](_0x374e7d['stack']);if(_0x374e7d[_0x1fa0('0x29')]){delete _0x374e7d[_0x1fa0('0x29')];}_0x2bb5f1[_0x1fa0('0x1e')](_0x48e804)[_0x1fa0('0x2a')](_0x374e7d);};}exports[_0x1fa0('0x2b')]=function(_0x2976c5,_0x4fffe0){var _0x595885={'include':[{'model':db[_0x1fa0('0x2c')],'as':_0x1fa0('0x2d')}]},_0x1fc509={},_0x57d0ff={'count':0x0,'rows':[]};var _0x213a16=_[_0x1fa0('0x2e')](db[_0x1fa0('0x2f')]['rawAttributes'],function(_0x449f5e){return{'name':_0x449f5e[_0x1fa0('0x30')],'type':_0x449f5e['type'][_0x1fa0('0x31')]};});_0x1fc509[_0x1fa0('0x32')]=_[_0x1fa0('0x2e')](_0x213a16,'name');_0x1fc509['query']=_[_0x1fa0('0x33')](_0x2976c5[_0x1fa0('0x34')]);_0x1fc509[_0x1fa0('0x35')]=_[_0x1fa0('0x36')](_0x1fc509[_0x1fa0('0x32')],_0x1fc509[_0x1fa0('0x34')]);_0x595885['attributes']=_[_0x1fa0('0x36')](_0x1fc509['model'],qs[_0x1fa0('0x37')](_0x2976c5['query'][_0x1fa0('0x37')]));_0x595885[_0x1fa0('0x38')]=_0x595885['attributes'][_0x1fa0('0x39')]?_0x595885[_0x1fa0('0x38')]:_0x1fc509['model'];if(!_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x3a')]('nolimit')){_0x595885[_0x1fa0('0x22')]=qs[_0x1fa0('0x22')](_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x595885[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x24')]);}_0x595885[_0x1fa0('0x3b')]=qs[_0x1fa0('0x3c')](_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x595885['where']=qs[_0x1fa0('0x35')](_['pick'](_0x2976c5[_0x1fa0('0x34')],_0x1fc509[_0x1fa0('0x35')]),_0x213a16);if(_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x595885[_0x1fa0('0x3e')]=_['merge'](_0x595885['where'],{'$or':_[_0x1fa0('0x2e')](_0x213a16,function(_0x109189){if(_0x109189['type']!==_0x1fa0('0x3f')){var _0xf55eeb={};_0xf55eeb[_0x109189[_0x1fa0('0x29')]]={'$like':'%'+_0x2976c5[_0x1fa0('0x34')][_0x1fa0('0x3d')]+'%'};return _0xf55eeb;}})});}_0x595885=_['merge']({},_0x595885,_0x2976c5[_0x1fa0('0x40')]);var _0x41d689={'where':_0x595885[_0x1fa0('0x3e')]};return db['ChatWebsite'][_0x1fa0('0x23')](_0x41d689)['then'](function(_0x22d6d8){_0x57d0ff[_0x1fa0('0x23')]=_0x22d6d8;if(_0x2976c5['query'][_0x1fa0('0x41')]){_0x595885[_0x1fa0('0x42')]=[{'all':!![]}];}return db[_0x1fa0('0x2f')][_0x1fa0('0x43')](_0x595885);})[_0x1fa0('0x15')](function(_0x3ab56e){_0x57d0ff['rows']=_0x3ab56e;return _0x57d0ff;})[_0x1fa0('0x15')](respondWithFilteredResult(_0x4fffe0,_0x595885))[_0x1fa0('0x44')](handleError(_0x4fffe0,null));};exports[_0x1fa0('0x45')]=function(_0x35dcd4,_0x342ce3){var _0x121af8={'raw':![],'where':{'id':_0x35dcd4[_0x1fa0('0x46')]['id']},'include':[{'model':db['Pause'],'as':_0x1fa0('0x2d')}]},_0x4b3fc3={};_0x4b3fc3[_0x1fa0('0x32')]=_[_0x1fa0('0x33')](db[_0x1fa0('0x2f')][_0x1fa0('0x47')]);_0x4b3fc3[_0x1fa0('0x34')]=_[_0x1fa0('0x33')](_0x35dcd4['query']);_0x4b3fc3[_0x1fa0('0x35')]=_[_0x1fa0('0x36')](_0x4b3fc3['model'],_0x4b3fc3[_0x1fa0('0x34')]);_0x121af8[_0x1fa0('0x38')]=_['intersection'](_0x4b3fc3[_0x1fa0('0x32')],qs[_0x1fa0('0x37')](_0x35dcd4[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x121af8[_0x1fa0('0x38')]=_0x121af8[_0x1fa0('0x38')]['length']?_0x121af8[_0x1fa0('0x38')]:_0x4b3fc3[_0x1fa0('0x32')];if(_0x35dcd4[_0x1fa0('0x34')][_0x1fa0('0x41')]){_0x121af8[_0x1fa0('0x42')]=[{'all':!![]}];}_0x121af8=_[_0x1fa0('0x48')]({},_0x121af8,_0x35dcd4[_0x1fa0('0x40')]);return db[_0x1fa0('0x2f')][_0x1fa0('0x49')](_0x121af8)[_0x1fa0('0x15')](handleEntityNotFound(_0x342ce3,null))[_0x1fa0('0x15')](respondWithResult(_0x342ce3,null))[_0x1fa0('0x44')](handleError(_0x342ce3,null));};exports[_0x1fa0('0x4a')]=function(_0x459b5e,_0x18b61c){return db[_0x1fa0('0x2f')]['create'](_0x459b5e[_0x1fa0('0x4b')],{})[_0x1fa0('0x15')](function(_0x5acede){var _0x31508b=_0x459b5e[_0x1fa0('0x4c')][_0x1fa0('0x27')]({'plain':!![]});if(!_0x31508b)throw new Error(_0x1fa0('0x4d'));if(_0x31508b[_0x1fa0('0x4e')]===_0x1fa0('0x4c')){var _0x23a4ed=_0x5acede[_0x1fa0('0x27')]({'plain':!![]});var _0x20134a='ChatWebsites';return db[_0x1fa0('0x4f')][_0x1fa0('0x49')]({'where':{'name':_0x20134a,'userProfileId':_0x31508b[_0x1fa0('0x50')]},'raw':!![]})[_0x1fa0('0x15')](function(_0x5d2952){if(_0x5d2952&&_0x5d2952[_0x1fa0('0x51')]===0x0){return db[_0x1fa0('0x52')]['create']({'name':_0x23a4ed[_0x1fa0('0x29')],'resourceId':_0x23a4ed['id'],'type':_0x5d2952[_0x1fa0('0x29')],'sectionId':_0x5d2952['id']},{})[_0x1fa0('0x15')](function(){return _0x5acede;});}else{return _0x5acede;}})[_0x1fa0('0x44')](function(_0x41b211){logger[_0x1fa0('0x1a')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x41b211);throw _0x41b211;});}return _0x5acede;})[_0x1fa0('0x15')](respondWithResult(_0x18b61c,0xc9))[_0x1fa0('0x44')](handleError(_0x18b61c,null));};exports[_0x1fa0('0x53')]=function(_0x399fe4,_0x3cc640){if(_0x399fe4['body']['id']){delete _0x399fe4[_0x1fa0('0x4b')]['id'];}return db['ChatWebsite'][_0x1fa0('0x49')]({'where':{'id':_0x399fe4[_0x1fa0('0x46')]['id']},'include':[{'model':db[_0x1fa0('0x2c')],'as':_0x1fa0('0x2d')}]})['then'](handleEntityNotFound(_0x3cc640,null))[_0x1fa0('0x15')](saveUpdates(_0x399fe4[_0x1fa0('0x4b')],null))['then'](respondWithResult(_0x3cc640,null))[_0x1fa0('0x44')](handleError(_0x3cc640,null));};exports['destroy']=function(_0x4d2aa2,_0x1645ce){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x4d2aa2['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x1645ce,null))[_0x1fa0('0x15')](removeEntity(_0x1645ce,null))['catch'](handleError(_0x1645ce,null));};exports[_0x1fa0('0x54')]=function(_0x59c4cc,_0x2f4d42){return db[_0x1fa0('0x2f')]['describe']()[_0x1fa0('0x15')](respondWithResult(_0x2f4d42,null))[_0x1fa0('0x44')](handleError(_0x2f4d42,null));};exports[_0x1fa0('0x55')]=function(_0x2fcbb6,_0x46e4db){if(_0x2fcbb6[_0x1fa0('0x4b')]['id']){delete _0x2fcbb6['body']['id'];}return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x2fcbb6[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x46e4db,null))[_0x1fa0('0x15')](function(_0x4871ba){if(_0x4871ba){_0x2fcbb6[_0x1fa0('0x4b')][_0x1fa0('0x56')]=_0x4871ba['id'];return db[_0x1fa0('0x57')][_0x1fa0('0x4a')](_0x2fcbb6['body']);}})['then'](respondWithResult(_0x46e4db,null))[_0x1fa0('0x44')](handleError(_0x46e4db,null));};exports[_0x1fa0('0x58')]=function(_0x5701bb,_0x4b54fe){var _0x51e4cb={'raw':![],'where':{}};var _0x3327ef={};var _0x23c030={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x1fa0('0x59')]({'where':{'id':_0x5701bb['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x4b54fe,null))[_0x1fa0('0x15')](function(_0x3e6a11){if(_0x3e6a11){_0x3327ef[_0x1fa0('0x32')]=_['keys'](db[_0x1fa0('0x57')][_0x1fa0('0x47')]);_0x3327ef[_0x1fa0('0x34')]=_['keys'](_0x5701bb['query']);_0x3327ef[_0x1fa0('0x35')]=_['intersection'](_0x3327ef['model'],_0x3327ef[_0x1fa0('0x34')]);_0x51e4cb[_0x1fa0('0x38')]=_[_0x1fa0('0x36')](_0x3327ef['model'],qs[_0x1fa0('0x37')](_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x51e4cb[_0x1fa0('0x38')]=_0x51e4cb['attributes']['length']?_0x51e4cb[_0x1fa0('0x38')]:_0x3327ef[_0x1fa0('0x32')];if(!_0x5701bb['query'][_0x1fa0('0x3a')](_0x1fa0('0x5a'))){_0x51e4cb[_0x1fa0('0x22')]=qs[_0x1fa0('0x22')](_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x51e4cb['offset']=qs[_0x1fa0('0x24')](_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x24')]);}_0x51e4cb['order']=qs[_0x1fa0('0x3c')](_0x5701bb[_0x1fa0('0x34')]['sort']);_0x51e4cb[_0x1fa0('0x3e')]=qs[_0x1fa0('0x35')](_['pick'](_0x5701bb[_0x1fa0('0x34')],_0x3327ef[_0x1fa0('0x35')]));_0x51e4cb[_0x1fa0('0x3e')]['ChatWebsiteId']=_0x3e6a11['id'];if(_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x51e4cb[_0x1fa0('0x3e')]=_[_0x1fa0('0x48')](_0x51e4cb['where'],{'$or':_[_0x1fa0('0x2e')](_0x51e4cb['attributes'],function(_0x1b1cfa){var _0x474577={};_0x474577[_0x1b1cfa]={'$like':'%'+_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x3d')]+'%'};return _0x474577;})});}_0x51e4cb=_[_0x1fa0('0x48')]({},_0x51e4cb,_0x5701bb[_0x1fa0('0x40')]);return db[_0x1fa0('0x57')]['count']({'where':_0x51e4cb['where']})[_0x1fa0('0x15')](function(_0x48149f){_0x23c030['count']=_0x48149f;if(_0x5701bb[_0x1fa0('0x34')][_0x1fa0('0x41')]){_0x51e4cb[_0x1fa0('0x42')]=[{'all':!![]}];}return db[_0x1fa0('0x57')][_0x1fa0('0x43')](_0x51e4cb);})['then'](function(_0x4910f7){_0x23c030[_0x1fa0('0x5b')]=_0x4910f7;return _0x23c030;});}})['then'](respondWithFilteredResult(_0x4b54fe,_0x51e4cb))['catch'](handleError(_0x4b54fe,null));};exports[_0x1fa0('0x5c')]=function(_0x198b2f,_0x1009fd){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x198b2f[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x1009fd,null))[_0x1fa0('0x15')](function(_0x3aaff9){if(_0x3aaff9){return _0x3aaff9[_0x1fa0('0x5c')](_0x198b2f[_0x1fa0('0x34')]['ids']);}})[_0x1fa0('0x15')](respondWithStatusCode(_0x1009fd,null))[_0x1fa0('0x44')](handleError(_0x1009fd,null));};exports[_0x1fa0('0x5d')]=function(_0xa18c8a,_0x1dc9ce){if(_0xa18c8a['body']['id']){delete _0xa18c8a[_0x1fa0('0x4b')]['id'];}return db['ChatWebsite']['find']({'where':{'id':_0xa18c8a[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x1dc9ce,null))[_0x1fa0('0x15')](function(_0x2aa6e1){if(_0x2aa6e1){_0xa18c8a[_0x1fa0('0x4b')]['ChatWebsiteId']=_0x2aa6e1['id'];return db['CannedAnswer'][_0x1fa0('0x4a')](_0xa18c8a['body']);}})['then'](respondWithResult(_0x1dc9ce,null))['catch'](handleError(_0x1dc9ce,null));};exports[_0x1fa0('0x5e')]=function(_0x9d7915,_0x2a4e8f){var _0x3efaaf={'raw':![],'where':{}};var _0x410ea0={};var _0x39bc48={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x1fa0('0x59')]({'where':{'id':_0x9d7915[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x2a4e8f,null))[_0x1fa0('0x15')](function(_0x45bbc3){if(_0x45bbc3){_0x410ea0[_0x1fa0('0x32')]=_['keys'](db[_0x1fa0('0x5f')][_0x1fa0('0x47')]);_0x410ea0[_0x1fa0('0x34')]=_['keys'](_0x9d7915['query']);_0x410ea0['filters']=_[_0x1fa0('0x36')](_0x410ea0[_0x1fa0('0x32')],_0x410ea0[_0x1fa0('0x34')]);_0x3efaaf[_0x1fa0('0x38')]=_[_0x1fa0('0x36')](_0x410ea0['model'],qs['fields'](_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x3efaaf[_0x1fa0('0x38')]=_0x3efaaf[_0x1fa0('0x38')][_0x1fa0('0x39')]?_0x3efaaf['attributes']:_0x410ea0[_0x1fa0('0x32')];if(!_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x3a')](_0x1fa0('0x5a'))){_0x3efaaf['limit']=qs['limit'](_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x3efaaf[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x24')]);}_0x3efaaf[_0x1fa0('0x3b')]=qs[_0x1fa0('0x3c')](_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x3efaaf[_0x1fa0('0x3e')]=qs[_0x1fa0('0x35')](_['pick'](_0x9d7915[_0x1fa0('0x34')],_0x410ea0[_0x1fa0('0x35')]));_0x3efaaf[_0x1fa0('0x3e')][_0x1fa0('0x56')]=_0x45bbc3['id'];if(_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x3efaaf['where']=_[_0x1fa0('0x48')](_0x3efaaf[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x3efaaf[_0x1fa0('0x38')],function(_0xe539){var _0x19a346={};_0x19a346[_0xe539]={'$like':'%'+_0x9d7915['query'][_0x1fa0('0x3d')]+'%'};return _0x19a346;})});}_0x3efaaf=_[_0x1fa0('0x48')]({},_0x3efaaf,_0x9d7915[_0x1fa0('0x40')]);return db[_0x1fa0('0x5f')][_0x1fa0('0x23')]({'where':_0x3efaaf[_0x1fa0('0x3e')]})[_0x1fa0('0x15')](function(_0x5d613b){_0x39bc48[_0x1fa0('0x23')]=_0x5d613b;if(_0x9d7915[_0x1fa0('0x34')][_0x1fa0('0x41')]){_0x3efaaf[_0x1fa0('0x42')]=[{'all':!![]}];}return db[_0x1fa0('0x5f')][_0x1fa0('0x43')](_0x3efaaf);})[_0x1fa0('0x15')](function(_0x2779d8){_0x39bc48['rows']=_0x2779d8;return _0x39bc48;});}})[_0x1fa0('0x15')](respondWithFilteredResult(_0x2a4e8f,_0x3efaaf))[_0x1fa0('0x44')](handleError(_0x2a4e8f,null));};exports[_0x1fa0('0x60')]=function(_0x50043e,_0x4c3c54){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x50043e['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x4c3c54,null))[_0x1fa0('0x15')](function(_0x4bb96e){if(_0x4bb96e){return _0x4bb96e[_0x1fa0('0x60')](_0x50043e[_0x1fa0('0x34')][_0x1fa0('0x61')]);}})[_0x1fa0('0x15')](respondWithStatusCode(_0x4c3c54,null))[_0x1fa0('0x44')](handleError(_0x4c3c54,null));};exports['addLogo']=function(_0x1c8b27,_0x47e1bf){_0x1c8b27[_0x1fa0('0x4b')][_0x1fa0('0x62')]=_0x1c8b27[_0x1fa0('0x63')][_0x1fa0('0x64')];return db['ChatWebsite']['find']({'where':{'id':_0x1c8b27[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x47e1bf,null))[_0x1fa0('0x15')](saveUpdates(_0x1c8b27[_0x1fa0('0x4b')],null))[_0x1fa0('0x15')](respondWithResult(_0x47e1bf,null))[_0x1fa0('0x44')](handleError(_0x47e1bf,null));};exports['addAvatar']=function(_0x5d8635,_0xca100){_0x5d8635[_0x1fa0('0x4b')][_0x1fa0('0x65')]=_0x5d8635[_0x1fa0('0x63')]['filename'];return db['ChatWebsite']['find']({'where':{'id':_0x5d8635[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0xca100,null))[_0x1fa0('0x15')](saveUpdates(_0x5d8635[_0x1fa0('0x4b')],null))['then'](respondWithResult(_0xca100,null))[_0x1fa0('0x44')](handleError(_0xca100,null));};exports[_0x1fa0('0x66')]=function(_0x140f2c,_0x3bc070){_0x140f2c[_0x1fa0('0x4b')][_0x1fa0('0x67')]=_0x140f2c[_0x1fa0('0x63')][_0x1fa0('0x64')];return db['ChatWebsite'][_0x1fa0('0x49')]({'where':{'id':_0x140f2c['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x3bc070,null))[_0x1fa0('0x15')](saveUpdates(_0x140f2c[_0x1fa0('0x4b')],null))[_0x1fa0('0x15')](respondWithResult(_0x3bc070,null))[_0x1fa0('0x44')](handleError(_0x3bc070,null));};exports[_0x1fa0('0x68')]=function(_0x3454c1,_0x4d8ae0){_0x3454c1['body']['systemAvatar']=_0x3454c1[_0x1fa0('0x63')][_0x1fa0('0x64')];return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x3454c1[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x4d8ae0,null))[_0x1fa0('0x15')](saveUpdates(_0x3454c1[_0x1fa0('0x4b')],null))[_0x1fa0('0x15')](respondWithResult(_0x4d8ae0,null))[_0x1fa0('0x44')](handleError(_0x4d8ae0,null));};exports[_0x1fa0('0x69')]=function(_0x27318a,_0x11a78e){var _0x25491f=path['join'](config['root'],_0x1fa0('0x6a'));var _0x21bfb6={'where':{'id':_0x27318a[_0x1fa0('0x46')]['id']},'attributes':['id',_0x1fa0('0x62')],'raw':!![]};var _0x5bb5f9=![];return require(_0x1fa0('0x6b'))[_0x1fa0('0x6c')]()['then'](function(_0x3a8e35){if(_0x3a8e35){_0x5bb5f9=_0x3a8e35[_0x1fa0('0x6d')];}})[_0x1fa0('0x15')](function(){return db['ChatWebsite'][_0x1fa0('0x49')](_0x21bfb6);})[_0x1fa0('0x15')](handleEntityNotFound(_0x11a78e,null))['then'](function(_0x27c2bf){if(_0x27c2bf){if(!_[_0x1fa0('0x6e')](_0x27c2bf['sitepic'])){if(fs[_0x1fa0('0x6f')](path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0x72'),_0x27c2bf[_0x1fa0('0x62')]))&&_0x5bb5f9){_0x25491f=path['join'](config[_0x1fa0('0x71')],'server/files/images/logos/',_0x27c2bf[_0x1fa0('0x62')]);}}return _0x11a78e[_0x1fa0('0x73')](_0x25491f);}})[_0x1fa0('0x44')](handleError(_0x11a78e,null));};exports[_0x1fa0('0x74')]=function(_0x5eefbd,_0x226a15){var _0x6699ae=path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],'server/files/images/avatars/default_avatar.png');var _0x7b16df={'where':{'id':_0x5eefbd[_0x1fa0('0x46')]['id']},'attributes':['id',_0x1fa0('0x65')],'raw':!![]};return db[_0x1fa0('0x2f')][_0x1fa0('0x49')](_0x7b16df)[_0x1fa0('0x15')](handleEntityNotFound(_0x226a15,null))[_0x1fa0('0x15')](function(_0x3e83b8){if(_0x3e83b8){if(!_[_0x1fa0('0x6e')](_0x3e83b8[_0x1fa0('0x65')])){if(fs[_0x1fa0('0x6f')](path['join'](config[_0x1fa0('0x71')],_0x1fa0('0x75'),_0x3e83b8[_0x1fa0('0x65')]))){_0x6699ae=path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0x75'),_0x3e83b8[_0x1fa0('0x65')]);}}return _0x226a15[_0x1fa0('0x73')](_0x6699ae);}})[_0x1fa0('0x44')](handleError(_0x226a15,null));};exports[_0x1fa0('0x76')]=function(_0x25d204,_0x138c0e){var _0x1ff09d=path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0x77'));var _0x32e1b6={'where':{'id':_0x25d204[_0x1fa0('0x46')]['id']},'attributes':['id',_0x1fa0('0x67'),'showCustomerAvatar'],'raw':!![]};return db['ChatWebsite'][_0x1fa0('0x49')](_0x32e1b6)[_0x1fa0('0x15')](handleEntityNotFound(_0x138c0e,null))[_0x1fa0('0x15')](function(_0x37f25a){if(_0x37f25a){if(!_[_0x1fa0('0x6e')](_0x37f25a[_0x1fa0('0x67')])){if(fs[_0x1fa0('0x6f')](path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],'server/files/images/avatars/',_0x37f25a['customerAvatar']))&&_0x37f25a['showCustomerAvatar']){_0x1ff09d=path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0x75'),_0x37f25a[_0x1fa0('0x67')]);}}return _0x138c0e['download'](_0x1ff09d);}})[_0x1fa0('0x44')](handleError(_0x138c0e,null));};exports[_0x1fa0('0x78')]=function(_0x361deb,_0x5073de){var _0x3ebfac=path[_0x1fa0('0x70')](config['root'],_0x1fa0('0x79'));var _0xd2b5d6={'where':{'id':_0x361deb[_0x1fa0('0x46')]['id']},'attributes':['id',_0x1fa0('0x7a')],'raw':!![]};return db[_0x1fa0('0x2f')][_0x1fa0('0x49')](_0xd2b5d6)['then'](handleEntityNotFound(_0x5073de,null))[_0x1fa0('0x15')](function(_0x1cafc7){if(_0x1cafc7){if(!_[_0x1fa0('0x6e')](_0x1cafc7['systemAvatar'])){if(fs[_0x1fa0('0x6f')](path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0x75'),_0x1cafc7['systemAvatar']))){_0x3ebfac=path['join'](config['root'],'server/files/images/avatars/',_0x1cafc7[_0x1fa0('0x7a')]);}}return _0x5073de[_0x1fa0('0x73')](_0x3ebfac);}})[_0x1fa0('0x44')](handleError(_0x5073de,null));};exports['notify']=function(_0x2979b1,_0x540d17){var _0x327d4e=require('user-agent-parser');var _0xa6a53=new _0x327d4e();var _0x575af2=_0xa6a53[_0x1fa0('0x7b')](_0x2979b1['headers'][_0x1fa0('0x7c')])[_0x1fa0('0x7d')]();var _0x23728a={'body':_0x2979b1[_0x1fa0('0x4b')],'channel':_0x1fa0('0x7e')};var _0x4f0078=[];var _0x4aed18=[];var _0x5b3613={};var _0x2c0100=![];return db[_0x1fa0('0x7f')][_0x1fa0('0x54')]()[_0x1fa0('0x15')](function(_0x5cdc56){if(!_0x5cdc56){throw new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))]('no\x20available\x20attributes');}_0x4f0078=_[_0x1fa0('0x82')](_[_0x1fa0('0x33')](_0x5cdc56),['createdAt',_0x1fa0('0x83')]);_0x4aed18=_['difference'](_[_0x1fa0('0x33')](_0x5cdc56),[_0x1fa0('0x84'),'updatedAt',_0x1fa0('0x85'),_0x1fa0('0x86')]);if(_0x2979b1[_0x1fa0('0x4b')]['id']){delete _0x2979b1[_0x1fa0('0x4b')]['id'];}if(_[_0x1fa0('0x6e')](_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x87')])){throw new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0x88'));}if(_[_0x1fa0('0x6e')](_0x2979b1[_0x1fa0('0x4b')]['body'])||_0x2979b1['body'][_0x1fa0('0x4b')]===''){throw new db[(_0x1fa0('0x80'))]['ValidationError'](_0x1fa0('0x89'));}if(_[_0x1fa0('0x6e')](_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x8a')])){throw new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0x8b')+_0x4aed18);}if(!_[_0x1fa0('0x8c')](_0x4aed18,_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x8a')])){throw new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0x8d')+_0x4aed18);}_0x5b3613[_0x2979b1['body']['mapKey']]=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x87')];})['then'](function(){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x2979b1[_0x1fa0('0x46')]['id']},'include':[{'model':db['CmList'],'as':_0x1fa0('0x8e'),'include':[{'model':db[_0x1fa0('0x7f')],'as':_0x1fa0('0x8f'),'where':_0x5b3613,'limit':0x1,'order':[[_0x1fa0('0x83'),_0x1fa0('0x90')]]}]},{'model':db[_0x1fa0('0x91')],'as':_0x1fa0('0x92')}]});})[_0x1fa0('0x15')](handleEntityNotFound(_0x540d17,null))[_0x1fa0('0x15')](function(_0x2091f2){if(_0x2091f2&&_0x2091f2[_0x1fa0('0x8e')]){_0x23728a[_0x1fa0('0x93')]=_0x2091f2;_0x23728a['applications']=_0x2091f2[_0x1fa0('0x92')];_0x23728a[_0x1fa0('0x94')]=_0x2091f2[_0x1fa0('0x8e')];_0x23728a[_0x1fa0('0x95')]=_[_0x1fa0('0x96')](_0x23728a[_0x1fa0('0x95')],['priority'],[_0x1fa0('0x97')]);if(_0x23728a[_0x1fa0('0x93')]['Applications']){delete _0x23728a[_0x1fa0('0x93')][_0x1fa0('0x92')];}if(_0x23728a['account']['List']&&_0x23728a[_0x1fa0('0x93')][_0x1fa0('0x8e')]['Contacts']['length']){return _0x23728a[_0x1fa0('0x93')]['List'][_0x1fa0('0x8f')][0x0];}var _0x421bb5=_[_0x1fa0('0x98')](_0x2979b1[_0x1fa0('0x4b')],{'firstName':_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x87')],'ListId':_0x2091f2[_0x1fa0('0x86')]});_0x421bb5[_0x2979b1[_0x1fa0('0x4b')]['mapKey']]=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x87')];return db[_0x1fa0('0x7f')][_0x1fa0('0x4a')](_0x421bb5,{'fields':_0x4f0078,'raw':!![]});}})[_0x1fa0('0x15')](handleEntityNotFound(_0x540d17,null))['then'](function(_0x6a366a){_0x23728a[_0x1fa0('0x99')]=_0x6a366a;var _0x457554=_0x2979b1['body'][_0x1fa0('0x9a')];if(_0x2979b1[_0x1fa0('0x9b')]['cf-connecting-ip']){_0x457554=_0x2979b1['headers'][_0x1fa0('0x9c')];}else if(_0x2979b1[_0x1fa0('0x9b')][_0x1fa0('0x9d')]){_0x457554=_[_0x1fa0('0x9e')](_0x2979b1['headers'][_0x1fa0('0x9d')][_0x1fa0('0x9f')](','));}if(_0x6a366a){var _0x138389={'ContactId':_0x6a366a['id'],'ChatWebsiteId':_0x2979b1[_0x1fa0('0x46')]['id'],'from':(_0x6a366a[_0x1fa0('0xa0')]||'')+'\x20'+(_0x6a366a[_0x1fa0('0xa1')]||''),'customerIp':_0x457554,'customerPort':_0x2979b1[_0x1fa0('0x9b')][_0x1fa0('0xa2')]?_0x2979b1[_0x1fa0('0x9b')][_0x1fa0('0xa2')]:null,'referer':_0x2979b1['body'][_0x1fa0('0xa3')],'browserName':_0x575af2[_0x1fa0('0xa4')][_0x1fa0('0x29')]&&_0x575af2[_0x1fa0('0xa4')][_0x1fa0('0xa5')]?util['format'](_0x1fa0('0xa6'),_0x575af2[_0x1fa0('0xa4')][_0x1fa0('0x29')],_0x575af2[_0x1fa0('0xa4')][_0x1fa0('0xa5')]):_0x1fa0('0xa7'),'browserVersion':_0x575af2[_0x1fa0('0xa4')][_0x1fa0('0xa5')]||_0x1fa0('0xa7'),'osName':util[_0x1fa0('0xa8')](_0x1fa0('0xa6'),_0x575af2['os']['name'],_0x575af2['os'][_0x1fa0('0xa5')]),'osVersion':_0x575af2['os'][_0x1fa0('0xa5')],'deviceModel':_0x575af2[_0x1fa0('0xa9')]['model']&&_0x575af2[_0x1fa0('0xa9')]['vendor']?util['format']('%s\x20%s\x20%s',_0x575af2[_0x1fa0('0xa9')]['model'],_0x575af2[_0x1fa0('0xa9')]['vendor'],_0x575af2[_0x1fa0('0xa9')][_0x1fa0('0xaa')]):null,'deviceVendor':_0x575af2[_0x1fa0('0xa9')]['vendor'],'deviceType':_0x575af2[_0x1fa0('0xa9')][_0x1fa0('0xaa')],'formData':JSON[_0x1fa0('0x19')](_0x2979b1['body'])};var _0x35b9b7={'ChatWebsiteId':_0x2979b1[_0x1fa0('0x46')]['id'],'closed':![]};if(_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xab')]){_0x35b9b7[_0x1fa0('0xab')]=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xab')];return db[_0x1fa0('0xac')]['find']({'where':_0x35b9b7})[_0x1fa0('0x15')](function(_0x4c7ea2){if(_0x4c7ea2){return[_0x4c7ea2,![]];}_0x138389[_0x1fa0('0xab')]=_0x2979b1['body'][_0x1fa0('0xab')];_0x138389['externalUrl']=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xad')];return db[_0x1fa0('0xac')][_0x1fa0('0x4a')](_0x138389)[_0x1fa0('0x15')](function(_0x3fac46){return[_0x3fac46,!![]];});});}_0x35b9b7['ContactId']=_0x6a366a['id'];if(_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xae')]&&_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xae')]['id']){_0x35b9b7['id']=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xae')]['id'];return db[_0x1fa0('0xac')][_0x1fa0('0x49')]({'where':_0x35b9b7})[_0x1fa0('0x15')](function(_0x518a87){if(_0x518a87){return[_0x518a87,![]];}return db[_0x1fa0('0xac')][_0x1fa0('0x4a')](_0x138389)[_0x1fa0('0x15')](function(_0x4dc328){return[_0x4dc328,!![]];});});}return db[_0x1fa0('0xac')][_0x1fa0('0x4a')](_0x138389)[_0x1fa0('0x15')](function(_0x297211){return[_0x297211,!![]];});}})[_0x1fa0('0xaf')](function(_0x56b4b9,_0x1852ea){if(_0x56b4b9){_0x2c0100=_0x1852ea;if(!_0x1852ea){var _0x39d27d={'from':(_0x23728a[_0x1fa0('0x99')]['firstName']||'')+'\x20'+(_0x23728a[_0x1fa0('0x99')]['lastName']||'')};if(_0x2979b1['body'][_0x1fa0('0xab')]&&_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xb0')]&&_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xab')]!=_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0xb0')]){_0x39d27d[_0x1fa0('0xab')]=_0x2979b1[_0x1fa0('0x4b')]['messageId'];}return _0x56b4b9[_0x1fa0('0x53')](_0x39d27d);}else{return _0x56b4b9;}}})[_0x1fa0('0x15')](function(_0x506d5c){_0x23728a[_0x1fa0('0xae')]=_0x506d5c[_0x1fa0('0x27')]({'plain':!![]});_0x23728a[_0x1fa0('0xae')][_0x1fa0('0xb1')]=_0x2c0100;if(_0x23728a['interaction'][_0x1fa0('0xb1')]){if(_0x23728a[_0x1fa0('0x93')][_0x1fa0('0xb2')]){_0x23728a[_0x1fa0('0x95')]['push']({'id':0x0,'priority':_0x23728a[_0x1fa0('0x95')]['length']+0x1,'app':'close','appdata':_0x1fa0('0xb3'),'interval':_0x1fa0('0xb4')});}}return db[_0x1fa0('0xb5')][_0x1fa0('0x4a')]({'body':_0x2979b1[_0x1fa0('0x4b')][_0x1fa0('0x4b')],'ChatWebsiteId':_0x2979b1['params']['id'],'ChatInteractionId':_0x506d5c['id'],'direction':'in','ContactId':_0x23728a[_0x1fa0('0x99')]['id'],'AttachmentId':_0x2979b1['body'][_0x1fa0('0xb6')]});})[_0x1fa0('0x15')](function(_0x96ad9b){_0x23728a[_0x1fa0('0x1c')]=_0x96ad9b;if(_0x23728a[_0x1fa0('0xae')]['UserId']){return db[_0x1fa0('0xb7')][_0x1fa0('0x49')]({'attributes':['id',_0x1fa0('0x29')],'where':{'id':_0x23728a['interaction'][_0x1fa0('0xb8')]}})['then'](function(_0x2e5baa){if(_0x2e5baa){_0x23728a['applications'][_0x1fa0('0xb9')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x2e5baa[_0x1fa0('0x29')]+','+(_0x23728a[_0x1fa0('0x93')][_0x1fa0('0xba')]||0xa),'interval':_0x1fa0('0xb4')});_0x23728a[_0x1fa0('0xbb')]=!![];}return respondWithRpcPromise(_0x1fa0('0xbc'),_0x1fa0('0xbd'),_0x23728a);});}return respondWithRpcPromise(_0x1fa0('0xbc'),'startRouting',_0x23728a);})[_0x1fa0('0x15')](function(_0x5cdfc6){respondWithRpcPromise(_0x1fa0('0xbe'),'EventManager',{'event':_0x1fa0('0xbf'),'message':_0x5cdfc6},client9002);return _0x5cdfc6;})[_0x1fa0('0x15')](respondWithResult(_0x540d17,null))[_0x1fa0('0x44')](handleError(_0x540d17,null));};exports[_0x1fa0('0xc0')]=function(_0xe13cb1,_0x4636b7){var _0x42dd30,_0x35a92f,_0x25dcb3;var _0x3ee291=[];var _0x514cee={};var _0x396426=_0xe13cb1[_0x1fa0('0xc1')]||[];var _0xaf87ea=[];var _0x5bf49e;return db['CmContact'][_0x1fa0('0x54')]()['then'](function(_0x3c9910){if(!_0x3c9910){throw new db[(_0x1fa0('0x80'))]['ValidationError']('no\x20available\x20attributes');}_0x3ee291=_[_0x1fa0('0x82')](_[_0x1fa0('0x33')](_0x3c9910),[_0x1fa0('0x84'),'updatedAt',_0x1fa0('0x85'),_0x1fa0('0x86')]);if(_0xe13cb1[_0x1fa0('0x4b')]['id']){delete _0xe13cb1[_0x1fa0('0x4b')]['id'];}if(_['isNil'](_0xe13cb1['body'][_0x1fa0('0x87')])){throw _0x4636b7[_0x1fa0('0x1e')](0x1f4)[_0x1fa0('0x2a')](new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0x88')));}if(_[_0x1fa0('0x6e')](_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0x4b')])||_0xe13cb1[_0x1fa0('0x4b')]['body']===''){throw _0x4636b7[_0x1fa0('0x1e')](0x1f4)['send'](new db[(_0x1fa0('0x80'))]['ValidationError'](_0x1fa0('0x89')));}if(_[_0x1fa0('0x6e')](_0xe13cb1[_0x1fa0('0x4b')]['mapKeyOffline'])){throw _0x4636b7[_0x1fa0('0x1e')](0x1f4)['send'](new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0xc2')+_0x3ee291));}if(!_[_0x1fa0('0x8c')](_0x3ee291,_0xe13cb1[_0x1fa0('0x4b')]['mapKeyOffline'])){throw _0x4636b7[_0x1fa0('0x1e')](0x1f4)[_0x1fa0('0x2a')](new db[(_0x1fa0('0x80'))][(_0x1fa0('0x81'))](_0x1fa0('0xc3')+_0x3ee291));}_0x514cee[_0xe13cb1['body'][_0x1fa0('0xc4')]]=_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0x87')];})[_0x1fa0('0x15')](function(){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0xe13cb1[_0x1fa0('0x46')]['id']},'include':[{'model':db[_0x1fa0('0xc5')],'as':_0x1fa0('0x8e')},{'model':db[_0x1fa0('0xc6')],'as':_0x1fa0('0xc6')}]});})[_0x1fa0('0x15')](handleEntityNotFound(_0x4636b7,null))[_0x1fa0('0x15')](function(_0x482955){if(_0x482955&&_0x482955[_0x1fa0('0x8e')]){_0x35a92f=_0x482955;var _0x46e60a=_[_0x1fa0('0x98')](_0xe13cb1[_0x1fa0('0x4b')],{'firstName':_0xe13cb1['body'][_0x1fa0('0x87')],'phone':_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0x87')],'ListId':_0x482955[_0x1fa0('0x86')]});_0x46e60a[_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0xc4')]]=_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0x87')];return db['CmContact'][_0x1fa0('0xc7')]({'where':_0x514cee,'defaults':_0x46e60a});}})[_0x1fa0('0xaf')](function(_0xce16a6){if(_0xce16a6){_0x25dcb3=_0xce16a6;var _0x10b1d6=fs['readFileSync'](path['join'](config[_0x1fa0('0x71')],_0x1fa0('0xc8')),'utf8');var _0x4d9c37=ejs[_0x1fa0('0xc9')](_0x10b1d6,{'body':_[_0x1fa0('0xca')](_0xe13cb1[_0x1fa0('0x4b')][_0x1fa0('0x4b')]),'bodyTitle':_0x35a92f[_0x1fa0('0xcb')]});return db['ChatOfflineMessage'][_0x1fa0('0x4a')]({'body':_0x4d9c37,'plainBody':htmlToText['fromString'](_0x4d9c37),'ContactId':_0xce16a6['id'],'ChatWebsiteId':_0x35a92f['id']});}})[_0x1fa0('0x15')](function(_0x5df785){_0x5bf49e=_0x5df785;if(_0x396426[_0x1fa0('0x39')]){var _0x7af95a=_0x396426[_0x1fa0('0x2e')](function(_0x2cdeaa){return{'name':_0x2cdeaa['originalname'],'basename':_0x2cdeaa[_0x1fa0('0x64')],'type':_0x2cdeaa[_0x1fa0('0xcc')],'ChatOfflineMessageId':_0x5df785['id']};});_0xaf87ea=_0x7af95a[_0x1fa0('0x2e')](_0x5b4885=>{var _0x467a8f={'filename':_0x5b4885[_0x1fa0('0x29')],'path':path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0xcd'),_0x1fa0('0xc1'),_0x1fa0('0xce'),_0x1fa0('0xcf'),_0x5b4885['basename'])};return _0x467a8f;});if(!_0x35a92f[_0x1fa0('0xd0')]){return db[_0x1fa0('0xd1')][_0x1fa0('0xd2')](function(_0x33d656){return db[_0x1fa0('0xd3')]['bulkCreate'](_0x7af95a,{'transaction':_0x33d656});});}}})['then'](function(){if(_0x5bf49e){_0x42dd30=_0x5bf49e;return db[_0x1fa0('0xc6')][_0x1fa0('0x59')]({'where':{'service':!![]},'include':[{'model':db['MailServerOut'],'as':_0x1fa0('0xd4'),'raw':!![],'include':[{'model':db[_0x1fa0('0xd5')],'as':'CloudProvider','raw':!![]}]}]});}})[_0x1fa0('0x15')](function(_0x1e0ff1){if(_0x1e0ff1&&_0x1e0ff1[_0x1fa0('0xd4')]&&_0x35a92f[_0x1fa0('0xd6')]&&_0x35a92f[_0x1fa0('0xd7')]){var _0x1cf6f6=_0x1e0ff1[_0x1fa0('0xd8')]();return respondWithRpcPromise(_0x1fa0('0xd9'),_0x1fa0('0xda'),{'account':_0x1cf6f6,'message':{'from':util[_0x1fa0('0xa8')](_0x1fa0('0xdb'),_0x1e0ff1['name'],_0x1e0ff1[_0x1fa0('0xdc')]||_0x1e0ff1[_0x1fa0('0xd4')][_0x1fa0('0x4c')]),'to':_0x35a92f['forwardOfflineAddress'],'subject':_0x35a92f[_0x1fa0('0xdd')],'html':_0x42dd30['body'],'attachments':_0xaf87ea}},client9003)[_0x1fa0('0x15')](function(){return _0x42dd30;})[_0x1fa0('0x44')](function(_0x24a953){logger[_0x1fa0('0x1a')](_0x24a953);});}})['then'](function(){if(_0x35a92f&&_0x35a92f['openNewInteraction']&&_0x35a92f[_0x1fa0('0xde')]){var _0x4b0d33=[];if(_0x396426[_0x1fa0('0x39')]){_0x4b0d33=_0x396426[_0x1fa0('0x2e')](function(_0x57b364){return{'name':_0x57b364[_0x1fa0('0xdf')],'basename':_0x57b364[_0x1fa0('0x64')],'type':_0x57b364[_0x1fa0('0xcc')],'ChatOfflineMessageId':_0x5bf49e['id']};});}var _0x5cf106;if(!_[_0x1fa0('0x6e')](_0x35a92f[_0x1fa0('0xe0')])){var _0x162778=_['map'](_0xe13cb1[_0x1fa0('0x4b')],function(_0x17485a){return _0x17485a;});var _0x57a57f=_[_0x1fa0('0xe1')](_0x162778)[0x0];var _0x449c93=_[_0x1fa0('0xe2')](_0x57a57f,function(_0x42b635){return _0x42b635;});_0x5cf106=_0x449c93[0x1][_0x35a92f[_0x1fa0('0xe0')]];}var _0x2e7976={'from':_0x25dcb3[_0x1fa0('0xdc')],'firstName':_0x25dcb3[_0x1fa0('0xa0')],'lastName':_0x25dcb3['lastName'],'mapKey':_0x1fa0('0xdc'),'message':{'from':_0x25dcb3[_0x1fa0('0xdc')],'to':_0x35a92f[_0x1fa0('0xc6')][_0x1fa0('0xdc')],'cc':'','subject':_[_0x1fa0('0x6e')](_0x5cf106)?_0x35a92f[_0x1fa0('0xdd')]:_0x5cf106,'messageId':'','sentAt':new Date(),'attach':_0x4b0d33[_0x1fa0('0x39')],'attachments':_0x4b0d33,'originChannel':'Chat','ChatWebsiteId':_0x35a92f['id'],'ChatOfflineMessageId':_0x42dd30['id'],'originTo':_0x35a92f[_0x1fa0('0xc6')][_0x1fa0('0xdc')]},'body':_0x42dd30['body']};var _0x3ec7c0={'account':{'id':_0x35a92f[_0x1fa0('0xde')]},'body':_0x2e7976,'log':_0x1fa0('0xe3')};return respondWithRpcPromise(_0x1fa0('0xe3'),_0x1fa0('0xe4'),_0x3ec7c0,client9001)[_0x1fa0('0x15')](function(){return _0x42dd30;})[_0x1fa0('0x44')](function(_0x1eacb2){logger[_0x1fa0('0x1a')](_0x1eacb2);});}return;})[_0x1fa0('0x15')](function(){if(_0x42dd30){return _0x42dd30;}})[_0x1fa0('0x15')](respondWithResult(_0x4636b7,null))['catch'](function(_0x104b55){logger[_0x1fa0('0x1a')](_0x1fa0('0x44'),_0x104b55);for(var _0x2c657c of _0x396426){var _0x4cd630=path[_0x1fa0('0x70')](config[_0x1fa0('0x71')],_0x1fa0('0xcd'),_0x1fa0('0xc1'),_0x1fa0('0xce'),_0x1fa0('0xcf'),_0x2c657c[_0x1fa0('0x64')]);fs_extra[_0x1fa0('0xe5')](_0x4cd630)[_0x1fa0('0x44')](function(_0x140e7d){logger[_0x1fa0('0x1a')](_0x1fa0('0xe6'),_0x4cd630,_0x140e7d);});}});};exports[_0x1fa0('0xe7')]=function(_0x167fd4,_0x3095aa){return db[_0x1fa0('0xac')]['find']({'where':{'id':_0x167fd4[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x3095aa,null))[_0x1fa0('0x15')](function(_0x8ac24f){if(_0x8ac24f){return _0x8ac24f[_0x1fa0('0xe7')](_0x167fd4[_0x1fa0('0x4b')][_0x1fa0('0x61')],_[_0x1fa0('0xe8')](_0x167fd4[_0x1fa0('0x4b')],[_0x1fa0('0x61'),'id'])||{});}})['then'](respondWithResult(_0x3095aa,null))[_0x1fa0('0x44')](handleError(_0x3095aa,null));};exports[_0x1fa0('0xe9')]=function(_0x51c387,_0x442c32){var _0x3dcba3={'raw':![],'where':{}};var _0x43ae14={};var _0x502c7c={'count':0x0,'rows':[]};return db[_0x1fa0('0x2f')]['findOne']({'where':{'id':_0x51c387[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x442c32,null))['then'](function(_0x517cf2){if(_0x517cf2){_0x43ae14[_0x1fa0('0x32')]=_['keys'](db[_0x1fa0('0xac')][_0x1fa0('0x47')]);_0x43ae14[_0x1fa0('0x34')]=_['keys'](_0x51c387[_0x1fa0('0x34')]);_0x43ae14['filters']=_['intersection'](_0x43ae14['model'],_0x43ae14[_0x1fa0('0x34')]);_0x3dcba3[_0x1fa0('0x38')]=_['intersection'](_0x43ae14['model'],qs['fields'](_0x51c387[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x3dcba3[_0x1fa0('0x38')]=_0x3dcba3[_0x1fa0('0x38')][_0x1fa0('0x39')]?_0x3dcba3[_0x1fa0('0x38')]:_0x43ae14[_0x1fa0('0x32')];if(!_0x51c387[_0x1fa0('0x34')][_0x1fa0('0x3a')](_0x1fa0('0x5a'))){_0x3dcba3['limit']=qs['limit'](_0x51c387['query']['limit']);_0x3dcba3[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x51c387[_0x1fa0('0x34')][_0x1fa0('0x24')]);}_0x3dcba3['order']=qs[_0x1fa0('0x3c')](_0x51c387[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x3dcba3[_0x1fa0('0x3e')]=qs[_0x1fa0('0x35')](_[_0x1fa0('0xea')](_0x51c387[_0x1fa0('0x34')],_0x43ae14[_0x1fa0('0x35')]));_0x3dcba3[_0x1fa0('0x3e')]['ChatWebsiteId']=_0x517cf2['id'];if(_0x51c387['query'][_0x1fa0('0x3d')]){_0x3dcba3[_0x1fa0('0x3e')]=_[_0x1fa0('0x48')](_0x3dcba3[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x3dcba3[_0x1fa0('0x38')],function(_0x28741d){var _0x1338a={};_0x1338a[_0x28741d]={'$like':'%'+_0x51c387['query'][_0x1fa0('0x3d')]+'%'};return _0x1338a;})});}_0x3dcba3=_[_0x1fa0('0x48')]({},_0x3dcba3,_0x51c387[_0x1fa0('0x40')]);return db['ChatInteraction'][_0x1fa0('0x23')]({'where':_0x3dcba3[_0x1fa0('0x3e')]})[_0x1fa0('0x15')](function(_0x4cc5ae){_0x502c7c['count']=_0x4cc5ae;if(_0x51c387['query'][_0x1fa0('0x41')]){_0x3dcba3['include']=[{'model':db['CmContact'],'as':_0x1fa0('0xeb'),'required':![]},{'model':db[_0x1fa0('0xb7')],'as':_0x1fa0('0xec'),'attributes':[_0x1fa0('0x29'),_0x1fa0('0xed'),_0x1fa0('0xee')],'required':![]},{'model':db[_0x1fa0('0xef')],'as':_0x1fa0('0xf0'),'attributes':['id',_0x1fa0('0x29'),_0x1fa0('0xf1')],'where':_0x51c387[_0x1fa0('0x34')]['tag']?{'id':_0x51c387[_0x1fa0('0x34')][_0x1fa0('0xf2')]}:undefined,'required':_0x51c387[_0x1fa0('0x34')][_0x1fa0('0xf2')]?!![]:![]}];}return db[_0x1fa0('0xac')][_0x1fa0('0x43')](_0x3dcba3);})[_0x1fa0('0x15')](function(_0x4a8650){_0x502c7c[_0x1fa0('0x5b')]=_0x4a8650;return _0x502c7c;});}})[_0x1fa0('0x15')](respondWithFilteredResult(_0x442c32,_0x3dcba3))[_0x1fa0('0x44')](handleError(_0x442c32,null));};function iftimePromise(_0x1ca7e8,_0x4dde71){return respondWithRpcPromise(_0x1fa0('0xf3'),_0x1fa0('0xf4'),{'command':_0x4dde71[_0x1fa0('0xf5')]?util[_0x1fa0('0xa8')](_0x1fa0('0xf6'),_0x1ca7e8['interval'],_0x4dde71[_0x1fa0('0xf5')]):util[_0x1fa0('0xa8')](_0x1fa0('0xf7'),_0x1ca7e8[_0x1fa0('0xf8')])},client9002)[_0x1fa0('0x15')](function(_0x59e0a6){var _0x566e67=_0x59e0a6&&_0x59e0a6[_0x1fa0('0xf9')](_0x1fa0('0xfa'))>=0x0?!![]:![];logger['info'](_0x1fa0('0xfb'),_0x4dde71['id'],_0x1ca7e8['id'],_0x1ca7e8[_0x1fa0('0xf8')],_0x566e67?'ONLINE':_0x1fa0('0xfc'),_0x4dde71[_0x1fa0('0xf5')]?_0x4dde71[_0x1fa0('0xf5')]:_0x1fa0('0xfd'));return _0x566e67;})[_0x1fa0('0x44')](function(_0x3fb1cc){logger[_0x1fa0('0x1a')]('[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)',_0x4dde71['id'],_0x1ca7e8['id'],_0x1ca7e8[_0x1fa0('0xf8')],util[_0x1fa0('0xfe')](_0x3fb1cc,{'showHidden':![],'depth':null}),_0x4dde71[_0x1fa0('0xf5')]?_0x4dde71[_0x1fa0('0xf5')]:_0x1fa0('0xfd'));return![];});}exports[_0x1fa0('0xf4')]=function(_0x16a813,_0x1d45dc){var _0x11deb7=0x0;var _0x2d8b3c=0x0;var _0x24d537=![];var _0x5cba07;var _0x278ccd;return db[_0x1fa0('0x2f')]['find']({'where':{'id':_0x16a813[_0x1fa0('0x46')]['id']},'include':[{'model':db[_0x1fa0('0xff')],'as':_0x1fa0('0xff'),'include':[{'model':db[_0x1fa0('0xff')],'as':_0x1fa0('0x100'),'attributes':['id','interval'],'raw':!![]}]}]})[_0x1fa0('0x15')](handleEntityNotFound(_0x1d45dc,null))[_0x1fa0('0x15')](function(_0x2664c7){if(_0x2664c7){_0x5cba07=_0x2664c7;return _0x2664c7[_0x1fa0('0x101')]({'raw':!![]});}})[_0x1fa0('0x15')](function(_0x18a785){if(_0x5cba07){if(_0x18a785){_0x278ccd=_0x18a785;}}return require(_0x1fa0('0x6b'))[_0x1fa0('0x6c')]();})['then'](function(_0x28990f){if(_0x28990f){_0x2d8b3c=_0x28990f['virtual'];_0x24d537=_0x28990f[_0x1fa0('0x6d')];}})[_0x1fa0('0x15')](function(){return db[_0x1fa0('0xac')][_0x1fa0('0x23')]({'where':{'closed':![]}});})[_0x1fa0('0x15')](function(_0x3abd62){_0x11deb7=_0x3abd62;if(_0x2d8b3c&&_0x3abd62>_0x2d8b3c){return db[_0x1fa0('0x102')][_0x1fa0('0x59')]({'where':{'id':0x1}})[_0x1fa0('0x15')](function(_0x4108de){if(_0x4108de){_0x4108de[_0x1fa0('0x103')](_0x1fa0('0x104'));}});}})[_0x1fa0('0x15')](function(){if(_0x5cba07['Interval']&&_0x5cba07[_0x1fa0('0xff')]['Intervals']){var _0x3d6ac2=[];for(var _0x4d9383=0x0;_0x4d9383<_0x5cba07[_0x1fa0('0xff')][_0x1fa0('0x100')][_0x1fa0('0x39')];_0x4d9383++){var _0x204826=_0x5cba07[_0x1fa0('0xff')][_0x1fa0('0x100')][_0x4d9383]['get']({'plain':!![]});_0x3d6ac2[_0x1fa0('0x105')](iftimePromise(_0x204826,_0x5cba07));}return BPromise[_0x1fa0('0x106')](_0x3d6ac2)[_0x1fa0('0x15')](function(_0x2723f6){return _[_0x1fa0('0x107')](_0x2723f6);});}else{return!![];}})[_0x1fa0('0x15')](function(_0x4328d1){var _0x57c2d2=fs['readFileSync'](path['join'](config[_0x1fa0('0x71')],_0x1fa0('0x108')),'utf8');var _0x14c141={'remote':_0x5cba07[_0x1fa0('0x109')],'query':querystring[_0x1fa0('0x19')](_[_0x1fa0('0x48')](_0x5cba07[_0x1fa0('0x27')]({'plain':!![]}),{'customerIp':_0x16a813[_0x1fa0('0x9b')][_0x1fa0('0x9d')]||_0x16a813[_0x1fa0('0x9b')][_0x1fa0('0x10a')]||_0x16a813[_0x1fa0('0x10b')][_0x1fa0('0x10c')]||_0x16a813['ip'],'referer':_0x16a813['headers'][_0x1fa0('0xa3')],'openedInteractions':_0x11deb7,'maxInteractions':_0x2d8b3c,'virtual':_0x24d537[_0x1fa0('0x10d')],'online':_0x4328d1,'custom':_0x24d537}))[_0x1fa0('0x10e')](/'/g,'\x5c\x27')};_0x1d45dc[_0x1fa0('0x2a')](ejs['render'](Mustache[_0x1fa0('0xc9')](_0x57c2d2,_0x14c141),{'proactiveActions':_0x278ccd,'alignment':_0x5cba07['alignment'],'verticalAlignment':_0x5cba07['verticalAlignment'],'div_color':_0x5cba07[_0x1fa0('0xf1')],'labelText':_0x5cba07[_0x1fa0('0x10f')],'text_color':_0x5cba07[_0x1fa0('0x110')],'text_button_color':_0x5cba07[_0x1fa0('0x111')],'button_color':_0x5cba07['color_button'],'background_color':_0x5cba07[_0x1fa0('0x112')],'hideWhenOffline':_0x5cba07[_0x1fa0('0x113')],'interval':_0x5cba07['IntervalId']}));})[_0x1fa0('0x44')](handleError(_0x1d45dc,null));};exports[_0x1fa0('0x114')]=function(_0x5ef0b8,_0x350993){var _0x4797b6=_0x5ef0b8['params']['id'];var _0x4501fd=_0x5ef0b8['body'];var _0xba2617=0xc8;var _0x54422e=null;return db[_0x1fa0('0xd1')]['transaction']({'isolationLevel':db[_0x1fa0('0xd1')][_0x1fa0('0x115')]['ISOLATION_LEVELS'][_0x1fa0('0x116')]},function(_0x3ea7c2){return db[_0x1fa0('0x2f')][_0x1fa0('0x59')]({'where':{'id':_0x4797b6},'transaction':_0x3ea7c2})[_0x1fa0('0x15')](function(_0x264780){if(_0x264780){return db[_0x1fa0('0x91')][_0x1fa0('0x26')]({'where':{'ChatWebsiteId':_0x4797b6},'transaction':_0x3ea7c2})[_0x1fa0('0x15')](function(){var _0x3d37e9=_[_0x1fa0('0x2e')](_0x4501fd,function(_0x53c6d8){_0x53c6d8[_0x1fa0('0x56')]=_0x4797b6;return _0x53c6d8;});return db[_0x1fa0('0x91')][_0x1fa0('0x117')](_0x3d37e9,{'transaction':_0x3ea7c2});});}else{_0xba2617=0x194;_0x54422e=[];}});})['then'](function(){if(_0xba2617!==0x194){return db[_0x1fa0('0x91')][_0x1fa0('0x118')]({'where':{'ChatWebsiteId':_0x4797b6},'order':'priority'})[_0x1fa0('0x15')](function(_0x15f2e8){_0x54422e=_0x15f2e8;});}})[_0x1fa0('0x44')](function(_0x433188){_0xba2617=0x1f4;logger[_0x1fa0('0x1a')](_0x433188['stack']);if(_0x433188[_0x1fa0('0x29')]){delete _0x433188['name'];}_0x54422e=_0x433188;})[_0x1fa0('0x119')](function(){if(_0x54422e===null){_0x350993['sendStatus'](_0xba2617);}else{if(_0xba2617===0x1f4){_0x350993[_0x1fa0('0x1e')](_0xba2617)[_0x1fa0('0x2a')](_0x54422e);}else{_0x350993['status'](_0xba2617)[_0x1fa0('0x20')](_0x54422e);}}});};exports[_0x1fa0('0x11a')]=function(_0x3bbe18,_0x77bb93){var _0x3a0069={};var _0x3c23ee={};var _0x3c8a52;var _0x3107d9;return db[_0x1fa0('0x2f')][_0x1fa0('0x59')]({'where':{'id':_0x3bbe18[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x77bb93,null))[_0x1fa0('0x15')](function(_0x574a1a){if(_0x574a1a){_0x3c8a52=_0x574a1a;_0x3c23ee[_0x1fa0('0x32')]=_[_0x1fa0('0x33')](db[_0x1fa0('0x91')]['rawAttributes']);_0x3c23ee[_0x1fa0('0x34')]=_[_0x1fa0('0x33')](_0x3bbe18[_0x1fa0('0x34')]);_0x3c23ee[_0x1fa0('0x35')]=_[_0x1fa0('0x36')](_0x3c23ee['model'],_0x3c23ee[_0x1fa0('0x34')]);_0x3a0069['attributes']=_[_0x1fa0('0x36')](_0x3c23ee[_0x1fa0('0x32')],qs[_0x1fa0('0x37')](_0x3bbe18[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x3a0069[_0x1fa0('0x38')]=_0x3a0069[_0x1fa0('0x38')][_0x1fa0('0x39')]?_0x3a0069[_0x1fa0('0x38')]:_0x3c23ee[_0x1fa0('0x32')];_0x3a0069['order']=qs[_0x1fa0('0x3c')](_0x3bbe18[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x3a0069[_0x1fa0('0x3e')]=qs['filters'](_[_0x1fa0('0xea')](_0x3bbe18['query'],_0x3c23ee[_0x1fa0('0x35')]));if(_0x3bbe18[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x3a0069['where']=_[_0x1fa0('0x48')](_0x3a0069[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x3a0069[_0x1fa0('0x38')],function(_0x51120d){var _0x581744={};_0x581744[_0x51120d]={'$like':'%'+_0x3bbe18[_0x1fa0('0x34')]['filter']+'%'};return _0x581744;})});}_0x3a0069=_[_0x1fa0('0x48')]({},_0x3a0069,_0x3bbe18['options']);return _0x3c8a52[_0x1fa0('0x11a')](_0x3a0069);}})[_0x1fa0('0x15')](function(_0x3e4cd0){if(_0x3e4cd0){_0x3107d9=_0x3e4cd0['length'];if(!_0x3bbe18[_0x1fa0('0x34')][_0x1fa0('0x3a')](_0x1fa0('0x5a'))){_0x3a0069[_0x1fa0('0x22')]=qs[_0x1fa0('0x22')](_0x3bbe18[_0x1fa0('0x34')]['limit']);_0x3a0069[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x3bbe18['query'][_0x1fa0('0x24')]);}return _0x3c8a52[_0x1fa0('0x11a')](_0x3a0069);}})[_0x1fa0('0x15')](function(_0x6413a3){if(_0x6413a3){return _0x6413a3?{'count':_0x3107d9,'rows':_0x6413a3}:null;}})[_0x1fa0('0x15')](respondWithResult(_0x77bb93,null))['catch'](handleError(_0x77bb93,null));};exports[_0x1fa0('0x11b')]=function(_0x45aad3,_0x35f9ea){return db[_0x1fa0('0x11c')][_0x1fa0('0x49')]({'where':{'id':_0x45aad3['params']['id']}})['then'](handleEntityNotFound(_0x35f9ea,null))[_0x1fa0('0x15')](function(_0x16f8d3){if(_0x16f8d3){return _0x16f8d3[_0x1fa0('0x11b')](_0x45aad3['body']['ids'],_[_0x1fa0('0xe8')](_0x45aad3['body'],['ids','id'])||{});}})[_0x1fa0('0x15')](respondWithResult(_0x35f9ea,null))[_0x1fa0('0x44')](handleError(_0x35f9ea,null));};exports['getProactiveActions']=function(_0x3d0f74,_0x5c440f){var _0x292fcc={};var _0x542e36={};var _0x5ca094;var _0x2a6e97;return db[_0x1fa0('0x2f')]['findOne']({'where':{'id':_0x3d0f74[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x5c440f,null))['then'](function(_0x4dc66d){if(_0x4dc66d){_0x5ca094=_0x4dc66d;_0x542e36[_0x1fa0('0x32')]=_['keys'](db['ChatProactiveAction'][_0x1fa0('0x47')]);_0x542e36[_0x1fa0('0x34')]=_[_0x1fa0('0x33')](_0x3d0f74[_0x1fa0('0x34')]);_0x542e36[_0x1fa0('0x35')]=_[_0x1fa0('0x36')](_0x542e36[_0x1fa0('0x32')],_0x542e36[_0x1fa0('0x34')]);_0x292fcc[_0x1fa0('0x38')]=_[_0x1fa0('0x36')](_0x542e36[_0x1fa0('0x32')],qs[_0x1fa0('0x37')](_0x3d0f74['query'][_0x1fa0('0x37')]));_0x292fcc['attributes']=_0x292fcc['attributes'][_0x1fa0('0x39')]?_0x292fcc[_0x1fa0('0x38')]:_0x542e36['model'];_0x292fcc[_0x1fa0('0x3b')]=qs[_0x1fa0('0x3c')](_0x3d0f74[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x292fcc[_0x1fa0('0x3e')]=qs[_0x1fa0('0x35')](_[_0x1fa0('0xea')](_0x3d0f74[_0x1fa0('0x34')],_0x542e36['filters']));if(_0x3d0f74[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x292fcc[_0x1fa0('0x3e')]=_['merge'](_0x292fcc[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x292fcc[_0x1fa0('0x38')],function(_0x11d01d){var _0x1d372c={};_0x1d372c[_0x11d01d]={'$like':'%'+_0x3d0f74[_0x1fa0('0x34')]['filter']+'%'};return _0x1d372c;})});}_0x292fcc=_[_0x1fa0('0x48')]({},_0x292fcc,_0x3d0f74['options']);return _0x5ca094[_0x1fa0('0x101')](_0x292fcc);}})['then'](function(_0x5de9c2){if(_0x5de9c2){_0x2a6e97=_0x5de9c2['length'];if(!_0x3d0f74['query']['hasOwnProperty'](_0x1fa0('0x5a'))){_0x292fcc['limit']=qs[_0x1fa0('0x22')](_0x3d0f74[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x292fcc[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x3d0f74[_0x1fa0('0x34')][_0x1fa0('0x24')]);}return _0x5ca094[_0x1fa0('0x101')](_0x292fcc);}})[_0x1fa0('0x15')](function(_0x571959){if(_0x571959){return _0x571959?{'count':_0x2a6e97,'rows':_0x571959}:null;}})['then'](respondWithResult(_0x5c440f,null))['catch'](handleError(_0x5c440f,null));};exports[_0x1fa0('0x11d')]=function(_0x5d34ea,_0x3c8134){var _0x54f6ec=_0x5d34ea['query']['online']===_0x1fa0('0x11e')?_0x1fa0('0x11f'):_0x1fa0('0x120');return db['ChatWebsite'][_0x1fa0('0x49')]({'attributes':['id',_0x54f6ec],'where':{'id':_0x5d34ea[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x3c8134,null))['then'](function(_0x4f945a){if(_0x4f945a){var _0x3edaee=_0x4f945a[_0x54f6ec];var _0x28dbac=_0x3edaee&&_0x3edaee[_0x1fa0('0x121')]?_0x3edaee[_0x1fa0('0x121')]:[];_0x3c8134['send']({'fromKey':_['isNil'](_0x3edaee['fromKey'])?undefined:_0x3edaee[_0x1fa0('0x122')],'count':_0x28dbac[_0x1fa0('0x39')],'rows':_0x28dbac});}})[_0x1fa0('0x44')](handleError(_0x3c8134,null));};exports[_0x1fa0('0x123')]=function(_0x4b5666,_0x1481df){var _0x416ad1={'raw':![],'where':{}};var _0x2ea3d3={};var _0x4f6be4={'count':0x0,'rows':[]};return db[_0x1fa0('0x2f')][_0x1fa0('0x59')]({'where':{'id':_0x4b5666[_0x1fa0('0x46')]['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x1481df,null))[_0x1fa0('0x15')](function(_0xedb5fd){if(_0xedb5fd){_0x2ea3d3['model']=_['keys'](db['ChatOfflineMessage'][_0x1fa0('0x47')]);_0x2ea3d3['query']=_[_0x1fa0('0x33')](_0x4b5666[_0x1fa0('0x34')]);_0x2ea3d3[_0x1fa0('0x35')]=_[_0x1fa0('0x36')](_0x2ea3d3[_0x1fa0('0x32')],_0x2ea3d3[_0x1fa0('0x34')]);_0x416ad1['attributes']=_[_0x1fa0('0x36')](_0x2ea3d3[_0x1fa0('0x32')],qs[_0x1fa0('0x37')](_0x4b5666[_0x1fa0('0x34')][_0x1fa0('0x37')]));_0x416ad1['attributes']=_0x416ad1[_0x1fa0('0x38')][_0x1fa0('0x39')]?_0x416ad1[_0x1fa0('0x38')]:_0x2ea3d3[_0x1fa0('0x32')];if(!_0x4b5666[_0x1fa0('0x34')]['hasOwnProperty'](_0x1fa0('0x5a'))){_0x416ad1['limit']=qs[_0x1fa0('0x22')](_0x4b5666[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x416ad1[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x4b5666[_0x1fa0('0x34')]['offset']);}_0x416ad1[_0x1fa0('0x3b')]=qs[_0x1fa0('0x3c')](_0x4b5666['query'][_0x1fa0('0x3c')]);_0x416ad1['where']=qs[_0x1fa0('0x35')](_[_0x1fa0('0xea')](_0x4b5666[_0x1fa0('0x34')],_0x2ea3d3[_0x1fa0('0x35')]));_0x416ad1[_0x1fa0('0x3e')]['ChatWebsiteId']=_0xedb5fd['id'];if(_0x4b5666[_0x1fa0('0x34')][_0x1fa0('0x3d')]){_0x416ad1[_0x1fa0('0x3e')]=_['merge'](_0x416ad1[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x416ad1[_0x1fa0('0x38')],function(_0x2e3707){var _0x1e1465={};_0x1e1465[_0x2e3707]={'$like':'%'+_0x4b5666[_0x1fa0('0x34')][_0x1fa0('0x3d')]+'%'};return _0x1e1465;})});}_0x416ad1=_[_0x1fa0('0x48')]({},_0x416ad1,_0x4b5666[_0x1fa0('0x40')]);return db[_0x1fa0('0x124')]['count']({'where':_0x416ad1[_0x1fa0('0x3e')]})['then'](function(_0x93a38c){_0x4f6be4[_0x1fa0('0x23')]=_0x93a38c;if(_0x4b5666[_0x1fa0('0x34')]['includeAll']){_0x416ad1[_0x1fa0('0x42')]=[{'all':!![]}];}else{_0x416ad1['include']=[{'model':db[_0x1fa0('0x7f')],'as':_0x1fa0('0xeb'),'required':![]},{'model':db[_0x1fa0('0xd3')],'as':_0x1fa0('0x125'),'required':![]}];}return db['ChatOfflineMessage']['findAll'](_0x416ad1);})[_0x1fa0('0x15')](function(_0x208ff0){_0x4f6be4['rows']=_0x208ff0;return _0x4f6be4;});}})[_0x1fa0('0x15')](respondWithFilteredResult(_0x1481df,_0x416ad1))[_0x1fa0('0x44')](handleError(_0x1481df,null));};exports[_0x1fa0('0x126')]=function(_0x2259a5,_0x542e17){return db['ChatWebsite'][_0x1fa0('0x49')]({'where':{'id':_0x2259a5[_0x1fa0('0x46')]['id']}})['then'](handleEntityNotFound(_0x542e17,null))[_0x1fa0('0x15')](function(_0x30caf1){if(_0x30caf1){return _0x30caf1[_0x1fa0('0x126')](_0x2259a5[_0x1fa0('0x4b')][_0x1fa0('0x61')],_[_0x1fa0('0xe8')](_0x2259a5[_0x1fa0('0x4b')],[_0x1fa0('0x61'),'id'])||{})[_0x1fa0('0xaf')](function(_0x2048be){for(var _0x14c0bc=0x0;_0x14c0bc<_0x2259a5[_0x1fa0('0x4b')]['ids'][_0x1fa0('0x39')];_0x14c0bc+=0x1){socket['emit']('userChatWebsite:save',{'UserId':Number(_0x2259a5[_0x1fa0('0x4b')][_0x1fa0('0x61')][_0x14c0bc]),'ChatWebsiteId':Number(_0x2259a5[_0x1fa0('0x46')]['id'])});}return _0x2048be;});}})[_0x1fa0('0x15')](respondWithResult(_0x542e17,null))[_0x1fa0('0x44')](handleError(_0x542e17,null));};exports[_0x1fa0('0x127')]=function(_0x45fe3e,_0x2601ec){return db[_0x1fa0('0x2f')][_0x1fa0('0x49')]({'where':{'id':_0x45fe3e['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0x2601ec,null))[_0x1fa0('0x15')](function(_0x658ee9){if(_0x658ee9){return _0x658ee9[_0x1fa0('0x127')](_0x45fe3e[_0x1fa0('0x34')][_0x1fa0('0x61')])[_0x1fa0('0x15')](function(){if(_['isArray'](_0x45fe3e[_0x1fa0('0x34')][_0x1fa0('0x61')])){for(var _0x36d922=0x0;_0x36d922<_0x45fe3e['query']['ids'][_0x1fa0('0x39')];_0x36d922+=0x1){socket['emit']('userChatWebsite:remove',{'UserId':Number(_0x45fe3e[_0x1fa0('0x34')]['ids'][_0x36d922]),'ChatWebsiteId':Number(_0x45fe3e[_0x1fa0('0x46')]['id'])});}}else{socket['emit']('userChatWebsite:remove',{'UserId':Number(_0x45fe3e['query'][_0x1fa0('0x61')]),'ChatWebsiteId':Number(_0x45fe3e['params']['id'])});}});}})[_0x1fa0('0x15')](respondWithStatusCode(_0x2601ec,null))['catch'](handleError(_0x2601ec,null));};exports[_0x1fa0('0x128')]=function(_0x37d109,_0xaedd08){var _0x2c6c79={};var _0x4cec2e={};var _0x470620;var _0x2e847d;return db[_0x1fa0('0x2f')][_0x1fa0('0x59')]({'where':{'id':_0x37d109['params']['id']}})[_0x1fa0('0x15')](handleEntityNotFound(_0xaedd08,null))[_0x1fa0('0x15')](function(_0x8a7ccb){if(_0x8a7ccb){_0x470620=_0x8a7ccb;_0x4cec2e['model']=_[_0x1fa0('0x33')](db[_0x1fa0('0xb7')][_0x1fa0('0x47')]);_0x4cec2e[_0x1fa0('0x34')]=_[_0x1fa0('0x33')](_0x37d109[_0x1fa0('0x34')]);_0x4cec2e[_0x1fa0('0x35')]=_['intersection'](_0x4cec2e[_0x1fa0('0x32')],_0x4cec2e[_0x1fa0('0x34')]);_0x2c6c79[_0x1fa0('0x38')]=_[_0x1fa0('0x36')](_0x4cec2e[_0x1fa0('0x32')],qs['fields'](_0x37d109['query']['fields']));_0x2c6c79[_0x1fa0('0x38')]=_0x2c6c79[_0x1fa0('0x38')][_0x1fa0('0x39')]?_0x2c6c79[_0x1fa0('0x38')]:_0x4cec2e[_0x1fa0('0x32')];_0x2c6c79[_0x1fa0('0x3b')]=qs[_0x1fa0('0x3c')](_0x37d109[_0x1fa0('0x34')][_0x1fa0('0x3c')]);_0x2c6c79[_0x1fa0('0x3e')]=qs[_0x1fa0('0x35')](_['pick'](_0x37d109['query'],_0x4cec2e[_0x1fa0('0x35')]));if(_0x37d109['query'][_0x1fa0('0x3d')]){_0x2c6c79[_0x1fa0('0x3e')]=_['merge'](_0x2c6c79[_0x1fa0('0x3e')],{'$or':_[_0x1fa0('0x2e')](_0x2c6c79[_0x1fa0('0x38')],function(_0x2d56d9){var _0x3884e5={};_0x3884e5[_0x2d56d9]={'$like':'%'+_0x37d109[_0x1fa0('0x34')][_0x1fa0('0x3d')]+'%'};return _0x3884e5;})});}_0x2c6c79=_[_0x1fa0('0x48')]({},_0x2c6c79,_0x37d109['options']);return _0x470620['getAgents'](_0x2c6c79);}})[_0x1fa0('0x15')](function(_0x1cf269){if(_0x1cf269){_0x2e847d=_0x1cf269[_0x1fa0('0x39')];if(!_0x37d109['query'][_0x1fa0('0x3a')](_0x1fa0('0x5a'))){_0x2c6c79[_0x1fa0('0x22')]=qs[_0x1fa0('0x22')](_0x37d109[_0x1fa0('0x34')][_0x1fa0('0x22')]);_0x2c6c79[_0x1fa0('0x24')]=qs[_0x1fa0('0x24')](_0x37d109['query'][_0x1fa0('0x24')]);}return _0x470620[_0x1fa0('0x128')](_0x2c6c79);}})['then'](function(_0x2bb795){if(_0x2bb795){return _0x2bb795?{'count':_0x2e847d,'rows':_0x2bb795}:null;}})[_0x1fa0('0x15')](respondWithResult(_0xaedd08,null))[_0x1fa0('0x44')](handleError(_0xaedd08,null));};
\ No newline at end of file
+var _0x5094=['attachments','remove','Could\x20not\x20remove\x20attachment\x20file','addInteraction','omit','getInteractions','Contact','User','Owner','fullname','internal','Tag','Tags','tag','Command','getSnippet','timezone','interval','iftime\x20%s','true','OFFLINE','No\x20timezone','[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)','inspect','Interval','Intervals','getProactiveActions','virtual','License','increment','chatLicenseExceeded','all','server/files/chat/iframe.ejs','utf8','remote','x-real-ip','connection','referer','replace','render','alignment','color','labelText','textButtonColor','hideWhenOffline','IntervalId','addApplications','transaction','Transaction','ISOLATION_LEVELS','bulkCreate','findAndCountAll','finally','getApplications','addProactiveActions','chatProactiveAction','ChatProactiveAction','getFields','false','offlineForm','items','fromKey','getOfflineMessages','Attachments','addAgents','emit','removeAgents','userChatWebsite:remove','getAgents','mustache','ejs','lodash','ioredis','../../components/parsers/qs','../../config/logger','api','../../config/environment','../../mysqldb','redis','localhost','./chatWebsite.socket','register','html-to-text','jayson/promise','client','http','request','then','info','ChatWebsite,\x20%s,\x20%s','request\x20sent','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','destroy','ChatWebsites','stack','name','send','index','Pause','mandatoryDispositionPause','map','ChatWebsite','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','params','rawAttributes','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','ChatWebsiteId','findOne','Disposition','pick','findAll','rows','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','nolimit','removeAnswers','addLogo','sitepic','file','addAvatar','agentAvatar','filename','addCustomerAvatar','customerAvatar','addSystemAvatar','systemAvatar','getLogo','join','root','server/files/images/logos/default_logo.svg','../../config/license/util','getLicense','custom','existsSync','server/files/images/logos/','download','getAvatar','isNil','server/files/images/avatars/','showCustomerAvatar','server/files/images/avatars/system_avatar.png','notify','user-agent-parser','setUA','headers','user-agent','getResult','chat','ValidationError','difference','updatedAt','CompanyId','ListId','Sequelize','from\x20is\x20mandatory','mapKey','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','from','CmList','List','CmContact','Contacts','ChatApplication','account','Applications','list','applications','orderBy','priority','asc','defaults','contact','customerIp','cf-connecting-ip','x-forwarded-for','split','firstName','lastName','x-real-port','browser','version','format','%s\x20%s','unknown','device','vendor','%s\x20%s\x20%s','threadId','ChatInteraction','externalUrl','ContactId','interaction','messageId','created','push','close','unmanaged','*,*,*,*','ChatMessage','AttachmentId','UserId','unshift','waitForTheAssignedAgent','forcedOwnership','Start','startRouting','EventManager','offline','files','describe','no\x20available\x20attributes','createdAt','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKeyOffline','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','MailAccount','findOrCreate','spread','readFileSync','server/files/templates/chatOfflineMessage.ejs','offlineMessageBody','ChatOfflineMessage','fromString','originalname','mimetype','server','offline-chat','basename','openNewInteraction','sequelize','Attachment','MailServerOut','Smtp','CloudProvider','forwardOfflineAddress','getSmtpOptions','SendMail','sendMail','\x22%s\x22\x20<%s>','offlineMessageSubject','mapValues','subjectOffline','email','NotifyMailAccount','notifyMail'];(function(_0x56ed83,_0x31562f){var _0x1d9041=function(_0x1fc8ad){while(--_0x1fc8ad){_0x56ed83['push'](_0x56ed83['shift']());}};_0x1d9041(++_0x31562f);}(_0x5094,0x16d));var _0x4509=function(_0xaf25ae,_0x2001c1){_0xaf25ae=_0xaf25ae-0x0;var _0x49732d=_0x5094[_0xaf25ae];return _0x49732d;};'use strict';var BPromise=require('bluebird');var Mustache=require(_0x4509('0x0'));var util=require('util');var path=require('path');var ejs=require(_0x4509('0x1'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x4509('0x2'));var querystring=require('querystring');var Redis=require(_0x4509('0x3'));var qs=require(_0x4509('0x4'));var logger=require(_0x4509('0x5'))(_0x4509('0x6'));var config=require(_0x4509('0x7'));var db=require(_0x4509('0x8'))['db'];config[_0x4509('0x9')]=_['defaults'](config[_0x4509('0x9')],{'host':_0x4509('0xa'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x4509('0x9')]));require(_0x4509('0xb'))[_0x4509('0xc')](socket);var htmlToText=require(_0x4509('0xd'));var jayson=require(_0x4509('0xe'));var client=jayson[_0x4509('0xf')]['http']({'port':0x232c});var client9002=jayson[_0x4509('0xf')][_0x4509('0x10')]({'port':0x232a});var client9003=jayson[_0x4509('0xf')]['http']({'port':0x232b});var client9001=jayson[_0x4509('0xf')]['http']({'port':0x2329});function respondWithRpcPromise(_0x4a03ad,_0x5418b4,_0x11b6fe,_0x87a8c3){return new BPromise(function(_0x225ceb,_0x175dcf){var _0x4a6ff6=_0x87a8c3||client;return _0x4a6ff6[_0x4509('0x11')](_0x4a03ad,_0x11b6fe)[_0x4509('0x12')](function(_0x2ea1b9){logger[_0x4509('0x13')](_0x4509('0x14'),_0x5418b4,_0x4509('0x15'));logger[_0x4509('0x16')](_0x4509('0x17'),_0x5418b4,_0x4509('0x15'),JSON[_0x4509('0x18')](_0x2ea1b9));if(_0x2ea1b9['error']){if(_0x2ea1b9[_0x4509('0x19')]['code']===0x1f4){logger[_0x4509('0x19')]('ChatWebsite,\x20%s,\x20%s',_0x5418b4,_0x2ea1b9[_0x4509('0x19')][_0x4509('0x1a')]);return _0x175dcf(_0x2ea1b9[_0x4509('0x19')][_0x4509('0x1a')]);}logger['error'](_0x4509('0x14'),_0x5418b4,_0x2ea1b9['error']['message']);return _0x225ceb(_0x2ea1b9[_0x4509('0x19')][_0x4509('0x1a')]);}else{logger[_0x4509('0x13')](_0x4509('0x14'),_0x5418b4,_0x4509('0x15'));_0x225ceb(_0x2ea1b9[_0x4509('0x1b')][_0x4509('0x1a')]);}})[_0x4509('0x1c')](function(_0x40af8c){logger[_0x4509('0x19')](_0x4509('0x14'),_0x5418b4,_0x40af8c);_0x175dcf(_0x40af8c);});});}function respondWithStatusCode(_0x4a196b,_0x5bd5fb){_0x5bd5fb=_0x5bd5fb||0xcc;return function(_0x1b0fc8){if(_0x1b0fc8){return _0x4a196b[_0x4509('0x1d')](_0x5bd5fb);}return _0x4a196b[_0x4509('0x1e')](_0x5bd5fb)[_0x4509('0x1f')]();};}function respondWithResult(_0x5e681c,_0x3dc47c){_0x3dc47c=_0x3dc47c||0xc8;return function(_0x11e9dd){if(_0x11e9dd){return _0x5e681c[_0x4509('0x1e')](_0x3dc47c)[_0x4509('0x20')](_0x11e9dd);}};}function respondWithFilteredResult(_0x4da472,_0x375105){return function(_0x32f2eb){if(_0x32f2eb){var _0x25a69b=typeof _0x375105[_0x4509('0x21')]===_0x4509('0x22')&&typeof _0x375105[_0x4509('0x23')]===_0x4509('0x22');var _0x41f28e=_0x32f2eb[_0x4509('0x24')];var _0x2a66cb=_0x25a69b?0x0:_0x375105[_0x4509('0x21')];var _0x36e114=_0x25a69b?_0x32f2eb[_0x4509('0x24')]:_0x375105[_0x4509('0x21')]+_0x375105[_0x4509('0x23')];var _0x58bb61;if(_0x36e114>=_0x41f28e){_0x36e114=_0x41f28e;_0x58bb61=0xc8;}else{_0x58bb61=0xce;}_0x4da472[_0x4509('0x1e')](_0x58bb61);return _0x4da472[_0x4509('0x25')](_0x4509('0x26'),_0x2a66cb+'-'+_0x36e114+'/'+_0x41f28e)[_0x4509('0x20')](_0x32f2eb);}return null;};}function saveUpdates(_0x5c8b67){return function(_0x231c85){if(_0x231c85){return _0x231c85['update'](_0x5c8b67)[_0x4509('0x12')](function(_0x232594){return _0x232594;});}return null;};}function removeEntity(_0xe5fdac){return function(_0x30c68e){if(_0x30c68e){return _0x30c68e[_0x4509('0x27')]()[_0x4509('0x12')](function(){var _0x13ee4b=_0x30c68e['get']({'plain':!![]});var _0xb9c1cc=_0x4509('0x28');return db['UserProfileResource']['destroy']({'where':{'type':_0xb9c1cc,'resourceId':_0x13ee4b['id']}})[_0x4509('0x12')](function(){return _0x30c68e;});})[_0x4509('0x12')](function(){_0xe5fdac[_0x4509('0x1e')](0xcc)[_0x4509('0x1f')]();});}};}function handleEntityNotFound(_0x483e14){return function(_0x1c8199){if(!_0x1c8199){_0x483e14[_0x4509('0x1d')](0x194);}return _0x1c8199;};}function handleError(_0x4a7e68,_0x297156){_0x297156=_0x297156||0x1f4;return function(_0x226a19){logger[_0x4509('0x19')](_0x226a19[_0x4509('0x29')]);if(_0x226a19[_0x4509('0x2a')]){delete _0x226a19[_0x4509('0x2a')];}_0x4a7e68['status'](_0x297156)[_0x4509('0x2b')](_0x226a19);};}exports[_0x4509('0x2c')]=function(_0x17b4ed,_0x149c20){var _0x22d804={'include':[{'model':db[_0x4509('0x2d')],'as':_0x4509('0x2e')}]},_0x4c9e02={},_0x5cea6d={'count':0x0,'rows':[]};var _0x20710d=_[_0x4509('0x2f')](db[_0x4509('0x30')]['rawAttributes'],function(_0x239c0d){return{'name':_0x239c0d[_0x4509('0x31')],'type':_0x239c0d[_0x4509('0x32')][_0x4509('0x33')]};});_0x4c9e02['model']=_[_0x4509('0x2f')](_0x20710d,'name');_0x4c9e02[_0x4509('0x34')]=_[_0x4509('0x35')](_0x17b4ed[_0x4509('0x34')]);_0x4c9e02[_0x4509('0x36')]=_[_0x4509('0x37')](_0x4c9e02[_0x4509('0x38')],_0x4c9e02[_0x4509('0x34')]);_0x22d804['attributes']=_['intersection'](_0x4c9e02[_0x4509('0x38')],qs['fields'](_0x17b4ed[_0x4509('0x34')][_0x4509('0x39')]));_0x22d804[_0x4509('0x3a')]=_0x22d804[_0x4509('0x3a')][_0x4509('0x3b')]?_0x22d804[_0x4509('0x3a')]:_0x4c9e02['model'];if(!_0x17b4ed[_0x4509('0x34')][_0x4509('0x3c')]('nolimit')){_0x22d804['limit']=qs[_0x4509('0x23')](_0x17b4ed['query'][_0x4509('0x23')]);_0x22d804[_0x4509('0x21')]=qs[_0x4509('0x21')](_0x17b4ed[_0x4509('0x34')][_0x4509('0x21')]);}_0x22d804[_0x4509('0x3d')]=qs[_0x4509('0x3e')](_0x17b4ed['query'][_0x4509('0x3e')]);_0x22d804[_0x4509('0x3f')]=qs[_0x4509('0x36')](_['pick'](_0x17b4ed[_0x4509('0x34')],_0x4c9e02[_0x4509('0x36')]),_0x20710d);if(_0x17b4ed[_0x4509('0x34')][_0x4509('0x40')]){_0x22d804[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x22d804[_0x4509('0x3f')],{'$or':_[_0x4509('0x2f')](_0x20710d,function(_0x1e0d15){if(_0x1e0d15[_0x4509('0x32')]!==_0x4509('0x42')){var _0x2a9e94={};_0x2a9e94[_0x1e0d15[_0x4509('0x2a')]]={'$like':'%'+_0x17b4ed[_0x4509('0x34')][_0x4509('0x40')]+'%'};return _0x2a9e94;}})});}_0x22d804=_[_0x4509('0x41')]({},_0x22d804,_0x17b4ed[_0x4509('0x43')]);var _0x4e2b66={'where':_0x22d804['where']};return db[_0x4509('0x30')][_0x4509('0x24')](_0x4e2b66)[_0x4509('0x12')](function(_0x355a81){_0x5cea6d[_0x4509('0x24')]=_0x355a81;if(_0x17b4ed['query'][_0x4509('0x44')]){_0x22d804[_0x4509('0x45')]=[{'all':!![]}];}return db[_0x4509('0x30')]['findAll'](_0x22d804);})[_0x4509('0x12')](function(_0x323b1f){_0x5cea6d['rows']=_0x323b1f;return _0x5cea6d;})[_0x4509('0x12')](respondWithFilteredResult(_0x149c20,_0x22d804))[_0x4509('0x1c')](handleError(_0x149c20,null));};exports['show']=function(_0x293838,_0x58e09b){var _0x5a3e4c={'raw':![],'where':{'id':_0x293838[_0x4509('0x46')]['id']},'include':[{'model':db[_0x4509('0x2d')],'as':_0x4509('0x2e')}]},_0x5478ae={};_0x5478ae[_0x4509('0x38')]=_[_0x4509('0x35')](db[_0x4509('0x30')][_0x4509('0x47')]);_0x5478ae['query']=_[_0x4509('0x35')](_0x293838[_0x4509('0x34')]);_0x5478ae[_0x4509('0x36')]=_['intersection'](_0x5478ae['model'],_0x5478ae['query']);_0x5a3e4c[_0x4509('0x3a')]=_[_0x4509('0x37')](_0x5478ae[_0x4509('0x38')],qs['fields'](_0x293838['query']['fields']));_0x5a3e4c['attributes']=_0x5a3e4c[_0x4509('0x3a')][_0x4509('0x3b')]?_0x5a3e4c[_0x4509('0x3a')]:_0x5478ae[_0x4509('0x38')];if(_0x293838['query'][_0x4509('0x44')]){_0x5a3e4c[_0x4509('0x45')]=[{'all':!![]}];}_0x5a3e4c=_['merge']({},_0x5a3e4c,_0x293838[_0x4509('0x43')]);return db[_0x4509('0x30')][_0x4509('0x48')](_0x5a3e4c)[_0x4509('0x12')](handleEntityNotFound(_0x58e09b,null))['then'](respondWithResult(_0x58e09b,null))[_0x4509('0x1c')](handleError(_0x58e09b,null));};exports[_0x4509('0x49')]=function(_0x15903b,_0x4df6a5){return db[_0x4509('0x30')][_0x4509('0x49')](_0x15903b[_0x4509('0x4a')],{})[_0x4509('0x12')](function(_0x3e0a4d){var _0x57ebe1=_0x15903b[_0x4509('0x4b')][_0x4509('0x4c')]({'plain':!![]});if(!_0x57ebe1)throw new Error(_0x4509('0x4d'));if(_0x57ebe1['role']==='user'){var _0x3cb171=_0x3e0a4d[_0x4509('0x4c')]({'plain':!![]});var _0x459c87=_0x4509('0x28');return db[_0x4509('0x4e')][_0x4509('0x48')]({'where':{'name':_0x459c87,'userProfileId':_0x57ebe1['userProfileId']},'raw':!![]})['then'](function(_0x3008a5){if(_0x3008a5&&_0x3008a5[_0x4509('0x4f')]===0x0){return db[_0x4509('0x50')][_0x4509('0x49')]({'name':_0x3cb171[_0x4509('0x2a')],'resourceId':_0x3cb171['id'],'type':_0x3008a5[_0x4509('0x2a')],'sectionId':_0x3008a5['id']},{})[_0x4509('0x12')](function(){return _0x3e0a4d;});}else{return _0x3e0a4d;}})['catch'](function(_0x485beb){logger['error'](_0x4509('0x51'),_0x485beb);throw _0x485beb;});}return _0x3e0a4d;})[_0x4509('0x12')](respondWithResult(_0x4df6a5,0xc9))[_0x4509('0x1c')](handleError(_0x4df6a5,null));};exports[_0x4509('0x52')]=function(_0x279185,_0x5f048a){if(_0x279185[_0x4509('0x4a')]['id']){delete _0x279185[_0x4509('0x4a')]['id'];}return db[_0x4509('0x30')]['find']({'where':{'id':_0x279185[_0x4509('0x46')]['id']},'include':[{'model':db[_0x4509('0x2d')],'as':_0x4509('0x2e')}]})[_0x4509('0x12')](handleEntityNotFound(_0x5f048a,null))[_0x4509('0x12')](saveUpdates(_0x279185['body'],null))['then'](respondWithResult(_0x5f048a,null))[_0x4509('0x1c')](handleError(_0x5f048a,null));};exports[_0x4509('0x27')]=function(_0x71c8f4,_0x16a47e){return db['ChatWebsite'][_0x4509('0x48')]({'where':{'id':_0x71c8f4[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x16a47e,null))[_0x4509('0x12')](removeEntity(_0x16a47e,null))[_0x4509('0x1c')](handleError(_0x16a47e,null));};exports['describe']=function(_0x193cde,_0x1ad74a){return db[_0x4509('0x30')]['describe']()[_0x4509('0x12')](respondWithResult(_0x1ad74a,null))[_0x4509('0x1c')](handleError(_0x1ad74a,null));};exports['addDisposition']=function(_0x5245ab,_0x113aa2){if(_0x5245ab['body']['id']){delete _0x5245ab[_0x4509('0x4a')]['id'];}return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x5245ab[_0x4509('0x46')]['id']}})['then'](handleEntityNotFound(_0x113aa2,null))[_0x4509('0x12')](function(_0x3770ed){if(_0x3770ed){_0x5245ab['body'][_0x4509('0x53')]=_0x3770ed['id'];return db['Disposition'][_0x4509('0x49')](_0x5245ab[_0x4509('0x4a')]);}})['then'](respondWithResult(_0x113aa2,null))[_0x4509('0x1c')](handleError(_0x113aa2,null));};exports['getDispositions']=function(_0x324b90,_0x2df8ae){var _0x1049d3={'raw':![],'where':{}};var _0x256225={};var _0x12c5b4={'count':0x0,'rows':[]};return db[_0x4509('0x30')][_0x4509('0x54')]({'where':{'id':_0x324b90[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x2df8ae,null))[_0x4509('0x12')](function(_0x45e334){if(_0x45e334){_0x256225[_0x4509('0x38')]=_['keys'](db[_0x4509('0x55')][_0x4509('0x47')]);_0x256225[_0x4509('0x34')]=_[_0x4509('0x35')](_0x324b90[_0x4509('0x34')]);_0x256225['filters']=_[_0x4509('0x37')](_0x256225[_0x4509('0x38')],_0x256225['query']);_0x1049d3[_0x4509('0x3a')]=_['intersection'](_0x256225['model'],qs[_0x4509('0x39')](_0x324b90['query']['fields']));_0x1049d3['attributes']=_0x1049d3[_0x4509('0x3a')][_0x4509('0x3b')]?_0x1049d3['attributes']:_0x256225[_0x4509('0x38')];if(!_0x324b90['query'][_0x4509('0x3c')]('nolimit')){_0x1049d3[_0x4509('0x23')]=qs['limit'](_0x324b90[_0x4509('0x34')][_0x4509('0x23')]);_0x1049d3[_0x4509('0x21')]=qs['offset'](_0x324b90[_0x4509('0x34')][_0x4509('0x21')]);}_0x1049d3[_0x4509('0x3d')]=qs[_0x4509('0x3e')](_0x324b90[_0x4509('0x34')][_0x4509('0x3e')]);_0x1049d3[_0x4509('0x3f')]=qs[_0x4509('0x36')](_[_0x4509('0x56')](_0x324b90[_0x4509('0x34')],_0x256225[_0x4509('0x36')]));_0x1049d3[_0x4509('0x3f')][_0x4509('0x53')]=_0x45e334['id'];if(_0x324b90[_0x4509('0x34')][_0x4509('0x40')]){_0x1049d3[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x1049d3[_0x4509('0x3f')],{'$or':_[_0x4509('0x2f')](_0x1049d3[_0x4509('0x3a')],function(_0x16eabc){var _0x5156f6={};_0x5156f6[_0x16eabc]={'$like':'%'+_0x324b90['query'][_0x4509('0x40')]+'%'};return _0x5156f6;})});}_0x1049d3=_[_0x4509('0x41')]({},_0x1049d3,_0x324b90['options']);return db[_0x4509('0x55')][_0x4509('0x24')]({'where':_0x1049d3[_0x4509('0x3f')]})[_0x4509('0x12')](function(_0x4cb042){_0x12c5b4[_0x4509('0x24')]=_0x4cb042;if(_0x324b90['query']['includeAll']){_0x1049d3['include']=[{'all':!![]}];}return db[_0x4509('0x55')][_0x4509('0x57')](_0x1049d3);})[_0x4509('0x12')](function(_0x3583e0){_0x12c5b4[_0x4509('0x58')]=_0x3583e0;return _0x12c5b4;});}})[_0x4509('0x12')](respondWithFilteredResult(_0x2df8ae,_0x1049d3))[_0x4509('0x1c')](handleError(_0x2df8ae,null));};exports['removeDispositions']=function(_0x1d2f05,_0x4deeea){return db[_0x4509('0x30')]['find']({'where':{'id':_0x1d2f05[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x4deeea,null))[_0x4509('0x12')](function(_0x26a641){if(_0x26a641){return _0x26a641[_0x4509('0x59')](_0x1d2f05['query'][_0x4509('0x5a')]);}})[_0x4509('0x12')](respondWithStatusCode(_0x4deeea,null))[_0x4509('0x1c')](handleError(_0x4deeea,null));};exports[_0x4509('0x5b')]=function(_0x2335d4,_0x1bacd4){if(_0x2335d4[_0x4509('0x4a')]['id']){delete _0x2335d4[_0x4509('0x4a')]['id'];}return db[_0x4509('0x30')]['find']({'where':{'id':_0x2335d4['params']['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x1bacd4,null))[_0x4509('0x12')](function(_0xd95974){if(_0xd95974){_0x2335d4[_0x4509('0x4a')]['ChatWebsiteId']=_0xd95974['id'];return db[_0x4509('0x5c')]['create'](_0x2335d4['body']);}})['then'](respondWithResult(_0x1bacd4,null))[_0x4509('0x1c')](handleError(_0x1bacd4,null));};exports[_0x4509('0x5d')]=function(_0x894a07,_0x4b4e6f){var _0x4ac334={'raw':![],'where':{}};var _0x22796c={};var _0x4624fa={'count':0x0,'rows':[]};return db[_0x4509('0x30')][_0x4509('0x54')]({'where':{'id':_0x894a07['params']['id']}})['then'](handleEntityNotFound(_0x4b4e6f,null))[_0x4509('0x12')](function(_0x1ce4bd){if(_0x1ce4bd){_0x22796c[_0x4509('0x38')]=_['keys'](db[_0x4509('0x5c')][_0x4509('0x47')]);_0x22796c[_0x4509('0x34')]=_[_0x4509('0x35')](_0x894a07[_0x4509('0x34')]);_0x22796c['filters']=_['intersection'](_0x22796c[_0x4509('0x38')],_0x22796c[_0x4509('0x34')]);_0x4ac334[_0x4509('0x3a')]=_[_0x4509('0x37')](_0x22796c[_0x4509('0x38')],qs[_0x4509('0x39')](_0x894a07['query'][_0x4509('0x39')]));_0x4ac334[_0x4509('0x3a')]=_0x4ac334[_0x4509('0x3a')]['length']?_0x4ac334[_0x4509('0x3a')]:_0x22796c['model'];if(!_0x894a07[_0x4509('0x34')]['hasOwnProperty'](_0x4509('0x5e'))){_0x4ac334[_0x4509('0x23')]=qs[_0x4509('0x23')](_0x894a07[_0x4509('0x34')][_0x4509('0x23')]);_0x4ac334[_0x4509('0x21')]=qs[_0x4509('0x21')](_0x894a07[_0x4509('0x34')]['offset']);}_0x4ac334['order']=qs[_0x4509('0x3e')](_0x894a07[_0x4509('0x34')][_0x4509('0x3e')]);_0x4ac334[_0x4509('0x3f')]=qs['filters'](_[_0x4509('0x56')](_0x894a07[_0x4509('0x34')],_0x22796c[_0x4509('0x36')]));_0x4ac334[_0x4509('0x3f')][_0x4509('0x53')]=_0x1ce4bd['id'];if(_0x894a07[_0x4509('0x34')][_0x4509('0x40')]){_0x4ac334[_0x4509('0x3f')]=_['merge'](_0x4ac334[_0x4509('0x3f')],{'$or':_[_0x4509('0x2f')](_0x4ac334[_0x4509('0x3a')],function(_0x4b3b72){var _0x1e849a={};_0x1e849a[_0x4b3b72]={'$like':'%'+_0x894a07[_0x4509('0x34')][_0x4509('0x40')]+'%'};return _0x1e849a;})});}_0x4ac334=_[_0x4509('0x41')]({},_0x4ac334,_0x894a07[_0x4509('0x43')]);return db['CannedAnswer'][_0x4509('0x24')]({'where':_0x4ac334[_0x4509('0x3f')]})[_0x4509('0x12')](function(_0x5c0df7){_0x4624fa['count']=_0x5c0df7;if(_0x894a07[_0x4509('0x34')][_0x4509('0x44')]){_0x4ac334[_0x4509('0x45')]=[{'all':!![]}];}return db[_0x4509('0x5c')][_0x4509('0x57')](_0x4ac334);})[_0x4509('0x12')](function(_0x3447f7){_0x4624fa[_0x4509('0x58')]=_0x3447f7;return _0x4624fa;});}})[_0x4509('0x12')](respondWithFilteredResult(_0x4b4e6f,_0x4ac334))[_0x4509('0x1c')](handleError(_0x4b4e6f,null));};exports[_0x4509('0x5f')]=function(_0x5c933a,_0x22fa4e){return db['ChatWebsite']['find']({'where':{'id':_0x5c933a['params']['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x22fa4e,null))[_0x4509('0x12')](function(_0xa637ab){if(_0xa637ab){return _0xa637ab['removeAnswers'](_0x5c933a[_0x4509('0x34')][_0x4509('0x5a')]);}})[_0x4509('0x12')](respondWithStatusCode(_0x22fa4e,null))[_0x4509('0x1c')](handleError(_0x22fa4e,null));};exports[_0x4509('0x60')]=function(_0x25468d,_0xc48585){_0x25468d[_0x4509('0x4a')][_0x4509('0x61')]=_0x25468d[_0x4509('0x62')]['filename'];return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x25468d['params']['id']}})[_0x4509('0x12')](handleEntityNotFound(_0xc48585,null))[_0x4509('0x12')](saveUpdates(_0x25468d[_0x4509('0x4a')],null))['then'](respondWithResult(_0xc48585,null))['catch'](handleError(_0xc48585,null));};exports[_0x4509('0x63')]=function(_0xbc3832,_0x22ec55){_0xbc3832['body'][_0x4509('0x64')]=_0xbc3832['file'][_0x4509('0x65')];return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0xbc3832[_0x4509('0x46')]['id']}})['then'](handleEntityNotFound(_0x22ec55,null))[_0x4509('0x12')](saveUpdates(_0xbc3832[_0x4509('0x4a')],null))[_0x4509('0x12')](respondWithResult(_0x22ec55,null))['catch'](handleError(_0x22ec55,null));};exports[_0x4509('0x66')]=function(_0x580a74,_0x52113d){_0x580a74['body'][_0x4509('0x67')]=_0x580a74[_0x4509('0x62')][_0x4509('0x65')];return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x580a74[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x52113d,null))[_0x4509('0x12')](saveUpdates(_0x580a74[_0x4509('0x4a')],null))[_0x4509('0x12')](respondWithResult(_0x52113d,null))[_0x4509('0x1c')](handleError(_0x52113d,null));};exports[_0x4509('0x68')]=function(_0x1d3c6a,_0x1ffb8b){_0x1d3c6a[_0x4509('0x4a')][_0x4509('0x69')]=_0x1d3c6a[_0x4509('0x62')]['filename'];return db['ChatWebsite'][_0x4509('0x48')]({'where':{'id':_0x1d3c6a[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x1ffb8b,null))[_0x4509('0x12')](saveUpdates(_0x1d3c6a[_0x4509('0x4a')],null))[_0x4509('0x12')](respondWithResult(_0x1ffb8b,null))['catch'](handleError(_0x1ffb8b,null));};exports[_0x4509('0x6a')]=function(_0x394bb9,_0x3a9639){var _0x4607fb=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x6d'));var _0xe66c62={'where':{'id':_0x394bb9[_0x4509('0x46')]['id']},'attributes':['id',_0x4509('0x61')],'raw':!![]};var _0x22d1fc=![];return require(_0x4509('0x6e'))[_0x4509('0x6f')]()[_0x4509('0x12')](function(_0x1a67ec){if(_0x1a67ec){_0x22d1fc=_0x1a67ec[_0x4509('0x70')];}})['then'](function(){return db[_0x4509('0x30')][_0x4509('0x48')](_0xe66c62);})['then'](handleEntityNotFound(_0x3a9639,null))['then'](function(_0x34edd6){if(_0x34edd6){if(!_['isNil'](_0x34edd6[_0x4509('0x61')])){if(fs[_0x4509('0x71')](path[_0x4509('0x6b')](config[_0x4509('0x6c')],'server/files/images/logos/',_0x34edd6[_0x4509('0x61')]))&&_0x22d1fc){_0x4607fb=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x72'),_0x34edd6[_0x4509('0x61')]);}}return _0x3a9639[_0x4509('0x73')](_0x4607fb);}})[_0x4509('0x1c')](handleError(_0x3a9639,null));};exports[_0x4509('0x74')]=function(_0x4ca277,_0x5037cb){var _0x648f7=path[_0x4509('0x6b')](config['root'],'server/files/images/avatars/default_avatar.png');var _0x1fe02c={'where':{'id':_0x4ca277[_0x4509('0x46')]['id']},'attributes':['id',_0x4509('0x64')],'raw':!![]};return db[_0x4509('0x30')]['find'](_0x1fe02c)['then'](handleEntityNotFound(_0x5037cb,null))[_0x4509('0x12')](function(_0x3f0b53){if(_0x3f0b53){if(!_[_0x4509('0x75')](_0x3f0b53['agentAvatar'])){if(fs[_0x4509('0x71')](path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x76'),_0x3f0b53[_0x4509('0x64')]))){_0x648f7=path['join'](config['root'],_0x4509('0x76'),_0x3f0b53[_0x4509('0x64')]);}}return _0x5037cb[_0x4509('0x73')](_0x648f7);}})[_0x4509('0x1c')](handleError(_0x5037cb,null));};exports['getCustomerAvatar']=function(_0x55ee86,_0x194055){var _0x216bd4=path[_0x4509('0x6b')](config[_0x4509('0x6c')],'server/files/images/avatars/customer_avatar.png');var _0x45949c={'where':{'id':_0x55ee86[_0x4509('0x46')]['id']},'attributes':['id','customerAvatar',_0x4509('0x77')],'raw':!![]};return db[_0x4509('0x30')]['find'](_0x45949c)[_0x4509('0x12')](handleEntityNotFound(_0x194055,null))['then'](function(_0x2e49ca){if(_0x2e49ca){if(!_['isNil'](_0x2e49ca[_0x4509('0x67')])){if(fs['existsSync'](path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x76'),_0x2e49ca['customerAvatar']))&&_0x2e49ca[_0x4509('0x77')]){_0x216bd4=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x76'),_0x2e49ca[_0x4509('0x67')]);}}return _0x194055['download'](_0x216bd4);}})[_0x4509('0x1c')](handleError(_0x194055,null));};exports['getSystemAvatar']=function(_0x2b6e1b,_0x131c0f){var _0x3f47b7=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x78'));var _0x574534={'where':{'id':_0x2b6e1b['params']['id']},'attributes':['id','systemAvatar'],'raw':!![]};return db[_0x4509('0x30')][_0x4509('0x48')](_0x574534)[_0x4509('0x12')](handleEntityNotFound(_0x131c0f,null))[_0x4509('0x12')](function(_0x3ba4e7){if(_0x3ba4e7){if(!_[_0x4509('0x75')](_0x3ba4e7[_0x4509('0x69')])){if(fs[_0x4509('0x71')](path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x76'),_0x3ba4e7['systemAvatar']))){_0x3f47b7=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0x76'),_0x3ba4e7['systemAvatar']);}}return _0x131c0f[_0x4509('0x73')](_0x3f47b7);}})['catch'](handleError(_0x131c0f,null));};exports[_0x4509('0x79')]=function(_0x2ec3aa,_0x3bd40c){var _0x527009=require(_0x4509('0x7a'));var _0x4f7012=new _0x527009();var _0x4498df=_0x4f7012[_0x4509('0x7b')](_0x2ec3aa[_0x4509('0x7c')][_0x4509('0x7d')])[_0x4509('0x7e')]();var _0x17c4d3={'body':_0x2ec3aa['body'],'channel':_0x4509('0x7f')};var _0x65f397=[];var _0x115e9b=[];var _0x12a4bc={};var _0x2cb730=![];return db['CmContact']['describe']()[_0x4509('0x12')](function(_0xcf49ee){if(!_0xcf49ee){throw new db['Sequelize'][(_0x4509('0x80'))]('no\x20available\x20attributes');}_0x65f397=_[_0x4509('0x81')](_[_0x4509('0x35')](_0xcf49ee),['createdAt',_0x4509('0x82')]);_0x115e9b=_[_0x4509('0x81')](_['keys'](_0xcf49ee),['createdAt',_0x4509('0x82'),_0x4509('0x83'),_0x4509('0x84')]);if(_0x2ec3aa['body']['id']){delete _0x2ec3aa[_0x4509('0x4a')]['id'];}if(_[_0x4509('0x75')](_0x2ec3aa[_0x4509('0x4a')]['from'])){throw new db[(_0x4509('0x85'))]['ValidationError'](_0x4509('0x86'));}if(_['isNil'](_0x2ec3aa['body'][_0x4509('0x4a')])||_0x2ec3aa[_0x4509('0x4a')]['body']===''){throw new db[(_0x4509('0x85'))][(_0x4509('0x80'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0x4509('0x75')](_0x2ec3aa['body'][_0x4509('0x87')])){throw new db['Sequelize']['ValidationError']('mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20'+_0x115e9b);}if(!_[_0x4509('0x88')](_0x115e9b,_0x2ec3aa[_0x4509('0x4a')]['mapKey'])){throw new db['Sequelize'][(_0x4509('0x80'))](_0x4509('0x89')+_0x115e9b);}_0x12a4bc[_0x2ec3aa[_0x4509('0x4a')][_0x4509('0x87')]]=_0x2ec3aa['body'][_0x4509('0x8a')];})[_0x4509('0x12')](function(){return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x2ec3aa[_0x4509('0x46')]['id']},'include':[{'model':db[_0x4509('0x8b')],'as':_0x4509('0x8c'),'include':[{'model':db[_0x4509('0x8d')],'as':_0x4509('0x8e'),'where':_0x12a4bc,'limit':0x1,'order':[[_0x4509('0x82'),'DESC']]}]},{'model':db[_0x4509('0x8f')],'as':'Applications'}]});})[_0x4509('0x12')](handleEntityNotFound(_0x3bd40c,null))[_0x4509('0x12')](function(_0xf562cf){if(_0xf562cf&&_0xf562cf[_0x4509('0x8c')]){_0x17c4d3[_0x4509('0x90')]=_0xf562cf;_0x17c4d3['applications']=_0xf562cf[_0x4509('0x91')];_0x17c4d3[_0x4509('0x92')]=_0xf562cf[_0x4509('0x8c')];_0x17c4d3[_0x4509('0x93')]=_[_0x4509('0x94')](_0x17c4d3[_0x4509('0x93')],[_0x4509('0x95')],[_0x4509('0x96')]);if(_0x17c4d3[_0x4509('0x90')][_0x4509('0x91')]){delete _0x17c4d3[_0x4509('0x90')][_0x4509('0x91')];}if(_0x17c4d3[_0x4509('0x90')][_0x4509('0x8c')]&&_0x17c4d3[_0x4509('0x90')][_0x4509('0x8c')][_0x4509('0x8e')]['length']){return _0x17c4d3[_0x4509('0x90')][_0x4509('0x8c')][_0x4509('0x8e')][0x0];}var _0x276079=_[_0x4509('0x97')](_0x2ec3aa[_0x4509('0x4a')],{'firstName':_0x2ec3aa[_0x4509('0x4a')][_0x4509('0x8a')],'ListId':_0xf562cf[_0x4509('0x84')]});_0x276079[_0x2ec3aa[_0x4509('0x4a')][_0x4509('0x87')]]=_0x2ec3aa['body'][_0x4509('0x8a')];return db[_0x4509('0x8d')][_0x4509('0x49')](_0x276079,{'fields':_0x65f397,'raw':!![]});}})[_0x4509('0x12')](handleEntityNotFound(_0x3bd40c,null))[_0x4509('0x12')](function(_0x3ca4e3){_0x17c4d3[_0x4509('0x98')]=_0x3ca4e3;var _0x197793=_0x2ec3aa[_0x4509('0x4a')][_0x4509('0x99')];if(_0x2ec3aa[_0x4509('0x7c')][_0x4509('0x9a')]){_0x197793=_0x2ec3aa[_0x4509('0x7c')][_0x4509('0x9a')];}else if(_0x2ec3aa['headers'][_0x4509('0x9b')]){_0x197793=_['first'](_0x2ec3aa[_0x4509('0x7c')][_0x4509('0x9b')][_0x4509('0x9c')](','));}if(_0x3ca4e3){var _0x5a5728={'ContactId':_0x3ca4e3['id'],'ChatWebsiteId':_0x2ec3aa['params']['id'],'from':(_0x3ca4e3[_0x4509('0x9d')]||'')+'\x20'+(_0x3ca4e3[_0x4509('0x9e')]||''),'customerIp':_0x197793,'customerPort':_0x2ec3aa[_0x4509('0x7c')]['x-real-port']?_0x2ec3aa[_0x4509('0x7c')][_0x4509('0x9f')]:null,'referer':_0x2ec3aa['body']['referer'],'browserName':_0x4498df[_0x4509('0xa0')][_0x4509('0x2a')]&&_0x4498df['browser'][_0x4509('0xa1')]?util[_0x4509('0xa2')](_0x4509('0xa3'),_0x4498df[_0x4509('0xa0')]['name'],_0x4498df[_0x4509('0xa0')][_0x4509('0xa1')]):_0x4509('0xa4'),'browserVersion':_0x4498df[_0x4509('0xa0')][_0x4509('0xa1')]||_0x4509('0xa4'),'osName':util[_0x4509('0xa2')](_0x4509('0xa3'),_0x4498df['os'][_0x4509('0x2a')],_0x4498df['os'][_0x4509('0xa1')]),'osVersion':_0x4498df['os'][_0x4509('0xa1')],'deviceModel':_0x4498df[_0x4509('0xa5')][_0x4509('0x38')]&&_0x4498df[_0x4509('0xa5')][_0x4509('0xa6')]?util['format'](_0x4509('0xa7'),_0x4498df['device']['model'],_0x4498df[_0x4509('0xa5')][_0x4509('0xa6')],_0x4498df['device'][_0x4509('0x32')]):null,'deviceVendor':_0x4498df[_0x4509('0xa5')][_0x4509('0xa6')],'deviceType':_0x4498df[_0x4509('0xa5')][_0x4509('0x32')],'formData':JSON[_0x4509('0x18')](_0x2ec3aa[_0x4509('0x4a')])};var _0x362305={'ChatWebsiteId':_0x2ec3aa[_0x4509('0x46')]['id'],'closed':![]};if(_0x2ec3aa['body']['threadId']){_0x362305[_0x4509('0xa8')]=_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xa8')];return db[_0x4509('0xa9')][_0x4509('0x48')]({'where':_0x362305})[_0x4509('0x12')](function(_0x5b9cd7){if(_0x5b9cd7){return[_0x5b9cd7,![]];}_0x5a5728[_0x4509('0xa8')]=_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xa8')];_0x5a5728[_0x4509('0xaa')]=_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xaa')];return db['ChatInteraction'][_0x4509('0x49')](_0x5a5728)[_0x4509('0x12')](function(_0x1cd238){return[_0x1cd238,!![]];});});}_0x362305[_0x4509('0xab')]=_0x3ca4e3['id'];if(_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xac')]&&_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xac')]['id']){_0x362305['id']=_0x2ec3aa['body']['interaction']['id'];return db[_0x4509('0xa9')][_0x4509('0x48')]({'where':_0x362305})['then'](function(_0xb1ea97){if(_0xb1ea97){return[_0xb1ea97,![]];}return db[_0x4509('0xa9')][_0x4509('0x49')](_0x5a5728)[_0x4509('0x12')](function(_0x1232f6){return[_0x1232f6,!![]];});});}return db[_0x4509('0xa9')]['create'](_0x5a5728)['then'](function(_0xcdca42){return[_0xcdca42,!![]];});}})['spread'](function(_0x2a22ad,_0x3fc3d7){if(_0x2a22ad){_0x2cb730=_0x3fc3d7;if(!_0x3fc3d7){var _0x310f89={'from':(_0x17c4d3[_0x4509('0x98')][_0x4509('0x9d')]||'')+'\x20'+(_0x17c4d3['contact'][_0x4509('0x9e')]||'')};if(_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xa8')]&&_0x2ec3aa[_0x4509('0x4a')]['messageId']&&_0x2ec3aa[_0x4509('0x4a')]['threadId']!=_0x2ec3aa['body'][_0x4509('0xad')]){_0x310f89[_0x4509('0xa8')]=_0x2ec3aa[_0x4509('0x4a')][_0x4509('0xad')];}return _0x2a22ad[_0x4509('0x52')](_0x310f89);}else{return _0x2a22ad;}}})['then'](function(_0x387eda){_0x17c4d3[_0x4509('0xac')]=_0x387eda[_0x4509('0x4c')]({'plain':!![]});_0x17c4d3[_0x4509('0xac')][_0x4509('0xae')]=_0x2cb730;if(_0x17c4d3[_0x4509('0xac')][_0x4509('0xae')]){if(_0x17c4d3[_0x4509('0x90')]['autoclose']){_0x17c4d3[_0x4509('0x93')][_0x4509('0xaf')]({'id':0x0,'priority':_0x17c4d3[_0x4509('0x93')]['length']+0x1,'app':_0x4509('0xb0'),'appdata':_0x4509('0xb1'),'interval':_0x4509('0xb2')});}}return db[_0x4509('0xb3')][_0x4509('0x49')]({'body':_0x2ec3aa[_0x4509('0x4a')][_0x4509('0x4a')],'ChatWebsiteId':_0x2ec3aa[_0x4509('0x46')]['id'],'ChatInteractionId':_0x387eda['id'],'direction':'in','ContactId':_0x17c4d3['contact']['id'],'AttachmentId':_0x2ec3aa['body'][_0x4509('0xb4')]});})[_0x4509('0x12')](function(_0x50efd7){_0x17c4d3[_0x4509('0x1a')]=_0x50efd7;if(_0x17c4d3[_0x4509('0xac')][_0x4509('0xb5')]){return db['User'][_0x4509('0x48')]({'attributes':['id','name'],'where':{'id':_0x17c4d3['interaction'][_0x4509('0xb5')]}})[_0x4509('0x12')](function(_0x4578fc){if(_0x4578fc){_0x17c4d3['applications'][_0x4509('0xb6')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x4578fc[_0x4509('0x2a')]+','+(_0x17c4d3[_0x4509('0x90')][_0x4509('0xb7')]||0xa),'interval':_0x4509('0xb2')});_0x17c4d3[_0x4509('0xb8')]=!![];}return respondWithRpcPromise(_0x4509('0xb9'),_0x4509('0xba'),_0x17c4d3);});}return respondWithRpcPromise(_0x4509('0xb9'),_0x4509('0xba'),_0x17c4d3);})['then'](function(_0x5554e9){respondWithRpcPromise(_0x4509('0xbb'),_0x4509('0xbb'),{'event':'notify','message':_0x5554e9},client9002);return _0x5554e9;})['then'](respondWithResult(_0x3bd40c,null))['catch'](handleError(_0x3bd40c,null));};exports[_0x4509('0xbc')]=function(_0x43b4f6,_0x4ddcf5){var _0x33baa8,_0x2053d6,_0x56c2d4;var _0x8c244e=[];var _0x2244e5={};var _0xdd761e=_0x43b4f6[_0x4509('0xbd')]||[];var _0x3518a5=[];var _0x4ecc4e;return db[_0x4509('0x8d')][_0x4509('0xbe')]()[_0x4509('0x12')](function(_0xb8674c){if(!_0xb8674c){throw new db[(_0x4509('0x85'))]['ValidationError'](_0x4509('0xbf'));}_0x8c244e=_[_0x4509('0x81')](_[_0x4509('0x35')](_0xb8674c),[_0x4509('0xc0'),'updatedAt',_0x4509('0x83'),'ListId']);if(_0x43b4f6[_0x4509('0x4a')]['id']){delete _0x43b4f6['body']['id'];}if(_['isNil'](_0x43b4f6[_0x4509('0x4a')][_0x4509('0x8a')])){throw _0x4ddcf5[_0x4509('0x1e')](0x1f4)['send'](new db[(_0x4509('0x85'))][(_0x4509('0x80'))](_0x4509('0x86')));}if(_['isNil'](_0x43b4f6[_0x4509('0x4a')][_0x4509('0x4a')])||_0x43b4f6[_0x4509('0x4a')][_0x4509('0x4a')]===''){throw _0x4ddcf5[_0x4509('0x1e')](0x1f4)[_0x4509('0x2b')](new db[(_0x4509('0x85'))][(_0x4509('0x80'))](_0x4509('0xc1')));}if(_['isNil'](_0x43b4f6[_0x4509('0x4a')][_0x4509('0xc2')])){throw _0x4ddcf5[_0x4509('0x1e')](0x1f4)[_0x4509('0x2b')](new db['Sequelize']['ValidationError'](_0x4509('0xc3')+_0x8c244e));}if(!_[_0x4509('0x88')](_0x8c244e,_0x43b4f6[_0x4509('0x4a')][_0x4509('0xc2')])){throw _0x4ddcf5[_0x4509('0x1e')](0x1f4)[_0x4509('0x2b')](new db['Sequelize'][(_0x4509('0x80'))](_0x4509('0xc4')+_0x8c244e));}_0x2244e5[_0x43b4f6[_0x4509('0x4a')][_0x4509('0xc2')]]=_0x43b4f6[_0x4509('0x4a')][_0x4509('0x8a')];})[_0x4509('0x12')](function(){return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x43b4f6[_0x4509('0x46')]['id']},'include':[{'model':db['CmList'],'as':_0x4509('0x8c')},{'model':db['MailAccount'],'as':_0x4509('0xc5')}]});})[_0x4509('0x12')](handleEntityNotFound(_0x4ddcf5,null))[_0x4509('0x12')](function(_0x5534a6){if(_0x5534a6&&_0x5534a6[_0x4509('0x8c')]){_0x2053d6=_0x5534a6;var _0x1f04c4=_[_0x4509('0x97')](_0x43b4f6[_0x4509('0x4a')],{'firstName':_0x43b4f6[_0x4509('0x4a')]['from'],'phone':_0x43b4f6[_0x4509('0x4a')][_0x4509('0x8a')],'ListId':_0x5534a6['ListId']});_0x1f04c4[_0x43b4f6[_0x4509('0x4a')][_0x4509('0xc2')]]=_0x43b4f6[_0x4509('0x4a')][_0x4509('0x8a')];return db['CmContact'][_0x4509('0xc6')]({'where':_0x2244e5,'defaults':_0x1f04c4});}})[_0x4509('0xc7')](function(_0xa4c70e){if(_0xa4c70e){_0x56c2d4=_0xa4c70e;var _0x39b71f=fs[_0x4509('0xc8')](path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0xc9')),'utf8');var _0xf809a0=ejs['render'](_0x39b71f,{'body':_['toPairs'](_0x43b4f6['body']['body']),'bodyTitle':_0x2053d6[_0x4509('0xca')]});return db[_0x4509('0xcb')][_0x4509('0x49')]({'body':_0xf809a0,'plainBody':htmlToText[_0x4509('0xcc')](_0xf809a0),'ContactId':_0xa4c70e['id'],'ChatWebsiteId':_0x2053d6['id']});}})['then'](function(_0x10ec5){_0x4ecc4e=_0x10ec5;if(_0xdd761e[_0x4509('0x3b')]){var _0x5cd3ec=_0xdd761e['map'](function(_0x5207f3){return{'name':_0x5207f3[_0x4509('0xcd')],'basename':_0x5207f3[_0x4509('0x65')],'type':_0x5207f3[_0x4509('0xce')],'ChatOfflineMessageId':_0x10ec5['id']};});_0x3518a5=_0x5cd3ec[_0x4509('0x2f')](_0x269776=>{var _0xc7d8a7={'filename':_0x269776[_0x4509('0x2a')],'path':path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0xcf'),'files','attachments',_0x4509('0xd0'),_0x269776[_0x4509('0xd1')])};return _0xc7d8a7;});if(!_0x2053d6[_0x4509('0xd2')]){return db[_0x4509('0xd3')]['transaction'](function(_0x3782af){return db[_0x4509('0xd4')]['bulkCreate'](_0x5cd3ec,{'transaction':_0x3782af});});}}})[_0x4509('0x12')](function(){if(_0x4ecc4e){_0x33baa8=_0x4ecc4e;return db[_0x4509('0xc5')][_0x4509('0x54')]({'where':{'service':!![]},'include':[{'model':db[_0x4509('0xd5')],'as':_0x4509('0xd6'),'raw':!![],'include':[{'model':db[_0x4509('0xd7')],'as':_0x4509('0xd7'),'raw':!![]}]}]});}})[_0x4509('0x12')](function(_0x26c197){if(_0x26c197&&_0x26c197[_0x4509('0xd6')]&&_0x2053d6['forwardOffline']&&_0x2053d6[_0x4509('0xd8')]){var _0xdaf082=_0x26c197[_0x4509('0xd9')]();return respondWithRpcPromise(_0x4509('0xda'),_0x4509('0xdb'),{'account':_0xdaf082,'message':{'from':util[_0x4509('0xa2')](_0x4509('0xdc'),_0x26c197[_0x4509('0x2a')],_0x26c197['email']||_0x26c197['Smtp'][_0x4509('0x4b')]),'to':_0x2053d6[_0x4509('0xd8')],'subject':_0x2053d6[_0x4509('0xdd')],'html':_0x33baa8[_0x4509('0x4a')],'attachments':_0x3518a5}},client9003)['then'](function(){return _0x33baa8;})['catch'](function(_0x485b99){logger['error'](_0x485b99);});}})[_0x4509('0x12')](function(){if(_0x2053d6&&_0x2053d6[_0x4509('0xd2')]&&_0x2053d6['MailAccountId']){var _0x56c13f=[];if(_0xdd761e[_0x4509('0x3b')]){_0x56c13f=_0xdd761e['map'](function(_0x3f2716){return{'name':_0x3f2716[_0x4509('0xcd')],'basename':_0x3f2716['filename'],'type':_0x3f2716[_0x4509('0xce')],'ChatOfflineMessageId':_0x4ecc4e['id']};});}var _0x1fce96;if(!_[_0x4509('0x75')](_0x2053d6['subjectOffline'])){var _0x3293d6=_[_0x4509('0x2f')](_0x43b4f6['body'],function(_0x6894d7){return _0x6894d7;});var _0xa1cbe9=_['toPairsIn'](_0x3293d6)[0x0];var _0x4dd00f=_[_0x4509('0xde')](_0xa1cbe9,function(_0x2b39d3){return _0x2b39d3;});_0x1fce96=_0x4dd00f[0x1][_0x2053d6[_0x4509('0xdf')]];}var _0x24bffc={'from':_0x56c2d4['email'],'firstName':_0x56c2d4[_0x4509('0x9d')],'lastName':_0x56c2d4[_0x4509('0x9e')],'mapKey':_0x4509('0xe0'),'message':{'from':_0x56c2d4['email'],'to':_0x2053d6[_0x4509('0xc5')][_0x4509('0xe0')],'cc':'','subject':_['isNil'](_0x1fce96)?_0x2053d6['offlineMessageSubject']:_0x1fce96,'messageId':'','sentAt':new Date(),'attach':_0x56c13f[_0x4509('0x3b')],'attachments':_0x56c13f,'originChannel':'Chat','ChatWebsiteId':_0x2053d6['id'],'ChatOfflineMessageId':_0x33baa8['id'],'originTo':_0x2053d6[_0x4509('0xc5')]['email']},'body':_0x33baa8[_0x4509('0x4a')]};var _0x596aa2={'account':{'id':_0x2053d6['MailAccountId']},'body':_0x24bffc,'log':_0x4509('0xe1')};return respondWithRpcPromise('NotifyMailAccount',_0x4509('0xe2'),_0x596aa2,client9001)[_0x4509('0x12')](function(){return _0x33baa8;})['catch'](function(_0x1801b6){logger['error'](_0x1801b6);});}return;})[_0x4509('0x12')](function(){if(_0x33baa8){return _0x33baa8;}})[_0x4509('0x12')](respondWithResult(_0x4ddcf5,null))['catch'](function(_0x463ce3){logger[_0x4509('0x19')](_0x4509('0x1c'),_0x463ce3);for(var _0x3d9d50 of _0xdd761e){var _0x23478a=path[_0x4509('0x6b')](config[_0x4509('0x6c')],_0x4509('0xcf'),_0x4509('0xbd'),_0x4509('0xe3'),_0x4509('0xd0'),_0x3d9d50[_0x4509('0x65')]);fs_extra[_0x4509('0xe4')](_0x23478a)[_0x4509('0x1c')](function(_0x45bc96){logger['error'](_0x4509('0xe5'),_0x23478a,_0x45bc96);});}});};exports[_0x4509('0xe6')]=function(_0x4a9a63,_0x11f187){return db[_0x4509('0xa9')]['find']({'where':{'id':_0x4a9a63[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x11f187,null))[_0x4509('0x12')](function(_0x599f85){if(_0x599f85){return _0x599f85[_0x4509('0xe6')](_0x4a9a63[_0x4509('0x4a')][_0x4509('0x5a')],_[_0x4509('0xe7')](_0x4a9a63[_0x4509('0x4a')],[_0x4509('0x5a'),'id'])||{});}})['then'](respondWithResult(_0x11f187,null))[_0x4509('0x1c')](handleError(_0x11f187,null));};exports[_0x4509('0xe8')]=function(_0x52c9e9,_0x2a22e8){var _0x4cd1f6={'raw':![],'where':{}};var _0x4fd52d={};var _0x55952b={'count':0x0,'rows':[]};return db[_0x4509('0x30')][_0x4509('0x54')]({'where':{'id':_0x52c9e9[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x2a22e8,null))['then'](function(_0x47c8f5){if(_0x47c8f5){_0x4fd52d[_0x4509('0x38')]=_[_0x4509('0x35')](db['ChatInteraction'][_0x4509('0x47')]);_0x4fd52d[_0x4509('0x34')]=_[_0x4509('0x35')](_0x52c9e9[_0x4509('0x34')]);_0x4fd52d[_0x4509('0x36')]=_[_0x4509('0x37')](_0x4fd52d[_0x4509('0x38')],_0x4fd52d[_0x4509('0x34')]);_0x4cd1f6['attributes']=_['intersection'](_0x4fd52d[_0x4509('0x38')],qs[_0x4509('0x39')](_0x52c9e9[_0x4509('0x34')]['fields']));_0x4cd1f6['attributes']=_0x4cd1f6[_0x4509('0x3a')][_0x4509('0x3b')]?_0x4cd1f6[_0x4509('0x3a')]:_0x4fd52d[_0x4509('0x38')];if(!_0x52c9e9[_0x4509('0x34')][_0x4509('0x3c')](_0x4509('0x5e'))){_0x4cd1f6[_0x4509('0x23')]=qs[_0x4509('0x23')](_0x52c9e9[_0x4509('0x34')]['limit']);_0x4cd1f6['offset']=qs['offset'](_0x52c9e9['query'][_0x4509('0x21')]);}_0x4cd1f6[_0x4509('0x3d')]=qs['sort'](_0x52c9e9[_0x4509('0x34')][_0x4509('0x3e')]);_0x4cd1f6[_0x4509('0x3f')]=qs[_0x4509('0x36')](_[_0x4509('0x56')](_0x52c9e9[_0x4509('0x34')],_0x4fd52d[_0x4509('0x36')]));_0x4cd1f6[_0x4509('0x3f')][_0x4509('0x53')]=_0x47c8f5['id'];if(_0x52c9e9[_0x4509('0x34')][_0x4509('0x40')]){_0x4cd1f6[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x4cd1f6['where'],{'$or':_[_0x4509('0x2f')](_0x4cd1f6['attributes'],function(_0xc22c63){var _0x295a87={};_0x295a87[_0xc22c63]={'$like':'%'+_0x52c9e9['query'][_0x4509('0x40')]+'%'};return _0x295a87;})});}_0x4cd1f6=_[_0x4509('0x41')]({},_0x4cd1f6,_0x52c9e9[_0x4509('0x43')]);return db[_0x4509('0xa9')]['count']({'where':_0x4cd1f6[_0x4509('0x3f')]})[_0x4509('0x12')](function(_0xa2a94c){_0x55952b[_0x4509('0x24')]=_0xa2a94c;if(_0x52c9e9['query'][_0x4509('0x44')]){_0x4cd1f6[_0x4509('0x45')]=[{'model':db[_0x4509('0x8d')],'as':_0x4509('0xe9'),'required':![]},{'model':db[_0x4509('0xea')],'as':_0x4509('0xeb'),'attributes':[_0x4509('0x2a'),_0x4509('0xec'),_0x4509('0xed')],'required':![]},{'model':db[_0x4509('0xee')],'as':_0x4509('0xef'),'attributes':['id',_0x4509('0x2a'),'color'],'where':_0x52c9e9['query'][_0x4509('0xf0')]?{'id':_0x52c9e9['query'][_0x4509('0xf0')]}:undefined,'required':_0x52c9e9[_0x4509('0x34')][_0x4509('0xf0')]?!![]:![]}];}return db[_0x4509('0xa9')][_0x4509('0x57')](_0x4cd1f6);})[_0x4509('0x12')](function(_0x2c74bf){_0x55952b[_0x4509('0x58')]=_0x2c74bf;return _0x55952b;});}})[_0x4509('0x12')](respondWithFilteredResult(_0x2a22e8,_0x4cd1f6))['catch'](handleError(_0x2a22e8,null));};function iftimePromise(_0x21662d,_0x227840){return respondWithRpcPromise(_0x4509('0xf1'),_0x4509('0xf2'),{'command':_0x227840[_0x4509('0xf3')]?util[_0x4509('0xa2')]('iftime\x20%s,%s',_0x21662d[_0x4509('0xf4')],_0x227840[_0x4509('0xf3')]):util[_0x4509('0xa2')](_0x4509('0xf5'),_0x21662d[_0x4509('0xf4')])},client9002)[_0x4509('0x12')](function(_0x398518){var _0x1c2d41=_0x398518&&_0x398518['indexOf'](_0x4509('0xf6'))>=0x0?!![]:![];logger['info']('[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)',_0x227840['id'],_0x21662d['id'],_0x21662d[_0x4509('0xf4')],_0x1c2d41?'ONLINE':_0x4509('0xf7'),_0x227840['timezone']?_0x227840[_0x4509('0xf3')]:_0x4509('0xf8'));return _0x1c2d41;})[_0x4509('0x1c')](function(_0x17b1e7){logger['error'](_0x4509('0xf9'),_0x227840['id'],_0x21662d['id'],_0x21662d[_0x4509('0xf4')],util[_0x4509('0xfa')](_0x17b1e7,{'showHidden':![],'depth':null}),_0x227840[_0x4509('0xf3')]?_0x227840[_0x4509('0xf3')]:_0x4509('0xf8'));return![];});}exports[_0x4509('0xf2')]=function(_0x55f501,_0x13918a){var _0xa1ad6e=0x0;var _0x1db593=0x0;var _0x5a240c=![];var _0x3aa23e;var _0x2f0d75;return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x55f501[_0x4509('0x46')]['id']},'include':[{'model':db[_0x4509('0xfb')],'as':_0x4509('0xfb'),'include':[{'model':db[_0x4509('0xfb')],'as':_0x4509('0xfc'),'attributes':['id',_0x4509('0xf4')],'raw':!![]}]}]})[_0x4509('0x12')](handleEntityNotFound(_0x13918a,null))[_0x4509('0x12')](function(_0x386b8e){if(_0x386b8e){_0x3aa23e=_0x386b8e;return _0x386b8e[_0x4509('0xfd')]({'raw':!![]});}})[_0x4509('0x12')](function(_0x341f72){if(_0x3aa23e){if(_0x341f72){_0x2f0d75=_0x341f72;}}return require('../../config/license/util')[_0x4509('0x6f')]();})['then'](function(_0x5dd638){if(_0x5dd638){_0x1db593=_0x5dd638[_0x4509('0xfe')];_0x5a240c=_0x5dd638['custom'];}})[_0x4509('0x12')](function(){return db[_0x4509('0xa9')][_0x4509('0x24')]({'where':{'closed':![]}});})[_0x4509('0x12')](function(_0x2746be){_0xa1ad6e=_0x2746be;if(_0x1db593&&_0x2746be>_0x1db593){return db[_0x4509('0xff')][_0x4509('0x54')]({'where':{'id':0x1}})[_0x4509('0x12')](function(_0x2f9312){if(_0x2f9312){_0x2f9312[_0x4509('0x100')](_0x4509('0x101'));}});}})[_0x4509('0x12')](function(){if(_0x3aa23e[_0x4509('0xfb')]&&_0x3aa23e['Interval']['Intervals']){var _0x36cc29=[];for(var _0x14dfa4=0x0;_0x14dfa4<_0x3aa23e[_0x4509('0xfb')][_0x4509('0xfc')][_0x4509('0x3b')];_0x14dfa4++){var _0x3eae42=_0x3aa23e['Interval'][_0x4509('0xfc')][_0x14dfa4][_0x4509('0x4c')]({'plain':!![]});_0x36cc29[_0x4509('0xaf')](iftimePromise(_0x3eae42,_0x3aa23e));}return BPromise[_0x4509('0x102')](_0x36cc29)['then'](function(_0x5e5644){return _['some'](_0x5e5644);});}else{return!![];}})[_0x4509('0x12')](function(_0x1b8aaf){var _0x9a51=fs['readFileSync'](path['join'](config[_0x4509('0x6c')],_0x4509('0x103')),_0x4509('0x104'));var _0x4088ab={'remote':_0x3aa23e[_0x4509('0x105')],'query':querystring[_0x4509('0x18')](_[_0x4509('0x41')](_0x3aa23e[_0x4509('0x4c')]({'plain':!![]}),{'customerIp':_0x55f501[_0x4509('0x7c')][_0x4509('0x9b')]||_0x55f501[_0x4509('0x7c')][_0x4509('0x106')]||_0x55f501[_0x4509('0x107')]['remoteAddress']||_0x55f501['ip'],'referer':_0x55f501[_0x4509('0x7c')][_0x4509('0x108')],'openedInteractions':_0xa1ad6e,'maxInteractions':_0x1db593,'virtual':_0x5a240c[_0x4509('0xfe')],'online':_0x1b8aaf,'custom':_0x5a240c}))[_0x4509('0x109')](/'/g,'\x5c\x27')};_0x13918a[_0x4509('0x2b')](ejs[_0x4509('0x10a')](Mustache['render'](_0x9a51,_0x4088ab),{'proactiveActions':_0x2f0d75,'alignment':_0x3aa23e[_0x4509('0x10b')],'verticalAlignment':_0x3aa23e['verticalAlignment'],'div_color':_0x3aa23e[_0x4509('0x10c')],'labelText':_0x3aa23e[_0x4509('0x10d')],'text_color':_0x3aa23e['textColor'],'text_button_color':_0x3aa23e[_0x4509('0x10e')],'button_color':_0x3aa23e['color_button'],'background_color':_0x3aa23e['backgroundColor'],'hideWhenOffline':_0x3aa23e[_0x4509('0x10f')],'interval':_0x3aa23e[_0x4509('0x110')]}));})[_0x4509('0x1c')](handleError(_0x13918a,null));};exports[_0x4509('0x111')]=function(_0x1584f6,_0xeecc2c){var _0x39e96c=_0x1584f6['params']['id'];var _0x53fd56=_0x1584f6[_0x4509('0x4a')];var _0x1cde8f=0xc8;var _0x528426=null;return db[_0x4509('0xd3')][_0x4509('0x112')]({'isolationLevel':db[_0x4509('0xd3')][_0x4509('0x113')][_0x4509('0x114')]['READ_COMMITTED']},function(_0x538f95){return db['ChatWebsite']['findOne']({'where':{'id':_0x39e96c},'transaction':_0x538f95})[_0x4509('0x12')](function(_0x19af41){if(_0x19af41){return db['ChatApplication'][_0x4509('0x27')]({'where':{'ChatWebsiteId':_0x39e96c},'transaction':_0x538f95})[_0x4509('0x12')](function(){var _0x5d08d0=_[_0x4509('0x2f')](_0x53fd56,function(_0x39e10e){_0x39e10e[_0x4509('0x53')]=_0x39e96c;return _0x39e10e;});return db[_0x4509('0x8f')][_0x4509('0x115')](_0x5d08d0,{'transaction':_0x538f95});});}else{_0x1cde8f=0x194;_0x528426=[];}});})[_0x4509('0x12')](function(){if(_0x1cde8f!==0x194){return db[_0x4509('0x8f')][_0x4509('0x116')]({'where':{'ChatWebsiteId':_0x39e96c},'order':'priority'})['then'](function(_0x5657c8){_0x528426=_0x5657c8;});}})['catch'](function(_0x5fe592){_0x1cde8f=0x1f4;logger[_0x4509('0x19')](_0x5fe592[_0x4509('0x29')]);if(_0x5fe592[_0x4509('0x2a')]){delete _0x5fe592[_0x4509('0x2a')];}_0x528426=_0x5fe592;})[_0x4509('0x117')](function(){if(_0x528426===null){_0xeecc2c[_0x4509('0x1d')](_0x1cde8f);}else{if(_0x1cde8f===0x1f4){_0xeecc2c[_0x4509('0x1e')](_0x1cde8f)[_0x4509('0x2b')](_0x528426);}else{_0xeecc2c[_0x4509('0x1e')](_0x1cde8f)[_0x4509('0x20')](_0x528426);}}});};exports[_0x4509('0x118')]=function(_0x213b12,_0x2e0797){var _0x73605c={};var _0x34f554={};var _0x3e0490;var _0x2434f8;return db[_0x4509('0x30')][_0x4509('0x54')]({'where':{'id':_0x213b12[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x2e0797,null))[_0x4509('0x12')](function(_0x2ae7cb){if(_0x2ae7cb){_0x3e0490=_0x2ae7cb;_0x34f554['model']=_['keys'](db[_0x4509('0x8f')][_0x4509('0x47')]);_0x34f554['query']=_['keys'](_0x213b12[_0x4509('0x34')]);_0x34f554[_0x4509('0x36')]=_[_0x4509('0x37')](_0x34f554['model'],_0x34f554['query']);_0x73605c[_0x4509('0x3a')]=_['intersection'](_0x34f554[_0x4509('0x38')],qs['fields'](_0x213b12[_0x4509('0x34')][_0x4509('0x39')]));_0x73605c[_0x4509('0x3a')]=_0x73605c['attributes'][_0x4509('0x3b')]?_0x73605c['attributes']:_0x34f554[_0x4509('0x38')];_0x73605c[_0x4509('0x3d')]=qs['sort'](_0x213b12[_0x4509('0x34')]['sort']);_0x73605c[_0x4509('0x3f')]=qs['filters'](_[_0x4509('0x56')](_0x213b12[_0x4509('0x34')],_0x34f554['filters']));if(_0x213b12['query'][_0x4509('0x40')]){_0x73605c[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x73605c[_0x4509('0x3f')],{'$or':_[_0x4509('0x2f')](_0x73605c['attributes'],function(_0x3e32e9){var _0x8a782e={};_0x8a782e[_0x3e32e9]={'$like':'%'+_0x213b12[_0x4509('0x34')]['filter']+'%'};return _0x8a782e;})});}_0x73605c=_[_0x4509('0x41')]({},_0x73605c,_0x213b12['options']);return _0x3e0490[_0x4509('0x118')](_0x73605c);}})['then'](function(_0x375c71){if(_0x375c71){_0x2434f8=_0x375c71['length'];if(!_0x213b12[_0x4509('0x34')][_0x4509('0x3c')](_0x4509('0x5e'))){_0x73605c['limit']=qs[_0x4509('0x23')](_0x213b12[_0x4509('0x34')][_0x4509('0x23')]);_0x73605c[_0x4509('0x21')]=qs[_0x4509('0x21')](_0x213b12[_0x4509('0x34')][_0x4509('0x21')]);}return _0x3e0490['getApplications'](_0x73605c);}})[_0x4509('0x12')](function(_0x39f652){if(_0x39f652){return _0x39f652?{'count':_0x2434f8,'rows':_0x39f652}:null;}})[_0x4509('0x12')](respondWithResult(_0x2e0797,null))[_0x4509('0x1c')](handleError(_0x2e0797,null));};exports[_0x4509('0x119')]=function(_0x268eea,_0x4996ab){return db[_0x4509('0x11a')]['find']({'where':{'id':_0x268eea[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x4996ab,null))[_0x4509('0x12')](function(_0x5ea08f){if(_0x5ea08f){return _0x5ea08f['addProactiveActions'](_0x268eea['body'][_0x4509('0x5a')],_[_0x4509('0xe7')](_0x268eea['body'],[_0x4509('0x5a'),'id'])||{});}})[_0x4509('0x12')](respondWithResult(_0x4996ab,null))['catch'](handleError(_0x4996ab,null));};exports[_0x4509('0xfd')]=function(_0x436504,_0x24819e){var _0x5a5b38={};var _0xbdba00={};var _0x4d5370;var _0x52bba4;return db[_0x4509('0x30')][_0x4509('0x54')]({'where':{'id':_0x436504[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x24819e,null))['then'](function(_0x46ed71){if(_0x46ed71){_0x4d5370=_0x46ed71;_0xbdba00[_0x4509('0x38')]=_['keys'](db[_0x4509('0x11b')][_0x4509('0x47')]);_0xbdba00[_0x4509('0x34')]=_[_0x4509('0x35')](_0x436504['query']);_0xbdba00[_0x4509('0x36')]=_[_0x4509('0x37')](_0xbdba00[_0x4509('0x38')],_0xbdba00[_0x4509('0x34')]);_0x5a5b38[_0x4509('0x3a')]=_[_0x4509('0x37')](_0xbdba00['model'],qs[_0x4509('0x39')](_0x436504['query'][_0x4509('0x39')]));_0x5a5b38[_0x4509('0x3a')]=_0x5a5b38[_0x4509('0x3a')][_0x4509('0x3b')]?_0x5a5b38[_0x4509('0x3a')]:_0xbdba00['model'];_0x5a5b38['order']=qs[_0x4509('0x3e')](_0x436504[_0x4509('0x34')]['sort']);_0x5a5b38[_0x4509('0x3f')]=qs['filters'](_[_0x4509('0x56')](_0x436504['query'],_0xbdba00[_0x4509('0x36')]));if(_0x436504['query'][_0x4509('0x40')]){_0x5a5b38[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x5a5b38['where'],{'$or':_['map'](_0x5a5b38['attributes'],function(_0x31b41f){var _0x279404={};_0x279404[_0x31b41f]={'$like':'%'+_0x436504['query']['filter']+'%'};return _0x279404;})});}_0x5a5b38=_[_0x4509('0x41')]({},_0x5a5b38,_0x436504['options']);return _0x4d5370['getProactiveActions'](_0x5a5b38);}})['then'](function(_0x5c3441){if(_0x5c3441){_0x52bba4=_0x5c3441[_0x4509('0x3b')];if(!_0x436504[_0x4509('0x34')][_0x4509('0x3c')](_0x4509('0x5e'))){_0x5a5b38[_0x4509('0x23')]=qs[_0x4509('0x23')](_0x436504['query'][_0x4509('0x23')]);_0x5a5b38['offset']=qs[_0x4509('0x21')](_0x436504[_0x4509('0x34')][_0x4509('0x21')]);}return _0x4d5370[_0x4509('0xfd')](_0x5a5b38);}})[_0x4509('0x12')](function(_0x5b7a2f){if(_0x5b7a2f){return _0x5b7a2f?{'count':_0x52bba4,'rows':_0x5b7a2f}:null;}})['then'](respondWithResult(_0x24819e,null))[_0x4509('0x1c')](handleError(_0x24819e,null));};exports[_0x4509('0x11c')]=function(_0x2a8f01,_0x178b5b){var _0x11a14f=_0x2a8f01[_0x4509('0x34')]['online']===_0x4509('0x11d')?_0x4509('0x11e'):'onlineForm';return db[_0x4509('0x30')][_0x4509('0x48')]({'attributes':['id',_0x11a14f],'where':{'id':_0x2a8f01[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x178b5b,null))[_0x4509('0x12')](function(_0x30d574){if(_0x30d574){var _0x55aaff=_0x30d574[_0x11a14f];var _0x27f9b1=_0x55aaff&&_0x55aaff[_0x4509('0x11f')]?_0x55aaff['items']:[];_0x178b5b[_0x4509('0x2b')]({'fromKey':_[_0x4509('0x75')](_0x55aaff['fromKey'])?undefined:_0x55aaff[_0x4509('0x120')],'count':_0x27f9b1[_0x4509('0x3b')],'rows':_0x27f9b1});}})['catch'](handleError(_0x178b5b,null));};exports[_0x4509('0x121')]=function(_0x372cb6,_0x1e1500){var _0x57e869={'raw':![],'where':{}};var _0x1cedfe={};var _0x56d5ec={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x4509('0x54')]({'where':{'id':_0x372cb6[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x1e1500,null))[_0x4509('0x12')](function(_0x32b20d){if(_0x32b20d){_0x1cedfe[_0x4509('0x38')]=_[_0x4509('0x35')](db[_0x4509('0xcb')]['rawAttributes']);_0x1cedfe[_0x4509('0x34')]=_[_0x4509('0x35')](_0x372cb6['query']);_0x1cedfe[_0x4509('0x36')]=_[_0x4509('0x37')](_0x1cedfe[_0x4509('0x38')],_0x1cedfe[_0x4509('0x34')]);_0x57e869['attributes']=_[_0x4509('0x37')](_0x1cedfe['model'],qs['fields'](_0x372cb6[_0x4509('0x34')][_0x4509('0x39')]));_0x57e869[_0x4509('0x3a')]=_0x57e869[_0x4509('0x3a')][_0x4509('0x3b')]?_0x57e869[_0x4509('0x3a')]:_0x1cedfe[_0x4509('0x38')];if(!_0x372cb6['query']['hasOwnProperty']('nolimit')){_0x57e869[_0x4509('0x23')]=qs['limit'](_0x372cb6['query'][_0x4509('0x23')]);_0x57e869['offset']=qs['offset'](_0x372cb6[_0x4509('0x34')][_0x4509('0x21')]);}_0x57e869[_0x4509('0x3d')]=qs[_0x4509('0x3e')](_0x372cb6[_0x4509('0x34')][_0x4509('0x3e')]);_0x57e869[_0x4509('0x3f')]=qs[_0x4509('0x36')](_[_0x4509('0x56')](_0x372cb6[_0x4509('0x34')],_0x1cedfe[_0x4509('0x36')]));_0x57e869['where'][_0x4509('0x53')]=_0x32b20d['id'];if(_0x372cb6[_0x4509('0x34')][_0x4509('0x40')]){_0x57e869['where']=_[_0x4509('0x41')](_0x57e869[_0x4509('0x3f')],{'$or':_['map'](_0x57e869['attributes'],function(_0x2fb475){var _0x1b32e4={};_0x1b32e4[_0x2fb475]={'$like':'%'+_0x372cb6[_0x4509('0x34')]['filter']+'%'};return _0x1b32e4;})});}_0x57e869=_[_0x4509('0x41')]({},_0x57e869,_0x372cb6[_0x4509('0x43')]);return db[_0x4509('0xcb')][_0x4509('0x24')]({'where':_0x57e869[_0x4509('0x3f')]})['then'](function(_0x27fade){_0x56d5ec[_0x4509('0x24')]=_0x27fade;if(_0x372cb6[_0x4509('0x34')][_0x4509('0x44')]){_0x57e869[_0x4509('0x45')]=[{'all':!![]}];}else{_0x57e869[_0x4509('0x45')]=[{'model':db['CmContact'],'as':_0x4509('0xe9'),'required':![]},{'model':db[_0x4509('0xd4')],'as':_0x4509('0x122'),'required':![]}];}return db['ChatOfflineMessage'][_0x4509('0x57')](_0x57e869);})[_0x4509('0x12')](function(_0x36252b){_0x56d5ec['rows']=_0x36252b;return _0x56d5ec;});}})['then'](respondWithFilteredResult(_0x1e1500,_0x57e869))[_0x4509('0x1c')](handleError(_0x1e1500,null));};exports[_0x4509('0x123')]=function(_0x1153da,_0x2ebe3c){return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x1153da[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x2ebe3c,null))[_0x4509('0x12')](function(_0x53c53c){if(_0x53c53c){return _0x53c53c['addAgents'](_0x1153da[_0x4509('0x4a')][_0x4509('0x5a')],_[_0x4509('0xe7')](_0x1153da[_0x4509('0x4a')],[_0x4509('0x5a'),'id'])||{})[_0x4509('0xc7')](function(_0x427e0f){for(var _0x363967=0x0;_0x363967<_0x1153da[_0x4509('0x4a')][_0x4509('0x5a')][_0x4509('0x3b')];_0x363967+=0x1){socket[_0x4509('0x124')]('userChatWebsite:save',{'UserId':Number(_0x1153da['body']['ids'][_0x363967]),'ChatWebsiteId':Number(_0x1153da[_0x4509('0x46')]['id'])});}return _0x427e0f;});}})['then'](respondWithResult(_0x2ebe3c,null))[_0x4509('0x1c')](handleError(_0x2ebe3c,null));};exports['removeAgents']=function(_0x17c6c4,_0xba626f){return db[_0x4509('0x30')][_0x4509('0x48')]({'where':{'id':_0x17c6c4[_0x4509('0x46')]['id']}})[_0x4509('0x12')](handleEntityNotFound(_0xba626f,null))[_0x4509('0x12')](function(_0x3677b9){if(_0x3677b9){return _0x3677b9[_0x4509('0x125')](_0x17c6c4[_0x4509('0x34')][_0x4509('0x5a')])[_0x4509('0x12')](function(){if(_['isArray'](_0x17c6c4['query'][_0x4509('0x5a')])){for(var _0x4ece77=0x0;_0x4ece77<_0x17c6c4[_0x4509('0x34')][_0x4509('0x5a')][_0x4509('0x3b')];_0x4ece77+=0x1){socket[_0x4509('0x124')](_0x4509('0x126'),{'UserId':Number(_0x17c6c4[_0x4509('0x34')][_0x4509('0x5a')][_0x4ece77]),'ChatWebsiteId':Number(_0x17c6c4[_0x4509('0x46')]['id'])});}}else{socket['emit'](_0x4509('0x126'),{'UserId':Number(_0x17c6c4[_0x4509('0x34')][_0x4509('0x5a')]),'ChatWebsiteId':Number(_0x17c6c4[_0x4509('0x46')]['id'])});}});}})[_0x4509('0x12')](respondWithStatusCode(_0xba626f,null))['catch'](handleError(_0xba626f,null));};exports['getAgents']=function(_0x3ad541,_0x3b6add){var _0x4fc8ca={};var _0x4bcb9e={};var _0x54a360;var _0x19c232;return db['ChatWebsite'][_0x4509('0x54')]({'where':{'id':_0x3ad541['params']['id']}})[_0x4509('0x12')](handleEntityNotFound(_0x3b6add,null))[_0x4509('0x12')](function(_0x36656c){if(_0x36656c){_0x54a360=_0x36656c;_0x4bcb9e['model']=_[_0x4509('0x35')](db[_0x4509('0xea')][_0x4509('0x47')]);_0x4bcb9e[_0x4509('0x34')]=_[_0x4509('0x35')](_0x3ad541[_0x4509('0x34')]);_0x4bcb9e[_0x4509('0x36')]=_[_0x4509('0x37')](_0x4bcb9e[_0x4509('0x38')],_0x4bcb9e[_0x4509('0x34')]);_0x4fc8ca['attributes']=_[_0x4509('0x37')](_0x4bcb9e[_0x4509('0x38')],qs[_0x4509('0x39')](_0x3ad541[_0x4509('0x34')][_0x4509('0x39')]));_0x4fc8ca[_0x4509('0x3a')]=_0x4fc8ca['attributes'][_0x4509('0x3b')]?_0x4fc8ca[_0x4509('0x3a')]:_0x4bcb9e[_0x4509('0x38')];_0x4fc8ca[_0x4509('0x3d')]=qs[_0x4509('0x3e')](_0x3ad541[_0x4509('0x34')][_0x4509('0x3e')]);_0x4fc8ca[_0x4509('0x3f')]=qs[_0x4509('0x36')](_[_0x4509('0x56')](_0x3ad541['query'],_0x4bcb9e[_0x4509('0x36')]));if(_0x3ad541[_0x4509('0x34')][_0x4509('0x40')]){_0x4fc8ca[_0x4509('0x3f')]=_[_0x4509('0x41')](_0x4fc8ca[_0x4509('0x3f')],{'$or':_[_0x4509('0x2f')](_0x4fc8ca[_0x4509('0x3a')],function(_0x5366fb){var _0xfd45f3={};_0xfd45f3[_0x5366fb]={'$like':'%'+_0x3ad541['query'][_0x4509('0x40')]+'%'};return _0xfd45f3;})});}_0x4fc8ca=_[_0x4509('0x41')]({},_0x4fc8ca,_0x3ad541[_0x4509('0x43')]);return _0x54a360['getAgents'](_0x4fc8ca);}})[_0x4509('0x12')](function(_0x62dc6b){if(_0x62dc6b){_0x19c232=_0x62dc6b[_0x4509('0x3b')];if(!_0x3ad541['query'][_0x4509('0x3c')](_0x4509('0x5e'))){_0x4fc8ca[_0x4509('0x23')]=qs[_0x4509('0x23')](_0x3ad541[_0x4509('0x34')][_0x4509('0x23')]);_0x4fc8ca[_0x4509('0x21')]=qs[_0x4509('0x21')](_0x3ad541['query'][_0x4509('0x21')]);}return _0x54a360[_0x4509('0x127')](_0x4fc8ca);}})['then'](function(_0x29d4f8){if(_0x29d4f8){return _0x29d4f8?{'count':_0x19c232,'rows':_0x29d4f8}:null;}})[_0x4509('0x12')](respondWithResult(_0x3b6add,null))[_0x4509('0x1c')](handleError(_0x3b6add,null));};
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.events.js b/server/api/chatWebsite/chatWebsite.events.js
index 0eab744..70046e2 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 _0x00bb=['remove','hook','exports','events','../../mysqldb','ChatWebsite','save'];(function(_0x574f14,_0x73a025){var _0x581309=function(_0x203769){while(--_0x203769){_0x574f14['push'](_0x574f14['shift']());}};_0x581309(++_0x73a025);}(_0x00bb,0x1d8));var _0xb00b=function(_0x5c351c,_0x2046d8){_0x5c351c=_0x5c351c-0x0;var _0x26f3b3=_0x00bb[_0x5c351c];return _0x26f3b3;};'use strict';var EventEmitter=require(_0xb00b('0x0'));var ChatWebsite=require(_0xb00b('0x1'))['db'][_0xb00b('0x2')];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xb00b('0x3'),'afterUpdate':'update','afterDestroy':_0xb00b('0x4')};function emitEvent(_0x464fe7){return function(_0x582ef9,_0x14b5d0,_0x2dbd25){ChatWebsiteEvents['emit'](_0x464fe7+':'+_0x582ef9['id'],_0x582ef9);ChatWebsiteEvents['emit'](_0x464fe7,_0x582ef9);_0x2dbd25(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatWebsite[_0xb00b('0x5')](e,emitEvent(event));}}module[_0xb00b('0x6')]=ChatWebsiteEvents;
\ No newline at end of file
+var _0x3613=['ChatWebsite','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','events','../../mysqldb'];(function(_0x5be0a1,_0x49ee54){var _0x1e3f13=function(_0x56558d){while(--_0x56558d){_0x5be0a1['push'](_0x5be0a1['shift']());}};_0x1e3f13(++_0x49ee54);}(_0x3613,0x198));var _0x3361=function(_0x248977,_0x5b226e){_0x248977=_0x248977-0x0;var _0x1d6a88=_0x3613[_0x248977];return _0x1d6a88;};'use strict';var EventEmitter=require(_0x3361('0x0'));var ChatWebsite=require(_0x3361('0x1'))['db'][_0x3361('0x2')];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents[_0x3361('0x3')](0x0);var events={'afterCreate':_0x3361('0x4'),'afterUpdate':_0x3361('0x5'),'afterDestroy':_0x3361('0x6')};function emitEvent(_0x56bafb){return function(_0xe6f993,_0x585bf7,_0x21cd23){ChatWebsiteEvents[_0x3361('0x7')](_0x56bafb+':'+_0xe6f993['id'],_0xe6f993);ChatWebsiteEvents[_0x3361('0x7')](_0x56bafb,_0xe6f993);_0x21cd23(null);};}for(var e in events){if(events[_0x3361('0x8')](e)){var event=events[e];ChatWebsite[_0x3361('0x9')](e,emitEvent(event));}}module['exports']=ChatWebsiteEvents;
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.model.js b/server/api/chatWebsite/chatWebsite.model.js
index 38a5bb7..e627d3d 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 _0x253e=['chat_websites','lodash','util','api','moment','bluebird','request-promise','path','rimraf','./chatWebsite.attributes','exports','define','ChatWebsite'];(function(_0x4652e3,_0x5348a7){var _0x1b55c1=function(_0x1ca9b8){while(--_0x1ca9b8){_0x4652e3['push'](_0x4652e3['shift']());}};_0x1b55c1(++_0x5348a7);}(_0x253e,0x76));var _0xe253=function(_0xf074c1,_0x57ac51){_0xf074c1=_0xf074c1-0x0;var _0x37661c=_0x253e[_0xf074c1];return _0x37661c;};'use strict';var _=require(_0xe253('0x0'));var util=require(_0xe253('0x1'));var logger=require('../../config/logger')(_0xe253('0x2'));var moment=require(_0xe253('0x3'));var BPromise=require(_0xe253('0x4'));var rp=require(_0xe253('0x5'));var fs=require('fs');var path=require(_0xe253('0x6'));var rimraf=require(_0xe253('0x7'));var config=require('../../config/environment');var attributes=require(_0xe253('0x8'));module[_0xe253('0x9')]=function(_0x41602d,_0x4673da){return _0x41602d[_0xe253('0xa')](_0xe253('0xb'),attributes,{'tableName':_0xe253('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x0a9d=['bluebird','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','exports','define','chat_websites','api','moment'];(function(_0x4f1c5b,_0x51886a){var _0x4d0ef9=function(_0x2a35e5){while(--_0x2a35e5){_0x4f1c5b['push'](_0x4f1c5b['shift']());}};_0x4d0ef9(++_0x51886a);}(_0x0a9d,0x148));var _0xd0a9=function(_0x22899f,_0x50952f){_0x22899f=_0x22899f-0x0;var _0x1634d6=_0x0a9d[_0x22899f];return _0x1634d6;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xd0a9('0x0'));var moment=require(_0xd0a9('0x1'));var BPromise=require(_0xd0a9('0x2'));var rp=require(_0xd0a9('0x3'));var fs=require('fs');var path=require(_0xd0a9('0x4'));var rimraf=require(_0xd0a9('0x5'));var config=require(_0xd0a9('0x6'));var attributes=require(_0xd0a9('0x7'));module[_0xd0a9('0x8')]=function(_0x4c2647,_0x4bb344){return _0x4c2647[_0xd0a9('0x9')]('ChatWebsite',attributes,{'tableName':_0xd0a9('0xa'),'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 326c7f6..a9f0a1f 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 _0x9d0e=['rpc','jayson/promise','client','http','redis','localhost','socket.io-emitter','./chatWebsite.socket','request','then','ChatWebsite,\x20%s,\x20%s','request\x20sent','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x9d0e,0x12c));var _0xe9d0=function(_0x31451c,_0x39ba32){_0x31451c=_0x31451c-0x0;var _0xa58928=_0x9d0e[_0x31451c];return _0xa58928;};'use strict';var _=require(_0xe9d0('0x0'));var util=require(_0xe9d0('0x1'));var moment=require(_0xe9d0('0x2'));var BPromise=require(_0xe9d0('0x3'));var rs=require(_0xe9d0('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xe9d0('0x5'))['db'];var utils=require(_0xe9d0('0x6'));var logger=require(_0xe9d0('0x7'))(_0xe9d0('0x8'));var config=require('../../config/environment');var jayson=require(_0xe9d0('0x9'));var client=jayson[_0xe9d0('0xa')][_0xe9d0('0xb')]({'port':0x232a});config[_0xe9d0('0xc')]=_['defaults'](config[_0xe9d0('0xc')],{'host':_0xe9d0('0xd'),'port':0x18eb});var socket=require(_0xe9d0('0xe'))(new Redis(config[_0xe9d0('0xc')]));require(_0xe9d0('0xf'))['register'](socket);function respondWithRpcPromise(_0x29954d,_0x5266df,_0x5a2099){return new BPromise(function(_0x534a82,_0x5b29a3){return client[_0xe9d0('0x10')](_0x29954d,_0x5a2099)[_0xe9d0('0x11')](function(_0x6f78b6){logger['info'](_0xe9d0('0x12'),_0x5266df,_0xe9d0('0x13'));logger[_0xe9d0('0x14')](_0xe9d0('0x15'),_0x5266df,_0xe9d0('0x13'),JSON[_0xe9d0('0x16')](_0x6f78b6));if(_0x6f78b6[_0xe9d0('0x17')]){if(_0x6f78b6['error'][_0xe9d0('0x18')]===0x1f4){logger[_0xe9d0('0x17')]('ChatWebsite,\x20%s,\x20%s',_0x5266df,_0x6f78b6[_0xe9d0('0x17')][_0xe9d0('0x19')]);return _0x5b29a3(_0x6f78b6[_0xe9d0('0x17')]['message']);}logger[_0xe9d0('0x17')](_0xe9d0('0x12'),_0x5266df,_0x6f78b6[_0xe9d0('0x17')][_0xe9d0('0x19')]);return _0x534a82(_0x6f78b6['error'][_0xe9d0('0x19')]);}else{logger['info'](_0xe9d0('0x12'),_0x5266df,'request\x20sent');_0x534a82(_0x6f78b6[_0xe9d0('0x1a')]['message']);}})[_0xe9d0('0x1b')](function(_0x2f8112){logger[_0xe9d0('0x17')](_0xe9d0('0x12'),_0x5266df,_0x2f8112);_0x5b29a3(_0x2f8112);});});}
\ No newline at end of file
+var _0x24b7=['message','result','catch','lodash','util','bluebird','randomstring','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','redis','defaults','localhost','./chatWebsite.socket','register','then','info','request\x20sent','error','code','ChatWebsite,\x20%s,\x20%s'];(function(_0x4e7cc3,_0x47ff4){var _0x42e46d=function(_0x43bd6e){while(--_0x43bd6e){_0x4e7cc3['push'](_0x4e7cc3['shift']());}};_0x42e46d(++_0x47ff4);}(_0x24b7,0x19b));var _0x724b=function(_0x19f286,_0xa79a29){_0x19f286=_0x19f286-0x0;var _0x235aa0=_0x24b7[_0x19f286];return _0x235aa0;};'use strict';var _=require(_0x724b('0x0'));var util=require(_0x724b('0x1'));var moment=require('moment');var BPromise=require(_0x724b('0x2'));var rs=require(_0x724b('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x724b('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x724b('0x5'))(_0x724b('0x6'));var config=require(_0x724b('0x7'));var jayson=require(_0x724b('0x8'));var client=jayson[_0x724b('0x9')]['http']({'port':0x232a});config[_0x724b('0xa')]=_[_0x724b('0xb')](config[_0x724b('0xa')],{'host':_0x724b('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x724b('0xa')]));require(_0x724b('0xd'))[_0x724b('0xe')](socket);function respondWithRpcPromise(_0x66a67,_0x3824cd,_0x21012b){return new BPromise(function(_0x4793ab,_0x523e14){return client['request'](_0x66a67,_0x21012b)[_0x724b('0xf')](function(_0x100c08){logger[_0x724b('0x10')]('ChatWebsite,\x20%s,\x20%s',_0x3824cd,_0x724b('0x11'));logger['debug']('ChatWebsite,\x20%s,\x20%s,\x20%s',_0x3824cd,'request\x20sent',JSON['stringify'](_0x100c08));if(_0x100c08[_0x724b('0x12')]){if(_0x100c08[_0x724b('0x12')][_0x724b('0x13')]===0x1f4){logger['error'](_0x724b('0x14'),_0x3824cd,_0x100c08[_0x724b('0x12')][_0x724b('0x15')]);return _0x523e14(_0x100c08[_0x724b('0x12')]['message']);}logger[_0x724b('0x12')]('ChatWebsite,\x20%s,\x20%s',_0x3824cd,_0x100c08['error']['message']);return _0x4793ab(_0x100c08[_0x724b('0x12')][_0x724b('0x15')]);}else{logger[_0x724b('0x10')]('ChatWebsite,\x20%s,\x20%s',_0x3824cd,_0x724b('0x11'));_0x4793ab(_0x100c08[_0x724b('0x16')][_0x724b('0x15')]);}})[_0x724b('0x17')](function(_0x146534){logger[_0x724b('0x12')](_0x724b('0x14'),_0x3824cd,_0x146534);_0x523e14(_0x146534);});});}
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.socket.js b/server/api/chatWebsite/chatWebsite.socket.js
index 4b6c628..a95b2ce 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 _0xf1ad=['update','register','length','./chatWebsite.events','remove'];(function(_0x2574fb,_0x35c780){var _0x426ea2=function(_0x25615e){while(--_0x25615e){_0x2574fb['push'](_0x2574fb['shift']());}};_0x426ea2(++_0x35c780);}(_0xf1ad,0x1f2));var _0xdf1a=function(_0x3da25b,_0xd3e6c){_0x3da25b=_0x3da25b-0x0;var _0x238c18=_0xf1ad[_0x3da25b];return _0x238c18;};'use strict';var ChatWebsiteEvents=require(_0xdf1a('0x0'));var events=['save',_0xdf1a('0x1'),_0xdf1a('0x2')];function createListener(_0x15470e,_0x26c049){return function(_0x275a53){_0x26c049['emit'](_0x15470e,_0x275a53);};}function removeListener(_0x93dcc5,_0x476deb){return function(){ChatWebsiteEvents['removeListener'](_0x93dcc5,_0x476deb);};}exports[_0xdf1a('0x3')]=function(_0x5e041c){for(var _0x562484=0x0,_0x2ac9ae=events[_0xdf1a('0x4')];_0x562484<_0x2ac9ae;_0x562484++){var _0x1140d8=events[_0x562484];var _0x45befd=createListener('chatWebsite:'+_0x1140d8,_0x5e041c);ChatWebsiteEvents['on'](_0x1140d8,_0x45befd);}};
\ No newline at end of file
+var _0x281d=['chatWebsite:','save','remove','update','emit','removeListener','register','length'];(function(_0x49225d,_0x312d6c){var _0x2c228f=function(_0x183ff5){while(--_0x183ff5){_0x49225d['push'](_0x49225d['shift']());}};_0x2c228f(++_0x312d6c);}(_0x281d,0xc1));var _0xd281=function(_0x3fa91b,_0x119e77){_0x3fa91b=_0x3fa91b-0x0;var _0x35b062=_0x281d[_0x3fa91b];return _0x35b062;};'use strict';var ChatWebsiteEvents=require('./chatWebsite.events');var events=[_0xd281('0x0'),_0xd281('0x1'),_0xd281('0x2')];function createListener(_0x2dd05a,_0x372d29){return function(_0x38fd83){_0x372d29[_0xd281('0x3')](_0x2dd05a,_0x38fd83);};}function removeListener(_0x45efb4,_0x100e4b){return function(){ChatWebsiteEvents[_0xd281('0x4')](_0x45efb4,_0x100e4b);};}exports[_0xd281('0x5')]=function(_0x44019e){for(var _0x1e688c=0x0,_0x3331d4=events[_0xd281('0x6')];_0x1e688c<_0x3331d4;_0x1e688c++){var _0x5a71a2=events[_0x1e688c];var _0x36bdbe=createListener(_0xd281('0x7')+_0x5a71a2,_0x44019e);ChatWebsiteEvents['on'](_0x5a71a2,_0x36bdbe);}};
\ No newline at end of file
diff --git a/server/api/chatWebsite/index.js b/server/api/chatWebsite/index.js
index 5f63d7b..6a67372 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 _0xfe72=['addInteraction','addProactiveActions','/:id/users','addAgents','put','/:id','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','describe','show','/:id/dispositions','/:id/logo','getLogo','/:id/avatar','/:id/customer_avatar','getCustomerAvatar','/:id/system_avatar','getSystemAvatar','/:id/snippet','getSnippet','/:id/applications','getApplications','/:id/proactive_actions','getProactiveActions','/:id/fields','getFields','/:id/offline_messages','getOfflineMessages','getAgents','post','addDisposition','/:id/canned_answers','addAnswer','join','root','format','%s-%s','originalname','single','file','addLogo','diskStorage','server/files/images/avatars/','now','addAvatar','addSystemAvatar','/:id/notify','notify','server/files','offline-chat','ensureDir','replace','extname','/:id/offline'];(function(_0x192551,_0x160221){var _0x533857=function(_0x5047d3){while(--_0x5047d3){_0x192551['push'](_0x192551['shift']());}};_0x533857(++_0x160221);}(_0xfe72,0x170));var _0x2fe7=function(_0x49b363,_0x27b6b7){_0x49b363=_0x49b363-0x0;var _0x2c0db8=_0xfe72[_0x49b363];return _0x2c0db8;};'use strict';var multer=require('multer');var util=require(_0x2fe7('0x0'));var path=require(_0x2fe7('0x1'));var timeout=require(_0x2fe7('0x2'));var express=require(_0x2fe7('0x3'));var router=express[_0x2fe7('0x4')]();var fs_extra=require(_0x2fe7('0x5'));var auth=require(_0x2fe7('0x6'));var interaction=require(_0x2fe7('0x7'));var config=require('../../config/environment');var controller=require('./chatWebsite.controller');router[_0x2fe7('0x8')]('/',auth['isAuthenticated'](),controller[_0x2fe7('0x9')]);router[_0x2fe7('0x8')](_0x2fe7('0xa'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0xc')]);router[_0x2fe7('0x8')]('/:id',auth[_0x2fe7('0xb')](),controller[_0x2fe7('0xd')]);router[_0x2fe7('0x8')](_0x2fe7('0xe'),auth[_0x2fe7('0xb')](),controller['getDispositions']);router[_0x2fe7('0x8')]('/:id/canned_answers',auth[_0x2fe7('0xb')](),controller['getAnswers']);router[_0x2fe7('0x8')](_0x2fe7('0xf'),controller[_0x2fe7('0x10')]);router[_0x2fe7('0x8')](_0x2fe7('0x11'),controller['getAvatar']);router[_0x2fe7('0x8')](_0x2fe7('0x12'),controller[_0x2fe7('0x13')]);router[_0x2fe7('0x8')](_0x2fe7('0x14'),controller[_0x2fe7('0x15')]);router['get']('/:id/interactions',auth[_0x2fe7('0xb')](),controller['getInteractions']);router[_0x2fe7('0x8')](_0x2fe7('0x16'),controller[_0x2fe7('0x17')]);router[_0x2fe7('0x8')](_0x2fe7('0x18'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x19')]);router[_0x2fe7('0x8')](_0x2fe7('0x1a'),auth['isAuthenticated'](),controller[_0x2fe7('0x1b')]);router[_0x2fe7('0x8')](_0x2fe7('0x1c'),controller[_0x2fe7('0x1d')]);router['get'](_0x2fe7('0x1e'),auth['isAuthenticated'](),controller[_0x2fe7('0x1f')]);router[_0x2fe7('0x8')]('/:id/users',auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x20')]);router[_0x2fe7('0x21')]('/',auth[_0x2fe7('0xb')](),controller['create']);router[_0x2fe7('0x21')](_0x2fe7('0xe'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x22')]);router[_0x2fe7('0x21')](_0x2fe7('0x23'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x24')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0xe42bd7,_0x198343,_0x2eb26a){_0x2eb26a(null,path[_0x2fe7('0x25')](config[_0x2fe7('0x26')],'server/files/images/logos/'));},'filename':function(_0x45270b,_0x496d7f,_0x42bd7e){_0x42bd7e(null,util[_0x2fe7('0x27')](_0x2fe7('0x28'),Date['now'](),_0x496d7f[_0x2fe7('0x29')]));}})});router[_0x2fe7('0x21')](_0x2fe7('0xf'),upload[_0x2fe7('0x2a')](_0x2fe7('0x2b')),controller[_0x2fe7('0x2c')]);var upload=multer({'storage':multer[_0x2fe7('0x2d')]({'destination':function(_0x364c14,_0x289725,_0x14ad07){_0x14ad07(null,path['join'](config['root'],_0x2fe7('0x2e')));},'filename':function(_0x189711,_0x272173,_0x5309e1){_0x5309e1(null,util[_0x2fe7('0x27')](_0x2fe7('0x28'),Date[_0x2fe7('0x2f')](),_0x272173['originalname']));}})});router[_0x2fe7('0x21')](_0x2fe7('0x11'),upload[_0x2fe7('0x2a')](_0x2fe7('0x2b')),controller[_0x2fe7('0x30')]);var upload=multer({'storage':multer[_0x2fe7('0x2d')]({'destination':function(_0x14b7ad,_0x471d3f,_0x44c6bf){_0x44c6bf(null,path[_0x2fe7('0x25')](config['root'],_0x2fe7('0x2e')));},'filename':function(_0x167bb2,_0x3e9402,_0x233861){_0x233861(null,util[_0x2fe7('0x27')]('%s-%s',Date[_0x2fe7('0x2f')](),_0x3e9402[_0x2fe7('0x29')]));}})});router[_0x2fe7('0x21')](_0x2fe7('0x12'),upload[_0x2fe7('0x2a')](_0x2fe7('0x2b')),controller['addCustomerAvatar']);var upload=multer({'storage':multer[_0x2fe7('0x2d')]({'destination':function(_0x4e3bc8,_0x430235,_0x1883e8){_0x1883e8(null,path[_0x2fe7('0x25')](config['root'],'server/files/images/avatars/'));},'filename':function(_0x18e8f7,_0x5edcea,_0x53ec84){_0x53ec84(null,util['format'](_0x2fe7('0x28'),Date['now'](),_0x5edcea[_0x2fe7('0x29')]));}})});router[_0x2fe7('0x21')](_0x2fe7('0x14'),upload[_0x2fe7('0x2a')]('file'),controller[_0x2fe7('0x31')]);router['post'](_0x2fe7('0x32'),controller[_0x2fe7('0x33')]);const offlineUploadMulter=multer({'storage':multer[_0x2fe7('0x2d')]({'destination':function(_0x4662e9,_0x5c85fe,_0x2a6264){const _0x31e31b=path['join'](config[_0x2fe7('0x26')],_0x2fe7('0x34'),'attachments',_0x2fe7('0x35'));fs_extra[_0x2fe7('0x36')](_0x31e31b,function(){_0x2a6264(null,_0x31e31b);});},'filename':function(_0x52b91e,_0x154535,_0x343e5f){const _0x4637a1=_0x154535['originalname'][_0x2fe7('0x37')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');const _0x20ee02=path[_0x2fe7('0x38')](_0x4637a1);const _0x55f3d3=Date[_0x2fe7('0x2f')]()+'-'+_0x4637a1[_0x2fe7('0x37')](_0x20ee02,'')+_0x20ee02;_0x343e5f(null,_0x55f3d3);}})});router[_0x2fe7('0x21')](_0x2fe7('0x39'),offlineUploadMulter['any'](),controller['offline']);router[_0x2fe7('0x21')]('/:id/interactions',auth['isAuthenticated'](),controller[_0x2fe7('0x3a')]);router[_0x2fe7('0x21')](_0x2fe7('0x18'),auth['isAuthenticated'](),controller['addApplications']);router[_0x2fe7('0x21')](_0x2fe7('0x1a'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x3b')]);router['post'](_0x2fe7('0x3c'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x3d')]);router[_0x2fe7('0x3e')](_0x2fe7('0x3f'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x40')]);router['delete'](_0x2fe7('0x3f'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x41')]);router[_0x2fe7('0x42')](_0x2fe7('0xe'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x43')]);router[_0x2fe7('0x42')](_0x2fe7('0x23'),auth['isAuthenticated'](),controller[_0x2fe7('0x44')]);router[_0x2fe7('0x42')](_0x2fe7('0x3c'),auth[_0x2fe7('0xb')](),controller[_0x2fe7('0x45')]);module[_0x2fe7('0x46')]=router;
\ No newline at end of file
+var _0x78b8=['/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/avatar','/:id/customer_avatar','getSystemAvatar','/:id/interactions','getInteractions','/:id/snippet','getSnippet','/:id/applications','/:id/proactive_actions','getProactiveActions','getFields','/:id/offline_messages','getOfflineMessages','/:id/users','getAgents','post','addDisposition','join','root','server/files/images/logos/','format','%s-%s','now','originalname','/:id/logo','single','file','addLogo','diskStorage','server/files/images/avatars/','addAvatar','/:id/system_avatar','addSystemAvatar','/:id/notify','notify','server/files','attachments','replace','extname','/:id/offline','offline','addInteraction','addApplications','addProactiveActions','addAgents','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatWebsite.controller','get','isAuthenticated','index'];(function(_0x2e5a23,_0xffab4){var _0x23b8f2=function(_0x46b7dc){while(--_0x46b7dc){_0x2e5a23['push'](_0x2e5a23['shift']());}};_0x23b8f2(++_0xffab4);}(_0x78b8,0x10d));var _0x878b=function(_0x17a508,_0x5853be){_0x17a508=_0x17a508-0x0;var _0x5a7ece=_0x78b8[_0x17a508];return _0x5a7ece;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x878b('0x0'));var timeout=require('connect-timeout');var express=require(_0x878b('0x1'));var router=express[_0x878b('0x2')]();var fs_extra=require(_0x878b('0x3'));var auth=require(_0x878b('0x4'));var interaction=require(_0x878b('0x5'));var config=require(_0x878b('0x6'));var controller=require(_0x878b('0x7'));router[_0x878b('0x8')]('/',auth[_0x878b('0x9')](),controller[_0x878b('0xa')]);router[_0x878b('0x8')](_0x878b('0xb'),auth[_0x878b('0x9')](),controller[_0x878b('0xc')]);router[_0x878b('0x8')](_0x878b('0xd'),auth['isAuthenticated'](),controller[_0x878b('0xe')]);router['get'](_0x878b('0xf'),auth[_0x878b('0x9')](),controller[_0x878b('0x10')]);router[_0x878b('0x8')](_0x878b('0x11'),auth[_0x878b('0x9')](),controller['getAnswers']);router[_0x878b('0x8')]('/:id/logo',controller['getLogo']);router[_0x878b('0x8')](_0x878b('0x12'),controller['getAvatar']);router[_0x878b('0x8')](_0x878b('0x13'),controller['getCustomerAvatar']);router[_0x878b('0x8')]('/:id/system_avatar',controller[_0x878b('0x14')]);router[_0x878b('0x8')](_0x878b('0x15'),auth['isAuthenticated'](),controller[_0x878b('0x16')]);router[_0x878b('0x8')](_0x878b('0x17'),controller[_0x878b('0x18')]);router[_0x878b('0x8')](_0x878b('0x19'),auth['isAuthenticated'](),controller['getApplications']);router[_0x878b('0x8')](_0x878b('0x1a'),auth[_0x878b('0x9')](),controller[_0x878b('0x1b')]);router[_0x878b('0x8')]('/:id/fields',controller[_0x878b('0x1c')]);router[_0x878b('0x8')](_0x878b('0x1d'),auth[_0x878b('0x9')](),controller[_0x878b('0x1e')]);router['get'](_0x878b('0x1f'),auth[_0x878b('0x9')](),controller[_0x878b('0x20')]);router[_0x878b('0x21')]('/',auth[_0x878b('0x9')](),controller['create']);router['post']('/:id/dispositions',auth['isAuthenticated'](),controller[_0x878b('0x22')]);router[_0x878b('0x21')]('/:id/canned_answers',auth['isAuthenticated'](),controller['addAnswer']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x537da8,_0x9b4448,_0x2e5f6d){_0x2e5f6d(null,path[_0x878b('0x23')](config[_0x878b('0x24')],_0x878b('0x25')));},'filename':function(_0x6e98c6,_0x4e9fad,_0xfbef2c){_0xfbef2c(null,util[_0x878b('0x26')](_0x878b('0x27'),Date[_0x878b('0x28')](),_0x4e9fad[_0x878b('0x29')]));}})});router[_0x878b('0x21')](_0x878b('0x2a'),upload[_0x878b('0x2b')](_0x878b('0x2c')),controller[_0x878b('0x2d')]);var upload=multer({'storage':multer[_0x878b('0x2e')]({'destination':function(_0xcca76a,_0x52523f,_0x20dcc7){_0x20dcc7(null,path[_0x878b('0x23')](config['root'],_0x878b('0x2f')));},'filename':function(_0x49779f,_0x22e3e8,_0x29f122){_0x29f122(null,util[_0x878b('0x26')](_0x878b('0x27'),Date[_0x878b('0x28')](),_0x22e3e8[_0x878b('0x29')]));}})});router[_0x878b('0x21')]('/:id/avatar',upload[_0x878b('0x2b')](_0x878b('0x2c')),controller[_0x878b('0x30')]);var upload=multer({'storage':multer[_0x878b('0x2e')]({'destination':function(_0x3a6f4d,_0x5d6ace,_0x5bbb43){_0x5bbb43(null,path[_0x878b('0x23')](config[_0x878b('0x24')],_0x878b('0x2f')));},'filename':function(_0x1702c2,_0x11c49b,_0x251d06){_0x251d06(null,util['format']('%s-%s',Date[_0x878b('0x28')](),_0x11c49b[_0x878b('0x29')]));}})});router['post'](_0x878b('0x13'),upload[_0x878b('0x2b')](_0x878b('0x2c')),controller['addCustomerAvatar']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x53ba59,_0x583429,_0x5930b9){_0x5930b9(null,path[_0x878b('0x23')](config[_0x878b('0x24')],'server/files/images/avatars/'));},'filename':function(_0x5c8e8e,_0x4202fa,_0xd1d2d8){_0xd1d2d8(null,util[_0x878b('0x26')](_0x878b('0x27'),Date[_0x878b('0x28')](),_0x4202fa[_0x878b('0x29')]));}})});router['post'](_0x878b('0x31'),upload[_0x878b('0x2b')]('file'),controller[_0x878b('0x32')]);router[_0x878b('0x21')](_0x878b('0x33'),controller[_0x878b('0x34')]);const offlineUploadMulter=multer({'storage':multer[_0x878b('0x2e')]({'destination':function(_0x127c2c,_0x19710e,_0x5bfc58){const _0x125a59=path['join'](config[_0x878b('0x24')],_0x878b('0x35'),_0x878b('0x36'),'offline-chat');fs_extra['ensureDir'](_0x125a59,function(){_0x5bfc58(null,_0x125a59);});},'filename':function(_0x2a5572,_0x5988f0,_0x40aa26){const _0x393afb=_0x5988f0[_0x878b('0x29')][_0x878b('0x37')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');const _0x1de24c=path[_0x878b('0x38')](_0x393afb);const _0x3676e7=Date['now']()+'-'+_0x393afb[_0x878b('0x37')](_0x1de24c,'')+_0x1de24c;_0x40aa26(null,_0x3676e7);}})});router['post'](_0x878b('0x39'),offlineUploadMulter['any'](),controller[_0x878b('0x3a')]);router[_0x878b('0x21')](_0x878b('0x15'),auth[_0x878b('0x9')](),controller[_0x878b('0x3b')]);router[_0x878b('0x21')](_0x878b('0x19'),auth[_0x878b('0x9')](),controller[_0x878b('0x3c')]);router['post'](_0x878b('0x1a'),auth[_0x878b('0x9')](),controller[_0x878b('0x3d')]);router[_0x878b('0x21')](_0x878b('0x1f'),auth[_0x878b('0x9')](),controller[_0x878b('0x3e')]);router['put'](_0x878b('0xd'),auth[_0x878b('0x9')](),controller[_0x878b('0x3f')]);router[_0x878b('0x40')](_0x878b('0xd'),auth['isAuthenticated'](),controller[_0x878b('0x41')]);router[_0x878b('0x40')](_0x878b('0xf'),auth[_0x878b('0x9')](),controller[_0x878b('0x42')]);router[_0x878b('0x40')](_0x878b('0x11'),auth['isAuthenticated'](),controller[_0x878b('0x43')]);router['delete'](_0x878b('0x1f'),auth[_0x878b('0x9')](),controller[_0x878b('0x44')]);module[_0x878b('0x45')]=router;
\ No newline at end of file
diff --git a/server/api/client-side-logs.js b/server/api/client-side-logs.js
index 3e20624..2b5596c 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 _0x6cef=['exports','beaver-logger/server','express','../components/auth/service','../config/environment','Router','env','production','app','get','client-side-logger','expressEndpoint','/client-logs','isAuthenticated'];(function(_0x52d824,_0x59af8b){var _0x559d0e=function(_0x102d53){while(--_0x102d53){_0x52d824['push'](_0x52d824['shift']());}};_0x559d0e(++_0x59af8b);}(_0x6cef,0xa9));var _0xf6ce=function(_0x558cc3,_0x524449){_0x558cc3=_0x558cc3-0x0;var _0x30e107=_0x6cef[_0x558cc3];return _0x30e107;};var beaverLogger=require(_0xf6ce('0x0'));var express=require(_0xf6ce('0x1'));var auth=require(_0xf6ce('0x2'));var config=require(_0xf6ce('0x3'));var router=express[_0xf6ce('0x4')]();var isProduction=config[_0xf6ce('0x5')]===_0xf6ce('0x6')||![];function clientSideLogs(_0x43f6ff,_0xbf441d,_0x4b1f68){var _0x51f49e=_0x43f6ff[_0xf6ce('0x7')][_0xf6ce('0x8')](_0xf6ce('0x9'));if(!_0x51f49e){throw new Error('Client-Side\x20logger\x20not\x20found!');}return beaverLogger[_0xf6ce('0xa')]({'uri':_0xf6ce('0xb'),'logger':_0x51f49e,'enableCors':!isProduction})(_0x43f6ff,_0xbf441d,_0x4b1f68);}router['use'](auth[_0xf6ce('0xc')](),clientSideLogs);module[_0xf6ce('0xd')]=router;
\ No newline at end of file
+var _0x17f6=['/client-logs','use','isAuthenticated','exports','express','../config/environment','Router','env','production','app','get','expressEndpoint'];(function(_0x359bbe,_0x5b7fcc){var _0x1b3353=function(_0x34b41c){while(--_0x34b41c){_0x359bbe['push'](_0x359bbe['shift']());}};_0x1b3353(++_0x5b7fcc);}(_0x17f6,0x1b4));var _0x617f=function(_0xc87668,_0x3b7997){_0xc87668=_0xc87668-0x0;var _0x184b40=_0x17f6[_0xc87668];return _0x184b40;};var beaverLogger=require('beaver-logger/server');var express=require(_0x617f('0x0'));var auth=require('../components/auth/service');var config=require(_0x617f('0x1'));var router=express[_0x617f('0x2')]();var isProduction=config[_0x617f('0x3')]===_0x617f('0x4')||![];function clientSideLogs(_0x1e976d,_0x4e6a53,_0x1182e4){var _0x298c0f=_0x1e976d[_0x617f('0x5')][_0x617f('0x6')]('client-side-logger');if(!_0x298c0f){throw new Error('Client-Side\x20logger\x20not\x20found!');}return beaverLogger[_0x617f('0x7')]({'uri':_0x617f('0x8'),'logger':_0x298c0f,'enableCors':!isProduction})(_0x1e976d,_0x4e6a53,_0x1182e4);}router[_0x617f('0x9')](auth[_0x617f('0xa')](),clientSideLogs);module[_0x617f('0xb')]=router;
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.attributes.js b/server/api/cloudProvider/cloudProvider.attributes.js
index 2d3c686..1ba43f6 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 _0x641d=['sequelize','exports','ENUM','AmazonAWS','MicrosoftAzure','Outlook365','STRING','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'];(function(_0x32c8c2,_0x5e0ab0){var _0x16ed42=function(_0x4646b0){while(--_0x4646b0){_0x32c8c2['push'](_0x32c8c2['shift']());}};_0x16ed42(++_0x5e0ab0);}(_0x641d,0x69));var _0xd641=function(_0x215d67,_0x30e253){_0x215d67=_0x215d67-0x0;var _0x5af104=_0x641d[_0x215d67];return _0x5af104;};'use strict';var Sequelize=require(_0xd641('0x0'));module[_0xd641('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0xd641('0x2')](_0xd641('0x3'),'Google',_0xd641('0x4')),'allowNull':![],'validate':{'notEmpty':!![]}},'type':{'type':Sequelize[_0xd641('0x2')](_0xd641('0x5'),'Dynamics365')},'data1':{'type':Sequelize[_0xd641('0x6')],'comment':_0xd641('0x7')},'data2':{'type':Sequelize['STRING'],'comment':_0xd641('0x8')},'data3':{'type':Sequelize['STRING'],'comment':_0xd641('0x9')},'data4':{'type':Sequelize[_0xd641('0x6')],'comment':_0xd641('0xa')},'data5':{'type':Sequelize[_0xd641('0xb')],'comment':_0xd641('0xc')},'data6':{'type':Sequelize[_0xd641('0xb')],'comment':_0xd641('0xd')},'data7':{'type':Sequelize[_0xd641('0xb')],'comment':_0xd641('0xe')}};
\ No newline at end of file
+var _0x1efe=['MicrosoftAzure\x20=>\x20access_token','MicrosoftAzure\x20=>\x20refresh_token','MicrosoftAzure\x20=>\x20Dynamics365\x20=>\x20remote_uri','sequelize','STRING','ENUM','AmazonAWS','MicrosoftAzure','MicrosoftAzure\x20=>\x20client_id','MicrosoftAzure\x20=>\x20tenant','MicrosoftAzure\x20=>\x20client_secret','MicrosoftAzure\x20=>\x20redirect_uri','TEXT'];(function(_0x12d3e1,_0x420e28){var _0x563eef=function(_0x244712){while(--_0x244712){_0x12d3e1['push'](_0x12d3e1['shift']());}};_0x563eef(++_0x420e28);}(_0x1efe,0x85));var _0xe1ef=function(_0x58dc25,_0x49b9d5){_0x58dc25=_0x58dc25-0x0;var _0x21b0a7=_0x1efe[_0x58dc25];return _0x21b0a7;};'use strict';var Sequelize=require(_0xe1ef('0x0'));module['exports']={'name':{'type':Sequelize[_0xe1ef('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0xe1ef('0x2')](_0xe1ef('0x3'),'Google',_0xe1ef('0x4')),'allowNull':![],'validate':{'notEmpty':!![]}},'type':{'type':Sequelize[_0xe1ef('0x2')]('Outlook365','Dynamics365')},'data1':{'type':Sequelize[_0xe1ef('0x1')],'comment':_0xe1ef('0x5')},'data2':{'type':Sequelize[_0xe1ef('0x1')],'comment':_0xe1ef('0x6')},'data3':{'type':Sequelize[_0xe1ef('0x1')],'comment':_0xe1ef('0x7')},'data4':{'type':Sequelize[_0xe1ef('0x1')],'comment':_0xe1ef('0x8')},'data5':{'type':Sequelize[_0xe1ef('0x9')],'comment':_0xe1ef('0xa')},'data6':{'type':Sequelize['TEXT'],'comment':_0xe1ef('0xb')},'data7':{'type':Sequelize[_0xe1ef('0x9')],'comment':_0xe1ef('0xc')}};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.controller.js b/server/api/cloudProvider/cloudProvider.controller.js
index 25e5602..123ff6c 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 _0x6f57=['get','state','Invalid\x20state\x20parameter','parse','from','base64','toString','ascii','isValidIdToken','oauth2Claims','Unable\x20to\x20validate\x20id_token','del','getOauth2MicrosoftAccessToken','code','data5','access_token','data6','refresh_token','startRefreshInterval','emit','microsoftAuthorization:error','Invalid\x20authentication\x20state\x20parameter','message','Authentication\x20failed\x20for\x20cloud\x20provider\x20#%s,\x20err:%s','stringify','lodash','../../components/encryptor','api','../../mysqldb','redis','defaults','localhost','sendStatus','end','status','offset','undefined','count','limit','set','Content-Range','json','update','then','error','stack','name','send','padEnd','slice','index','map','fieldName','key','query','filters','intersection','attributes','model','fields','length','hasOwnProperty','order','sort','where','pick','merge','filter','options','CloudProvider','includeAll','include','findAll','rows','service','decryptString','data3','catch','params','keys','rawAttributes','find','create','Name\x20parameter\x20not\x20specified','body','Service\x20parameter\x20not\x20specified','includes','MicrosoftAzure','encryptString','destroy','oauth2MicrosoftAuthorize','findOne','generateMicrosoftAuthorizationUrl','user','oauth2MicrosoftCallback'];(function(_0x474bc0,_0x26989c){var _0x4b24cf=function(_0x4be866){while(--_0x4be866){_0x474bc0['push'](_0x474bc0['shift']());}};_0x4b24cf(++_0x26989c);}(_0x6f57,0xd7));var _0x76f5=function(_0x5e714e,_0x5135e2){_0x5e714e=_0x5e714e-0x0;var _0x364f9b=_0x6f57[_0x5e714e];return _0x364f9b;};'use strict';var _=require(_0x76f5('0x0'));var Redis=require('ioredis');var qs=require('../../components/parsers/qs');var encryptor=require(_0x76f5('0x1'));var config=require('../../config/environment');var logger=require('../../config/logger')(_0x76f5('0x2'));var db=require(_0x76f5('0x3'))['db'];var oauth=require('./cloudProvider.oauth');config[_0x76f5('0x4')]=_[_0x76f5('0x5')](config['redis'],{'host':_0x76f5('0x6'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x76f5('0x4')]));var redis=new Redis(config[_0x76f5('0x4')]);function respondWithStatusCode(_0x4542fe,_0x480cdf){_0x480cdf=_0x480cdf||0xcc;return function(_0x3d5302){if(_0x3d5302){return _0x4542fe[_0x76f5('0x7')](_0x480cdf);}return _0x4542fe['status'](_0x480cdf)[_0x76f5('0x8')]();};}function respondWithResult(_0x2e104c,_0x37b510){_0x37b510=_0x37b510||0xc8;return function(_0x1846ae){if(_0x1846ae){return _0x2e104c[_0x76f5('0x9')](_0x37b510)['json'](_0x1846ae);}};}function respondWithFilteredResult(_0x49ce99,_0x269840){return function(_0xc9c357){if(_0xc9c357){var _0xe9477c=typeof _0x269840[_0x76f5('0xa')]===_0x76f5('0xb')&&typeof _0x269840['limit']===_0x76f5('0xb');var _0x34a8d6=_0xc9c357[_0x76f5('0xc')];var _0x59a7fa=_0xe9477c?0x0:_0x269840['offset'];var _0x40bd85=_0xe9477c?_0xc9c357[_0x76f5('0xc')]:_0x269840[_0x76f5('0xa')]+_0x269840[_0x76f5('0xd')];var _0x3c2435;if(_0x40bd85>=_0x34a8d6){_0x40bd85=_0x34a8d6;_0x3c2435=0xc8;}else{_0x3c2435=0xce;}_0x49ce99[_0x76f5('0x9')](_0x3c2435);return _0x49ce99[_0x76f5('0xe')](_0x76f5('0xf'),_0x59a7fa+'-'+_0x40bd85+'/'+_0x34a8d6)[_0x76f5('0x10')](_0xc9c357);}return null;};}function saveUpdates(_0x54c186){return function(_0x136cd4){if(_0x136cd4){return _0x136cd4[_0x76f5('0x11')](_0x54c186)[_0x76f5('0x12')](function(_0x5e19e9){return _0x5e19e9;});}return null;};}function removeEntity(_0x11339d){return function(_0x2b963c){if(_0x2b963c){return _0x2b963c['destroy']()[_0x76f5('0x12')](function(){_0x11339d[_0x76f5('0x9')](0xcc)['end']();});}};}function handleEntityNotFound(_0x36d81c){return function(_0x5085c9){if(!_0x5085c9){_0x36d81c['sendStatus'](0x194);}return _0x5085c9;};}function handleError(_0x4d8e2c,_0x304a65){_0x304a65=_0x304a65||0x1f4;return function(_0x3098ca){logger[_0x76f5('0x13')](_0x3098ca[_0x76f5('0x14')]);if(_0x3098ca[_0x76f5('0x15')]){delete _0x3098ca['name'];}_0x4d8e2c[_0x76f5('0x9')](_0x304a65)[_0x76f5('0x16')](_0x3098ca);};}function maskClientSecret(_0x12d96f){return _[_0x76f5('0x17')](_0x12d96f[_0x76f5('0x18')](0x0,0x3),0x14,'*');}exports[_0x76f5('0x19')]=function(_0x5da21f,_0x8542d8){var _0x55e2ef={},_0xb0fb04={},_0x52ca49={'count':0x0,'rows':[]};var _0x3e5ba9=_[_0x76f5('0x1a')](db['CloudProvider']['rawAttributes'],function(_0x169f24){return{'name':_0x169f24[_0x76f5('0x1b')],'type':_0x169f24['type'][_0x76f5('0x1c')]};});_0xb0fb04['model']=_[_0x76f5('0x1a')](_0x3e5ba9,_0x76f5('0x15'));_0xb0fb04[_0x76f5('0x1d')]=_['keys'](_0x5da21f[_0x76f5('0x1d')]);_0xb0fb04[_0x76f5('0x1e')]=_[_0x76f5('0x1f')](_0xb0fb04['model'],_0xb0fb04[_0x76f5('0x1d')]);_0x55e2ef[_0x76f5('0x20')]=_[_0x76f5('0x1f')](_0xb0fb04[_0x76f5('0x21')],qs[_0x76f5('0x22')](_0x5da21f[_0x76f5('0x1d')][_0x76f5('0x22')]));_0x55e2ef[_0x76f5('0x20')]=_0x55e2ef[_0x76f5('0x20')][_0x76f5('0x23')]?_0x55e2ef[_0x76f5('0x20')]:_0xb0fb04[_0x76f5('0x21')];if(!_0x5da21f[_0x76f5('0x1d')][_0x76f5('0x24')]('nolimit')){_0x55e2ef[_0x76f5('0xd')]=qs['limit'](_0x5da21f[_0x76f5('0x1d')][_0x76f5('0xd')]);_0x55e2ef[_0x76f5('0xa')]=qs['offset'](_0x5da21f['query'][_0x76f5('0xa')]);}_0x55e2ef[_0x76f5('0x25')]=qs[_0x76f5('0x26')](_0x5da21f[_0x76f5('0x1d')][_0x76f5('0x26')]);_0x55e2ef[_0x76f5('0x27')]=qs[_0x76f5('0x1e')](_[_0x76f5('0x28')](_0x5da21f['query'],_0xb0fb04[_0x76f5('0x1e')]),_0x3e5ba9);if(_0x5da21f[_0x76f5('0x1d')]['filter']){_0x55e2ef[_0x76f5('0x27')]=_[_0x76f5('0x29')](_0x55e2ef[_0x76f5('0x27')],{'$or':_[_0x76f5('0x1a')](_0x3e5ba9,function(_0x3a1077){if(_0x3a1077['type']!=='VIRTUAL'){var _0x34a474={};_0x34a474[_0x3a1077[_0x76f5('0x15')]]={'$like':'%'+_0x5da21f[_0x76f5('0x1d')][_0x76f5('0x2a')]+'%'};return _0x34a474;}})});}_0x55e2ef=_[_0x76f5('0x29')]({},_0x55e2ef,_0x5da21f[_0x76f5('0x2b')]);var _0x32bd27={'where':_0x55e2ef[_0x76f5('0x27')]};return db[_0x76f5('0x2c')][_0x76f5('0xc')](_0x32bd27)[_0x76f5('0x12')](function(_0x12af44){_0x52ca49[_0x76f5('0xc')]=_0x12af44;if(_0x5da21f[_0x76f5('0x1d')][_0x76f5('0x2d')]){_0x55e2ef[_0x76f5('0x2e')]=[{'all':!![]}];}return db[_0x76f5('0x2c')][_0x76f5('0x2f')](_0x55e2ef);})[_0x76f5('0x12')](function(_0x4feb0b){_0x52ca49[_0x76f5('0x30')]=_[_0x76f5('0x1a')](_0x4feb0b,function(_0x2bdcd9){if(_0x2bdcd9[_0x76f5('0x31')]==='MicrosoftAzure'){var _0x57e694=encryptor[_0x76f5('0x32')](_0x2bdcd9['data3']);_0x2bdcd9[_0x76f5('0x33')]=maskClientSecret(_0x57e694);}return _0x2bdcd9;});return _0x52ca49;})[_0x76f5('0x12')](respondWithFilteredResult(_0x8542d8,_0x55e2ef))[_0x76f5('0x34')](handleError(_0x8542d8,null));};exports['show']=function(_0x30bf30,_0x54fe91){var _0x25732e={'raw':!![],'where':{'id':_0x30bf30[_0x76f5('0x35')]['id']}},_0x5e3c9f={};_0x5e3c9f[_0x76f5('0x21')]=_[_0x76f5('0x36')](db[_0x76f5('0x2c')][_0x76f5('0x37')]);_0x5e3c9f['query']=_['keys'](_0x30bf30['query']);_0x5e3c9f[_0x76f5('0x1e')]=_[_0x76f5('0x1f')](_0x5e3c9f[_0x76f5('0x21')],_0x5e3c9f[_0x76f5('0x1d')]);_0x25732e['attributes']=_['intersection'](_0x5e3c9f['model'],qs[_0x76f5('0x22')](_0x30bf30[_0x76f5('0x1d')][_0x76f5('0x22')]));_0x25732e[_0x76f5('0x20')]=_0x25732e[_0x76f5('0x20')]['length']?_0x25732e[_0x76f5('0x20')]:_0x5e3c9f[_0x76f5('0x21')];if(_0x30bf30[_0x76f5('0x1d')][_0x76f5('0x2d')]){_0x25732e[_0x76f5('0x2e')]=[{'all':!![]}];}_0x25732e=_[_0x76f5('0x29')]({},_0x25732e,_0x30bf30[_0x76f5('0x2b')]);return db[_0x76f5('0x2c')][_0x76f5('0x38')](_0x25732e)[_0x76f5('0x12')](handleEntityNotFound(_0x54fe91,null))[_0x76f5('0x12')](function(_0x1f926e){if(_0x1f926e['service']==='MicrosoftAzure'){var _0x10138a=encryptor['decryptString'](_0x1f926e[_0x76f5('0x33')]);_0x1f926e['data3']=maskClientSecret(_0x10138a);}return _0x1f926e;})[_0x76f5('0x12')](respondWithResult(_0x54fe91,null))[_0x76f5('0x34')](handleError(_0x54fe91,null));};exports[_0x76f5('0x39')]=function(_0x1f3551,_0x35c5a4){if(!_0x1f3551['body']['name'])throw new Error(_0x76f5('0x3a'));if(!_0x1f3551[_0x76f5('0x3b')]['service'])throw new Error(_0x76f5('0x3c'));var _0x3e83b8=db[_0x76f5('0x2c')][_0x76f5('0x37')]['service']['values'];if(!_0x3e83b8[_0x76f5('0x3d')](_0x1f3551[_0x76f5('0x3b')][_0x76f5('0x31')]))throw new Error('Invalid\x20service\x20parameter.\x20Allowed\x20values:\x20'+_0x3e83b8['join'](',\x20'));if(_0x1f3551[_0x76f5('0x3b')][_0x76f5('0x31')]===_0x76f5('0x3e')&&_0x1f3551[_0x76f5('0x3b')][_0x76f5('0x33')]){_0x1f3551[_0x76f5('0x3b')][_0x76f5('0x33')]=encryptor[_0x76f5('0x3f')](_0x1f3551['body'][_0x76f5('0x33')]);}return db[_0x76f5('0x2c')][_0x76f5('0x39')](_0x1f3551[_0x76f5('0x3b')],{})[_0x76f5('0x12')](respondWithResult(_0x35c5a4,0xc9))[_0x76f5('0x34')](handleError(_0x35c5a4,null));};exports[_0x76f5('0x11')]=function(_0x932953,_0x1ce90f){if(_0x932953[_0x76f5('0x3b')]['id']){delete _0x932953[_0x76f5('0x3b')]['id'];}return db[_0x76f5('0x2c')][_0x76f5('0x38')]({'where':{'id':_0x932953['params']['id']}})[_0x76f5('0x12')](handleEntityNotFound(_0x1ce90f,null))['then'](function(_0x5f1824){if(_0x5f1824[_0x76f5('0x31')]===_0x76f5('0x3e')&&_0x932953[_0x76f5('0x3b')][_0x76f5('0x33')]){_0x932953[_0x76f5('0x3b')][_0x76f5('0x33')]=encryptor[_0x76f5('0x3f')](_0x932953[_0x76f5('0x3b')][_0x76f5('0x33')]);}return _0x5f1824;})[_0x76f5('0x12')](saveUpdates(_0x932953['body'],null))[_0x76f5('0x12')](respondWithResult(_0x1ce90f,null))[_0x76f5('0x34')](handleError(_0x1ce90f,null));};exports[_0x76f5('0x40')]=function(_0x2d6eaf,_0xef7635){return db[_0x76f5('0x2c')][_0x76f5('0x38')]({'where':{'id':_0x2d6eaf[_0x76f5('0x35')]['id']}})[_0x76f5('0x12')](handleEntityNotFound(_0xef7635,null))[_0x76f5('0x12')](removeEntity(_0xef7635,null))[_0x76f5('0x34')](handleError(_0xef7635,null));};exports[_0x76f5('0x41')]=function(_0x55685c,_0x1d10ee){return db[_0x76f5('0x2c')][_0x76f5('0x42')]({'where':{'id':_0x55685c[_0x76f5('0x35')]['id']},'raw':!![]})[_0x76f5('0x12')](function(_0x59d292){if(!_0x59d292)return _0x1d10ee[_0x76f5('0x7')](0x194);return{'url':oauth[_0x76f5('0x43')](_0x59d292,_0x55685c[_0x76f5('0x44')]['id'])};})['then'](respondWithResult(_0x1d10ee,null))[_0x76f5('0x34')](handleError(_0x1d10ee,null));};exports[_0x76f5('0x45')]=function(_0x51e3a1,_0x25f6ac){var _0x11fc43=_0x51e3a1[_0x76f5('0x3b')];var _0x4a246a;var _0x451556;if(_0x11fc43['error'])throw _0x11fc43;redis[_0x76f5('0x46')](_0x11fc43[_0x76f5('0x47')])['then'](function(_0x582e27){if(!_0x582e27)throw new Error(_0x76f5('0x48'));_0x4a246a=JSON[_0x76f5('0x49')](_0x582e27);var _0x5c2c33=Buffer[_0x76f5('0x4a')](_0x11fc43['state'],_0x76f5('0x4b'))[_0x76f5('0x4c')](_0x76f5('0x4d'));_0x451556=JSON[_0x76f5('0x49')](_0x5c2c33);if(!oauth[_0x76f5('0x4e')](_0x11fc43['id_token'],_0x4a246a[_0x76f5('0x4f')]))throw new Error(_0x76f5('0x50'));redis[_0x76f5('0x51')](_0x11fc43[_0x76f5('0x47')]);return oauth[_0x76f5('0x52')](_0x11fc43[_0x76f5('0x53')],_0x4a246a);})[_0x76f5('0x12')](function(_0x29532f){_0x4a246a[_0x76f5('0x54')]=_0x29532f[_0x76f5('0x55')];_0x4a246a[_0x76f5('0x56')]=_0x29532f[_0x76f5('0x57')];return db['CloudProvider'][_0x76f5('0x11')]({'data5':_0x4a246a[_0x76f5('0x54')],'data6':_0x4a246a[_0x76f5('0x56')]},{'where':{'id':_0x4a246a['id']}});})[_0x76f5('0x12')](function(){oauth[_0x76f5('0x58')](_0x4a246a);socket[_0x76f5('0x59')]('microsoftAuthorization:success',{'id':_0x451556['id']});return;})['then'](respondWithStatusCode(_0x25f6ac,null))[_0x76f5('0x34')](function(_0x493f39){if(_0x451556){socket['emit'](_0x76f5('0x5a'),{'id':_0x451556['id']});}if(!_0x4a246a){logger[_0x76f5('0x13')](_0x76f5('0x5b'),_0x493f39);return _0x25f6ac[_0x76f5('0x9')](0x1f4)[_0x76f5('0x16')](_0x493f39[_0x76f5('0x5c')]);}logger['error'](_0x76f5('0x5d'),_0x4a246a['id'],JSON[_0x76f5('0x5e')](_0x493f39));});};
\ No newline at end of file
+var _0xd061=['find','encryptString','destroy','oauth2MicrosoftAuthorize','params','oauth2MicrosoftCallback','get','state','Invalid\x20state\x20parameter','parse','from','base64','toString','ascii','isValidIdToken','oauth2Claims','Unable\x20to\x20validate\x20id_token','getOauth2MicrosoftAccessToken','data5','data6','microsoftAuthorization:success','Invalid\x20authentication\x20state\x20parameter','message','Authentication\x20failed\x20for\x20cloud\x20provider\x20#%s,\x20err:%s','lodash','ioredis','../../components/parsers/qs','../../components/encryptor','../../config/environment','../../config/logger','api','../../mysqldb','./cloudProvider.oauth','defaults','redis','localhost','socket.io-emitter','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','update','then','error','stack','name','send','padEnd','slice','index','map','rawAttributes','type','key','model','keys','query','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','filters','pick','filter','where','merge','options','CloudProvider','includeAll','include','rows','service','MicrosoftAzure','decryptString','data3','catch','show','create','body','Service\x20parameter\x20not\x20specified','values','includes','Invalid\x20service\x20parameter.\x20Allowed\x20values:\x20','join'];(function(_0x540515,_0x79f60b){var _0x535111=function(_0x3b79cd){while(--_0x3b79cd){_0x540515['push'](_0x540515['shift']());}};_0x535111(++_0x79f60b);}(_0xd061,0x190));var _0x1d06=function(_0x3963bd,_0x375a34){_0x3963bd=_0x3963bd-0x0;var _0x47f794=_0xd061[_0x3963bd];return _0x47f794;};'use strict';var _=require(_0x1d06('0x0'));var Redis=require(_0x1d06('0x1'));var qs=require(_0x1d06('0x2'));var encryptor=require(_0x1d06('0x3'));var config=require(_0x1d06('0x4'));var logger=require(_0x1d06('0x5'))(_0x1d06('0x6'));var db=require(_0x1d06('0x7'))['db'];var oauth=require(_0x1d06('0x8'));config['redis']=_[_0x1d06('0x9')](config[_0x1d06('0xa')],{'host':_0x1d06('0xb'),'port':0x18eb});var socket=require(_0x1d06('0xc'))(new Redis(config['redis']));var redis=new Redis(config['redis']);function respondWithStatusCode(_0x4151f3,_0x3c57e3){_0x3c57e3=_0x3c57e3||0xcc;return function(_0x4eaaaa){if(_0x4eaaaa){return _0x4151f3[_0x1d06('0xd')](_0x3c57e3);}return _0x4151f3[_0x1d06('0xe')](_0x3c57e3)[_0x1d06('0xf')]();};}function respondWithResult(_0x3c13e6,_0x48836d){_0x48836d=_0x48836d||0xc8;return function(_0x41e97b){if(_0x41e97b){return _0x3c13e6[_0x1d06('0xe')](_0x48836d)[_0x1d06('0x10')](_0x41e97b);}};}function respondWithFilteredResult(_0x393e68,_0x4c963e){return function(_0x4f4eab){if(_0x4f4eab){var _0x5e04fd=typeof _0x4c963e[_0x1d06('0x11')]===_0x1d06('0x12')&&typeof _0x4c963e[_0x1d06('0x13')]==='undefined';var _0x47dc44=_0x4f4eab[_0x1d06('0x14')];var _0x2d208a=_0x5e04fd?0x0:_0x4c963e['offset'];var _0x56ba12=_0x5e04fd?_0x4f4eab[_0x1d06('0x14')]:_0x4c963e[_0x1d06('0x11')]+_0x4c963e[_0x1d06('0x13')];var _0x377db6;if(_0x56ba12>=_0x47dc44){_0x56ba12=_0x47dc44;_0x377db6=0xc8;}else{_0x377db6=0xce;}_0x393e68['status'](_0x377db6);return _0x393e68[_0x1d06('0x15')](_0x1d06('0x16'),_0x2d208a+'-'+_0x56ba12+'/'+_0x47dc44)[_0x1d06('0x10')](_0x4f4eab);}return null;};}function saveUpdates(_0x41925c){return function(_0x33b9a5){if(_0x33b9a5){return _0x33b9a5[_0x1d06('0x17')](_0x41925c)[_0x1d06('0x18')](function(_0x183825){return _0x183825;});}return null;};}function removeEntity(_0x3548fc){return function(_0x444fd2){if(_0x444fd2){return _0x444fd2['destroy']()[_0x1d06('0x18')](function(){_0x3548fc[_0x1d06('0xe')](0xcc)[_0x1d06('0xf')]();});}};}function handleEntityNotFound(_0x44c016){return function(_0x15881c){if(!_0x15881c){_0x44c016[_0x1d06('0xd')](0x194);}return _0x15881c;};}function handleError(_0x581e6f,_0x313fd9){_0x313fd9=_0x313fd9||0x1f4;return function(_0x2b1e80){logger[_0x1d06('0x19')](_0x2b1e80[_0x1d06('0x1a')]);if(_0x2b1e80['name']){delete _0x2b1e80[_0x1d06('0x1b')];}_0x581e6f[_0x1d06('0xe')](_0x313fd9)[_0x1d06('0x1c')](_0x2b1e80);};}function maskClientSecret(_0x29752f){return _[_0x1d06('0x1d')](_0x29752f[_0x1d06('0x1e')](0x0,0x3),0x14,'*');}exports[_0x1d06('0x1f')]=function(_0x529a52,_0x498cef){var _0x173404={},_0x506a08={},_0x2075a9={'count':0x0,'rows':[]};var _0x4201b4=_[_0x1d06('0x20')](db['CloudProvider'][_0x1d06('0x21')],function(_0x380b2d){return{'name':_0x380b2d['fieldName'],'type':_0x380b2d[_0x1d06('0x22')][_0x1d06('0x23')]};});_0x506a08[_0x1d06('0x24')]=_[_0x1d06('0x20')](_0x4201b4,_0x1d06('0x1b'));_0x506a08['query']=_[_0x1d06('0x25')](_0x529a52[_0x1d06('0x26')]);_0x506a08['filters']=_[_0x1d06('0x27')](_0x506a08[_0x1d06('0x24')],_0x506a08[_0x1d06('0x26')]);_0x173404['attributes']=_[_0x1d06('0x27')](_0x506a08['model'],qs['fields'](_0x529a52['query'][_0x1d06('0x28')]));_0x173404[_0x1d06('0x29')]=_0x173404[_0x1d06('0x29')][_0x1d06('0x2a')]?_0x173404[_0x1d06('0x29')]:_0x506a08['model'];if(!_0x529a52[_0x1d06('0x26')][_0x1d06('0x2b')](_0x1d06('0x2c'))){_0x173404[_0x1d06('0x13')]=qs['limit'](_0x529a52[_0x1d06('0x26')][_0x1d06('0x13')]);_0x173404[_0x1d06('0x11')]=qs[_0x1d06('0x11')](_0x529a52[_0x1d06('0x26')][_0x1d06('0x11')]);}_0x173404[_0x1d06('0x2d')]=qs[_0x1d06('0x2e')](_0x529a52[_0x1d06('0x26')][_0x1d06('0x2e')]);_0x173404['where']=qs[_0x1d06('0x2f')](_[_0x1d06('0x30')](_0x529a52[_0x1d06('0x26')],_0x506a08[_0x1d06('0x2f')]),_0x4201b4);if(_0x529a52[_0x1d06('0x26')][_0x1d06('0x31')]){_0x173404[_0x1d06('0x32')]=_[_0x1d06('0x33')](_0x173404[_0x1d06('0x32')],{'$or':_[_0x1d06('0x20')](_0x4201b4,function(_0x559c94){if(_0x559c94[_0x1d06('0x22')]!=='VIRTUAL'){var _0x4be424={};_0x4be424[_0x559c94['name']]={'$like':'%'+_0x529a52[_0x1d06('0x26')][_0x1d06('0x31')]+'%'};return _0x4be424;}})});}_0x173404=_[_0x1d06('0x33')]({},_0x173404,_0x529a52[_0x1d06('0x34')]);var _0x8701c7={'where':_0x173404[_0x1d06('0x32')]};return db[_0x1d06('0x35')]['count'](_0x8701c7)[_0x1d06('0x18')](function(_0x439f4e){_0x2075a9[_0x1d06('0x14')]=_0x439f4e;if(_0x529a52[_0x1d06('0x26')][_0x1d06('0x36')]){_0x173404[_0x1d06('0x37')]=[{'all':!![]}];}return db[_0x1d06('0x35')]['findAll'](_0x173404);})[_0x1d06('0x18')](function(_0x5ed547){_0x2075a9[_0x1d06('0x38')]=_[_0x1d06('0x20')](_0x5ed547,function(_0x41dcd4){if(_0x41dcd4[_0x1d06('0x39')]===_0x1d06('0x3a')){var _0x176886=encryptor[_0x1d06('0x3b')](_0x41dcd4[_0x1d06('0x3c')]);_0x41dcd4[_0x1d06('0x3c')]=maskClientSecret(_0x176886);}return _0x41dcd4;});return _0x2075a9;})['then'](respondWithFilteredResult(_0x498cef,_0x173404))[_0x1d06('0x3d')](handleError(_0x498cef,null));};exports[_0x1d06('0x3e')]=function(_0x1ee11f,_0x437450){var _0x1b141f={'raw':!![],'where':{'id':_0x1ee11f['params']['id']}},_0x40ea77={};_0x40ea77[_0x1d06('0x24')]=_[_0x1d06('0x25')](db['CloudProvider'][_0x1d06('0x21')]);_0x40ea77['query']=_['keys'](_0x1ee11f[_0x1d06('0x26')]);_0x40ea77['filters']=_['intersection'](_0x40ea77[_0x1d06('0x24')],_0x40ea77[_0x1d06('0x26')]);_0x1b141f[_0x1d06('0x29')]=_['intersection'](_0x40ea77[_0x1d06('0x24')],qs[_0x1d06('0x28')](_0x1ee11f['query']['fields']));_0x1b141f[_0x1d06('0x29')]=_0x1b141f[_0x1d06('0x29')]['length']?_0x1b141f[_0x1d06('0x29')]:_0x40ea77[_0x1d06('0x24')];if(_0x1ee11f[_0x1d06('0x26')][_0x1d06('0x36')]){_0x1b141f['include']=[{'all':!![]}];}_0x1b141f=_[_0x1d06('0x33')]({},_0x1b141f,_0x1ee11f[_0x1d06('0x34')]);return db[_0x1d06('0x35')]['find'](_0x1b141f)[_0x1d06('0x18')](handleEntityNotFound(_0x437450,null))[_0x1d06('0x18')](function(_0x1abb75){if(_0x1abb75[_0x1d06('0x39')]==='MicrosoftAzure'){var _0x385fee=encryptor[_0x1d06('0x3b')](_0x1abb75[_0x1d06('0x3c')]);_0x1abb75['data3']=maskClientSecret(_0x385fee);}return _0x1abb75;})[_0x1d06('0x18')](respondWithResult(_0x437450,null))[_0x1d06('0x3d')](handleError(_0x437450,null));};exports[_0x1d06('0x3f')]=function(_0x47c7c6,_0x111a3d){if(!_0x47c7c6[_0x1d06('0x40')][_0x1d06('0x1b')])throw new Error('Name\x20parameter\x20not\x20specified');if(!_0x47c7c6[_0x1d06('0x40')][_0x1d06('0x39')])throw new Error(_0x1d06('0x41'));var _0x3bf0ad=db['CloudProvider'][_0x1d06('0x21')][_0x1d06('0x39')][_0x1d06('0x42')];if(!_0x3bf0ad[_0x1d06('0x43')](_0x47c7c6[_0x1d06('0x40')][_0x1d06('0x39')]))throw new Error(_0x1d06('0x44')+_0x3bf0ad[_0x1d06('0x45')](',\x20'));if(_0x47c7c6[_0x1d06('0x40')][_0x1d06('0x39')]===_0x1d06('0x3a')&&_0x47c7c6['body']['data3']){_0x47c7c6['body'][_0x1d06('0x3c')]=encryptor['encryptString'](_0x47c7c6[_0x1d06('0x40')]['data3']);}return db[_0x1d06('0x35')]['create'](_0x47c7c6[_0x1d06('0x40')],{})[_0x1d06('0x18')](respondWithResult(_0x111a3d,0xc9))[_0x1d06('0x3d')](handleError(_0x111a3d,null));};exports[_0x1d06('0x17')]=function(_0x13c15d,_0x132838){if(_0x13c15d[_0x1d06('0x40')]['id']){delete _0x13c15d[_0x1d06('0x40')]['id'];}return db[_0x1d06('0x35')][_0x1d06('0x46')]({'where':{'id':_0x13c15d['params']['id']}})[_0x1d06('0x18')](handleEntityNotFound(_0x132838,null))['then'](function(_0x13440b){if(_0x13440b[_0x1d06('0x39')]==='MicrosoftAzure'&&_0x13c15d[_0x1d06('0x40')]['data3']){_0x13c15d[_0x1d06('0x40')][_0x1d06('0x3c')]=encryptor[_0x1d06('0x47')](_0x13c15d[_0x1d06('0x40')][_0x1d06('0x3c')]);}return _0x13440b;})[_0x1d06('0x18')](saveUpdates(_0x13c15d[_0x1d06('0x40')],null))['then'](respondWithResult(_0x132838,null))['catch'](handleError(_0x132838,null));};exports[_0x1d06('0x48')]=function(_0xfdef48,_0x28d10e){return db[_0x1d06('0x35')][_0x1d06('0x46')]({'where':{'id':_0xfdef48['params']['id']}})['then'](handleEntityNotFound(_0x28d10e,null))['then'](removeEntity(_0x28d10e,null))['catch'](handleError(_0x28d10e,null));};exports[_0x1d06('0x49')]=function(_0x2fc5ae,_0x40cec6){return db[_0x1d06('0x35')]['findOne']({'where':{'id':_0x2fc5ae[_0x1d06('0x4a')]['id']},'raw':!![]})['then'](function(_0x1457e7){if(!_0x1457e7)return _0x40cec6['sendStatus'](0x194);return{'url':oauth['generateMicrosoftAuthorizationUrl'](_0x1457e7,_0x2fc5ae['user']['id'])};})[_0x1d06('0x18')](respondWithResult(_0x40cec6,null))[_0x1d06('0x3d')](handleError(_0x40cec6,null));};exports[_0x1d06('0x4b')]=function(_0xbb593a,_0x2959c1){var _0x2d2e62=_0xbb593a[_0x1d06('0x40')];var _0x11c399;var _0x3c0ebd;if(_0x2d2e62[_0x1d06('0x19')])throw _0x2d2e62;redis[_0x1d06('0x4c')](_0x2d2e62[_0x1d06('0x4d')])[_0x1d06('0x18')](function(_0xf97ca8){if(!_0xf97ca8)throw new Error(_0x1d06('0x4e'));_0x11c399=JSON[_0x1d06('0x4f')](_0xf97ca8);var _0x1b8f82=Buffer[_0x1d06('0x50')](_0x2d2e62[_0x1d06('0x4d')],_0x1d06('0x51'))[_0x1d06('0x52')](_0x1d06('0x53'));_0x3c0ebd=JSON[_0x1d06('0x4f')](_0x1b8f82);if(!oauth[_0x1d06('0x54')](_0x2d2e62['id_token'],_0x11c399[_0x1d06('0x55')]))throw new Error(_0x1d06('0x56'));redis['del'](_0x2d2e62[_0x1d06('0x4d')]);return oauth[_0x1d06('0x57')](_0x2d2e62['code'],_0x11c399);})[_0x1d06('0x18')](function(_0x17b5bd){_0x11c399[_0x1d06('0x58')]=_0x17b5bd['access_token'];_0x11c399[_0x1d06('0x59')]=_0x17b5bd['refresh_token'];return db[_0x1d06('0x35')][_0x1d06('0x17')]({'data5':_0x11c399[_0x1d06('0x58')],'data6':_0x11c399[_0x1d06('0x59')]},{'where':{'id':_0x11c399['id']}});})[_0x1d06('0x18')](function(){oauth['startRefreshInterval'](_0x11c399);socket['emit'](_0x1d06('0x5a'),{'id':_0x3c0ebd['id']});return;})['then'](respondWithStatusCode(_0x2959c1,null))['catch'](function(_0xed998d){if(_0x3c0ebd){socket['emit']('microsoftAuthorization:error',{'id':_0x3c0ebd['id']});}if(!_0x11c399){logger[_0x1d06('0x19')](_0x1d06('0x5b'),_0xed998d);return _0x2959c1['status'](0x1f4)[_0x1d06('0x1c')](_0xed998d[_0x1d06('0x5c')]);}logger[_0x1d06('0x19')](_0x1d06('0x5d'),_0x11c399['id'],JSON['stringify'](_0xed998d));});};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.model.js b/server/api/cloudProvider/cloudProvider.model.js
index 063e711..a791ea8 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 _0x92ea=['bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','define','CloudProvider','cloud_providers','lodash','../../config/logger','moment'];(function(_0x5452c9,_0xc7ea83){var _0x2ca4e1=function(_0x292233){while(--_0x292233){_0x5452c9['push'](_0x5452c9['shift']());}};_0x2ca4e1(++_0xc7ea83);}(_0x92ea,0x75));var _0xa92e=function(_0x21e834,_0x29609a){_0x21e834=_0x21e834-0x0;var _0x238b7b=_0x92ea[_0x21e834];return _0x238b7b;};'use strict';var _=require(_0xa92e('0x0'));var util=require('util');var logger=require(_0xa92e('0x1'))('api');var moment=require(_0xa92e('0x2'));var BPromise=require(_0xa92e('0x3'));var rp=require(_0xa92e('0x4'));var fs=require('fs');var path=require(_0xa92e('0x5'));var rimraf=require(_0xa92e('0x6'));var config=require(_0xa92e('0x7'));var attributes=require(_0xa92e('0x8'));module['exports']=function(_0x468d33,_0x31360d){return _0x468d33[_0xa92e('0x9')](_0xa92e('0xa'),attributes,{'tableName':_0xa92e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3c4e=['rimraf','./cloudProvider.attributes','define','CloudProvider','cloud_providers','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x52ce60,_0x15acc1){var _0x3084db=function(_0x1678b6){while(--_0x1678b6){_0x52ce60['push'](_0x52ce60['shift']());}};_0x3084db(++_0x15acc1);}(_0x3c4e,0x89));var _0xe3c4=function(_0xd9f348,_0x1af746){_0xd9f348=_0xd9f348-0x0;var _0x5466e4=_0x3c4e[_0xd9f348];return _0x5466e4;};'use strict';var _=require('lodash');var util=require(_0xe3c4('0x0'));var logger=require(_0xe3c4('0x1'))('api');var moment=require(_0xe3c4('0x2'));var BPromise=require(_0xe3c4('0x3'));var rp=require(_0xe3c4('0x4'));var fs=require('fs');var path=require(_0xe3c4('0x5'));var rimraf=require(_0xe3c4('0x6'));var config=require('../../config/environment');var attributes=require(_0xe3c4('0x7'));module['exports']=function(_0x231c25,_0x5a5665){return _0x231c25[_0xe3c4('0x8')](_0xe3c4('0x9'),attributes,{'tableName':_0xe3c4('0xa'),'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 d918e6f..a1dc990 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 _0xb30f=['response_type','redirect_uri','data4','response_mode','form_post','scope','state','nonce','login','oauth2Claims','oauth2/','decode','audience','isAfter','unix','resolve','then','data3','CloudProvider','findOne','refresh_token','decryptString','POST','data2','access_token','data6','data5','catch','error','authorization_code','intervals','bind','all','inspect','[CLOUD_PROVIDER]\x20Error\x20while\x20refreshing\x20the\x20tokens\x20after\x20service\x20restart\x20error:%s','lodash','jsonwebtoken','moment','ioredis','util','../../components/encryptor','../../config/environment','../../config/logger','../../config/schedule/cloud-provider','../../mysqldb','redis','https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0','openid','profile','email','offline_access','https://outlook.office365.com/IMAP.AccessAsUser.All','https://outlook.office.com/SMTP.Send','/authorize','map','type','data7','/.default','join','Outlook365','Dynamics365','replace','{TENANT_ID}','code','id_token','stringify','toString','base64','hex','data1'];(function(_0x4718ec,_0x3b053d){var _0x1e9767=function(_0x1b22d5){while(--_0x1b22d5){_0x4718ec['push'](_0x4718ec['shift']());}};_0x1e9767(++_0x3b053d);}(_0xb30f,0xf5));var _0xfb30=function(_0x103d86,_0x26d081){_0x103d86=_0x103d86-0x0;var _0x2c811b=_0xb30f[_0x103d86];return _0x2c811b;};'use strict';var _=require(_0xfb30('0x0'));var crypto=require('crypto');var jwt=require(_0xfb30('0x1'));var moment=require(_0xfb30('0x2'));var Redis=require(_0xfb30('0x3'));var rp=require('request-promise');var util=require(_0xfb30('0x4'));var encryptor=require(_0xfb30('0x5'));var config=require(_0xfb30('0x6'));var logger=require(_0xfb30('0x7'))('api');var schedule=require(_0xfb30('0x8'));var db=require(_0xfb30('0x9'))['db'];config[_0xfb30('0xa')]=_['defaults'](config[_0xfb30('0xa')],{'host':'localhost','port':0x18eb});var redis=new Redis(config[_0xfb30('0xa')]);var MICROSOFT_AUTH_URL=_0xfb30('0xb');var AZURE_AUTH_SCOPES={'Outlook365':[_0xfb30('0xc'),_0xfb30('0xd'),_0xfb30('0xe'),_0xfb30('0xf'),_0xfb30('0x10'),'https://outlook.office.com/POP.AccessAsUser.All',_0xfb30('0x11')],'Dynamics365':[_0xfb30('0xc'),_0xfb30('0xf')]};var MICROSOFT_AUTH_ENDPOINT=_0xfb30('0x12');var MICROSOFT_TOKEN_ENDPOINT='/token';var OAUTH_REFRESH_INTERVAL=0xfa;function getAuthorizationScopes(_0x1a50ed){var _0x2e8e20=_[_0xfb30('0x13')](AZURE_AUTH_SCOPES[_0x1a50ed['type']]);if(_0x1a50ed[_0xfb30('0x14')]==='Dynamics365')_0x2e8e20['push'](_0x1a50ed[_0xfb30('0x15')]+_0xfb30('0x16'));return _0x2e8e20[_0xfb30('0x17')]('\x20');}function getAccessTokenScope(_0x1b8d3f){if(_0x1b8d3f['type']===_0xfb30('0x18'))return _0xfb30('0x10');if(_0x1b8d3f[_0xfb30('0x14')]===_0xfb30('0x19'))return _0x1b8d3f[_0xfb30('0x15')]+'/.default';}function generateMicrosoftAuthorizationUrl(_0x5bfc99,_0x47cb8d){var _0x162f75=MICROSOFT_AUTH_URL[_0xfb30('0x1a')](_0xfb30('0x1b'),_0x5bfc99['data2']);var _0x2f7a93=[_0xfb30('0x1c'),_0xfb30('0x1d')];var _0x1d4b0c=Buffer['from'](JSON[_0xfb30('0x1e')]({'id':_0x47cb8d}))[_0xfb30('0x1f')](_0xfb30('0x20'));var _0x4f0864=crypto['randomBytes'](0x10)[_0xfb30('0x1f')](_0xfb30('0x21'));var _0x43bc33=getAuthorizationScopes(_0x5bfc99);var _0x3f845c=[{'key':'client_id','value':_0x5bfc99[_0xfb30('0x22')]},{'key':_0xfb30('0x23'),'value':encodeURIComponent(_0x2f7a93['join']('\x20'))},{'key':_0xfb30('0x24'),'value':_0x5bfc99[_0xfb30('0x25')]},{'key':_0xfb30('0x26'),'value':_0xfb30('0x27')},{'key':_0xfb30('0x28'),'value':encodeURIComponent(_0x43bc33)},{'key':_0xfb30('0x29'),'value':_0x1d4b0c},{'key':_0xfb30('0x2a'),'value':_0x4f0864},{'key':'prompt','value':_0xfb30('0x2b')}];var _0x284b6a=_0x162f75+MICROSOFT_AUTH_ENDPOINT+'?'+_[_0xfb30('0x13')](_0x3f845c,function(_0x50d43f){return _0x50d43f['key']+'='+_0x50d43f['value'];})[_0xfb30('0x17')]('&');_0x5bfc99[_0xfb30('0x2c')]={'issuer':_0x162f75[_0xfb30('0x1a')](_0xfb30('0x2d'),''),'audience':_0x5bfc99['data1'],'state':_0x1d4b0c,'nonce':_0x4f0864};redis['set'](_0x1d4b0c,JSON['stringify'](_0x5bfc99));return _0x284b6a;}function isValidIdToken(_0x1cde45,_0xdaa7ec){try{var _0x120315=jwt[_0xfb30('0x2e')](_0x1cde45,{'complete':!![]});var _0x25d6f3=_0x120315['payload'];if(_0x25d6f3['iss']!==_0xdaa7ec['issuer'])return![];if(_0x25d6f3['aud']!==_0xdaa7ec[_0xfb30('0x2f')])return![];if(_0x25d6f3[_0xfb30('0x2a')]!==_0xdaa7ec[_0xfb30('0x2a')])return![];if(moment()[_0xfb30('0x30')](moment[_0xfb30('0x31')](_0x25d6f3['exp'])))return![];return!![];}catch(_0x3fc823){throw _0x3fc823;}}function refreshOauth2MicrosoftAccessToken(_0x427526){return Promise[_0xfb30('0x32')]()[_0xfb30('0x33')](function(){if(_0x427526[_0xfb30('0x34')])return _0x427526;return db[_0xfb30('0x35')][_0xfb30('0x36')]({'where':{'id':_0x427526['id']},'raw':!![]});})[_0xfb30('0x33')](function(_0x41ff9a){var _0x9fe891={'grant_type':_0xfb30('0x37'),'refresh_token':_0x41ff9a['data6'],'scope':getAccessTokenScope(_0x41ff9a),'redirect_uri':_0x41ff9a[_0xfb30('0x25')],'client_id':_0x41ff9a['data1'],'client_secret':encryptor[_0xfb30('0x38')](_0x41ff9a[_0xfb30('0x34')])};var _0x5e347e={'method':_0xfb30('0x39'),'uri':MICROSOFT_AUTH_URL[_0xfb30('0x1a')](_0xfb30('0x1b'),_0x41ff9a[_0xfb30('0x3a')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x9fe891,'json':!![]};return rp(_0x5e347e);})[_0xfb30('0x33')](function(_0x318300){_0x427526['data5']=_0x318300[_0xfb30('0x3b')];_0x427526[_0xfb30('0x3c')]=_0x318300['refresh_token'];return db[_0xfb30('0x35')]['update']({'data5':_0x427526[_0xfb30('0x3d')],'data6':_0x427526[_0xfb30('0x3c')]},{'where':{'id':_0x427526['id']}});})[_0xfb30('0x33')](function(){return _0x427526;})[_0xfb30('0x3e')](function(_0x5a397c){logger[_0xfb30('0x3f')]('Failed\x20to\x20refresh\x20access\x20token\x20for\x20cloud\x20provider\x20#%s,\x20-\x20err:%s',_0x427526['id'],_0x5a397c);});}function getOauth2MicrosoftAccessToken(_0x32a820,_0x4e4cfa){var _0x3383de={'grant_type':_0xfb30('0x40'),'code':_0x32a820,'scope':getAccessTokenScope(_0x4e4cfa),'redirect_uri':_0x4e4cfa[_0xfb30('0x25')],'client_id':_0x4e4cfa[_0xfb30('0x22')],'client_secret':encryptor[_0xfb30('0x38')](_0x4e4cfa[_0xfb30('0x34')])};var _0x269c94={'method':_0xfb30('0x39'),'uri':MICROSOFT_AUTH_URL['replace']('{TENANT_ID}',_0x4e4cfa[_0xfb30('0x3a')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x3383de,'json':!![]};return rp(_0x269c94);}function startRefreshInterval(_0xd18cff){var _0x193bec=schedule[_0xfb30('0x41')];if(_0x193bec[_0xd18cff['id']])clearInterval(_0x193bec[_0xd18cff['id']]);_0x193bec[_0xd18cff['id']]=setInterval(refreshOauth2MicrosoftAccessToken[_0xfb30('0x42')](this,{'id':_0xd18cff['id']}),OAUTH_REFRESH_INTERVAL*0x3e8);schedule[_0xfb30('0x41')]=_0x193bec;}function startAllRefreshIntervals(){return db[_0xfb30('0x35')]['findAll']({'where':{'data6':{'$ne':null}},'raw':!![]})['then'](function(_0x1d9cd9){var _0x4c7463=_0x1d9cd9['map'](function(_0x397f3c){return refreshOauth2MicrosoftAccessToken(_0x397f3c)[_0xfb30('0x33')](function(_0x92da55){startRefreshInterval(_0x92da55);});});return Promise[_0xfb30('0x43')](_0x4c7463);})['catch'](function(_0x125060){var _0x10c817=_0x125060?util[_0xfb30('0x44')](_0x125060,{'showHidden':![],'depth':null}):'';logger[_0xfb30('0x3f')](_0xfb30('0x45'),_0x10c817);});}module['exports']={'generateMicrosoftAuthorizationUrl':generateMicrosoftAuthorizationUrl,'getOauth2MicrosoftAccessToken':getOauth2MicrosoftAccessToken,'isValidIdToken':isValidIdToken,'startAllRefreshIntervals':startAllRefreshIntervals,'refreshOauth2MicrosoftAccessToken':refreshOauth2MicrosoftAccessToken,'startRefreshInterval':startRefreshInterval};
\ No newline at end of file
+var _0xd044=['state','prompt','login','key','oauth2Claims','oauth2/','data1','set','decode','payload','issuer','aud','audience','nonce','isAfter','unix','resolve','data3','CloudProvider','findOne','refresh_token','data6','POST','then','update','data5','Failed\x20to\x20refresh\x20access\x20token\x20for\x20cloud\x20provider\x20#%s,\x20-\x20err:%s','authorization_code','decryptString','intervals','bind','findAll','all','catch','inspect','error','[CLOUD_PROVIDER]\x20Error\x20while\x20refreshing\x20the\x20tokens\x20after\x20service\x20restart\x20error:%s','lodash','crypto','jsonwebtoken','moment','ioredis','request-promise','util','../../config/logger','api','../../config/schedule/cloud-provider','../../mysqldb','redis','defaults','localhost','openid','profile','email','https://outlook.office365.com/IMAP.AccessAsUser.All','https://outlook.office.com/POP.AccessAsUser.All','offline_access','/token','map','type','Dynamics365','push','data7','/.default','replace','{TENANT_ID}','data2','code','id_token','stringify','toString','base64','hex','client_id','response_type','join','data4','response_mode','form_post','scope'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0xd044,0xc5));var _0x4d04=function(_0x4ceaa8,_0x452176){_0x4ceaa8=_0x4ceaa8-0x0;var _0x94bff6=_0xd044[_0x4ceaa8];return _0x94bff6;};'use strict';var _=require(_0x4d04('0x0'));var crypto=require(_0x4d04('0x1'));var jwt=require(_0x4d04('0x2'));var moment=require(_0x4d04('0x3'));var Redis=require(_0x4d04('0x4'));var rp=require(_0x4d04('0x5'));var util=require(_0x4d04('0x6'));var encryptor=require('../../components/encryptor');var config=require('../../config/environment');var logger=require(_0x4d04('0x7'))(_0x4d04('0x8'));var schedule=require(_0x4d04('0x9'));var db=require(_0x4d04('0xa'))['db'];config[_0x4d04('0xb')]=_[_0x4d04('0xc')](config['redis'],{'host':_0x4d04('0xd'),'port':0x18eb});var redis=new Redis(config['redis']);var MICROSOFT_AUTH_URL='https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0';var AZURE_AUTH_SCOPES={'Outlook365':[_0x4d04('0xe'),_0x4d04('0xf'),_0x4d04('0x10'),'offline_access',_0x4d04('0x11'),_0x4d04('0x12'),'https://outlook.office.com/SMTP.Send'],'Dynamics365':[_0x4d04('0xe'),_0x4d04('0x13')]};var MICROSOFT_AUTH_ENDPOINT='/authorize';var MICROSOFT_TOKEN_ENDPOINT=_0x4d04('0x14');var OAUTH_REFRESH_INTERVAL=0xfa;function getAuthorizationScopes(_0x211211){var _0x33a5ab=_[_0x4d04('0x15')](AZURE_AUTH_SCOPES[_0x211211[_0x4d04('0x16')]]);if(_0x211211[_0x4d04('0x16')]===_0x4d04('0x17'))_0x33a5ab[_0x4d04('0x18')](_0x211211[_0x4d04('0x19')]+_0x4d04('0x1a'));return _0x33a5ab['join']('\x20');}function getAccessTokenScope(_0x51b95e){if(_0x51b95e[_0x4d04('0x16')]==='Outlook365')return _0x4d04('0x11');if(_0x51b95e[_0x4d04('0x16')]===_0x4d04('0x17'))return _0x51b95e[_0x4d04('0x19')]+'/.default';}function generateMicrosoftAuthorizationUrl(_0x1eafe7,_0x53507f){var _0x114c63=MICROSOFT_AUTH_URL[_0x4d04('0x1b')](_0x4d04('0x1c'),_0x1eafe7[_0x4d04('0x1d')]);var _0x555a18=[_0x4d04('0x1e'),_0x4d04('0x1f')];var _0xd9cd4a=Buffer['from'](JSON[_0x4d04('0x20')]({'id':_0x53507f}))[_0x4d04('0x21')](_0x4d04('0x22'));var _0x428021=crypto['randomBytes'](0x10)[_0x4d04('0x21')](_0x4d04('0x23'));var _0xb6236d=getAuthorizationScopes(_0x1eafe7);var _0x25042c=[{'key':_0x4d04('0x24'),'value':_0x1eafe7['data1']},{'key':_0x4d04('0x25'),'value':encodeURIComponent(_0x555a18[_0x4d04('0x26')]('\x20'))},{'key':'redirect_uri','value':_0x1eafe7[_0x4d04('0x27')]},{'key':_0x4d04('0x28'),'value':_0x4d04('0x29')},{'key':_0x4d04('0x2a'),'value':encodeURIComponent(_0xb6236d)},{'key':_0x4d04('0x2b'),'value':_0xd9cd4a},{'key':'nonce','value':_0x428021},{'key':_0x4d04('0x2c'),'value':_0x4d04('0x2d')}];var _0x42a267=_0x114c63+MICROSOFT_AUTH_ENDPOINT+'?'+_[_0x4d04('0x15')](_0x25042c,function(_0x3bb4ec){return _0x3bb4ec[_0x4d04('0x2e')]+'='+_0x3bb4ec['value'];})[_0x4d04('0x26')]('&');_0x1eafe7[_0x4d04('0x2f')]={'issuer':_0x114c63[_0x4d04('0x1b')](_0x4d04('0x30'),''),'audience':_0x1eafe7[_0x4d04('0x31')],'state':_0xd9cd4a,'nonce':_0x428021};redis[_0x4d04('0x32')](_0xd9cd4a,JSON['stringify'](_0x1eafe7));return _0x42a267;}function isValidIdToken(_0xd454ed,_0x4b50ff){try{var _0x5bb51f=jwt[_0x4d04('0x33')](_0xd454ed,{'complete':!![]});var _0x49b329=_0x5bb51f[_0x4d04('0x34')];if(_0x49b329['iss']!==_0x4b50ff[_0x4d04('0x35')])return![];if(_0x49b329[_0x4d04('0x36')]!==_0x4b50ff[_0x4d04('0x37')])return![];if(_0x49b329[_0x4d04('0x38')]!==_0x4b50ff['nonce'])return![];if(moment()[_0x4d04('0x39')](moment[_0x4d04('0x3a')](_0x49b329['exp'])))return![];return!![];}catch(_0x829c67){throw _0x829c67;}}function refreshOauth2MicrosoftAccessToken(_0x8d9ce6){return Promise[_0x4d04('0x3b')]()['then'](function(){if(_0x8d9ce6[_0x4d04('0x3c')])return _0x8d9ce6;return db[_0x4d04('0x3d')][_0x4d04('0x3e')]({'where':{'id':_0x8d9ce6['id']},'raw':!![]});})['then'](function(_0x212254){var _0x59531c={'grant_type':_0x4d04('0x3f'),'refresh_token':_0x212254[_0x4d04('0x40')],'scope':getAccessTokenScope(_0x212254),'redirect_uri':_0x212254[_0x4d04('0x27')],'client_id':_0x212254[_0x4d04('0x31')],'client_secret':encryptor['decryptString'](_0x212254[_0x4d04('0x3c')])};var _0x25b341={'method':_0x4d04('0x41'),'uri':MICROSOFT_AUTH_URL[_0x4d04('0x1b')](_0x4d04('0x1c'),_0x212254[_0x4d04('0x1d')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x59531c,'json':!![]};return rp(_0x25b341);})[_0x4d04('0x42')](function(_0x316715){_0x8d9ce6['data5']=_0x316715['access_token'];_0x8d9ce6['data6']=_0x316715[_0x4d04('0x3f')];return db['CloudProvider'][_0x4d04('0x43')]({'data5':_0x8d9ce6[_0x4d04('0x44')],'data6':_0x8d9ce6[_0x4d04('0x40')]},{'where':{'id':_0x8d9ce6['id']}});})[_0x4d04('0x42')](function(){return _0x8d9ce6;})['catch'](function(_0x4ccd7e){logger['error'](_0x4d04('0x45'),_0x8d9ce6['id'],_0x4ccd7e);});}function getOauth2MicrosoftAccessToken(_0xeb867e,_0x5f2e9b){var _0x1086a9={'grant_type':_0x4d04('0x46'),'code':_0xeb867e,'scope':getAccessTokenScope(_0x5f2e9b),'redirect_uri':_0x5f2e9b[_0x4d04('0x27')],'client_id':_0x5f2e9b[_0x4d04('0x31')],'client_secret':encryptor[_0x4d04('0x47')](_0x5f2e9b[_0x4d04('0x3c')])};var _0x1cae1b={'method':'POST','uri':MICROSOFT_AUTH_URL[_0x4d04('0x1b')]('{TENANT_ID}',_0x5f2e9b[_0x4d04('0x1d')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x1086a9,'json':!![]};return rp(_0x1cae1b);}function startRefreshInterval(_0x2682cb){var _0x2c1d8f=schedule[_0x4d04('0x48')];if(_0x2c1d8f[_0x2682cb['id']])clearInterval(_0x2c1d8f[_0x2682cb['id']]);_0x2c1d8f[_0x2682cb['id']]=setInterval(refreshOauth2MicrosoftAccessToken[_0x4d04('0x49')](this,{'id':_0x2682cb['id']}),OAUTH_REFRESH_INTERVAL*0x3e8);schedule['intervals']=_0x2c1d8f;}function startAllRefreshIntervals(){return db[_0x4d04('0x3d')][_0x4d04('0x4a')]({'where':{'data6':{'$ne':null}},'raw':!![]})[_0x4d04('0x42')](function(_0x137f36){var _0x1efe7c=_0x137f36[_0x4d04('0x15')](function(_0x5d6d9d){return refreshOauth2MicrosoftAccessToken(_0x5d6d9d)['then'](function(_0x4f641d){startRefreshInterval(_0x4f641d);});});return Promise[_0x4d04('0x4b')](_0x1efe7c);})[_0x4d04('0x4c')](function(_0x30d273){var _0x57db8a=_0x30d273?util[_0x4d04('0x4d')](_0x30d273,{'showHidden':![],'depth':null}):'';logger[_0x4d04('0x4e')](_0x4d04('0x4f'),_0x57db8a);});}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 83f1737..4ffe540 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 _0x5a13=['stringify','error','code','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','then','info','CloudProvider,\x20%s,\x20%s','request\x20sent','debug','CloudProvider,\x20%s,\x20%s,\x20%s'];(function(_0x50a566,_0x345adc){var _0x205c5d=function(_0x105a0e){while(--_0x105a0e){_0x50a566['push'](_0x50a566['shift']());}};_0x205c5d(++_0x345adc);}(_0x5a13,0x92));var _0x35a1=function(_0x520911,_0x2c0c36){_0x520911=_0x520911-0x0;var _0x3fee43=_0x5a13[_0x520911];return _0x3fee43;};'use strict';var _=require('lodash');var util=require(_0x35a1('0x0'));var moment=require(_0x35a1('0x1'));var BPromise=require(_0x35a1('0x2'));var rs=require(_0x35a1('0x3'));var fs=require('fs');var Redis=require(_0x35a1('0x4'));var db=require(_0x35a1('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x35a1('0x6'))('rpc');var config=require(_0x35a1('0x7'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x4222a1,_0x3bd7c9,_0xb00a35){return new BPromise(function(_0x3ed235,_0x78d296){return client['request'](_0x4222a1,_0xb00a35)[_0x35a1('0x8')](function(_0x469d94){logger[_0x35a1('0x9')](_0x35a1('0xa'),_0x3bd7c9,_0x35a1('0xb'));logger[_0x35a1('0xc')](_0x35a1('0xd'),_0x3bd7c9,_0x35a1('0xb'),JSON[_0x35a1('0xe')](_0x469d94));if(_0x469d94['error']){if(_0x469d94[_0x35a1('0xf')][_0x35a1('0x10')]===0x1f4){logger[_0x35a1('0xf')](_0x35a1('0xa'),_0x3bd7c9,_0x469d94[_0x35a1('0xf')]['message']);return _0x78d296(_0x469d94[_0x35a1('0xf')]['message']);}logger[_0x35a1('0xf')](_0x35a1('0xa'),_0x3bd7c9,_0x469d94['error'][_0x35a1('0x11')]);return _0x3ed235(_0x469d94[_0x35a1('0xf')][_0x35a1('0x11')]);}else{logger[_0x35a1('0x9')]('CloudProvider,\x20%s,\x20%s',_0x3bd7c9,_0x35a1('0xb'));_0x3ed235(_0x469d94[_0x35a1('0x12')][_0x35a1('0x11')]);}})[_0x35a1('0x13')](function(_0x5d5166){logger[_0x35a1('0xf')](_0x35a1('0xa'),_0x3bd7c9,_0x5d5166);_0x78d296(_0x5d5166);});});}
\ No newline at end of file
+var _0xa9fc=['bluebird','randomstring','../../mysqldb','../../config/logger','rpc','http','request','then','info','request\x20sent','debug','CloudProvider,\x20%s,\x20%s,\x20%s','error','CloudProvider,\x20%s,\x20%s','message','result','lodash','util','moment'];(function(_0x5d80de,_0x2cf15d){var _0x1c7556=function(_0x5bd806){while(--_0x5bd806){_0x5d80de['push'](_0x5d80de['shift']());}};_0x1c7556(++_0x2cf15d);}(_0xa9fc,0x19f));var _0xca9f=function(_0x1b02bb,_0x3d9fde){_0x1b02bb=_0x1b02bb-0x0;var _0x131245=_0xa9fc[_0x1b02bb];return _0x131245;};'use strict';var _=require(_0xca9f('0x0'));var util=require(_0xca9f('0x1'));var moment=require(_0xca9f('0x2'));var BPromise=require(_0xca9f('0x3'));var rs=require(_0xca9f('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xca9f('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xca9f('0x6'))(_0xca9f('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0xca9f('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x48f9ca,_0x39963d,_0x61b1b6){return new BPromise(function(_0x400980,_0xf7ebb1){return client[_0xca9f('0x9')](_0x48f9ca,_0x61b1b6)[_0xca9f('0xa')](function(_0x4713f0){logger[_0xca9f('0xb')]('CloudProvider,\x20%s,\x20%s',_0x39963d,_0xca9f('0xc'));logger[_0xca9f('0xd')](_0xca9f('0xe'),_0x39963d,_0xca9f('0xc'),JSON['stringify'](_0x4713f0));if(_0x4713f0[_0xca9f('0xf')]){if(_0x4713f0[_0xca9f('0xf')]['code']===0x1f4){logger[_0xca9f('0xf')](_0xca9f('0x10'),_0x39963d,_0x4713f0[_0xca9f('0xf')][_0xca9f('0x11')]);return _0xf7ebb1(_0x4713f0[_0xca9f('0xf')][_0xca9f('0x11')]);}logger[_0xca9f('0xf')](_0xca9f('0x10'),_0x39963d,_0x4713f0[_0xca9f('0xf')][_0xca9f('0x11')]);return _0x400980(_0x4713f0['error']['message']);}else{logger[_0xca9f('0xb')]('CloudProvider,\x20%s,\x20%s',_0x39963d,'request\x20sent');_0x400980(_0x4713f0[_0xca9f('0x12')][_0xca9f('0x11')]);}})['catch'](function(_0x4afedf){logger['error'](_0xca9f('0x10'),_0x39963d,_0x4afedf);_0xf7ebb1(_0x4afedf);});});}
\ No newline at end of file
diff --git a/server/api/cloudProvider/index.js b/server/api/cloudProvider/index.js
index 4c2ecdc..5a20e19 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 _0x2ef3=['Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','/:id','show','post','put','update','delete','destroy','/:id/oauth2/microsoft/authorize/','/oauth2/microsoft/callback','oauth2MicrosoftCallback','exports','express'];(function(_0x3c6d28,_0x6de798){var _0x37a004=function(_0x3bb1f7){while(--_0x3bb1f7){_0x3c6d28['push'](_0x3c6d28['shift']());}};_0x37a004(++_0x6de798);}(_0x2ef3,0xba));var _0x32ef=function(_0x3de459,_0x3e3954){_0x3de459=_0x3de459-0x0;var _0x14a361=_0x2ef3[_0x3de459];return _0x14a361;};'use strict';var express=require(_0x32ef('0x0'));var router=express[_0x32ef('0x1')]();var auth=require(_0x32ef('0x2'));var controller=require(_0x32ef('0x3'));router[_0x32ef('0x4')]('/',auth[_0x32ef('0x5')](),controller['index']);router[_0x32ef('0x4')](_0x32ef('0x6'),auth['isAuthenticated'](),controller[_0x32ef('0x7')]);router[_0x32ef('0x8')]('/',auth['isAuthenticated'](),controller['create']);router[_0x32ef('0x9')](_0x32ef('0x6'),auth[_0x32ef('0x5')](),controller[_0x32ef('0xa')]);router[_0x32ef('0xb')](_0x32ef('0x6'),auth[_0x32ef('0x5')](),controller[_0x32ef('0xc')]);router[_0x32ef('0x4')](_0x32ef('0xd'),auth['isAuthenticated'](),controller['oauth2MicrosoftAuthorize']);router[_0x32ef('0x8')](_0x32ef('0xe'),controller[_0x32ef('0xf')]);module[_0x32ef('0x10')]=router;
\ No newline at end of file
+var _0xadb5=['put','update','delete','destroy','/:id/oauth2/microsoft/authorize/','/oauth2/microsoft/callback','oauth2MicrosoftCallback','exports','Router','./cloudProvider.controller','get','isAuthenticated','/:id','post','create'];(function(_0x1589bf,_0x350cda){var _0xe42356=function(_0x1e4acb){while(--_0x1e4acb){_0x1589bf['push'](_0x1589bf['shift']());}};_0xe42356(++_0x350cda);}(_0xadb5,0xad));var _0x5adb=function(_0x2f8aeb,_0x25d4f2){_0x2f8aeb=_0x2f8aeb-0x0;var _0x30251b=_0xadb5[_0x2f8aeb];return _0x30251b;};'use strict';var express=require('express');var router=express[_0x5adb('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x5adb('0x1'));router[_0x5adb('0x2')]('/',auth[_0x5adb('0x3')](),controller['index']);router[_0x5adb('0x2')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller['show']);router[_0x5adb('0x5')]('/',auth[_0x5adb('0x3')](),controller[_0x5adb('0x6')]);router[_0x5adb('0x7')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller[_0x5adb('0x8')]);router[_0x5adb('0x9')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller[_0x5adb('0xa')]);router[_0x5adb('0x2')](_0x5adb('0xb'),auth[_0x5adb('0x3')](),controller['oauth2MicrosoftAuthorize']);router['post'](_0x5adb('0xc'),controller[_0x5adb('0xd')]);module[_0x5adb('0xe')]=router;
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js
index 1233528..555f149 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 _0xf5f1=['exports','STRING','name'];(function(_0x2aecb2,_0x343312){var _0x3ebb80=function(_0x19fab3){while(--_0x19fab3){_0x2aecb2['push'](_0x2aecb2['shift']());}};_0x3ebb80(++_0x343312);}(_0xf5f1,0x1c8));var _0x1f5f=function(_0x34f462,_0x340362){_0x34f462=_0x34f462-0x0;var _0x24e7de=_0xf5f1[_0x34f462];return _0x24e7de;};'use strict';var Sequelize=require('sequelize');module[_0x1f5f('0x0')]={'name':{'type':Sequelize[_0x1f5f('0x1')],'unique':_0x1f5f('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x1f5f('0x1')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x1f5f('0x1')]},'phone':{'type':Sequelize[_0x1f5f('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x1f5f('0x1')]},'postalCode':{'type':Sequelize[_0x1f5f('0x1')]},'city':{'type':Sequelize[_0x1f5f('0x1')]},'country':{'type':Sequelize[_0x1f5f('0x1')]},'email':{'type':Sequelize[_0x1f5f('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x1f5f('0x1')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x1f5f('0x1')]},'sCountry':{'type':Sequelize[_0x1f5f('0x1')]},'description':{'type':Sequelize[_0x1f5f('0x1')]}};
\ No newline at end of file
+var _0x8f23=['name','sequelize','exports','STRING'];(function(_0x291f54,_0x547492){var _0x27f9dd=function(_0x446824){while(--_0x446824){_0x291f54['push'](_0x291f54['shift']());}};_0x27f9dd(++_0x547492);}(_0x8f23,0x1e5));var _0x38f2=function(_0x4bab01,_0x1eec12){_0x4bab01=_0x4bab01-0x0;var _0x587a2e=_0x8f23[_0x4bab01];return _0x587a2e;};'use strict';var Sequelize=require(_0x38f2('0x0'));module[_0x38f2('0x1')]={'name':{'type':Sequelize[_0x38f2('0x2')],'unique':_0x38f2('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x38f2('0x2')]},'companyId':{'type':Sequelize[_0x38f2('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x38f2('0x2')]},'type':{'type':Sequelize[_0x38f2('0x2')]},'street':{'type':Sequelize[_0x38f2('0x2')]},'postalCode':{'type':Sequelize[_0x38f2('0x2')]},'city':{'type':Sequelize[_0x38f2('0x2')]},'country':{'type':Sequelize[_0x38f2('0x2')]},'email':{'type':Sequelize[_0x38f2('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x38f2('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x38f2('0x2')]},'sCity':{'type':Sequelize[_0x38f2('0x2')]},'sCountry':{'type':Sequelize[_0x38f2('0x2')]},'description':{'type':Sequelize[_0x38f2('0x2')]}};
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.controller.js b/server/api/cmCompany/cmCompany.controller.js
index 20a9155..cc13174 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 _0xe878=['status','end','json','offset','undefined','limit','apply','reject','save','then','destroy','get','Companies','UserProfileResource','error','stack','name','send','index','CmCompany','model','keys','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','map','options','count','include','findAll','rows','catch','show','params','rawAttributes','length','includeAll','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','describe','addContacts','CmContact','ids','omit','getContacts','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','lodash','squel','jsforce','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xe878,0x19f));var _0x8e87=function(_0x2598f0,_0x3d61ff){_0x2598f0=_0x2598f0-0x0;var _0x4448c8=_0xe878[_0x2598f0];return _0x4448c8;};'use strict';var emlformat=require(_0x8e87('0x0'));var rimraf=require(_0x8e87('0x1'));var zipdir=require(_0x8e87('0x2'));var jsonpatch=require(_0x8e87('0x3'));var rp=require(_0x8e87('0x4'));var moment=require(_0x8e87('0x5'));var BPromise=require(_0x8e87('0x6'));var Mustache=require(_0x8e87('0x7'));var util=require(_0x8e87('0x8'));var path=require(_0x8e87('0x9'));var sox=require(_0x8e87('0xa'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x8e87('0xb'));var squel=require(_0x8e87('0xc'));var crypto=require('crypto');var jsforce=require(_0x8e87('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x8e87('0xe'));var querystring=require(_0x8e87('0xf'));var Papa=require(_0x8e87('0x10'));var Redis=require('ioredis');var authService=require(_0x8e87('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0x8e87('0x12'));var hardwareService=require(_0x8e87('0x13'));var logger=require('../../config/logger')(_0x8e87('0x14'));var utils=require(_0x8e87('0x15'));var config=require(_0x8e87('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x8e87('0x17'))['db'];function respondWithStatusCode(_0x3940bd,_0x5664ff){_0x5664ff=_0x5664ff||0xcc;return function(_0x59ed2b){if(_0x59ed2b){return _0x3940bd[_0x8e87('0x18')](_0x5664ff);}return _0x3940bd[_0x8e87('0x19')](_0x5664ff)[_0x8e87('0x1a')]();};}function respondWithResult(_0x2cb9c4,_0x17ccc6){_0x17ccc6=_0x17ccc6||0xc8;return function(_0x3cf21b){if(_0x3cf21b){return _0x2cb9c4[_0x8e87('0x19')](_0x17ccc6)[_0x8e87('0x1b')](_0x3cf21b);}};}function respondWithFilteredResult(_0xb30752,_0x132959){return function(_0x5545a2){if(_0x5545a2){var _0x52c71f=typeof _0x132959[_0x8e87('0x1c')]===_0x8e87('0x1d')&&typeof _0x132959[_0x8e87('0x1e')]===_0x8e87('0x1d');var _0x98fc=_0x5545a2['count'];var _0x5c3abe=_0x52c71f?0x0:_0x132959[_0x8e87('0x1c')];var _0x5d0fe9=_0x52c71f?_0x5545a2['count']:_0x132959[_0x8e87('0x1c')]+_0x132959[_0x8e87('0x1e')];var _0x504a4d;if(_0x5d0fe9>=_0x98fc){_0x5d0fe9=_0x98fc;_0x504a4d=0xc8;}else{_0x504a4d=0xce;}_0xb30752[_0x8e87('0x19')](_0x504a4d);return _0xb30752['set']('Content-Range',_0x5c3abe+'-'+_0x5d0fe9+'/'+_0x98fc)[_0x8e87('0x1b')](_0x5545a2);}return null;};}function patchUpdates(_0x7e0962){return function(_0x173fab){try{jsonpatch[_0x8e87('0x1f')](_0x173fab,_0x7e0962,!![]);}catch(_0x5d12b5){return BPromise[_0x8e87('0x20')](_0x5d12b5);}return _0x173fab[_0x8e87('0x21')]();};}function saveUpdates(_0x374805,_0x305f94){return function(_0x379410){if(_0x379410){return _0x379410['update'](_0x374805)[_0x8e87('0x22')](function(_0x1795e8){return _0x1795e8;});}return null;};}function removeEntity(_0x4e354b,_0x58f6e7){return function(_0x58b045){if(_0x58b045){return _0x58b045[_0x8e87('0x23')]()[_0x8e87('0x22')](function(){var _0x258f95=_0x58b045[_0x8e87('0x24')]({'plain':!![]});var _0x46f1be=_0x8e87('0x25');return db[_0x8e87('0x26')]['destroy']({'where':{'type':_0x46f1be,'resourceId':_0x258f95['id']}})[_0x8e87('0x22')](function(){return _0x58b045;});})[_0x8e87('0x22')](function(){_0x4e354b['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x5cbaa0,_0x120511){return function(_0x152a0a){if(!_0x152a0a){_0x5cbaa0[_0x8e87('0x18')](0x194);}return _0x152a0a;};}function handleError(_0x183c75,_0x69407e){_0x69407e=_0x69407e||0x1f4;return function(_0xbabeb0){logger[_0x8e87('0x27')](_0xbabeb0[_0x8e87('0x28')]);if(_0xbabeb0[_0x8e87('0x29')]){delete _0xbabeb0[_0x8e87('0x29')];}_0x183c75[_0x8e87('0x19')](_0x69407e)[_0x8e87('0x2a')](_0xbabeb0);};}exports[_0x8e87('0x2b')]=function(_0x168c61,_0x16dfbd){var _0x111401={},_0x4ba2e5={},_0x2936ba={'count':0x0,'rows':[]};return db[_0x8e87('0x2c')]['describe']()[_0x8e87('0x22')](function(_0x22af85){_0x4ba2e5[_0x8e87('0x2d')]=_[_0x8e87('0x2e')](_0x22af85);_0x4ba2e5[_0x8e87('0x2f')]=_[_0x8e87('0x2e')](_0x168c61[_0x8e87('0x2f')]);_0x4ba2e5[_0x8e87('0x30')]=_[_0x8e87('0x31')](_0x4ba2e5[_0x8e87('0x2d')],_0x4ba2e5['query']);_0x111401[_0x8e87('0x32')]=_[_0x8e87('0x31')](_0x4ba2e5[_0x8e87('0x2d')],qs['fields'](_0x168c61[_0x8e87('0x2f')][_0x8e87('0x33')]));_0x111401[_0x8e87('0x32')]=_0x111401[_0x8e87('0x32')]['length']?_0x111401[_0x8e87('0x32')]:_0x4ba2e5[_0x8e87('0x2d')];if(!_0x168c61['query'][_0x8e87('0x34')](_0x8e87('0x35'))){_0x111401[_0x8e87('0x1e')]=qs[_0x8e87('0x1e')](_0x168c61[_0x8e87('0x2f')][_0x8e87('0x1e')]);_0x111401['offset']=qs[_0x8e87('0x1c')](_0x168c61[_0x8e87('0x2f')][_0x8e87('0x1c')]);}_0x111401[_0x8e87('0x36')]=qs[_0x8e87('0x37')](_0x168c61[_0x8e87('0x2f')][_0x8e87('0x37')]);_0x111401[_0x8e87('0x38')]=qs[_0x8e87('0x30')](_[_0x8e87('0x39')](_0x168c61[_0x8e87('0x2f')],_0x4ba2e5[_0x8e87('0x30')]),_0x22af85);if(_0x168c61[_0x8e87('0x2f')][_0x8e87('0x3a')]){_0x111401['where']=_[_0x8e87('0x3b')](_0x111401['where'],{'$or':_[_0x8e87('0x3c')](_0x111401['attributes'],function(_0x2a7266){var _0x57e6db={};_0x57e6db[_0x2a7266]={'$like':'%'+_0x168c61['query'][_0x8e87('0x3a')]+'%'};return _0x57e6db;})});}_0x111401=_[_0x8e87('0x3b')]({},_0x111401,_0x168c61[_0x8e87('0x3d')]);var _0x36a1e6={'where':_0x111401[_0x8e87('0x38')]};return db['CmCompany']['count'](_0x36a1e6)[_0x8e87('0x22')](function(_0x810d53){_0x2936ba[_0x8e87('0x3e')]=_0x810d53;if(_0x168c61['query']['includeAll']){_0x111401[_0x8e87('0x3f')]=[{'all':!![]}];}return db[_0x8e87('0x2c')][_0x8e87('0x40')](_0x111401);})['then'](function(_0x14a4d5){_0x2936ba[_0x8e87('0x41')]=_0x14a4d5;return _0x2936ba;})[_0x8e87('0x22')](respondWithFilteredResult(_0x16dfbd,_0x111401))[_0x8e87('0x42')](handleError(_0x16dfbd,null));})['catch'](handleError(_0x16dfbd,null));};exports[_0x8e87('0x43')]=function(_0x533412,_0x86ae49){var _0x185b57={'raw':![],'where':{'id':_0x533412[_0x8e87('0x44')]['id']}},_0xeb2268={};_0xeb2268[_0x8e87('0x2d')]=_[_0x8e87('0x2e')](db[_0x8e87('0x2c')][_0x8e87('0x45')]);_0xeb2268[_0x8e87('0x2f')]=_[_0x8e87('0x2e')](_0x533412['query']);_0xeb2268[_0x8e87('0x30')]=_[_0x8e87('0x31')](_0xeb2268[_0x8e87('0x2d')],_0xeb2268[_0x8e87('0x2f')]);_0x185b57[_0x8e87('0x32')]=_[_0x8e87('0x31')](_0xeb2268['model'],qs['fields'](_0x533412['query'][_0x8e87('0x33')]));_0x185b57['attributes']=_0x185b57[_0x8e87('0x32')][_0x8e87('0x46')]?_0x185b57[_0x8e87('0x32')]:_0xeb2268[_0x8e87('0x2d')];if(_0x533412[_0x8e87('0x2f')][_0x8e87('0x47')]){_0x185b57[_0x8e87('0x3f')]=[{'all':!![]}];}_0x185b57=_[_0x8e87('0x3b')]({},_0x185b57,_0x533412['options']);return db[_0x8e87('0x2c')][_0x8e87('0x48')](_0x185b57)[_0x8e87('0x22')](handleEntityNotFound(_0x86ae49,null))['then'](respondWithResult(_0x86ae49,null))[_0x8e87('0x42')](handleError(_0x86ae49,null));};exports[_0x8e87('0x49')]=function(_0x515b6,_0x232fd7){return db[_0x8e87('0x2c')][_0x8e87('0x49')](_0x515b6[_0x8e87('0x4a')],{})[_0x8e87('0x22')](function(_0x4a78e3){var _0x198d94=_0x515b6['user'][_0x8e87('0x24')]({'plain':!![]});if(!_0x198d94)throw new Error(_0x8e87('0x4b'));if(_0x198d94[_0x8e87('0x4c')]===_0x8e87('0x4d')){var _0x190820=_0x4a78e3[_0x8e87('0x24')]({'plain':!![]});var _0x31fb2c='Companies';return db[_0x8e87('0x4e')][_0x8e87('0x48')]({'where':{'name':_0x31fb2c,'userProfileId':_0x198d94[_0x8e87('0x4f')]},'raw':!![]})['then'](function(_0x1434c4){if(_0x1434c4&&_0x1434c4['autoAssociation']===0x0){return db[_0x8e87('0x26')][_0x8e87('0x49')]({'name':_0x190820[_0x8e87('0x29')],'resourceId':_0x190820['id'],'type':_0x1434c4[_0x8e87('0x29')],'sectionId':_0x1434c4['id']},{})[_0x8e87('0x22')](function(){return _0x4a78e3;});}else{return _0x4a78e3;}})[_0x8e87('0x42')](function(_0x2ec8f1){logger['error'](_0x8e87('0x50'),_0x2ec8f1);throw _0x2ec8f1;});}return _0x4a78e3;})['then'](respondWithResult(_0x232fd7,0xc9))[_0x8e87('0x42')](handleError(_0x232fd7,null));};exports[_0x8e87('0x51')]=function(_0x57001e,_0x2940b8){if(_0x57001e['body']['id']){delete _0x57001e[_0x8e87('0x4a')]['id'];}return db[_0x8e87('0x2c')][_0x8e87('0x48')]({'where':{'id':_0x57001e[_0x8e87('0x44')]['id']}})[_0x8e87('0x22')](handleEntityNotFound(_0x2940b8,null))[_0x8e87('0x22')](saveUpdates(_0x57001e[_0x8e87('0x4a')],null))[_0x8e87('0x22')](respondWithResult(_0x2940b8,null))[_0x8e87('0x42')](handleError(_0x2940b8,null));};exports[_0x8e87('0x23')]=function(_0x453023,_0x175c29){return db[_0x8e87('0x2c')][_0x8e87('0x48')]({'where':{'id':_0x453023['params']['id']}})[_0x8e87('0x22')](handleEntityNotFound(_0x175c29,null))[_0x8e87('0x22')](removeEntity(_0x175c29,null))[_0x8e87('0x42')](handleError(_0x175c29,null));};exports['describe']=function(_0x352a18,_0x4e3cf0){return db[_0x8e87('0x2c')][_0x8e87('0x52')]()[_0x8e87('0x22')](respondWithResult(_0x4e3cf0,null))[_0x8e87('0x42')](handleError(_0x4e3cf0,null));};exports[_0x8e87('0x53')]=function(_0x4aaab2,_0x4e59f0,_0x2830a2){return db[_0x8e87('0x54')][_0x8e87('0x48')]({'where':{'id':_0x4aaab2[_0x8e87('0x44')]['id']}})[_0x8e87('0x22')](handleEntityNotFound(_0x4e59f0,null))[_0x8e87('0x22')](function(_0x3a5f18){if(_0x3a5f18){return _0x3a5f18[_0x8e87('0x53')](_0x4aaab2[_0x8e87('0x4a')][_0x8e87('0x55')],_[_0x8e87('0x56')](_0x4aaab2[_0x8e87('0x4a')],[_0x8e87('0x55'),'id'])||{});}})[_0x8e87('0x22')](respondWithResult(_0x4e59f0,null))['catch'](handleError(_0x4e59f0,null));};exports[_0x8e87('0x57')]=function(_0x45e412,_0x522839,_0x3dbef4){var _0x7b3291={};var _0x30bb19={};var _0x1bd700;var _0x6e7e94;return db[_0x8e87('0x2c')]['findOne']({'where':{'id':_0x45e412['params']['id']}})[_0x8e87('0x22')](handleEntityNotFound(_0x522839,null))[_0x8e87('0x22')](function(_0x1b3d89){if(_0x1b3d89){_0x1bd700=_0x1b3d89;_0x30bb19[_0x8e87('0x2d')]=_['keys'](db[_0x8e87('0x54')][_0x8e87('0x45')]);_0x30bb19[_0x8e87('0x2f')]=_[_0x8e87('0x2e')](_0x45e412['query']);_0x30bb19['filters']=_['intersection'](_0x30bb19['model'],_0x30bb19[_0x8e87('0x2f')]);_0x7b3291['attributes']=_[_0x8e87('0x31')](_0x30bb19[_0x8e87('0x2d')],qs['fields'](_0x45e412[_0x8e87('0x2f')]['fields']));_0x7b3291[_0x8e87('0x32')]=_0x7b3291[_0x8e87('0x32')]['length']?_0x7b3291[_0x8e87('0x32')]:_0x30bb19['model'];_0x7b3291[_0x8e87('0x36')]=qs[_0x8e87('0x37')](_0x45e412[_0x8e87('0x2f')]['sort']);_0x7b3291[_0x8e87('0x38')]=qs['filters'](_[_0x8e87('0x39')](_0x45e412['query'],_0x30bb19[_0x8e87('0x30')]));if(_0x45e412[_0x8e87('0x2f')][_0x8e87('0x3a')]){_0x7b3291[_0x8e87('0x38')]=_['merge'](_0x7b3291[_0x8e87('0x38')],{'$or':_[_0x8e87('0x3c')](_0x7b3291['attributes'],function(_0x2d29a1){var _0x3a4f09={};_0x3a4f09[_0x2d29a1]={'$like':'%'+_0x45e412[_0x8e87('0x2f')]['filter']+'%'};return _0x3a4f09;})});}_0x7b3291=_['merge']({},_0x7b3291,_0x45e412['options']);return _0x1bd700[_0x8e87('0x57')](_0x7b3291);}})[_0x8e87('0x22')](function(_0x2aab1e){if(_0x2aab1e){_0x6e7e94=_0x2aab1e[_0x8e87('0x46')];if(!_0x45e412[_0x8e87('0x2f')][_0x8e87('0x34')](_0x8e87('0x35'))){_0x7b3291[_0x8e87('0x1e')]=qs[_0x8e87('0x1e')](_0x45e412[_0x8e87('0x2f')]['limit']);_0x7b3291[_0x8e87('0x1c')]=qs[_0x8e87('0x1c')](_0x45e412[_0x8e87('0x2f')][_0x8e87('0x1c')]);}return _0x1bd700[_0x8e87('0x57')](_0x7b3291);}})[_0x8e87('0x22')](function(_0x2b8c05){if(_0x2b8c05){return _0x2b8c05?{'count':_0x6e7e94,'rows':_0x2b8c05}:null;}})[_0x8e87('0x22')](respondWithResult(_0x522839,null))[_0x8e87('0x42')](handleError(_0x522839,null));};
\ No newline at end of file
+var _0xea1e=['count','offset','set','Content-Range','save','update','then','destroy','get','Companies','UserProfileResource','sendStatus','stack','name','send','index','describe','model','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','merge','options','CmCompany','includeAll','findAll','catch','show','params','rawAttributes','include','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','omit','ids','getContacts','findOne','CmContact','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','fs-extra','lodash','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','limit','undefined'];(function(_0x24f862,_0x4b645a){var _0x198aa4=function(_0x131195){while(--_0x131195){_0x24f862['push'](_0x24f862['shift']());}};_0x198aa4(++_0x4b645a);}(_0xea1e,0xdc));var _0xeea1=function(_0x3aa0ac,_0x5f5da6){_0x3aa0ac=_0x3aa0ac-0x0;var _0x568a11=_0xea1e[_0x3aa0ac];return _0x568a11;};'use strict';var emlformat=require(_0xeea1('0x0'));var rimraf=require(_0xeea1('0x1'));var zipdir=require(_0xeea1('0x2'));var jsonpatch=require(_0xeea1('0x3'));var rp=require(_0xeea1('0x4'));var moment=require(_0xeea1('0x5'));var BPromise=require(_0xeea1('0x6'));var Mustache=require('mustache');var util=require(_0xeea1('0x7'));var path=require(_0xeea1('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xeea1('0x9'));var _=require(_0xeea1('0xa'));var squel=require('squel');var crypto=require(_0xeea1('0xb'));var jsforce=require(_0xeea1('0xc'));var deskjs=require(_0xeea1('0xd'));var toCsv=require(_0xeea1('0xe'));var querystring=require(_0xeea1('0xf'));var Papa=require('papaparse');var Redis=require(_0xeea1('0x10'));var authService=require('../../components/auth/service');var qs=require(_0xeea1('0x11'));var as=require(_0xeea1('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xeea1('0x13'))('api');var utils=require(_0xeea1('0x14'));var config=require(_0xeea1('0x15'));var licenseUtil=require(_0xeea1('0x16'));var db=require(_0xeea1('0x17'))['db'];function respondWithStatusCode(_0x4dc619,_0x326593){_0x326593=_0x326593||0xcc;return function(_0x481cbc){if(_0x481cbc){return _0x4dc619['sendStatus'](_0x326593);}return _0x4dc619[_0xeea1('0x18')](_0x326593)[_0xeea1('0x19')]();};}function respondWithResult(_0x4df674,_0x2f4cd9){_0x2f4cd9=_0x2f4cd9||0xc8;return function(_0x3fcfd5){if(_0x3fcfd5){return _0x4df674[_0xeea1('0x18')](_0x2f4cd9)[_0xeea1('0x1a')](_0x3fcfd5);}};}function respondWithFilteredResult(_0x429e28,_0x4da5d0){return function(_0x18d95d){if(_0x18d95d){var _0x55b2a5=typeof _0x4da5d0['offset']==='undefined'&&typeof _0x4da5d0[_0xeea1('0x1b')]===_0xeea1('0x1c');var _0x1d983e=_0x18d95d[_0xeea1('0x1d')];var _0xb78d21=_0x55b2a5?0x0:_0x4da5d0[_0xeea1('0x1e')];var _0x171478=_0x55b2a5?_0x18d95d[_0xeea1('0x1d')]:_0x4da5d0[_0xeea1('0x1e')]+_0x4da5d0['limit'];var _0x22345f;if(_0x171478>=_0x1d983e){_0x171478=_0x1d983e;_0x22345f=0xc8;}else{_0x22345f=0xce;}_0x429e28[_0xeea1('0x18')](_0x22345f);return _0x429e28[_0xeea1('0x1f')](_0xeea1('0x20'),_0xb78d21+'-'+_0x171478+'/'+_0x1d983e)['json'](_0x18d95d);}return null;};}function patchUpdates(_0x2c0e38){return function(_0x228a0d){try{jsonpatch['apply'](_0x228a0d,_0x2c0e38,!![]);}catch(_0x2d0158){return BPromise['reject'](_0x2d0158);}return _0x228a0d[_0xeea1('0x21')]();};}function saveUpdates(_0x27322f,_0x4f33e9){return function(_0x11f31f){if(_0x11f31f){return _0x11f31f[_0xeea1('0x22')](_0x27322f)[_0xeea1('0x23')](function(_0x447806){return _0x447806;});}return null;};}function removeEntity(_0xe3a65e,_0x7b7f83){return function(_0x212196){if(_0x212196){return _0x212196[_0xeea1('0x24')]()[_0xeea1('0x23')](function(){var _0x350048=_0x212196[_0xeea1('0x25')]({'plain':!![]});var _0x25f4c2=_0xeea1('0x26');return db[_0xeea1('0x27')][_0xeea1('0x24')]({'where':{'type':_0x25f4c2,'resourceId':_0x350048['id']}})['then'](function(){return _0x212196;});})[_0xeea1('0x23')](function(){_0xe3a65e[_0xeea1('0x18')](0xcc)[_0xeea1('0x19')]();});}};}function handleEntityNotFound(_0x47d6b8,_0x3fe1a9){return function(_0x31e1d2){if(!_0x31e1d2){_0x47d6b8[_0xeea1('0x28')](0x194);}return _0x31e1d2;};}function handleError(_0x46ef55,_0x26fd66){_0x26fd66=_0x26fd66||0x1f4;return function(_0xfc708f){logger['error'](_0xfc708f[_0xeea1('0x29')]);if(_0xfc708f[_0xeea1('0x2a')]){delete _0xfc708f[_0xeea1('0x2a')];}_0x46ef55['status'](_0x26fd66)[_0xeea1('0x2b')](_0xfc708f);};}exports[_0xeea1('0x2c')]=function(_0x5e3a91,_0x2c70f8){var _0x1ef3bf={},_0x47cce3={},_0x3a4097={'count':0x0,'rows':[]};return db['CmCompany'][_0xeea1('0x2d')]()[_0xeea1('0x23')](function(_0x13da07){_0x47cce3[_0xeea1('0x2e')]=_['keys'](_0x13da07);_0x47cce3[_0xeea1('0x2f')]=_[_0xeea1('0x30')](_0x5e3a91[_0xeea1('0x2f')]);_0x47cce3[_0xeea1('0x31')]=_[_0xeea1('0x32')](_0x47cce3[_0xeea1('0x2e')],_0x47cce3[_0xeea1('0x2f')]);_0x1ef3bf[_0xeea1('0x33')]=_[_0xeea1('0x32')](_0x47cce3['model'],qs[_0xeea1('0x34')](_0x5e3a91[_0xeea1('0x2f')]['fields']));_0x1ef3bf[_0xeea1('0x33')]=_0x1ef3bf[_0xeea1('0x33')][_0xeea1('0x35')]?_0x1ef3bf[_0xeea1('0x33')]:_0x47cce3['model'];if(!_0x5e3a91[_0xeea1('0x2f')]['hasOwnProperty'](_0xeea1('0x36'))){_0x1ef3bf['limit']=qs[_0xeea1('0x1b')](_0x5e3a91['query'][_0xeea1('0x1b')]);_0x1ef3bf[_0xeea1('0x1e')]=qs[_0xeea1('0x1e')](_0x5e3a91[_0xeea1('0x2f')][_0xeea1('0x1e')]);}_0x1ef3bf[_0xeea1('0x37')]=qs[_0xeea1('0x38')](_0x5e3a91[_0xeea1('0x2f')][_0xeea1('0x38')]);_0x1ef3bf[_0xeea1('0x39')]=qs['filters'](_[_0xeea1('0x3a')](_0x5e3a91['query'],_0x47cce3[_0xeea1('0x31')]),_0x13da07);if(_0x5e3a91[_0xeea1('0x2f')][_0xeea1('0x3b')]){_0x1ef3bf[_0xeea1('0x39')]=_[_0xeea1('0x3c')](_0x1ef3bf[_0xeea1('0x39')],{'$or':_['map'](_0x1ef3bf[_0xeea1('0x33')],function(_0x51a533){var _0x27d9a6={};_0x27d9a6[_0x51a533]={'$like':'%'+_0x5e3a91[_0xeea1('0x2f')][_0xeea1('0x3b')]+'%'};return _0x27d9a6;})});}_0x1ef3bf=_[_0xeea1('0x3c')]({},_0x1ef3bf,_0x5e3a91[_0xeea1('0x3d')]);var _0x57c2b2={'where':_0x1ef3bf[_0xeea1('0x39')]};return db[_0xeea1('0x3e')][_0xeea1('0x1d')](_0x57c2b2)[_0xeea1('0x23')](function(_0x2e4598){_0x3a4097[_0xeea1('0x1d')]=_0x2e4598;if(_0x5e3a91['query'][_0xeea1('0x3f')]){_0x1ef3bf['include']=[{'all':!![]}];}return db[_0xeea1('0x3e')][_0xeea1('0x40')](_0x1ef3bf);})[_0xeea1('0x23')](function(_0x1833a9){_0x3a4097['rows']=_0x1833a9;return _0x3a4097;})[_0xeea1('0x23')](respondWithFilteredResult(_0x2c70f8,_0x1ef3bf))[_0xeea1('0x41')](handleError(_0x2c70f8,null));})[_0xeea1('0x41')](handleError(_0x2c70f8,null));};exports[_0xeea1('0x42')]=function(_0x423bcf,_0x1a8745){var _0x25bdf6={'raw':![],'where':{'id':_0x423bcf[_0xeea1('0x43')]['id']}},_0x4b281f={};_0x4b281f[_0xeea1('0x2e')]=_['keys'](db['CmCompany'][_0xeea1('0x44')]);_0x4b281f[_0xeea1('0x2f')]=_[_0xeea1('0x30')](_0x423bcf[_0xeea1('0x2f')]);_0x4b281f[_0xeea1('0x31')]=_[_0xeea1('0x32')](_0x4b281f[_0xeea1('0x2e')],_0x4b281f[_0xeea1('0x2f')]);_0x25bdf6['attributes']=_[_0xeea1('0x32')](_0x4b281f[_0xeea1('0x2e')],qs['fields'](_0x423bcf[_0xeea1('0x2f')][_0xeea1('0x34')]));_0x25bdf6['attributes']=_0x25bdf6['attributes'][_0xeea1('0x35')]?_0x25bdf6[_0xeea1('0x33')]:_0x4b281f[_0xeea1('0x2e')];if(_0x423bcf[_0xeea1('0x2f')][_0xeea1('0x3f')]){_0x25bdf6[_0xeea1('0x45')]=[{'all':!![]}];}_0x25bdf6=_[_0xeea1('0x3c')]({},_0x25bdf6,_0x423bcf[_0xeea1('0x3d')]);return db[_0xeea1('0x3e')][_0xeea1('0x46')](_0x25bdf6)[_0xeea1('0x23')](handleEntityNotFound(_0x1a8745,null))['then'](respondWithResult(_0x1a8745,null))['catch'](handleError(_0x1a8745,null));};exports[_0xeea1('0x47')]=function(_0x3ba4a4,_0x3ed447){return db[_0xeea1('0x3e')][_0xeea1('0x47')](_0x3ba4a4['body'],{})[_0xeea1('0x23')](function(_0x92ce8e){var _0x5c7ab2=_0x3ba4a4[_0xeea1('0x48')][_0xeea1('0x25')]({'plain':!![]});if(!_0x5c7ab2)throw new Error(_0xeea1('0x49'));if(_0x5c7ab2[_0xeea1('0x4a')]===_0xeea1('0x48')){var _0x5bada2=_0x92ce8e['get']({'plain':!![]});var _0x5cdee2=_0xeea1('0x26');return db['UserProfileSection']['find']({'where':{'name':_0x5cdee2,'userProfileId':_0x5c7ab2['userProfileId']},'raw':!![]})[_0xeea1('0x23')](function(_0x1c923f){if(_0x1c923f&&_0x1c923f[_0xeea1('0x4b')]===0x0){return db['UserProfileResource'][_0xeea1('0x47')]({'name':_0x5bada2['name'],'resourceId':_0x5bada2['id'],'type':_0x1c923f[_0xeea1('0x2a')],'sectionId':_0x1c923f['id']},{})[_0xeea1('0x23')](function(){return _0x92ce8e;});}else{return _0x92ce8e;}})[_0xeea1('0x41')](function(_0x4cce9b){logger['error'](_0xeea1('0x4c'),_0x4cce9b);throw _0x4cce9b;});}return _0x92ce8e;})[_0xeea1('0x23')](respondWithResult(_0x3ed447,0xc9))[_0xeea1('0x41')](handleError(_0x3ed447,null));};exports[_0xeea1('0x22')]=function(_0x3fc6f8,_0x3136a8){if(_0x3fc6f8[_0xeea1('0x4d')]['id']){delete _0x3fc6f8['body']['id'];}return db['CmCompany']['find']({'where':{'id':_0x3fc6f8[_0xeea1('0x43')]['id']}})[_0xeea1('0x23')](handleEntityNotFound(_0x3136a8,null))[_0xeea1('0x23')](saveUpdates(_0x3fc6f8[_0xeea1('0x4d')],null))['then'](respondWithResult(_0x3136a8,null))[_0xeea1('0x41')](handleError(_0x3136a8,null));};exports[_0xeea1('0x24')]=function(_0x14f8ef,_0x3e9464){return db['CmCompany']['find']({'where':{'id':_0x14f8ef[_0xeea1('0x43')]['id']}})[_0xeea1('0x23')](handleEntityNotFound(_0x3e9464,null))[_0xeea1('0x23')](removeEntity(_0x3e9464,null))[_0xeea1('0x41')](handleError(_0x3e9464,null));};exports['describe']=function(_0x11c2a0,_0x1260d1){return db[_0xeea1('0x3e')][_0xeea1('0x2d')]()[_0xeea1('0x23')](respondWithResult(_0x1260d1,null))[_0xeea1('0x41')](handleError(_0x1260d1,null));};exports['addContacts']=function(_0x26e4fa,_0x10c151,_0x777d9d){return db['CmContact'][_0xeea1('0x46')]({'where':{'id':_0x26e4fa[_0xeea1('0x43')]['id']}})[_0xeea1('0x23')](handleEntityNotFound(_0x10c151,null))[_0xeea1('0x23')](function(_0x4c791b){if(_0x4c791b){return _0x4c791b['addContacts'](_0x26e4fa[_0xeea1('0x4d')]['ids'],_[_0xeea1('0x4e')](_0x26e4fa['body'],[_0xeea1('0x4f'),'id'])||{});}})[_0xeea1('0x23')](respondWithResult(_0x10c151,null))['catch'](handleError(_0x10c151,null));};exports[_0xeea1('0x50')]=function(_0x5bf27b,_0x3baebe,_0x4c82f){var _0x4a9cba={};var _0x2b3077={};var _0x484644;var _0x4f227d;return db[_0xeea1('0x3e')][_0xeea1('0x51')]({'where':{'id':_0x5bf27b['params']['id']}})['then'](handleEntityNotFound(_0x3baebe,null))[_0xeea1('0x23')](function(_0x172512){if(_0x172512){_0x484644=_0x172512;_0x2b3077['model']=_[_0xeea1('0x30')](db[_0xeea1('0x52')][_0xeea1('0x44')]);_0x2b3077[_0xeea1('0x2f')]=_[_0xeea1('0x30')](_0x5bf27b['query']);_0x2b3077[_0xeea1('0x31')]=_['intersection'](_0x2b3077[_0xeea1('0x2e')],_0x2b3077[_0xeea1('0x2f')]);_0x4a9cba[_0xeea1('0x33')]=_[_0xeea1('0x32')](_0x2b3077[_0xeea1('0x2e')],qs[_0xeea1('0x34')](_0x5bf27b['query']['fields']));_0x4a9cba[_0xeea1('0x33')]=_0x4a9cba['attributes'][_0xeea1('0x35')]?_0x4a9cba[_0xeea1('0x33')]:_0x2b3077[_0xeea1('0x2e')];_0x4a9cba[_0xeea1('0x37')]=qs['sort'](_0x5bf27b[_0xeea1('0x2f')][_0xeea1('0x38')]);_0x4a9cba[_0xeea1('0x39')]=qs['filters'](_[_0xeea1('0x3a')](_0x5bf27b[_0xeea1('0x2f')],_0x2b3077['filters']));if(_0x5bf27b[_0xeea1('0x2f')][_0xeea1('0x3b')]){_0x4a9cba[_0xeea1('0x39')]=_[_0xeea1('0x3c')](_0x4a9cba[_0xeea1('0x39')],{'$or':_['map'](_0x4a9cba[_0xeea1('0x33')],function(_0x1b4f5b){var _0x55db70={};_0x55db70[_0x1b4f5b]={'$like':'%'+_0x5bf27b[_0xeea1('0x2f')]['filter']+'%'};return _0x55db70;})});}_0x4a9cba=_[_0xeea1('0x3c')]({},_0x4a9cba,_0x5bf27b[_0xeea1('0x3d')]);return _0x484644[_0xeea1('0x50')](_0x4a9cba);}})[_0xeea1('0x23')](function(_0x405ef1){if(_0x405ef1){_0x4f227d=_0x405ef1['length'];if(!_0x5bf27b[_0xeea1('0x2f')]['hasOwnProperty'](_0xeea1('0x36'))){_0x4a9cba[_0xeea1('0x1b')]=qs[_0xeea1('0x1b')](_0x5bf27b[_0xeea1('0x2f')][_0xeea1('0x1b')]);_0x4a9cba[_0xeea1('0x1e')]=qs[_0xeea1('0x1e')](_0x5bf27b[_0xeea1('0x2f')][_0xeea1('0x1e')]);}return _0x484644[_0xeea1('0x50')](_0x4a9cba);}})[_0xeea1('0x23')](function(_0x39bb63){if(_0x39bb63){return _0x39bb63?{'count':_0x4f227d,'rows':_0x39bb63}:null;}})['then'](respondWithResult(_0x3baebe,null))['catch'](handleError(_0x3baebe,null));};
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.model.js b/server/api/cmCompany/cmCompany.model.js
index 2e76fe1..f791440 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 _0xd4b8=['./cmCompany.attributes','exports','define','CmCompany','cm_companies','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x38bdff,_0xc2aca8){var _0x39412e=function(_0x4cd838){while(--_0x4cd838){_0x38bdff['push'](_0x38bdff['shift']());}};_0x39412e(++_0xc2aca8);}(_0xd4b8,0xd5));var _0x8d4b=function(_0x2ee21c,_0x48aced){_0x2ee21c=_0x2ee21c-0x0;var _0xe1251=_0xd4b8[_0x2ee21c];return _0xe1251;};'use strict';var _=require('lodash');var util=require(_0x8d4b('0x0'));var logger=require(_0x8d4b('0x1'))(_0x8d4b('0x2'));var moment=require(_0x8d4b('0x3'));var BPromise=require(_0x8d4b('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8d4b('0x5'));var rimraf=require(_0x8d4b('0x6'));var config=require(_0x8d4b('0x7'));var attributes=require(_0x8d4b('0x8'));module[_0x8d4b('0x9')]=function(_0x574ef9,_0x367a0e){return _0x574ef9[_0x8d4b('0xa')](_0x8d4b('0xb'),attributes,{'tableName':_0x8d4b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x51ce=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./cmCompany.attributes','define','CmCompany','cm_companies','lodash','util'];(function(_0x247d77,_0x1537c2){var _0x4597a7=function(_0x345120){while(--_0x345120){_0x247d77['push'](_0x247d77['shift']());}};_0x4597a7(++_0x1537c2);}(_0x51ce,0x177));var _0xe51c=function(_0x421c56,_0x4efd00){_0x421c56=_0x421c56-0x0;var _0x49b244=_0x51ce[_0x421c56];return _0x49b244;};'use strict';var _=require(_0xe51c('0x0'));var util=require(_0xe51c('0x1'));var logger=require(_0xe51c('0x2'))(_0xe51c('0x3'));var moment=require(_0xe51c('0x4'));var BPromise=require(_0xe51c('0x5'));var rp=require(_0xe51c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe51c('0x7'));var config=require(_0xe51c('0x8'));var attributes=require(_0xe51c('0x9'));module['exports']=function(_0x5d6a5b,_0x25d244){return _0x5d6a5b[_0xe51c('0xa')](_0xe51c('0xb'),attributes,{'tableName':_0xe51c('0xc'),'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 5227fe9..314ac88 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 _0x4c6d=['lodash','util','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','info','request\x20sent','debug','CmCompany,\x20%s,\x20%s,\x20%s','stringify','error','CmCompany,\x20%s,\x20%s','message','result','catch'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x4c6d,0xdc));var _0xd4c6=function(_0x1ce3fa,_0x2a15c2){_0x1ce3fa=_0x1ce3fa-0x0;var _0x27a3b5=_0x4c6d[_0x1ce3fa];return _0x27a3b5;};'use strict';var _=require(_0xd4c6('0x0'));var util=require(_0xd4c6('0x1'));var moment=require('moment');var BPromise=require(_0xd4c6('0x2'));var rs=require(_0xd4c6('0x3'));var fs=require('fs');var Redis=require(_0xd4c6('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xd4c6('0x5'));var logger=require(_0xd4c6('0x6'))(_0xd4c6('0x7'));var config=require('../../config/environment');var jayson=require(_0xd4c6('0x8'));var client=jayson[_0xd4c6('0x9')][_0xd4c6('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x74c52,_0x5b3949,_0x5e0557){return new BPromise(function(_0x353bed,_0x4404d8){return client[_0xd4c6('0xb')](_0x74c52,_0x5e0557)['then'](function(_0x453c91){logger[_0xd4c6('0xc')]('CmCompany,\x20%s,\x20%s',_0x5b3949,_0xd4c6('0xd'));logger[_0xd4c6('0xe')](_0xd4c6('0xf'),_0x5b3949,_0xd4c6('0xd'),JSON[_0xd4c6('0x10')](_0x453c91));if(_0x453c91['error']){if(_0x453c91[_0xd4c6('0x11')]['code']===0x1f4){logger['error'](_0xd4c6('0x12'),_0x5b3949,_0x453c91[_0xd4c6('0x11')][_0xd4c6('0x13')]);return _0x4404d8(_0x453c91[_0xd4c6('0x11')]['message']);}logger['error']('CmCompany,\x20%s,\x20%s',_0x5b3949,_0x453c91['error']['message']);return _0x353bed(_0x453c91[_0xd4c6('0x11')][_0xd4c6('0x13')]);}else{logger[_0xd4c6('0xc')](_0xd4c6('0x12'),_0x5b3949,_0xd4c6('0xd'));_0x353bed(_0x453c91[_0xd4c6('0x14')][_0xd4c6('0x13')]);}})[_0xd4c6('0x15')](function(_0x4984ac){logger[_0xd4c6('0x11')](_0xd4c6('0x12'),_0x5b3949,_0x4984ac);_0x4404d8(_0x4984ac);});});}
\ No newline at end of file
+var _0x0e02=['error','message','info','result','catch','lodash','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','CmCompany,\x20%s,\x20%s','request\x20sent','CmCompany,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x43eb38,_0x16d032){var _0x356ae7=function(_0x372307){while(--_0x372307){_0x43eb38['push'](_0x43eb38['shift']());}};_0x356ae7(++_0x16d032);}(_0x0e02,0x1bd));var _0x20e0=function(_0x420822,_0x551a30){_0x420822=_0x420822-0x0;var _0x28d4c1=_0x0e02[_0x420822];return _0x28d4c1;};'use strict';var _=require(_0x20e0('0x0'));var util=require(_0x20e0('0x1'));var moment=require('moment');var BPromise=require(_0x20e0('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x20e0('0x3'));var db=require(_0x20e0('0x4'))['db'];var utils=require(_0x20e0('0x5'));var logger=require(_0x20e0('0x6'))(_0x20e0('0x7'));var config=require(_0x20e0('0x8'));var jayson=require(_0x20e0('0x9'));var client=jayson['client'][_0x20e0('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x17e6b8,_0x1761f6,_0x1b717b){return new BPromise(function(_0x53c43c,_0x4592a3){return client[_0x20e0('0xb')](_0x17e6b8,_0x1b717b)[_0x20e0('0xc')](function(_0x3fce7e){logger['info'](_0x20e0('0xd'),_0x1761f6,_0x20e0('0xe'));logger['debug'](_0x20e0('0xf'),_0x1761f6,_0x20e0('0xe'),JSON[_0x20e0('0x10')](_0x3fce7e));if(_0x3fce7e[_0x20e0('0x11')]){if(_0x3fce7e[_0x20e0('0x11')]['code']===0x1f4){logger[_0x20e0('0x11')]('CmCompany,\x20%s,\x20%s',_0x1761f6,_0x3fce7e[_0x20e0('0x11')][_0x20e0('0x12')]);return _0x4592a3(_0x3fce7e['error'][_0x20e0('0x12')]);}logger[_0x20e0('0x11')](_0x20e0('0xd'),_0x1761f6,_0x3fce7e[_0x20e0('0x11')][_0x20e0('0x12')]);return _0x53c43c(_0x3fce7e[_0x20e0('0x11')]['message']);}else{logger[_0x20e0('0x13')](_0x20e0('0xd'),_0x1761f6,_0x20e0('0xe'));_0x53c43c(_0x3fce7e[_0x20e0('0x14')][_0x20e0('0x12')]);}})[_0x20e0('0x15')](function(_0x312bf3){logger[_0x20e0('0x11')](_0x20e0('0xd'),_0x1761f6,_0x312bf3);_0x4592a3(_0x312bf3);});});}
\ No newline at end of file
diff --git a/server/api/cmCompany/index.js b/server/api/cmCompany/index.js
index 1bf10ea..198a737 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 _0xcd34=['/:id','show','/:id/contacts','create','post','addContacts','put','update','delete','destroy','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','isAuthenticated','/describe','describe'];(function(_0x29836a,_0x1c08bb){var _0x551ff4=function(_0x4aea2a){while(--_0x4aea2a){_0x29836a['push'](_0x29836a['shift']());}};_0x551ff4(++_0x1c08bb);}(_0xcd34,0xab));var _0x4cd3=function(_0x63811d,_0x4c55a8){_0x63811d=_0x63811d-0x0;var _0x34169e=_0xcd34[_0x63811d];return _0x34169e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4cd3('0x0'));var timeout=require(_0x4cd3('0x1'));var express=require(_0x4cd3('0x2'));var router=express[_0x4cd3('0x3')]();var fs_extra=require(_0x4cd3('0x4'));var auth=require(_0x4cd3('0x5'));var interaction=require(_0x4cd3('0x6'));var config=require(_0x4cd3('0x7'));var controller=require(_0x4cd3('0x8'));router[_0x4cd3('0x9')]('/',auth[_0x4cd3('0xa')](),controller['index']);router[_0x4cd3('0x9')](_0x4cd3('0xb'),auth[_0x4cd3('0xa')](),controller[_0x4cd3('0xc')]);router[_0x4cd3('0x9')](_0x4cd3('0xd'),auth[_0x4cd3('0xa')](),controller[_0x4cd3('0xe')]);router[_0x4cd3('0x9')](_0x4cd3('0xf'),auth[_0x4cd3('0xa')](),controller['getContacts']);router['post']('/',auth[_0x4cd3('0xa')](),controller[_0x4cd3('0x10')]);router[_0x4cd3('0x11')](_0x4cd3('0xf'),auth['isAuthenticated'](),controller[_0x4cd3('0x12')]);router[_0x4cd3('0x13')]('/:id',auth[_0x4cd3('0xa')](),controller[_0x4cd3('0x14')]);router[_0x4cd3('0x15')](_0x4cd3('0xd'),auth[_0x4cd3('0xa')](),controller[_0x4cd3('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0x6e85=['put','delete','exports','multer','util','path','express','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/contacts','getContacts','post','create'];(function(_0x782e88,_0x15a7ae){var _0x208243=function(_0x20b077){while(--_0x20b077){_0x782e88['push'](_0x782e88['shift']());}};_0x208243(++_0x15a7ae);}(_0x6e85,0x1ac));var _0x56e8=function(_0x16302c,_0x8688aa){_0x16302c=_0x16302c-0x0;var _0x40dc4c=_0x6e85[_0x16302c];return _0x40dc4c;};'use strict';var multer=require(_0x56e8('0x0'));var util=require(_0x56e8('0x1'));var path=require(_0x56e8('0x2'));var timeout=require('connect-timeout');var express=require(_0x56e8('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x56e8('0x4'));var controller=require('./cmCompany.controller');router[_0x56e8('0x5')]('/',auth[_0x56e8('0x6')](),controller[_0x56e8('0x7')]);router[_0x56e8('0x5')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0x56e8('0x8'),auth['isAuthenticated'](),controller[_0x56e8('0x9')]);router['get'](_0x56e8('0xa'),auth[_0x56e8('0x6')](),controller[_0x56e8('0xb')]);router[_0x56e8('0xc')]('/',auth['isAuthenticated'](),controller[_0x56e8('0xd')]);router[_0x56e8('0xc')](_0x56e8('0xa'),auth[_0x56e8('0x6')](),controller['addContacts']);router[_0x56e8('0xe')](_0x56e8('0x8'),auth[_0x56e8('0x6')](),controller['update']);router[_0x56e8('0xf')](_0x56e8('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0x56e8('0x10')]=router;
\ No newline at end of file
diff --git a/server/api/cmContact/cmContact.attributes.js b/server/api/cmContact/cmContact.attributes.js
index c2fb8a6..4424d2f 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 _0x5b39=['STRING','INTEGER','UNSIGNED','DATE','NOW','lodash','exports'];(function(_0x3f1caa,_0x5da79e){var _0x360472=function(_0x492c04){while(--_0x492c04){_0x3f1caa['push'](_0x3f1caa['shift']());}};_0x360472(++_0x5da79e);}(_0x5b39,0x116));var _0x95b3=function(_0x50a0c2,_0x4befab){_0x50a0c2=_0x50a0c2-0x0;var _0x5ebadd=_0x5b39[_0x50a0c2];return _0x5ebadd;};'use strict';var _=require(_0x95b3('0x0'));var Sequelize=require('sequelize');module[_0x95b3('0x1')]={'firstName':{'type':Sequelize[_0x95b3('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0x95b3('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x95b3('0x2')]},'city':{'type':Sequelize[_0x95b3('0x2')]},'country':{'type':Sequelize[_0x95b3('0x2')]},'dateOfBirth':{'type':Sequelize[_0x95b3('0x2')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0x95b3('0x2')]},'mobile':{'type':Sequelize[_0x95b3('0x2')]},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x95b3('0x2')]},'url':{'type':Sequelize[_0x95b3('0x2')]},'facebook':{'type':Sequelize[_0x95b3('0x2')]},'fb_data':{'type':Sequelize[_0x95b3('0x2')]},'twitter':{'type':Sequelize[_0x95b3('0x2')]},'skype':{'type':Sequelize[_0x95b3('0x2')]},'teams':{'type':Sequelize['STRING']},'viber':{'type':Sequelize[_0x95b3('0x2')]},'line':{'type':Sequelize[_0x95b3('0x2')]},'wechat':{'type':Sequelize[_0x95b3('0x2')]},'telegram':{'type':Sequelize[_0x95b3('0x2')]},'UserId':{'type':Sequelize[_0x95b3('0x3')]},'AdditionalPhones':{'type':Sequelize['STRING']},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x95b3('0x4')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x95b3('0x5')],'defaultValue':Sequelize[_0x95b3('0x6')]},'dialTimezone':{'type':Sequelize[_0x95b3('0x2')]},'utcOffset':{'type':Sequelize[_0x95b3('0x3')]}};
\ No newline at end of file
+var _0xcce1=['UNSIGNED','DATE','NOW','sequelize','exports','STRING','INTEGER'];(function(_0x499210,_0x325b29){var _0x2e153d=function(_0x951263){while(--_0x951263){_0x499210['push'](_0x499210['shift']());}};_0x2e153d(++_0x325b29);}(_0xcce1,0x11b));var _0x1cce=function(_0x3eb713,_0x437874){_0x3eb713=_0x3eb713-0x0;var _0x1d7128=_0xcce1[_0x3eb713];return _0x1d7128;};'use strict';var _=require('lodash');var Sequelize=require(_0x1cce('0x0'));module[_0x1cce('0x1')]={'firstName':{'type':Sequelize[_0x1cce('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0x1cce('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x1cce('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x1cce('0x2')]},'dateOfBirth':{'type':Sequelize[_0x1cce('0x2')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0x1cce('0x2')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x1cce('0x2')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0x1cce('0x2')]},'fb_data':{'type':Sequelize['STRING']},'twitter':{'type':Sequelize[_0x1cce('0x2')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0x1cce('0x2')]},'viber':{'type':Sequelize[_0x1cce('0x2')]},'line':{'type':Sequelize[_0x1cce('0x2')]},'wechat':{'type':Sequelize['STRING']},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize['INTEGER']},'AdditionalPhones':{'type':Sequelize[_0x1cce('0x2')]},'priority':{'type':Sequelize[_0x1cce('0x3')](0x2)[_0x1cce('0x4')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x1cce('0x5')],'defaultValue':Sequelize[_0x1cce('0x6')]},'dialTimezone':{'type':Sequelize['STRING']},'utcOffset':{'type':Sequelize['INTEGER']}};
\ No newline at end of file
diff --git a/server/api/cmContact/cmContact.controller.js b/server/api/cmContact/cmContact.controller.js
index 3a4a00e..e2535a6 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 _0x636d=['userThirdDisposition','UserId','fullname','findAndCountAll','startCase','Website','Account','closed','closedAt','disposition','secondDisposition','thirdDisposition','key','Owner','browserName','customerPort','osName','ratingMessage','ratingValue','referer','subject','substatus','externalUrl','threadId','Interaction','flatten','sortBy','slice','moment','bluebird','util','path','lodash','squel','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../config/environment/shared','../../mysqldb','redis','defaults','localhost','register','json','offset','undefined','limit','status','Content-Range','update','destroy','then','end','error','stack','send','describe','keys','startsWith','cf_','push','trimStart','length','type','model','query','filters','intersection','fields','attributes','hasOwnProperty','order','sort','where','pick','field','color','from','tools_tags','select','cm_contacts','left_join','cm_user_has_contacts','uc.CmContactId\x20=\x20c.id','ct.CmContactId\x20=\x20c.id','t.id\x20=\x20ct.TagId','c.deletedAt\x20IS\x20NULL','expr','search','parseSearch','sqlOperator','conditions','find','Tag','map','forEach','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','and','uc.UserId\x20=\x20?','value','dateOfBirth','fieldType','datetime','castTo','DATE','buildExpression','start','isNil','Contact','isEmpty','ListId','c.ListId\x20IN\x20?','concat','CONCAT_WS(\x27\x20\x27,\x20c.firstName,\x20c.lastName,\x20c.email)\x20LIKE\x20?','\x20=\x20?','tag','isArray','filter','replace','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','isNumeric','c.id\x20LIKE\x20?','c.phone\x20LIKE\x20?','c.fax\x20LIKE\x20?','isEmail','c.email\x20LIKE\x20?','c.firstName\x20LIKE\x20?','c.lastName\x20LIKE\x20?','group','c.id','QueryTypes','clone','DESC','having','t.id\x20IN\x20?','resolve','user','agent','some','User','getLists','c.ListId\x20IS\x20NULL','role','sequelize','toString','count','merge','CmContact','c.firstName','c.lastName','c.phone','c.mobile','c.fax','c.ListId','c.createdAt','c.deletedAt','c.CompanyId','GROUP_CONCAT(DISTINCT\x20t.id)','TagIds','rows','params','catch','tags','columnName','CmCustomField','findAll','displayName','alias','custom','values','body','get','mergeWith','join','[CmContact][merge]\x20to\x20%s\x20from\x20%s','CmHopper','info','[CmContact][merge][destroy][CmHopper],\x20%s','CmHopperBlack','create','ChatMessage','ChatOfflineMessage','MailMessage','SmsInteraction','SmsMessage','FaxInteraction','OpenchannelInteraction','OpenchannelMessage','CmContactHasItem','ReportAgentPreview','VoiceCallReport','ChatQueueReport','MailQueueReport','SmsQueueReport','WhatsappInteraction','WhatsappMessage','dialTimezone','timezones','utcOffset','additionalPhones','bulkCreate','duplicates','$or','findOrCreate','contact','all','show','Tags','name','ContactItemType','ItemType','literal','omit','format','cf_%d','$and','pickBy','setFields','id\x20=\x20?','toParam','text','phone','findOne','rawAttributes','getTags','setTags','ids','setAdditionalPhones','OrderBy','item_types','items','ItemTypeId','description','contact\x20phone\x20exists','PHONE','CmHopperAdditionalPhone','CmHopperId','ItemType.OrderBy','duplicateAdditionalPhones','fromContactId','CmContactId','rescheduleAdditionalPhones','hopperId','getHoppers','nolimit','ContactId','options','includeAll','include','getHopperHistories','CmHopperHistory','CmHopperFinal','JscriptySessionReport','No\x20ListId\x20specified','binding_keys','No\x20association\x20keys\x20specified!','binding_values','No\x20association\x20values\x20specified!','socket_timestamp','split','Incorrect\x20binding\x20parameters\x20passed!','No\x20phone\x20column\x20specified','No\x20firstName\x20column\x20specified','root','server/files/tmp','file','chmodSync','0777','child_process','fork','../../components/import/cm/csv','File\x20uploaded\x20correctly!','pid','upload','createReadStream','parse','meta','import','binding','Unable\x20to\x20synchronize\x20socket,\x20no\x20timestamp\x20passed','stringify','message','start\x20child\x20process\x20correctly!','error\x20child\x20process','importUpdates','firstName','../../components/import/cm/csvUpdates','getJourney','mail','chat','sms','openchannel','whatsapp','voice','channel','includes','toLowerCase','Invalid\x20channel','range','isValid','Invalid\x20date\x20for\x20range\x20from\x20filter','Invalid\x20date\x20for\x20range\x20to\x20filter','uniqueid','callerid','starttime','endtime','duration','note','createdAt','userDisposition','userSecondDisposition'];(function(_0x173c7d,_0x4221cd){var _0x3df530=function(_0x2d800c){while(--_0x2d800c){_0x173c7d['push'](_0x173c7d['shift']());}};_0x3df530(++_0x4221cd);}(_0x636d,0x158));var _0xd636=function(_0x4e1d03,_0x786f3a){_0x4e1d03=_0x4e1d03-0x0;var _0x362d4b=_0x636d[_0x4e1d03];return _0x362d4b;};'use strict';var moment=require(_0xd636('0x0'));var BPromise=require(_0xd636('0x1'));var util=require(_0xd636('0x2'));var path=require(_0xd636('0x3'));var fs=require('fs');var _=require(_0xd636('0x4'));var squel=require(_0xd636('0x5'));var Papa=require(_0xd636('0x6'));var Redis=require('ioredis');var qs=require(_0xd636('0x7'));var as=require(_0xd636('0x8'));var logger=require(_0xd636('0x9'))(_0xd636('0xa'));var config=require(_0xd636('0xb'));var shared=require(_0xd636('0xc'));var db=require(_0xd636('0xd'))['db'];config[_0xd636('0xe')]=_[_0xd636('0xf')](config['redis'],{'host':_0xd636('0x10'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xd636('0xe')]));require('./cmContact.socket')[_0xd636('0x11')](socket);function respondWithResult(_0x4e04fd,_0x492def){_0x492def=_0x492def||0xc8;return function(_0x421c74){if(_0x421c74){return _0x4e04fd['status'](_0x492def)[_0xd636('0x12')](_0x421c74);}};}function respondWithFilteredResult(_0x41c0d0,_0x3901d4){return function(_0x258163){if(_0x258163){var _0x251e18=typeof _0x3901d4[_0xd636('0x13')]===_0xd636('0x14')&&typeof _0x3901d4[_0xd636('0x15')]===_0xd636('0x14');var _0x4420e0=_0x258163['count'];var _0x2f429d=_0x251e18?0x0:_0x3901d4['offset'];var _0x55a22=_0x251e18?_0x258163['count']:_0x3901d4[_0xd636('0x13')]+_0x3901d4[_0xd636('0x15')];var _0x29f227;if(_0x55a22>=_0x4420e0){_0x55a22=_0x4420e0;_0x29f227=0xc8;}else{_0x29f227=0xce;}_0x41c0d0[_0xd636('0x16')](_0x29f227);return _0x41c0d0['set'](_0xd636('0x17'),_0x2f429d+'-'+_0x55a22+'/'+_0x4420e0)['json'](_0x258163);}return null;};}function saveUpdates(_0x164852){return function(_0x5907b3){if(_0x5907b3){return _0x5907b3[_0xd636('0x18')](_0x164852)['then'](function(_0x37d9d4){return _0x37d9d4;});}return null;};}function removeEntity(_0xf670f6){return function(_0x76d202){if(_0x76d202){return _0x76d202[_0xd636('0x19')]()[_0xd636('0x1a')](function(){_0xf670f6[_0xd636('0x16')](0xcc)[_0xd636('0x1b')]();});}};}function handleEntityNotFound(_0x43a20a){return function(_0x4e9b75){if(!_0x4e9b75){_0x43a20a['sendStatus'](0x194);}return _0x4e9b75;};}function handleError(_0x2cc321,_0x3308e3){_0x3308e3=_0x3308e3||0x1f4;return function(_0xfa115f){logger[_0xd636('0x1c')](_0xfa115f[_0xd636('0x1d')]);if(_0xfa115f['name']){delete _0xfa115f['name'];}_0x2cc321['status'](_0x3308e3)[_0xd636('0x1e')](_0xfa115f);};}exports['index']=function(_0x5101c3,_0x22ca73){var _0x382fa7={},_0x4c9ea6={},_0x4a6a37={'count':0x0,'rows':[]};return db['CmContact'][_0xd636('0x1f')]()[_0xd636('0x1a')](function(_0x262d26){var _0x38a455=[];for(var _0x266241=0x0;_0x266241
','Attachments','Title','Data','generateXOAuth2Token','user=','auth=Bearer\x20','utf-8','base64','lodash','moment','randomstring','path','util','node-tnef','../../../config/logger','email','value','address','@xcally.com','head','name','substring','indexOf','length','slice','join','Anonymous'];(function(_0x4a8dfa,_0xd407c8){var _0xadad9c=function(_0x5c4bfe){while(--_0x5c4bfe){_0x4a8dfa['push'](_0x4a8dfa['shift']());}};_0xadad9c(++_0xd407c8);}(_0xb414,0x1bb));var _0x4b41=function(_0x1da988,_0x2acfae){_0x1da988=_0x1da988-0x0;var _0xaf122a=_0xb414[_0x1da988];return _0xaf122a;};'use strict';var _=require(_0x4b41('0x0'));var moment=require(_0x4b41('0x1'));var random=require(_0x4b41('0x2'));var fs=require('fs');var path=require(_0x4b41('0x3'));var util=require(_0x4b41('0x4'));var tnef=require(_0x4b41('0x5'));var logger=require(_0x4b41('0x6'))(_0x4b41('0x7'));var config=require('../../../config/environment');function getAddress(_0x20b868){var _0x3c8895=_['head'](_0x20b868[_0x4b41('0x8')]);return _0x3c8895&&_0x3c8895[_0x4b41('0x9')]?_0x3c8895[_0x4b41('0x9')]:'anonymous'+random['generate'](0x6)+_0x4b41('0xa');}function getFirstName(_0x580ba7){var _0x3d35db=_[_0x4b41('0xb')](_0x580ba7[_0x4b41('0x8')]);if(_0x3d35db&&_0x3d35db[_0x4b41('0xc')]){if(_0x3d35db['name']==_0x3d35db[_0x4b41('0x9')]){return _0x3d35db['name'][_0x4b41('0xd')](0x0,_0x3d35db[_0x4b41('0xc')][_0x4b41('0xe')]('@'));}var _0x113f64=_0x3d35db[_0x4b41('0xc')]['split'](/\s+/);return _0x113f64[_0x4b41('0xf')]>0x1?_0x113f64[_0x4b41('0x10')](0x0,-0x1)[_0x4b41('0x11')]('\x20'):_0x3d35db[_0x4b41('0xc')];}return _0x4b41('0x12');}function getLastName(_0xa443c7){var _0x5273e3=_[_0x4b41('0xb')](_0xa443c7[_0x4b41('0x8')]);if(_0x5273e3&&_0x5273e3[_0x4b41('0xc')]){var _0x381d17=_0x5273e3[_0x4b41('0xc')]['split'](/\s+/);return _0x381d17['length']>0x1?_0x381d17[_0x4b41('0x13')]():'';}return'';}function getMails(_0x35f957,_0x4232bc){var _0x60f271='';for(var _0x261b29=0x0;_0x261b29<_0x4232bc[_0x4b41('0x8')]['length'];_0x261b29+=0x1){if(_0x4232bc['value'][_0x261b29][_0x4b41('0x9')]!==_0x35f957){if(!_[_0x4b41('0x14')](_0x60f271)){_0x60f271+=',';}_0x60f271+=_0x4232bc[_0x4b41('0x8')][_0x261b29][_0x4b41('0xc')]||_0x4232bc['value'][_0x261b29][_0x4b41('0x9')]||'';_0x60f271+='\x20<';_0x60f271+=_0x4232bc['value'][_0x261b29][_0x4b41('0x9')]?_0x4232bc[_0x4b41('0x8')][_0x261b29][_0x4b41('0x9')]:_0x4b41('0x15')+random[_0x4b41('0x16')](0x6)+_0x4b41('0xa');_0x60f271+='>';}}return _0x60f271;}function parseEmail(_0x70b57d,_0x21ac07,_0x12dd49){if(_0x21ac07[_0x4b41('0x17')]){var _0x2de22d=/