From: Andrea Bianco Date: Fri, 8 Oct 2021 14:34:47 +0000 (+0200) Subject: Built motion from commit 9cd2c391.|2.5.37 X-Git-Url: http://repos.xcallymotion.com/base/%22angular-material.themes.css//%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%2011license.mail?a=commitdiff_plain;h=dc61a9a49ed91470f1ce8b33e417d27911afc6df;p=motion2.git Built motion from commit 9cd2c391.|2.5.37 --- diff --git a/apidoc/api_data.js b/apidoc/api_data.js index 14eba9b..698778e 100644 --- a/apidoc/api_data.js +++ b/apidoc/api_data.js @@ -1301,6 +1301,44 @@ define({ "api": [ }, { "type": "post", + "url": "/api/auth/google", + "title": "Creates a new User token", + "examples": [ + { + "title": "Example usage:", + "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", + "type": "json" + } + ], + "name": "Local_login", + "group": "Authentication", + "parameter": { + "fields": { + "Body": [ + { + "group": "Body", + "type": "String", + "optional": false, + "field": "name", + "description": "" + }, + { + "group": "Body", + "type": "String", + "optional": false, + "field": "password", + "description": "" + } + ] + } + }, + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "version": "0.0.0", + "filename": "server/api/authGoogle/index.js", + "groupTitle": "Authentication" + }, + { + "type": "post", "url": "/api/auth/local", "title": "Creates a new User token", "examples": [ @@ -1339,12 +1377,12 @@ define({ "api": [ }, { "type": "post", - "url": "/api/auth/google", + "url": "/api/auth/activedirectory", "title": "Creates a new User token", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/auth/activedirectory -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -1372,7 +1410,7 @@ define({ "api": [ }, "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/authGoogle/index.js", + "filename": "server/api/authActiveDirectory/index.js", "groupTitle": "Authentication" }, { @@ -10888,9 +10926,9 @@ define({ "api": [ "groupTitle": "Fax_Messages" }, { - "type": "post", - "url": "/api/fax/messages", - "title": "Create message and send Fax", + "type": "put", + "url": "/api/fax/messages/{id}/reject", + "title": "Rejects message", "examples": [ { "title": "Example usage:", @@ -10900,15 +10938,15 @@ define({ "api": [ ], "name": "rejectMessage", "group": "Fax_Messages", - "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/faxMessage/index.js", "groupTitle": "Fax_Messages" }, { - "type": "put", - "url": "/api/fax/messages/{id}/reject", - "title": "Rejects message", + "type": "post", + "url": "/api/fax/messages", + "title": "Create message and send Fax", "examples": [ { "title": "Example usage:", @@ -10918,7 +10956,7 @@ define({ "api": [ ], "name": "rejectMessage", "group": "Fax_Messages", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/faxMessage/index.js", "groupTitle": "Fax_Messages" @@ -20304,24 +20342,6 @@ define({ "api": [ }, { "type": "get", - "url": "/api/realtime/agents", - "title": "Gets realtime agents info", - "examples": [ - { - "title": "Example usage:", - "content": "curl https://{domain}/api/realtime/agents -v -u {name}:{password} -X GET", - "type": "json" - } - ], - "name": "getAgents", - "group": "Realtime", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", - "version": "0.0.0", - "filename": "server/api/realtime/index.js", - "groupTitle": "Realtime" - }, - { - "type": "get", "url": "/api/realtime/queues", "title": "Gets realtime queues info", "examples": [ @@ -22869,12 +22889,12 @@ define({ "api": [ }, { "type": "post", - "url": "/api/sms/messages/{id}/status", + "url": "/api/sms/accounts/{id}/status", "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], @@ -22882,41 +22902,41 @@ define({ "api": [ "group": "Sms_Accounts", "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/smsMessage/index.js", + "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" }, { - "type": "get", - "url": "/api/sms/accounts/{id}/status", - "title": "Receive message status as get request", + "type": "post", + "url": "/api/sms/messages/{id}/status", + "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", + "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/smsAccount/index.js", + "filename": "server/api/smsMessage/index.js", "groupTitle": "Sms_Accounts" }, { - "type": "post", + "type": "get", "url": "/api/sms/accounts/{id}/status", - "title": "Receive message status", + "title": "Receive message status as get request", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" @@ -26258,12 +26278,12 @@ define({ "api": [ }, { "type": "delete", - "url": "/api/voice/Prefixes/{id}/teams", - "title": "Remove teams from a voice prefix", + "url": "/api/voice/queues/{id}/teams", + "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26271,17 +26291,17 @@ define({ "api": [ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/voicePrefix/index.js", + "filename": "server/api/voiceQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/openchannel/queues/{id}/teams", - "title": "Remove teams from a queue", + "url": "/api/voice/Prefixes/{id}/teams", + "title": "Remove teams from a voice prefix", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26289,17 +26309,17 @@ define({ "api": [ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/openchannelQueue/index.js", + "filename": "server/api/voicePrefix/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/chat/queues/{id}/teams", + "url": "/api/openchannel/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26307,7 +26327,7 @@ define({ "api": [ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/chatQueue/index.js", + "filename": "server/api/openchannelQueue/index.js", "groupTitle": "Teams" }, { @@ -26330,12 +26350,12 @@ define({ "api": [ }, { "type": "delete", - "url": "/api/fax/queues/{id}/teams", + "url": "/api/chat/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26343,17 +26363,17 @@ define({ "api": [ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/faxQueue/index.js", + "filename": "server/api/chatQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/voice/queues/{id}/teams", + "url": "/api/fax/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26361,7 +26381,7 @@ define({ "api": [ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/voiceQueue/index.js", + "filename": "server/api/faxQueue/index.js", "groupTitle": "Teams" }, { @@ -34369,12 +34389,12 @@ define({ "api": [ }, { "type": "post", - "url": "/api/webbar/unhold", - "title": "unhold webrtc call", + "url": "/api/webbar/hold", + "title": "hold webrtc call", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -34386,7 +34406,7 @@ define({ "api": [ { "group": "Body", "type": "String", - "optional": false, + "optional": true, "field": "sessionId", "description": "" }, @@ -34407,12 +34427,12 @@ define({ "api": [ }, { "type": "post", - "url": "/api/webbar/hold", - "title": "hold webrtc call", + "url": "/api/webbar/unhold", + "title": "unhold webrtc call", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -34424,7 +34444,7 @@ define({ "api": [ { "group": "Body", "type": "String", - "optional": true, + "optional": false, "field": "sessionId", "description": "" }, diff --git a/apidoc/api_data.json b/apidoc/api_data.json index 83294f5..89244b0 100644 --- a/apidoc/api_data.json +++ b/apidoc/api_data.json @@ -1301,6 +1301,44 @@ }, { "type": "post", + "url": "/api/auth/google", + "title": "Creates a new User token", + "examples": [ + { + "title": "Example usage:", + "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", + "type": "json" + } + ], + "name": "Local_login", + "group": "Authentication", + "parameter": { + "fields": { + "Body": [ + { + "group": "Body", + "type": "String", + "optional": false, + "field": "name", + "description": "" + }, + { + "group": "Body", + "type": "String", + "optional": false, + "field": "password", + "description": "" + } + ] + } + }, + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "version": "0.0.0", + "filename": "server/api/authGoogle/index.js", + "groupTitle": "Authentication" + }, + { + "type": "post", "url": "/api/auth/local", "title": "Creates a new User token", "examples": [ @@ -1339,12 +1377,12 @@ }, { "type": "post", - "url": "/api/auth/google", + "url": "/api/auth/activedirectory", "title": "Creates a new User token", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/auth/activedirectory -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -1372,7 +1410,7 @@ }, "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/authGoogle/index.js", + "filename": "server/api/authActiveDirectory/index.js", "groupTitle": "Authentication" }, { @@ -10888,9 +10926,9 @@ "groupTitle": "Fax_Messages" }, { - "type": "post", - "url": "/api/fax/messages", - "title": "Create message and send Fax", + "type": "put", + "url": "/api/fax/messages/{id}/reject", + "title": "Rejects message", "examples": [ { "title": "Example usage:", @@ -10900,15 +10938,15 @@ ], "name": "rejectMessage", "group": "Fax_Messages", - "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/faxMessage/index.js", "groupTitle": "Fax_Messages" }, { - "type": "put", - "url": "/api/fax/messages/{id}/reject", - "title": "Rejects message", + "type": "post", + "url": "/api/fax/messages", + "title": "Create message and send Fax", "examples": [ { "title": "Example usage:", @@ -10918,7 +10956,7 @@ ], "name": "rejectMessage", "group": "Fax_Messages", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/faxMessage/index.js", "groupTitle": "Fax_Messages" @@ -20304,24 +20342,6 @@ }, { "type": "get", - "url": "/api/realtime/agents", - "title": "Gets realtime agents info", - "examples": [ - { - "title": "Example usage:", - "content": "curl https://{domain}/api/realtime/agents -v -u {name}:{password} -X GET", - "type": "json" - } - ], - "name": "getAgents", - "group": "Realtime", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", - "version": "0.0.0", - "filename": "server/api/realtime/index.js", - "groupTitle": "Realtime" - }, - { - "type": "get", "url": "/api/realtime/queues", "title": "Gets realtime queues info", "examples": [ @@ -22869,12 +22889,12 @@ }, { "type": "post", - "url": "/api/sms/messages/{id}/status", + "url": "/api/sms/accounts/{id}/status", "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], @@ -22882,41 +22902,41 @@ "group": "Sms_Accounts", "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/smsMessage/index.js", + "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" }, { - "type": "get", - "url": "/api/sms/accounts/{id}/status", - "title": "Receive message status as get request", + "type": "post", + "url": "/api/sms/messages/{id}/status", + "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", + "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/smsAccount/index.js", + "filename": "server/api/smsMessage/index.js", "groupTitle": "Sms_Accounts" }, { - "type": "post", + "type": "get", "url": "/api/sms/accounts/{id}/status", - "title": "Receive message status", + "title": "Receive message status as get request", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "

Motion will return a HTTP status code 201 upon success.

Motion renders the resulting JSON representation in the response body.

", + "description": "

Motion will return a HTTP status code 200 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" @@ -26258,12 +26278,12 @@ }, { "type": "delete", - "url": "/api/voice/Prefixes/{id}/teams", - "title": "Remove teams from a voice prefix", + "url": "/api/voice/queues/{id}/teams", + "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26271,17 +26291,17 @@ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/voicePrefix/index.js", + "filename": "server/api/voiceQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/openchannel/queues/{id}/teams", - "title": "Remove teams from a queue", + "url": "/api/voice/Prefixes/{id}/teams", + "title": "Remove teams from a voice prefix", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26289,17 +26309,17 @@ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/openchannelQueue/index.js", + "filename": "server/api/voicePrefix/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/chat/queues/{id}/teams", + "url": "/api/openchannel/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26307,7 +26327,7 @@ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/chatQueue/index.js", + "filename": "server/api/openchannelQueue/index.js", "groupTitle": "Teams" }, { @@ -26330,12 +26350,12 @@ }, { "type": "delete", - "url": "/api/fax/queues/{id}/teams", + "url": "/api/chat/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26343,17 +26363,17 @@ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/faxQueue/index.js", + "filename": "server/api/chatQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/voice/queues/{id}/teams", + "url": "/api/fax/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26361,7 +26381,7 @@ "group": "Teams", "description": "

Motion will return a HTTP status code 204 upon success. Motion return a HTTP status code 404 if the corresponding record could not be located.

Motion renders the resulting JSON representation in the response body.

", "version": "0.0.0", - "filename": "server/api/voiceQueue/index.js", + "filename": "server/api/faxQueue/index.js", "groupTitle": "Teams" }, { @@ -34369,12 +34389,12 @@ }, { "type": "post", - "url": "/api/webbar/unhold", - "title": "unhold webrtc call", + "url": "/api/webbar/hold", + "title": "hold webrtc call", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -34386,7 +34406,7 @@ { "group": "Body", "type": "String", - "optional": false, + "optional": true, "field": "sessionId", "description": "" }, @@ -34407,12 +34427,12 @@ }, { "type": "post", - "url": "/api/webbar/hold", - "title": "hold webrtc call", + "url": "/api/webbar/unhold", + "title": "unhold webrtc call", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", + "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST", "type": "json" } ], @@ -34424,7 +34444,7 @@ { "group": "Body", "type": "String", - "optional": true, + "optional": false, "field": "sessionId", "description": "" }, diff --git a/apidoc/api_project.js b/apidoc/api_project.js index f5b3383..ec8c8c2 100644 --- a/apidoc/api_project.js +++ b/apidoc/api_project.js @@ -1,6 +1,6 @@ define({ "name": "xCALLY Motion API", - "version": "2.5.36", + "version": "2.5.37", "description": "Thank you for choosing xCALLY MOTION, one of the first Omni Channel solution integrated with AsteriskTM and the most innovative real time solutions available on the market.", "title": "xCALLY MOTION API", "header": { @@ -17,7 +17,7 @@ define({ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2021-10-08T13:29:41.501Z", + "time": "2021-10-08T14:21:13.958Z", "url": "http://apidocjs.com", "version": "0.24.0" } diff --git a/apidoc/api_project.json b/apidoc/api_project.json index 8776d1a..c138824 100644 --- a/apidoc/api_project.json +++ b/apidoc/api_project.json @@ -1,6 +1,6 @@ { "name": "xCALLY Motion API", - "version": "2.5.36", + "version": "2.5.37", "description": "Thank you for choosing xCALLY MOTION, one of the first Omni Channel solution integrated with AsteriskTM and the most innovative real time solutions available on the market.", "title": "xCALLY MOTION API", "header": { @@ -17,7 +17,7 @@ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2021-10-08T13:29:41.501Z", + "time": "2021-10-08T14:21:13.958Z", "url": "http://apidocjs.com", "version": "0.24.0" } diff --git a/package.json b/package.json index 7fc4a60..2418f9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "motion", - "version": "2.5.36", + "version": "2.5.37", "description": "xCALLY Motion is the new Realtime asynchronous solution for your multichannel contact center over Asterisk.", "main": "server/app.js", "engines": { @@ -35,7 +35,7 @@ "license": "EULA", "scripts": { "start": "nodemon server/app.js", - "js-beautify": "js-beautify `node -p \"require('glob').sync('./**/*.{js,html}', { nodir: true, ignore: ['./node_modules/**', './client/bower_components/**', './bower_components/**', './client/assets/**', './snippet/**', './dist/**', './.tmp/**', './server/files/**'] }).join('\\n')\"`", + "js-beautify": "js-beautify `node -p \"require('glob').sync('./**/*.{js,html}', { nodir: true, ignore: ['./node_modules/**', './client/bower_components/**', './bower_components/**', './client/assets/**', './snippet/**', './dist/**', './.tmp/**'] }).join('\\n')\"`", "eslint:check": "eslint .", "eslint:fix": "eslint --fix .", "prettier:check": "prettier --check './**/*'", @@ -44,6 +44,7 @@ "test": "mocha server/test --timeout 5000" }, "dependencies": { + "activedirectory2": "2.1.0", "apiai-promise": "github:gcareri/apiai-promise", "archiver": "2.1.1", "asterisk-manager": "0.1.16", @@ -57,8 +58,8 @@ "connect-timeout": "1.9.0", "cookie-parser": "1.4.5", "cors": "2.8.5", - "cron-job-manager": "1.0.7", "crypto-js": "3.1.9-1", + "cron-job-manager": "1.0.7", "desk.js": "0.1.4", "dialogflow": "0.8.2", "ejs": "2.7.4", diff --git a/public/app/login/i18n/en.json b/public/app/login/i18n/en.json index 8a25905..78f3f74 100644 --- a/public/app/login/i18n/en.json +++ b/public/app/login/i18n/en.json @@ -12,6 +12,7 @@ "LOG_IN": "LOG IN", "OR": "OR", "WITH_GOOGLE": "Log in with Google", + "WITH_AD": "Log in with Active Directory", "WITH_FACEBOOK": "Log in with Facebook", "DONT_HAVE_ACCOUNT": "No account?", "CREATE_ACCOUNT": "Create an account", diff --git a/public/app/main/apps/mail/i18n/en.json b/public/app/main/apps/mail/i18n/en.json index 7a1ec06..6183ea9 100644 --- a/public/app/main/apps/mail/i18n/en.json +++ b/public/app/main/apps/mail/i18n/en.json @@ -61,7 +61,7 @@ "UNPAUSE": "End Pause", "DEFAULT_PAUSE": "Default pause", "LOGOUT": "Logout", - "AGENTADD_QUEUE": "Add Agent To Email Queue", + "AGENTADD_QUEUE": "Add agent to Email queue", "VOICE": "Voice", "CHAT": "Chat", "SMS": "Sms", diff --git a/public/app/main/apps/openchannel/i18n/en.json b/public/app/main/apps/openchannel/i18n/en.json index 8093eec..49fbeed 100644 --- a/public/app/main/apps/openchannel/i18n/en.json +++ b/public/app/main/apps/openchannel/i18n/en.json @@ -240,7 +240,7 @@ "PHONE_STATUS": "Phone Status", "PAUSE": "Pause", "LOGOUT": "Logout", - "AGENTADD_QUEUE": "Add Agent To Open Channel Queue", + "AGENTADD_QUEUE": "Add agent to Open Channel queue", "UNPAUSE": "End Pause", "DEFAULT_PAUSE": "Default pause", "LOGGED_IN": "Logged in", diff --git a/public/app/main/apps/settings/i18n/en.json b/public/app/main/apps/settings/i18n/en.json index aa1bc8a..ab6b455 100644 --- a/public/app/main/apps/settings/i18n/en.json +++ b/public/app/main/apps/settings/i18n/en.json @@ -200,6 +200,7 @@ "SMS_INTERACTIONS_RELOAD_TIMEOUT": "SMS interactions reload timeout", "WHATSAPP_INTERACTIONS_RELOAD_TIMEOUT": "WhatsApp Connector interactions reload timeout", "STOP_RECORDING_ON_VOICE_CALL_TRANSFER": "Stop recording on voice call transfer", + "AD_SSO_ENABLED": "Active Directory SSO Enabled", "HELP": { "DEFAULTSCREENRECORDINGPATH": "Enter the path where to store screen recording files on the Agent computer (leave empty for default Video Folder path)", "RTLSUPPORT": "Enables the RTL Support for Arabic, Persian and Hebrew languages", diff --git a/public/app/main/apps/sms/i18n/en.json b/public/app/main/apps/sms/i18n/en.json index 797230c..9f9a57b 100644 --- a/public/app/main/apps/sms/i18n/en.json +++ b/public/app/main/apps/sms/i18n/en.json @@ -273,7 +273,7 @@ "PHONE_STATUS": "Phone Status", "PAUSE": "Pause", "LOGOUT": "Logout", - "AGENTADD_QUEUE": "Add Agent To SMS Queue", + "AGENTADD_QUEUE": "Add agent to SMS queue", "UNPAUSE": "End Pause", "DEFAULT_PAUSE": "Default pause", "LOGGED_IN": "Logged in", diff --git a/public/app/main/apps/staff/i18n/ar.json b/public/app/main/apps/staff/i18n/ar.json index 2513166..932e20c 100644 --- a/public/app/main/apps/staff/i18n/ar.json +++ b/public/app/main/apps/staff/i18n/ar.json @@ -126,13 +126,13 @@ "AGENTADD_TEAM": "إضافة ممثل خدمة إلى فريق", "ALLOWCODECS": "السماح بالاكواد", "ALL_MODULES_AVAILABLE": "جميع الوحدات المتاحة", - "ALL_CHAT_QUEUES": " جميع قوائم الدردشة الواردة", - "ALL_FAX_QUEUES": "جميع قوائم انتظار الفاكس الواردة", - "ALL_MAIL_QUEUES": "كل قوائم البريد الإلكتروني الوارد", - "ALL_OPENCHANNEL_QUEUES": "جميع قوائم انتظار القنوات المفتوحة الواردة", - "ALL_SMS_QUEUES": "جميع قوائم الرسائل القصيرة الواردة", - "ALL_VOICE_QUEUES": "كل قوائم انتظار الصوت الواردة", - "ALL_QUEUE_CAMPAIGNS": "جميع قوائم انتظار المكالمات الصادرة", + "ALL_QUEUES_CHAT_INBOUND": " جميع قوائم الدردشة الواردة", + "ALL_QUEUES_FAX_INBOUND": "جميع قوائم انتظار الفاكس الواردة", + "ALL_QUEUES_MAIL_INBOUND": "كل قوائم البريد الإلكتروني الوارد", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "جميع قوائم انتظار القنوات المفتوحة الواردة", + "ALL_QUEUES_SMS_INBOUND": "جميع قوائم الرسائل القصيرة الواردة", + "ALL_QUEUES_VOICE_INBOUND": "كل قوائم انتظار الصوت الواردة", + "ALL_QUEUES_VOICE_OUTBOUND": "جميع قوائم انتظار المكالمات الصادرة", "ALL_TEAMS": "جميع الفرق", "AUTOANSWER": "رد ألي", "AUTOINTERNAL": "توليد تلقائي للرقم الداخلي", @@ -184,13 +184,13 @@ "PERMISSIONS": "أذونات", "PERSONAL_INFO": "معلومات شخصية", "PICKUPGROUP": "مجموعة الرد على المكالمات", - "ADD_AGENT_TO_CHAT_QUEUES": "إضافة ممثل خدمة إلى قوائم انتظار الدردشةالواردة", - "ADD_AGENT_TO_FAX_QUEUES": "إضافة ممثل خدمة إلى قوائم انتظار الفاكس الواردة", - "ADD_AGENT_TO_MAIL_QUEUES": "إضافة ممثل خدمة إلى قوائم البريد الإلكتروني الوارد", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "إضافة ممثل خدمة لفتح قائمة انتظار القنوات الواردة", - "ADD_AGENT_TO_SMS_QUEUES": "إضافة ممثل خدمة إلى قوائم انتظار SMS", - "ADD_AGENT_TO_VOICE_QUEUES": "إضافة ممثل خدمة إلى قوائم انتظار الصوت الوارد", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "إضافة ممثل خدمة لحملات المكالمات الصادرة", + "QUEUEADD_AGENT_CHAT_INBOUND": "إضافة ممثل خدمة إلى قوائم انتظار الدردشةالواردة", + "QUEUEADD_AGENT_FAX_INBOUND": "إضافة ممثل خدمة إلى قوائم انتظار الفاكس الواردة", + "QUEUEADD_AGENT_MAIL_INBOUND": "إضافة ممثل خدمة إلى قوائم البريد الإلكتروني الوارد", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "إضافة ممثل خدمة لفتح قائمة انتظار القنوات الواردة", + "QUEUEADD_AGENT_SMS_INBOUND": "إضافة ممثل خدمة إلى قوائم انتظار SMS", + "QUEUEADD_AGENT_VOICE_INBOUND": "إضافة ممثل خدمة إلى قوائم انتظار الصوت الوارد", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "إضافة ممثل خدمة لحملات المكالمات الصادرة", "QUEUEADD_USER_CHAT_INBOUND": "إضافة مستخدم إلى قوائم الدردشة", "QUEUEADD_USER_FAX_INBOUND": "إضافة مستخدم إلى قوائم انتظار الفاكس", "QUEUEADD_USER_MAIL_INBOUND": "إضافة مستخدم إلى قوائم البريد الإلكتروني", @@ -203,13 +203,13 @@ "ROLE": "وظيفة", "ROWSPERPAGE": "صفوف لكل صفحة", "SELECTED_AGENTS": "ممثل خدمة_مختار", - "SELECTED_CHAT_QUEUES": "قوائم انتظار الدردشة المحددة", - "SELECTED_FAX_QUEUES": "قوائم انتظار الفاكس المحددة", - "SELECTED_MAIL_QUEUES": "قوائم انتظار البريد الإلكتروني المحددة", - "SELECTED_OPENCHANNEL_QUEUES": "قوائم محددة فتح القنوات المفتوحة", - "SELECTED_SMS_QUEUES": "قوائم انتظار الرسائل القصيرة المختارة", - "SELECTED_VOICE_QUEUES": "قوائم الانتظار الصوتية المحددة", - "SELECTED_QUEUE_CAMPAIGNS": "حملات قائمة الانتظار المحددة", + "SELECTED_QUEUES_CHAT_INBOUND": "قوائم انتظار الدردشة المحددة", + "SELECTED_QUEUES_FAX_INBOUND": "قوائم انتظار الفاكس المحددة", + "SELECTED_QUEUES_MAIL_INBOUND": "قوائم انتظار البريد الإلكتروني المحددة", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "قوائم محددة فتح القنوات المفتوحة", + "SELECTED_QUEUES_SMS_INBOUND": "قوائم انتظار الرسائل القصيرة المختارة", + "SELECTED_QUEUES_VOICE_INBOUND": "قوائم الانتظار الصوتية المحددة", + "SELECTED_QUEUES_VOICE_OUTBOUND": "حملات قائمة الانتظار المحددة", "SELECTED_TEAMS": "فرق مختارة", "SETTINGS": "إعدادات", "SHOWWEBCONTROL": "ادارة عرض الويب", @@ -339,12 +339,12 @@ "BLOCKED": "مقفل", "DISABLED": "المعطلة", "REGENERATE": "تجديد", - "ALL_WHATSAPP_QUEUES": "جميع قوائم انتظار WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "جميع قوائم انتظار WhatsApp", "ALL_WHATSAPPACCOUNTS": "جميع حسابات WhatsApp", "ALL_WHATSAPPQUEUES": "جميع قوائم انتظار Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "إضافة عامل إلى قوائم انتظار WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "إضافة عامل إلى قوائم انتظار WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "إضافة المستخدم إلى قوائم انتظار WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "قوائم انتظار WhatsApp المحددة", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "قوائم انتظار WhatsApp المحددة", "SELECTED_WHATSAPPACCOUNTS": "حسابات WhatsApp المحددة", "SELECTED_WHATSAPPQUEUES": "قوائم انتظار WhatsApp المحددة", "USERADD_WHATSAPPACCOUNTS": "أضف حساب WhatsApp إلى المستخدم", diff --git a/public/app/main/apps/staff/i18n/cs.json b/public/app/main/apps/staff/i18n/cs.json index fac07a2..a276dc9 100644 --- a/public/app/main/apps/staff/i18n/cs.json +++ b/public/app/main/apps/staff/i18n/cs.json @@ -195,13 +195,13 @@ "ALL_MODULES_AVAILABLE": "All modules available", "CALLGROUP": "Call Group", "PICKUPGROUP": "Pickup Group", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Add Agent to Queue Campaigns", - "ADD_AGENT_TO_VOICE_QUEUES": "Add Agent to Voice Queues", - "ADD_AGENT_TO_CHAT_QUEUES": "Add Agent to Chat Queues", - "ADD_AGENT_TO_MAIL_QUEUES": "Add Agent to Email Queues", - "ADD_AGENT_TO_SMS_QUEUES": "Add Agent to SMS Queues", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Add Agent to Open Channel Queues", - "ADD_AGENT_TO_FAX_QUEUES": "Add Agent to Fax Queues", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Add Agent to Queue Campaigns", + "QUEUEADD_AGENT_VOICE_INBOUND": "Add Agent to Voice Queues", + "QUEUEADD_AGENT_CHAT_INBOUND": "Add Agent to Chat Queues", + "QUEUEADD_AGENT_MAIL_INBOUND": "Add Agent to Email Queues", + "QUEUEADD_AGENT_SMS_INBOUND": "Add Agent to SMS Queues", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Add Agent to Open Channel Queues", + "QUEUEADD_AGENT_FAX_INBOUND": "Add Agent to Fax Queues", "QUEUEADD_USER_VOICE_INBOUND": "Add User to Voice Queues", "QUEUEADD_USER_CHAT_INBOUND": "Add User to Chat Queues", "QUEUEADD_USER_MAIL_INBOUND": "Add User to Email Queues", @@ -211,20 +211,20 @@ "ALL_TEAMS": "All Teams", "SELECTED_TEAMS": "Selected Teams", "SELECTED_AGENTS": "Selected Agents", - "ALL_QUEUE_CAMPAIGNS": "All Queue Campaigns", - "SELECTED_QUEUE_CAMPAIGNS": "Selected Queue Campaigns", - "ALL_VOICE_QUEUES": "All Voice Queues", - "SELECTED_VOICE_QUEUES": "Selected Voice Queues", - "ALL_CHAT_QUEUES": "All Chat Queues", - "SELECTED_CHAT_QUEUES": "Selected Chat Queues", - "ALL_MAIL_QUEUES": "All Email Queues", - "SELECTED_MAIL_QUEUES": "Selected Email Queues", - "ALL_SMS_QUEUES": "All SMS Queues", - "SELECTED_SMS_QUEUES": "Selected SMS Queues", - "ALL_OPENCHANNEL_QUEUES": "All Open Channel Queues", - "SELECTED_OPENCHANNEL_QUEUES": "Selected Open Channel Queues", - "ALL_FAX_QUEUES": "All Fax Queues", - "SELECTED_FAX_QUEUES": "Selected Fax Queues", + "ALL_QUEUES_VOICE_OUTBOUND": "All Queue Campaigns", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Selected Queue Campaigns", + "ALL_QUEUES_VOICE_INBOUND": "All Voice Queues", + "SELECTED_QUEUES_VOICE_INBOUND": "Selected Voice Queues", + "ALL_QUEUES_CHAT_INBOUND": "All Chat Queues", + "SELECTED_QUEUES_CHAT_INBOUND": "Selected Chat Queues", + "ALL_QUEUES_MAIL_INBOUND": "All Email Queues", + "SELECTED_QUEUES_MAIL_INBOUND": "Selected Email Queues", + "ALL_QUEUES_SMS_INBOUND": "All SMS Queues", + "SELECTED_QUEUES_SMS_INBOUND": "Selected SMS Queues", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "All Open Channel Queues", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Selected Open Channel Queues", + "ALL_QUEUES_FAX_INBOUND": "All Fax Queues", + "SELECTED_QUEUES_FAX_INBOUND": "Selected Fax Queues", "VOICEMAIL": "Voicemail", "SHOWWEBCONTROL": "Typology", "PAGE": "Page", @@ -293,7 +293,7 @@ "ALL_OPENCHANNELACCOUNTS": "All Open Channel Accounts", "SELECTED_OPENCHANNELACCOUNTS": "Selected Open Channel Accounts", "ADD_USERPROFILE": "Přidat uživatelský profil", - "ALL_WHATSAPP_QUEUES": "Všechny fronty WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Všechny fronty WhatsApp", "ALL_WHATSAPPACCOUNTS": "Všechny účty WhatsApp", "ALL_WHATSAPPQUEUES": "Všechny fronty Whataspp", "APIKEY": "Klíč API", @@ -331,7 +331,7 @@ "PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE": "Neoprávněné jednání", "PERMISSIONS_WARNING_CLOSE": "Máte neuložené změny. Opravdu chcete ukončit bez uložení?", "PERMISSIONS_WARNING_ENABLE_ALL": "Všechny {{sectionName}} subsekce a jejich zdroje budou povoleny. Jste si jistý, že chcete pokračovat?", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Přidejte agenta do front WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Přidejte agenta do front WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Přidat uživatele do front WhatsApp", "QUEUES_ASSOCIATION": "{{channel}} Asociace front", "READ_PERMISSION": "Číst", @@ -339,7 +339,7 @@ "REMOVE": "Odstranit", "REPORT_TYPE": "Typ přehledu", "SECTIONS": "Sekce", - "SELECTED_WHATSAPP_QUEUES": "Vybrané fronty WhatsApp", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Vybrané fronty WhatsApp", "SELECTED_WHATSAPPACCOUNTS": "Vybrané účty WhatsApp", "SELECTED_WHATSAPPQUEUES": "Vybrané fronty WhatsApp", "SUMMARY": "souhrn", diff --git a/public/app/main/apps/staff/i18n/da.json b/public/app/main/apps/staff/i18n/da.json index 963c618..b52970f 100644 --- a/public/app/main/apps/staff/i18n/da.json +++ b/public/app/main/apps/staff/i18n/da.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Alle moduler er tilgængelige", "CALLGROUP": "Gruppenummer", "PICKUPGROUP": "Opkaldshentningsgruppe", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Tilføj til kø Agent kampagner", - "ADD_AGENT_TO_VOICE_QUEUES": "Tilføj Agent til Voice køer", - "ADD_AGENT_TO_CHAT_QUEUES": "Tilføj Agent til Chat køer", - "ADD_AGENT_TO_MAIL_QUEUES": "Tilføj Agent til Postkøer", - "ADD_AGENT_TO_SMS_QUEUES": "Tilføj Agent til SMS KØER", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Tilføj Agent åbne kanal køer", - "ADD_AGENT_TO_FAX_QUEUES": "Tilføj Agent til Faxkøer", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Tilføj til kø Agent kampagner", + "QUEUEADD_AGENT_VOICE_INBOUND": "Tilføj Agent til Voice køer", + "QUEUEADD_AGENT_CHAT_INBOUND": "Tilføj Agent til Chat køer", + "QUEUEADD_AGENT_MAIL_INBOUND": "Tilføj Agent til Postkøer", + "QUEUEADD_AGENT_SMS_INBOUND": "Tilføj Agent til SMS KØER", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Tilføj Agent åbne kanal køer", + "QUEUEADD_AGENT_FAX_INBOUND": "Tilføj Agent til Faxkøer", "QUEUEADD_USER_VOICE_INBOUND": "Tilføj brugeren til Voice køer", "QUEUEADD_USER_CHAT_INBOUND": "Tilføje en bruger til Chat køer", "QUEUEADD_USER_MAIL_INBOUND": "Tilføj brugeren til Postkøer", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Alle hold", "SELECTED_TEAMS": "Udvalgte Teams", "SELECTED_AGENTS": "Udvalgte agenter", - "ALL_QUEUE_CAMPAIGNS": "Alle Kø kampagner", - "SELECTED_QUEUE_CAMPAIGNS": "Udvalgte Kampagner kø", - "ALL_VOICE_QUEUES": "Alle Voice køer", - "SELECTED_VOICE_QUEUES": "Valgt Voice køer", - "ALL_CHAT_QUEUES": "Alle Chat køer", - "SELECTED_CHAT_QUEUES": "Udvalgte Chat køer", - "ALL_MAIL_QUEUES": "Alle Postkøer", - "SELECTED_MAIL_QUEUES": "Udvalgte Postkøer", - "ALL_SMS_QUEUES": "Alle SMS-køer", - "SELECTED_SMS_QUEUES": "Udvalgte SMS KØER", - "ALL_OPENCHANNEL_QUEUES": "Alle åbne kanal køer", - "SELECTED_OPENCHANNEL_QUEUES": "Valgte en åben kanal køer", - "ALL_FAX_QUEUES": "Alle Faxkøer", - "SELECTED_FAX_QUEUES": "Udvalgte Faxkøer", + "ALL_QUEUES_VOICE_OUTBOUND": "Alle Kø kampagner", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Udvalgte Kampagner kø", + "ALL_QUEUES_VOICE_INBOUND": "Alle Voice køer", + "SELECTED_QUEUES_VOICE_INBOUND": "Valgt Voice køer", + "ALL_QUEUES_CHAT_INBOUND": "Alle Chat køer", + "SELECTED_QUEUES_CHAT_INBOUND": "Udvalgte Chat køer", + "ALL_QUEUES_MAIL_INBOUND": "Alle Postkøer", + "SELECTED_QUEUES_MAIL_INBOUND": "Udvalgte Postkøer", + "ALL_QUEUES_SMS_INBOUND": "Alle SMS-køer", + "SELECTED_QUEUES_SMS_INBOUND": "Udvalgte SMS KØER", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alle åbne kanal køer", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Valgte en åben kanal køer", + "ALL_QUEUES_FAX_INBOUND": "Alle Faxkøer", + "SELECTED_QUEUES_FAX_INBOUND": "Udvalgte Faxkøer", "VOICEMAIL": "Telefonsvarer", "SHOWWEBCONTROL": "Vis Web Control", "PAGE": "Page", @@ -339,12 +339,12 @@ "BLOCKED": "Låst", "DISABLED": "Deaktiveret", "REGENERATE": "Regenerer", - "ALL_WHATSAPP_QUEUES": "Alle WhatsApp-køer", + "ALL_QUEUES_WHATSAPP_INBOUND": "Alle WhatsApp-køer", "ALL_WHATSAPPACCOUNTS": "Alle WhatsApp-konti", "ALL_WHATSAPPQUEUES": "Alle Whataspp-køer", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Føj agent til WhatsApp-køer", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Føj agent til WhatsApp-køer", "QUEUEADD_USER_WHATSAPP_INBOUND": "Føj bruger til WhatsApp-køer", - "SELECTED_WHATSAPP_QUEUES": "Valgte WhatsApp-køer", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Valgte WhatsApp-køer", "SELECTED_WHATSAPPACCOUNTS": "Valgte WhatsApp-konti", "SELECTED_WHATSAPPQUEUES": "Valgte WhatsApp-køer", "USERADD_WHATSAPPACCOUNTS": "Føj WhatsApp-konto til brugeren", diff --git a/public/app/main/apps/staff/i18n/de.json b/public/app/main/apps/staff/i18n/de.json index d07b3e6..ee88755 100644 --- a/public/app/main/apps/staff/i18n/de.json +++ b/public/app/main/apps/staff/i18n/de.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Alle Module verfügbar", "CALLGROUP": "Gruppenanruf", "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", - "ADD_AGENT_TO_MAIL_QUEUES": "Agenten hinzufügen - E-Mail-Warteschlangen", - "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_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", "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", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Alle Teams", "SELECTED_TEAMS": "Ausgewählte Teams", "SELECTED_AGENTS": "Ausgewählte Agenten", - "ALL_QUEUE_CAMPAIGNS": "Alle Warteschlangen - ausgehende Anrufe", - "SELECTED_QUEUE_CAMPAIGNS": "Gewählte Warteschlangen - ausgehende Anrufe", - "ALL_VOICE_QUEUES": "Alle Warteschlangen - eingehende Anrufe", - "SELECTED_VOICE_QUEUES": "Ausgewählte Warteschlangen - eingehende Anrufe", - "ALL_CHAT_QUEUES": "Alle Warteschlangen - Chat", - "SELECTED_CHAT_QUEUES": "Ausgewählte Warteschlangen - Chat", - "ALL_MAIL_QUEUES": "Alle Warteschlangen - E-Mail", - "SELECTED_MAIL_QUEUES": "Ausgewählte Warteschlangen - E-Mail", - "ALL_SMS_QUEUES": "Alle Warteschlangen - SMS", - "SELECTED_SMS_QUEUES": "Ausgewählte Warteschlangen - SMS", - "ALL_OPENCHANNEL_QUEUES": "Alle Warteschlangen - offener Kanal", - "SELECTED_OPENCHANNEL_QUEUES": "Ausgewählte Warteschlangen - offener Kanal", - "ALL_FAX_QUEUES": "Alle Warteschlangen - Fax", - "SELECTED_FAX_QUEUES": "Ausgewählte Warteschlangen - Fax", + "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", "VOICEMAIL": "Voicemail", "SHOWWEBCONTROL": "WebControl anzeigen", "PAGE": "Seite", @@ -339,12 +339,12 @@ "BLOCKED": "Gesperrt", "DISABLED": "Deaktiviert", "REGENERATE": "Erneut generieren", - "ALL_WHATSAPP_QUEUES": "Alle WhatsApp-Warteschlangen", + "ALL_QUEUES_WHATSAPP_INBOUND": "Alle WhatsApp-Warteschlangen", "ALL_WHATSAPPACCOUNTS": "Alle WhatsApp-Konten", "ALL_WHATSAPPQUEUES": "Alle Whataspp-Warteschlangen", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Agenten zu WhatsApp-Warteschlangen hinzufügen", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Agenten zu WhatsApp-Warteschlangen hinzufügen", "QUEUEADD_USER_WHATSAPP_INBOUND": "Benutzer zu WhatsApp-Warteschlangen hinzufügen", - "SELECTED_WHATSAPP_QUEUES": "Ausgewählte WhatsApp-Warteschlangen", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Ausgewählte WhatsApp-Warteschlangen", "SELECTED_WHATSAPPACCOUNTS": "Ausgewählte WhatsApp-Konten", "SELECTED_WHATSAPPQUEUES": "Ausgewählte WhatsApp-Warteschlangen", "USERADD_WHATSAPPACCOUNTS": "WhatsApp-Konto zum Benutzer hinzufügen", diff --git a/public/app/main/apps/staff/i18n/en.json b/public/app/main/apps/staff/i18n/en.json index 15d1dea..d8b0199 100644 --- a/public/app/main/apps/staff/i18n/en.json +++ b/public/app/main/apps/staff/i18n/en.json @@ -112,6 +112,8 @@ "ALLOWCODECS": "Allowed Codecs", "DISABLED": "Deactivated", "BLOCKED": "Locked", + "AD_SSO_ENABLED": "Active Directory SSO Enabled", + "AUTHENTICATION": "Authentication", "HELP": { "DISABLED": "select to deactivate / unselect to reactivate", "BLOCKED": "Lock / Unlock access", @@ -140,7 +142,8 @@ "CUSTOM_DASHBOARDS_PERMISSIONS": "Custom Dashboards permissions are managed in the Tools module", "ENABLEAUTOMATICSCREENRECORDING": "The functionality is available only for voice channel", "MASK_SENSITIVE_DATA": "Mask any sensitive data throughout the application (e.g. phone numbers and email addresses)", - "WSS_PORT": "Default: 8089" + "WSS_PORT": "Default: 8089", + "AD_SSO_ENABLED": "Login in with your Active Directory credentials" }, "NEW_PASSWORD": "New Password", "CONFIRM_PASSWORD": "Confirm Password", @@ -207,14 +210,14 @@ "ALL_MODULES_AVAILABLE": "All modules available", "CALLGROUP": "Call Group", "PICKUPGROUP": "Pickup Group", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Add Agent to Queue Campaigns", - "ADD_AGENT_TO_VOICE_QUEUES": "Add Agent to Voice Queues", - "ADD_AGENT_TO_CHAT_QUEUES": "Add Agent to Chat Queues", - "ADD_AGENT_TO_MAIL_QUEUES": "Add Agent to Email Queues", - "ADD_AGENT_TO_SMS_QUEUES": "Add Agent to SMS Queues", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Add Agent to WhatsApp Queues", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Add Agent to Open Channel Queues", - "ADD_AGENT_TO_FAX_QUEUES": "Add Agent to Fax Queues", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Add Agent to Queue Campaigns", + "QUEUEADD_AGENT_VOICE_INBOUND": "Add Agent to Voice Queues", + "QUEUEADD_AGENT_CHAT_INBOUND": "Add Agent to Chat Queues", + "QUEUEADD_AGENT_MAIL_INBOUND": "Add Agent to Email Queues", + "QUEUEADD_AGENT_SMS_INBOUND": "Add Agent to SMS Queues", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Add Agent to WhatsApp Queues", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Add Agent to Open Channel Queues", + "QUEUEADD_AGENT_FAX_INBOUND": "Add Agent to Fax Queues", "QUEUEADD_USER_VOICE_INBOUND": "Add User to Voice Queues", "QUEUEADD_USER_CHAT_INBOUND": "Add User to Chat Queues", "QUEUEADD_USER_MAIL_INBOUND": "Add User to Email Queues", @@ -225,22 +228,22 @@ "ALL_TEAMS": "All Teams", "SELECTED_TEAMS": "Selected Teams", "SELECTED_AGENTS": "Selected Agents", - "ALL_QUEUE_CAMPAIGNS": "All Queue Campaigns", - "SELECTED_QUEUE_CAMPAIGNS": "Selected Queue Campaigns", - "ALL_VOICE_QUEUES": "All Voice Queues", - "SELECTED_VOICE_QUEUES": "Selected Voice Queues", - "ALL_CHAT_QUEUES": "All Chat Queues", - "SELECTED_CHAT_QUEUES": "Selected Chat Queues", - "ALL_MAIL_QUEUES": "All Email Queues", - "SELECTED_MAIL_QUEUES": "Selected Email Queues", - "ALL_SMS_QUEUES": "All SMS Queues", - "SELECTED_SMS_QUEUES": "Selected SMS Queues", - "ALL_WHATSAPP_QUEUES": "All WhatsApp Queues", - "SELECTED_WHATSAPP_QUEUES": "Selected WhatsApp Queues", - "ALL_OPENCHANNEL_QUEUES": "All Open Channel Queues", - "SELECTED_OPENCHANNEL_QUEUES": "Selected Open Channel Queues", - "ALL_FAX_QUEUES": "All Fax Queues", - "SELECTED_FAX_QUEUES": "Selected Fax Queues", + "ALL_QUEUES_VOICE_OUTBOUND": "All Queue Campaigns", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Selected Queue Campaigns", + "ALL_QUEUES_VOICE_INBOUND": "All Voice Queues", + "SELECTED_QUEUES_VOICE_INBOUND": "Selected Voice Queues", + "ALL_QUEUES_CHAT_INBOUND": "All Chat Queues", + "SELECTED_QUEUES_CHAT_INBOUND": "Selected Chat Queues", + "ALL_QUEUES_MAIL_INBOUND": "All Email Queues", + "SELECTED_QUEUES_MAIL_INBOUND": "Selected Email Queues", + "ALL_QUEUES_SMS_INBOUND": "All SMS Queues", + "SELECTED_QUEUES_SMS_INBOUND": "Selected SMS Queues", + "ALL_QUEUES_WHATSAPP_INBOUND": "All WhatsApp Queues", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Selected WhatsApp Queues", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "All Open Channel Queues", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Selected Open Channel Queues", + "ALL_QUEUES_FAX_INBOUND": "All Fax Queues", + "SELECTED_QUEUES_FAX_INBOUND": "Selected Fax Queues", "VOICEMAIL": "Voicemail", "SHOWWEBCONTROL": "Typology", "PAGE": "Page", diff --git a/public/app/main/apps/staff/i18n/es.json b/public/app/main/apps/staff/i18n/es.json index be2c3bd..42b1c9b 100644 --- a/public/app/main/apps/staff/i18n/es.json +++ b/public/app/main/apps/staff/i18n/es.json @@ -84,12 +84,12 @@ "ALLOWCODECS": "Códecs permitidos", "ALL_AGENTS": "Todos los agentes", "ALL_MODULES_AVAILABLE": "Todos los módulos disponibles", - "ALL_CHAT_QUEUES": "Todas las colas de chat", - "ALL_FAX_QUEUES": "Todas las colas de fax", - "ALL_MAIL_QUEUES": "Todas Las Colas de Correo Electrónico", - "ALL_OPENCHANNEL_QUEUES": "Todas las colas de canales abiertos", - "ALL_SMS_QUEUES": "Todas las Colas de SMS", - "ALL_VOICE_QUEUES": "Todas las colas de voz", + "ALL_QUEUES_CHAT_INBOUND": "Todas las colas de chat", + "ALL_QUEUES_FAX_INBOUND": "Todas las colas de fax", + "ALL_QUEUES_MAIL_INBOUND": "Todas Las Colas de Correo Electrónico", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Todas las colas de canales abiertos", + "ALL_QUEUES_SMS_INBOUND": "Todas las Colas de SMS", + "ALL_QUEUES_VOICE_INBOUND": "Todas las colas de voz", "ALL_QUEUES_VOICE_OUTBOUND": "Todas Las Colas de Campañas", "ALL_TEAMS": "Todos los equipos", "ALL_USERS": "Todos los usuarios", @@ -183,13 +183,13 @@ "PHONE": "Teléfono", "PHONE_NUMBER": "Número de teléfono", "PICKUPGROUP": "Grupo de captura", - "ADD_AGENT_TO_CHAT_QUEUES": "Agregar Agente a Cola de Chat", - "ADD_AGENT_TO_FAX_QUEUES": "Agregar Agente a Cola de FAX", - "ADD_AGENT_TO_MAIL_QUEUES": "Agregar Agente a Cola de Correo Electrónico", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Agregar Agente a Cola de Canales Abiertos", - "ADD_AGENT_TO_SMS_QUEUES": "Agregar agente a cola SMS", - "ADD_AGENT_TO_VOICE_QUEUES": "Agregar Agente a cola de voz", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Agregar Agente a Colas de Campañas", + "QUEUEADD_AGENT_CHAT_INBOUND": "Agregar Agente a Cola de Chat", + "QUEUEADD_AGENT_FAX_INBOUND": "Agregar Agente a Cola de FAX", + "QUEUEADD_AGENT_MAIL_INBOUND": "Agregar Agente a Cola de Correo Electrónico", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Agregar Agente a Cola de Canales Abiertos", + "QUEUEADD_AGENT_SMS_INBOUND": "Agregar agente a cola SMS", + "QUEUEADD_AGENT_VOICE_INBOUND": "Agregar Agente a cola de voz", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Agregar Agente a Colas de Campañas", "QUEUEADD_USER_CHAT_INBOUND": "Agregar Usuario a Cola de Chat", "QUEUEADD_USER_FAX_INBOUND": "Agregar Usuario a Cola de Fax", "QUEUEADD_USER_MAIL_INBOUND": "Agregar Usuario a Cola de Correo Electrónico", @@ -210,13 +210,13 @@ "SECURITY_SUITE": "Suite de seguridad", "SELECTED": "Seleccionado", "SELECTED_AGENTS": "Agentes seleccionados", - "SELECTED_CHAT_QUEUES": "Colas de Chat seleccionadas", - "SELECTED_FAX_QUEUES": "Colas de Fax seleccionadas", - "SELECTED_MAIL_QUEUES": "Colas de Correo Electrónico seleccionadas", - "SELECTED_OPENCHANNEL_QUEUES": "Colas de Canal Abierto seleccionadas", - "SELECTED_SMS_QUEUES": "Colas SMS seleccionadas", - "SELECTED_VOICE_QUEUES": "Colas de voz seleccionadas", - "SELECTED_QUEUE_CAMPAIGNS": "Campañas de cola seleccionadas", + "SELECTED_QUEUES_CHAT_INBOUND": "Colas de Chat seleccionadas", + "SELECTED_QUEUES_FAX_INBOUND": "Colas de Fax seleccionadas", + "SELECTED_QUEUES_MAIL_INBOUND": "Colas de Correo Electrónico seleccionadas", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Colas de Canal Abierto seleccionadas", + "SELECTED_QUEUES_SMS_INBOUND": "Colas SMS seleccionadas", + "SELECTED_QUEUES_VOICE_INBOUND": "Colas de voz seleccionadas", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Campañas de cola seleccionadas", "SELECTED_TEAMS": "Equipos seleccionados", "SELECT_ALL": "Seleccionar Todo", "SELECT_NONE": "No Seleccionar", @@ -339,12 +339,12 @@ "BLOCKED": "Bloqueado", "DISABLED": "Deshabilitado", "REGENERATE": "Regenerado", - "ALL_WHATSAPP_QUEUES": "Todas las colas de WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Todas las colas de WhatsApp", "ALL_WHATSAPPACCOUNTS": "Todas las cuentas de WhatsApp", "ALL_WHATSAPPQUEUES": "Todas las colas de Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Agregar agente a las colas de WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Agregar agente a las colas de WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Agregar usuario a las colas de WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Colas de WhatsApp seleccionadas", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Colas de WhatsApp seleccionadas", "SELECTED_WHATSAPPACCOUNTS": "Cuentas de WhatsApp seleccionadas", "SELECTED_WHATSAPPQUEUES": "Colas de WhatsApp seleccionadas", "USERADD_WHATSAPPACCOUNTS": "Agregar cuenta de WhatsApp al usuario", diff --git a/public/app/main/apps/staff/i18n/et.json b/public/app/main/apps/staff/i18n/et.json index a5d5bfc..0c1d40c 100644 --- a/public/app/main/apps/staff/i18n/et.json +++ b/public/app/main/apps/staff/i18n/et.json @@ -195,13 +195,13 @@ "ALL_MODULES_AVAILABLE": "All modules available", "CALLGROUP": "Call Group", "PICKUPGROUP": "Pickup Group", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Add Agent to Queue Campaigns", - "ADD_AGENT_TO_VOICE_QUEUES": "Add Agent to Voice Queues", - "ADD_AGENT_TO_CHAT_QUEUES": "Add Agent to Chat Queues", - "ADD_AGENT_TO_MAIL_QUEUES": "Add Agent to Email Queues", - "ADD_AGENT_TO_SMS_QUEUES": "Add Agent to SMS Queues", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Add Agent to Open Channel Queues", - "ADD_AGENT_TO_FAX_QUEUES": "Add Agent to Fax Queues", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Add Agent to Queue Campaigns", + "QUEUEADD_AGENT_VOICE_INBOUND": "Add Agent to Voice Queues", + "QUEUEADD_AGENT_CHAT_INBOUND": "Add Agent to Chat Queues", + "QUEUEADD_AGENT_MAIL_INBOUND": "Add Agent to Email Queues", + "QUEUEADD_AGENT_SMS_INBOUND": "Add Agent to SMS Queues", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Add Agent to Open Channel Queues", + "QUEUEADD_AGENT_FAX_INBOUND": "Add Agent to Fax Queues", "QUEUEADD_USER_VOICE_INBOUND": "Add User to Voice Queues", "QUEUEADD_USER_CHAT_INBOUND": "Add User to Chat Queues", "QUEUEADD_USER_MAIL_INBOUND": "Add User to Email Queues", @@ -211,20 +211,20 @@ "ALL_TEAMS": "All Teams", "SELECTED_TEAMS": "Selected Teams", "SELECTED_AGENTS": "Selected Agents", - "ALL_QUEUE_CAMPAIGNS": "All Queue Campaigns", - "SELECTED_QUEUE_CAMPAIGNS": "Selected Queue Campaigns", - "ALL_VOICE_QUEUES": "All Voice Queues", - "SELECTED_VOICE_QUEUES": "Selected Voice Queues", - "ALL_CHAT_QUEUES": "All Chat Queues", - "SELECTED_CHAT_QUEUES": "Selected Chat Queues", - "ALL_MAIL_QUEUES": "All Email Queues", - "SELECTED_MAIL_QUEUES": "Selected Email Queues", - "ALL_SMS_QUEUES": "All SMS Queues", - "SELECTED_SMS_QUEUES": "Selected SMS Queues", - "ALL_OPENCHANNEL_QUEUES": "All Open Channel Queues", - "SELECTED_OPENCHANNEL_QUEUES": "Selected Open Channel Queues", - "ALL_FAX_QUEUES": "All Fax Queues", - "SELECTED_FAX_QUEUES": "Selected Fax Queues", + "ALL_QUEUES_VOICE_OUTBOUND": "All Queue Campaigns", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Selected Queue Campaigns", + "ALL_QUEUES_VOICE_INBOUND": "All Voice Queues", + "SELECTED_QUEUES_VOICE_INBOUND": "Selected Voice Queues", + "ALL_QUEUES_CHAT_INBOUND": "All Chat Queues", + "SELECTED_QUEUES_CHAT_INBOUND": "Selected Chat Queues", + "ALL_QUEUES_MAIL_INBOUND": "All Email Queues", + "SELECTED_QUEUES_MAIL_INBOUND": "Selected Email Queues", + "ALL_QUEUES_SMS_INBOUND": "All SMS Queues", + "SELECTED_QUEUES_SMS_INBOUND": "Selected SMS Queues", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "All Open Channel Queues", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Selected Open Channel Queues", + "ALL_QUEUES_FAX_INBOUND": "All Fax Queues", + "SELECTED_QUEUES_FAX_INBOUND": "Selected Fax Queues", "VOICEMAIL": "Voicemail", "SHOWWEBCONTROL": "Typology", "PAGE": "Page", @@ -293,7 +293,7 @@ "ALL_OPENCHANNELACCOUNTS": "All Open Channel Accounts", "SELECTED_OPENCHANNELACCOUNTS": "Selected Open Channel Accounts", "ADD_USERPROFILE": "Lisage kasutaja profiil", - "ALL_WHATSAPP_QUEUES": "Kõik WhatsApi järjekorrad", + "ALL_QUEUES_WHATSAPP_INBOUND": "Kõik WhatsApi järjekorrad", "ALL_WHATSAPPACCOUNTS": "Kõik WhatsApi kontod", "ALL_WHATSAPPQUEUES": "Kõik Whataspi järjekorrad", "APIKEY": "API-võti", @@ -331,7 +331,7 @@ "PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE": "Volitamata tegevus", "PERMISSIONS_WARNING_CLOSE": "Teil on salvestamata muudatusi. Kas soovite kindlasti väljuda salvestamata?", "PERMISSIONS_WARNING_ENABLE_ALL": "Kõik {{sectionName}} alajaotised ja nende ressursid lubatakse. Kas soovite kindlasti jätkata?", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Lisage agent WhatsApp'i järjekorda", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Lisage agent WhatsApp'i järjekorda", "QUEUEADD_USER_WHATSAPP_INBOUND": "Lisage kasutaja WhatsApp'i järjekorda", "QUEUES_ASSOCIATION": "{{channel}} Järjekordade liit", "READ_PERMISSION": "Loe", @@ -339,7 +339,7 @@ "REMOVE": "Eemalda", "REPORT_TYPE": "Aruande tüüp", "SECTIONS": "Sektsioonid", - "SELECTED_WHATSAPP_QUEUES": "Valitud WhatsApi järjekorrad", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Valitud WhatsApi järjekorrad", "SELECTED_WHATSAPPACCOUNTS": "Valitud WhatsApi kontod", "SELECTED_WHATSAPPQUEUES": "Valitud WhatsApi järjekorrad", "SUMMARY": "Kokkuvõte", diff --git a/public/app/main/apps/staff/i18n/fa.json b/public/app/main/apps/staff/i18n/fa.json index d0cc3b7..3b58309 100644 --- a/public/app/main/apps/staff/i18n/fa.json +++ b/public/app/main/apps/staff/i18n/fa.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "تمام ماژول ها موجود است", "CALLGROUP": "گروه تماس", "PICKUPGROUP": "گروه جمع آوری", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "عامل به صف مبارزات خود را اضافه کنید", - "ADD_AGENT_TO_VOICE_QUEUES": "عامل صفهای طولانی به صدا اضافه کنید", - "ADD_AGENT_TO_CHAT_QUEUES": "افزودن عنصر به صفهای طولانی چت روم", - "ADD_AGENT_TO_MAIL_QUEUES": "عامل صفهای طولانی به پست اضافه کنید", - "ADD_AGENT_TO_SMS_QUEUES": "افزودن به صفهای طولانی عامل SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "عامل اضافه کنید تا کانال باز صفها", - "ADD_AGENT_TO_FAX_QUEUES": "عامل صفهای طولانی به فكس را اضافه کنید", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "عامل به صف مبارزات خود را اضافه کنید", + "QUEUEADD_AGENT_VOICE_INBOUND": "عامل صفهای طولانی به صدا اضافه کنید", + "QUEUEADD_AGENT_CHAT_INBOUND": "افزودن عنصر به صفهای طولانی چت روم", + "QUEUEADD_AGENT_MAIL_INBOUND": "عامل صفهای طولانی به پست اضافه کنید", + "QUEUEADD_AGENT_SMS_INBOUND": "افزودن به صفهای طولانی عامل SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "عامل اضافه کنید تا کانال باز صفها", + "QUEUEADD_AGENT_FAX_INBOUND": "عامل صفهای طولانی به فكس را اضافه کنید", "QUEUEADD_USER_VOICE_INBOUND": "افزودن صدا به صفهای طولانی کاربر", "QUEUEADD_USER_CHAT_INBOUND": "افزودن به صفهای طولانی چت کاربر", "QUEUEADD_USER_MAIL_INBOUND": "افزودن به صفهای طولانی پست کاربر", @@ -198,20 +198,20 @@ "ALL_TEAMS": "همه تیم ها", "SELECTED_TEAMS": "تيم هاي برگزيده", "SELECTED_AGENTS": "عوامل انتخاب شده", - "ALL_QUEUE_CAMPAIGNS": "همه صف مبارزات", - "SELECTED_QUEUE_CAMPAIGNS": "توی صف مبارزات انتخابی", - "ALL_VOICE_QUEUES": "صدای همه صفها", - "SELECTED_VOICE_QUEUES": "صفهای طولانی صدای انتخاب شده", - "ALL_CHAT_QUEUES": "همه صفها چت روم", - "SELECTED_CHAT_QUEUES": "صفهای طولانی چت روم انتخاب می شود", - "ALL_MAIL_QUEUES": "همه صفها پستی", - "SELECTED_MAIL_QUEUES": "صفهای طولانی پیدا کرده انتخاب می شود", - "ALL_SMS_QUEUES": "همه صفها SMS", - "SELECTED_SMS_QUEUES": "صفهای طولانی انتخاب SMS", - "ALL_OPENCHANNEL_QUEUES": "همه صفها کانال باز", - "SELECTED_OPENCHANNEL_QUEUES": "صفهای طولانی انتخاب کانال را باز کنید", - "ALL_FAX_QUEUES": "همه صفها فكس", - "SELECTED_FAX_QUEUES": "صفهای طولانی فكس انتخاب می شود", + "ALL_QUEUES_VOICE_OUTBOUND": "همه صف مبارزات", + "SELECTED_QUEUES_VOICE_OUTBOUND": "توی صف مبارزات انتخابی", + "ALL_QUEUES_VOICE_INBOUND": "صدای همه صفها", + "SELECTED_QUEUES_VOICE_INBOUND": "صفهای طولانی صدای انتخاب شده", + "ALL_QUEUES_CHAT_INBOUND": "همه صفها چت روم", + "SELECTED_QUEUES_CHAT_INBOUND": "صفهای طولانی چت روم انتخاب می شود", + "ALL_QUEUES_MAIL_INBOUND": "همه صفها پستی", + "SELECTED_QUEUES_MAIL_INBOUND": "صفهای طولانی پیدا کرده انتخاب می شود", + "ALL_QUEUES_SMS_INBOUND": "همه صفها SMS", + "SELECTED_QUEUES_SMS_INBOUND": "صفهای طولانی انتخاب SMS", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "همه صفها کانال باز", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "صفهای طولانی انتخاب کانال را باز کنید", + "ALL_QUEUES_FAX_INBOUND": "همه صفها فكس", + "SELECTED_QUEUES_FAX_INBOUND": "صفهای طولانی فكس انتخاب می شود", "VOICEMAIL": "پست صوتی", "SHOWWEBCONTROL": "نمایش کنترل وب", "PAGE": "صفحه", @@ -339,12 +339,12 @@ "BLOCKED": "قفل شده", "DISABLED": "غیرفعال شده است", "REGENERATE": "بازسازی", - "ALL_WHATSAPP_QUEUES": "همه صف های WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "همه صف های WhatsApp", "ALL_WHATSAPPACCOUNTS": "همه حساب های WhatsApp", "ALL_WHATSAPPQUEUES": "تمام صف های Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "عامل را به صف های WhatsApp اضافه کنید", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "عامل را به صف های WhatsApp اضافه کنید", "QUEUEADD_USER_WHATSAPP_INBOUND": "کاربر را به صف های WhatsApp اضافه کنید", - "SELECTED_WHATSAPP_QUEUES": "صف های WhatsApp انتخاب شده است", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "صف های WhatsApp انتخاب شده است", "SELECTED_WHATSAPPACCOUNTS": "حساب های واتس اپ انتخاب شده است", "SELECTED_WHATSAPPQUEUES": "صف های WhatsApp انتخاب شده است", "USERADD_WHATSAPPACCOUNTS": "حساب WhatsApp را به کاربر اضافه کنید", diff --git a/public/app/main/apps/staff/i18n/fi.json b/public/app/main/apps/staff/i18n/fi.json index 13922c8..69b363b 100644 --- a/public/app/main/apps/staff/i18n/fi.json +++ b/public/app/main/apps/staff/i18n/fi.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Kaikki moduulit saatavilla", "CALLGROUP": "Call -ryhmän", "PICKUPGROUP": "Poimintaryhmääsi kuuluvassa alanumerossa.", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Lisää Edustajan jonoon kampanjoita", - "ADD_AGENT_TO_VOICE_QUEUES": "Lisää agentin Voice jonot", - "ADD_AGENT_TO_CHAT_QUEUES": "Lisää agentin Chat jonot", - "ADD_AGENT_TO_MAIL_QUEUES": "Lisää agentin Mail jonot", - "ADD_AGENT_TO_SMS_QUEUES": "Lisää agentin SMS jonot", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Lisää agentin avoimen kanavan jonot", - "ADD_AGENT_TO_FAX_QUEUES": "Lisää agentin faksi jonot", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Lisää Edustajan jonoon kampanjoita", + "QUEUEADD_AGENT_VOICE_INBOUND": "Lisää agentin Voice jonot", + "QUEUEADD_AGENT_CHAT_INBOUND": "Lisää agentin Chat jonot", + "QUEUEADD_AGENT_MAIL_INBOUND": "Lisää agentin Mail jonot", + "QUEUEADD_AGENT_SMS_INBOUND": "Lisää agentin SMS jonot", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Lisää agentin avoimen kanavan jonot", + "QUEUEADD_AGENT_FAX_INBOUND": "Lisää agentin faksi jonot", "QUEUEADD_USER_VOICE_INBOUND": "Lisää käyttäjä Voice jonot", "QUEUEADD_USER_CHAT_INBOUND": "Lisää käyttäjä Chat jonot", "QUEUEADD_USER_MAIL_INBOUND": "Lisää käyttäjä Mail jonot", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Kaikki joukkueet", "SELECTED_TEAMS": "Valittu työryhmille", "SELECTED_AGENTS": "Valitut edustajat", - "ALL_QUEUE_CAMPAIGNS": "Kaikki jonoon kampanjoita", - "SELECTED_QUEUE_CAMPAIGNS": "Valitun jonon kampanjoita", - "ALL_VOICE_QUEUES": "Kaikki Voice jonot", - "SELECTED_VOICE_QUEUES": "Valittu ääni jonot", - "ALL_CHAT_QUEUES": "Kaikki Chat jonot", - "SELECTED_CHAT_QUEUES": "Valitun Chat jonot", - "ALL_MAIL_QUEUES": "Kaikki posti jonot", - "SELECTED_MAIL_QUEUES": "Valittuna olevan jonot", - "ALL_SMS_QUEUES": "Kaikkiin tekstiviestilaatikoihin jonot", - "SELECTED_SMS_QUEUES": "Valittu SMS jonot", - "ALL_OPENCHANNEL_QUEUES": "Kaikki avoimen kanavan jonot", - "SELECTED_OPENCHANNEL_QUEUES": "Valittu avoimen kanavan jonot", - "ALL_FAX_QUEUES": "Kaikki faksi jonot", - "SELECTED_FAX_QUEUES": "Valittu Fax jonot", + "ALL_QUEUES_VOICE_OUTBOUND": "Kaikki jonoon kampanjoita", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Valitun jonon kampanjoita", + "ALL_QUEUES_VOICE_INBOUND": "Kaikki Voice jonot", + "SELECTED_QUEUES_VOICE_INBOUND": "Valittu ääni jonot", + "ALL_QUEUES_CHAT_INBOUND": "Kaikki Chat jonot", + "SELECTED_QUEUES_CHAT_INBOUND": "Valitun Chat jonot", + "ALL_QUEUES_MAIL_INBOUND": "Kaikki posti jonot", + "SELECTED_QUEUES_MAIL_INBOUND": "Valittuna olevan jonot", + "ALL_QUEUES_SMS_INBOUND": "Kaikkiin tekstiviestilaatikoihin jonot", + "SELECTED_QUEUES_SMS_INBOUND": "Valittu SMS jonot", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Kaikki avoimen kanavan jonot", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Valittu avoimen kanavan jonot", + "ALL_QUEUES_FAX_INBOUND": "Kaikki faksi jonot", + "SELECTED_QUEUES_FAX_INBOUND": "Valittu Fax jonot", "VOICEMAIL": "Vastaaja", "SHOWWEBCONTROL": "Näytä Web-ohjaus", "PAGE": "Sivu", @@ -339,12 +339,12 @@ "BLOCKED": "kiinni", "DISABLED": "deaktivoitu", "REGENERATE": "uudistua", - "ALL_WHATSAPP_QUEUES": "Kaikki WhatsApp-jonot", + "ALL_QUEUES_WHATSAPP_INBOUND": "Kaikki WhatsApp-jonot", "ALL_WHATSAPPACCOUNTS": "Kaikki WhatsApp-tilit", "ALL_WHATSAPPQUEUES": "Kaikki Whataspp -jonot", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Lisää agentti WhatsApp-jonoihin", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Lisää agentti WhatsApp-jonoihin", "QUEUEADD_USER_WHATSAPP_INBOUND": "Lisää käyttäjä WhatsApp-jonoihin", - "SELECTED_WHATSAPP_QUEUES": "Valitut WhatsApp -jonot", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Valitut WhatsApp -jonot", "SELECTED_WHATSAPPACCOUNTS": "Valitut WhatsApp-tilit", "SELECTED_WHATSAPPQUEUES": "Valitut WhatsApp -jonot", "USERADD_WHATSAPPACCOUNTS": "Lisää WhatsApp-tili käyttäjälle", diff --git a/public/app/main/apps/staff/i18n/fr.json b/public/app/main/apps/staff/i18n/fr.json index 9465167..ca9fb29 100644 --- a/public/app/main/apps/staff/i18n/fr.json +++ b/public/app/main/apps/staff/i18n/fr.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Tous les modules disponibles", "CALLGROUP": "Groupe d'appel", "PICKUPGROUP": "Groupe d'interception", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Ajouter l'agent à la file d'attente Motion Bull", - "ADD_AGENT_TO_VOICE_QUEUES": "Ajouter l'agent à la file d'attente voix", - "ADD_AGENT_TO_CHAT_QUEUES": "Ajouter l'agent à la file d'attente discussion Chat", - "ADD_AGENT_TO_MAIL_QUEUES": "Ajouter l'agent à la file d'attente Mail", - "ADD_AGENT_TO_SMS_QUEUES": "Ajouter l'agent à la file d'attente SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Ajouter l'agent à la file d'attente Openchannel", - "ADD_AGENT_TO_FAX_QUEUES": "Ajouter l'agent à la file d'attente Fax", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Ajouter l'agent à la file d'attente Motion Bull", + "QUEUEADD_AGENT_VOICE_INBOUND": "Ajouter l'agent à la file d'attente voix", + "QUEUEADD_AGENT_CHAT_INBOUND": "Ajouter l'agent à la file d'attente discussion Chat", + "QUEUEADD_AGENT_MAIL_INBOUND": "Ajouter l'agent à la file d'attente Mail", + "QUEUEADD_AGENT_SMS_INBOUND": "Ajouter l'agent à la file d'attente SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Ajouter l'agent à la file d'attente Openchannel", + "QUEUEADD_AGENT_FAX_INBOUND": "Ajouter l'agent à la file d'attente Fax", "QUEUEADD_USER_VOICE_INBOUND": "Ajouter un utilisateur à la file d'attente voix", "QUEUEADD_USER_CHAT_INBOUND": "Ajouter un utilisateur à la file d'attente chat", "QUEUEADD_USER_MAIL_INBOUND": "Ajouter un utilisateur à la file d'attente mail", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Toutes les équipes", "SELECTED_TEAMS": "Equipe(s) sélectionnée(s)", "SELECTED_AGENTS": "Agent(s) sélectionné(s)", - "ALL_QUEUE_CAMPAIGNS": "Toutes les campagnes Motion Bull", - "SELECTED_QUEUE_CAMPAIGNS": "Campagne(s) Motion Bull sélectionnée(s)", - "ALL_VOICE_QUEUES": "Toutes les files d'attente voix", - "SELECTED_VOICE_QUEUES": "File(s) d'attente voix sélectionnée(s)", - "ALL_CHAT_QUEUES": "Toutes les files d'attentes Chat", - "SELECTED_CHAT_QUEUES": "File(s) d'attente Chat selectionnée(s)", - "ALL_MAIL_QUEUES": "Toutes les files d'attentes Mail", - "SELECTED_MAIL_QUEUES": "File(s) d'attente Mail sélectionnée(s)", - "ALL_SMS_QUEUES": "Toutes les files d'attentes SMS", - "SELECTED_SMS_QUEUES": "File(s) d'attente SMS sélectionnée(s)", - "ALL_OPENCHANNEL_QUEUES": "Toutes les files d'attente Openchannel", - "SELECTED_OPENCHANNEL_QUEUES": "Files d'attente ", - "ALL_FAX_QUEUES": "Toutes les files d'attente Fax", - "SELECTED_FAX_QUEUES": "File(s) d'attente Fax sélectionnée(s)", + "ALL_QUEUES_VOICE_OUTBOUND": "Toutes les campagnes Motion Bull", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Campagne(s) Motion Bull sélectionnée(s)", + "ALL_QUEUES_VOICE_INBOUND": "Toutes les files d'attente voix", + "SELECTED_QUEUES_VOICE_INBOUND": "File(s) d'attente voix sélectionnée(s)", + "ALL_QUEUES_CHAT_INBOUND": "Toutes les files d'attentes Chat", + "SELECTED_QUEUES_CHAT_INBOUND": "File(s) d'attente Chat selectionnée(s)", + "ALL_QUEUES_MAIL_INBOUND": "Toutes les files d'attentes Mail", + "SELECTED_QUEUES_MAIL_INBOUND": "File(s) d'attente Mail sélectionnée(s)", + "ALL_QUEUES_SMS_INBOUND": "Toutes les files d'attentes SMS", + "SELECTED_QUEUES_SMS_INBOUND": "File(s) d'attente SMS sélectionnée(s)", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Toutes les files d'attente Openchannel", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Files d'attente ", + "ALL_QUEUES_FAX_INBOUND": "Toutes les files d'attente Fax", + "SELECTED_QUEUES_FAX_INBOUND": "File(s) d'attente Fax sélectionnée(s)", "VOICEMAIL": "Messagerie vocale", "SHOWWEBCONTROL": "Type de connexion :", "PAGE": "Page", @@ -339,12 +339,12 @@ "BLOCKED": "Fermé à clé", "DISABLED": "Désactivée", "REGENERATE": "Régénérer", - "ALL_WHATSAPP_QUEUES": "Toutes les files d'attente WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Toutes les files d'attente WhatsApp", "ALL_WHATSAPPACCOUNTS": "Tous les comptes WhatsApp", "ALL_WHATSAPPQUEUES": "Toutes les files d'attente Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Ajouter un agent aux files d'attente WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Ajouter un agent aux files d'attente WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Ajouter un utilisateur aux files d'attente WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Files d'attente WhatsApp sélectionnées", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Files d'attente WhatsApp sélectionnées", "SELECTED_WHATSAPPACCOUNTS": "Comptes WhatsApp sélectionnés", "SELECTED_WHATSAPPQUEUES": "Files d'attente WhatsApp sélectionnées", "USERADD_WHATSAPPACCOUNTS": "Ajouter un compte WhatsApp à l'utilisateur", diff --git a/public/app/main/apps/staff/i18n/he.json b/public/app/main/apps/staff/i18n/he.json index bbdbf26..d01f90d 100644 --- a/public/app/main/apps/staff/i18n/he.json +++ b/public/app/main/apps/staff/i18n/he.json @@ -195,13 +195,13 @@ "ALL_MODULES_AVAILABLE": "כל המודולים זמינים", "CALLGROUP": "קבוצת שיחה", "PICKUPGROUP": "בחירת קבוצה", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "הוספתף נציג למבצעי תורים", - "ADD_AGENT_TO_VOICE_QUEUES": "הוספת נציג לתורי קול", - "ADD_AGENT_TO_CHAT_QUEUES": "הוספת נציג לתורי צ'אט", - "ADD_AGENT_TO_MAIL_QUEUES": "הוספת נציג לתורי דוא\"ל", - "ADD_AGENT_TO_SMS_QUEUES": "הוספת נציג לתורי מסרונים", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "הוספת נציג לתורי ערוצים פתוחים", - "ADD_AGENT_TO_FAX_QUEUES": "הוספת נציג לתורי פקס", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "הוספתף נציג למבצעי תורים", + "QUEUEADD_AGENT_VOICE_INBOUND": "הוספת נציג לתורי קול", + "QUEUEADD_AGENT_CHAT_INBOUND": "הוספת נציג לתורי צ'אט", + "QUEUEADD_AGENT_MAIL_INBOUND": "הוספת נציג לתורי דוא\"ל", + "QUEUEADD_AGENT_SMS_INBOUND": "הוספת נציג לתורי מסרונים", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "הוספת נציג לתורי ערוצים פתוחים", + "QUEUEADD_AGENT_FAX_INBOUND": "הוספת נציג לתורי פקס", "QUEUEADD_USER_VOICE_INBOUND": "הוספת משתמש לתורי קול", "QUEUEADD_USER_CHAT_INBOUND": "הוספת משתמש לתורי צ'אט", "QUEUEADD_USER_MAIL_INBOUND": "הוספת משתמש לתורי דוא\"ל", @@ -211,20 +211,20 @@ "ALL_TEAMS": "כל הצוותים", "SELECTED_TEAMS": "צוותים נבחרים", "SELECTED_AGENTS": "נציגים נבחרים", - "ALL_QUEUE_CAMPAIGNS": "כל מבצעי התורים", - "SELECTED_QUEUE_CAMPAIGNS": "מבצעי תורים נבחרים", - "ALL_VOICE_QUEUES": "כל תורי הקול", - "SELECTED_VOICE_QUEUES": "תורי קול נבחרים", - "ALL_CHAT_QUEUES": "כל תורי הצ'אט", - "SELECTED_CHAT_QUEUES": "תורי צ'אט נבחרים", - "ALL_MAIL_QUEUES": "כל תורי הדוא\"ל", - "SELECTED_MAIL_QUEUES": "תורי דוא\"ל נבחרים", - "ALL_SMS_QUEUES": "כל תורי ה-SMS", - "SELECTED_SMS_QUEUES": "תורי SMS נבחרים", - "ALL_OPENCHANNEL_QUEUES": "כל תורי הערוצים הפתוחים", - "SELECTED_OPENCHANNEL_QUEUES": "תורי ערוצים פתוחים נבחרים", - "ALL_FAX_QUEUES": "כל תורי הפקס", - "SELECTED_FAX_QUEUES": "תורי פקס נבחרים", + "ALL_QUEUES_VOICE_OUTBOUND": "כל מבצעי התורים", + "SELECTED_QUEUES_VOICE_OUTBOUND": "מבצעי תורים נבחרים", + "ALL_QUEUES_VOICE_INBOUND": "כל תורי הקול", + "SELECTED_QUEUES_VOICE_INBOUND": "תורי קול נבחרים", + "ALL_QUEUES_CHAT_INBOUND": "כל תורי הצ'אט", + "SELECTED_QUEUES_CHAT_INBOUND": "תורי צ'אט נבחרים", + "ALL_QUEUES_MAIL_INBOUND": "כל תורי הדוא\"ל", + "SELECTED_QUEUES_MAIL_INBOUND": "תורי דוא\"ל נבחרים", + "ALL_QUEUES_SMS_INBOUND": "כל תורי ה-SMS", + "SELECTED_QUEUES_SMS_INBOUND": "תורי SMS נבחרים", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "כל תורי הערוצים הפתוחים", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "תורי ערוצים פתוחים נבחרים", + "ALL_QUEUES_FAX_INBOUND": "כל תורי הפקס", + "SELECTED_QUEUES_FAX_INBOUND": "תורי פקס נבחרים", "VOICEMAIL": "הודעה קולית", "SHOWWEBCONTROL": "טיפולוגיה", "PAGE": "דף", @@ -339,12 +339,12 @@ "BLOCKED": "נעילה", "DISABLED": "ביטול", "REGENERATE": "התחדשות", - "ALL_WHATSAPP_QUEUES": "כל התורים ב- WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "כל התורים ב- WhatsApp", "ALL_WHATSAPPACCOUNTS": "כל חשבונות WhatsApp", "ALL_WHATSAPPQUEUES": "כל התורים ב- Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "הוסף סוכן לתורי WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "הוסף סוכן לתורי WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "הוסף משתמש לתורי WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "תורי WhatsApp שנבחרו", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "תורי WhatsApp שנבחרו", "SELECTED_WHATSAPPACCOUNTS": "חשבונות WhatsApp שנבחרו", "SELECTED_WHATSAPPQUEUES": "תורי WhatsApp שנבחרו", "USERADD_WHATSAPPACCOUNTS": "הוסף חשבון WhatsApp למשתמש", diff --git a/public/app/main/apps/staff/i18n/hi.json b/public/app/main/apps/staff/i18n/hi.json index bec04c4..f21b5cf 100644 --- a/public/app/main/apps/staff/i18n/hi.json +++ b/public/app/main/apps/staff/i18n/hi.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "सभी उपलब्ध", "CALLGROUP": "समूह कॉल", "PICKUPGROUP": "Pickup समूह", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "लोकतंत्रमें अभियानों एजेंट को जोड़ें", - "ADD_AGENT_TO_VOICE_QUEUES": "ध्वनि स्वर जोड़ने के एजेंट को कतार", - "ADD_AGENT_TO_CHAT_QUEUES": "चैट एजेंट को जोड़ने वाली कतारों", - "ADD_AGENT_TO_MAIL_QUEUES": "मेल जोड़ना एजेंट को कतार", - "ADD_AGENT_TO_SMS_QUEUES": "SMS के एजेंट को जोड़ने वाली कतारों", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "एजेंट को जोड़ने के लिए खुले चैनल कतार", - "ADD_AGENT_TO_FAX_QUEUES": "एजेंट को फैक्स कतार में जोड़ें", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "लोकतंत्रमें अभियानों एजेंट को जोड़ें", + "QUEUEADD_AGENT_VOICE_INBOUND": "ध्वनि स्वर जोड़ने के एजेंट को कतार", + "QUEUEADD_AGENT_CHAT_INBOUND": "चैट एजेंट को जोड़ने वाली कतारों", + "QUEUEADD_AGENT_MAIL_INBOUND": "मेल जोड़ना एजेंट को कतार", + "QUEUEADD_AGENT_SMS_INBOUND": "SMS के एजेंट को जोड़ने वाली कतारों", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "एजेंट को जोड़ने के लिए खुले चैनल कतार", + "QUEUEADD_AGENT_FAX_INBOUND": "एजेंट को फैक्स कतार में जोड़ें", "QUEUEADD_USER_VOICE_INBOUND": "उपयोगकर्ता जोड़ें पर वॉयस कतार", "QUEUEADD_USER_CHAT_INBOUND": "उपयोगकर्ता जोड़ें से चैट कतार", "QUEUEADD_USER_MAIL_INBOUND": "उपयोगकर्ता जोड़ें से मेल कतार", @@ -198,20 +198,20 @@ "ALL_TEAMS": "सभी टीमें भाग लेंगी।", "SELECTED_TEAMS": "चयनित टीम", "SELECTED_AGENTS": "चयनित एजेंटों", - "ALL_QUEUE_CAMPAIGNS": "सभी कतार अभियान", - "SELECTED_QUEUE_CAMPAIGNS": "चयनित कतार अभियान", - "ALL_VOICE_QUEUES": "सभी वॉयस कतार", - "SELECTED_VOICE_QUEUES": "चयनित आवाज कतार", - "ALL_CHAT_QUEUES": "सभी चैट कतार", - "SELECTED_CHAT_QUEUES": "चयनित चैट कतार", - "ALL_MAIL_QUEUES": "हर मेल कतार", - "SELECTED_MAIL_QUEUES": "चयनित मेल कतार", - "ALL_SMS_QUEUES": "सभी SMS कतार", - "SELECTED_SMS_QUEUES": "चयनित SMS कतार", - "ALL_OPENCHANNEL_QUEUES": "सभी खुले चैनल कतार", - "SELECTED_OPENCHANNEL_QUEUES": "चयनित खुले चैनल कतार", - "ALL_FAX_QUEUES": "सभी फैक्स कतार", - "SELECTED_FAX_QUEUES": "चयनित फैक्स कतार", + "ALL_QUEUES_VOICE_OUTBOUND": "सभी कतार अभियान", + "SELECTED_QUEUES_VOICE_OUTBOUND": "चयनित कतार अभियान", + "ALL_QUEUES_VOICE_INBOUND": "सभी वॉयस कतार", + "SELECTED_QUEUES_VOICE_INBOUND": "चयनित आवाज कतार", + "ALL_QUEUES_CHAT_INBOUND": "सभी चैट कतार", + "SELECTED_QUEUES_CHAT_INBOUND": "चयनित चैट कतार", + "ALL_QUEUES_MAIL_INBOUND": "हर मेल कतार", + "SELECTED_QUEUES_MAIL_INBOUND": "चयनित मेल कतार", + "ALL_QUEUES_SMS_INBOUND": "सभी SMS कतार", + "SELECTED_QUEUES_SMS_INBOUND": "चयनित SMS कतार", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "सभी खुले चैनल कतार", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "चयनित खुले चैनल कतार", + "ALL_QUEUES_FAX_INBOUND": "सभी फैक्स कतार", + "SELECTED_QUEUES_FAX_INBOUND": "चयनित फैक्स कतार", "VOICEMAIL": "वॉयसमेल", "SHOWWEBCONTROL": "वेब नियंत्रण में दिखाएं", "PAGE": "पृष्ठ", @@ -339,12 +339,12 @@ "BLOCKED": "बंद", "DISABLED": "निष्क्रिय", "REGENERATE": "पुनः जेनरेट", - "ALL_WHATSAPP_QUEUES": "सभी WhatsApp कतारें", + "ALL_QUEUES_WHATSAPP_INBOUND": "सभी WhatsApp कतारें", "ALL_WHATSAPPACCOUNTS": "सभी व्हाट्सएप अकाउंट", "ALL_WHATSAPPQUEUES": "सभी व्हाट्सएप कतार", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "एजेंट को व्हाट्सएप कतार में जोड़ें", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "एजेंट को व्हाट्सएप कतार में जोड़ें", "QUEUEADD_USER_WHATSAPP_INBOUND": "व्हाट्सएप कतार में उपयोगकर्ता जोड़ें", - "SELECTED_WHATSAPP_QUEUES": "चयनित व्हाट्सएप कतारें", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "चयनित व्हाट्सएप कतारें", "SELECTED_WHATSAPPACCOUNTS": "व्हाट्सएप अकाउंट चुने", "SELECTED_WHATSAPPQUEUES": "चयनित व्हाट्सएप कतारें", "USERADD_WHATSAPPACCOUNTS": "उपयोगकर्ता के लिए WhatsApp खाता जोड़ें", diff --git a/public/app/main/apps/staff/i18n/id.json b/public/app/main/apps/staff/i18n/id.json index 6a5dd29..5efd94d 100644 --- a/public/app/main/apps/staff/i18n/id.json +++ b/public/app/main/apps/staff/i18n/id.json @@ -84,13 +84,13 @@ "ALLOWCODECS": "Codec yang Diizinkan", "ALL_AGENTS": "Semua agen", "ALL_MODULES_AVAILABLE": "Semua modul tersedia", - "ALL_CHAT_QUEUES": "Semua Antrean Obrolan", - "ALL_FAX_QUEUES": "Semua Antrian Faks", - "ALL_MAIL_QUEUES": "Semua Antrian Email", - "ALL_OPENCHANNEL_QUEUES": "Semua Antrian Saluran Terbuka", - "ALL_SMS_QUEUES": "Semua Antrean SMS", - "ALL_VOICE_QUEUES": "Semua Antrian Suara", - "ALL_QUEUE_CAMPAIGNS": "Semua Kampanye Antrean", + "ALL_QUEUES_CHAT_INBOUND": "Semua Antrean Obrolan", + "ALL_QUEUES_FAX_INBOUND": "Semua Antrian Faks", + "ALL_QUEUES_MAIL_INBOUND": "Semua Antrian Email", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Semua Antrian Saluran Terbuka", + "ALL_QUEUES_SMS_INBOUND": "Semua Antrean SMS", + "ALL_QUEUES_VOICE_INBOUND": "Semua Antrian Suara", + "ALL_QUEUES_VOICE_OUTBOUND": "Semua Kampanye Antrean", "ALL_TEAMS": "Semua Tim", "ALL_USERS": "Semua pengguna", "AUTOANSWER": "Jawab otomatis", @@ -184,13 +184,13 @@ "PHONE": "Telepon", "PHONE_NUMBER": "Nomor telepon", "PICKUPGROUP": "Grup Penjemputan", - "ADD_AGENT_TO_CHAT_QUEUES": "Tambahkan Agen ke Antrean Obrolan", - "ADD_AGENT_TO_FAX_QUEUES": "Tambahkan Agen ke Antrean Faks", - "ADD_AGENT_TO_MAIL_QUEUES": "Tambahkan Agen ke Antrean Email", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Tambahkan Agen ke Open Channel Queues", - "ADD_AGENT_TO_SMS_QUEUES": "Tambahkan Agen ke Antrean SMS", - "ADD_AGENT_TO_VOICE_QUEUES": "Tambahkan Agen ke Antrian Suara", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Tambahkan Agen ke Kampanye Antrean", + "QUEUEADD_AGENT_CHAT_INBOUND": "Tambahkan Agen ke Antrean Obrolan", + "QUEUEADD_AGENT_FAX_INBOUND": "Tambahkan Agen ke Antrean Faks", + "QUEUEADD_AGENT_MAIL_INBOUND": "Tambahkan Agen ke Antrean Email", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Tambahkan Agen ke Open Channel Queues", + "QUEUEADD_AGENT_SMS_INBOUND": "Tambahkan Agen ke Antrean SMS", + "QUEUEADD_AGENT_VOICE_INBOUND": "Tambahkan Agen ke Antrian Suara", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Tambahkan Agen ke Kampanye Antrean", "QUEUEADD_USER_CHAT_INBOUND": "Tambahkan Antrean Pengguna ke Obrolan", "QUEUEADD_USER_FAX_INBOUND": "Tambahkan User ke Fax Queues", "QUEUEADD_USER_MAIL_INBOUND": "Tambahkan Antrian Pengguna ke Email", @@ -211,13 +211,13 @@ "SECURITY_SUITE": "Suite Keamanan", "SELECTED": "Terpilih", "SELECTED_AGENTS": "Agen yang Dipilih", - "SELECTED_CHAT_QUEUES": "Antrean Obrolan Terpilih", - "SELECTED_FAX_QUEUES": "Antrian Faks yang Dipilih", - "SELECTED_MAIL_QUEUES": "Antrean Email Terpilih", - "SELECTED_OPENCHANNEL_QUEUES": "Antrian Saluran Terbuka yang Dipilih", - "SELECTED_SMS_QUEUES": "Antrian SMS yang Dipilih", - "SELECTED_VOICE_QUEUES": "Antrean Suara yang Dipilih", - "SELECTED_QUEUE_CAMPAIGNS": "Kampanye Antrian Terpilih", + "SELECTED_QUEUES_CHAT_INBOUND": "Antrean Obrolan Terpilih", + "SELECTED_QUEUES_FAX_INBOUND": "Antrian Faks yang Dipilih", + "SELECTED_QUEUES_MAIL_INBOUND": "Antrean Email Terpilih", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Antrian Saluran Terbuka yang Dipilih", + "SELECTED_QUEUES_SMS_INBOUND": "Antrian SMS yang Dipilih", + "SELECTED_QUEUES_VOICE_INBOUND": "Antrean Suara yang Dipilih", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Kampanye Antrian Terpilih", "SELECTED_TEAMS": "Tim yang Dipilih", "SELECT_ALL": "Pilih Semua", "SELECT_NONE": "Pilih Tidak Ada", @@ -339,12 +339,12 @@ "BLOCKED": "Terkunci", "DISABLED": "Dinonaktifkan", "REGENERATE": "Diperbaiki", - "ALL_WHATSAPP_QUEUES": "Semua Antrean WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Semua Antrean WhatsApp", "ALL_WHATSAPPACCOUNTS": "Semua Akun WhatsApp", "ALL_WHATSAPPQUEUES": "Semua Antrian Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Tambahkan Agen ke Antrean WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Tambahkan Agen ke Antrean WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Tambahkan Pengguna ke Antrean WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Antrean WhatsApp yang Dipilih", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Antrean WhatsApp yang Dipilih", "SELECTED_WHATSAPPACCOUNTS": "Akun WhatsApp yang Dipilih", "SELECTED_WHATSAPPQUEUES": "Antrean WhatsApp yang Dipilih", "USERADD_WHATSAPPACCOUNTS": "Tambahkan Akun WhatsApp ke Pengguna", diff --git a/public/app/main/apps/staff/i18n/it.json b/public/app/main/apps/staff/i18n/it.json index 4da6527..b68f8f4 100644 --- a/public/app/main/apps/staff/i18n/it.json +++ b/public/app/main/apps/staff/i18n/it.json @@ -197,13 +197,13 @@ "ALL_MODULES_AVAILABLE": "Tutti i moduli disponibili", "CALLGROUP": "Call Group", "PICKUPGROUP": "Pickup Group", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Aggiungi Agente a Campagne Coda", - "ADD_AGENT_TO_VOICE_QUEUES": "Aggiungi Agente a code Voce", - "ADD_AGENT_TO_CHAT_QUEUES": "Aggiungi Agente a code Chat", - "ADD_AGENT_TO_MAIL_QUEUES": "Aggiungi Agente a code Email", - "ADD_AGENT_TO_SMS_QUEUES": "Aggiungi Agente a code SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Aggiungi Agente a code Open Channel", - "ADD_AGENT_TO_FAX_QUEUES": "Aggiungi Agente a code Fax", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Aggiungi Agente a Campagne Coda", + "QUEUEADD_AGENT_VOICE_INBOUND": "Aggiungi Agente a code Voce", + "QUEUEADD_AGENT_CHAT_INBOUND": "Aggiungi Agente a code Chat", + "QUEUEADD_AGENT_MAIL_INBOUND": "Aggiungi Agente a code Email", + "QUEUEADD_AGENT_SMS_INBOUND": "Aggiungi Agente a code SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Aggiungi Agente a code Open Channel", + "QUEUEADD_AGENT_FAX_INBOUND": "Aggiungi Agente a code Fax", "QUEUEADD_USER_VOICE_INBOUND": "Aggiungi Utente a code Voce", "QUEUEADD_USER_CHAT_INBOUND": "Aggiungi Utente a code Chat", "QUEUEADD_USER_MAIL_INBOUND": "Aggiungi Utente a code Email", @@ -213,20 +213,20 @@ "ALL_TEAMS": "Tutti i Team", "SELECTED_TEAMS": "Team selezionati", "SELECTED_AGENTS": "Agenti selezionati", - "ALL_QUEUE_CAMPAIGNS": "Tutte le Campagne Coda", - "SELECTED_QUEUE_CAMPAIGNS": "Campagne Coda selezionate", - "ALL_VOICE_QUEUES": "Tutte le code", - "SELECTED_VOICE_QUEUES": "Code Voce selezionate", - "ALL_CHAT_QUEUES": "Tutte le code Chat", - "SELECTED_CHAT_QUEUES": "Code Chat selezionate", - "ALL_MAIL_QUEUES": "Tutte le code Email", - "SELECTED_MAIL_QUEUES": "Code Email selezionate", - "ALL_SMS_QUEUES": "Tutte le code SMS", - "SELECTED_SMS_QUEUES": "Code SMS selezionate", - "ALL_OPENCHANNEL_QUEUES": "Tutte le code Open Channel", - "ALL_FAX_QUEUES": "Tutte le code Fax", - "SELECTED_FAX_QUEUES": "Code Fax selezionate", - "SELECTED_OPENCHANNEL_QUEUES": "Selezionare le code Open Channel", + "ALL_QUEUES_VOICE_OUTBOUND": "Tutte le Campagne Coda", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Campagne Coda selezionate", + "ALL_QUEUES_VOICE_INBOUND": "Tutte le code", + "SELECTED_QUEUES_VOICE_INBOUND": "Code Voce selezionate", + "ALL_QUEUES_CHAT_INBOUND": "Tutte le code Chat", + "SELECTED_QUEUES_CHAT_INBOUND": "Code Chat selezionate", + "ALL_QUEUES_MAIL_INBOUND": "Tutte le code Email", + "SELECTED_QUEUES_MAIL_INBOUND": "Code Email selezionate", + "ALL_QUEUES_SMS_INBOUND": "Tutte le code SMS", + "SELECTED_QUEUES_SMS_INBOUND": "Code SMS selezionate", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Tutte le code Open Channel", + "ALL_QUEUES_FAX_INBOUND": "Tutte le code Fax", + "SELECTED_QUEUES_FAX_INBOUND": "Code Fax selezionate", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Selezionare le code Open Channel", "VOICEMAIL": "Voicemail", "RINGINUSE": "Squilla quando occupato", "SHOWWEBCONTROL": "Tipologia", @@ -347,12 +347,12 @@ "ENABLEVIDEOECORDING": "Abilita registrazione video", "BLOCKED": "Bloccato", "DISABLED": "Disattivato", - "ALL_WHATSAPP_QUEUES": "Tutte le code di WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Tutte le code di WhatsApp", "ALL_WHATSAPPACCOUNTS": "Tutti gli account WhatsApp", "ALL_WHATSAPPQUEUES": "Tutte le code Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Aggiungi agente alle code di WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Aggiungi agente alle code di WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Aggiungi utente alle code di WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Code WhatsApp selezionate", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Code WhatsApp selezionate", "SELECTED_WHATSAPPACCOUNTS": "Account WhatsApp selezionati", "SELECTED_WHATSAPPQUEUES": "Code WhatsApp selezionate", "USERADD_WHATSAPPACCOUNTS": "Aggiungi account WhatsApp all'utente", diff --git a/public/app/main/apps/staff/i18n/ja.json b/public/app/main/apps/staff/i18n/ja.json index d238731..d3fcbbc 100644 --- a/public/app/main/apps/staff/i18n/ja.json +++ b/public/app/main/apps/staff/i18n/ja.json @@ -84,13 +84,13 @@ "ALLOWCODECS": "許可されたコーデック", "ALL_AGENTS": "すべてのエージェント", "ALL_MODULES_AVAILABLE": "すべてのモジュールが利用可能です", - "ALL_CHAT_QUEUES": "すべてのチャットキュー", - "ALL_FAX_QUEUES": "すべてのFAXキュー", - "ALL_MAIL_QUEUES": "すべてのメールキュー", - "ALL_OPENCHANNEL_QUEUES": "すべてのオープンチャネルキュー", - "ALL_SMS_QUEUES": "すべてのSMSキュー", - "ALL_VOICE_QUEUES": "すべての音声キュー", - "ALL_QUEUE_CAMPAIGNS": "すべてのキューキャンペーン", + "ALL_QUEUES_CHAT_INBOUND": "すべてのチャットキュー", + "ALL_QUEUES_FAX_INBOUND": "すべてのFAXキュー", + "ALL_QUEUES_MAIL_INBOUND": "すべてのメールキュー", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "すべてのオープンチャネルキュー", + "ALL_QUEUES_SMS_INBOUND": "すべてのSMSキュー", + "ALL_QUEUES_VOICE_INBOUND": "すべての音声キュー", + "ALL_QUEUES_VOICE_OUTBOUND": "すべてのキューキャンペーン", "ALL_TEAMS": "すべてのチーム", "ALL_USERS": "すべてのユーザー", "AUTOANSWER": "自動応答", @@ -183,13 +183,13 @@ "PHONE": "電話番号", "PHONE_NUMBER": "電話番号", "PICKUPGROUP": "ピックアップグループ", - "ADD_AGENT_TO_CHAT_QUEUES": "チャットキューにエージェントを追加", - "ADD_AGENT_TO_FAX_QUEUES": "FAXキューにエージェントを追加", - "ADD_AGENT_TO_MAIL_QUEUES": "メールキューにエージェントを追加", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "オープンチャネルキューにエージェントを追加", - "ADD_AGENT_TO_SMS_QUEUES": "SMSキューにエージェントを追加", - "ADD_AGENT_TO_VOICE_QUEUES": "音声キューにエージェントを追加", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "キューキャンペーンにエージェントを追加", + "QUEUEADD_AGENT_CHAT_INBOUND": "チャットキューにエージェントを追加", + "QUEUEADD_AGENT_FAX_INBOUND": "FAXキューにエージェントを追加", + "QUEUEADD_AGENT_MAIL_INBOUND": "メールキューにエージェントを追加", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "オープンチャネルキューにエージェントを追加", + "QUEUEADD_AGENT_SMS_INBOUND": "SMSキューにエージェントを追加", + "QUEUEADD_AGENT_VOICE_INBOUND": "音声キューにエージェントを追加", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "キューキャンペーンにエージェントを追加", "QUEUEADD_USER_CHAT_INBOUND": "チャットキューにユーザーを追加", "QUEUEADD_USER_FAX_INBOUND": "FAXキューにユーザーを追加", "QUEUEADD_USER_MAIL_INBOUND": "メールキューにユーザーを追加", @@ -210,13 +210,13 @@ "SECURITY_SUITE": "セキュリティスイート", "SELECTED": "選択された", "SELECTED_AGENTS": "選択されたエージェント", - "SELECTED_CHAT_QUEUES": "選択されたチャットキュー", - "SELECTED_FAX_QUEUES": "選択されたFAXキュー", - "SELECTED_MAIL_QUEUES": "選択されたメールキュー", - "SELECTED_OPENCHANNEL_QUEUES": "選択されたオープンチャンネルキュー", - "SELECTED_SMS_QUEUES": "選択されたSMSキュー", - "SELECTED_VOICE_QUEUES": "選択された音声キュー", - "SELECTED_QUEUE_CAMPAIGNS": "選択されたキューキャンペーン", + "SELECTED_QUEUES_CHAT_INBOUND": "選択されたチャットキュー", + "SELECTED_QUEUES_FAX_INBOUND": "選択されたFAXキュー", + "SELECTED_QUEUES_MAIL_INBOUND": "選択されたメールキュー", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "選択されたオープンチャンネルキュー", + "SELECTED_QUEUES_SMS_INBOUND": "選択されたSMSキュー", + "SELECTED_QUEUES_VOICE_INBOUND": "選択された音声キュー", + "SELECTED_QUEUES_VOICE_OUTBOUND": "選択されたキューキャンペーン", "SELECTED_TEAMS": "選択されたチーム", "SELECT_ALL": "すべて選択", "SELECT_NONE": "選択解除", @@ -339,12 +339,12 @@ "BLOCKED": "ロック済み", "DISABLED": "無効化", "REGENERATE": "再生成", - "ALL_WHATSAPP_QUEUES": "すべてのWhatsAppキュー", + "ALL_QUEUES_WHATSAPP_INBOUND": "すべてのWhatsAppキュー", "ALL_WHATSAPPACCOUNTS": "すべてのWhatsAppアカウント", "ALL_WHATSAPPQUEUES": "すべてのWhatasppキュー", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "WhatsAppキューへのエージェントの追加", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "WhatsAppキューへのエージェントの追加", "QUEUEADD_USER_WHATSAPP_INBOUND": "WhatsAppキューへのユーザーの追加", - "SELECTED_WHATSAPP_QUEUES": "選択されたWhatsAppキュー", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "選択されたWhatsAppキュー", "SELECTED_WHATSAPPACCOUNTS": "選択されたWhatsAppアカウント", "SELECTED_WHATSAPPQUEUES": "選択されたWhatsAppキュー", "USERADD_WHATSAPPACCOUNTS": "WhatsAppアカウントをユーザーに追加", diff --git a/public/app/main/apps/staff/i18n/ko.json b/public/app/main/apps/staff/i18n/ko.json index 4ac634c..5be8467 100644 --- a/public/app/main/apps/staff/i18n/ko.json +++ b/public/app/main/apps/staff/i18n/ko.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "전체 사용가능한 모듈", "CALLGROUP": "전화 그룹", "PICKUPGROUP": "응답 그룹", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "상담원 발신 음성에 상담그룹 추가", - "ADD_AGENT_TO_VOICE_QUEUES": "상담원 수신 음성에 상담그룹 추가", - "ADD_AGENT_TO_CHAT_QUEUES": "상담원 수신 채팅에 상담그룹 추가", - "ADD_AGENT_TO_MAIL_QUEUES": "상담원 수신 이메일에 상담그룹 추가", - "ADD_AGENT_TO_SMS_QUEUES": "상담원 수신 SMS에 상담그룹 추가", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "상담원 수신 오픈채널에 상담그룹 추가", - "ADD_AGENT_TO_FAX_QUEUES": "상담원 수신 팩스에 상담그룹 추가", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "상담원 발신 음성에 상담그룹 추가", + "QUEUEADD_AGENT_VOICE_INBOUND": "상담원 수신 음성에 상담그룹 추가", + "QUEUEADD_AGENT_CHAT_INBOUND": "상담원 수신 채팅에 상담그룹 추가", + "QUEUEADD_AGENT_MAIL_INBOUND": "상담원 수신 이메일에 상담그룹 추가", + "QUEUEADD_AGENT_SMS_INBOUND": "상담원 수신 SMS에 상담그룹 추가", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "상담원 수신 오픈채널에 상담그룹 추가", + "QUEUEADD_AGENT_FAX_INBOUND": "상담원 수신 팩스에 상담그룹 추가", "QUEUEADD_USER_VOICE_INBOUND": "상담원 수신 음성에 상담그룹 추가", "QUEUEADD_USER_CHAT_INBOUND": "상담원 수신 채팅에 상담그룹 추가", "QUEUEADD_USER_MAIL_INBOUND": "상담원 수신 이메일에 상담그룹 추가", @@ -198,20 +198,20 @@ "ALL_TEAMS": "전체 팀", "SELECTED_TEAMS": "선택된 팀", "SELECTED_AGENTS": "선택된 상담원", - "ALL_QUEUE_CAMPAIGNS": "전체상담그룹 발신 음성", - "SELECTED_QUEUE_CAMPAIGNS": "선택된 상담그룹 발신 음성", - "ALL_VOICE_QUEUES": "전체 상담그룹 수신 음성", - "SELECTED_VOICE_QUEUES": "선택된 상담그룹 수신 음성", - "ALL_CHAT_QUEUES": "전체 상담그룹 수신 채팅", - "SELECTED_CHAT_QUEUES": "선택된 상담그룹 수신 채팅", - "ALL_MAIL_QUEUES": "전체 상담그룹 수신 이메일", - "SELECTED_MAIL_QUEUES": "선택된 상담그룹 수신 이메일", - "ALL_SMS_QUEUES": "전체 상담그룹 수신 SMS", - "SELECTED_SMS_QUEUES": "선택된 상담그룹 수신 SMS", - "ALL_OPENCHANNEL_QUEUES": "전체 상담그룹 수신 오픈채널", - "SELECTED_OPENCHANNEL_QUEUES": "선택된 상담그룹 수신 오픈채널", - "ALL_FAX_QUEUES": "전체 상담그룹 수신 팩스", - "SELECTED_FAX_QUEUES": "선택된 상담그룹 수신 팩스", + "ALL_QUEUES_VOICE_OUTBOUND": "전체상담그룹 발신 음성", + "SELECTED_QUEUES_VOICE_OUTBOUND": "선택된 상담그룹 발신 음성", + "ALL_QUEUES_VOICE_INBOUND": "전체 상담그룹 수신 음성", + "SELECTED_QUEUES_VOICE_INBOUND": "선택된 상담그룹 수신 음성", + "ALL_QUEUES_CHAT_INBOUND": "전체 상담그룹 수신 채팅", + "SELECTED_QUEUES_CHAT_INBOUND": "선택된 상담그룹 수신 채팅", + "ALL_QUEUES_MAIL_INBOUND": "전체 상담그룹 수신 이메일", + "SELECTED_QUEUES_MAIL_INBOUND": "선택된 상담그룹 수신 이메일", + "ALL_QUEUES_SMS_INBOUND": "전체 상담그룹 수신 SMS", + "SELECTED_QUEUES_SMS_INBOUND": "선택된 상담그룹 수신 SMS", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "전체 상담그룹 수신 오픈채널", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "선택된 상담그룹 수신 오픈채널", + "ALL_QUEUES_FAX_INBOUND": "전체 상담그룹 수신 팩스", + "SELECTED_QUEUES_FAX_INBOUND": "선택된 상담그룹 수신 팩스", "VOICEMAIL": "보이스메일", "SHOWWEBCONTROL": "웹 제어 표시", "PAGE": "페이지", @@ -339,12 +339,12 @@ "BLOCKED": "잠김", "DISABLED": "비활성화", "REGENERATE": "재생", - "ALL_WHATSAPP_QUEUES": "모든 WhatsApp 대기열", + "ALL_QUEUES_WHATSAPP_INBOUND": "모든 WhatsApp 대기열", "ALL_WHATSAPPACCOUNTS": "모든 WhatsApp 계정", "ALL_WHATSAPPQUEUES": "모든 Whataspp 대기열", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "WhatsApp 대기열에 에이전트 추가", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "WhatsApp 대기열에 에이전트 추가", "QUEUEADD_USER_WHATSAPP_INBOUND": "WhatsApp 대기열에 사용자 추가", - "SELECTED_WHATSAPP_QUEUES": "선택된 WhatsApp 대기열", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "선택된 WhatsApp 대기열", "SELECTED_WHATSAPPACCOUNTS": "선택된 WhatsApp 계정", "SELECTED_WHATSAPPQUEUES": "선택된 WhatsApp 대기열", "USERADD_WHATSAPPACCOUNTS": "사용자에게 WhatsApp 계정 추가", diff --git a/public/app/main/apps/staff/i18n/lt.json b/public/app/main/apps/staff/i18n/lt.json index cb980f4..3c7408d 100644 --- a/public/app/main/apps/staff/i18n/lt.json +++ b/public/app/main/apps/staff/i18n/lt.json @@ -206,13 +206,13 @@ "ALL_MODULES_AVAILABLE": "Galimi visi moduliai", "CALLGROUP": "Skambučių grupė", "PICKUPGROUP": "Pikapų grupė", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Pridėti agentą prie eilės kampanijų", - "ADD_AGENT_TO_VOICE_QUEUES": "Pridėti agentą prie balso eilių", - "ADD_AGENT_TO_CHAT_QUEUES": "Pridėti agentą prie pokalbio eilių", - "ADD_AGENT_TO_MAIL_QUEUES": "Pridėti agentą prie el. pašto eilių", - "ADD_AGENT_TO_SMS_QUEUES": "Pridėti agentą prie SMS eilių", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Pridėti agentą prie atviro kanalo eilių", - "ADD_AGENT_TO_FAX_QUEUES": "Pridėti agentą prie fakso eilių", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Pridėti agentą prie eilės kampanijų", + "QUEUEADD_AGENT_VOICE_INBOUND": "Pridėti agentą prie balso eilių", + "QUEUEADD_AGENT_CHAT_INBOUND": "Pridėti agentą prie pokalbio eilių", + "QUEUEADD_AGENT_MAIL_INBOUND": "Pridėti agentą prie el. pašto eilių", + "QUEUEADD_AGENT_SMS_INBOUND": "Pridėti agentą prie SMS eilių", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Pridėti agentą prie atviro kanalo eilių", + "QUEUEADD_AGENT_FAX_INBOUND": "Pridėti agentą prie fakso eilių", "QUEUEADD_USER_VOICE_INBOUND": "Pridėti vartotoją prie balso eilių", "QUEUEADD_USER_CHAT_INBOUND": "Pridėti vartotoją prie pokalbio eilių", "QUEUEADD_USER_MAIL_INBOUND": "Pridėti vartotoją prie el. pašto eilių", @@ -222,20 +222,20 @@ "ALL_TEAMS": "Visos komandos", "SELECTED_TEAMS": "Pasirinktos komandos", "SELECTED_AGENTS": "Pasirinkti agentai", - "ALL_QUEUE_CAMPAIGNS": "Visos eilės kampanijos", - "SELECTED_QUEUE_CAMPAIGNS": "Pasirinktos eilės kampanijos", - "ALL_VOICE_QUEUES": "Visos balso eilės", - "SELECTED_VOICE_QUEUES": "Pasirinktos balso eilės", - "ALL_CHAT_QUEUES": "Visos pokalbio eilės", - "SELECTED_CHAT_QUEUES": "Pasirinktos pokalbio eilės", - "ALL_MAIL_QUEUES": "Visos el. pašto eilės", - "SELECTED_MAIL_QUEUES": "Pasirinktos el. pašto eilės", - "ALL_SMS_QUEUES": "Visos SMS eilės", - "SELECTED_SMS_QUEUES": "Pasirinktos SMS eilės", - "ALL_OPENCHANNEL_QUEUES": "Visos atviro kanalo eilės", - "SELECTED_OPENCHANNEL_QUEUES": "Pasirinktos atviro kanalo eilės", - "ALL_FAX_QUEUES": "Visos fakso eilės", - "SELECTED_FAX_QUEUES": "Pasirinktos fakso eilės", + "ALL_QUEUES_VOICE_OUTBOUND": "Visos eilės kampanijos", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Pasirinktos eilės kampanijos", + "ALL_QUEUES_VOICE_INBOUND": "Visos balso eilės", + "SELECTED_QUEUES_VOICE_INBOUND": "Pasirinktos balso eilės", + "ALL_QUEUES_CHAT_INBOUND": "Visos pokalbio eilės", + "SELECTED_QUEUES_CHAT_INBOUND": "Pasirinktos pokalbio eilės", + "ALL_QUEUES_MAIL_INBOUND": "Visos el. pašto eilės", + "SELECTED_QUEUES_MAIL_INBOUND": "Pasirinktos el. pašto eilės", + "ALL_QUEUES_SMS_INBOUND": "Visos SMS eilės", + "SELECTED_QUEUES_SMS_INBOUND": "Pasirinktos SMS eilės", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Visos atviro kanalo eilės", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Pasirinktos atviro kanalo eilės", + "ALL_QUEUES_FAX_INBOUND": "Visos fakso eilės", + "SELECTED_QUEUES_FAX_INBOUND": "Pasirinktos fakso eilės", "VOICEMAIL": "Balso paštas", "SHOWWEBCONTROL": "Tipologija", "PAGE": "Puslapis", @@ -346,12 +346,12 @@ "PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE": "Neteisėtas veiksmas", "PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE": "Jums neleidžiama pasiekti pasirinkto skyriaus", "PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE": "Jums neleidžiama kurti šaltinio", - "ALL_WHATSAPP_QUEUES": "Visos „WhatsApp“ eilės", + "ALL_QUEUES_WHATSAPP_INBOUND": "Visos „WhatsApp“ eilės", "ALL_WHATSAPPACCOUNTS": "Visos „WhatsApp“ paskyros", "ALL_WHATSAPPQUEUES": "Visos „Whataspp“ eilės", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Pridėti agentą prie „WhatsApp“ eilių", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Pridėti agentą prie „WhatsApp“ eilių", "QUEUEADD_USER_WHATSAPP_INBOUND": "Pridėti vartotoją prie „WhatsApp“ eilių", - "SELECTED_WHATSAPP_QUEUES": "Pasirinktos „WhatsApp“ eilės", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Pasirinktos „WhatsApp“ eilės", "SELECTED_WHATSAPPACCOUNTS": "Pasirinktos „WhatsApp“ paskyros", "SELECTED_WHATSAPPQUEUES": "Pasirinktos „WhatsApp“ eilės", "USERADD_WHATSAPPACCOUNTS": "Pridėkite „WhatsApp“ abonementą prie vartotojo", diff --git a/public/app/main/apps/staff/i18n/lv.json b/public/app/main/apps/staff/i18n/lv.json index e1f79b9..404cf61 100644 --- a/public/app/main/apps/staff/i18n/lv.json +++ b/public/app/main/apps/staff/i18n/lv.json @@ -190,13 +190,13 @@ "ALL_MODULES_AVAILABLE": "Visi pieejamie moduļi", "CALLGROUP": "Zvanu grupa", "PICKUPGROUP": "Pacelšanas grupa", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Pievienot aģentu rindas kampaņām", - "ADD_AGENT_TO_VOICE_QUEUES": "Pievienot pārstāvi balss rindām", - "ADD_AGENT_TO_CHAT_QUEUES": "Pievienot aģentu tērzēšanas rindām", - "ADD_AGENT_TO_MAIL_QUEUES": "Pievienot aģentu e-pasta rindām", - "ADD_AGENT_TO_SMS_QUEUES": "Pievienot aģentu īsziņu rindām", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Pievienot aģentu atvērtā kanāla rindām", - "ADD_AGENT_TO_FAX_QUEUES": "Pievienot aģentu faksa rindām", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Pievienot aģentu rindas kampaņām", + "QUEUEADD_AGENT_VOICE_INBOUND": "Pievienot pārstāvi balss rindām", + "QUEUEADD_AGENT_CHAT_INBOUND": "Pievienot aģentu tērzēšanas rindām", + "QUEUEADD_AGENT_MAIL_INBOUND": "Pievienot aģentu e-pasta rindām", + "QUEUEADD_AGENT_SMS_INBOUND": "Pievienot aģentu īsziņu rindām", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Pievienot aģentu atvērtā kanāla rindām", + "QUEUEADD_AGENT_FAX_INBOUND": "Pievienot aģentu faksa rindām", "QUEUEADD_USER_VOICE_INBOUND": "Pievienot lietotāju balss rindām", "QUEUEADD_USER_CHAT_INBOUND": "Pievienot lietotāju tērzēšanas rindām", "QUEUEADD_USER_MAIL_INBOUND": "Pievienot lietotāju e-pasta rindām", @@ -206,20 +206,20 @@ "ALL_TEAMS": "Visas komandas", "SELECTED_TEAMS": "Atlasītās komandas", "SELECTED_AGENTS": "Atlasītie aģenti", - "ALL_QUEUE_CAMPAIGNS": "Visas rindas kampaņas", - "SELECTED_QUEUE_CAMPAIGNS": "Atlasītās rindas kampaņas", - "ALL_VOICE_QUEUES": "Visas balss rindas", - "SELECTED_VOICE_QUEUES": "Atlasītās balss rindas", - "ALL_CHAT_QUEUES": "Visas tērzēšanas rindas", - "SELECTED_CHAT_QUEUES": "Atlasītās tērzēšanas rindas", - "ALL_MAIL_QUEUES": "Visas e-pasta rindas", - "SELECTED_MAIL_QUEUES": "Atlasītās e-pasta rindas", - "ALL_SMS_QUEUES": "Visas īsziņu rindas", - "SELECTED_SMS_QUEUES": "Atlasītās īsziņu rindas", - "ALL_OPENCHANNEL_QUEUES": "Visas Open Channel rindas", - "SELECTED_OPENCHANNEL_QUEUES": "Atlasītās atvērto kanālu rindas", - "ALL_FAX_QUEUES": "Visas faksa rindas", - "SELECTED_FAX_QUEUES": "Atlasītās faksa rindas", + "ALL_QUEUES_VOICE_OUTBOUND": "Visas rindas kampaņas", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Atlasītās rindas kampaņas", + "ALL_QUEUES_VOICE_INBOUND": "Visas balss rindas", + "SELECTED_QUEUES_VOICE_INBOUND": "Atlasītās balss rindas", + "ALL_QUEUES_CHAT_INBOUND": "Visas tērzēšanas rindas", + "SELECTED_QUEUES_CHAT_INBOUND": "Atlasītās tērzēšanas rindas", + "ALL_QUEUES_MAIL_INBOUND": "Visas e-pasta rindas", + "SELECTED_QUEUES_MAIL_INBOUND": "Atlasītās e-pasta rindas", + "ALL_QUEUES_SMS_INBOUND": "Visas īsziņu rindas", + "SELECTED_QUEUES_SMS_INBOUND": "Atlasītās īsziņu rindas", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Visas Open Channel rindas", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Atlasītās atvērto kanālu rindas", + "ALL_QUEUES_FAX_INBOUND": "Visas faksa rindas", + "SELECTED_QUEUES_FAX_INBOUND": "Atlasītās faksa rindas", "VOICEMAIL": "Balss pasts", "SHOWWEBCONTROL": "Tipoloģija", "PAGE": "Lappuse", @@ -339,12 +339,12 @@ "BLOCKED": "Slēgts", "DISABLED": "Deaktivizēts", "REGENERATE": "Atjaunot", - "ALL_WHATSAPP_QUEUES": "Visas WhatsApp rindas", + "ALL_QUEUES_WHATSAPP_INBOUND": "Visas WhatsApp rindas", "ALL_WHATSAPPACCOUNTS": "Visi WhatsApp konti", "ALL_WHATSAPPQUEUES": "Visas Kasaspa rindas", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Pievienojiet aģentu WhatsApp rindām", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Pievienojiet aģentu WhatsApp rindām", "QUEUEADD_USER_WHATSAPP_INBOUND": "Pievienojiet lietotāju WhatsApp rindām", - "SELECTED_WHATSAPP_QUEUES": "Atlasītās WhatsApp rindas", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Atlasītās WhatsApp rindas", "SELECTED_WHATSAPPACCOUNTS": "Atlasītie WhatsApp konti", "SELECTED_WHATSAPPQUEUES": "Atlasītās WhatsApp rindas", "USERADD_WHATSAPPACCOUNTS": "Pievienojiet WhatsApp kontu lietotājam", diff --git a/public/app/main/apps/staff/i18n/nl.json b/public/app/main/apps/staff/i18n/nl.json index d00a035..835f03f 100644 --- a/public/app/main/apps/staff/i18n/nl.json +++ b/public/app/main/apps/staff/i18n/nl.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Alle modules beschikbaar", "CALLGROUP": "Groepsgesprek", "PICKUPGROUP": "Groepsgesprekken", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Agent toevoegen aan wachtrij campagnes", - "ADD_AGENT_TO_VOICE_QUEUES": "Voeg Agent Voice wachtrijen", - "ADD_AGENT_TO_CHAT_QUEUES": "Voeg Agent Chatwachtrijen", - "ADD_AGENT_TO_MAIL_QUEUES": "Voeg Agent Mailwachtrijen", - "ADD_AGENT_TO_SMS_QUEUES": "Voeg Agent naar SMS-wachtrijen", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Voeg Agent Open kanaal wachtrijen", - "ADD_AGENT_TO_FAX_QUEUES": "Voeg Agent Faxwachtrijen", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Agent toevoegen aan wachtrij campagnes", + "QUEUEADD_AGENT_VOICE_INBOUND": "Voeg Agent Voice wachtrijen", + "QUEUEADD_AGENT_CHAT_INBOUND": "Voeg Agent Chatwachtrijen", + "QUEUEADD_AGENT_MAIL_INBOUND": "Voeg Agent Mailwachtrijen", + "QUEUEADD_AGENT_SMS_INBOUND": "Voeg Agent naar SMS-wachtrijen", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Voeg Agent Open kanaal wachtrijen", + "QUEUEADD_AGENT_FAX_INBOUND": "Voeg Agent Faxwachtrijen", "QUEUEADD_USER_VOICE_INBOUND": "Gebruiker toevoegen aan Voice-wachtrijen", "QUEUEADD_USER_CHAT_INBOUND": "Gebruiker toevoegen aan Chatwachtrijen", "QUEUEADD_USER_MAIL_INBOUND": "Gebruiker toevoegen aan Mailwachtrijen", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Alle teams", "SELECTED_TEAMS": "Geselecteerde teams", "SELECTED_AGENTS": "Geselecteerde agenten", - "ALL_QUEUE_CAMPAIGNS": "Alle Wachtrij campagnes", - "SELECTED_QUEUE_CAMPAIGNS": "Geselecteerde Wachtrij campagnes", - "ALL_VOICE_QUEUES": "Alle spraak wachtrijen", - "SELECTED_VOICE_QUEUES": "Geselecteerde wachtrijen", - "ALL_CHAT_QUEUES": "Alle wachtrijen", - "SELECTED_CHAT_QUEUES": "Geselecteerde Chatwachtrijen", - "ALL_MAIL_QUEUES": "Alle Mailwachtrijen", - "SELECTED_MAIL_QUEUES": "Geselecteerde Mailwachtrijen", - "ALL_SMS_QUEUES": "Alle SMS-wachtrijen", - "SELECTED_SMS_QUEUES": "Geselecteerde SMS wachtrijen", - "ALL_OPENCHANNEL_QUEUES": "Alle open kanaal wachtrijen", - "SELECTED_OPENCHANNEL_QUEUES": "Geselecteerde Open kanaal wachtrijen", - "ALL_FAX_QUEUES": "Alle Faxwachtrijen", - "SELECTED_FAX_QUEUES": "Geselecteerde Faxwachtrijen", + "ALL_QUEUES_VOICE_OUTBOUND": "Alle Wachtrij campagnes", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Geselecteerde Wachtrij campagnes", + "ALL_QUEUES_VOICE_INBOUND": "Alle spraak wachtrijen", + "SELECTED_QUEUES_VOICE_INBOUND": "Geselecteerde wachtrijen", + "ALL_QUEUES_CHAT_INBOUND": "Alle wachtrijen", + "SELECTED_QUEUES_CHAT_INBOUND": "Geselecteerde Chatwachtrijen", + "ALL_QUEUES_MAIL_INBOUND": "Alle Mailwachtrijen", + "SELECTED_QUEUES_MAIL_INBOUND": "Geselecteerde Mailwachtrijen", + "ALL_QUEUES_SMS_INBOUND": "Alle SMS-wachtrijen", + "SELECTED_QUEUES_SMS_INBOUND": "Geselecteerde SMS wachtrijen", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alle open kanaal wachtrijen", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Geselecteerde Open kanaal wachtrijen", + "ALL_QUEUES_FAX_INBOUND": "Alle Faxwachtrijen", + "SELECTED_QUEUES_FAX_INBOUND": "Geselecteerde Faxwachtrijen", "VOICEMAIL": "Voicemail", "SHOWWEBCONTROL": "Show Web Control", "PAGE": "Pagina", @@ -339,12 +339,12 @@ "BLOCKED": "Op slot", "DISABLED": "Gedeactiveerd", "REGENERATE": "Regenereren", - "ALL_WHATSAPP_QUEUES": "Alle WhatsApp-wachtrijen", + "ALL_QUEUES_WHATSAPP_INBOUND": "Alle WhatsApp-wachtrijen", "ALL_WHATSAPPACCOUNTS": "Alle WhatsApp-accounts", "ALL_WHATSAPPQUEUES": "Alle Whataspp-wachtrijen", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Voeg agent toe aan WhatsApp-wachtrijen", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Voeg agent toe aan WhatsApp-wachtrijen", "QUEUEADD_USER_WHATSAPP_INBOUND": "Gebruiker toevoegen aan WhatsApp-wachtrijen", - "SELECTED_WHATSAPP_QUEUES": "Geselecteerde WhatsApp-wachtrijen", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Geselecteerde WhatsApp-wachtrijen", "SELECTED_WHATSAPPACCOUNTS": "Geselecteerde WhatsApp-accounts", "SELECTED_WHATSAPPQUEUES": "Geselecteerde WhatsApp-wachtrijen", "USERADD_WHATSAPPACCOUNTS": "Voeg WhatsApp-account toe aan gebruiker", diff --git a/public/app/main/apps/staff/i18n/no.json b/public/app/main/apps/staff/i18n/no.json index cb1fbc7..1e918f6 100644 --- a/public/app/main/apps/staff/i18n/no.json +++ b/public/app/main/apps/staff/i18n/no.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Alle moduler tilgjengelig", "CALLGROUP": "Ring gruppe", "PICKUPGROUP": "Pickup-gruppe", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Legg til Agent til kø-kampanjer", - "ADD_AGENT_TO_VOICE_QUEUES": "Legg til Agent til Voice køer", - "ADD_AGENT_TO_CHAT_QUEUES": "Legg til Agent til å prate køer", - "ADD_AGENT_TO_MAIL_QUEUES": "Legg til Agent til post køer", - "ADD_AGENT_TO_SMS_QUEUES": "Legg til Agent til SMS-køer", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Legg til Agent for å åpne kanalen køer", - "ADD_AGENT_TO_FAX_QUEUES": "Legg til Agent til faks køer", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Legg til Agent til kø-kampanjer", + "QUEUEADD_AGENT_VOICE_INBOUND": "Legg til Agent til Voice køer", + "QUEUEADD_AGENT_CHAT_INBOUND": "Legg til Agent til å prate køer", + "QUEUEADD_AGENT_MAIL_INBOUND": "Legg til Agent til post køer", + "QUEUEADD_AGENT_SMS_INBOUND": "Legg til Agent til SMS-køer", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Legg til Agent for å åpne kanalen køer", + "QUEUEADD_AGENT_FAX_INBOUND": "Legg til Agent til faks køer", "QUEUEADD_USER_VOICE_INBOUND": "Legg brukeren til å stemme køer", "QUEUEADD_USER_CHAT_INBOUND": "Legg brukeren til å prate køer", "QUEUEADD_USER_MAIL_INBOUND": "Legg brukeren til post køer", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Alle grupper", "SELECTED_TEAMS": "Valgte lag", "SELECTED_AGENTS": "Valgt agenter", - "ALL_QUEUE_CAMPAIGNS": "Alle kø kampanjer", - "SELECTED_QUEUE_CAMPAIGNS": "Valgte kø kampanjer", - "ALL_VOICE_QUEUES": "Alle Voice køer", - "SELECTED_VOICE_QUEUES": "Valgt stemme køer", - "ALL_CHAT_QUEUES": "Alle Chat køer", - "SELECTED_CHAT_QUEUES": "Valgt Chat køer", - "ALL_MAIL_QUEUES": "Alle post-køer", - "SELECTED_MAIL_QUEUES": "Valgt post køer", - "ALL_SMS_QUEUES": "Alle SMS-køer", - "SELECTED_SMS_QUEUES": "Valgt SMS køer", - "ALL_OPENCHANNEL_QUEUES": "Alle åpne kanal køer", - "SELECTED_OPENCHANNEL_QUEUES": "Valgt åpen kanal køer", - "ALL_FAX_QUEUES": "Alle faks køer", - "SELECTED_FAX_QUEUES": "Valgt faks køer", + "ALL_QUEUES_VOICE_OUTBOUND": "Alle kø kampanjer", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Valgte kø kampanjer", + "ALL_QUEUES_VOICE_INBOUND": "Alle Voice køer", + "SELECTED_QUEUES_VOICE_INBOUND": "Valgt stemme køer", + "ALL_QUEUES_CHAT_INBOUND": "Alle Chat køer", + "SELECTED_QUEUES_CHAT_INBOUND": "Valgt Chat køer", + "ALL_QUEUES_MAIL_INBOUND": "Alle post-køer", + "SELECTED_QUEUES_MAIL_INBOUND": "Valgt post køer", + "ALL_QUEUES_SMS_INBOUND": "Alle SMS-køer", + "SELECTED_QUEUES_SMS_INBOUND": "Valgt SMS køer", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alle åpne kanal køer", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Valgt åpen kanal køer", + "ALL_QUEUES_FAX_INBOUND": "Alle faks køer", + "SELECTED_QUEUES_FAX_INBOUND": "Valgt faks køer", "VOICEMAIL": "Talebeskjed", "SHOWWEBCONTROL": "Vis Web-kontroll", "PAGE": "Siden", @@ -339,12 +339,12 @@ "BLOCKED": "Låst", "DISABLED": "Deaktivert", "REGENERATE": "regenerere", - "ALL_WHATSAPP_QUEUES": "Alle WhatsApp-køer", + "ALL_QUEUES_WHATSAPP_INBOUND": "Alle WhatsApp-køer", "ALL_WHATSAPPACCOUNTS": "Alle WhatsApp-kontoer", "ALL_WHATSAPPQUEUES": "Alle Whataspp-køer", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Legg agent til WhatsApp-køer", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Legg agent til WhatsApp-køer", "QUEUEADD_USER_WHATSAPP_INBOUND": "Legg til bruker i WhatsApp-køer", - "SELECTED_WHATSAPP_QUEUES": "Valgte WhatsApp-køer", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Valgte WhatsApp-køer", "SELECTED_WHATSAPPACCOUNTS": "Valgte WhatsApp-kontoer", "SELECTED_WHATSAPPQUEUES": "Valgte WhatsApp-køer", "USERADD_WHATSAPPACCOUNTS": "Legg WhatsApp-konto til brukeren", diff --git a/public/app/main/apps/staff/i18n/pl.json b/public/app/main/apps/staff/i18n/pl.json index 037d010..6ed21f7 100644 --- a/public/app/main/apps/staff/i18n/pl.json +++ b/public/app/main/apps/staff/i18n/pl.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Wszystkie dostępne moduły", "CALLGROUP": "Zaproszenie grupy", "PICKUPGROUP": "Grupy przejmowania połączeń", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Dodaj agenta do kolejki kampanie reklamowe", - "ADD_AGENT_TO_VOICE_QUEUES": "Dodaj agenta do głosu kolejek", - "ADD_AGENT_TO_CHAT_QUEUES": "Dodaj agenta do rozmów kolejek", - "ADD_AGENT_TO_MAIL_QUEUES": "Dodaj agenta do kolejek poczty", - "ADD_AGENT_TO_SMS_QUEUES": "Dodaj agenta do kolejki wiadomości SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Dodaj agenta do otwartego kanału kolejek", - "ADD_AGENT_TO_FAX_QUEUES": "Dodaj agenta do kolejek faksu", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Dodaj agenta do kolejki kampanie reklamowe", + "QUEUEADD_AGENT_VOICE_INBOUND": "Dodaj agenta do głosu kolejek", + "QUEUEADD_AGENT_CHAT_INBOUND": "Dodaj agenta do rozmów kolejek", + "QUEUEADD_AGENT_MAIL_INBOUND": "Dodaj agenta do kolejek poczty", + "QUEUEADD_AGENT_SMS_INBOUND": "Dodaj agenta do kolejki wiadomości SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Dodaj agenta do otwartego kanału kolejek", + "QUEUEADD_AGENT_FAX_INBOUND": "Dodaj agenta do kolejek faksu", "QUEUEADD_USER_VOICE_INBOUND": "Dodaj użytkownika do głosu kolejek", "QUEUEADD_USER_CHAT_INBOUND": "Dodaj użytkownika do rozmów kolejek", "QUEUEADD_USER_MAIL_INBOUND": "Dodaj użytkownika do kolejek poczty", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Wszystkie zespoły", "SELECTED_TEAMS": "Wybrane zespoły", "SELECTED_AGENTS": "Wybranych agentów", - "ALL_QUEUE_CAMPAIGNS": "Wszystkie kampanie kolejki", - "SELECTED_QUEUE_CAMPAIGNS": "Wybrane kampanie kolejki", - "ALL_VOICE_QUEUES": "Wszystkie notatki głosowe kolejek", - "SELECTED_VOICE_QUEUES": "Wybrane głos kolejek", - "ALL_CHAT_QUEUES": "Wszystkich kolejek czatu", - "SELECTED_CHAT_QUEUES": "Wybrany Czat kolejek", - "ALL_MAIL_QUEUES": "Wszystkich kolejek poczty", - "SELECTED_MAIL_QUEUES": "Wybrane kolejek poczty", - "ALL_SMS_QUEUES": "Wszystkich kolejek SMS", - "SELECTED_SMS_QUEUES": "Wybrany SMS kolejek", - "ALL_OPENCHANNEL_QUEUES": "Wszystkie Wiekszość kolejek", - "SELECTED_OPENCHANNEL_QUEUES": "Wybrane Wiekszość kolejek", - "ALL_FAX_QUEUES": "Wszystkie kolejki faksów", - "SELECTED_FAX_QUEUES": "Wybrane Fax kolejek", + "ALL_QUEUES_VOICE_OUTBOUND": "Wszystkie kampanie kolejki", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Wybrane kampanie kolejki", + "ALL_QUEUES_VOICE_INBOUND": "Wszystkie notatki głosowe kolejek", + "SELECTED_QUEUES_VOICE_INBOUND": "Wybrane głos kolejek", + "ALL_QUEUES_CHAT_INBOUND": "Wszystkich kolejek czatu", + "SELECTED_QUEUES_CHAT_INBOUND": "Wybrany Czat kolejek", + "ALL_QUEUES_MAIL_INBOUND": "Wszystkich kolejek poczty", + "SELECTED_QUEUES_MAIL_INBOUND": "Wybrane kolejek poczty", + "ALL_QUEUES_SMS_INBOUND": "Wszystkich kolejek SMS", + "SELECTED_QUEUES_SMS_INBOUND": "Wybrany SMS kolejek", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Wszystkie Wiekszość kolejek", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Wybrane Wiekszość kolejek", + "ALL_QUEUES_FAX_INBOUND": "Wszystkie kolejki faksów", + "SELECTED_QUEUES_FAX_INBOUND": "Wybrane Fax kolejek", "VOICEMAIL": "Poczta głosowa", "SHOWWEBCONTROL": "Pokaż Web Control", "PAGE": "Page", @@ -339,12 +339,12 @@ "BLOCKED": "Zablokowany", "DISABLED": "Dezaktywowano", "REGENERATE": "Zregenerować", - "ALL_WHATSAPP_QUEUES": "Wszystkie kolejki WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Wszystkie kolejki WhatsApp", "ALL_WHATSAPPACCOUNTS": "Wszystkie konta WhatsApp", "ALL_WHATSAPPQUEUES": "Wszystkie kolejki Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Dodaj agenta do kolejek WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Dodaj agenta do kolejek WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Dodaj użytkownika do kolejek WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Wybrane kolejki WhatsApp", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Wybrane kolejki WhatsApp", "SELECTED_WHATSAPPACCOUNTS": "Wybrane konta WhatsApp", "SELECTED_WHATSAPPQUEUES": "Wybrane kolejki WhatsApp", "USERADD_WHATSAPPACCOUNTS": "Dodaj konto WhatsApp do użytkownika", diff --git a/public/app/main/apps/staff/i18n/pt-BR.json b/public/app/main/apps/staff/i18n/pt-BR.json index 9694b2c..bf2c9d3 100644 --- a/public/app/main/apps/staff/i18n/pt-BR.json +++ b/public/app/main/apps/staff/i18n/pt-BR.json @@ -195,13 +195,13 @@ "ALL_MODULES_AVAILABLE": "Todos os módulos disponíveis", "CALLGROUP": "Grupo de Chamadas", "PICKUPGROUP": "Grupo de retirada", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Adicionar agente a campanhas de fila", - "ADD_AGENT_TO_VOICE_QUEUES": "Adicionar agente às filas de voz", - "ADD_AGENT_TO_CHAT_QUEUES": "Adicionar agente às filas de Chat", - "ADD_AGENT_TO_MAIL_QUEUES": "Adicionar agente às filas de emails", - "ADD_AGENT_TO_SMS_QUEUES": "Adicionar agente às filas do SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Adicionar agente às filas do Open Channel", - "ADD_AGENT_TO_FAX_QUEUES": "Adicionar agente às filas de fax", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Adicionar agente a campanhas de fila", + "QUEUEADD_AGENT_VOICE_INBOUND": "Adicionar agente às filas de voz", + "QUEUEADD_AGENT_CHAT_INBOUND": "Adicionar agente às filas de Chat", + "QUEUEADD_AGENT_MAIL_INBOUND": "Adicionar agente às filas de emails", + "QUEUEADD_AGENT_SMS_INBOUND": "Adicionar agente às filas do SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Adicionar agente às filas do Open Channel", + "QUEUEADD_AGENT_FAX_INBOUND": "Adicionar agente às filas de fax", "QUEUEADD_USER_VOICE_INBOUND": "Adicionar usuário às filas de voz", "QUEUEADD_USER_CHAT_INBOUND": "Adicionar usuário a filas de Chat", "QUEUEADD_USER_MAIL_INBOUND": "Adicionar usuário a filas de e-mail", @@ -211,20 +211,20 @@ "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", - "ALL_VOICE_QUEUES": "Todas as filas de voz", - "SELECTED_VOICE_QUEUES": "Filas de voz selecionadas", - "ALL_CHAT_QUEUES": "Todas as filas de Chat", - "SELECTED_CHAT_QUEUES": "Filas de Chat Selecionadas", - "ALL_MAIL_QUEUES": "Todas as filas de email", - "SELECTED_MAIL_QUEUES": "Filas de E-mail Selecionadas", - "ALL_SMS_QUEUES": "Todas as filas do SMS", - "SELECTED_SMS_QUEUES": "Filas SMS Selecionadas", - "ALL_OPENCHANNEL_QUEUES": "Todas as filas do Open Channel", - "SELECTED_OPENCHANNEL_QUEUES": "Filas de Open Channel Selecionadas", - "ALL_FAX_QUEUES": "Todas as filas de fax", - "SELECTED_FAX_QUEUES": "Filas de fax selecionadas", + "ALL_QUEUES_VOICE_OUTBOUND": "Todas as campanhas de filas", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Campanhas de Filas Selecionadas", + "ALL_QUEUES_VOICE_INBOUND": "Todas as filas de voz", + "SELECTED_QUEUES_VOICE_INBOUND": "Filas de voz selecionadas", + "ALL_QUEUES_CHAT_INBOUND": "Todas as filas de Chat", + "SELECTED_QUEUES_CHAT_INBOUND": "Filas de Chat Selecionadas", + "ALL_QUEUES_MAIL_INBOUND": "Todas as filas de email", + "SELECTED_QUEUES_MAIL_INBOUND": "Filas de E-mail Selecionadas", + "ALL_QUEUES_SMS_INBOUND": "Todas as filas do SMS", + "SELECTED_QUEUES_SMS_INBOUND": "Filas SMS Selecionadas", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Todas as filas do Open Channel", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Filas de Open Channel Selecionadas", + "ALL_QUEUES_FAX_INBOUND": "Todas as filas de fax", + "SELECTED_QUEUES_FAX_INBOUND": "Filas de fax selecionadas", "VOICEMAIL": "Correio de voz", "SHOWWEBCONTROL": "Tipologia", "PAGE": "Página", @@ -339,12 +339,12 @@ "BLOCKED": "Bloqueado", "DISABLED": "Desativado", "REGENERATE": "Regenerado", - "ALL_WHATSAPP_QUEUES": "Todas as filas de WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Todas as filas de WhatsApp", "ALL_WHATSAPPACCOUNTS": "Todas as contas WhatsApp", "ALL_WHATSAPPQUEUES": "Todas as filas Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Adicionar agente às filas do WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Adicionar agente às filas do WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Adicionar usuário às filas do WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Filas de WhatsApp selecionadas", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Filas de WhatsApp selecionadas", "SELECTED_WHATSAPPACCOUNTS": "Contas WhatsApp selecionadas", "SELECTED_WHATSAPPQUEUES": "Filas de WhatsApp selecionadas", "USERADD_WHATSAPPACCOUNTS": "Adicionar conta WhatsApp ao usuário", diff --git a/public/app/main/apps/staff/i18n/pt-PT.json b/public/app/main/apps/staff/i18n/pt-PT.json index 2257104..44742f9 100644 --- a/public/app/main/apps/staff/i18n/pt-PT.json +++ b/public/app/main/apps/staff/i18n/pt-PT.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Todos os módulos disponíveis", "CALLGROUP": "Grupo de chamada", "PICKUPGROUP": "Grupo de captura", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Adicionar agente para fila de campanhas", - "ADD_AGENT_TO_VOICE_QUEUES": "Adicionar agente para filas de voz", - "ADD_AGENT_TO_CHAT_QUEUES": "Adicionar agente para filas de bate-papo", - "ADD_AGENT_TO_MAIL_QUEUES": "Adicionar agente para filas de correio", - "ADD_AGENT_TO_SMS_QUEUES": "Adicionar agente para filas de SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Adicionar agente para filas de canal aberto", - "ADD_AGENT_TO_FAX_QUEUES": "Adicionar agente para filas de Fax", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Adicionar agente para fila de campanhas", + "QUEUEADD_AGENT_VOICE_INBOUND": "Adicionar agente para filas de voz", + "QUEUEADD_AGENT_CHAT_INBOUND": "Adicionar agente para filas de bate-papo", + "QUEUEADD_AGENT_MAIL_INBOUND": "Adicionar agente para filas de correio", + "QUEUEADD_AGENT_SMS_INBOUND": "Adicionar agente para filas de SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Adicionar agente para filas de canal aberto", + "QUEUEADD_AGENT_FAX_INBOUND": "Adicionar agente para filas de Fax", "QUEUEADD_USER_VOICE_INBOUND": "Adicionar usuário à filas de voz", "QUEUEADD_USER_CHAT_INBOUND": "Adicionar usuário para filas de bate-papo", "QUEUEADD_USER_MAIL_INBOUND": "Adicionar usuário ao Mail filas", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Todas as equipas", "SELECTED_TEAMS": "Equipes selecionadas", "SELECTED_AGENTS": "Agentes selecionados", - "ALL_QUEUE_CAMPAIGNS": "Todas as campanhas de fila", - "SELECTED_QUEUE_CAMPAIGNS": "Campanhas de filas selecionado", - "ALL_VOICE_QUEUES": "Todas as filas de voz", - "SELECTED_VOICE_QUEUES": "Filas de voz selecionado", - "ALL_CHAT_QUEUES": "Todas as filas de bate-papo", - "SELECTED_CHAT_QUEUES": "Filas de chat selecionado", - "ALL_MAIL_QUEUES": "Todas as filas de correio", - "SELECTED_MAIL_QUEUES": "Filas de correio seleccionado", - "ALL_SMS_QUEUES": "Todas as filas de SMS", - "SELECTED_SMS_QUEUES": "Filas de SMS selecionado", - "ALL_OPENCHANNEL_QUEUES": "Todas as filas de canal aberto", - "SELECTED_OPENCHANNEL_QUEUES": "Filas de abrir o canal seleccionado", - "ALL_FAX_QUEUES": "Todas as filas de Fax", - "SELECTED_FAX_QUEUES": "Filas de fax selecionado", + "ALL_QUEUES_VOICE_OUTBOUND": "Todas as campanhas de fila", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Campanhas de filas selecionado", + "ALL_QUEUES_VOICE_INBOUND": "Todas as filas de voz", + "SELECTED_QUEUES_VOICE_INBOUND": "Filas de voz selecionado", + "ALL_QUEUES_CHAT_INBOUND": "Todas as filas de bate-papo", + "SELECTED_QUEUES_CHAT_INBOUND": "Filas de chat selecionado", + "ALL_QUEUES_MAIL_INBOUND": "Todas as filas de correio", + "SELECTED_QUEUES_MAIL_INBOUND": "Filas de correio seleccionado", + "ALL_QUEUES_SMS_INBOUND": "Todas as filas de SMS", + "SELECTED_QUEUES_SMS_INBOUND": "Filas de SMS selecionado", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Todas as filas de canal aberto", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Filas de abrir o canal seleccionado", + "ALL_QUEUES_FAX_INBOUND": "Todas as filas de Fax", + "SELECTED_QUEUES_FAX_INBOUND": "Filas de fax selecionado", "VOICEMAIL": "Correio de voz", "SHOWWEBCONTROL": "Mostrar Controlo Web", "PAGE": "Página", @@ -339,12 +339,12 @@ "BLOCKED": "Bloqueado", "DISABLED": "Desativado", "REGENERATE": "Regenerado", - "ALL_WHATSAPP_QUEUES": "Todas as filas de WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Todas as filas de WhatsApp", "ALL_WHATSAPPACCOUNTS": "Todas as contas WhatsApp", "ALL_WHATSAPPQUEUES": "Todas as filas Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Adicionar agente às filas do WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Adicionar agente às filas do WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Adicionar usuário às filas do WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Filas de WhatsApp selecionadas", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Filas de WhatsApp selecionadas", "SELECTED_WHATSAPPACCOUNTS": "Contas WhatsApp selecionadas", "SELECTED_WHATSAPPQUEUES": "Filas de WhatsApp selecionadas", "USERADD_WHATSAPPACCOUNTS": "Adicionar conta WhatsApp ao usuário", diff --git a/public/app/main/apps/staff/i18n/ru.json b/public/app/main/apps/staff/i18n/ru.json index 6927c6f..283239e 100644 --- a/public/app/main/apps/staff/i18n/ru.json +++ b/public/app/main/apps/staff/i18n/ru.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Все модули", "CALLGROUP": "Вызов группы", "PICKUPGROUP": "Группы перехвата вызова", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Добавить оператора в очереди кампаний", - "ADD_AGENT_TO_VOICE_QUEUES": "Добавить оператора в очереди голосовой связи", - "ADD_AGENT_TO_CHAT_QUEUES": "Добавить оператора в чат очередей", - "ADD_AGENT_TO_MAIL_QUEUES": "Добавить оператора в очереди сообщений электронной почты", - "ADD_AGENT_TO_SMS_QUEUES": "Добавить оператора в очереди сообщений SMS", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Добавить оператора в открытый канал очередей", - "ADD_AGENT_TO_FAX_QUEUES": "Добавить оператора в очереди факса", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Добавить оператора в очереди кампаний", + "QUEUEADD_AGENT_VOICE_INBOUND": "Добавить оператора в очереди голосовой связи", + "QUEUEADD_AGENT_CHAT_INBOUND": "Добавить оператора в чат очередей", + "QUEUEADD_AGENT_MAIL_INBOUND": "Добавить оператора в очереди сообщений электронной почты", + "QUEUEADD_AGENT_SMS_INBOUND": "Добавить оператора в очереди сообщений SMS", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Добавить оператора в открытый канал очередей", + "QUEUEADD_AGENT_FAX_INBOUND": "Добавить оператора в очереди факса", "QUEUEADD_USER_VOICE_INBOUND": "Добавить пользователя в очереди голосовой связи", "QUEUEADD_USER_CHAT_INBOUND": "Добавить пользователя в чат очередей", "QUEUEADD_USER_MAIL_INBOUND": "Добавить пользователя в очереди сообщений электронной почты", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Все группы", "SELECTED_TEAMS": "Выбранные группы", "SELECTED_AGENTS": "Выбранные операторы", - "ALL_QUEUE_CAMPAIGNS": "Все очереди кампаний", - "SELECTED_QUEUE_CAMPAIGNS": "Выбранные очереди кампаний", - "ALL_VOICE_QUEUES": "Все голосовые очередей", - "SELECTED_VOICE_QUEUES": "Выбранный голос очередей", - "ALL_CHAT_QUEUES": "Все очереди чата", - "SELECTED_CHAT_QUEUES": "Выбранный чат очередей", - "ALL_MAIL_QUEUES": "Все очереди сообщений электронной почты", - "SELECTED_MAIL_QUEUES": "Выбранные очереди сообщений электронной почты", - "ALL_SMS_QUEUES": "Все очереди сообщений SMS", - "SELECTED_SMS_QUEUES": "Выбранные очереди сообщений SMS", - "ALL_OPENCHANNEL_QUEUES": "Все открытые канал очередей", - "SELECTED_OPENCHANNEL_QUEUES": "Выбранные открытый канал очередей", - "ALL_FAX_QUEUES": "Все очереди факса", - "SELECTED_FAX_QUEUES": "Выбранный факс очередей", + "ALL_QUEUES_VOICE_OUTBOUND": "Все очереди кампаний", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Выбранные очереди кампаний", + "ALL_QUEUES_VOICE_INBOUND": "Все голосовые очередей", + "SELECTED_QUEUES_VOICE_INBOUND": "Выбранный голос очередей", + "ALL_QUEUES_CHAT_INBOUND": "Все очереди чата", + "SELECTED_QUEUES_CHAT_INBOUND": "Выбранный чат очередей", + "ALL_QUEUES_MAIL_INBOUND": "Все очереди сообщений электронной почты", + "SELECTED_QUEUES_MAIL_INBOUND": "Выбранные очереди сообщений электронной почты", + "ALL_QUEUES_SMS_INBOUND": "Все очереди сообщений SMS", + "SELECTED_QUEUES_SMS_INBOUND": "Выбранные очереди сообщений SMS", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Все открытые канал очередей", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Выбранные открытый канал очередей", + "ALL_QUEUES_FAX_INBOUND": "Все очереди факса", + "SELECTED_QUEUES_FAX_INBOUND": "Выбранный факс очередей", "VOICEMAIL": "Голосовая почта", "SHOWWEBCONTROL": "Показать Web Control", "PAGE": "Страница", @@ -349,12 +349,12 @@ "PERMISSIONS_SAVED_SUCCESS_TITLE": "{{sectionName}} раздел сохранен", "PERMISSIONS_SAVED_SUCCESS_MESSAGE": "Разрешения успешно обновлены!" }, - "ALL_WHATSAPP_QUEUES": "Все очереди WhatsApp", + "ALL_QUEUES_WHATSAPP_INBOUND": "Все очереди WhatsApp", "ALL_WHATSAPPACCOUNTS": "Все аккаунты WhatsApp", "ALL_WHATSAPPQUEUES": "Все очереди Whataspp", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Добавить агента в очереди WhatsApp", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Добавить агента в очереди WhatsApp", "QUEUEADD_USER_WHATSAPP_INBOUND": "Добавить пользователя в очереди WhatsApp", - "SELECTED_WHATSAPP_QUEUES": "Выбранные очереди WhatsApp", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Выбранные очереди WhatsApp", "SELECTED_WHATSAPPACCOUNTS": "Выбранные учетные записи WhatsApp", "SELECTED_WHATSAPPQUEUES": "Выбранные очереди WhatsApp", "USERADD_WHATSAPPACCOUNTS": "Добавить учетную запись WhatsApp к пользователю", diff --git a/public/app/main/apps/staff/i18n/sv.json b/public/app/main/apps/staff/i18n/sv.json index 6b43f2c..42ed1e8 100644 --- a/public/app/main/apps/staff/i18n/sv.json +++ b/public/app/main/apps/staff/i18n/sv.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Alla moduler är tillgängliga", "CALLGROUP": "Gruppsamtal", "PICKUPGROUP": "Gruppsamtal", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Lägg till agent till kökampanjer", - "ADD_AGENT_TO_VOICE_QUEUES": "Lägg till agent till röstköer", - "ADD_AGENT_TO_CHAT_QUEUES": "Lägg till agent till chattköer", - "ADD_AGENT_TO_MAIL_QUEUES": "Lägg till agent till epostköer", - "ADD_AGENT_TO_SMS_QUEUES": "Lägg till agent till SMS-köer", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Lägg till agent till öppna kanal-köer", - "ADD_AGENT_TO_FAX_QUEUES": "Lägg till agent till faxköer", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Lägg till agent till kökampanjer", + "QUEUEADD_AGENT_VOICE_INBOUND": "Lägg till agent till röstköer", + "QUEUEADD_AGENT_CHAT_INBOUND": "Lägg till agent till chattköer", + "QUEUEADD_AGENT_MAIL_INBOUND": "Lägg till agent till epostköer", + "QUEUEADD_AGENT_SMS_INBOUND": "Lägg till agent till SMS-köer", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Lägg till agent till öppna kanal-köer", + "QUEUEADD_AGENT_FAX_INBOUND": "Lägg till agent till faxköer", "QUEUEADD_USER_VOICE_INBOUND": "Lägg till användare till röstköer", "QUEUEADD_USER_CHAT_INBOUND": "Lägg till användare i chattköer", "QUEUEADD_USER_MAIL_INBOUND": "Lägg till användare till epostköer", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Alla grupper", "SELECTED_TEAMS": "Valda grupper", "SELECTED_AGENTS": "Valda agenter", - "ALL_QUEUE_CAMPAIGNS": "Alla kökampanjer", - "SELECTED_QUEUE_CAMPAIGNS": "Valda kökampanjer", - "ALL_VOICE_QUEUES": "Alla röstköer", - "SELECTED_VOICE_QUEUES": "Valda röstköer", - "ALL_CHAT_QUEUES": "All chattköer", - "SELECTED_CHAT_QUEUES": "Valda chattköer", - "ALL_MAIL_QUEUES": "Alla epostköer", - "SELECTED_MAIL_QUEUES": "Valda epostköer", - "ALL_SMS_QUEUES": "Alla SMS-köer", - "SELECTED_SMS_QUEUES": "Valda SMS-köer", - "ALL_OPENCHANNEL_QUEUES": "Alla öppna kanal-köer", - "SELECTED_OPENCHANNEL_QUEUES": "Valda öppna kanal-köer", - "ALL_FAX_QUEUES": "Alla faxköer", - "SELECTED_FAX_QUEUES": "Valda faxköer", + "ALL_QUEUES_VOICE_OUTBOUND": "Alla kökampanjer", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Valda kökampanjer", + "ALL_QUEUES_VOICE_INBOUND": "Alla röstköer", + "SELECTED_QUEUES_VOICE_INBOUND": "Valda röstköer", + "ALL_QUEUES_CHAT_INBOUND": "All chattköer", + "SELECTED_QUEUES_CHAT_INBOUND": "Valda chattköer", + "ALL_QUEUES_MAIL_INBOUND": "Alla epostköer", + "SELECTED_QUEUES_MAIL_INBOUND": "Valda epostköer", + "ALL_QUEUES_SMS_INBOUND": "Alla SMS-köer", + "SELECTED_QUEUES_SMS_INBOUND": "Valda SMS-köer", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alla öppna kanal-köer", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Valda öppna kanal-köer", + "ALL_QUEUES_FAX_INBOUND": "Alla faxköer", + "SELECTED_QUEUES_FAX_INBOUND": "Valda faxköer", "VOICEMAIL": "Röstmeddelande", "SHOWWEBCONTROL": "Typologi", "PAGE": "Sid", @@ -339,12 +339,12 @@ "BLOCKED": "låst", "DISABLED": "Inaktiverad", "REGENERATE": "Regenerera", - "ALL_WHATSAPP_QUEUES": "Alla WhatsApp-köer", + "ALL_QUEUES_WHATSAPP_INBOUND": "Alla WhatsApp-köer", "ALL_WHATSAPPACCOUNTS": "Alla WhatsApp-konton", "ALL_WHATSAPPQUEUES": "Alla Whataspp-köer", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "Lägg till agent i WhatsApp-köer", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Lägg till agent i WhatsApp-köer", "QUEUEADD_USER_WHATSAPP_INBOUND": "Lägg till användare i WhatsApp-köer", - "SELECTED_WHATSAPP_QUEUES": "Valda WhatsApp-köer", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Valda WhatsApp-köer", "SELECTED_WHATSAPPACCOUNTS": "Valda WhatsApp-konton", "SELECTED_WHATSAPPQUEUES": "Valda WhatsApp-köer", "USERADD_WHATSAPPACCOUNTS": "Lägg till WhatsApp-konto till användaren", diff --git a/public/app/main/apps/staff/i18n/tr.json b/public/app/main/apps/staff/i18n/tr.json index bec8cc8..0b27de9 100644 --- a/public/app/main/apps/staff/i18n/tr.json +++ b/public/app/main/apps/staff/i18n/tr.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "Tüm modülü bulunmaktadır.", "CALLGROUP": "Çağrı Grup", "PICKUPGROUP": "Toplayıcı Grup", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Add Ajans Kuyruk Kampanyaları", - "ADD_AGENT_TO_VOICE_QUEUES": "Add Ajans Sesli Kuyrukları", - "ADD_AGENT_TO_CHAT_QUEUES": "Add Ajans Sohbet Kuyrukları", - "ADD_AGENT_TO_MAIL_QUEUES": "Add Ajans Posta Kuyrukları", - "ADD_AGENT_TO_SMS_QUEUES": "Add Ajans SMS Kuyrukları", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Add Agent Açık Kanal Kuyrukları", - "ADD_AGENT_TO_FAX_QUEUES": "Add Ajans Faks Kuyrukları", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "Add Ajans Kuyruk Kampanyaları", + "QUEUEADD_AGENT_VOICE_INBOUND": "Add Ajans Sesli Kuyrukları", + "QUEUEADD_AGENT_CHAT_INBOUND": "Add Ajans Sohbet Kuyrukları", + "QUEUEADD_AGENT_MAIL_INBOUND": "Add Ajans Posta Kuyrukları", + "QUEUEADD_AGENT_SMS_INBOUND": "Add Ajans SMS Kuyrukları", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Add Agent Açık Kanal Kuyrukları", + "QUEUEADD_AGENT_FAX_INBOUND": "Add Ajans Faks Kuyrukları", "QUEUEADD_USER_VOICE_INBOUND": "Kullanıcı Ekle Sesli Kuyrukları", "QUEUEADD_USER_CHAT_INBOUND": "Kullanıcı Ekle Sohbet Kuyrukları", "QUEUEADD_USER_MAIL_INBOUND": "Kullanıcı Ekle Posta Kuyrukları", @@ -198,20 +198,20 @@ "ALL_TEAMS": "Tüm takımlar", "SELECTED_TEAMS": "Seçilen Ekipleri", "SELECTED_AGENTS": "Seçilen maddeler", - "ALL_QUEUE_CAMPAIGNS": "Sırada tüm Kampanyalar", - "SELECTED_QUEUE_CAMPAIGNS": "Seçilen Kuyruk Kampanyaları", - "ALL_VOICE_QUEUES": "Tüm Ses Kuyrukları", - "SELECTED_VOICE_QUEUES": "Seçilen Ses Kuyrukları", - "ALL_CHAT_QUEUES": "Tüm Sohbet Kuyrukları", - "SELECTED_CHAT_QUEUES": "Seçilen Sohbet Kuyrukları", - "ALL_MAIL_QUEUES": "Tüm Posta Kuyrukları", - "SELECTED_MAIL_QUEUES": "Seçilen Posta Kuyrukları", - "ALL_SMS_QUEUES": "Tüm SMS Kuyrukları", - "SELECTED_SMS_QUEUES": "Seçilen SMS Kuyrukları", - "ALL_OPENCHANNEL_QUEUES": "Tüm Açık Kanal Kuyrukları", - "SELECTED_OPENCHANNEL_QUEUES": "Seçilen Açık Kanal Kuyrukları", - "ALL_FAX_QUEUES": "Tüm Faks Kuyrukları", - "SELECTED_FAX_QUEUES": "Seçilen Faks Kuyrukları", + "ALL_QUEUES_VOICE_OUTBOUND": "Sırada tüm Kampanyalar", + "SELECTED_QUEUES_VOICE_OUTBOUND": "Seçilen Kuyruk Kampanyaları", + "ALL_QUEUES_VOICE_INBOUND": "Tüm Ses Kuyrukları", + "SELECTED_QUEUES_VOICE_INBOUND": "Seçilen Ses Kuyrukları", + "ALL_QUEUES_CHAT_INBOUND": "Tüm Sohbet Kuyrukları", + "SELECTED_QUEUES_CHAT_INBOUND": "Seçilen Sohbet Kuyrukları", + "ALL_QUEUES_MAIL_INBOUND": "Tüm Posta Kuyrukları", + "SELECTED_QUEUES_MAIL_INBOUND": "Seçilen Posta Kuyrukları", + "ALL_QUEUES_SMS_INBOUND": "Tüm SMS Kuyrukları", + "SELECTED_QUEUES_SMS_INBOUND": "Seçilen SMS Kuyrukları", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "Tüm Açık Kanal Kuyrukları", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Seçilen Açık Kanal Kuyrukları", + "ALL_QUEUES_FAX_INBOUND": "Tüm Faks Kuyrukları", + "SELECTED_QUEUES_FAX_INBOUND": "Seçilen Faks Kuyrukları", "VOICEMAIL": "Sesli Posta", "SHOWWEBCONTROL": "Show Web Kontrolü", "PAGE": "Sayfa", @@ -342,9 +342,9 @@ "ALL_QUEUES_WHATSAPP_INBOUND": "Tüm WhatsApp Sıraları", "ALL_WHATSAPPACCOUNTS": "Tüm WhatsApp Hesapları", "ALL_WHATSAPPQUEUES": "Tüm Whataspp Kuyrukları", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "WhatsApp Sıralarına Ajan Ekle", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "WhatsApp Sıralarına Ajan Ekle", "QUEUEADD_USER_WHATSAPP_INBOUND": "WhatsApp Sıralarına Kullanıcı Ekle", - "SELECTED_WHATSAPP_QUEUES": "Seçili WhatsApp Sıraları", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "Seçili WhatsApp Sıraları", "SELECTED_WHATSAPPACCOUNTS": "Seçili WhatsApp Hesapları", "SELECTED_WHATSAPPQUEUES": "Seçili WhatsApp Sıraları", "USERADD_WHATSAPPACCOUNTS": "Kullanıcıya WhatsApp Hesabı Ekleyin", diff --git a/public/app/main/apps/staff/i18n/zh-CN.json b/public/app/main/apps/staff/i18n/zh-CN.json index 36581c3..dc853d6 100644 --- a/public/app/main/apps/staff/i18n/zh-CN.json +++ b/public/app/main/apps/staff/i18n/zh-CN.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "所有模块都可用", "CALLGROUP": "通话组", "PICKUPGROUP": "代答组", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "代理添加到队列活动", - "ADD_AGENT_TO_VOICE_QUEUES": "代理添加到语音队列", - "ADD_AGENT_TO_CHAT_QUEUES": "代理添加到文本交谈的队列", - "ADD_AGENT_TO_MAIL_QUEUES": "代理添加到邮件队列。", - "ADD_AGENT_TO_SMS_QUEUES": "代理添加到 SMS 队列。", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "代理添加到打开的通道的队列。", - "ADD_AGENT_TO_FAX_QUEUES": "代理添加到传真队列。", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "代理添加到队列活动", + "QUEUEADD_AGENT_VOICE_INBOUND": "代理添加到语音队列", + "QUEUEADD_AGENT_CHAT_INBOUND": "代理添加到文本交谈的队列", + "QUEUEADD_AGENT_MAIL_INBOUND": "代理添加到邮件队列。", + "QUEUEADD_AGENT_SMS_INBOUND": "代理添加到 SMS 队列。", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "代理添加到打开的通道的队列。", + "QUEUEADD_AGENT_FAX_INBOUND": "代理添加到传真队列。", "QUEUEADD_USER_VOICE_INBOUND": "将用户添加到语音队列", "QUEUEADD_USER_CHAT_INBOUND": "将用户添加到文本交谈的队列", "QUEUEADD_USER_MAIL_INBOUND": "将用户添加到邮件队列。", @@ -198,20 +198,20 @@ "ALL_TEAMS": "所有的团队", "SELECTED_TEAMS": "选定的组", "SELECTED_AGENTS": "选定的座席", - "ALL_QUEUE_CAMPAIGNS": "所有队列活动", - "SELECTED_QUEUE_CAMPAIGNS": "选定的队列活动", - "ALL_VOICE_QUEUES": "所有的语音队列", - "SELECTED_VOICE_QUEUES": "选定的语音队列", - "ALL_CHAT_QUEUES": "所有的聊天队列", - "SELECTED_CHAT_QUEUES": "选中 “文本交谈” 队列。", - "ALL_MAIL_QUEUES": "所有的邮件队列。", - "SELECTED_MAIL_QUEUES": "选中的邮件队列。", - "ALL_SMS_QUEUES": "所有的 SMS 队列。", - "SELECTED_SMS_QUEUES": "选中的短信队列。", - "ALL_OPENCHANNEL_QUEUES": "所有打开的通道的队列。", - "SELECTED_OPENCHANNEL_QUEUES": "选中的已经打开的通道的队列。", - "ALL_FAX_QUEUES": "所有的传真队列。", - "SELECTED_FAX_QUEUES": "选定的传真队列。", + "ALL_QUEUES_VOICE_OUTBOUND": "所有队列活动", + "SELECTED_QUEUES_VOICE_OUTBOUND": "选定的队列活动", + "ALL_QUEUES_VOICE_INBOUND": "所有的语音队列", + "SELECTED_QUEUES_VOICE_INBOUND": "选定的语音队列", + "ALL_QUEUES_CHAT_INBOUND": "所有的聊天队列", + "SELECTED_QUEUES_CHAT_INBOUND": "选中 “文本交谈” 队列。", + "ALL_QUEUES_MAIL_INBOUND": "所有的邮件队列。", + "SELECTED_QUEUES_MAIL_INBOUND": "选中的邮件队列。", + "ALL_QUEUES_SMS_INBOUND": "所有的 SMS 队列。", + "SELECTED_QUEUES_SMS_INBOUND": "选中的短信队列。", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "所有打开的通道的队列。", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "选中的已经打开的通道的队列。", + "ALL_QUEUES_FAX_INBOUND": "所有的传真队列。", + "SELECTED_QUEUES_FAX_INBOUND": "选定的传真队列。", "VOICEMAIL": "语音邮件", "SHOWWEBCONTROL": "显示 Web 控件", "PAGE": "页面", @@ -339,12 +339,12 @@ "BLOCKED": "已锁定", "DISABLED": "已停用", "REGENERATE": "再生", - "ALL_WHATSAPP_QUEUES": "所有WhatsApp队列", + "ALL_QUEUES_WHATSAPP_INBOUND": "所有WhatsApp队列", "ALL_WHATSAPPACCOUNTS": "所有WhatsApp帐户", "ALL_WHATSAPPQUEUES": "所有Whataspp队列", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "将代理添加到WhatsApp队列", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "将代理添加到WhatsApp队列", "QUEUEADD_USER_WHATSAPP_INBOUND": "将用户添加到WhatsApp队列", - "SELECTED_WHATSAPP_QUEUES": "选定的WhatsApp队列", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "选定的WhatsApp队列", "SELECTED_WHATSAPPACCOUNTS": "选定的WhatsApp帐户", "SELECTED_WHATSAPPQUEUES": "选定的WhatsApp队列", "USERADD_WHATSAPPACCOUNTS": "将WhatsApp帐户添加到用户", diff --git a/public/app/main/apps/staff/i18n/zh-TW.json b/public/app/main/apps/staff/i18n/zh-TW.json index 9922b63..0e215f0 100644 --- a/public/app/main/apps/staff/i18n/zh-TW.json +++ b/public/app/main/apps/staff/i18n/zh-TW.json @@ -182,13 +182,13 @@ "ALL_MODULES_AVAILABLE": "所有的模組可供使用", "CALLGROUP": "通話群組", "PICKUPGROUP": "代接群組", - "ADD_AGENT_TO_QUEUE_CAMPAIGNS": "值機員新增至佇列活動", - "ADD_AGENT_TO_VOICE_QUEUES": "新增值機員至語音佇列", - "ADD_AGENT_TO_CHAT_QUEUES": "值機員新增至文字交談」佇列", - "ADD_AGENT_TO_MAIL_QUEUES": "值機員新增至郵件佇列", - "ADD_AGENT_TO_SMS_QUEUES": "新增值機員至 SMS 佇列", - "ADD_AGENT_TO_OPENCHANNEL_QUEUES": "新增值機員以開啟通道佇列", - "ADD_AGENT_TO_FAX_QUEUES": "值機員新增至傳真佇列", + "QUEUEADD_AGENT_VOICE_OUTBOUND": "值機員新增至佇列活動", + "QUEUEADD_AGENT_VOICE_INBOUND": "新增值機員至語音佇列", + "QUEUEADD_AGENT_CHAT_INBOUND": "值機員新增至文字交談」佇列", + "QUEUEADD_AGENT_MAIL_INBOUND": "值機員新增至郵件佇列", + "QUEUEADD_AGENT_SMS_INBOUND": "新增值機員至 SMS 佇列", + "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "新增值機員以開啟通道佇列", + "QUEUEADD_AGENT_FAX_INBOUND": "值機員新增至傳真佇列", "QUEUEADD_USER_VOICE_INBOUND": "新增使用者至語音佇列", "QUEUEADD_USER_CHAT_INBOUND": "將使用者新增到文字交談」佇列", "QUEUEADD_USER_MAIL_INBOUND": "新增使用者至郵件佇列", @@ -198,20 +198,20 @@ "ALL_TEAMS": "所有群組", "SELECTED_TEAMS": "選取群組", "SELECTED_AGENTS": "已選取的值機人員", - "ALL_QUEUE_CAMPAIGNS": "所有佇列活動", - "SELECTED_QUEUE_CAMPAIGNS": "所選取的佇列活動", - "ALL_VOICE_QUEUES": "所有語音通話佇列", - "SELECTED_VOICE_QUEUES": "選取語音通話佇列", - "ALL_CHAT_QUEUES": "所有聊天佇列", - "SELECTED_CHAT_QUEUES": "選取的文字交談佇列", - "ALL_MAIL_QUEUES": "所有郵件佇列", - "SELECTED_MAIL_QUEUES": "選定的郵件佇列", - "ALL_SMS_QUEUES": "所有 SMS 佇列", - "SELECTED_SMS_QUEUES": "所選簡訊佇列", - "ALL_OPENCHANNEL_QUEUES": "所有開啟通道佇列", - "SELECTED_OPENCHANNEL_QUEUES": "選取開啟通道佇列", - "ALL_FAX_QUEUES": "所有傳真佇列", - "SELECTED_FAX_QUEUES": "選取的傳真佇列", + "ALL_QUEUES_VOICE_OUTBOUND": "所有佇列活動", + "SELECTED_QUEUES_VOICE_OUTBOUND": "所選取的佇列活動", + "ALL_QUEUES_VOICE_INBOUND": "所有語音通話佇列", + "SELECTED_QUEUES_VOICE_INBOUND": "選取語音通話佇列", + "ALL_QUEUES_CHAT_INBOUND": "所有聊天佇列", + "SELECTED_QUEUES_CHAT_INBOUND": "選取的文字交談佇列", + "ALL_QUEUES_MAIL_INBOUND": "所有郵件佇列", + "SELECTED_QUEUES_MAIL_INBOUND": "選定的郵件佇列", + "ALL_QUEUES_SMS_INBOUND": "所有 SMS 佇列", + "SELECTED_QUEUES_SMS_INBOUND": "所選簡訊佇列", + "ALL_QUEUES_OPENCHANNEL_INBOUND": "所有開啟通道佇列", + "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "選取開啟通道佇列", + "ALL_QUEUES_FAX_INBOUND": "所有傳真佇列", + "SELECTED_QUEUES_FAX_INBOUND": "選取的傳真佇列", "VOICEMAIL": "語音信箱", "SHOWWEBCONTROL": "顯示 Web 控制", "PAGE": "頁面", @@ -339,12 +339,12 @@ "BLOCKED": "已鎖定", "DISABLED": "已停用", "REGENERATE": "再生", - "ALL_WHATSAPP_QUEUES": "所有WhatsApp隊列", + "ALL_QUEUES_WHATSAPP_INBOUND": "所有WhatsApp隊列", "ALL_WHATSAPPACCOUNTS": "所有WhatsApp帳戶", "ALL_WHATSAPPQUEUES": "所有Whataspp隊列", - "ADD_AGENT_TO_WHATSAPP_QUEUES": "將代理添加到WhatsApp隊列", + "QUEUEADD_AGENT_WHATSAPP_INBOUND": "將代理添加到WhatsApp隊列", "QUEUEADD_USER_WHATSAPP_INBOUND": "將用戶添加到WhatsApp隊列", - "SELECTED_WHATSAPP_QUEUES": "選定的WhatsApp隊列", + "SELECTED_QUEUES_WHATSAPP_INBOUND": "選定的WhatsApp隊列", "SELECTED_WHATSAPPACCOUNTS": "選定的WhatsApp帳戶", "SELECTED_WHATSAPPQUEUES": "選定的WhatsApp隊列", "USERADD_WHATSAPPACCOUNTS": "將WhatsApp帳戶添加到用戶", diff --git a/public/index.html b/public/index.html index 0963b1c..e1fa59f 100644 --- a/public/index.html +++ b/public/index.html @@ -14,9 +14,9 @@ - + - + @@ -68,7 +68,7 @@ - + diff --git a/public/scripts/app.fa7e58f7.js b/public/scripts/app.07f35aaa.js similarity index 51% rename from public/scripts/app.fa7e58f7.js rename to public/scripts/app.07f35aaa.js index 568cfa4..5ccd3e0 100644 --- a/public/scripts/app.fa7e58f7.js +++ b/public/scripts/app.07f35aaa.js @@ -1 +1 @@ -!function(){"use strict";angular.module("app.auth",[])}(),function(){"use strict";angular.module("app.core",["ngAnimate","ngAria","ngCookies","ngMessages","ngResource","ngSanitize","ngMaterial","pascalprecht.translate","ui.router","ui.router.state.events","gridster","ds.clock","angucomplete-alt"])}(),function(){"use strict";function e(e,n){e.state("app.errors_error-404",{url:"/errors/error-404",views:{"main@":{templateUrl:"app/core/layouts/content-only.html",controller:"MainController as vm"},"content@app.errors_error-404":{templateUrl:"app/errors/404/error-404.html",controller:"Error404Controller as vm"}},params:{status:404,statusText:"",data:{},config:{}},bodyClass:"error-404"}),n.addPart("app/errors/404")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.errors.error-404",[]).config(e)}(),function(){"use strict";function e(e,n){e.state("app.errors_error-500",{url:"/errors/error-500",views:{"main@":{templateUrl:"app/core/layouts/content-only.html",controller:"MainController as vm"},"content@app.errors_error-500":{templateUrl:"app/errors/500/error-500.html",controller:"Error500Controller as vm"}},params:{status:500,statusText:"",data:{},config:{}},bodyClass:"error-500"}),n.addPart("app/errors/500")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.errors.error-500",[]).config(e)}(),function(){"use strict";angular.module("app.errors",["app.errors.error-404","app.errors.error-500"])}(),function(){"use strict";function e(e){e.addPart("app/footer")}e.$inject=["$translatePartialLoaderProvider"],angular.module("app.footer",[]).config(e)}(),function(){"use strict";function e(e,n){e.state("app.forgot",{url:"/forgot",views:{"main@":{templateUrl:"app/core/layouts/content-only.html",controller:"MainController as vm"},"content@app.forgot":{templateUrl:"app/forgot/forgot.html",controller:"ForgotPasswordController as vm"}},bodyClass:"forgot"}),n.addPart("app/forgot")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.forgot",[]).config(e)}(),function(){"use strict";function e(e){e.addPart("app/header")}e.$inject=["$translatePartialLoaderProvider"],angular.module("app.header",[]).config(e)}(),function(){"use strict";angular.module("motion",["angular-toasty","app.core","app.auth","app.navigation","app.toolbar","app.quick-panel","app.header","app.footer","app.realtime","app.dashboards","app.staff","app.contactmanager","app.voice","app.chat","app.mail","app.sms","app.openchannel","app.fax","app.tools","app.callysquare","app.analytics","app.integrations","app.settings","app.motiondialer","app.help","app.jscripty","app.marketplace","app.plugins","app.video","app.whatsapp","app.login","app.forgot","app.reset","app.errors"])}(),function(){"use strict";function e(e,n){e.state("app.login",{url:"/login?token&userId",views:{"main@":{templateUrl:"app/core/layouts/content-only.html",controller:"MainController as vm"},"content@app.login":{templateUrl:"app/login/login.html",controller:"LoginController as vm"}},bodyClass:"login"}),n.addPart("app/login")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.login",[]).config(e)}(),function(){"use strict";function e(e,n,t,a){e.state("app.analytics",{abstract:!0,url:"/analytics"}).state("app.analytics.metrics",{url:"/metrics",views:{"content@app":{templateUrl:"app/main/apps/analytics/views/metrics/metrics.html",controller:"MetricsController as vm"}},resolve:{metrics:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?e.resolve("analyticMetric@get",{fields:"createdAt,updatedAt,id,name,table,metric,description",sort:"-updatedAt",limit:10,offset:0}):e.resolve("userProfile@getResources",{id:n.getCurrentUser().userProfileId,section:"Metrics",fields:"createdAt,updatedAt,id,name,table,metric,description",sort:"-updatedAt",limit:10,offset:0})}],userProfile:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?null:e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:n.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?null:e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:n.getCurrentUser().userProfileId,sectionId:1201})}]},authenticate:!0,permissionId:1201,bodyClass:"analytics"}).state("app.analytics.extractedReports",{url:"/extractedReports",views:{"content@app":{templateUrl:"app/main/apps/analytics/views/extractedReports/extractedReports.html",controller:"ExtractedReportsController as vm"}},resolve:{extractedReports:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?e.resolve("analyticExtractedReport@get",{fields:"createdAt,updatedAt,id,name,basename,savename,type,startDate,endDate,status,output,reportId,reportType",sort:"-updatedAt",limit:10,offset:0}):e.resolve("userProfile@getResources",{id:n.getCurrentUser().userProfileId,section:"ExtractedReports",fields:"createdAt,updatedAt,id,name,basename,savename,type,startDate,endDate,status,output,reportId,reportType",sort:"-updatedAt",limit:10,offset:0})}],userProfile:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?null:e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:n.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,n){return n.hasRole("admin")?null:e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:n.getCurrentUser().userProfileId,sectionId:1202})}]},authenticate:!0,permissionId:1202,bodyClass:"analytics"}),n.addPart("app/main/apps/analytics")}e.$inject=["$stateProvider","$translatePartialLoaderProvider","msApiProvider","msNavigationServiceProvider"],angular.module("app.analytics",["ngCsv","ngPassword","md.data.table","flow","mdColorPicker","ckeditor","ng-sortable","ngAria","ngAnimate","mdPickers","mwFormBuilder","mwFormViewer","mwFormUtils","ngclipboard","angular-cron-jobs","ngEmbed","angularMaterialFormBuilder","material.components.expansionPanels","chart.js","angular.filter","app.analytics.reports"]).config(e)}(),function(){"use strict";function e(e){e.state("app.analytics.reports",{url:"/reports",views:{"content@app":{templateUrl:"app/main/apps/analytics/views/reports/reports.html",controller:"ReportsController as vm"}},resolve:{treeReports:["apiResolver",function(e){return e.resolve("analyticTreeReport@get",{fields:"id,tree",limit:10,offset:0})}],userProfile:["apiResolver","Auth",function(e,n){return e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:n.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,n){return e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:n.getCurrentUser().userProfileId,sectionId:1203})}]},authenticate:!0,permissionId:1203,bodyClass:"analytics"}).state("app.analytics.reports.edit",{url:"/:id?tab",views:{"content@app":{templateUrl:"app/main/apps/analytics/views/reports/edit/view.html",controller:"ReportController as vm"}},resolve:{report:["apiResolver","$stateParams","$q","describeTable",function(e,n,a,i){var s;return e.resolve("analyticCustomReport@get",{fields:"createdAt,updatedAt,id,name,description,table,conditions,joins",id:n.id}).then(function(e){var n=[];if((s=e).joins)try{s.joins=JSON.parse(s.joins);for(var t=0;t');a.append(n),o(function(){!function(e,n){var t=n.find("code"),a=e.split("\n"),i=(a=a.filter(function(e){return e.trim().length}))[0].match(/^\s*/)[0],s=new RegExp("^"+i);a=a.map(function(e){return e.replace(s,"").replace(/\s+$/,"")});var o=hljs.highlight(r.language||r.lang,a.join("\n"),!0);o.value=o.value.replace(/=""<\/span>/gi,"").replace("","").replace("",""),t.append(o.value).addClass("highlight")}(e,n)},34,!1)}})}}}}e.$inject=["$timeout","$q","$interpolate"],angular.module("app.core").directive("hljs",e)}(),function(){"use strict";function e(a,i,s,o){var r=this;function n(){var a=r.selectedField.options&&!_.isEmpty(r.selectedField.options.extraOperators),i=r.selectedField.options&&!_.isEmpty(r.selectedField.options.excludedOperators);r.availableOperators=_.filter(r.operators,function(n){var e=!n.applyTo||_.includes(n.applyTo,r.selectedField.type);n.isExtra=a&&_.some(r.selectedField.options.extraOperators,function(e){return e===n.type});var t=_.includes(n.excludeFrom,r.selectedField.type)||i&&_.includes(r.selectedField.options.excludedOperators,n.type);if((e||n.isExtra)&&!t)return n})}function t(){!r.value||_.isArray(r.value)&&_.isEmpty(r.value)?r.isValidCondition=!1:r.selectedOperator&&"$between"===r.selectedOperator.type?r.isValidCondition=!(!r.endRangeValue||!r.isValidRange):r.isValidCondition=!0}function e(){"number"===r.selectedField.type?_.isNumber(r.endRangeValue)?r.isValidRange=Number(r.endRangeValue)>Number(r.value):r.isValidRange=!0:"date"===r.selectedField.type&&(r.maxDateRange=moment(r.endRangeValue).subtract(1,"day"),r.isValidRange=!0),t()}function l(){var e=c();r.options.conditions.push(e),u()}function d(){var e=c(),n=_.findIndex(r.options.conditions,"style");r.options.conditions.splice(n,1,e),u(),r.pendingCondition.style=null,r.pendingCondition=void 0}function c(){return{name:r.selectedField.name,operator:a.instant("DASHBOARDS."+r.selectedOperator.translate),value:r.value,endValue:r.endRangeValue,displayValue:m(r.value),displayEndValue:m(r.endRangeValue),query:{column:r.selectedField.column,operator:r.selectedOperator.type,value:function(){var e,n=r.value,t=r.endRangeValue;switch(r.selectedField.type){case"date":var a=moment(n).utcOffset(0,!0).format("YYYY-MM-DD");if("$between"===r.selectedOperator.type){var i=moment(t).utcOffset(0,!0).format("YYYY-MM-DD");e=[a,i]}else e=a;break;case"number":e="$between"===r.selectedOperator.type?[n,t]:n;break;case"multiselect":var s=r.selectedField.options.field||"id";e=_.map(n,s);break;case"select":e=n.id;break;case"autocomplete":e=r.selectedOperator.isExtra?n:n.id;break;default:e=n}return e}()},disabled:!1}}function m(e){var n;if(e){switch(r.selectedField.type){case"date":n=moment(e).format("YYYY-MM-DD");break;case"multiselect":var t=_.map(e,function(e){return e.name});n="$eq"===r.selectedOperator.type?t.join(" or "):t.join(" and ");break;case"select":n=e.name;break;case"autocomplete":n=r.selectedOperator.isExtra?e:e.displayValue;break;default:n=e}return n}}function u(){r.value=null,r.endRangeValue=null,r.minDateRange=null,r.maxDateRange=null,r.isValidCondition=!1}r.operators=r.availableOperators=[{type:"$eq",symbol:"=",translate:"EQUALS",excludeFrom:["multiselect"]},{type:"$ne",symbol:"≠",translate:"IS_NOT_EQUAL",excludeFrom:["multiselect"]},{type:"$in",symbol:"∈",translate:"IS_AMONG",applyTo:["multiselect"]},{type:"$notIn",symbol:"∉",translate:"IS_NOT_AMONG",applyTo:["multiselect"]},{type:"$substring",symbol:"⊃",translate:"CONTAINS",applyTo:["text"]},{type:"$startsWith",symbol:"a..",translate:"STARTS_WITH",applyTo:["text"]},{type:"$endsWith",symbol:"..a",translate:"ENDS_WITH",applyTo:["text"]},{type:"$lt",symbol:"<",translate:"IS_LESS_THAN",applyTo:["date","number"]},{type:"$gt",symbol:">",translate:"IS_GREATER_THAN",applyTo:["date","number"]},{type:"$lte",symbol:"≤",translate:"IS_LESS_THAN_OR_EQUAL_TO",applyTo:["date","number"]},{type:"$gte",symbol:"≥",translate:"IS_GREATER_THAN_OR_EQUAL_TO",applyTo:["date","number"]},{type:"$between",symbol:"≬",translate:"IS_BETWEEN",applyTo:["date","number"]}],r.addCondition=l,r.editCondition=function(e){r.pendingCondition=e,r.pendingCondition.style="md-amber-200-bg",r.selectedField=_.find(r.options.fields,["name",r.pendingCondition.name]),n(),r.selectedOperator=_.find(r.availableOperators,["type",r.pendingCondition.query.operator]),"date"===r.selectedField.type&&"string"==typeof r.pendingCondition.value?(r.value=new Date(r.pendingCondition.value),r.minDateRange=moment(r.value).add(1,"day"),r.endRangeValue=r.pendingCondition.endValue?new Date(r.pendingCondition.endValue):void 0):(r.value=r.pendingCondition.value,r.endRangeValue=r.pendingCondition.endValue);r.isValidRange=!0,r.isValidCondition=!0},r.updateCondition=d,r.cancelUpdateCondition=function(){r.pendingCondition.style=null,r.pendingCondition=void 0},r.setConditionStatus=function(e){e.style=e.disabled?void 0:"chip-disabled",e.disabled=!e.disabled},r.removeCondition=function(){_.isEmpty(r.options.conditions)&&r.clearFilter()},r.getValues=function(){var n=angular.copy(r.selectedField.options.route);if("autocomplete"===r.selectedField.type)for(var e=0;e',compile:function(e){return e.addClass("ms-card"),function(e,n){e.cardTemplateLoaded=function(){e.$emit("msCard::cardTemplateLoaded",n)}}}}})}(),function(){"use strict";angular.module("app.core").directive("msChipColor",function(){return{restrict:"A",link:function(e,i,n){n.$observe("msChipColor",function(e){var n=i.parent().parent();if(n.hasClass("md-background-bg md-hue-3")||n.addClass("md-background-bg md-hue-3"),_.isEmpty(e)){var t=n[0].className.split(" "),a=t.indexOf("md-hue-3");t.length=a+1,n[0].className=t.join(" ")}else n.addClass(e)})}}})}(),function(){"use strict";angular.module("app.core").directive("msClickToCall",function(){return{restrict:"E",scope:{type:"=",disabled:"=",target:"=",prefix:"=",license:"="},controller:["$scope","$rootScope","$http","$translate","$document","$mdDialog","Auth","toasty","api",function(t,n,a,i,s,o,e,r,l){function d(e){switch(t.currentUser.showWebBar){case 0:return m("http://127.0.0.1:"+(t.currentUser.phoneBarRemoteControlPort||"9888")+"/api/originate/"+c(e));case 2:return n.$broadcast("webrtc::call",{target:c(e)})}}function c(e){return _.isNil(e)?"":e.replace(/[^\w.+#*\-]+/g,"")}function m(e){return a.get(e).success(function(){r.success({title:"Successful call",msg:"Call properly handled!"})}).error(function(e){r.error({title:"PhoneBar API Error",msg:i.instant("CONTACTMANAGER.ERRORS.PHONEBAR_API")})})}t.currentUser=e.getCurrentUser(),t.privacy=t.currentUser.privacyEnabled,t.showMenu=function(){return t.target&&t.target.indexOf("@")<0&&t.target!=t.currentUser.internal&&t.target!=t.currentUser.name&&(0==t.currentUser.showWebBar&&t.currentUser.phoneBarRemoteControl||2==t.currentUser.showWebBar&&t.license.webrtc)&&!t.disabled},t.call=function(e){return 2!==t.currentUser.showWebBar?(n=e,l.user.getVoicePrefixes({id:t.currentUser.id}).$promise.then(function(e){if(e.count)return o.show({controller:"PrefixDialogController",controllerAs:"vm",templateUrl:"assets/ms-phonebar/prefix/dialog.html",parent:angular.element(s.body),clickOutsideToClose:!0,locals:{prefixes:e,required:t.currentUser.phoneBarPrefixRequired}})}).then(function(e){t.currentUser.phoneBarPrefixRequired?e&&-1!==e&&d(e+n):e&&-1!==e?d(e+n):e||d(n)})):d(e);var n},t.transfer=function(e){switch(t.currentUser.showWebBar){case 0:return m("http://127.0.0.1:"+(t.currentUser.phoneBarRemoteControlPort||"9888")+"/api/transfer?number="+c(e));case 2:n.$broadcast("webrtc::transfer",{target:c(e)})}}}],templateUrl:"app/core/directives/ms-click-to-call/ms-click-to-call.html"}})}(),function(){"use strict";function e(i){return{require:"ngModel",priority:1,link:function(e,n,t,a){a.$formatters.push(i.formatter),a.$parsers.push(i.parser)}}}e.$inject=["msDatepickerFixConfig"],angular.module("app.core").provider("msDatepickerFixConfig",function(){var n={formatter:function(e){return e?""===e?e:new Date(e):""},parser:function(e){return e?moment(e).add(moment(e).utcOffset(),"m").toDate():""}};this.config=function(e){n=angular.extend({},n,e)},this.$get=function(){return n}}).directive("msDatepickerFix",e)}(),function(){"use strict";function e(s){return{restrict:"E",scope:{id:"=",model:"=",element:"=",title:"=",path:"="},replace:!0,link:function(n,e){var t=!1,a={};a.id=n.id,_.isNil(n.path)||(a.path=n.path);var i=document.createElement(n.element);i.setAttribute("preload","none"),i.setAttribute("controls","true"),"audio"===n.element&&i.setAttribute("style","width: 265px;"),"video"===n.element&&i.setAttribute("style","max-width: 500px;"),i.setAttribute("title",n.title),i.setAttribute("src"," "),i.onplay=function(e){t||(t=!0,e.preventDefault(),s[n.model].download(a).$promise.then(function(e){var n=[e.buffer],t=new Blob(n,{type:e.type});i.setAttribute("type",e.type),i.setAttribute("src",URL.createObjectURL(t)),i.play()}).catch(function(e){console.error(e)}))},e.append(i)}}}e.$inject=["api"],angular.module("app.core").directive("msDialogRecording",e)}(),function(){"use strict";function e(i){return{restrict:"A",link:function(t,a){a.bind("click",function(e){var n=i('
')(t);a.closest("md-dialog").prepend(n)})}}}e.$inject=["$compile"],angular.module("app.core").directive("msDialogSpinner",e)}(),function(){"use strict";function e(){var o=this;function a(e,n,t,a){var i=[];if(0<=t)i.push(e[t]),n.push(e[t]),e.splice(t,1);else{for(var s=0;s',link:function(t,e){var n=e.emojioneArea({pickerPosition:t.pickerPosition,search:t.search,recentEmojis:t.recentEmojis,placeholder:a.instant(t.placeholder||"Type a message"),attributes:{spellcheck:!0},events:{keyup:function(e,n){t.ngModel=this.getText(),t.onReply({event:n,body:this.getText()})},emojibtn_click:function(){t.ngModel=this.getText()}}});t.ngModel&&n[0].emojioneArea.setText(t.ngModel),t.internalControl=t.ctrlMethods||{},t.internalControl.setText=function(e){n[0].emojioneArea.setText(e)},t.internalControl.getText=function(){return n[0].emojioneArea.getText()},t.$watch("ngModel",function(e){e||n[0].emojioneArea.setText("")})}}}e.$inject=["$translate"],angular.module("app.core").directive("msEmojiArea",e)}(),function(){"use strict";angular.module("app.core").directive("msFontFamily",function(){return{restrict:"E",scope:{ngModel:"="},controller:["$scope",function(e){e.fonts=[{option:"Arial",value:"Arial,Helvetica,sans-serif"},{option:"Century Gothic",value:"Century Gothic,Futura,Didact Gothic,san-serif"},{option:"Calibri",value:"Calibri, Verdana, Geneva, sans-serif"},{option:"Comic Sans MS",value:"Comic Sans MS,cursive"},{option:"Courier New",value:"Courier New,Courier,monospace"},{option:"Georgia",value:"Georgia,serif"},{option:"Lucida Sans Unicode",value:"Lucida Sans Unicode,Lucida Grande,sans-serif"},{option:"Tahoma",value:"Tahoma,Geneva,sans-serif"},{option:"Times New Roman",value:"Times New Roman,Times,serif"},{option:"Trebuchet MS",value:"Trebuchet MS,Helvetica,sans-serif"},{option:"Verdana",value:"Verdana,Geneva,sans-serif"}]}],templateUrl:"app/core/directives/ms-font-family/ms-font-family.html"}})}(),function(){"use strict";angular.module("app.core").controller("MsFormWizardController",function(){var n=this;function e(){return n.forms.length}function t(){return 0===n.selectedIndex}function a(){return n.selectedIndex===e()-1}n.forms=[],n.selectedIndex=0,n.registerForm=function(e){n.forms.push(e)},n.previousStep=function(){if(t())return;n.selectedIndex--},n.nextStep=function(){if(a())return;n.selectedIndex++},n.firstStep=function(){n.selectedIndex=0},n.lastStep=function(){n.selectedIndex=e()-1},n.totalSteps=e,n.isFirstStep=t,n.isLastStep=a,n.currentStepInvalid=function(){return angular.isDefined(n.forms[n.selectedIndex])&&n.forms[n.selectedIndex].$invalid},n.previousStepInvalid=function(){return 0d.options.responsive.md?d.options.responsive.md:d.columnCount:l("sm")?d.columnCount=d.columnCount>d.options.responsive.sm?d.options.responsive.sm:d.columnCount:d.columnCount=d.options.responsive.xs;d.columnWidth=d.containerPos.width/d.columnCount}(),r.$broadcast("msMasonry:relayoutStarted"),d.items=d.container.find("ms-masonry-item");for(var e=Array.apply(null,new Array(d.columnCount)).map(function(){return 0}),n=0;n'),r=angular.element('
'),l=n.parent();function d(){s.addClass("ms-nav-folded"),g.$broadcast("msNav::forceCollapse"),n.scrollTop(0),l.append(o),o.on("mouseenter touchstart",function(e){c(e),i=!0})}function c(e){angular.isDefined(e)&&e.preventDefault(),s.addClass("ms-nav-folded-open"),g.$broadcast("msNav::expandMatchingToggles"),l.find(o).remove(),l.parent().append(r),r.on("mouseenter touchstart",function(e){m(e),i=!1})}function m(e){angular.isDefined(e)&&e.preventDefault(),g.$broadcast("msNav::forceCollapse"),n.scrollTop(0),s.removeClass("ms-nav-folded-open"),l.parent().find(r).remove(),l.append(o),o.on("mouseenter touchstart",function(e){c(e),i=!0})}function u(){s.removeClass("ms-nav-folded ms-nav-folded-open"),g.$broadcast("msNav::expandMatchingToggles"),n.off("mouseenter mouseleave")}v.setFoldable(e,n,a),a?d():u(),e.toggleFold=function(){(a=!a)?d():u()},e.openFolded=c,e.closeFolded=m,e.isNavFoldedOpen=function(){return i},e.$on("$destroy",function(){o.off("mouseenter touchstart"),r.off("mouseenter touchstart"),n.off("mouseenter mouseleave")})}}}function n(t,a,i){return{restrict:"E",scope:{},controller:"MsNavController",compile:function(e){return e.addClass("ms-nav"),function(e){t.$broadcast("msNav::expandMatchingToggles");var n=t.$on("$stateChangeSuccess",function(){t.$broadcast("msNav::expandMatchingToggles"),a.when("navigation").then(function(e){e.close(),i.isNavFoldedOpen()&&i.closeFolded()})});e.$on("$destroy",function(){n()})}}}}function t(m,u,p,g){return{restrict:"A",require:"^msNav",scope:!0,compile:function(e,n){return e.addClass("ms-nav-toggle"),angular.isUndefined(n.collapsed)&&(n.collapsed=!0),e.attr("collapsed",n.collapsed),function(a,i,e,t){var s={expanded:"expanded",expandAnimation:"expand-animation",collapseAnimation:"collapse-animation"},n=i.find("a"),o=[],r=/\(.*\)/g;function l(){return"true"===i.attr("collapsed")}function d(){var e=u.defer();if(!l())return e.reject({error:!0}),e.promise;i.attr("collapsed",!1);var n=angular.element(i.find("ms-nav-toggle-items")[0]);n.css({position:"absolute",visibility:"hidden",display:"block",height:"auto"});var t=n[0].offsetHeight;return n.css({position:"",visibility:"",display:"",height:""}),a.$evalAsync(function(){p.animate(n,{display:"block",height:"0px"},{height:t+"px"},s.expandAnimation).then(function(){n.addClass(s.expanded),n.css({height:""}),e.resolve({success:!0})})}),e.promise}function c(){var e=u.defer();if(l())return e.reject({error:!0}),e.promise;i.attr("collapsed",!0);var n=angular.element(i.find("ms-nav-toggle-items")[0]),t=n[0].offsetHeight;return a.$evalAsync(function(){p.animate(n,{height:t+"px"},{height:"0px"},s.collapseAnimation).then(function(){n.removeClass(s.expanded),n.css({display:"",height:""}),e.resolve({success:!0})})}),e.promise}angular.forEach(n,function(e){var n=angular.element(e).attr("ui-sref");angular.isUndefined(n)||(n=n.replace(r,""),o.push(n))}),t.setToggleItem(i,a),i.children(".ms-nav-button").on("click",function(){if(t.isDisabled())return;t.disable(),l()?(t.clearLockedItems(),a.$emit("msNav::pushToLockedList"),m.$broadcast("msNav::collapse"),d().then(function(){t.enable()})):a.$broadcast("msNav::forceCollapse")}),a.$on("$destroy",function(){i.children(".ms-nav-button").off("click")}),a.$on("msNav::collapse",function(){var e=t.getLockedItems(),n=!1;angular.forEach(e,function(e){angular.equals(e.scope,a)&&(n=!0)}),n||c().then(function(){t.enable()})}),a.$on("msNav::forceCollapse",function(){c().then(function(){t.enable()})}),a.$on("msNav::expandMatchingToggles",function(){var n=g.current.name,t=!1;angular.forEach(o,function(e){n===e&&(t=!0)}),t?d():c()}),a.$on("msNav::pushToLockedList",function(){t.setLockedItem(i,a)})}}}}e.$inject=["$document","$rootScope","msNavFoldService"],n.$inject=["$rootScope","$mdComponentRegistry","msNavFoldService"],t.$inject=["$rootScope","$q","$animate","$state"],angular.module("app.core").factory("msNavFoldService",function(){var t={};return{setFoldable:function(e,n){t={scope:e,element:n}},isNavFoldedOpen:function(){return t.scope.isNavFoldedOpen()},toggleFold:function(){t.scope.toggleFold()},openFolded:function(){t.scope.openFolded()},closeFolded:function(){t.scope.closeFolded()}}}).directive("msNavIsFolded",e).controller("MsNavController",function(){var e=this,n=!1,t=[],a=[];e.isDisabled=function(){return n},e.enable=function(){n=!1},e.disable=function(){n=!0},e.setToggleItem=function(e,n){t.push({element:e,scope:n})},e.getLockedItems=function(){return a},e.setLockedItem=function(e,n){a.push({element:e,scope:n})},e.clearLockedItems=function(){a=[]}}).directive("msNav",n).directive("msNavTitle",function(){return{restrict:"A",compile:function(e){return e.addClass("ms-nav-title"),function(){}}}}).directive("msNavButton",function(){return{restrict:"AE",compile:function(e){return e.addClass("ms-nav-button"),function(){}}}}).directive("msNavToggle",t)}(),function(){"use strict";function e(e,n){e.root?this.navigation=n.getNavigation(e.root):this.navigation=n.getNavigation(),this.toggleHorizontalMobileMenu=function(){angular.element("body").toggleClass("ms-navigation-horizontal-mobile-menu-active")},n.sort()}function n(c,m,u,p){return{restrict:"E",scope:{folded:"=",root:"@"},controller:"MsNavigationController as vm",templateUrl:"app/core/directives/ms-navigation/templates/vertical.html",transclude:!0,compile:function(e){return e.addClass("ms-navigation"),function(e,n){var t=angular.element("body"),a=angular.element('
'),i=angular.element('
'),s=u("navigation");function o(e){if(p.setFolded(e),e)c.$broadcast("msNavigation::collapse"),t.addClass("ms-navigation-folded"),r();else{var n=p.getActiveItem();n&&n.scope.$emit("msNavigation::stateMatched"),t.removeClass("ms-navigation-folded ms-navigation-folded-open"),i.remove()}}function r(){n.parent().append(a),m(function(){a.on("mouseenter touchstart",l)})}function l(e){e&&e.preventDefault(),p.setFoldedOpen(!0);var n=p.getActiveItem();n&&n.scope.$emit("msNavigation::stateMatched"),t.addClass("ms-navigation-folded-open"),a.remove(),t.find("#main").append(i),i.on("mouseenter touchstart",d)}function d(e){e&&e.preventDefault(),p.setFoldedOpen(!1),c.$broadcast("msNavigation::collapse"),t.removeClass("ms-navigation-folded-open"),i.remove(),r()}p.setNavigationScope(e),function(){null===p.getFolded()&&p.setFolded(e.folded);p.getFolded()&&(m(function(){c.$broadcast("msNavigation::collapse")}),t.addClass("ms-navigation-folded"),r())}(),e.$watch(function(){return s.isLockedOpen()},function(e,n){if(!angular.isUndefined(e)&&!angular.equals(e,n)&&p.getFolded())if(e)c.$broadcast("msNavigation::collapse");else{var t=p.getActiveItem();t&&t.scope.$emit("msNavigation::stateMatched")}}),e.$watch("folded",function(e,n){angular.isUndefined(e)||angular.equals(e,n)||o(e)}),e.toggleFolded=function(){o(!p.getFolded())},e.$on("$stateChangeStart",function(){s.close()}),e.$on("$destroy",function(){i.off("mouseenter touchstart"),a.off("mouseenter touchstart")})}}}}function t(t,e,a,i,n,s){var o=this;o.element=e,o.node=t.node,o.hasChildren=void 0,o.collapsed=void 0,o.collapsable=void 0,o.group=void 0,o.animateHeightClass="animate-height",o.toggleCollapsed=function(){o.collapsed?o.expand():o.collapse()},o.collapse=function(){var e=o.element.children("ul"),n=e[0].offsetHeight;t.$evalAsync(function(){o.collapsed=!0,o.element.addClass("collapsing"),i.animate(e,{display:"block",height:n+"px"},{height:"0px"},o.animateHeightClass).then(function(){e.css({display:"",height:""}),o.element.removeClass("collapsing")}),t.$broadcast("msNavigation::collapse")})},o.expand=function(){var e=o.element.children("ul");e.css({position:"absolute",visibility:"hidden",display:"block",height:"auto"});var n=e[0].offsetHeight;e.css({position:"",visibility:"",display:"",height:""}),t.$evalAsync(function(){o.collapsed=!1,o.element.addClass("expanding"),i.animate(e,{display:"block",height:"0px"},{height:n+"px"},o.animateHeightClass).then(function(){e.css({height:""}),o.element.removeClass("expanding")}),a.$broadcast("msNavigation::collapse",o.node._path)})},o.getClass=function(){return o.node.class},o.isHidden=function(){if(angular.isDefined(o.node.hidden)&&angular.isFunction(o.node.hidden))return o.node.hidden();return!1},function(){o.hasChildren=0 target, inbound, fullname",e,n,t),E.calls.unshift({target:e,fullname:t||e,inbound:n,time:moment().format("HH:mm")}),50 session",e),e.notification&&(e.notification.close(),e.notification=null),E.conf.microphoneId?E.sessionConf.mediaConstraints.audio={deviceId:E.conf.microphoneId}:E.sessionConf.mediaConstraints.audio=!0,e.answer(E.sessionConf),E.isJabraEnabled&&(jabra.offHook(),E.jabraSession=e)}function I(e,n){console.debug("terminate -> session",e),e.notification&&(e.notification.close(),e.notification=null);var t={};if(n?t.status_code=n:e.isEstablished()||(t.status_code=603),e.terminate(t),E.isJabraEnabled)if(0===E.sessions.length)e.localHold&&jabra.resume(),jabra.onHook(),E.jabraSession=null;else{var a=_.last(E.sessions);a.localHold?(jabra.onHook(),jabra.hold(),E.jabraSession=a):jabra.offHook()}}function C(t){return console.debug("getVoiceChannels -> session",t),h.rpc.getVoiceChannels().$promise.then(function(e){var n=_.find(e.rows,function(e){return e.sipcalllinkedid===t.call_id?e:e.sipcalluniqueid===t.call_id?e:null});n&&(t.monitor=n.monitor,t.uniqueid=n.uniqueid,t.monitors=n.monitors)})}function O(e){console.debug("onAddstream -> data",e),this.remotePlayer.srcObject=e.stream,this.remotePlayer.play()}function w(){E.canGoInConference=!1,E.isInConference=!1,E.currentconferenceSessions=[]}function R(e,n){switch(e){case"ringing":E.soundPlayer.muted=E.conf.ringingMute,E.conf.ringingId&&E.soundPlayer.setSinkId(E.conf.ringingId).then(function(){E.soundPlayer.volume=E.conf.ringingVolume}).then(function(){n&&y()}).catch(function(e){console.info(e.message,E.conf.ringingId)});break;case"speaker":E.remotePlayer.muted=E.conf.speakerMute,E.conf.speakerId&&E.remotePlayer.setSinkId(E.conf.speakerId).then(function(){E.remotePlayer.volume=E.conf.speakerVolume}).then(function(){n&&y()}).catch(function(e){console.info(e.message,E.conf.speakerId)});break;case"microphone":for(var t=0;t session, textContent, position, delay",e,n,t,a),function(){i.show(i.simple().textContent(n).position(t).hideDelay(a)),I(e)}}function P(n){return console.debug("findSessionBySessionId -> sessionId, vm_pb.sessions",n,E.sessions),_.find(E.sessions,function(e){return e.call_id==n})}function L(e,n){return console.debug("callCallback -> url, params",e,n),s({url:e,method:"GET",params:n})}e(function(){},999),E.currentUser=b.getCurrentUser(),E.direction="right",E.selectedMode="md-scale",E.target="",E.showDialpad=!1,E.soundPlayer=document.getElementById(E.conf.soundPlayerId),E.remotePlayer=document.getElementById(E.conf.remotePlayerId),E.soundPlayer.volume=1,E.sessionConf={mediaConstraints:{audio:!0,video:!1},pcConfig:{iceServers:[]}},E.sessions=[],E.calls=[],E.callbackQueue=[],E.canGoInConference=!1,E.isInConference=!1,E.currentConferenceSessions=[],E.ua=new JsSIP.UA({sockets:[new JsSIP.WebSocketInterface("wss://"+E.conf.host+":"+E.conf.wssPort+"/ws")],uri:new JsSIP.URI("sip",E.conf.name,E.conf.host,5060,null,null).toString(),authorization_user:E.conf.name,ha1:E.conf.ha1,realm:E.conf.realm,user_agent:E.conf.ua,session_timers_refresh_method:"invite",register_expires:E.conf.phoneBarExpires||60,register:!0}),E.conf=_.merge(d.webrtc,E.conf),E.initDeviceInProgress=!1,E.isJabraEnabled=!1,E.isJabraInitialized=!1,E.jabraSession=null,E.jabraClicked=!1,E.buttonClicked=!1,E.originateInProgress=!1,t.bind("keyup",function(e){switch(e.keyCode){case 27:g(function(){E.showDialpad=!1})}}),E.$onInit=function(){c(!1),navigator.mediaDevices.ondevicechange=function(){E.initDeviceInProgress||(E.initDeviceInProgress=!0,jabra&&E.isJabraInitialized?jabra.shutdown().then(function(){E.isJabraInitialized=!1,c(!(E.isJabraEnabled=!1))}).catch(function(e){console.error("Unable to shutdown Jabra library",e)}):c(!0))};var e=[h.network.get({type:"turn",nolimit:!0}).$promise,h.network.get({type:"stun",nolimit:!0}).$promise];o.all(e).then(function(e){var n=e[0].rows,t=e[1].rows,a=[],i=[];t.forEach(function(e){i.push("stun:"+e.value)}),a.push({urls:i}),n.forEach(function(e){var n={urls:"turn:"+e.value};e.username&&(n.username=e.username),e.password&&(n.credential=e.password),a.push(n)}),E.sessionConf.pcConfig={iceServers:a}}),this.ua.on("registered",function(){this.registered=!0}.bind(this)),this.ua.on("unregistered",function(){this.registered=!1}.bind(this)),this.ua.on("newRTCSession",function(e){console.debug("onNewRTCSession -> data",e);var n,t,a,i,s,o=e.session,r=!0,l="",d=0;switch(e.originator){case"local":o.outgoing=!0,o.name=e.request.ruri.user,o.user=e.request.ruri.user,S(o.user,!1),t=e.request.extraHeaders,a="X-callback-url",s=_.find(t,function(e){return _.startsWith(e,a)}),n=!!s&&_.trim(s.replace(a,"").replace(i||":","")),E.isJabraEnabled&&(E.jabraSession&&jabra.resume(),E.jabraSession=o,jabra.offHook());break;case"remote":var c=b.getCurrentUser();c.voicePause&&c.phoneBarDnd&&(r=!1);var m=e.request.getHeader("Call-Type")||"";if(c.ignorePauseForPreviewCalls&&"PREVIEW"===m&&(r=!0),E.originateInProgress&&(r=!1),r&&(o.incoming=!0,o.name=e.request.from.display_name,o.user=e.request.from.uri.user,l=e.request.getHeader("X-Answer-Mode")||"",d=e.request.getHeader("X-Answer-After")||0,function(n){console.debug("getNotification -> session",n);var e=n.name?n.name+" <"+n.user+">":n.user;E.currentUser.privacyEnabled&&(e=A.mask(e)),f.create("Incoming call from: ",e,null,function(){T(n)},function(){I(n)},E.conf.autoAnswer).then(function(e){n.notification=e}).catch(function(e){console.error("Error creating notification for incoming call",e)})}(e.session),S(e.session.user,!0),E.isJabraEnabled&&jabra.ring(),E.conf.autoAnswer&&g(function(){o.isInProgress()&&(o.autoAnswer=!0,T(o))},E.conf.autoAnswerDelay?1e3*E.conf.autoAnswerDelay:0),console.debug("xAnswerMode",l),console.debug("xAnswerAfterSec",d),"auto"==l.toLowerCase())){var u=0==d?500:1e3*d;console.debug("auto answer enabled after:"+u+" ms"),g(function(){o.isInProgress()&&(o.autoAnswer=!0,T(o))},u)}}r?(o.call_id=e.request.call_id,n&&L(E.callbackQueue[o.call_id]=n,{call_id:o.call_id}).then(function(){console.log('callbackurl:"'+n+'" called successfully')}).catch(function(e){console.log('fail callbackurl:"'+n+'" err:',e)}),o.connection&&(o.connection.onaddstream=O.bind(this)),o.iceCandidateTimeout=null,o.on("progress",function(e,n){console.debug("onProgress -> session, data",e,n);var t=!1;switch(n.originator){case"local":this.conf.ringingMute||(this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/incoming-call.ogg"),t=!0);break;case"remote":this.putOtherCallsOnHold(e),this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/outgoing-call.ogg"),t=!0}E.originateInProgress&&(E.originateInProgress=!1),t&&(this.soundPlayer.loop="loop",this.soundPlayer.play().catch(function(e){console.log(e.message)})),C(e).then(function(){var n=E.callbackQueue[e.call_id];n&&L(n,{uniqueid:e.uniqueid,call_id:e.call_id,number_called:e.user}).then(function(){console.log('callbackurl:"'+n+'" called successfully')}).catch(function(e){console.log('fail callbackurl:"'+n+'" err:',e)}).finally(function(){delete E.callbackQueue[e.call_id]})}).catch(function(e){console.error("Unable to retrieve voice channels",e)})}.bind(this,o)),o.on("confirmed",function(e,n){console.debug("onConfirmed -> session, data",e,n);var t=document.getElementById("div_session_"+e.id.substr(0,32));t&&$(t).scope().$broadcast("timer-start"),e.confirmed=!0,"remote"===n.originator&&e.connection&&(e.connection.onaddstream=O.bind(this),_.head(e.connection.getRemoteStreams())&&(this.remotePlayer.srcObject=_.head(e.connection.getRemoteStreams()),this.remotePlayer.play())),this.soundPlayer.pause(),this.soundPlayer.loop=null,this.putOtherCallsOnHold(e),e.autoAnswer&&(this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/beep.ogg"),this.soundPlayer.play().catch(function(e){console.log("Unable to play autoAnswer notification",e)})),E.canGoInConference=2==E.sessions.length,C(e).catch(function(e){console.error("Unable to retrieve voice channels",e)})}.bind(this,o)),o.on("hold",function(e,n){console.debug("onHold -> session, data",e,n),"local"===n.originator&&(e.localHold=!0)}.bind(this,o)),o.on("unhold",function(e,n){console.debug("onUnhold -> session, data",e,n),"local"===n.originator&&(e.localHold=!1)}.bind(this,o)),o.on("ended",function(e,n){if(console.debug("onEnded -> session, data",e,n),E.isInConference&&_.includes(E.currentConferenceSessions,e.id)&&(w(),E.buttonClicked=!0),_.remove(this.sessions,{id:e.id}),2!==E.sessions.length&&(E.canGoInConference=!1),E.isJabraEnabled)if(0===E.sessions.length)e.localHold&&jabra.resume(),jabra.onHook(),E.jabraSession=null;else{var t=_.last(E.sessions);t.localHold?(jabra.onHook(),jabra.hold(),E.jabraSession=t):jabra.offHook()}0===E.sessions.length&&E.currentUser.voicePause&&h.user.pause({id:E.currentUser.id,type:_.startsWith(E.currentUser.pauseType,"#")?E.currentUser.pauseType.substring(1):E.currentUser.pauseType}).$promise.catch(function(e){v.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:PAUSEUSER",msg:e.status?JSON.stringify(e.data):e.toString()})})}.bind(this,o)),o.on("failed",function(e,n){if(console.debug("onFailed -> session, data",e,n),this.soundPlayer.pause(),this.soundPlayer.loop=null,e.notification&&e.notification.close(),E.isInConference&&_.includes(E.currentConferenceSessions,e.id)&&w(),E.originateInProgress&&(E.originateInProgress=!1),_.remove(this.sessions,{id:e.id}),2!==E.sessions.length&&(E.canGoInConference=!1),E.isJabraEnabled)if(0===E.sessions.length)e.localHold&&jabra.resume(),jabra.onHook(),E.jabraSession=null;else{var t=_.last(E.sessions);t.localHold?(jabra.onHook(),jabra.hold(),E.jabraSession=t):jabra.offHook()}}.bind(this,o)),o.on("icecandidate",function(e,n){console.debug("onIcecandidate -> session, data",e,n),null!==e.iceCandidateTimeout&&clearTimeout(e.iceCandidateTimeout),e.iceCandidateTimeout=setTimeout(n.ready,1e3)}.bind(this,o)),E.sessions.push(o),g(function(){p.$apply(),console.debug("onNewRTCSession -> vm_pb.sessions",E.sessions)})):I(o,486)}.bind(this)),r.on("webbar:originate",function(e){console.debug("originateHook -> payload",e);var n=e.callNumber,t=e.callerId,a=e.callbackUrl;E.conf.microphoneId?E.sessionConf.mediaConstraints.audio={deviceId:E.conf.microphoneId}:E.sessionConf.mediaConstraints.audio=!0;var i=n.replace(/ /g,"");if(i=(i=i.replace(/\(/g,"")).replace(/\)/g,"")){var s=angular.copy(E.sessionConf);s.extraHeaders=[],t&&s.extraHeaders.push("X-CID: "+t),a&&s.extraHeaders.push("X-callback-url: "+a),E.originateInProgress=!0,E.ua.call(i,s)}}.bind(this)),r.on("webbar:hangup",function(e){console.debug("hangupHook -> payload",e);var n=E.sessions;if(e.sessionId&&((n=[]).push(P(e.sessionId)),0==n.length))console.warn("call with session Id "+e.sessionId+" not found");else for(var t=0;t sessionToHangup",a),E.terminate(a)}}.bind(this)),r.on("webbar:answer",function(e){var n;console.debug("answerHook -> payload",e),n=e.sessionId?P(e.sessionId):_.find(E.sessions,function(e){return e.incoming&&!e.confirmed}),e.sessionId&&!n&&console.warn("call with session Id "+e.sessionId+" not found"),n&&E.answer(n)}.bind(this)),r.on("webbar:hold",function(e){console.debug("holdHook -> payload",e);var n=E.sessions;if(e.sessionId&&((n=[]).push(P(e.sessionId)),0==n.length))console.warn("call with session Id "+e.sessionId+" not found");else for(var t=0;t payload",e),e.sessionId){var n=P(e.sessionId);n?E.unhold(n):console.warn("call with session Id "+e.sessionId+" not found")}else console.error("sessionId required")}.bind(this)),r.on("webbar:transfer",function(e){if(console.debug("transferHook -> payload",e),e.sessionId)if(e.transferNumber){var n=P(e.sessionId);n?n.refer(e.transferNumber,{eventHandlers:{requestSucceeded:D(n,"requestSucceeded","top right",3e3),requestFailed:D(n,"requestFailed","top right",3e3)}}):console.warn("call with session Id "+e.sessionId+" not found")}else console.error("transferNumber required");else console.error("sessionId required")}.bind(this)),r.on("webbar:stopmonitors",function(e){if(e.agentId===E.currentUser.id){var n=_.find(E.sessions,["uniqueid",e.uniqueid]);if(!n)return;n.monitors.forEach(function(e){e.status="pause"}),n.monitor=!1}}.bind(this))}.bind(this),E.type=function(e,n){var t=e;switch(E.target||(E.target=""),n&&(E.target+=e,p.$broadcast("angucomplete-alt:changeInput","ms-target-wrap",E.target)),e){case"*":t="asterisk";break;case"#":t="pound"}E.conf.enableDtmfTone&&(E.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/dialpad/"+t+".ogg"),E.soundPlayer.play().catch(function(e){console.log(e.message)}));for(var a=0;a session",e),e.hold({useUpdate:!1}),E.isJabraEnabled&&(jabra.hold(),jabra.onHook())},E.refer=function(n){console.debug("refer -> session",n);var e=a.prompt().title("Transfer").textContent("Type the target").placeholder("Target").ariaLabel("Target").ok("Transfer").cancel("Cancel");a.show(e).then(function(e){return x(e.replace(/ /g,"").replace(/\(/g,"").replace(/\)/g,""))}).then(function(e){n.refer(e,{eventHandlers:{requestSucceeded:D(n,"requestSucceeded","top right",3e3),requestFailed:D(n,"requestFailed","top right",3e3)}})})},E.record=function(e){console.debug("record -> session",e),a.show({controller:"RecordDialogController",controllerAs:"vm",templateUrl:"assets/ms-phonebar/record/dialog.html",parent:angular.element(t.body),clickOutsideToClose:!0,locals:{session:e,sessions:E.sessions}})},E.unhold=function(e){console.debug("unhold -> session",e),e.unhold({useUpdate:!1}),E.putOtherCallsOnHold(e),E.isJabraEnabled&&(jabra.offHook(),jabra.resume())},E.answer=T,E.terminate=I,E.selectSession=function(e){console.debug("selectSession -> session",e),E.unhold(e)},E.typeWrapper=function(e){switch(e.key.toLowerCase()){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"*":case"#":E.type(e.key);break;case"enter":E.call()}},E.toggleDialpad=function(){E.showDialpad=!E.showDialpad},E.referAttended=function(e){console.debug("referAttended -> session",e),a.show({controller:"ReferAttendedDialogController",controllerAs:"vm",templateUrl:"assets/ms-phonebar/referAttended/dialog.html",parent:angular.element(t.body),clickOutsideToClose:!0,locals:{session:e,sessions:_.reject(E.sessions,{id:e.id}),isJabraEnabled:E.isJabraEnabled}})},E.closeDialpad=function(){E.showDialpad=!1},E.initDevice=R,E.putOtherCallsOnHold=function(e){if(console.debug("putOtherCallsOnHold -> session",e),1 evt, data",e,n),n.target&&(E.target=n.target,E.call())}),p.$on("webrtc::transfer",function(e,n){if(console.debug("onRemoteTransfer -> evt, data",e,n),n.target)for(var t=0;t session, textContent, position, delay",e,n,t,a),function(){s.show(s.simple().textContent(n).position(t).hideDelay(a)),e.terminate(),jabra&&i&&jabra.onHook(),l()}}function l(e){n.hide(e)}o.title="Refer Attended",o.sessions=a,o.session=i,o.isJabraEnabled=e,o.sessionTarget=null,a.length&&(o.target=a[0].user),o.closeDialog=l,o.transfer=function(){var e,n,t=_.find(a,function(e){if(e.user===o.target)return e});n=t.outgoing?(e=t,o.session):(e=o.session,t);n.refer(e.user,{replaces:e,eventHandlers:{requestSucceeded:r(i,"requestSucceeded","top right",3e3,o.isJabraEnabled),requestFailed:r(i,"requestFailed","top right",3e3,o.isJabraEnabled)}})}}e.$inject=["$mdDialog","$mdToast","sessions","session","isJabraEnabled"],angular.module("app.core").controller("ReferAttendedDialogController",e)}(),function(){"use strict";function e(e,s,n){var t=this;function a(e,n,t){var a;if(s[t]){if(a=_.find(e,function(e){return e.deviceId===s[t]}))return a.deviceId;var i=_.findIndex(e,function(e){return e.kind===n});if(0<=i)return e[i].deviceId}else(a=_.find(e,function(e){return e.kind===n}))&&(s[t]=a.deviceId);return s[t]||null}_.remove(n,function(e){return"audioinput"===e.kind&&("default"===e.deviceId||"communications"===e.deviceId)||"audiooutput"===e.kind&&("default"===e.deviceId||"communications"===e.deviceId)}),s.ringingId=a(n,"audiooutput","ringingId"),s.speakerId=a(n,"audiooutput","speakerId"),s.microphoneId=a(n,"audioinput","microphoneId"),s.ringingVolume=s.ringingVolume||.5,s.speakerVolume=s.speakerVolume||.5,s.microphoneVolume=s.microphoneVolume||1,s.ringingMute=s.ringingMute||!1,s.speakerMute=s.speakerMute||!1,s.microphoneMute=s.microphoneMute||!1,t.conf=angular.copy(s),t.devices=n,t.saveSettings=function(){e.hide(t.conf)},t.closeDialog=function(){e.hide()},t.isCompatibleBrowser=function(){return"chrome"===t.conf.browserName.toLowerCase()||"opera"===t.conf.browserName.toLowerCase()||"safari"===t.conf.browserName.toLowerCase()}}e.$inject=["$mdDialog","conf","devices"],angular.module("app.toolbar").controller("SettingsController",e)}(),function(){"use strict";function e(t,a){var i=this;function s(e){var n=e.key,t={param:i.query[n],resources:e.options,placeholder:e.placeholder,ngValue:e.ngValue};a.setPlaceholder(t).then(function(e){i.placeholders[n]=e})}i.pickerModels={},i.placeholders={},i.localizationMap=t.localizationMap,i.onMultiselectInit=function(e){s(e)},i.onDateRangeInit=function(e){var n=e.key;i.query[n]?i.pickerModels[n]=t.setSelectedDate(i.query[n]):i.pickerModels[n]={dateStart:null}},i.onMultiselectSelection=function(e,n){n&&(s(e),i.search())},i.onDateRangeSelection=function(e){var n=e.key;i.pickerModels[n].dateStart?!0===e.useFromToKeys?i.query[n]={from:moment(i.pickerModels[n].dateStart).utcOffset(0,!0).format(),to:moment(i.pickerModels[n].dateEnd).utcOffset(0,!0).add(23,"hours").add(59,"minutes").add(59,"seconds").format()}:i.query[n]={$gte:moment(i.pickerModels[n].dateStart).utcOffset(0,!0).format(),$lte:moment(i.pickerModels[n].dateEnd).utcOffset(0,!0).add(23,"hours").add(59,"minutes").add(59,"seconds").format()}:i.query[n]=void 0;i.search()},i.clearDate=function(e){var n=e.key;i.pickerModels[n]={dateStart:null},delete i.query[n],i.search()},i.clearSelection=function(e){var n=e.key,t=e.ngValue||"id";i.query[n]=!1===e.clearAll?[_.head(e.options)[t]]:[],s(e),i.search()},i.selectAll=function(e){var n=e.key,t=e.ngValue||"id";i.query[n]=_.map(e.options,t),s(e),i.search()}}function n(p,e){var g={localizationMap:e,setSelectedDate:function(e){var n=e.$gte?new Date(moment.utc(e.$gte).format("YYYY-MM-DD")):new Date(moment.utc(e.from).format("YYYY-MM-DD")),t=e.$lte?new Date(moment.utc(e.$lte).format("YYYY-MM-DD")):new Date(moment.utc(e.to).format("YYYY-MM-DD")),a={dateStart:new Date(n.getFullYear(),n.getMonth(),n.getDate()),dateEnd:new Date(t.getFullYear(),t.getMonth(),t.getDate())};return a.selectedTemplateName=(i=a,moment(i.dateStart).isSame(i.dateEnd)?(u=i,moment().startOf("day").isSame(u.dateStart)?g.localizationMap.Today:(m=i,moment().subtract(1,"days").startOf("day").isSame(m.dateStart)?g.localizationMap.Yesterday:p("date")(i.dateStart,"dd MMM yyyy"))):(c=i,moment().startOf("isoWeek").isSame(c.dateStart,"day")&&moment().endOf("isoWeek").isSame(c.dateEnd,"day")?g.localizationMap["This Week"]:(d=i,moment().subtract(1,"weeks").startOf("isoWeek").isSame(d.dateStart,"day")&&moment().subtract(1,"weeks").endOf("isoWeek").isSame(d.dateEnd,"day")?g.localizationMap["Last Week"]:(l=i,moment().startOf("month").isSame(l.dateStart,"day")&&moment().endOf("month").isSame(l.dateEnd,"day")?g.localizationMap["This Month"]:(r=i,moment().subtract(1,"months").startOf("month").isSame(r.dateStart,"day")&&moment().subtract(1,"months").endOf("month").isSame(r.dateEnd,"day")?g.localizationMap["Last Month"]:(o=i,moment().startOf("year").isSame(o.dateStart,"day")&&moment().endOf("year").isSame(o.dateEnd,"day")?g.localizationMap["This Year"]:(s=i,moment().subtract(1,"years").startOf("year").isSame(s.dateStart,"day")&&moment().subtract(1,"years").endOf("year").isSame(s.dateEnd,"day")?g.localizationMap["Last Year"]:p("date")(i.dateStart,"dd"+(i.dateStart.getMonth()!==i.dateEnd.getMonth()||i.dateStart.getFullYear()!==i.dateEnd.getFullYear()?" MMM":"")+(i.dateStart.getFullYear()!==i.dateEnd.getFullYear()?" yyyy":""))+" - "+p("date")(i.dateEnd,"dd MMM yyyy")))))))),a;var i,s,o,r,l,d,c,m,u}};return g}n.$inject=["$filter","dateFilterLocalizationFactory"],e.$inject=["dateRangeManager","quickFilterManager"],angular.module("app.core").directive("msQuickFilter",function(){return{restrict:"E",scope:{query:"=",filters:"=",search:"&"},controller:e,controllerAs:"vm",bindToController:!0,templateUrl:"app/core/directives/ms-quick-filter/ms-quick-filter.html"}}).factory("dateRangeManager",n)}(),function(){"use strict";angular.module("app.core").directive("msRandomClass",function(){return{restrict:"A",scope:{msRandomClass:"="},link:function(e,n){var t=e.msRandomClass[Math.floor(Math.random()*e.msRandomClass.length)];n.addClass(t)}}})}(),function(){"use strict";function e(i){return{restrict:"E",scope:{id:"=",model:"=",download:"="},replace:!0,link:function(n,e){var t=!1,a=document.createElement("audio");n.download||a.setAttribute("controlsList","nodownload"),a.setAttribute("preload","none"),a.setAttribute("controls",""),a.setAttribute("style","width: 265px;"),a.setAttribute("src"," "),a.onplay=function(e){t||(t=!0,e.preventDefault(),i[n.model||"voiceRecording"].download({id:n.id}).$promise.then(function(e){var n=[e.buffer],t=new Blob(n,{type:e.type});a.setAttribute("type",e.type),a.setAttribute("src",URL.createObjectURL(t)),a.play()}).catch(function(e){console.error(e)}))},e.append(a)}}}e.$inject=["api"],angular.module("app.core").directive("msRecording",e)}(),function(){"use strict";angular.module("app.core").directive("msResponsiveTable",function(){return{restrict:"A",link:function(e,n){var t=angular.element('
');n.after(t),t.append(n)}}})}(),function(){"use strict";function e(s,o,n,t){return{restrict:"AE",compile:function(e){if(!(t.getConfig("disableCustomScrollbars")||t.getConfig("disableCustomScrollbarsOnMobile")&&n.isMobile()))return e.addClass("ms-scroll"),function(e,n,t){var a={};function i(){PerfectScrollbar.update(n[0])}t.msScroll&&(a=e.$eval(t.msScroll)),a=angular.extend({},o.getConfig(),a),s(function(){PerfectScrollbar.initialize(n[0],a)},0),n.on("mouseenter",i),e.$watch(function(){return n.prop("scrollHeight")},function(e,n){angular.isUndefined(e)||angular.equals(e,n)||i()}),e.$watch(function(){return n.prop("scrollWidth")},function(e,n){angular.isUndefined(e)||angular.equals(e,n)||i()}),e.$on("$destroy",function(){n.off("mouseenter"),PerfectScrollbar.destroy(n[0])})}}}}e.$inject=["$timeout","msScrollConfig","msUtils","motionConfig"],angular.module("app.core").provider("msScrollConfig",function(){var n={wheelSpeed:1,wheelPropagation:!1,swipePropagation:!0,minScrollbarLength:null,maxScrollbarLength:null,useBothWheelAxes:!1,useKeyboard:!0,suppressScrollX:!1,suppressScrollY:!1,scrollXMarginOffset:0,scrollYMarginOffset:0,stopPropagationOnClick:!0};this.config=function(e){n=angular.extend({},n,e)},this.$get=function(){var e={getConfig:function(){return n}};return e}}).directive("msScroll",e)}(),function(){"use strict";function e(n,i,s,e){var o=this;function t(){angular.isArray(o.onSearch)?a(o.onSearch):o.onResultClick?(o.resultsLoading=!0,n.$parent.$eval("vm.search(query)",{query:o.query.filter}).then(function(e){a(e)}).catch(function(){a([])}).finally(function(){o.resultsLoading=!1})):o.onSearch()}function a(e){o.expanded&&(void 0===e||angular.isArray(e)||null===e)&&(o.selectedResultIndex=0,o.results=e)}function r(){o.expanded=!0,o.displayOn=!0,n.expand()}function l(e){!1!==e&&(o.query.filter=void 0,o.onResultClick?a(null):t()),o.expanded=!1,n.collapse()}function d(e){o.onResultClick&&o.onResultClick({item:e}),l()}function c(){var e=i.find(".ms-search-bar-results"),n=angular.element(e.find(".result")[o.selectedResultIndex]);if(e&&n){var t=n.position().top-8,a=n.position().top+n.outerHeight()+8;o.ignoreMouseEvents=!0,s.cancel(o.mouseEventIgnoreTimeout),o.mouseEventIgnoreTimeout=s(function(){o.ignoreMouseEvents=!1},250),e.scrollTop()>t&&e.scrollTop(t),a>e.height()+e.scrollTop()&&e.scrollTop(a-e.height())}}o.queryOptions={debounce:o.debounce||0},o.searchOnEnterKey=e.get().searchOnEnterKey||!1,o.resultsLoading=!1,o.results=null,o.selectedResultIndex=0,o.ignoreMouseEvents=!1,o.expandBar=r,o.collapseBar=l,o.blurCollapse=function(){if(!o.collapseOnBlur)return;l()},o.onKeyDown=function(e){var n=e.keyCode;-1<[27,38,40].indexOf(n)&&e.preventDefault();switch(n){case 13:if(!o.onResultClick)return t();if(!o.results)return;d(o.results[o.selectedResultIndex]);break;case 27:l();break;case 38:0<=o.selectedResultIndex-1&&(o.selectedResultIndex--,c());break;case 40:if(!o.results)return;o.selectedResultIndex+1e.length)return}else r();t()}})}function n(a){return{restrict:"E",scope:{query:"=?",debounce:"=?",direction:"@",iconColor:"@",onSearch:"&",onResultClick:"&?",onExpand:"&?",onCollapse:"&?",collapseOnBlur:"=d.shortcuts.length&&(d.selectedResultIndex=d.shortcuts.length-1)));d.saveShortcuts()},d.handleResultClick=function(e){e.hasShortcut?d.removeShortcut(e):d.addShortcut(e)},d.absorbEvent=function(e){e.preventDefault()},d.handleKeydown=function(e){var n=e.keyCode;-1<[38,40].indexOf(n)&&e.preventDefault();switch(n){case 13:d.handleResultClick(d.results[d.selectedResultIndex]);break;case 38:0<=d.selectedResultIndex-1&&(d.selectedResultIndex--,d.ensureSelectedResultIsVisible());break;case 40:d.selectedResultIndex+1t&&e.scrollTop(t),a>e.height()+e.scrollTop()&&e.scrollTop(a-e.height())}},d.toggleMobileBar=function(){d.mobileBarActive=!d.mobileBarActive},d.loadShortcuts().then(function(e){d.shortcuts=e,0i.steps.length)}i.mainForm=void 0,i.orientation="horizontal",i.steps=[],i.currentStep=void 0,i.currentStepNumber=1,i.setOrientation=function(e){i.orientation=e||"horizontal"},i.registerMainForm=function(e){i.mainForm=e},i.registerStep=function(e,n,t){var a={element:e,scope:n,form:t,stepNumber:n.step||i.steps.length+1,stepTitle:n.stepTitle,stepTitleTranslate:n.stepTitleTranslate};return i.steps.push(a),i.steps.sort(function(e,n){return e.stepNumber-n.stepNumber}),a},i.setupSteps=function(){i.setCurrentStep(i.currentStepNumber)},i.resetForm=function(){e(function(){for(var e=0;ee.scrollWidth&&0==e.scrollLeft&&0==n.scrollLeft?"right":n.scrollWidth>e.scrollWidth&&n.scrollLeft>e.scrollLeft&&e.scrollWidth+n.scrollLeft>=n.scrollWidth?"left":n.scrollWidth>e.scrollWidth&&n.scrollLeft>e.scrollLeft&&e.scrollWidth+n.scrollLeftt.position().top+i&&(m(function(){o=!0}),r.off("scroll",c))}}}}}e.$inject=["$timeout","$q"],angular.module("app.core").controller("MsTimelineController",function(){var n=this;n.scrollEl=void 0,n.setScrollEl=function(e){n.scrollEl=e},n.getScrollEl=function(){return n.scrollEl}}).directive("msTimeline",function(){return{scope:{msTimeline:"=?",loadMore:"&?msTimelineLoadMore"},controller:"MsTimelineController",compile:function(e){return e.addClass("ms-timeline"),function(e,n,t,a){var i=angular.element('
');n.append(i);var s={scrollEl:"#content"};s=angular.extend(s,e.msTimeline,{});var o=angular.element(s.scrollEl);a.setScrollEl(o);var r=144;function l(){o.scrollTop()+o.height()+r>i.position().top&&(i.addClass("show"),c(),e.loadMore&&e.loadMore().then(function(){i.removeClass("show"),d()},function(){i.remove()}))}function d(){o.on("scroll",l)}function c(){o.off("scroll",l)}d(),e.$on("$destroy",function(){c()})}}}}).directive("msTimelineItem",e)}(),function(){"use strict";function e(a,e,n,i,t){var r=this;function s(){!function(){r.millis=l().diff(moment(r.startingTime));var e=moment.duration(r.millis),n=e.seconds(),t=e.minutes(),a=e.hours(),i=e.days(),s=e.months(),o=e.years();r.seconds=n<10?"0"+n:n,r.minutes=t<10?"0"+t:t,r.hours=a<10?"0"+a:a,r.days=i<10?"0"+i:i,r.months=s<10?"0"+s:s,r.years=o<10?"0"+o:o,r.timer=0{{ vm.timer }}
",compile:function(){return{pre:function(e,n,t){e.interval=t.interval||1e3}}},controller:e,controllerAs:"vm",bindToController:!0}})}(),function(){"use strict";angular.module("app.core").directive("msTimezone",function(){return{restrict:"E",scope:{ngModel:"="},controller:["$scope",function(e){e.timezone=[{name:"Europe/Andorra",utcOffset:60,offsetStr:"+01:00",countries:["AD"]},{name:"Asia/Dubai",utcOffset:240,offsetStr:"+04:00",countries:["AE","OM"]},{name:"Asia/Kabul",utcOffset:270,offsetStr:"+04:30",countries:["AF"]},{name:"Europe/Tirane",utcOffset:60,offsetStr:"+01:00",countries:["AL"]},{name:"Asia/Yerevan",utcOffset:240,offsetStr:"+04:00",countries:["AM"]},{name:"Antarctica/Rothera",utcOffset:-180,offsetStr:"-03:00",countries:["AQ"]},{name:"Antarctica/Palmer",utcOffset:-180,offsetStr:"-03:00",countries:["AQ"]},{name:"Antarctica/Mawson",utcOffset:300,offsetStr:"+05:00",countries:["AQ"]},{name:"Antarctica/Davis",utcOffset:420,offsetStr:"+07:00",countries:["AQ"]},{name:"Antarctica/Casey",utcOffset:480,offsetStr:"+08:00",countries:["AQ"]},{name:"Antarctica/Vostok",utcOffset:360,offsetStr:"+06:00",countries:["AQ"]},{name:"Antarctica/DumontDUrville",utcOffset:600,offsetStr:"+10:00",countries:["AQ"]},{name:"Antarctica/Syowa",utcOffset:180,offsetStr:"+03:00",countries:["AQ"]},{name:"Antarctica/Troll",utcOffset:0,offsetStr:"+00:00",countries:["AQ"]},{name:"America/Argentina/Buenos_Aires",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Cordoba",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Salta",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Jujuy",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Tucuman",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Catamarca",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/La_Rioja",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/San_Juan",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Mendoza",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/San_Luis",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Rio_Gallegos",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"America/Argentina/Ushuaia",utcOffset:-180,offsetStr:"-03:00",countries:["AR"]},{name:"Pacific/Pago_Pago",utcOffset:-660,offsetStr:"-11:00",countries:["AS","UM"]},{name:"Europe/Vienna",utcOffset:60,offsetStr:"+01:00",countries:["AT"]},{name:"Australia/Lord_Howe",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Antarctica/Macquarie",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Australia/Hobart",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Australia/Currie",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Australia/Melbourne",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Australia/Sydney",utcOffset:660,offsetStr:"+11:00",countries:["AU"]},{name:"Australia/Broken_Hill",utcOffset:630,offsetStr:"+10:30",countries:["AU"]},{name:"Australia/Brisbane",utcOffset:600,offsetStr:"+10:00",countries:["AU"]},{name:"Australia/Lindeman",utcOffset:600,offsetStr:"+10:00",countries:["AU"]},{name:"Australia/Adelaide",utcOffset:630,offsetStr:"+10:30",countries:["AU"]},{name:"Australia/Darwin",utcOffset:570,offsetStr:"+09:30",countries:["AU"]},{name:"Australia/Perth",utcOffset:480,offsetStr:"+08:00",countries:["AU"]},{name:"Australia/Eucla",utcOffset:525,offsetStr:"+08:45",countries:["AU"]},{name:"Asia/Baku",utcOffset:240,offsetStr:"+04:00",countries:["AZ"]},{name:"America/Barbados",utcOffset:-240,offsetStr:"-04:00",countries:["BB"]},{name:"Asia/Dhaka",utcOffset:360,offsetStr:"+06:00",countries:["BD"]},{name:"Europe/Brussels",utcOffset:60,offsetStr:"+01:00",countries:["BE"]},{name:"Europe/Sofia",utcOffset:120,offsetStr:"+02:00",countries:["BG"]},{name:"Atlantic/Bermuda",utcOffset:-240,offsetStr:"-04:00",countries:["BM"]},{name:"Asia/Brunei",utcOffset:480,offsetStr:"+08:00",countries:["BN"]},{name:"America/La_Paz",utcOffset:-240,offsetStr:"-04:00",countries:["BO"]},{name:"America/Noronha",utcOffset:-120,offsetStr:"-02:00",countries:["BR"]},{name:"America/Belem",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Fortaleza",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Recife",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Araguaina",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Maceio",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Bahia",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Sao_Paulo",utcOffset:-120,offsetStr:"-02:00",countries:["BR"]},{name:"America/Campo_Grande",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Cuiaba",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Santarem",utcOffset:-180,offsetStr:"-03:00",countries:["BR"]},{name:"America/Porto_Velho",utcOffset:-240,offsetStr:"-04:00",countries:["BR"]},{name:"America/Boa_Vista",utcOffset:-240,offsetStr:"-04:00",countries:["BR"]},{name:"America/Manaus",utcOffset:-240,offsetStr:"-04:00",countries:["BR"]},{name:"America/Eirunepe",utcOffset:-300,offsetStr:"-05:00",countries:["BR"]},{name:"America/Rio_Branco",utcOffset:-300,offsetStr:"-05:00",countries:["BR"]},{name:"America/Nassau",utcOffset:-300,offsetStr:"-05:00",countries:["BS"]},{name:"Asia/Thimphu",utcOffset:360,offsetStr:"+06:00",countries:["BT"]},{name:"Europe/Minsk",utcOffset:180,offsetStr:"+03:00",countries:["BY"]},{name:"America/Belize",utcOffset:-360,offsetStr:"-06:00",countries:["BZ"]},{name:"America/St_Johns",utcOffset:-210,offsetStr:"-03:30",countries:["CA"]},{name:"America/Halifax",utcOffset:-240,offsetStr:"-04:00",countries:["CA"]},{name:"America/Glace_Bay",utcOffset:-240,offsetStr:"-04:00",countries:["CA"]},{name:"America/Moncton",utcOffset:-240,offsetStr:"-04:00",countries:["CA"]},{name:"America/Goose_Bay",utcOffset:-240,offsetStr:"-04:00",countries:["CA"]},{name:"America/Blanc-Sablon",utcOffset:-240,offsetStr:"-04:00",countries:["CA"]},{name:"America/Toronto",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Nipigon",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Thunder_Bay",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Iqaluit",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Pangnirtung",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Resolute",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Atikokan",utcOffset:-300,offsetStr:"-05:00",countries:["CA"]},{name:"America/Rankin_Inlet",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Winnipeg",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Rainy_River",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Regina",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Swift_Current",utcOffset:-360,offsetStr:"-06:00",countries:["CA"]},{name:"America/Edmonton",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Cambridge_Bay",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Yellowknife",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Inuvik",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Creston",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Dawson_Creek",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Fort_Nelson",utcOffset:-420,offsetStr:"-07:00",countries:["CA"]},{name:"America/Vancouver",utcOffset:-480,offsetStr:"-08:00",countries:["CA"]},{name:"America/Whitehorse",utcOffset:-480,offsetStr:"-08:00",countries:["CA"]},{name:"America/Dawson",utcOffset:-480,offsetStr:"-08:00",countries:["CA"]},{name:"Indian/Cocos",utcOffset:390,offsetStr:"+06:30",countries:["CC"]},{name:"Europe/Zurich",utcOffset:60,offsetStr:"+01:00",countries:["CH","DE","LI"]},{name:"Africa/Abidjan",utcOffset:0,offsetStr:"+00:00",countries:["CI","BF","GM","GN","ML","MR","SH","SL","SN","ST","TG"]},{name:"Pacific/Rarotonga",utcOffset:-600,offsetStr:"-10:00",countries:["CK"]},{name:"America/Santiago",utcOffset:-180,offsetStr:"-03:00",countries:["CL"]},{name:"Pacific/Easter",utcOffset:-300,offsetStr:"-05:00",countries:["CL"]},{name:"Asia/Shanghai",utcOffset:480,offsetStr:"+08:00",countries:["CN"]},{name:"Asia/Urumqi",utcOffset:360,offsetStr:"+06:00",countries:["CN"]},{name:"America/Bogota",utcOffset:-300,offsetStr:"-05:00",countries:["CO"]},{name:"America/Costa_Rica",utcOffset:-360,offsetStr:"-06:00",countries:["CR"]},{name:"America/Havana",utcOffset:-300,offsetStr:"-05:00",countries:["CU"]},{name:"Atlantic/Cape_Verde",utcOffset:-60,offsetStr:"-01:00",countries:["CV"]},{name:"America/Curacao",utcOffset:-240,offsetStr:"-04:00",countries:["CW","AW","BQ","SX"]},{name:"Indian/Christmas",utcOffset:420,offsetStr:"+07:00",countries:["CX"]},{name:"Asia/Nicosia",utcOffset:120,offsetStr:"+02:00",countries:["CY"]},{name:"Europe/Prague",utcOffset:60,offsetStr:"+01:00",countries:["CZ","SK"]},{name:"Europe/Berlin",utcOffset:60,offsetStr:"+01:00",countries:["DE"]},{name:"Europe/Copenhagen",utcOffset:60,offsetStr:"+01:00",countries:["DK"]},{name:"America/Santo_Domingo",utcOffset:-240,offsetStr:"-04:00",countries:["DO"]},{name:"Africa/Algiers",utcOffset:60,offsetStr:"+01:00",countries:["DZ"]},{name:"America/Guayaquil",utcOffset:-300,offsetStr:"-05:00",countries:["EC"]},{name:"Pacific/Galapagos",utcOffset:-360,offsetStr:"-06:00",countries:["EC"]},{name:"Europe/Tallinn",utcOffset:120,offsetStr:"+02:00",countries:["EE"]},{name:"Africa/Cairo",utcOffset:120,offsetStr:"+02:00",countries:["EG"]},{name:"Africa/El_Aaiun",utcOffset:0,offsetStr:"+00:00",countries:["EH"]},{name:"Europe/Madrid",utcOffset:60,offsetStr:"+01:00",countries:["ES"]},{name:"Africa/Ceuta",utcOffset:60,offsetStr:"+01:00",countries:["ES"]},{name:"Atlantic/Canary",utcOffset:0,offsetStr:"+00:00",countries:["ES"]},{name:"Europe/Helsinki",utcOffset:120,offsetStr:"+02:00",countries:["FI","AX"]},{name:"Pacific/Fiji",utcOffset:720,offsetStr:"+12:00",countries:["FJ"]},{name:"Atlantic/Stanley",utcOffset:-180,offsetStr:"-03:00",countries:["FK"]},{name:"Pacific/Chuuk",utcOffset:600,offsetStr:"+10:00",countries:["FM"]},{name:"Pacific/Pohnpei",utcOffset:660,offsetStr:"+11:00",countries:["FM"]},{name:"Pacific/Kosrae",utcOffset:660,offsetStr:"+11:00",countries:["FM"]},{name:"Atlantic/Faroe",utcOffset:0,offsetStr:"+00:00",countries:["FO"]},{name:"Europe/Paris",utcOffset:60,offsetStr:"+01:00",countries:["FR"]},{name:"Europe/London",utcOffset:0,offsetStr:"+00:00",countries:["GB","GG","IM","JE"]},{name:"Asia/Tbilisi",utcOffset:240,offsetStr:"+04:00",countries:["GE"]},{name:"America/Cayenne",utcOffset:-180,offsetStr:"-03:00",countries:["GF"]},{name:"Africa/Accra",utcOffset:0,offsetStr:"+00:00",countries:["GH"]},{name:"Europe/Gibraltar",utcOffset:60,offsetStr:"+01:00",countries:["GI"]},{name:"America/Godthab",utcOffset:-180,offsetStr:"-03:00",countries:["GL"]},{name:"America/Danmarkshavn",utcOffset:0,offsetStr:"+00:00",countries:["GL"]},{name:"America/Scoresbysund",utcOffset:-60,offsetStr:"-01:00",countries:["GL"]},{name:"America/Thule",utcOffset:-240,offsetStr:"-04:00",countries:["GL"]},{name:"Europe/Athens",utcOffset:120,offsetStr:"+02:00",countries:["GR"]},{name:"Atlantic/South_Georgia",utcOffset:-120,offsetStr:"-02:00",countries:["GS"]},{name:"America/Guatemala",utcOffset:-360,offsetStr:"-06:00",countries:["GT"]},{name:"Pacific/Guam",utcOffset:600,offsetStr:"+10:00",countries:["GU","MP"]},{name:"Africa/Bissau",utcOffset:0,offsetStr:"+00:00",countries:["GW"]},{name:"America/Guyana",utcOffset:-240,offsetStr:"-04:00",countries:["GY"]},{name:"Asia/Hong_Kong",utcOffset:480,offsetStr:"+08:00",countries:["HK"]},{name:"America/Tegucigalpa",utcOffset:-360,offsetStr:"-06:00",countries:["HN"]},{name:"America/Port-au-Prince",utcOffset:-300,offsetStr:"-05:00",countries:["HT"]},{name:"Europe/Budapest",utcOffset:60,offsetStr:"+01:00",countries:["HU"]},{name:"Asia/Jakarta",utcOffset:420,offsetStr:"+07:00",countries:["ID"]},{name:"Asia/Pontianak",utcOffset:420,offsetStr:"+07:00",countries:["ID"]},{name:"Asia/Makassar",utcOffset:480,offsetStr:"+08:00",countries:["ID"]},{name:"Asia/Jayapura",utcOffset:540,offsetStr:"+09:00",countries:["ID"]},{name:"Europe/Dublin",utcOffset:0,offsetStr:"+00:00",countries:["IE"]},{name:"Asia/Jerusalem",utcOffset:120,offsetStr:"+02:00",countries:["IL"]},{name:"Asia/Kolkata",utcOffset:330,offsetStr:"+05:30",countries:["IN"]},{name:"Indian/Chagos",utcOffset:360,offsetStr:"+06:00",countries:["IO"]},{name:"Asia/Baghdad",utcOffset:180,offsetStr:"+03:00",countries:["IQ"]},{name:"Asia/Tehran",utcOffset:210,offsetStr:"+03:30",countries:["IR"]},{name:"Atlantic/Reykjavik",utcOffset:0,offsetStr:"+00:00",countries:["IS"]},{name:"Europe/Rome",utcOffset:60,offsetStr:"+01:00",countries:["IT","SM","VA"]},{name:"America/Jamaica",utcOffset:-300,offsetStr:"-05:00",countries:["JM"]},{name:"Asia/Amman",utcOffset:120,offsetStr:"+02:00",countries:["JO"]},{name:"Asia/Tokyo",utcOffset:540,offsetStr:"+09:00",countries:["JP"]},{name:"Africa/Nairobi",utcOffset:180,offsetStr:"+03:00",countries:["KE","DJ","ER","ET","KM","MG","SO","TZ","UG","YT"]},{name:"Asia/Bishkek",utcOffset:360,offsetStr:"+06:00",countries:["KG"]},{name:"Pacific/Tarawa",utcOffset:720,offsetStr:"+12:00",countries:["KI"]},{name:"Pacific/Enderbury",utcOffset:780,offsetStr:"+13:00",countries:["KI"]},{name:"Pacific/Kiritimati",utcOffset:840,offsetStr:"+14:00",countries:["KI"]},{name:"Asia/Pyongyang",utcOffset:510,offsetStr:"+08:30",countries:["KP"]},{name:"Asia/Seoul",utcOffset:540,offsetStr:"+09:00",countries:["KR"]},{name:"America/Cayman",utcOffset:-300,offsetStr:"-05:00",countries:["KY"]},{name:"Asia/Almaty",utcOffset:360,offsetStr:"+06:00",countries:["KZ"]},{name:"Asia/Qyzylorda",utcOffset:360,offsetStr:"+06:00",countries:["KZ"]},{name:"Asia/Aqtobe",utcOffset:300,offsetStr:"+05:00",countries:["KZ"]},{name:"Asia/Aqtau",utcOffset:300,offsetStr:"+05:00",countries:["KZ"]},{name:"Asia/Oral",utcOffset:300,offsetStr:"+05:00",countries:["KZ"]},{name:"Asia/Beirut",utcOffset:120,offsetStr:"+02:00",countries:["LB"]},{name:"Asia/Colombo",utcOffset:330,offsetStr:"+05:30",countries:["LK"]},{name:"Africa/Monrovia",utcOffset:0,offsetStr:"+00:00",countries:["LR"]},{name:"Europe/Vilnius",utcOffset:120,offsetStr:"+02:00",countries:["LT"]},{name:"Europe/Luxembourg",utcOffset:60,offsetStr:"+01:00",countries:["LU"]},{name:"Europe/Riga",utcOffset:120,offsetStr:"+02:00",countries:["LV"]},{name:"Africa/Tripoli",utcOffset:120,offsetStr:"+02:00",countries:["LY"]},{name:"Africa/Casablanca",utcOffset:0,offsetStr:"+00:00",countries:["MA"]},{name:"Europe/Monaco",utcOffset:60,offsetStr:"+01:00",countries:["MC"]},{name:"Europe/Chisinau",utcOffset:120,offsetStr:"+02:00",countries:["MD"]},{name:"Pacific/Majuro",utcOffset:720,offsetStr:"+12:00",countries:["MH"]},{name:"Pacific/Kwajalein",utcOffset:720,offsetStr:"+12:00",countries:["MH"]},{name:"Asia/Rangoon",utcOffset:390,offsetStr:"+06:30",countries:["MM"]},{name:"Asia/Ulaanbaatar",utcOffset:480,offsetStr:"+08:00",countries:["MN"]},{name:"Asia/Hovd",utcOffset:420,offsetStr:"+07:00",countries:["MN"]},{name:"Asia/Choibalsan",utcOffset:480,offsetStr:"+08:00",countries:["MN"]},{name:"Asia/Macau",utcOffset:480,offsetStr:"+08:00",countries:["MO"]},{name:"America/Martinique",utcOffset:-240,offsetStr:"-04:00",countries:["MQ"]},{name:"Europe/Malta",utcOffset:60,offsetStr:"+01:00",countries:["MT"]},{name:"Indian/Mauritius",utcOffset:240,offsetStr:"+04:00",countries:["MU"]},{name:"Indian/Maldives",utcOffset:300,offsetStr:"+05:00",countries:["MV"]},{name:"America/Mexico_City",utcOffset:-360,offsetStr:"-06:00",countries:["MX"]},{name:"America/Cancun",utcOffset:-300,offsetStr:"-05:00",countries:["MX"]},{name:"America/Merida",utcOffset:-360,offsetStr:"-06:00",countries:["MX"]},{name:"America/Monterrey",utcOffset:-360,offsetStr:"-06:00",countries:["MX"]},{name:"America/Matamoros",utcOffset:-360,offsetStr:"-06:00",countries:["MX"]},{name:"America/Mazatlan",utcOffset:-420,offsetStr:"-07:00",countries:["MX"]},{name:"America/Chihuahua",utcOffset:-420,offsetStr:"-07:00",countries:["MX"]},{name:"America/Ojinaga",utcOffset:-420,offsetStr:"-07:00",countries:["MX"]},{name:"America/Hermosillo",utcOffset:-420,offsetStr:"-07:00",countries:["MX"]},{name:"America/Tijuana",utcOffset:-480,offsetStr:"-08:00",countries:["MX"]},{name:"America/Santa_Isabel",utcOffset:-480,offsetStr:"-08:00",countries:["MX"]},{name:"America/Bahia_Banderas",utcOffset:-360,offsetStr:"-06:00",countries:["MX"]},{name:"Asia/Kuala_Lumpur",utcOffset:480,offsetStr:"+08:00",countries:["MY"]},{name:"Asia/Kuching",utcOffset:480,offsetStr:"+08:00",countries:["MY"]},{name:"Africa/Maputo",utcOffset:120,offsetStr:"+02:00",countries:["MZ","BI","BW","CD","MW","RW","ZM","ZW"]},{name:"Africa/Windhoek",utcOffset:120,offsetStr:"+02:00",countries:["NA"]},{name:"Pacific/Noumea",utcOffset:660,offsetStr:"+11:00",countries:["NC"]},{name:"Pacific/Norfolk",utcOffset:660,offsetStr:"+11:00",countries:["NF"]},{name:"Africa/Lagos",utcOffset:60,offsetStr:"+01:00",countries:["NG","AO","BJ","CD","CF","CG","CM","GA","GQ","NE"]},{name:"America/Managua",utcOffset:-360,offsetStr:"-06:00",countries:["NI"]},{name:"Europe/Amsterdam",utcOffset:60,offsetStr:"+01:00",countries:["NL"]},{name:"Europe/Oslo",utcOffset:60,offsetStr:"+01:00",countries:["NO","SJ"]},{name:"Asia/Kathmandu",utcOffset:345,offsetStr:"+05:45",countries:["NP"]},{name:"Pacific/Nauru",utcOffset:720,offsetStr:"+12:00",countries:["NR"]},{name:"Pacific/Niue",utcOffset:-660,offsetStr:"-11:00",countries:["NU"]},{name:"Pacific/Auckland",utcOffset:780,offsetStr:"+13:00",countries:["NZ","AQ"]},{name:"Pacific/Chatham",utcOffset:825,offsetStr:"+13:45",countries:["NZ"]},{name:"America/Panama",utcOffset:-300,offsetStr:"-05:00",countries:["PA"]},{name:"America/Lima",utcOffset:-300,offsetStr:"-05:00",countries:["PE"]},{name:"Pacific/Tahiti",utcOffset:-600,offsetStr:"-10:00",countries:["PF"]},{name:"Pacific/Marquesas",utcOffset:-570,offsetStr:"-09:30",countries:["PF"]},{name:"Pacific/Gambier",utcOffset:-540,offsetStr:"-09:00",countries:["PF"]},{name:"Pacific/Port_Moresby",utcOffset:600,offsetStr:"+10:00",countries:["PG"]},{name:"Pacific/Bougainville",utcOffset:660,offsetStr:"+11:00",countries:["PG"]},{name:"Asia/Manila",utcOffset:480,offsetStr:"+08:00",countries:["PH"]},{name:"Asia/Karachi",utcOffset:300,offsetStr:"+05:00",countries:["PK"]},{name:"Europe/Warsaw",utcOffset:60,offsetStr:"+01:00",countries:["PL"]},{name:"America/Miquelon",utcOffset:-180,offsetStr:"-03:00",countries:["PM"]},{name:"Pacific/Pitcairn",utcOffset:-480,offsetStr:"-08:00",countries:["PN"]},{name:"America/Puerto_Rico",utcOffset:-240,offsetStr:"-04:00",countries:["PR"]},{name:"Asia/Gaza",utcOffset:120,offsetStr:"+02:00",countries:["PS"]},{name:"Asia/Hebron",utcOffset:120,offsetStr:"+02:00",countries:["PS"]},{name:"Europe/Lisbon",utcOffset:0,offsetStr:"+00:00",countries:["PT"]},{name:"Atlantic/Madeira",utcOffset:0,offsetStr:"+00:00",countries:["PT"]},{name:"Atlantic/Azores",utcOffset:-60,offsetStr:"-01:00",countries:["PT"]},{name:"Pacific/Palau",utcOffset:540,offsetStr:"+09:00",countries:["PW"]},{name:"America/Asuncion",utcOffset:-180,offsetStr:"-03:00",countries:["PY"]},{name:"Asia/Qatar",utcOffset:180,offsetStr:"+03:00",countries:["QA","BH"]},{name:"Indian/Reunion",utcOffset:240,offsetStr:"+04:00",countries:["RE","TF"]},{name:"Europe/Bucharest",utcOffset:120,offsetStr:"+02:00",countries:["RO"]},{name:"Europe/Belgrade",utcOffset:60,offsetStr:"+01:00",countries:["RS","BA","HR","ME","MK","SI"]},{name:"Europe/Kaliningrad",utcOffset:120,offsetStr:"+02:00",countries:["RU"]},{name:"Europe/Moscow",utcOffset:180,offsetStr:"+03:00",countries:["RU"]},{name:"Europe/Simferopol",utcOffset:180,offsetStr:"+03:00",countries:["RU"]},{name:"Europe/Volgograd",utcOffset:180,offsetStr:"+03:00",countries:["RU"]},{name:"Europe/Samara",utcOffset:240,offsetStr:"+04:00",countries:["RU"]},{name:"Asia/Yekaterinburg",utcOffset:300,offsetStr:"+05:00",countries:["RU"]},{name:"Asia/Omsk",utcOffset:360,offsetStr:"+06:00",countries:["RU"]},{name:"Asia/Novosibirsk",utcOffset:360,offsetStr:"+06:00",countries:["RU"]},{name:"Asia/Novokuznetsk",utcOffset:420,offsetStr:"+07:00",countries:["RU"]},{name:"Asia/Krasnoyarsk",utcOffset:420,offsetStr:"+07:00",countries:["RU"]},{name:"Asia/Irkutsk",utcOffset:480,offsetStr:"+08:00",countries:["RU"]},{name:"Asia/Chita",utcOffset:480,offsetStr:"+08:00",countries:["RU"]},{name:"Asia/Yakutsk",utcOffset:540,offsetStr:"+09:00",countries:["RU"]},{name:"Asia/Khandyga",utcOffset:540,offsetStr:"+09:00",countries:["RU"]},{name:"Asia/Vladivostok",utcOffset:600,offsetStr:"+10:00",countries:["RU"]},{name:"Asia/Sakhalin",utcOffset:600,offsetStr:"+10:00",countries:["RU"]},{name:"Asia/Ust-Nera",utcOffset:600,offsetStr:"+10:00",countries:["RU"]},{name:"Asia/Magadan",utcOffset:600,offsetStr:"+10:00",countries:["RU"]},{name:"Asia/Srednekolymsk",utcOffset:660,offsetStr:"+11:00",countries:["RU"]},{name:"Asia/Kamchatka",utcOffset:720,offsetStr:"+12:00",countries:["RU"]},{name:"Asia/Anadyr",utcOffset:720,offsetStr:"+12:00",countries:["RU"]},{name:"Asia/Riyadh",utcOffset:180,offsetStr:"+03:00",countries:["SA","KW","YE"]},{name:"Pacific/Guadalcanal",utcOffset:660,offsetStr:"+11:00",countries:["SB"]},{name:"Indian/Mahe",utcOffset:240,offsetStr:"+04:00",countries:["SC"]},{name:"Africa/Khartoum",utcOffset:180,offsetStr:"+03:00",countries:["SD","SS"]},{name:"Europe/Stockholm",utcOffset:60,offsetStr:"+01:00",countries:["SE"]},{name:"Asia/Singapore",utcOffset:480,offsetStr:"+08:00",countries:["SG"]},{name:"America/Paramaribo",utcOffset:-180,offsetStr:"-03:00",countries:["SR"]},{name:"America/El_Salvador",utcOffset:-360,offsetStr:"-06:00",countries:["SV"]},{name:"Asia/Damascus",utcOffset:120,offsetStr:"+02:00",countries:["SY"]},{name:"America/Grand_Turk",utcOffset:-240,offsetStr:"-04:00",countries:["TC"]},{name:"Africa/Ndjamena",utcOffset:60,offsetStr:"+01:00",countries:["TD"]},{name:"Indian/Kerguelen",utcOffset:300,offsetStr:"+05:00",countries:["TF"]},{name:"Asia/Bangkok",utcOffset:420,offsetStr:"+07:00",countries:["TH","KH","LA","VN"]},{name:"Asia/Dushanbe",utcOffset:300,offsetStr:"+05:00",countries:["TJ"]},{name:"Pacific/Fakaofo",utcOffset:780,offsetStr:"+13:00",countries:["TK"]},{name:"Asia/Dili",utcOffset:540,offsetStr:"+09:00",countries:["TL"]},{name:"Asia/Ashgabat",utcOffset:300,offsetStr:"+05:00",countries:["TM"]},{name:"Africa/Tunis",utcOffset:60,offsetStr:"+01:00",countries:["TN"]},{name:"Pacific/Tongatapu",utcOffset:780,offsetStr:"+13:00",countries:["TO"]},{name:"Europe/Istanbul",utcOffset:120,offsetStr:"+02:00",countries:["TR"]},{name:"America/Port_of_Spain",utcOffset:-240,offsetStr:"-04:00",countries:["TT","AG","AI","BL","DM","GD","GP","KN","LC","MF","MS","VC","VG","VI"]},{name:"Pacific/Funafuti",utcOffset:720,offsetStr:"+12:00",countries:["TV"]},{name:"Asia/Taipei",utcOffset:480,offsetStr:"+08:00",countries:["TW"]},{name:"Europe/Kiev",utcOffset:120,offsetStr:"+02:00",countries:["UA"]},{name:"Europe/Uzhgorod",utcOffset:120,offsetStr:"+02:00",countries:["UA"]},{name:"Europe/Zaporozhye",utcOffset:120,offsetStr:"+02:00",countries:["UA"]},{name:"Pacific/Wake",utcOffset:720,offsetStr:"+12:00",countries:["UM"]},{name:"America/New_York",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Detroit",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Kentucky/Louisville",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Kentucky/Monticello",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Indianapolis",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Vincennes",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Winamac",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Marengo",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Petersburg",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Indiana/Vevay",utcOffset:-300,offsetStr:"-05:00",countries:["US"]},{name:"America/Chicago",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/Indiana/Tell_City",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/Indiana/Knox",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/Menominee",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/North_Dakota/Center",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/North_Dakota/New_Salem",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/North_Dakota/Beulah",utcOffset:-360,offsetStr:"-06:00",countries:["US"]},{name:"America/Denver",utcOffset:-420,offsetStr:"-07:00",countries:["US"]},{name:"America/Boise",utcOffset:-420,offsetStr:"-07:00",countries:["US"]},{name:"America/Phoenix",utcOffset:-420,offsetStr:"-07:00",countries:["US"]},{name:"America/Los_Angeles",utcOffset:-480,offsetStr:"-08:00",countries:["US"]},{name:"America/Metlakatla",utcOffset:-480,offsetStr:"-08:00",countries:["US"]},{name:"America/Anchorage",utcOffset:-540,offsetStr:"-09:00",countries:["US"]},{name:"America/Juneau",utcOffset:-540,offsetStr:"-09:00",countries:["US"]},{name:"America/Sitka",utcOffset:-540,offsetStr:"-09:00",countries:["US"]},{name:"America/Yakutat",utcOffset:-540,offsetStr:"-09:00",countries:["US"]},{name:"America/Nome",utcOffset:-540,offsetStr:"-09:00",countries:["US"]},{name:"America/Adak",utcOffset:-600,offsetStr:"-10:00",countries:["US"]},{name:"Pacific/Honolulu",utcOffset:-600,offsetStr:"-10:00",countries:["US","UM"]},{name:"America/Montevideo",utcOffset:-180,offsetStr:"-03:00",countries:["UY"]},{name:"Asia/Samarkand",utcOffset:300,offsetStr:"+05:00",countries:["UZ"]},{name:"Asia/Tashkent",utcOffset:300,offsetStr:"+05:00",countries:["UZ"]},{name:"America/Caracas",utcOffset:-270,offsetStr:"-04:30",countries:["VE"]},{name:"Asia/Ho_Chi_Minh",utcOffset:420,offsetStr:"+07:00",countries:["VN"]},{name:"Pacific/Efate",utcOffset:660,offsetStr:"+11:00",countries:["VU"]},{name:"Pacific/Wallis",utcOffset:720,offsetStr:"+12:00",countries:["WF"]},{name:"Pacific/Apia",utcOffset:840,offsetStr:"+14:00",countries:["WS"]},{name:"Africa/Johannesburg",utcOffset:120,offsetStr:"+02:00",countries:["ZA","LS","SZ"]}]}],templateUrl:"app/core/directives/ms-timezone/ms-timezone.html"}})}(),function(){"use strict";angular.module("app.core").controller("MsWidgetEngineCounterController",function(){var a=this;a.filter=[],a.filtered=!1,a.fontSize=20,a.getCount=function(e){var n=0;if(e){a.fontSize=e.attrs[2]&&e.attrs[2].value?parseInt(e.attrs[2].value)-parseInt(e.attrs[2].value)%2:20,e.attrs[1].value&&e.attrs[1].value.length?(a.filtered=!0,a.filter=_.intersection(e.voiceQueuesSelected,e.attrs[1].value)):(a.filtered=!1,a.filter=e.voiceQueuesSelected);for(var t=0;tr.properties.length){var n=r.multiBarChart.series.length-r.properties.length;r.multiBarChart.series.splice(0,n),r.multiBarChart.data.splice(0,n)}for(var t=0;tr.filter.length){var a=r.multiBarChart.labels.length-r.filter.length;r.multiBarChart.labels.splice(0,a),r.multiBarChart.data[t].splice(0,a)}for(var i=0,s=0;io.properties.length){var n=o.pieChart.labels.length-o.properties.length;o.pieChart.labels.splice(0,n),o.pieChart.data.splice(0,n)}for(var t=0,a=0;te.length?e.replace(/./g,"*"):e.substring(0,e.length-a).padEnd(e.length,"*")}function o(e){return _.startsWith(e,"<")&&_.endsWith(e,">")&&(e=e.substring(1,e.length-1)),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function r(e){if(_.startsWith(e,"<")&&_.endsWith(e,">")){var n=!0;e=e.substring(1,e.length-1)}var t=e.split("@")[0],a=e.split("@")[1],i="";return n&&(i+="<"),i+=s(t,"email"),i+="@",i+=s(a,"email"),n&&(i+=">"),i}return{mask:function n(e){t=e,e=t.replace(/\s\s+/g," ").trim();var t;{if(o(e))return r(e);if(/^[+]?[0-9|.|\-|\s]*$/.test(e))return s(e,"number");var a=[],i=e.split(" ");return 1===i.length?s(e):(i.forEach(function(e){a.push(n(e))}),a.join(" "))}}}}e.$inject=["settingsManager"],angular.module("app.core").factory("privacyManager",e)}(),function(){"use strict";function e(e,s){return{setPlaceholder:function(a){var i;return e(function(n,e){try{if(_.isEmpty(a.resources))i=s.instant("DASHBOARDS.NONE");else if(_.isEmpty(a.param))i=a.placeholder?s.instant(a.placeholder):s.instant("DASHBOARDS.CHOOSE");else if(a.param.length===a.resources.length)i=s.instant("DASHBOARDS.ALL");else{var t=a.ngValue||"id";i=_(a.resources).filter(function(e){return _.includes(a.param,e[t])}).map("name").value().join(", ")}n(i)}catch(e){console.log("QuickFilterManager::setPlaceholder",e),n(null)}})}}}e.$inject=["$q","$translate"],angular.module("app.core").factory("quickFilterManager",e)}(),function(){"use strict";function e(t){var e={getAgentStatus:function(e){var n="unknown";n=o(e)?"pause":o(e,!0)?"*pause":function(e){if("idle"!==e.voiceStatus&&e.voicePause)return!(e.voiceStatus="pause");return _.every([e.chatStatus,e.faxStatus,e.mailStatus,e.openchannelStatus,e.smsStatus,e.voiceStatus,e.whatsappStatus],r)}(e)?"idle":"busy";return n},setAgentStatusDisplayValue:function(e){var n=e.globalStatus;"pause"===e.globalStatus?n=e.pauseType||t.instant("VOICE.DEFAULT_PAUSE"):"*pause"===e.globalStatus&&(n="*"+(e.pauseType||t.instant("VOICE.DEFAULT_PAUSE")));e.globalStatusDisplayValue=n},updateBusyCounter:s,updateQueue:function(e,n,t,a){var i=t.paused;!1===e.online?(t.online=!1,n.loggedInDb-=1,t.paused?(t.paused=!1,n.paused-=1):n.available-=1):t.online?!e[a+"Pause"]||t.paused||o(e,!0)?!e[a+"Pause"]&&t.paused?(t.paused=!1,t.talking||t.busy||(n.paused-=1,n.available+=1)):e[a+"Pause"]&&t.paused&&(t.talking||t.busy||(n.busy-=1,i||(n.paused+=1))):(t.paused=!0,t.talking||t.busy||(i||(n.paused+=1),0]+>/gm,"")}}).filter("nospace",function(){return function(e){return e?e.replace(/ /g,""):""}}).filter("humanizeDoc",function(){return function(e){if(e)return"directive"===e.type?e.name.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}):e.label||e.name}})}(),function(){"use strict";angular.module("app.core").filter("capitalize",function(){return function(e){return e?_.capitalize(e):""}})}(),function(){"use strict";angular.module("app.core").filter("filterByIds",function(){return function(e,n){if(0===e.length||!n)return e;if(0===n.length)return[];for(var t=[],a=0;an.openedAt?1:-1:1}),n}})}(),function(){"use strict";angular.module("app.core").filter("secToTime",function(){return function(e){e&&(e=e.toString().replace(",",""));var n=Math.floor(e/86400),t=e%86400,a=new Date(1e3*t).toISOString().substring(11,19);return a.replace(/^(\d+)/,function(e){return(""+(Number(e)+24*n)).padStart(2,"0")})}})}(),function(){"use strict";angular.module("app.core").filter("snakecase",function(){return function(e){return e?_.snakeCase(e):""}})}(),function(){"use strict";angular.module("app.core").filter("startcase",function(){return function(e){return e?_.startCase(e):""}})}(),function(){"use strict";angular.module("app.core").filter("filterByTags",function(){return function(e,t){if(0===e.length||0===t.length)return e;var a=[];return e.forEach(function(e){var n=t.every(function(n){var t=!1;return e.tags.forEach(function(e){e.name!==n.name||(t=!0)}),t});n&&a.push(e)}),a}}).filter("filterSingleByTags",function(){return function(e,n){if(0!==e.length&&0!==n.length){if(e.length')).html(i),s.append(o)})},rgba:l};function l(e,n){var t=n||!1;return 4===e.length&&255===e[0]&&255===e[1]&&255===e[2]&&e.splice(3,4),t&&(e=function(e,n){var t={white:{1:"1",2:"0.7",3:"0.3",4:"0.12"},black:{1:"0.87",2:"0.54",3:"0.26",4:"0.12"}};255===e[0]&&255===e[1]&&255===e[2]?e[3]=t.white[n]:0===e[0]&&0===e[1]&&0===e[2]&&(e[3]=t.black[n]);return e}(e,t)),3===e.length?"rgb("+e.join(",")+")":4===e.length?"rgba("+e.join(",")+")":void a.error("Invalid number of arguments supplied in the color array: "+e.length+"\nThe array must have 3 or 4 colors.")}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}}e.$inject=["$cookies","$log","motionTheming"],angular.module("app.core").factory("motionGenerator",e)}(),function(){"use strict";angular.module("app.core").constant("motionPalettes",[{name:"motion-blue",options:{50:"#ebf1fa",100:"#c2d4ef",200:"#9ab8e5",300:"#78a0dc",400:"#5688d3",500:"#3470ca",600:"#2e62b1",700:"#275498",800:"#21467e",900:"#1a3865",A100:"#c2d4ef",A200:"#9ab8e5",A400:"#5688d3",A700:"#275498",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400"}},{name:"motion-paleblue",options:{50:"#ececee",100:"#c5c6cb",200:"#9ea1a9",300:"#7d818c",400:"#5c616f",500:"#3c4252",600:"#353a48",700:"#2d323e",800:"#262933",900:"#1e2129",A100:"#c5c6cb",A200:"#9ea1a9",A400:"#5c616f",A700:"#2d323e",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400"}}])}(),function(){"use strict";angular.module("app.core").constant("motionThemes",{default:{primary:{name:"motion-paleblue",hues:{default:"700","hue-1":"500","hue-2":"600","hue-3":"400"}},accent:{name:"light-blue",hues:{default:"600","hue-1":"400","hue-2":"700","hue-3":"A100"}},warn:{name:"red"},background:{name:"grey",hues:{default:"A100","hue-1":"A100","hue-2":"100","hue-3":"300"}}},pinkTheme:{primary:{name:"blue-grey",hues:{default:"800","hue-1":"600","hue-2":"400","hue-3":"A100"}},accent:{name:"pink",hues:{default:"400","hue-1":"300","hue-2":"600","hue-3":"A100"}},warn:{name:"blue"},background:{name:"grey",hues:{default:"A100","hue-1":"A100","hue-2":"100","hue-3":"300"}}},tealTheme:{primary:{name:"motion-blue",hues:{default:"900","hue-1":"600","hue-2":"500","hue-3":"A100"}},accent:{name:"teal",hues:{default:"500","hue-1":"400","hue-2":"600","hue-3":"A100"}},warn:{name:"deep-orange"},background:{name:"grey",hues:{default:"A100","hue-1":"A100","hue-2":"100","hue-3":"300"}}}})}(),function(){"use strict";function e(t,e,n){var a;angular.injector(["ngCookies"]).invoke(["$cookies",function(e){a=e}]);var i=a.getObject("motion.customTheme");i&&(n.custom=i),t.alwaysWatchTheme(!0),angular.forEach(e,function(e){t.definePalette(e.name,e.options)}),angular.forEach(n,function(e,n){t.theme(n).primaryPalette(e.primary.name,e.primary.hues).accentPalette(e.accent.name,e.accent.hues).warnPalette(e.warn.name,e.warn.hues).backgroundPalette(e.background.name,e.background.hues)})}e.$inject=["$mdThemingProvider","motionPalettes","motionThemes"],angular.module("app.core").config(e)}(),function(){"use strict";function e(n,t,e){var a={getRegisteredPalettes:function(){return e.PALETTES},getRegisteredThemes:function(){return e.THEMES},setActiveTheme:function(e){if(angular.isUndefined(a.themes.list[e]))return angular.isUndefined(a.themes.list.default)?void t.error('You must have at least one theme named "default"'):(t.warn('The theme "'+e+'" does not exist! Falling back to the "default" theme.'),a.themes.active.name="default",a.themes.active.theme=a.themes.list.default,void n.put("motion.selectedTheme",a.themes.active.name));a.themes.active.name=e,a.themes.active.theme=a.themes.list[e],n.put("motion.selectedTheme",e)},setThemesList:function(e){a.themes.list=e},themes:{list:{},active:{name:"",theme:{}}}};return a}e.$inject=["$cookies","$log","$mdTheming"],angular.module("app.core").service("motionTheming",e)}(),function(){"use strict";function e(n,s,o,r){this.search=function(n){for(var e=[],t=r.getFlatNavigation(),a=o.defer(),i=0;i"+(e.name||"extractedReport")+" will be deleted.").ariaLabel("delete extractedReport").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.success=E,f.getExtractedReports=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.analyticExtractedReport.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="ExtractedReports",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditExtractedReport=function(e,n){i.show({controller:"CreateOrEditExtractedReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/extractedReports/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{extractedReport:n,extractedReports:f.extractedReports.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteExtractedReport=y,f.exportSelectedExtractedReports=function(){var e=angular.copy(f.selectedExtractedReports);return f.selectedExtractedReports=[],e},f.deleteSelectedExtractedReports=function(e){var n=i.confirm().title("Are you sure want to delete the selected extractedReports?").htmlContent(""+f.selectedExtractedReports.length+" selected will be deleted.").ariaLabel("delete ExtractedReports").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedExtractedReports.forEach(function(e){y(e)}),f.selectedExtractedReports=[]})},f.deselectExtractedReports=function(){f.selectedExtractedReports=[]},f.selectAllExtractedReports=function(){f.selectedExtractedReports=f.extractedReports.rows};var b=!0,A=1;function E(e){f.extractedReports=e||{count:0,rows:[]}}function y(e){m.analyticExtractedReport.delete({id:e.id}).$promise.then(function(){_.remove(f.extractedReports.rows,{id:e.id}),f.extractedReports.count-=1,f.extractedReports.rows.length||f.getExtractedReports(),p.success({title:_.startCase("ExtractedReport")+" deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){f.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEanalyticExtractedReport"}];for(var n=0;n"+(e.name||"metric")+" will be deleted.").ariaLabel("delete metric").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.success=E,f.getMetrics=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.analyticMetric.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="Metrics",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditMetric=function(e,n){i.show({controller:"CreateOrEditMetricDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/metrics/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{metric:n,metrics:f.metrics.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteMetric=y,f.exportSelectedMetrics=function(){var e=angular.copy(f.selectedMetrics);return f.selectedMetrics=[],e},f.deleteSelectedMetrics=function(e){var n=i.confirm().title("Are you sure want to delete the selected metrics?").htmlContent(""+f.selectedMetrics.length+" selected will be deleted.").ariaLabel("delete Metrics").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedMetrics.forEach(function(e){y(e)}),f.selectedMetrics=[]})},f.deselectMetrics=function(){f.selectedMetrics=[]},f.selectAllMetrics=function(){f.selectedMetrics=f.metrics.rows};var b=!0,A=1;function E(e){f.metrics=e||{count:0,rows:[]}}function y(e){m.analyticMetric.delete({id:e.id}).$promise.then(function(){_.remove(f.metrics.rows,{id:e.id}),f.metrics.count-=1,f.metrics.rows.length||f.getMetrics(),p.success({title:_.startCase("Metric")+" deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){f.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEanalyticMetric"}];for(var n=0;n"+e.field+" will be deleted.").ariaLabel("delete field").targetEvent(n).ok("OK").cancel("CANCEL");a.show(t).then(function(){p(e)},function(){console.log("CANCEL")})},c.success=u,c.getReportFields=function(){c.promise=o.analyticFieldReport.get(c.query,u).$promise},c.createOrEditReportField=function(e,n){a.show({controller:"CreateOrEditReportFieldDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/edit/field/dialog.html",parent:angular.element(i.body),targetEvent:e,clickOutsideToClose:!0,locals:{report:c.report,reportField:n,reportFields:c.reportFields.rows,metrics:c.metrics,columns:c.columns,setting:null,crudPermissions:c.crudPermissions}})},c.deleteReportField=p,c.deleteSelectedReportFields=function(e){var n=a.confirm().title("Are you sure want to delete the selected fields?").htmlContent(""+c.selectedReportFields.length+" selected will be deleted.").ariaLabel("delete fields").targetEvent(e).ok("OK").cancel("CANCEL");a.show(n).then(function(){c.selectedReportFields.forEach(function(e){p(e)}),c.selectedReportFields=[]})},c.getMetricName=function(e){var n=_.find(c.metrics,{id:e});return n?n.name:d.instant("ANALYTICS.NO_METRIC_FOUND")},c.getMetricValue=function(e){var n=_.find(c.metrics,{id:e});return n?n.metric:d.instant("ANALYTICS.NO_METRIC_FOUND")};var m=!0;function u(e){c.reportFields=e||{count:0,rows:[]}}function p(e){o.analyticFieldReport.delete({id:e.id}).$promise.then(function(){c.selectedReportFields=[],_.remove(c.reportFields.rows,{id:e.id}),c.reportFields.count-=1,c.reportFields.rows.length||c.getReportFields(),s.success({title:"Field deleted!",msg:e.field?e.field+" has been deleted!":""})}).catch(function(e){s.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:DELETEFIELD",msg:e.data?JSON.stringify(e.data):e.toString()})})}n.$watch("vm_rf.query.filter",function(e,n){m?t(function(){m=!1}):c.getReportFields()})}e.$inject=["$cookies","$scope","$timeout","$mdDialog","$document","toasty","api","describeTable","sqlUtil","$translate"],angular.module("app.analytics").controller("ReportFieldsController",e)}(),function(){"use strict";angular.module("app.analytics").factory("sqlUtil",function(){return{getFunctions:[{value:"SUM",option:function(e){return"SUM ("+e+")"}},{value:"COUNT",option:function(e){return"COUNT ("+e+")"}},{value:"COUNT DISTINCT",option:function(e){return"COUNT (DISTINCT "+e+")"}},{value:"MAX",option:function(e){return"MAX ("+e+")"}},{value:"MIN",option:function(e){return"MIN ("+e+")"}},{value:"AVG",option:function(e){return"AVG ("+e+")"}},{value:"GROUP_CONCAT",option:function(e){return"GROUP_CONCAT ("+e+")"}},{value:"GROUP_CONCAT ASC",option:function(e){return"GROUP_CONCAT ("+e+" ORDER BY "+e+" ASC)"}},{value:"GROUP_CONCAT DESC",option:function(e){return"GROUP_CONCAT ("+e+" ORDER BY "+e+" DESC)"}}],getFormats:[{value:"SEC_TO_TIME",option:function(e){return"SEC_TO_TIME ("+e+")"}},{value:"DATE",option:function(e){return"DATE ("+e+")"}},{value:"HOUR",option:function(e){return"HOUR ("+e+")"}},{value:"ROUND",option:function(e){return"ROUND ("+e+")"}},{value:"UNIX_TIMESTAMP",option:function(e){return"UNIX_TIMESTAMP ("+e+")"}}],getGroupBy:[{value:!1,option:function(){return"No"}},{value:!0,option:function(e){return"GROUP BY "+e}}],getOrderBy:[{value:"ASC",option:function(e){return"ORDER BY "+e+" ASC"}},{value:"DESC",option:function(e){return"ORDER BY "+e+" DESC"}}],getConditions:["=","!=","<","<=",">",">=","LIKE","NOT LIKE","IS NULL","IS NOT NULL","IS EMPTY","IS NOT EMPTY"]}})}(),function(){"use strict";function e(e,n,t,a,i,s){var o=this;function r(e){return _.isArray(e)}o.report=a||{},o.userProfileSection=s&&1==s.count?s.rows[0]:null,o.crudPermissions=i.parseCrudPermissions(o.userProfileSection?o.userProfileSection.crudPermissions:null),o.selectedTab=e.params.tab||0,o.gotoReports=function(){e.go("app.analytics.reports",{},{reload:"app.analytics.reports"})},o.saveReport=function(){o.report.conditions=angular.toJson(o.report.condition),t.analyticCustomReport.update({id:o.report.id},_.omit(o.report,"joins")).$promise.then(function(){n.success({title:"Report updated!",msg:o.report.name?o.report.name+" has been updated!":""})}).catch(function(e){n.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GETreport",msg:e.data?JSON.stringify(e.data):e.toString()})})},o.previewReport=function(){o.columns=[],o.rows=[],o.error=!1,t.analyticFieldReport.get({fields:"field,alias",nolimit:!0,CustomReportId:o.report.id}).$promise.then(function(e){return o.columns=e?e.rows:[],t.analyticCustomReport.preview({id:o.report.id}).$promise}).then(function(e){o.rows=e}).catch(function(e){console.log(e),o.error={title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:analyticFieldReport",msg:e.data?e.data.message:e.toString(),sql:e.data&&e.data.parent?e.data.parent.sql:"NO QUERY"},n.error(o.error)})},o.queryReport=function(){return o.queryResult="Loading...",t.analyticCustomReport.query({id:o.report.id}).$promise.then(function(e){o.queryResult=e.sql}).catch(function(e){o.queryResult="",console.log(e),o.error={title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:analyticFieldReport",msg:e.data?e.data.message:e.toString(),sql:e.data&&e.data.parent?e.data.parent.sql:"NO QUERY"},n.error(o.error)})},o.mapArray=function(e,n){if(r(e))return _.map(e,n).join(",");return""},o.isArray=r,o.valueReplacer=function(e,n){moment(n,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(n=moment(n,"").format("YYYY-MM-DD HH:mm:ss"));return n}}e.$inject=["$state","toasty","api","report","Auth","userProfileSection"],angular.module("app.analytics").controller("ReportController",e)}(),function(){"use strict";function e(e,n,t,a,i,s){var o=this;o.errors=[],o.report=angular.copy(a),o.valueReplacer=function(e,n){moment(n,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(n=moment(n,"").format("YYYY-MM-DD HH:mm:ss"));return n},o.closeDialog=function(){n.hide()},function(){o.columns=[],o.rows=[],o.error=!1;var e={fields:"field,alias",nolimit:!0};e["analyticCustomReport"===s?"CustomReportId":"DefaultReportId"]=o.report.id,o.promise=i.analyticFieldReport.get(e).$promise.then(function(e){return o.columns=e?e.rows:[],i[s].preview({id:o.report.id}).$promise}).then(function(e){o.rows=e}).catch(function(e){console.log(e),o.error={title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:analyticFieldReport",msg:e.data?e.data.message:e.toString(),sql:e.data&&e.data.parent?e.data.parent.sql:"NO QUERY"},t.error(o.error)})}()}e.$inject=["$location","$mdDialog","toasty","report","api","apiName"],angular.module("app.analytics").controller("PreviewReportDialogController",e)}(),function(){"use strict";function e(e,t,a,i,s,o,n,r,l,d,c,m,u){var p=this;p.currentUser=u.getCurrentUser(),p.reports={count:0,rows:[]},p.userProfile=r,p.userProfileSection=l&&1==l.count?l.rows[0]:null,p.crudPermissions=u.parseCrudPermissions(p.userProfileSection?p.userProfileSection.crudPermissions:null),p.selectedReports=[],p.query={fields:"createdAt,updatedAt,id,name,description,table,parent,conditions,joins",limit:10,page:1,sort:"-updatedAt"},p.apiName=null,p.currentPath="",p.customTree=!0,p.editstate=function(e,n){s.go("app.analytics.reports.edit",{id:e.id,crudPermissions:p.crudPermissions})},p.copydialog=function(e,n){i.show({controller:"CopyReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/copy/dialog.html",parent:angular.element(a.body),targetEvent:n,clickOutsideToClose:!0,locals:{report:e,apiName:p.apiName,treeCustomData:p.treeCustomInstance.jstree(!0).get_json("#")}}).finally(function(){})},p.previewdialog=function(e,n){i.show({controller:"PreviewReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/preview/dialog.html",parent:angular.element(a.body),targetEvent:n,clickOutsideToClose:!0,locals:{report:e,apiName:p.apiName}})},p.rundialog=function(e,n){i.show({controller:"RunReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/run/dialog.html",parent:angular.element(a.body),targetEvent:n,clickOutsideToClose:!0,locals:{report:e,apiName:p.apiName,currentPath:p.currentPath}})},p.downloadfile=function(a,e){var i;d.analyticMetric.get({fields:"id,name,metric,table",nolimit:!0}).$promise.then(function(e){i=_.keyBy(e.rows,"id");var n={fields:"field,alias,function,format,groupBy,orderBy,custom,MetricId",nolimit:!0};return n["analyticCustomReport"===p.apiName?"CustomReportId":"DefaultReportId"]=a.id,d.analyticFieldReport.get(n).$promise}).then(function(e){for(var n=0;n"+e.name+" will be deleted.").ariaLabel("delete report").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){b(e)},function(){console.log("CANCEL")})},p.success=h,p.getReports=f,p.createOrEditReport=function(e,n){i.show({controller:"CreateOrEditReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/create/dialog.html",parent:angular.element(a.body),targetEvent:e,clickOutsideToClose:!0,locals:{report:n,reports:p.reports.rows,apiName:p.apiName,currentNode:p.currentNode,setting:null,crudPermissions:p.crudPermissions}})},p.importReport=function(e,n,t){if("application/json"===e.file.type){var a=new FileReader;a.onload=function(e){console.log(e.target.result);try{var t=atob(e.target.result.split(",")[1]);t=angular.fromJson(t),d.analyticCustomReport.save({name:t.name,description:t.description,table:t.table,conditions:t.conditions,joins:t.joins,parent:p.currentNode.id}).$promise.then(function(n){p.reports.rows.unshift(n),m.success({title:"Report saved!",msg:n.name?n.name+" has been saved!":""});var e=_.map(t.fields,function(e){return _.extend({},e,{CustomReportId:n.id})});return d.analyticFieldReport.bulkCreate(e).$promise}).then(function(e){m.success({title:"Fields saved!",msg:"Fields has been saved!"})}).catch(function(e){m.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GETanalyticReport",msg:e.data?JSON.stringify(e.data):e.toString()})})}catch(e){console.error(e),m.error({title:"Decode File Error",msg:e.toString()})}},a.readAsDataURL(e.file)}else m.error({title:"Format Error",msg:"Please use only json files"})},p.deleteReport=b,p.exportSelectedReports=function(){var e=angular.copy(p.selectedReports);return p.selectedReports=[],e},p.deleteSelectedReports=function(e){var n=i.confirm().title("Are you sure want to delete the selected reports?").htmlContent(""+p.selectedReports.length+" selected will be deleted.").ariaLabel("delete Reports").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){p.selectedReports.forEach(function(e){b(e)}),p.selectedReports=[]})},p.deselectReports=function(){p.selectedReports=[]},p.selectAllReports=function(){p.selectedReports=p.reports.rows},p.treeDefaultData=c.rows[0]?angular.fromJson(c.rows[0].tree):[],p.treeCustomData=c.rows[1]?angular.fromJson(c.rows[1].tree):[],p.treeDefaultConfig=S(!1),p.treeCustomConfig=S(!0),p.treeDefaultEvents=T(!1),p.treeCustomEvents=T(!0);var g=!0,v=1;function h(e){p.reports=e||{count:0,rows:[]}}function f(){if(p.query.offset=(p.query.page-1)*p.query.limit,p.apiName)if("admin"===p.currentUser.role||p.userProfileSection.autoAssociation)p.promise=d[p.apiName].get(p.query,h).$promise;else{var a=[];p.promise=d[p.apiName].get(p.query).$promise.then(function(e){return 0<(a=e&&e.rows?e.rows:[]).length?d.userProfileResource.get({sectionId:p.userProfileSection.id,type:"analyticDefaultReport"===p.apiName?"DefaultReports":"CustomReports"}).$promise.then(function(e){var n=e&&e.rows?e.rows:[];if(0"+(t.text?t.text:"Node")+" and its subnode will be deleted.").ariaLabel("delete node").ok("OK").cancel("CANCEL");i.show(e).then(function(){var e,n=p.treeCustomInstance.jstree(!0).get_parent(t);n=p.treeCustomInstance.jstree(!0).get_node(n),p.treeCustomInstance.jstree(!0).delete_node(t),e=[t.id].concat(t.children_d||[]),d.analyticCustomReport.get({parent:e.join(","),fields:"id,name"}).$promise.then(function(e){e&&e.rows&&e.rows.forEach(function(e){b(e)})}).catch(function(e){m.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:DELETEreportsByParents",msg:e.data?JSON.stringify(e.data):e.toString()})}),p.treeCustomInstance.jstree(!0).select_node(n)})}}}),e}}}}function T(e){return e?{create_node:y,rename_node:y,move_node:y,delete_node:y,select_node:A}:{select_node:E}}e.$watch("vm.query.filter",function(e,n){g?t(function(){g=!1}):(n||(v=p.query.page),e!==n&&(p.query.page=1),e||(p.query.page=v),p.getReports())}),e.$watch("vm.search",function(e,n){p.treeDefaultInstance&&p.treeDefaultInstance.jstree(!0).search(e),p.treeCustomInstance&&p.treeCustomInstance.jstree(!0).search(e)})}e.$inject=["$scope","$timeout","$document","$mdDialog","$state","$window","$translate","userProfile","userProfileSection","api","treeReports","toasty","Auth"],angular.module("app.analytics").controller("ReportsController",e)}(),function(){"use strict";function e(e,t,a,n,i,s,o,r){var l=this;function d(){l.export={id:l.report.id,name:l.report.name,startDate:new Date(moment().startOf("day")),endDate:new Date(moment().endOf("day")),output:"xlsx",fullPath:r?r+"/"+l.report.name:l.report.name}}function c(){t.hide()}l.errors=[],l.report=angular.copy(n),l.export={},l.runReport=function(n){l.errors=[],l.exportDate=_.assign({},l.export,{startDate:moment(l.export.startDate).format("YYYY-MM-DD HH:mm:ss"),endDate:moment(l.export.endDate).format("YYYY-MM-DD HH:mm:ss")}),i[s].run(l.exportDate).$promise.then(function(e){"web"===l.export.output?t.show({controller:"WebReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/run/web/dialog.html",parent:angular.element(o.body),targetEvent:n,skipHide:!0,locals:{apiName:s,exportDate:l.exportDate,results:e},resolve:{columns:["apiResolver",function(e){var n={fields:"field,alias",nolimit:!0};return n["analyticCustomReport"===s?"CustomReportId":"DefaultReportId"]=l.report.id,e.resolve("analyticFieldReport@get",n)}]}}):(a.success({title:"Report properly run!",msg:l.report.name?l.report.name+" has been run!":""}),c())}).catch(function(e){a.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:DESCRIBE",msg:e.data?JSON.stringify(e.data.message):e.toString()})})},l.closeDialog=c,(l.refreshDate=d)()}e.$inject=["$location","$mdDialog","toasty","report","api","apiName","$document","currentPath"],angular.module("app.analytics").controller("RunReportDialogController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o){var r=this;function l(e){r.results=e||{count:0,rows:[]}}r.errors=[],r.columns=a?a.rows:[],r.results=i||{rows:[],count:0},r.query={limit:10,page:1},r.closeDialog=function(){e.hide()},r.getResults=function(){o.offset=(r.query.page-1)*r.query.limit,o.limit=r.query.limit,r.promise=t[s].run(o,l).$promise},r.valueReplacer=function(e,n){moment(n,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(n=moment(n,"").format("YYYY-MM-DD HH:mm:ss"));return n}}e.$inject=["$mdDialog","toasty","api","columns","results","apiName","exportDate"],angular.module("app.analytics").controller("WebReportDialogController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c,m,u,p){var g=this;function v(e){a.hide(e)}g.currentUser=c.getCurrentUser(),g.errors=[],g.setting=u,g.license=m,g.crudPermissions=p,g.hasModulePermissions={},g.passwordPattern=g.setting&&g.setting.securePassword?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:"",g.title="CALLYSQUARE.EDIT_ODBC",g.odbc=angular.copy(l),g.odbcs=r,g.newOdbc=!1,g.odbc||(g.odbc={},g.title="CALLYSQUARE.NEW_ODBC",g.newOdbc=!0),g.addNewOdbc=function(){g.errors=[],d.squareOdbc.save(g.odbc).$promise.then(function(e){g.odbcs.unshift(e.toJSON()),o.success({title:"Odbc properly created",msg:g.odbc.name?g.odbc.name+" has been created!":""}),v(e)}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){g.errors=e.data.errors||[{message:e.toString(),type:"api.squareOdbc.save"}];for(var n=0;n"+(e.name||"odbc")+" will be deleted.").ariaLabel("delete odbc").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.success=E,f.getODBC=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.squareOdbc.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="ODBC",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditOdbc=function(e,n){i.show({controller:"CreateOrEditOdbcDialogController",controllerAs:"vm",templateUrl:"app/main/apps/callysquare/views/odbcs/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{odbc:n,odbcs:f.odbcs.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteOdbc=y,f.exportSelectedODBC=function(){var e=angular.copy(f.selectedODBC);return f.selectedODBC=[],e},f.deleteSelectedODBC=function(e){var n=i.confirm().title("Are you sure want to delete the selected odbcs?").htmlContent(""+f.selectedODBC.length+" selected will be deleted.").ariaLabel("delete Odbcs").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedODBC.forEach(function(e){y(e)}),f.selectedODBC=[]})},f.deselectODBC=function(){f.selectedODBC=[]},f.selectAllODBC=function(){f.selectedODBC=f.odbcs.rows};var b=!0,A=1;function E(e){f.odbcs=e||{count:0,rows:[]}}function y(e){m.squareOdbc.delete({id:e.id}).$promise.then(function(){_.remove(f.odbcs.rows,{id:e.id}),f.odbcs.count-=1,f.odbcs.rows.length||f.getODBC(),p.success({title:_.startCase("Odbc")+" deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){f.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEsquareOdbc"}];for(var n=0;n"+e.name+" will be deleted.").ariaLabel("delete project").targetEvent(n).ok("OK").cancel("CANCEL");l.show(t).then(function(){f(e)},function(){console.log("CANCEL")})},p.success=h,p.getProjects=function(){p.query.offset=(p.query.page-1)*p.query.limit,u.hasRole("admin")?p.promise=o.squareProject.get(p.query,h).$promise:(p.query.id=p.userProfile.id,p.query.section="SquareProjects",p.promise=o.userProfile.getResources(p.query,h).$promise)},p.createOrEditProject=function(e,n){l.show({controller:"CreateOrEditSquareProjectDialogController",controllerAs:"vm",templateUrl:"app/main/apps/callysquare/views/projects/create/dialog.html",parent:angular.element(d.body),targetEvent:e,clickOutsideToClose:!0,locals:{project:n,projects:p.projects.rows,openFromEditor:null,setting:null,crudPermissions:p.crudPermissions}})},p.deleteProject=f,p.exportSelectedProjects=function(){var e=angular.copy(p.selectedProjects);return p.selectedProjects=[],e},p.deleteSelectedProjects=function(e){var n=l.confirm().title("Are you sure want to delete the selected projects?").htmlContent(""+p.selectedProjects.length+" selected will be deleted.").ariaLabel("delete Projects").targetEvent(e).ok("OK").cancel("CANCEL");l.show(n).then(function(){p.selectedProjects.forEach(function(e){f(e)}),p.selectedProjects=[]})},p.deselectProjects=function(){p.selectedProjects=[]},p.selectAllProjects=function(){p.selectedProjects=p.projects.rows};var g=!0,v=1;function h(e){p.projects=e||{count:0,rows:[]}}function f(e){o.squareProject.delete({id:e.id}).$promise.then(function(){_.remove(p.projects.rows,{id:e.id}),p.projects.count-=1,p.projects.rows.length||p.getProjects(),m.success({title:"Project deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){p.errors=e.data.errors||[{message:e.toString(),type:"api.project.delete"}];for(var n=0;n"+(e.name||"squareRecording")+" will be deleted.").ariaLabel("delete squareRecording").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.success=E,f.getSquareRecordings=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.squareRecording.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="SquareRecordings",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditSquareRecording=function(e,n){i.show({controller:"CreateOrEditSquareRecordingDialogController",controllerAs:"vm",templateUrl:"app/main/apps/callysquare/views/squareRecordings/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{squareRecording:n,squareRecordings:f.squareRecordings.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteSquareRecording=y,f.exportSelectedSquareRecordings=function(){var e=angular.copy(f.selectedSquareRecordings);return f.selectedSquareRecordings=[],e},f.deleteSelectedSquareRecordings=function(e){var n=i.confirm().title("Are you sure want to delete the selected squareRecordings?").htmlContent(""+f.selectedSquareRecordings.length+" selected will be deleted.").ariaLabel("delete SquareRecordings").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedSquareRecordings.forEach(function(e){y(e)}),f.selectedSquareRecordings=[]})},f.deselectSquareRecordings=function(){f.selectedSquareRecordings=[]},f.selectAllSquareRecordings=function(){f.selectedSquareRecordings=f.squareRecordings.rows};var b=!0,A=1;function E(e){f.squareRecordings=e||{count:0,rows:[]}}function y(e){m.squareRecording.delete({id:e.id}).$promise.then(function(){_.remove(f.squareRecordings.rows,{id:e.id}),f.squareRecordings.count-=1,f.squareRecordings.rows.length||f.getSquareRecordings(),p.success({title:_.startCase("SquareRecording")+" deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){f.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEsquareRecording"}];for(var n=0;n"+(e.name||"chatQueue")+" will be deleted.").ariaLabel("delete chatQueue").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.gotorealtimegoto=function(e,n){{if(!g.hasRole("admin"))return m.userProfileSection.get({userProfileId:g.getCurrentUser().userProfileId,sectionId:510}).$promise.then(function(e){var n=e&&e.rows?e.rows[0]:null;n&&n.enabled?t.go("app.chat.realtime.queues",{}):p.info({title:r.instant("STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE"),msg:r.instant("STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE")})}).catch(function(e){p.error({title:e.status?"API:"+e.status+" - "+e.statusText:"USERPROFILE:GET_SECTION",msg:e.status?JSON.stringify(e.data):e.toString()})});t.go("app.chat.realtime.queues",{})}},f.success=E,f.getChatQueues=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.chatQueue.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="ChatQueues",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditChatQueue=function(e,n){i.show({controller:"CreateOrEditChatQueueDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatQueues/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatQueue:n,chatQueues:f.chatQueues.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteChatQueue=y,f.exportSelectedChatQueues=function(){var e=angular.copy(f.selectedChatQueues);return f.selectedChatQueues=[],e},f.deleteSelectedChatQueues=function(e){var n=i.confirm().title("Are you sure want to delete the selected chatQueues?").htmlContent(""+f.selectedChatQueues.length+" selected will be deleted.").ariaLabel("delete ChatQueues").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedChatQueues.forEach(function(e){y(e)}),f.selectedChatQueues=[]})},f.deselectChatQueues=function(){f.selectedChatQueues=[]},f.selectAllChatQueues=function(){f.selectedChatQueues=f.chatQueues.rows};var b=!0,A=1;function E(e){f.chatQueues=e||{count:0,rows:[]}}function y(e){m.chatQueue.delete({id:e.id}).$promise.then(function(){_.remove(f.chatQueues.rows,{id:e.id}),f.chatQueues.count-=1,f.chatQueues.rows.length||f.getChatQueues(),p.success({title:_.startCase("ChatQueue")+" deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){f.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEchatQueue"}];for(var n=0;n":"",n}),c.startingSelectedItems=angular.copy(c.selectedItems),c.dualMultiselectOptions.selectedItems=c.selectedItems,c.dualMultiselectOptions.items=_.differenceBy(c.allowedItems,c.dualMultiselectOptions.selectedItems,"id"),t()}).catch(function(e){n(e)})})}c.currentUser=l.getCurrentUser(),c.chatQueue=n,c.crudPermissions=d,c.realtime=o,c.items=[],c.allowedItems=[],c.selectedItems=[],c.startingAllowedItems=[],c.startingSelectedItems=[],c.pendingChanges=!1,c.onInit=function(){return l.hasRole("admin")?m().catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_AGENTS",msg:e.status?JSON.stringify(e.data):e.toString()})}):a(function(t,n){s.userProfileSection.get({userProfileId:c.currentUser.userProfileId,name:"Agents"}).$promise.then(function(e){var n=e&&e.rows?e.rows[0]:null;t(n)}).catch(function(e){n(e)})}).then(function(e){return c.section=e,m()}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_AGENTS",msg:e.status?JSON.stringify(e.data):e.toString()})})},c.saveAgents=function(){var e=_.differenceBy(c.startingSelectedItems,c.selectedItems,"id"),n=_.differenceBy(c.selectedItems,c.startingSelectedItems,"id");return(t=e,a(function(e,n){_.isEmpty(t)?e():s.chatQueue.removeAgents({id:c.chatQueue.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})})).then(function(){return t=n,a(function(e,n){_.isEmpty(t)?e():s.chatQueue.addAgents({id:c.chatQueue.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})});var t}).then(function(){c.pendingChanges=!1,c.startingAllowedItems=angular.copy(c.allowedItems),c.startingSelectedItems=angular.copy(c.selectedItems),i.success({title:"SUCCESS",msg:"Agents association has been updated!"})}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:LISTS_ASSOCIATION",msg:e.status?JSON.stringify(e.data):e.toString()})});var t},c.closeDialog=function(){e.hide()},c.dualMultiselectOptions={items:[],selectedItems:[],orderBy:"name",line1:"fullname",line2:["name","internal"],line3:"",labelAll:r.instant("CHAT.ALL_AGENTS"),labelSelected:r.instant("CHAT.SELECTED_AGENTS"),transferCallback:function(e,n){var t=_.xorBy(c.startingSelectedItems,c.selectedItems,"id");c.pendingChanges=!_.isEmpty(t)}}}e.$inject=["$mdDialog","$q","toasty","api","chatQueue","chatQueues","realtime","$translate","Auth","crudPermissions"],angular.module("app.chat").controller("ChatQueueagentaddController",e)}(),function(){"use strict";function e(e,a,i,s,n,t,o,r){var l=this;function d(){return a(function(t,n){return a(function(n,t){return s.team.get({fields:"id,name",nolimit:!0}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})}).then(function(e){return l.items=e.rows?e.rows:[],o.hasRole("admin")?e:l.section?l.section.autoAssociation?e:a(function(n,t){return s.userProfileResource.get({sectionId:l.section.id,nolimit:!0}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})}):null}).then(function(e){var n=e&&e.rows?e.rows:[];return l.allowedItems=_.map(n,function(e){return _.find(l.items,{id:o.hasRole("admin")||l.section.autoAssociation?e.id:e.resourceId})}),l.items.forEach(function(e){var n=_.find(l.allowedItems,{id:e.id});o.hasRole("admin")?e.isValid=!0:e.isValid=void 0!==n}),a(function(n,t){return s.chatQueue.getTeams({id:l.chatQueue.id,fields:"id,name",nolimit:!0}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})})}).then(function(e){var n=e&&e.rows?e.rows:[];l.selectedItems=_.map(n,function(e){var n=_.find(l.items,{id:e.id});return n.penalty=e.TeamVoiceQueue?"penalty "+e.TeamVoiceQueue.penalty:"",n}),l.startingSelectedItems=angular.copy(l.selectedItems),l.dualMultiselectOptions.selectedItems=l.selectedItems,l.dualMultiselectOptions.items=_.differenceBy(l.allowedItems,l.dualMultiselectOptions.selectedItems,"id"),t()}).catch(function(e){n(e)})})}l.currentUser=o.getCurrentUser(),l.chatQueue=n,l.crudPermissions=r,l.items=[],l.allowedItems=[],l.selectedItems=[],l.startingAllowedItems=[],l.startingSelectedItems=[],l.pendingChanges=!1,l.dualMultiselectOptions={allowedItems:[],selectedItems:[],orderBy:"name",line1:"name",line2:"",line3:"",labelAll:t.instant("CHAT.ALL_TEAMS"),labelSelected:t.instant("CHAT.SELECTED_TEAMS"),transferCallback:function(e,n){var t=_.xorBy(l.startingSelectedItems,l.selectedItems,"id");l.pendingChanges=!_.isEmpty(t)}},l.onInit=function(){return o.hasRole("admin")?d().catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_TEAMS",msg:e.status?JSON.stringify(e.data):e.toString()})}):a(function(t,n){s.userProfileSection.get({userProfileId:l.currentUser.userProfileId,name:"Teams"}).$promise.then(function(e){var n=e&&e.rows?e.rows[0]:null;t(n)}).catch(function(e){n(e)})}).then(function(e){return l.section=e,d()}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_TEAMS",msg:e.status?JSON.stringify(e.data):e.toString()})})},l.saveTeams=function(){var e=_.differenceBy(l.startingSelectedItems,l.selectedItems,"id"),n=_.differenceBy(l.selectedItems,l.startingSelectedItems,"id");return(t=e,a(function(e,n){_.isEmpty(t)?e():s.chatQueue.removeTeams({id:l.chatQueue.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})})).then(function(){return t=n,a(function(e,n){_.isEmpty(t)?e():s.chatQueue.addTeams({id:l.chatQueue.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})});var t}).then(function(){l.pendingChanges=!1,l.startingAllowedItems=angular.copy(l.allowedItems),l.startingSelectedItems=angular.copy(l.selectedItems),i.success({title:"SUCCESS",msg:"Teams association has been updated!"})}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:LISTS_ASSOCIATION",msg:e.status?JSON.stringify(e.data):e.toString()})});var t},l.closeDialog=function(){e.hide()}}e.$inject=["$mdDialog","$q","toasty","api","chatQueue","$translate","Auth","crudPermissions"],angular.module("app.chat").controller("ChatQueueteamaddController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c,m){var u=this;u.currentUser=d.getCurrentUser(),u.license=s,u.setting=o,u.passwordPattern=u.setting.securePassword?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:"",u.location=n.protocol()+"://"+n.host(),u.chatQueue=c||e.params.chatQueue||{},u.userProfileSection=m&&1==m.count?m.rows[0]:null,u.crudPermissions=d.parseCrudPermissions(u.userProfileSection?u.userProfileSection.crudPermissions:null),u.hasModulePermissions={},u.selectedTab=e.params.tab||0,u.teamadddialog=function(e,n){t.show({controller:"ChatQueueteamaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatQueues/edit/teamadd/teamadd.html",parent:angular.element(a.body),targetEvent:n,clickOutsideToClose:!0,locals:{chatQueue:e,chatQueues:u.chatQueues?u.chatQueues.rows:[],crudPermissions:u.crudPermissions}})},u.agentadddialog=function(e,n){t.show({controller:"ChatQueueagentaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatQueues/edit/agentadd/agentadd.html",parent:angular.element(a.body),targetEvent:n,clickOutsideToClose:!0,locals:{chatQueue:e,chatQueues:u.chatQueues?u.chatQueues.rows:[],crudPermissions:u.crudPermissions,realtime:!1}})},u.alert=l.info,u.gotoChatQueues=function(){e.go("app.chat.chatQueues",{},{reload:"app.chat.chatQueues"})},u.saveChatQueue=function(){r.chatQueue.update({id:u.chatQueue.id},u.chatQueue).$promise.then(function(){l.success({title:"ChatQueue updated!",msg:u.chatQueue.name?u.chatQueue.name+" has been updated!":""})}).catch(function(e){l.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GETchatQueue",msg:e.data?JSON.stringify(e.data):e.toString()})})}}e.$inject=["$state","$location","$mdDialog","$document","$translate","license","setting","api","toasty","Auth","chatQueue","userProfileSection"],angular.module("app.chat").controller("ChatQueueController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c,m,u,p,g,v,h){var f=this;f.license=v,f.setting=h,f.currentUser=g.getCurrentUser(),f.chatWebsites=l||{count:0,rows:[]},f.userProfile=d,f.userProfileSection=c&&1==c.count?c.rows[0]:null,f.crudPermissions=g.parseCrudPermissions(f.userProfileSection?f.userProfileSection.crudPermissions:null),f.table="chatWebsites",f.listOrder="",f.listOrderAsc=null,f.selectedChatWebsites=[],f.query={fields:"createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,feedbackTitle,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,enableSendButton,enableCustomerCheckmarks,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardOffline,MailAccountId,openNewInteraction,forwardOfflineAddress,subjectOffline,IntervalId,timezone,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout,vidaooEscalation,vidaooApiKey,vidaooTopic,vidaooNote,vidaooMetadata",sort:"-updatedAt",limit:10,page:1},f.arrayagentIdentifier=_.keyBy([{option:"WebsiteAlias",value:"'website_alias'"},{option:"AgentAlias",value:"'agent_alias'"},{option:"AgentFullname",value:"'agent_fullname'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),f.arrayheader_shape=_.keyBy([{option:"Rounded",value:"'rounded'"},{option:"Squared",value:"'squared'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),f.arrayalignment=_.keyBy([{option:"bottom_right",value:"'bottom_right'"},{option:"right",value:"'right'"},{option:"left",value:"'left'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),f.arraymessagesAlignment=_.keyBy([{option:"alternate",value:"'alternate'"},{option:"centered",value:"'centered'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),f.arrayratingType=_.keyBy([{option:"Star",value:"'star'"},{option:"Thumb",value:"'thumb'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),f.editstate=function(e,n){t.go("app.chat.chatWebsites.edit",{id:e.id,chatWebsite:e,crudPermissions:f.crudPermissions})},f.interactionsgoto=function(e,n){t.go("app.chat.chatWebsites.edit",{id:e.id,tab:10})},f.offlinemessagesgoto=function(e,n){t.go("app.chat.chatWebsites.edit",{id:e.id,tab:11})},f.agentadddialog=function(e,n){i.show({controller:"ChatWebsiteagentaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html",parent:angular.element(s.body),targetEvent:n,clickOutsideToClose:!0,locals:{chatWebsite:e,chatWebsites:f.chatWebsites?f.chatWebsites.rows:[],crudPermissions:f.crudPermissions,realtime:!1}})},f.deleteconfirm=function(e,n){var t=i.confirm().title("Are you sure want to delete the "+_.startCase("chatWebsite")+"?").htmlContent(""+(e.name||"chatWebsite")+" will be deleted.").ariaLabel("delete chatWebsite").targetEvent(n).ok("OK").cancel("CANCEL");i.show(t).then(function(){y(e)},function(){console.log("CANCEL")})},f.success=E,f.getChatWebsites=function(){f.query.offset=(f.query.page-1)*f.query.limit,g.hasRole("admin")?f.promise=m.chatWebsite.get(f.query,E).$promise:(f.query.id=f.userProfile.id,f.query.section="ChatWebsites",f.promise=m.userProfile.getResources(f.query,E).$promise)},f.createOrEditChatWebsite=function(e,n){i.show({controller:"CreateOrEditChatWebsiteDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/create/dialog.html",parent:angular.element(s.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:n,chatWebsites:f.chatWebsites.rows,license:f.license,setting:f.setting,crudPermissions:f.crudPermissions}})},f.deleteChatWebsite=y,f.exportSelectedChatWebsites=function(){var e=angular.copy(f.selectedChatWebsites);return f.selectedChatWebsites=[],e},f.deleteSelectedChatWebsites=function(e){var n=i.confirm().title("Are you sure want to delete the selected chatWebsites?").htmlContent(""+f.selectedChatWebsites.length+" selected will be deleted.").ariaLabel("delete ChatWebsites").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){f.selectedChatWebsites.forEach(function(e){y(e)}),f.selectedChatWebsites=[]})},f.deselectChatWebsites=function(){f.selectedChatWebsites=[]},f.selectAllChatWebsites=function(){f.selectedChatWebsites=f.chatWebsites.rows},g.hasRole("admin")?m.cmList.get({fields:"id,name",sort:"name"}).$promise.then(function(e){f.lists=e.rows||[]}).catch(function(e){p.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_LISTS",msg:e.data?JSON.stringify(e.data):e.toString()})}):m.cmList.get({fields:"id,name",sort:"name"}).$promise.then(function(e){f.lists=e.rows||[]}).then(function(){return m.userProfileSection.get({userProfileId:f.currentUser.userProfileId,sectionId:301}).$promise}).then(function(e){var n=e&&e.rows?e.rows[0]:null;if(n){if(!n.autoAssociation)return m.userProfileResource.get({sectionId:n.id}).$promise.then(function(e){var n=_.map(e.rows,function(e){return _.find(f.lists,{id:e.resourceId})}),t=null;if(f.chatWebsite&&(t=_.find(f.lists,{id:Number(f.chatWebsite.ListId)})),t&&!_.some(n,["id",t.id])){var a=_.find(f.lists,{id:t.id});a.canSelect=!1,n.push(a)}f.lists=n})}else{var t=[],a=null;f.chatWebsite&&(a=_.find(f.lists,{id:Number(f.chatWebsite.ListId)}));for(var i=0;i"+e.app+" will be deleted.").ariaLabel("delete application").targetEvent(t).ok("OK").cancel("CANCEL");i.show(a).then(function(){r.chatWebsiteApps.rows.splice(n,1),l()},function(){console.log("CANCEL")})},r.getChatWebsiteApps=function(){r.promise=o.chatWebsite.getApplications(r.query,t).$promise},r.editChatWebsiteApp=n,r.editInterval=function(e,n){if(r.chatWebsiteApps.rows.length){var t=r.chatWebsiteApps.rows[n]?r.chatWebsiteApps.rows[n]:r.chatWebsiteApps.rows[0];i.show({controller:"EditChatWebsiteAppintervalDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/apps/interval/dialog.html",parent:angular.element(a.body),targetEvent:e,clickOutsideToClose:!0,locals:{interval:{interval:t.interval,IntervalId:t.IntervalId,application:!0},intervals:[],crudPermissions:r.crudPermissions}}).then(function(e){e&&(t.interval=e.interval||"*,*,*,*",t.IntervalId=e.IntervalId||null,l())})}},r.deleteChatWebsiteApp=function(e){_.remove(r.chatWebsiteApps.rows,{id:e.id}),l(),s.success({title:"App deleted!",msg:e.app?e.app+" has been deleted!":""})},r.deleteSelectedChatWebsiteApps=function(e){var n=i.confirm().title("Are you sure want to delete the selected applications?").htmlContent(""+r.selectedChatWebsiteApps.length+" selected will be deleted.").ariaLabel("delete applications").targetEvent(e).ok("OK").cancel("CANCEL");i.show(n).then(function(){r.selectedChatWebsiteApps.forEach(function(e){_.remove(r.chatWebsiteApps.rows,{id:e.id})}),r.selectedChatWebsiteApps=[],l()})},r.rewriteRouting=l,r.getIntervals=function(){return o.interval.get({fields:"id,interval,IntervalId"}).$promise.then(function(e){r.intervals=e}).catch(function(e){console.error(e)})}}e.$inject=["api","$mdDialog","$document","toasty","Auth"],angular.module("app.chat").controller("ChatWebsiteActionsController",e)}(),function(){"use strict";function e(e,a,i,s,n,t,o,r,l,d){var c=this;function m(){return a(function(t,n){return a(function(n,t){return s.user.get({fields:"id,name,internal,fullname",nolimit:!0,role:"agent"}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})}).then(function(e){return c.items=e.rows?e.rows:[],l.hasRole("admin")?e:c.section?c.section.autoAssociation?e:a(function(n,t){return s.userProfileResource.get({sectionId:c.section.id,nolimit:!0}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})}):null}).then(function(e){var n=e&&e.rows?e.rows:[];return c.allowedItems=_.map(n,function(e){return _.find(c.items,{id:l.hasRole("admin")||c.section.autoAssociation?e.id:e.resourceId})}),c.startingAllowedItems=angular.copy(c.allowedItems),c.items.forEach(function(e){var n=_.find(c.allowedItems,{id:e.id});l.hasRole("admin")?e.isValid=!0:e.isValid=void 0!==n}),a(function(n,t){return s.chatWebsite.getAgents({id:c.chatWebsite.id,fields:"id,name,internal,fullname",nolimit:!0,role:"agent"}).$promise.then(function(e){n(e)}).catch(function(e){t(e)})})}).then(function(e){var n=e&&e.rows?e.rows:[];c.selectedItems=_.map(n,function(e){var n=_.find(c.items,{id:e.id});return n.penalty=e.UserChatWebsite?"penalty "+e.UserChatWebsite.penalty:"",n.internal=e.hasOwnProperty("internal")?"<"+e.internal+">":"",n}),c.startingSelectedItems=angular.copy(c.selectedItems),c.dualMultiselectOptions.selectedItems=c.selectedItems,c.dualMultiselectOptions.items=_.differenceBy(c.allowedItems,c.dualMultiselectOptions.selectedItems,"id"),t()}).catch(function(e){n(e)})})}c.currentUser=l.getCurrentUser(),c.chatWebsite=n,c.crudPermissions=d,c.realtime=o,c.items=[],c.allowedItems=[],c.selectedItems=[],c.startingAllowedItems=[],c.startingSelectedItems=[],c.pendingChanges=!1,c.onInit=function(){return l.hasRole("admin")?m().catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_AGENTS",msg:e.status?JSON.stringify(e.data):e.toString()})}):a(function(t,n){s.userProfileSection.get({userProfileId:c.currentUser.userProfileId,name:"Agents"}).$promise.then(function(e){var n=e&&e.rows?e.rows[0]:null;t(n)}).catch(function(e){n(e)})}).then(function(e){return c.section=e,m()}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GET_AGENTS",msg:e.status?JSON.stringify(e.data):e.toString()})})},c.saveAgents=function(){var e=_.differenceBy(c.startingSelectedItems,c.selectedItems,"id"),n=_.differenceBy(c.selectedItems,c.startingSelectedItems,"id");return(t=e,a(function(e,n){_.isEmpty(t)?e():s.chatWebsite.removeAgents({id:c.chatWebsite.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})})).then(function(){return t=n,a(function(e,n){_.isEmpty(t)?e():s.chatWebsite.addAgents({id:c.chatWebsite.id,ids:_.map(t,"id")}).$promise.then(function(){e()}).catch(function(e){n(e)})});var t}).then(function(){c.pendingChanges=!1,c.startingAllowedItems=angular.copy(c.allowedItems),c.startingSelectedItems=angular.copy(c.selectedItems),i.success({title:"SUCCESS",msg:"Agents association has been updated!"})}).catch(function(e){i.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:LISTS_ASSOCIATION",msg:e.status?JSON.stringify(e.data):e.toString()})});var t},c.closeDialog=function(){e.hide()},c.dualMultiselectOptions={items:[],selectedItems:[],orderBy:"name",line1:"fullname",line2:["name","internal"],line3:"",labelAll:r.instant("CHAT.ALL_AGENTS"),labelSelected:r.instant("CHAT.SELECTED_AGENTS"),transferCallback:function(e,n){var t=_.xorBy(c.startingSelectedItems,c.selectedItems,"id");c.pendingChanges=!_.isEmpty(t)}}}e.$inject=["$mdDialog","$q","toasty","api","chatWebsite","chatWebsites","realtime","$translate","Auth","crudPermissions"],angular.module("app.chat").controller("ChatWebsiteagentaddController",e)}(),function(){"use strict";function e(e,a){var i=this;i.chatWebsite={},i.crudPermissions,i.ngFlowOptions={singleFile:!0,maxChunkRetries:1,chunkSize:8388608,simultaneousUploads:1,testChunks:!1,progressCallbacksInterval:1e3,allowDuplicateUploads:!0},i.ngFlow={flow:{}},i.dropping=!1,i.fileAdded=function(e){var n=["png","jpg"];if(!_.includes(n,e.getExtension()))return a.error({title:"Invalid extension: "+e.getExtension(),msg:"Supported extension: "+n.join()}),!1;if(8388608"+(e.name||e.id&&_.upperFirst("chatCannedAnswer #")+e.id||"chatCannedAnswer")+" will be deleted.").ariaLabel("delete chatCannedAnswer").targetEvent(n).ok("OK").cancel("CANCEL");o.show(t).then(function(){g(e)},function(){console.log("CANCEL")})},m.success=u,m.getChatWebsiteChatCannedAnswers=p,m.createOrEditChatWebsiteChatCannedAnswer=function(e,n){o.show({controller:"CreateOrEditChatCannedAnswerDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/chatCannedAnswers/dialog.html",parent:angular.element(r.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:m.chatWebsite,chatCannedAnswer:n,chatCannedAnswers:m.chatWebsiteChatCannedAnswers.rows,license:null,setting:null,crudPermissions:m.crudPermissions}})},m.exportSelectedChatWebsiteChatCannedAnswers=function(){var e=angular.copy(m.selectedChatWebsiteChatCannedAnswers);return m.selectedChatWebsiteChatCannedAnswers=[],e},m.deleteChatWebsiteChatCannedAnswer=g,m.deleteSelectedChatWebsiteChatCannedAnswers=function(e){var n=o.confirm().title("Are you sure want to delete the selected chatCannedAnswers?").htmlContent(""+m.selectedChatWebsiteChatCannedAnswers.length+" selected will be deleted.").ariaLabel("delete chatCannedAnswers").targetEvent(e).ok("OK").cancel("CANCEL");o.show(n).then(function(){m.selectedChatWebsiteChatCannedAnswers.forEach(function(e){g(e)}),m.selectedChatWebsiteChatCannedAnswers=[]})}}e.$inject=["$cookies","$scope","$state","$q","$translate","$timeout","$mdDialog","$document","toasty","api","Auth"],angular.module("app.chat").controller("ChatWebsiteChatCannedAnswersController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c,m,u,p){var g=this;function v(e){a.hide(e)}g.currentUser=c.getCurrentUser(),g.errors=[],g.setting=u,g.license=m,g.crudPermissions=p,g.hasModulePermissions={},g.passwordPattern=g.setting&&g.setting.securePassword?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:"",g.title="CHAT.EDIT_CHATCANNEDANSWER",g.chatCannedAnswer=angular.copy(l),g.chatCannedAnswers=r,g.newChatCannedAnswer=!1,g.chatCannedAnswer||(g.chatCannedAnswer={},g.title="CHAT.NEW_CHATCANNEDANSWER",g.newChatCannedAnswer=!0),n.params.id&&(g.chatCannedAnswer.ChatWebsiteId=n.params.id),g.addNewChatCannedAnswer=function(){g.errors=[],d.cannedAnswer.save(g.chatCannedAnswer).$promise.then(function(e){g.chatCannedAnswers.unshift(e.toJSON()),o.success({title:"ChatCannedAnswer properly created",msg:g.chatCannedAnswer.name?g.chatCannedAnswer.name+" has been created!":""}),v(e)}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){g.errors=e.data.errors||[{message:e.toString(),type:"api.cannedAnswer.save"}];for(var n=0;n":i.instant("DASHBOARDS.NOT_ASSIGNED")}m.currentUser=c.getCurrentUser(),m.chatWebsite={},m.chatWebsiteInteractions={count:0,rows:[]},m.selectedChatWebsiteInteractions=[],m.crudPermissions,m.query={read:"null",closed:"null",sort:"-createdAt",includeAll:"true",limit:10,page:1},m.init=function(e,n,t){m.chatWebsite=e,m.crudPermissions=void 0!==n?n:{readOnly:!0,canEdit:!1,canDelete:!1},m.userProfile=t,m.query.ChatWebsiteId=m.chatWebsite.id,m.advancedSearch={fields:[{name:"Id",column:"id",type:"number"},{name:"Contact",column:"Contact",type:"autocomplete",options:{searchFields:["firstName","lastName","email"],route:{model:"cmContact",action:"get",params:{fields:"id,firstName,lastName,email",Contact:"@autocomplete",nolimit:!0}},extraOperators:["$substring"],excludedOperators:["$ne"]}},{name:"Body",column:"body",type:"text",options:{excludedOperators:["$eq","$ne"]}},{name:"Status",column:"closed",type:"select",values:[{id:0,translate:"DASHBOARDS.OPENED"},{id:1,translate:"DASHBOARDS.CLOSED"}],options:{excludedOperators:["$ne"]}},{name:"Customer Ip",column:"customerIp",type:"text",options:{excludedOperators:["$eq","$ne","$startsWith","$endsWith"]}},{name:"Agent",column:"User",type:"autocomplete",options:{table:"i",route:{model:"user",action:"get",params:{role:"agent",fields:"id,name,fullname",nolimit:!0}},searchFields:["fullname","name"],extraOperators:["$substring"],excludedOperators:["$ne"]}},{name:"Tags",column:"Tag",type:"multiselect",options:{route:{model:"tag",action:"get",params:{nolimit:!0}},excludedOperators:["$notIn"]}},{name:"Start Date",column:"createdAt",type:"date",options:{excludedOperators:["$ne"]}},{name:"Read",column:"unreadMessages",type:"select",values:[{id:1,translate:"DASHBOARDS.READ"},{id:0,translate:"DASHBOARDS.UNREAD"}],options:{excludedOperators:["$ne"]}}]},d.tag.get({sort:"name"}).$promise.then(function(e){m.tags=e||{count:0,rows:[]}}).then(function(){m.quickFilters=[{name:"Start Date",key:"createdAt",type:"date",label:"DASHBOARDS.SELECT_DATE"},{name:"Messages",key:"read",type:"select",label:"DASHBOARDS.SELECT_READ_UNREAD",customOptions:[{value:0,translate:"DASHBOARDS.UNREAD"},{value:1,translate:"DASHBOARDS.READ"},{value:null,translate:"DASHBOARDS.ALL"}]},{name:"Status",key:"closed",type:"select",label:"DASHBOARDS.SELECT_STATUS",customOptions:[{value:0,translate:"DASHBOARDS.OPENED"},{value:1,translate:"DASHBOARDS.CLOSED"},{value:null,translate:"DASHBOARDS.ALL"}]},{name:"Agent",key:"UserId",type:"select",label:"DASHBOARDS.SELECT_AGENT",customOptions:[{value:"null",translate:"DASHBOARDS.NOT_ASSIGNED"},{value:void 0,translate:"DASHBOARDS.ALL"}]},{name:"Tag",key:"tag",type:"multiselect",label:"DASHBOARDS.SELECT_TAG",options:m.tags.rows,placeholder:"DASHBOARDS.TAGS"}]})},m.deleteConfirm=function(e,n){var t=o.confirm().title("Are you sure want to delete the interaction?").htmlContent(""+(e.name||e.id&&_.upperFirst("interaction #")+e.id||"interaction")+" will be deleted.").ariaLabel("delete interaction").targetEvent(n).ok("OK").cancel("CANCEL");o.show(t).then(function(){g(e)},function(){console.log("CANCEL")})},m.chatInteractionDownload=function(s,e,n){return d.chatInteraction.download({id:s.id,exists:!0,attachments:n}).$promise.then(function(e){var n=[e.buffer],t="interaction"+s.id,a=new Blob(n,{type:e.type});t="chat-interaction"+s.id+".zip";var i=window.document.createElement("a");i.setAttribute("href",URL.createObjectURL(a)),i.setAttribute("download",t),document.body.appendChild(i),i.click()}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length)for(var n=0;n"+m.selectedChatWebsiteInteractions.length+" selected will be deleted.").ariaLabel("delete interactions").targetEvent(e).ok("OK").cancel("CANCEL");o.show(n).then(function(){m.selectedChatWebsiteInteractions.forEach(function(e){g(e)}),m.selectedChatWebsiteInteractions=[]})}}e.$inject=["$cookies","$scope","$state","$q","$translate","$timeout","$mdDialog","$document","toasty","api","Auth"],angular.module("app.chat").controller("ChatWebsiteInteractionsController",e)}(),function(){"use strict";function e(e,a){var i=this;i.chatWebsite={},i.crudPermissions,i.ngFlowOptions={singleFile:!0,maxChunkRetries:1,chunkSize:8388608,simultaneousUploads:1,testChunks:!1,progressCallbacksInterval:1e3,allowDuplicateUploads:!0},i.ngFlow={flow:{}},i.dropping=!1,i.fileAdded=function(e){var n=["png","jpg"];if(!_.includes(n,e.getExtension()))return a.error({title:"Invalid extension: "+e.getExtension(),msg:"Supported extension: "+n.join()}),!1;if(8388608"+(e.name||e.id&&_.upperFirst("offlineMessage #")+e.id||"offlineMessage")+" will be deleted.").ariaLabel("delete offlineMessage").targetEvent(n).ok("OK").cancel("CANCEL");o.show(t).then(function(){g(e)},function(){console.log("CANCEL")})},m.success=u,m.getChatWebsiteOfflineMessages=p,m.createOrEditChatWebsiteOfflineMessage=function(e,n){o.show({controller:"CreateOrEditOfflineMessageDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html",parent:angular.element(r.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:m.chatWebsite,offlineMessage:n,offlineMessages:m.chatWebsiteOfflineMessages.rows,license:null,setting:null,crudPermissions:m.crudPermissions}})},m.showOfflineMessageChatWebsiteOfflineMessage=function(e,t){o.show({controller:"ShowOfflineMessageOfflineMessageDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html",parent:angular.element(r.body),targetEvent:e,clickOutsideToClose:!0,resolve:{message:["apiResolver","$stateParams",function(e,n){return e.resolve("chatOfflineMessage@get",{fields:"id,body",id:t.id})}],attachments:["apiResolver","$stateParams",function(e,n){return e.resolve("attachment@get",{fields:"id,name",ChatOfflineMessageId:t.id})}]}})},m.exportSelectedChatWebsiteOfflineMessages=function(){var e=angular.copy(m.selectedChatWebsiteOfflineMessages);return m.selectedChatWebsiteOfflineMessages=[],e},m.deleteChatWebsiteOfflineMessage=g,m.deleteSelectedChatWebsiteOfflineMessages=function(e){var n=o.confirm().title("Are you sure want to delete the selected offlineMessages?").htmlContent(""+m.selectedChatWebsiteOfflineMessages.length+" selected will be deleted.").ariaLabel("delete offlineMessages").targetEvent(e).ok("OK").cancel("CANCEL");o.show(n).then(function(){m.selectedChatWebsiteOfflineMessages.forEach(function(e){g(e)}),m.selectedChatWebsiteOfflineMessages=[]})}}e.$inject=["$cookies","$scope","$state","$q","$translate","$timeout","$mdDialog","$document","toasty","api","Auth"],angular.module("app.chat").controller("ChatWebsiteOfflineMessagesController",e)}(),function(){"use strict";function e(n,e,t,a,i){var s=this;s.title="CHAT.OFFLINE_MESSAGE",s.message=a,s.attachments=i.rows,s.closeDialog=function(e){n.hide(e)},s.download=function(i){return e.attachment.download({id:i.id}).$promise.then(function(e){if(e){var n=new Blob([e.buffer],{type:e.type}),t=document.createElement("a"),a=window.URL.createObjectURL(n);t.href=a,t.target="_self",t.download=i.name,document.body.appendChild(t),t.click(),setTimeout(function(){document.body.removeChild(t),window.URL.revokeObjectURL(a)},100)}}).catch(function(e){t.error({title:e.status?"API:"+e.status+" - "+e.statusText:"ATTACHMENTS:GET",msg:e.data?JSON.stringify(e.data):e.toString()})})},s.isHtml=_.isNil(s.message.body.match(/\s?|(]*>|]*>|]+>)+/i))}e.$inject=["$mdDialog","api","toasty","message","attachments"],angular.module("app.chat").controller("ShowOfflineMessageOfflineMessageDialogController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c){var m=this;function u(e){m.chatWebsiteProactiveActions=e||{count:0,rows:[]}}function p(){m.query.offset=(m.query.page-1)*m.query.limit,m.promise=d.chatWebsite.getProactiveActions(m.query,u).$promise}function g(e){d.chatProactiveAction.delete({id:e.id}).$promise.then(function(){_.remove(m.chatWebsiteProactiveActions.rows,{id:e.id}),m.chatWebsiteProactiveActions.count-=1,m.chatWebsiteProactiveActions.rows.length||p(),l.success({title:"ChatProactiveAction deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){m.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var n=0;n"+(e.name||e.id&&_.upperFirst("chatProactiveAction #")+e.id||"chatProactiveAction")+" will be deleted.").ariaLabel("delete chatProactiveAction").targetEvent(n).ok("OK").cancel("CANCEL");o.show(t).then(function(){g(e)},function(){console.log("CANCEL")})},m.success=u,m.getChatWebsiteProactiveActions=p,m.createOrEditChatWebsiteChatProactiveAction=function(e,n){o.show({controller:"CreateOrEditChatProactiveActionDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/proactive/dialog.html",parent:angular.element(r.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:m.chatWebsite,chatProactiveAction:n,proactive:m.chatWebsiteProactiveActions.rows,license:null,setting:null,crudPermissions:m.crudPermissions}})},m.exportSelectedChatWebsiteProactiveActions=function(){var e=angular.copy(m.selectedChatWebsiteProactiveActions);return m.selectedChatWebsiteProactiveActions=[],e},m.deleteChatWebsiteChatProactiveAction=g,m.deleteSelectedChatWebsiteProactiveActions=function(e){var n=o.confirm().title("Are you sure want to delete the selected proactive?").htmlContent(""+m.selectedChatWebsiteProactiveActions.length+" selected will be deleted.").ariaLabel("delete proactive").targetEvent(e).ok("OK").cancel("CANCEL");o.show(n).then(function(){m.selectedChatWebsiteProactiveActions.forEach(function(e){g(e)}),m.selectedChatWebsiteProactiveActions=[]})}}e.$inject=["$cookies","$scope","$state","$q","$translate","$timeout","$mdDialog","$document","toasty","api","Auth"],angular.module("app.chat").controller("ChatWebsiteProactiveActionsController",e)}(),function(){"use strict";function e(e,n,t,a,i,s,o,r,l,d,c,m,u,p){var g=this;function v(e){a.hide(e)}g.currentUser=c.getCurrentUser(),g.errors=[],g.setting=u,g.license=m,g.crudPermissions=p,g.hasModulePermissions={},g.passwordPattern=g.setting&&g.setting.securePassword?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:"",g.title="CHAT.EDIT_CHATPROACTIVEACTION",g.chatProactiveAction=angular.copy(l),g.proactive=r,g.newChatProactiveAction=!1,g.chatProactiveAction||(g.chatProactiveAction={type:"mouseOver"},g.title="CHAT.NEW_CHATPROACTIVEACTION",g.newChatProactiveAction=!0),n.params.id&&(g.chatProactiveAction.ChatWebsiteId=n.params.id),g.addNewChatProactiveAction=function(){g.errors=[],d.chatProactiveAction.save(g.chatProactiveAction).$promise.then(function(e){g.proactive.unshift(e.toJSON()),o.success({title:"ChatProactiveAction properly created",msg:g.chatProactiveAction.name?g.chatProactiveAction.name+" has been created!":""}),v(e)}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){g.errors=e.data.errors||[{message:e.toString(),type:"api.chatProactiveAction.save"}];for(var n=0;n<\/script>',n.end="\n\x3c!-- START Motion Chat Script --\x3e"},n.info={},e.$watch("vm_ac.chatWebsite.remote",function(e){n.script='\n