From: Andrea Bianco Date: Fri, 9 Aug 2019 16:04:09 +0000 (+0200) Subject: Built motion from commit (unavailable).|2.2.3 X-Git-Tag: 2.2.3 X-Git-Url: http://repos.xcallymotion.com/?a=commitdiff_plain;h=232e73abb878c31e7f1ded9fe0b7d324c9c5efe1;p=motion2.git Built motion from commit (unavailable).|2.2.3 --- diff --git a/apidoc/api_project.js b/apidoc/api_project.js index 5254ad3..eb00a7f 100644 --- a/apidoc/api_project.js +++ b/apidoc/api_project.js @@ -1 +1 @@ -define({ "name": "xCALLY Motion API", "version": "2.2.2", "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": { "title": "Introduction", "content": "

The API

\n

This is the documentation for the xCALLY MOTION API.

\n

We make changes to the APIs from time to time. For more information, see Changelog.

\n

The xCALLY MOTION API consists of several different APIs. Use the left sidebar menu to select one.

\n

The API is a JSON API. XML is not supported. To learn more, see [Working with JSON].

\n

Endpoints are documented with the HTTP method for the request and a partial resource identifier.\nExample:

\n
GET /api/users\n
\n

Prepend your xCALLY URL to the resource identifier to get the full endpoint URL:

\n
https://motion.xcally.com/api/users\n
\n

Curly braces, {}, indicate values you have to supply. Example:

\n
GET  /api/users/{id}\n
\n

The examples in the docs are cURL statements. You can run the statements on a command line to try out different API requests. To learn more, see [Installing and using cURL]. In Windows, you'll need to modify some of the examples in the docs to make them work. See [Using cURL in Windows].

\n

The examples use basic authentication requiring a xCALLY username and password.

\n

Security and Authentication

\n

This is an SSL-only API, regardless of how your account is configured. You can authorize against the API using either basic authentication with your username and password or with an OAuth access token.

\n

Client-side CORS requests are supported if the request is authenticated with an OAuth access token. The requests are not supported if the request uses basic authentication or a xCALLY API token.

\n

Basic authentication

\n

Use the following authentication format with your username and password:\n{username}:{password}

\n

Example:

\n
curl -u admin:password https://motion.xcally.com/api/users\n
\n

OAuth access token

\n

The xCALLY API supports OAuth authorization flows.

\n

OAuth access tokens also permit client-side API requests.

\n

In your requests, specify the access token in an Authorization header as follows:\nAuthorization: Bearer {token}

\n

Example:

\n
curl -H "Authorization: Bearer gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo" https://motion.xcally.com/api/users\n
\n

Request Format

\n

The xCALLY API is a JSON API. You must supply a Content-Type: application/json header in PUT and POST requests. You must set an Accept: application/json header on all requests. You may get a text/plain response in case of an error like a bad request. You should treat this as an error you need to fix.

\n

Response Format

\n

The xCALLY API responds to successful requests with HTTP status codes in the 200 or 300 range. When you create or update a resource, the API renders the resulting JSON representation in the response body.

\n

Responses may have the status codes described in the following sections.

\n

200 range

\n

The request was successful. The status is 200 for successful GET and PUT requests, 201 for most POST requests, and 204 for DELETE requests.

\n

400 range

\n

The request was not successful. The content type of the response may be text/plain for API-level error messages, such as when trying to call the API without SSL. The content type is application/json for business-level error messages because the response includes a JSON object with information about the error.

\n

If you see a response from a known endpoint that looks like plain text, you probably made a syntax error in your request. This type of response commonly occurs when making a request to a nonexistent xCALLY Support instance.

\n

500 range

\n

When building an API client, we recommend treating any 500 status codes as a warning or temporary state. However, if the status persists and we don't have a publicly announced maintenance or service disruption, contact us at support@xcally.com.

\n

If submitting a ticket to Support, provide the complete HTTP response. This helps the Support team track down the request in the logs more quickly.

\n

Data Types

\n

The API returns and accepts JSON values, which can be strings in double quotes, numbers, objects, arrays, true or false, or null. Most programming languages have tools to parse this data.

\n

ID integers

\n

Most xCALLY Support resources such as queues and users are identified by the integer specified by the id attribute of API responses.

\n

The default numeric type in JavaScript, Ruby, Python, and PHP is sufficient to represent xCALLY Support ID integers.

\n

Time stamps

\n

Time stamps use UTC time and are formatted as ISO 8601 strings. Example: 2017-04-16T09:14:57Z

\n" }, "template": { "withGenerator": false, "withCompare": false, "forceLanguage": "en" }, "sampleUrl": false, "defaultVersion": "0.0.0", "apidoc": "0.3.0", "generator": { "name": "apidoc", "time": "2019-08-07T16:31:08.020Z", "url": "http://apidocjs.com", "version": "0.17.7" } }); +define({ "name": "xCALLY Motion API", "version": "2.2.3", "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": { "title": "Introduction", "content": "

The API

\n

This is the documentation for the xCALLY MOTION API.

\n

We make changes to the APIs from time to time. For more information, see Changelog.

\n

The xCALLY MOTION API consists of several different APIs. Use the left sidebar menu to select one.

\n

The API is a JSON API. XML is not supported. To learn more, see [Working with JSON].

\n

Endpoints are documented with the HTTP method for the request and a partial resource identifier.\nExample:

\n
GET /api/users\n
\n

Prepend your xCALLY URL to the resource identifier to get the full endpoint URL:

\n
https://motion.xcally.com/api/users\n
\n

Curly braces, {}, indicate values you have to supply. Example:

\n
GET  /api/users/{id}\n
\n

The examples in the docs are cURL statements. You can run the statements on a command line to try out different API requests. To learn more, see [Installing and using cURL]. In Windows, you'll need to modify some of the examples in the docs to make them work. See [Using cURL in Windows].

\n

The examples use basic authentication requiring a xCALLY username and password.

\n

Security and Authentication

\n

This is an SSL-only API, regardless of how your account is configured. You can authorize against the API using either basic authentication with your username and password or with an OAuth access token.

\n

Client-side CORS requests are supported if the request is authenticated with an OAuth access token. The requests are not supported if the request uses basic authentication or a xCALLY API token.

\n

Basic authentication

\n

Use the following authentication format with your username and password:\n{username}:{password}

\n

Example:

\n
curl -u admin:password https://motion.xcally.com/api/users\n
\n

OAuth access token

\n

The xCALLY API supports OAuth authorization flows.

\n

OAuth access tokens also permit client-side API requests.

\n

In your requests, specify the access token in an Authorization header as follows:\nAuthorization: Bearer {token}

\n

Example:

\n
curl -H "Authorization: Bearer gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo" https://motion.xcally.com/api/users\n
\n

Request Format

\n

The xCALLY API is a JSON API. You must supply a Content-Type: application/json header in PUT and POST requests. You must set an Accept: application/json header on all requests. You may get a text/plain response in case of an error like a bad request. You should treat this as an error you need to fix.

\n

Response Format

\n

The xCALLY API responds to successful requests with HTTP status codes in the 200 or 300 range. When you create or update a resource, the API renders the resulting JSON representation in the response body.

\n

Responses may have the status codes described in the following sections.

\n

200 range

\n

The request was successful. The status is 200 for successful GET and PUT requests, 201 for most POST requests, and 204 for DELETE requests.

\n

400 range

\n

The request was not successful. The content type of the response may be text/plain for API-level error messages, such as when trying to call the API without SSL. The content type is application/json for business-level error messages because the response includes a JSON object with information about the error.

\n

If you see a response from a known endpoint that looks like plain text, you probably made a syntax error in your request. This type of response commonly occurs when making a request to a nonexistent xCALLY Support instance.

\n

500 range

\n

When building an API client, we recommend treating any 500 status codes as a warning or temporary state. However, if the status persists and we don't have a publicly announced maintenance or service disruption, contact us at support@xcally.com.

\n

If submitting a ticket to Support, provide the complete HTTP response. This helps the Support team track down the request in the logs more quickly.

\n

Data Types

\n

The API returns and accepts JSON values, which can be strings in double quotes, numbers, objects, arrays, true or false, or null. Most programming languages have tools to parse this data.

\n

ID integers

\n

Most xCALLY Support resources such as queues and users are identified by the integer specified by the id attribute of API responses.

\n

The default numeric type in JavaScript, Ruby, Python, and PHP is sufficient to represent xCALLY Support ID integers.

\n

Time stamps

\n

Time stamps use UTC time and are formatted as ISO 8601 strings. Example: 2017-04-16T09:14:57Z

\n" }, "template": { "withGenerator": false, "withCompare": false, "forceLanguage": "en" }, "sampleUrl": false, "defaultVersion": "0.0.0", "apidoc": "0.3.0", "generator": { "name": "apidoc", "time": "2019-08-09T15:58:58.045Z", "url": "http://apidocjs.com", "version": "0.17.7" } }); diff --git a/apidoc/api_project.json b/apidoc/api_project.json index d9af0d6..4f0a2f0 100644 --- a/apidoc/api_project.json +++ b/apidoc/api_project.json @@ -1 +1 @@ -{ "name": "xCALLY Motion API", "version": "2.2.2", "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": { "title": "Introduction", "content": "

The API

\n

This is the documentation for the xCALLY MOTION API.

\n

We make changes to the APIs from time to time. For more information, see Changelog.

\n

The xCALLY MOTION API consists of several different APIs. Use the left sidebar menu to select one.

\n

The API is a JSON API. XML is not supported. To learn more, see [Working with JSON].

\n

Endpoints are documented with the HTTP method for the request and a partial resource identifier.\nExample:

\n
GET /api/users\n
\n

Prepend your xCALLY URL to the resource identifier to get the full endpoint URL:

\n
https://motion.xcally.com/api/users\n
\n

Curly braces, {}, indicate values you have to supply. Example:

\n
GET  /api/users/{id}\n
\n

The examples in the docs are cURL statements. You can run the statements on a command line to try out different API requests. To learn more, see [Installing and using cURL]. In Windows, you'll need to modify some of the examples in the docs to make them work. See [Using cURL in Windows].

\n

The examples use basic authentication requiring a xCALLY username and password.

\n

Security and Authentication

\n

This is an SSL-only API, regardless of how your account is configured. You can authorize against the API using either basic authentication with your username and password or with an OAuth access token.

\n

Client-side CORS requests are supported if the request is authenticated with an OAuth access token. The requests are not supported if the request uses basic authentication or a xCALLY API token.

\n

Basic authentication

\n

Use the following authentication format with your username and password:\n{username}:{password}

\n

Example:

\n
curl -u admin:password https://motion.xcally.com/api/users\n
\n

OAuth access token

\n

The xCALLY API supports OAuth authorization flows.

\n

OAuth access tokens also permit client-side API requests.

\n

In your requests, specify the access token in an Authorization header as follows:\nAuthorization: Bearer {token}

\n

Example:

\n
curl -H "Authorization: Bearer gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo" https://motion.xcally.com/api/users\n
\n

Request Format

\n

The xCALLY API is a JSON API. You must supply a Content-Type: application/json header in PUT and POST requests. You must set an Accept: application/json header on all requests. You may get a text/plain response in case of an error like a bad request. You should treat this as an error you need to fix.

\n

Response Format

\n

The xCALLY API responds to successful requests with HTTP status codes in the 200 or 300 range. When you create or update a resource, the API renders the resulting JSON representation in the response body.

\n

Responses may have the status codes described in the following sections.

\n

200 range

\n

The request was successful. The status is 200 for successful GET and PUT requests, 201 for most POST requests, and 204 for DELETE requests.

\n

400 range

\n

The request was not successful. The content type of the response may be text/plain for API-level error messages, such as when trying to call the API without SSL. The content type is application/json for business-level error messages because the response includes a JSON object with information about the error.

\n

If you see a response from a known endpoint that looks like plain text, you probably made a syntax error in your request. This type of response commonly occurs when making a request to a nonexistent xCALLY Support instance.

\n

500 range

\n

When building an API client, we recommend treating any 500 status codes as a warning or temporary state. However, if the status persists and we don't have a publicly announced maintenance or service disruption, contact us at support@xcally.com.

\n

If submitting a ticket to Support, provide the complete HTTP response. This helps the Support team track down the request in the logs more quickly.

\n

Data Types

\n

The API returns and accepts JSON values, which can be strings in double quotes, numbers, objects, arrays, true or false, or null. Most programming languages have tools to parse this data.

\n

ID integers

\n

Most xCALLY Support resources such as queues and users are identified by the integer specified by the id attribute of API responses.

\n

The default numeric type in JavaScript, Ruby, Python, and PHP is sufficient to represent xCALLY Support ID integers.

\n

Time stamps

\n

Time stamps use UTC time and are formatted as ISO 8601 strings. Example: 2017-04-16T09:14:57Z

\n" }, "template": { "withGenerator": false, "withCompare": false, "forceLanguage": "en" }, "sampleUrl": false, "defaultVersion": "0.0.0", "apidoc": "0.3.0", "generator": { "name": "apidoc", "time": "2019-08-07T16:31:08.020Z", "url": "http://apidocjs.com", "version": "0.17.7" } } +{ "name": "xCALLY Motion API", "version": "2.2.3", "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": { "title": "Introduction", "content": "

The API

\n

This is the documentation for the xCALLY MOTION API.

\n

We make changes to the APIs from time to time. For more information, see Changelog.

\n

The xCALLY MOTION API consists of several different APIs. Use the left sidebar menu to select one.

\n

The API is a JSON API. XML is not supported. To learn more, see [Working with JSON].

\n

Endpoints are documented with the HTTP method for the request and a partial resource identifier.\nExample:

\n
GET /api/users\n
\n

Prepend your xCALLY URL to the resource identifier to get the full endpoint URL:

\n
https://motion.xcally.com/api/users\n
\n

Curly braces, {}, indicate values you have to supply. Example:

\n
GET  /api/users/{id}\n
\n

The examples in the docs are cURL statements. You can run the statements on a command line to try out different API requests. To learn more, see [Installing and using cURL]. In Windows, you'll need to modify some of the examples in the docs to make them work. See [Using cURL in Windows].

\n

The examples use basic authentication requiring a xCALLY username and password.

\n

Security and Authentication

\n

This is an SSL-only API, regardless of how your account is configured. You can authorize against the API using either basic authentication with your username and password or with an OAuth access token.

\n

Client-side CORS requests are supported if the request is authenticated with an OAuth access token. The requests are not supported if the request uses basic authentication or a xCALLY API token.

\n

Basic authentication

\n

Use the following authentication format with your username and password:\n{username}:{password}

\n

Example:

\n
curl -u admin:password https://motion.xcally.com/api/users\n
\n

OAuth access token

\n

The xCALLY API supports OAuth authorization flows.

\n

OAuth access tokens also permit client-side API requests.

\n

In your requests, specify the access token in an Authorization header as follows:\nAuthorization: Bearer {token}

\n

Example:

\n
curl -H "Authorization: Bearer gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo" https://motion.xcally.com/api/users\n
\n

Request Format

\n

The xCALLY API is a JSON API. You must supply a Content-Type: application/json header in PUT and POST requests. You must set an Accept: application/json header on all requests. You may get a text/plain response in case of an error like a bad request. You should treat this as an error you need to fix.

\n

Response Format

\n

The xCALLY API responds to successful requests with HTTP status codes in the 200 or 300 range. When you create or update a resource, the API renders the resulting JSON representation in the response body.

\n

Responses may have the status codes described in the following sections.

\n

200 range

\n

The request was successful. The status is 200 for successful GET and PUT requests, 201 for most POST requests, and 204 for DELETE requests.

\n

400 range

\n

The request was not successful. The content type of the response may be text/plain for API-level error messages, such as when trying to call the API without SSL. The content type is application/json for business-level error messages because the response includes a JSON object with information about the error.

\n

If you see a response from a known endpoint that looks like plain text, you probably made a syntax error in your request. This type of response commonly occurs when making a request to a nonexistent xCALLY Support instance.

\n

500 range

\n

When building an API client, we recommend treating any 500 status codes as a warning or temporary state. However, if the status persists and we don't have a publicly announced maintenance or service disruption, contact us at support@xcally.com.

\n

If submitting a ticket to Support, provide the complete HTTP response. This helps the Support team track down the request in the logs more quickly.

\n

Data Types

\n

The API returns and accepts JSON values, which can be strings in double quotes, numbers, objects, arrays, true or false, or null. Most programming languages have tools to parse this data.

\n

ID integers

\n

Most xCALLY Support resources such as queues and users are identified by the integer specified by the id attribute of API responses.

\n

The default numeric type in JavaScript, Ruby, Python, and PHP is sufficient to represent xCALLY Support ID integers.

\n

Time stamps

\n

Time stamps use UTC time and are formatted as ISO 8601 strings. Example: 2017-04-16T09:14:57Z

\n" }, "template": { "withGenerator": false, "withCompare": false, "forceLanguage": "en" }, "sampleUrl": false, "defaultVersion": "0.0.0", "apidoc": "0.3.0", "generator": { "name": "apidoc", "time": "2019-08-09T15:58:58.045Z", "url": "http://apidocjs.com", "version": "0.17.7" } } diff --git a/package.json b/package.json index 6ef44a7..ae8772f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "motion", - "version": "2.2.2", + "version": "2.2.3", "description": "xCALLY Motion is the new Realtime asynchronous solution for your multichannel contact center over Asterisk.", "main": "server/app.js", "engines": { @@ -17,7 +17,10 @@ "Innocenzo Biondo ", "Massimiliano Bungaro ", "Andrea Bianco ", - "Fabio Lodato " + "Fabio Lodato ", + "Andrea Cuccaro ", + "Donatella Soldi ", + "Afnan Imtiaz " ], "private": true, "license": "EULA", diff --git a/public/app/login/i18n/lv.json b/public/app/login/i18n/lv.json index 7b79692..5f573fa 100644 --- a/public/app/login/i18n/lv.json +++ b/public/app/login/i18n/lv.json @@ -6,7 +6,7 @@ "PASSWORD_REQUIRED": "Obligāts lauks", "USERNAME_REQUIRED": "Obligāts lauks" }, - "TITLE": "Piesakieties savā kontā", + "TITLE": "Pieteikšanās sistēmā", "EMAIL": "E-pasts", "USERNAME": "Lietotājvārds", "PASSWORD": "Parole", @@ -14,8 +14,8 @@ "FORGOT_PASSWORD": "Aizmirsāt paroli?", "LOG_IN": "PIESLĒGTIES", "OR": "VAI", - "WITH_GOOGLE": "Piesakieties ar \"Google\" kontu", - "WITH_FACEBOOK": "Piesakieties ar \"Facebook\" kontu", + "WITH_GOOGLE": "Pieteikšanās ar Google", + "WITH_FACEBOOK": "Pieteikšanās ar Facebook", "DONT_HAVE_ACCOUNT": "Nav konta?", "CREATE_ACCOUNT": "Izveidot kontu", "CANCEL": "Atcelt", diff --git a/public/app/main/apps/analytics/i18n/lv.json b/public/app/main/apps/analytics/i18n/lv.json index 4020558..446d78b 100644 --- a/public/app/main/apps/analytics/i18n/lv.json +++ b/public/app/main/apps/analytics/i18n/lv.json @@ -40,7 +40,7 @@ "COPY_REPORT": "Kopēt pārskatu", "PREVIEW_REPORT": "Priekšskatījuma pārskats", "RUN_REPORT": "Palaist pārskatu", - "DOWNLOAD_JSON_REPORT": "Eksportēt JSON pārskatu", + "DOWNLOAD_JSON_REPORT": "Eksportēt JSON pārskatu", "EDIT_REPORT": "Rediģēt pārskatu", "DELETE_REPORT": "Dzēst pārskatu", "CREATE": "Izveidot mapi", @@ -58,11 +58,11 @@ "CONDITION": "Nosacījums", "OPERATOR": "Operators", "GROUP": "Grupa", - "COLUMN": "Sleja", + "COLUMN": "Kolonna", "VALUE": "Vērtība", "PREVIEW": "Priekšskatījums", "LIMITED_RESULT": "*Ierobežoti rezultāti", - "NO_DATA": "Nav datu rezultātu", + "NO_DATA": "Nav datu", "CONDITIONS": "Nosacījumi", "ALIAS": "Segvārds", "FUNCTION": "Funkcija", @@ -79,7 +79,7 @@ "EDIT_EXTRACTEDREPORT": "Rediģēt iegūto pārskatu", "DOWNLOAD_EXTRACTEDREPORT": "Lejupielādēt iegūto pārskatu", "PAGE": "Lappuse", - "ROWSPERPAGE": "Rindas lappusē", + "ROWSPERPAGE": "Ieraksti lappusē", "OF": "no", "DELETE": "Dzēst", "REPORTNAME": "Pārskata nosaukums", diff --git a/public/app/main/apps/callysquare/i18n/lv.json b/public/app/main/apps/callysquare/i18n/lv.json index 5f2246a..06ef27b 100644 --- a/public/app/main/apps/callysquare/i18n/lv.json +++ b/public/app/main/apps/callysquare/i18n/lv.json @@ -3,7 +3,7 @@ "SESTEKASR": "Sestek ASR", "SESTEKNDA": "Sestek NDA", "SESTEKTTS": "Sestek TTS", - "AWSLEX": "\"Amazon Lex\"", + "AWSLEX": "Amazon Lex", "ERRORS": { "NAME_REQUIRED": "Obligāts lauks", "DSN_REQUIRED": "Obligāts lauks", @@ -19,31 +19,31 @@ }, "SMS_ACCOUNT_ID": "Konts", "NAME": "Nosaukums", - "ODBC": "ODBC", - "TEST_ODBC": "Pārbaudīt ODBC", + "ODBC": "ODBC", + "TEST_ODBC": "Pārbaudīt ODBC", "SEARCH_FOR_ANYONE": "Meklēt", "BACK": "Atpakaļ", "SELECTED": "Atlasīts", "SELECT_ALL": "Atlasīt visus", "SELECT_NONE": "Neizvēlēties nevienu", - "DSN": "DSN", + "DSN": "DSN", "DESCRIPTION": "Apraksts", - "ADD_ODBC": "Pievienot ODBC", - "EDIT_ODBC": "Rediģēt ODBC", - "DELETE_ODBC": "Dzēst ODBC", + "ADD_ODBC": "Pievienot ODBC", + "EDIT_ODBC": "Rediģēt ODBC", + "DELETE_ODBC": "Dzēst ODBC", "SAVE": "Saglabāt", "PROJECTS": "Projekti", "ADD_PROJECT": "Pievienot projektu", "EDIT_PROJECT": "Rediģēt projektu", "DELETE_PROJECT": "Dzēst projektu", - "CALLYSQUARE": "\"Cally Square\"", + "CALLYSQUARE": "Cally Square", "ID": "ID", - "NEW_ODBC": "Jauns ODBC savienojums", + "NEW_ODBC": "Jauns ODBC savienojums", "SQUARERECORDINGS": "Ieraksti", "PROJECT": "Projekts", "UNIQUEID": "Unikāls ID", "PHONE": "Tālrunis", - "EXTEN": "\"Exten\"", + "EXTEN": "Exten", "AUDIO": "Audio", "CREATED_AT": "Izveidots", "NOTES": "Piezīmes", @@ -52,7 +52,7 @@ "LABEL": "Etiķete", "ANSWER": "Atbilde", "TIMEOUT": "Noildze", - "SIP_ID": "\"SIP\"", + "SIP_ID": "SIP", "OPTS": "Iespējas", "URL": "Tīmekļa adrese", "TRUNK_NAME": "Maģistrāle", @@ -60,14 +60,14 @@ "FINALLY": "Visbeidzot", "END": "Beigt", "HANGUP": "Nolikt klausuli", - "DIAL": "Skala", - "EXT_DIAL": "Ārējā skala", + "DIAL": "Zvans", + "EXT_DIAL": "Ārējais zvans", "QUEUE": "Rinda", "QUEUE_ID": "Rinda", "FILE_ID": "Audio", - "AGI": "AGI", + "AGI": "AGI", "MACRO": "Makro", - "GOSUB": "GoSub", + "GOSUB": "GoSub", "POSITION": "Pozīcija", "VOICEMAIL": "Balss pasts", "MAILBOX": "Pastkaste", @@ -82,7 +82,7 @@ "DIGIT": "Maks. ciparu skaits", "RETRY": "Atkārtoti mēģinājumi", "DIGITS": "Cipari", - "ESCAPE_DIGITS": "Izbēgšanas cipari", + "ESCAPE_DIGITS": "Izbeigšanas cipari", "MENU": "Izvēlne", "SAYDIGITS": "Nosaukt ciparus", "SAYNUMBER": "Nosaukt skaitli", @@ -90,8 +90,8 @@ "SAYPHONETIC": "Izrunāt fonētiski", "TEXT": "Teksts", "GOOGLE_TTS_LANGUAGE": "Valoda", - "TTS": "\"Google\" teksta pārvēršana runā", - "ISPEECHTTS": "iSpeech teksta pārvēršana runā", + "TTS": "Google teksta pārvēršana runā", + "ISPEECHTTS": "iSpeech teksta pārvēršana runā", "KEY": "Atslēga", "ISPEECH_TTS_LANGUAGE": "Valoda", "SPEED": "Ātrums", @@ -106,33 +106,33 @@ "FILE": "Datnes nosaukums", "RECORDINGFORMAT": "Ieraksta formāts", "DATABASE": "Datu bāze", - "ODBC_ID": "ODBC savienojums", + "ODBC_ID": "ODBC savienojums", "QUERY": "Vaicājums", "MODEL": "Modelis", "ISPEECH_ASR_LANGUAGE": "Valoda", "BEEP": "Pīkstiens", - "ISPEECHASR": "iSpeech automātiskā runas atpazīšana", + "ISPEECHASR": "iSpeech automātiskā runas atpazīšana", "SENDSMS": "Sūtīt īsziņu", "ACCOUNT_ID": "Konts", "TO": "Uz", "SMS_TEXT": "Teksts", "SENDMAIL": "Sūtīt e-pastu", "TEMPLATE_ID": "Veidne", - "CC": "CC (kopija)", - "BCC": "BCC (diskrētā kopija)", + "CC": "CC (kopija)", + "BCC": "BCC (diskrētā kopija)", "SUBJECT": "Temats", - "GOTOC": "GoTo", + "GOTOC": "GoTo", "CONTEXT": "Konteksts", "EXTENSION": "Paplašinājums", "PRIORITY": "Prioritāte", - "GOTOIF": "GoToIf", + "GOTOIF": "GoToIf", "CONDITION": "Nosacījums", - "GOTOIFTIME": "GoToIfTime", + "GOTOIFTIME": "GoToIfTime", "INTERVAL_ID": "Intervāls", "VSWITCH": "Mainīgā nomaiņa", "GOAL": "Mērķis", "GOALNAME": "Mērķa nosaukums", - "NOOP": "NoOp", + "NOOP": "NoOp", "OUTPUT": "Izvaddati", "SYSTEM": "Sistēma", "COMMAND": "Komanda", @@ -154,11 +154,11 @@ "NEW_VARIABLE": "Jauns mainīgais", "ADD_VARIABLE": "Pievienot mainīgo", "UPDATE_DESCRIPTION": "Atjaunināt aprakstu", - "EDIT_XML": "Rediģēt XML", - "IMPORT_XML": "Importēt XML", + "EDIT_XML": "Rediģēt XML", + "IMPORT_XML": "Importēt XML", "IMPORT": "Importēt", "DROP_TO_UPLOAD": "PĀRVELCIET ŠEIT, LAI AUGŠUPIELĀDĒTU", - "DROP_TO_UPLOAD_MESSAGE": "Varat arī pārvilkt datnes šeit, lai tās augšupielādētu. Tikai XML – maks. 5 MB", + "DROP_TO_UPLOAD_MESSAGE": "Varat arī pārvilkt datnes šeit, lai tās augšupielādētu. Tikai XML – maks. 5 MB", "CLOSE": "Aizvērt", "NO_AVAILABLE_INFO": "Nav pieejama informācija", "GO_TO_PROJECTS": "Iet uz projektiem", @@ -171,37 +171,37 @@ "ATTACHMENT_TYPE": "Pielikuma veids", "ATTACHMENT_PATH": "Pielikuma ceļš", "SENDFAX": "Sūtīt faksu", - "DELETE_SQUARERECORDING": "Dzēst \"Square\" ierakstu", - "DOWNLOAD_SQUARERECORDING": "Lejupielādēt \"Square\" ierakstu", + "DELETE_SQUARERECORDING": "Dzēst Square ierakstu", + "DOWNLOAD_SQUARERECORDING": "Lejupielādēt Square ierakstu", "FILENAME": "Datnes nosaukums", - "EDIT_SQUARERECORDING": "Rediģēt \"Square\" ierakstu", + "EDIT_SQUARERECORDING": "Rediģēt Square ierakstu", "DELETE": "Dzēst", "PAGE": "Lappuse", "ROWSPERPAGE": "Rindas lappusē", "OF": "no", "CALLBACK_PRIORITY": "Prioritāte", "GOOGLE_ASR_LANGUAGE": "Valoda", - "GOOGLEASR": "\"GoogleASR\"", - "AWSPOLLY": "\"AWS Polly\"", + "GOOGLEASR": "GoogleASR", + "AWSPOLLY": "AWS Polly", "AWS_ACCESS_KEY_ID": "Piekļuves atslēgas ID", "AWS_SECRET_ACCESS_KEY": "Slēptā piekļuves atslēga", "AWS_POLLY_REGION": "Reģions", "AWS_POLLY_VOICE": "Balss", - "LUMENVOXTTS": "\"Lumenvox\" teksta pārvēršana runā", - "LUMENVOXASR": "\"Lumenvox\" automātiskā runas atpazīšana", + "LUMENVOXTTS": "Lumenvox teksta pārvēršana runā", + "LUMENVOXASR": "Lumenvox automātiskā runas atpazīšana", "GRAMMAR": "Gramatika", - "TILDEASR": "\"Tilde\" automātiskā runas atpazīšana", - "APPID": "Lietojumprogrammas ID", - "APPSECRET": "Lietojumprogrammas parole", + "TILDEASR": "Tilde automātiskā runas atpazīšana", + "APPID": "Aplikācijas ID", + "APPSECRET": "Aplikācijas parole", "FINDBY": "Atrast pēc", "LOGIN": "Pieteikšanās", "LOGOUT": "Atteikšanās", "PAUSE": "Pauze", "PAUSE_ID": "Pauzes veids", "UNPAUSE": "Pārtraukt pauzi", - "URI": "URI", + "URI": "URI", "AWS_TEXT_TYPE": "Teksta veids", - "DIALOGFLOW": "\"Dialogflow\"", + "DIALOGFLOW": "Dialogflow", "DIALOGFLOW_LANGUAGE": "Valoda", "ADDUSER_PROJECTS": "Pievienot lietotājus projektam", "ALL_USERS": "Visi lietotāji", diff --git a/public/app/main/apps/chat/i18n/lv.json b/public/app/main/apps/chat/i18n/lv.json index fffa3c0..03b8fc2 100644 --- a/public/app/main/apps/chat/i18n/lv.json +++ b/public/app/main/apps/chat/i18n/lv.json @@ -1,24 +1,24 @@ { "CHAT": { - "AMAZONLEX": "\"Amazon Lex\"", + "AMAZONLEX": "Amazon Lex", "ERRORS": { - "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "VALUE_REQUIRED": "Obligāts lauks", - "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "OFFLINEMESSAGEBODY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "PLACEHOLDERMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "NOTETITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "CLOSINGQUESTION_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "HEADER_OFFLINE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "OFFLINEMESSAGEBODY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "PLACEHOLDERMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "NOTETITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "CLOSINGQUESTION_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "HEADER_OFFLINE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "TEXT_REQUIRED": "Obligāts lauks", "SENDUNMANAGED_REQUIRED": "Obligāts lauks", - "SENDUNMANAGED_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "SKIPUNMANAGED_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "UNMANAGEDMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "WEBSITEALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "SENDUNMANAGED_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "SKIPUNMANAGED_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "UNMANAGEDMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "WEBSITEALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "AGENT_REQUIRED": "Obligāts lauks", "QUEUE_REQUIRED": "Obligāts lauks", "CONDITION_REQUIRED": "Obligāts lauks", @@ -46,10 +46,10 @@ "POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": " Vērtībai jābūt lielākai vai vienādai ar", "WAITINGMESSAGE_REQUIRED": "Obligāts lauks", "WAITINGTITLE_REQUIRED": "Obligāts lauks", - "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "KEY_REQUIRED": "Obligāts lauks", - "WAITINGMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "WAITINGTITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "WAITINGMESSAGE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "WAITINGTITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Vērtībai jābūt mazākai vai vienādai ar", "FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", "FONTSIZE_REQUIRED": "Obligāts lauks", @@ -64,7 +64,7 @@ "VERTICALPOSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", "VERTICALPOSITION_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Vērtībai jābūt mazākai vai vienādai ar", "VERTICALPOSITION_REQUIRED": "Obligāts lauks", - "CUSTOMERALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "CUSTOMERALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "TAG_REQUIRED": "Obligāts lauks", "MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", "MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Vērtībai jābūt mazākai vai vienādai ar", @@ -77,14 +77,14 @@ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Vērtībai jābūt mazākai vai vienādai ar", "QUEUETRANSFERTIMEOUT_REQUIRED": "Obligāts lauks", - "SYSTEMALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "SYSTEMALIAS_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "SYSTEMALIAS_REQUIRED": "Obligāts lauks", "ACCESSKEYID_REQUIRED": "Obligāts lauks", "BOTNAME_REQUIRED": "Obligāts lauks", "SECRETACCESSKEY_REQUIRED": "Obligāts lauks" }, "HELP": { - "KEY": "Tīmekļa vietnes īss nosaukums (piecas rakstzīmes), kas ir attēlots cilnē \"Aģenti\"", + "KEY": "Tīmekļa vietnes īss nosaukums (piecas rakstzīmes), kas ir attēlots cilnē Aģenti", "TOKEN": "Automātiski radīts marķieris, ko izmanto norakstā", "INTEVAL": "Jāizvēlas no pieejamo intervālu saraksta", "TIMEZONE": "Atlasiet vienu no saraksta (noklusējums = vietējā laika josla)", @@ -117,8 +117,8 @@ "DELETE_CHATCANNEDANSWER": "Dzēst", "OFFLINEMESSAGESUBJECT": "Ziņojuma tēma", "OFFLINEMESSAGEBODY": "Ziņojuma teksts", - "FORMSUBMITSUCCESSMESSAGE": "Ziņojums \"Veidlapa iesniegta veiksmīgi\"", - "FORMSUBMITFAILUREMESSAGE": "Ziņojums \"Veidlapa iesniegta neveiksmīgi\"", + "FORMSUBMITSUCCESSMESSAGE": "Ziņojums Veidlapa iesniegta veiksmīgi", + "FORMSUBMITFAILUREMESSAGE": "Ziņojums Veidlapa iesniegta neveiksmīgi", "PLACEHOLDERMESSAGE": "Ziņojuma vietturis", "NOTETITLE": "Piezīmes nosaukums", "CLOSINGQUESTION": "Noslēguma jautājums", @@ -143,7 +143,7 @@ "CHAT": "Tērzēšana", "MAIL": "E-pasts", "SMS": "Īsziņa", - "OPENCHANNEL": "\"Openchannel\"", + "OPENCHANNEL": "Openchannel", "FAX": "Fakss", "PAUSE": "Pauze", "REALTIME": "Reāllaika", @@ -205,13 +205,13 @@ "CLOSINGMESSAGE": "Noslēguma ziņojums", "CLOSINGMESSAGEBUTTON": "Noslēguma ziņojuma poga", "RATINGSTARSNUMBER": "Novērtējuma zvaigžņu skaits", - "EDIT_GOTOIF": "Rediģēt GotoIf", + "EDIT_GOTOIF": "Rediģēt GotoIf", "CONDITION": "Nosacījums", "TRUEPRIORITY": "Patiesa prioritāte", "FALSEPRIORITY": "Aplama prioritāte", "VALUE": "Vērtība", "WEBSITEALIAS": "Tīmekļa vietnes segvārds", - "CM_FIELD": "Lauks \"Sazināties ar pārvaldnieku\"", + "CM_FIELD": "Kontaktu pārvaldnieka lauks", "CHATPROACTIVEACTIONS": "Proaktīvas darbības", "NEW_CHATPROACTIVEACTION": "Jauna proaktīva darbība", "EDIT_CHATPROACTIVEACTION": "Rediģēt proaktīvo darbību", @@ -224,17 +224,17 @@ "TYPE": "Tips", "SELECTOR": "Atlasītājs", "AGENT": "Aģents", - "GOTO": "\"Goto\"", - "GOTOIF": "\"GotoIf\"", - "NOOP": "\"Noop\"", + "GOTO": "Goto", + "GOTOIF": "GotoIf", + "NOOP": "Noop", "QUEUE": "Rinda", "BUILDER": "Veidotājs", "PREVIEW": "Priekšskatījums", "EDIT_AGENT": "Rediģēt aģentu", "EDIT_QUEUE": "Rediģēt rindu", - "EDIT_GOTO": "Rediģēt Goto", - "EDIT_GOTOIf": "Rediģēt GotoIf", - "EDIT_NOOP": "Rediģēt Noop", + "EDIT_GOTO": "Rediģēt Goto", + "EDIT_GOTOIf": "Rediģēt GotoIf", + "EDIT_NOOP": "Rediģēt Noop", "ADD_CHATQUEUE": "Pievienot tērzēšanas rindu", "EDIT_CHATQUEUE": "Rediģēt tērzēšanas rindu", "DELETE_CHATQUEUE": "Dzēst tērzēšanas rindu", @@ -355,8 +355,8 @@ "NOTES": "Piezīmes", "NO_INTERACTION_AVAILABLE": "Nav pieejama saziņa", "SELECTED_WEBSITE": "Izvēlieties vietni", - "GOTOP": "\"Gotop\"", - "EDIT_GOTOP": "Rediģēt Gotop", + "GOTOP": "Gotop", + "EDIT_GOTOP": "Rediģēt Gotop", "SELECT_WEBSITE": "Izvēlieties vietni", "INFO": "Informācija", "OFFLINEMESSAGES_CHATWEBSITE": "Doties uz bezsaistes ziņojumiem", @@ -412,8 +412,8 @@ "MESSAGEFONTSIZE": "Ziņu fonta lielums", "AGENTTRANSFER": "Aģenta nodošana", "AGENTTRANSFERTIMEOUT": "Aģenta nodošanas noildze", - "DIALOGFLOW": "\"Dialogflow\"", - "EDIT_DIALOGFLOW": "Rediģēt \"Dialogflow\"", + "DIALOGFLOW": "Dialogflow", + "EDIT_DIALOGFLOW": "Rediģēt Dialogflow", "LANGUAGE": "Valoda", "QUEUETRANSFER": "Rindas nodošana", "QUEUETRANSFERTIMEOUT": "Rindas nodošanas noildze", @@ -429,7 +429,7 @@ "PAUSE_TIME": "Pārtraukuma ilgums", "ACCESSKEYID": "Piekļuves atslēgas ID", "BOTNAME": "Robotprogrammatūras nosaukums", - "EDIT_AMAZONLEX": "Rediģēt \"Amazon Lex\"", + "EDIT_AMAZONLEX": "Rediģēt Amazon Lex", "LEXREGION": "Reģions", "SECRETACCESSKEY": "Slēptā piekļuves atslēga", "TEAMS_ASSOCIATION": "Komandu asociācija" diff --git a/public/app/main/apps/contactmanager/i18n/lv.json b/public/app/main/apps/contactmanager/i18n/lv.json index 72bbb3e..b78fa95 100644 --- a/public/app/main/apps/contactmanager/i18n/lv.json +++ b/public/app/main/apps/contactmanager/i18n/lv.json @@ -7,13 +7,13 @@ "ALIAS_REQUIRED": "Obligāts lauks", "VALUE_REQUIRED": "Obligāts lauks", "EMAIL_MUST_VALID": "Nepareizs formāts", - "PHONEBAR_API": "Pārbaudiet, vai darbojas \"MotionBar\" un ir ieslēgts aģenta tālvadības slēdzis" + "PHONEBAR_API": "Pārbaudiet, vai darbojas MotionBar un ir ieslēgts aģenta tālvadības slēdzis" }, "HELP": { - "PHONEBAR_API_MESSAGE": "Lai iespējotu opciju \"Noklikšķināt, lai piezvanītu\", ievadiet tālruņa numuru un pārbaudiet, vai ir ieslēgts aģenta tālvadības slēdzis", - "PHONEBAR_API": "Lai iespējotu opciju \"Noklikšķināt, lai piezvanītu\", ievadiet tālruņa numuru un pārbaudiet, vai ir ieslēgts aģenta tālvadības slēdzis" + "PHONEBAR_API_MESSAGE": "Lai iespējotu opciju Click to Call, ievadiet tālruņa numuru un pārbaudiet, vai ir ieslēgts aģenta tālvadības slēdzis", + "PHONEBAR_API": "Lai iespējotu opciju Click to Call, ievadiet tālruņa numuru un pārbaudiet, vai ir ieslēgts aģenta tālvadības slēdzis" }, - "VOICEQUEUEID": "\"VoiceQueue\" ID", + "VOICEQUEUEID": "Zvanu rindas ID", "CAMPAIGNID": "Kampaņas ID", "STATE": "Valsts", "NAME": "Nosaukums", @@ -22,16 +22,16 @@ "STATUS": "Statuss", "STARTTIME": "Sākuma laiks", "ENDTIME": "Beigu laiks", - "MOTION_BULL": "\"Motion Bull\"", - "HOPPER": "\"Hopper\"", - "FINAL": "\"Hopper Final\"", - "HISTORY": "\"Hopper\" vēsture", + "MOTION_BULL": "Motion Bull", + "HOPPER": "Hopper", + "FINAL": "Hopper Final", + "HISTORY": "Hopper vēsture", "SCHEDULEDAT": "Ieplānots", "SEARCH_FOR_ANYONE": "Meklēt", "EDIT_LIST": "Rediģēt sarakstu", - "EDIT_HOPPER": "Rediģēt \"Hopper\"", + "EDIT_HOPPER": "Rediģēt Hopper", "DELETE_LIST": "Dzēst sarakstu", - "DELETE_HOPPER": "Dzēst \"Hopper\"", + "DELETE_HOPPER": "Dzēst Hopper", "RELOAD": "Pārlādēt", "NO_COMPANIES": "Nav uzņēmuma", "NO_AVAILABLE_ITEMS": "Nav pieejamu vienumu", @@ -53,17 +53,17 @@ "PHONE": "Tālrunis", "EMAIL": "E-pasts", "ADD_COMPANY": "Pievienot uzņēmumu", - "CONTACTS": "Kontaktpersonas", + "CONTACTS": "Kontakti", "NEW_LIST": "Jauns saraksts", "FIRSTNAME": "Vārds", "LASTNAME": "Uzvārds", "LIST": "Saraksts", "COMPANY": "Uzņēmums", - "ADD_CONTACT": "Pievienot kontaktpersonu", - "EDIT_CONTACT": "Rediģēt kontaktpersonu", - "MERGE_CONTACT": "Apvienot kontaktpersonas", - "DUPLICATE_CONTACT": "Dublēt kontaktpersonu", - "DELETE_CONTACT": "Dzēst kontaktpersonu", + "ADD_CONTACT": "Pievienot kontaktu", + "EDIT_CONTACT": "Rediģēt kontaktu", + "MERGE_CONTACT": "Apvienot kontaktus", + "DUPLICATE_CONTACT": "Dublēt kontaktu", + "DELETE_CONTACT": "Dzēst kontaktu", "CREATED_AT": "Izveidots", "SAVE": "Saglabāt", "DETAIL": "Sīka informācija", @@ -79,7 +79,7 @@ "POSTALCODE": "Pasta indekss", "DELETE": "Dzēst", "DELETE_ALL": "Dzēst visu", - "CONTACTMANAGER": "Kontaktpersonu pārvaldnieks", + "CONTACTMANAGER": "Kontaktu pārvaldnieks", "ID": "ID", "SETTINGS": "Iestatījumi", "GENERAL": "Vispārīgi", @@ -94,13 +94,13 @@ "EDIT_CUSTOMFIELD": "Rediģēt pielāgoto lauku", "DELETE_CUSTOMFIELD": "Dzēst pielāgoto lauku", "NEW_COMPANY": "Jauns uzņēmums", - "NEW_CONTACT": "Jauna kontaktpersona", + "NEW_CONTACT": "Jauns kontakts", "NEW_TAG": "Jauna atzīme", - "UPLOAD_CONTACTS": "Augšupielādēt kontaktpersonas", + "UPLOAD_CONTACTS": "Augšupielādēt kontaktus", "FINISH": "Pabeigt", "SUCCESS": "Panākumi", "FAILURE": "Kļūme", - "ALL_CONTACTS": "Visas kontaktpersonas", + "ALL_CONTACTS": "Visi kontakti", "NEW_CUSTOMFIELD": "Jauns pielāgots lauks", "NO_VOICEDISPOSITION_AVAILABLE": "Nav pieejami balss statusi", "ADD_VOICEDISPOSITION": "Pievienot balss statusu", @@ -113,9 +113,9 @@ "ADDRESS": "Adrese", "POSTAL_CODE": "Pasta indekss", "SHIPMENTADDRESS": "Sūtījuma adrese", - "COPY_CONTACT": "Kopēt kontaktpersonu", - "GOTOCONTACTS_LIST": "Rādīt kontaktpersonas", - "GOTOCONTACTS_COMPANY": "Rādīt kontaktpersonas", + "COPY_CONTACT": "Kopēt kontaktus", + "GOTOCONTACTS_LIST": "Rādīt kontaktus", + "GOTOCONTACTS_COMPANY": "Rādīt kontaktus", "ADD_AGENT_TO_LIST": "Pievienot aģentu sarakstam", "AGENTADD_LIST": "Pievienot aģentus sarakstam", "NO_AVAILABLE_INFO": "Nav pieejama informācija", @@ -123,7 +123,7 @@ "FULLNAME": "Vārds un uzvārds", "CHECK_DUPLICATES": "Pārbaudīt dublikātus", "DUPLICATES": "Dublikāti", - "UPLOAD_CSV": "Augšupielādēt CSV", + "UPLOAD_CSV": "Augšupielādēt CSV", "TAG": "Atzīme", "UPLOAD": "Augšupielādēt", "ALL_AGENTS": "Visi aģenti", @@ -131,16 +131,16 @@ "DATE_OF_BIRTH": "Dzimšanas datums", "DATEOFBIRTH": "Dzimšanas datums", "NOTES": "Piezīmes", - "EXPORTCSVCONTACTS_LIST": "Eksportēt uz CSV", - "GOTO_LIST": "Rādīt kontaktpersonas", - "GOTO_COMPANY": "Rādīt kontaktpersonas", + "EXPORTCSVCONTACTS_LIST": "Eksportēt uz CSV", + "GOTO_LIST": "Rādīt kontaktus", + "GOTO_COMPANY": "Rādīt kontaktus", "REQUIRED": "Nepieciešams", "GLOBALCUSTOMFIELDS": "Globāli pielāgotie lauki", "NEW_GLOBALCUSTOMFIELD": "Jauni pielāgoti lauki", "ADD_GLOBALCUSTOMFIELD": "Pievienot pielāgotu lauku", "EDIT_GLOBALCUSTOMFIELD": "Rediģēt pielāgoto lauku", "DELETE_GLOBALCUSTOMFIELD": "Dzēst pielāgoto lauku", - "JSCRIPTY": "Jscripty", + "JSCRIPTY": "Jscripty", "SESSIONS": "Sesijas", "AGENT": "Aģents", "PROJECT": "Projekts", @@ -156,9 +156,9 @@ "UPLOAD_COMPLETED": "Augšupielāde pabeigta", "STOP": "Pārtraukt", "SELECT_FILE": "Atlasīt datni", - "IMPORT_CONTACTS": "Importēt kontaktpersonas", - "MOTIONDIALER": "\"Motion Bull\"", - "PREFIX": "Zvana priekšējie cipari", + "IMPORT_CONTACTS": "Importēt kontaktus", + "MOTIONDIALER": "Motion Bull", + "PREFIX": "Zvana prefikss", "PRIORITY": "Prioritāte", "USERID": "Atzvanīt aģenta ID", "CUSTOMER_JOURNEY": "Klienta ceļojums", diff --git a/public/app/main/apps/dashboards/i18n/lv.json b/public/app/main/apps/dashboards/i18n/lv.json index 64560e5..37f7de4 100644 --- a/public/app/main/apps/dashboards/i18n/lv.json +++ b/public/app/main/apps/dashboards/i18n/lv.json @@ -121,7 +121,7 @@ "DROPPED": "Atvienots", "DROPPED_TEXT": "Atvienotie zvani rindā", "DETAIL": "Sīka informācija", - "MOTION_BULL": "\"Motion Bull\"", + "MOTION_BULL": "Motion Bull", "LIMITED": "Ierobežots", "LIMITED_TEXT": "Interaktīvās balss atbildes kampaņas zvani/ierobežojumi", "DASHBOARDS": "Informācijas paneļi", @@ -131,7 +131,7 @@ "ORIGINATED_TEXT": "Rindas zvanu izcelsme", "UPDATE": "Atjaunināt", "MORE": "Vairāk", - "MOTIONDIALER": "\"Motion Bull\"", + "MOTIONDIALER": "Motion Bull", "DISPOSE": "Beigt", "QUEUES": "Rindas", "DIALER_CALL": "Zvanītāja zvans", @@ -182,22 +182,22 @@ "TOT_DURATION": "Kopējais ilgums", "AVG_DURATION": "Vidējais ilgums", "NO_AVAILABLE_INFO": "Nav pieejama informācija", - "WELCOME_TO_MOTION": "Laipni lūdzam \"Motion\"", + "WELCOME_TO_MOTION": "Laipni lūdzam Motion", "WELCOME_MESSAGE": "Izmantojiet kreiso sānu joslu, lai pārvietotos pa pieejamajām sadaļām", "ADD": "Pievienot", - "CONTACTMANAGER": "Kontaktpersonu pārvaldnieks", + "CONTACTMANAGER": "Kontaktu pārvaldnieks", "DASHBOARD": "Informācijas panelis", - "EDIT_CONTACT": "Rediģējiet kontaktu", + "EDIT_CONTACT": "Rediģēt kontaktu", "EMAIL": "E-pasts", "FULLNAME": "Vārds un uzvārds", "LIST": "Saraksts", - "NEW_CONTACT": "Jauna kontaktpersona", + "NEW_CONTACT": "Jauns kontakts", "PHONE": "Tālrunis", "SAVE": "Saglabāt", "INBOUND_WAITING_CALLS": "Ienākošie gaidīšanas zvani", - "CONTACTS": "Kontaktpersonas", - "MYCONTACTS": "Manas kontaktpersonas", - "ADD_CONTACT": "Pievienot kontaktpersonu", + "CONTACTS": "Kontakti", + "MYCONTACTS": "Mani kontakti", + "ADD_CONTACT": "Pievienot kontaktu", "RELOAD": "Pārlādēt", "WAITING_TEXT": "Gaida saziņu", "TALKING_TEXT": "Aktīvie rindas zvani", @@ -217,7 +217,7 @@ "PAGE": "Lappuse", "ROWSPERPAGE": "Rindas lappusē", "OF": "no", - "REPLY_PLACEHOLDER": "Ierakstiet un nospiediet \"Enter\", lai nosūtītu ziņu", + "REPLY_PLACEHOLDER": "Ierakstiet un nospiediet Enter, lai nosūtītu ziņu", "CONTACT_INFO": "Kontaktinformācija", "CLOSE_AND_DISPOSE": "Aizvērt un izbeigt", "DISPOSITIONS": "Statusi", @@ -230,7 +230,7 @@ "ACCEPT_ELSEWHERE": "Pieņemts citur", "ATTENTION": "Uzmanību", "SOCIAL": "Sociāli", - "NO_JSCRIPTY_PROJECTS_AVAILABLE": "Nav pieejami \"Jscripty\" projekti", + "NO_JSCRIPTY_PROJECTS_AVAILABLE": "Nav pieejami Jscripty projekti", "OPENED": "Atvērts", "FILTER": "Filtrs", "SELECT_STATUS": "Izvēlieties statusu", @@ -260,8 +260,8 @@ "MARK_AS_UNREAD": "Atzīmēt kā nelasītu", "SELECT_AGENT": "Izvēlieties aģentu", "READ": "Izlasīts", - "SELECT_READ_UNREAD": "Izvēlieties \"Lasīts/nelasīts\"", - "SELECT_SUBSTATUS": "Izvēlieties apakšstatusu", + "SELECT_READ_UNREAD": "Izvēlēties \"Lasīts/nelasīts\"", + "SELECT_SUBSTATUS": "Izvēlēties apakšstatusu", "UNREAD": "Nelasīts", "ABANDONAT": "Pamests", "ABANDONEDQUEUECALLS": "Pamesti rindas zvani", @@ -273,7 +273,7 @@ "RESERVED": "Rezervēts", "SELECT_CAMPAIGN": "Izvēlieties rindu", "ASSIGNTO": "Piešķirt", - "CLICKRELOAD": "Jauni pamesti zvani! Lūdzu, pārlādējiet", + "CLICKRELOAD": "Jauni neatbildēti zvani! Lūdzu, pārlādējiet", "NOTAVAILABLE": "Nav pieejams", "CURRENTLY_IN_USE_BY": "Pašlaik izmanto", "CUSTOMER_JOURNEY": "Klienta ceļojums", @@ -287,12 +287,12 @@ "AVG_MANAGED_TIME_TEXT": "Vidējais saziņas pārvaldības laiks", "MANAGED": "Pārvaldīts", "MANAGED_RATE": "Pārvaldīšanas koeficients", - "MANAGED_RATE_TEXT": "Pārvaldīto mijiedarbību koeficients ", - "MANAGED_TEXT": "Pārvaldītās mijiedarbības", - "OPENED_TEXT": "Atvērtas mijiedarbības", - "TODAY_INTERACTIONS_STATS": "Mijiedarbību dienas statistika", + "MANAGED_RATE_TEXT": "Pārvaldīto saziņu koeficients ", + "MANAGED_TEXT": "Pārvaldītās saziņas", + "OPENED_TEXT": "Atvērtas saziņas", + "TODAY_INTERACTIONS_STATS": "Saziņu dienas statistika", "UNMANAGED_RATE": "Nepārvaldīšanas koeficients", - "UNMANAGED_RATE_TEXT": "Nepārvaldīto mijiedarbību koeficients", + "UNMANAGED_RATE_TEXT": "Nepārvaldīto saziņu koeficients", "VOICE_ABANDONED": "PAMESTS", "VOICE_ABANDONED_TEXT": "PAMESTIE RINDAS ZVANI", "VOICE_ABANDON_RATE": "PAMEŠANAS KOEFICIENTS", diff --git a/public/app/main/apps/fax/i18n/lv.json b/public/app/main/apps/fax/i18n/lv.json index 2b5db75..f88cdae 100644 --- a/public/app/main/apps/fax/i18n/lv.json +++ b/public/app/main/apps/fax/i18n/lv.json @@ -28,7 +28,7 @@ "HEADERINFO_REQUIRED": "Obligāts lauks", "TRUNK_REQUIRED": "Obligāts lauks", "LIST_REQUIRED": "Obligāts lauks", - "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "KEY_REQUIRED": "Obligāts lauks", "COMMAND_REQUIRED": "Obligāts lauks", "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", @@ -53,7 +53,7 @@ "GATEWAY": "T.38 Faksa vārteja ar izvēles faksa darbības noildzi sekundēs (yes/no/[timeout])", "FAXDETECT": "Iespējot faksa noteikšanu ar papildu noildzi sekundēs (yes/t38/cng/[timeout]/no)", "T38TIMEOUT": "T.38 sarunām izmantotā noildze (minimālā vērtība = 1000)", - "ECM": "Kļūdas savienojuma režīms (ECM)", + "ECM": "Kļūdas savienojuma režīms (ECM)", "MINRATE": "Minimālais pārsūtīšanas ātrums, kas ir noteikts pirms pārraides", "MAXRATE": "Maksimālais pārsūtīšanas ātrums, kas ir noteikts pirms pārraides", "NAME": "Tiek atbalstīti tikai numuri, burti un atsevišķas rakstzīmes (._)" @@ -111,16 +111,16 @@ "VALUE": "Vērtība", "EDIT_FAXQUEUE": "Rediģēt faksa rindu", "EDIT_AGENT": "Rediģēt aģentu", - "EDIT_GOTO": "Rediģēt Goto", - "EDIT_NOOP": "Rediģēt Noop", - "EDIT_GOTOP": "Rediģēt GotoP", - "EDIT_GOTOIF": "Rediģēt GotoIf", + "EDIT_GOTO": "Rediģēt Goto", + "EDIT_NOOP": "Rediģēt Noop", + "EDIT_GOTOP": "Rediģēt GotoP", + "EDIT_GOTOIF": "Rediģēt GotoIf", "EDIT_QUEUE": "Rediģēt faksa rindu", "EDIT_CLOSE": "Rediģēt aizvēršanu", "QUEUE": "Rinda", - "GOTOIF": "\"GotoIf\"", - "GOTOP": "GotoP", - "NOOP": "\"Noop\"", + "GOTOIF": "GotoIf", + "GOTOP": "GotoP", + "NOOP": "Noop", "AGENT": "Aģents", "NOTES": "Piezīmes", "CLOSEDAT": "Aizvērts", @@ -162,7 +162,7 @@ "TRUNK": "Maģistrāle", "LOCALSTATIONID": "Vietējās stacijas identifikators", "ADVANCED": "Paplašināts", - "ECM": "\"ECM\"", + "ECM": "ECM", "MINRATE": "Minimālais koeficients", "MAXRATE": "Maksimālais koeficients", "MODEM": "Modems", diff --git a/public/app/main/apps/integrations/i18n/lv.json b/public/app/main/apps/integrations/i18n/lv.json index 96c611b..9566f72 100644 --- a/public/app/main/apps/integrations/i18n/lv.json +++ b/public/app/main/apps/integrations/i18n/lv.json @@ -28,13 +28,13 @@ "VTIGER_USER_NAME_REQUIRED": "Obligāts lauks" }, "HELP": { - "MOTIONPROXYADDRESS": "Kustības (starpnieka) adrese: tā ir nepieciešama, ja vēlaties aizpildīt biļešu korpusu ar ieraksta tīmekļa adresi. Ievadiet adresi šādā formātā: : //[:]. Piemērs: https://XYZW" + "MOTIONPROXYADDRESS": "Motion (starpnieka) adrese: tā ir nepieciešama, ja vēlaties aizpildīt ticket saturu ar ieraksta tīmekļa adresi. Ievadiet adresi šādā formātā: : //[:]. Piemērs: https://XYZW" }, - "ADVANCED": "Paplašināts", + "ADVANCED": "Paplašināti", "MODULE_SEARCH": "Moduļa meklēšana", "MODULE_CREATE": "Izveidot moduli", "INTEGRATIONS": "Integrācijas", - "ZENDESKACCOUNTS": "\"Zendesk\" konti", + "ZENDESKACCOUNTS": "Zendesk konti", "ID": "ID", "NAME": "Nosaukums", "USERNAME": "Lietotājvārds", @@ -43,64 +43,64 @@ "SELECTED": "Atlasīts", "SELECT_ALL": "Atlasīt visus", "SELECT_NONE": "Neizvēlēties nevienu", - "EDIT_ZENDESKACCOUNT": "Rediģēt \"Zendesk\" kontu", - "DELETE_ZENDESKACCOUNT": "Dzēst \"Zendesk\" kontu", - "NEW_ZENDESKACCOUNT": "Jauns \"Zendesk\" konts", + "EDIT_ZENDESKACCOUNT": "Rediģēt Zendesk kontu", + "DELETE_ZENDESKACCOUNT": "Dzēst Zendesk kontu", + "NEW_ZENDESKACCOUNT": "Jauns Zendesk konts", "AUTHTYPE": "Autentifikācijas veids", "PASSWORD": "Parole", "CONFIRM_PASSWORD": "Apstiprināt paroli", "TOKEN": "Marķieris", - "MOTIONPROXYADDRESS": "Kustības vai starpnieka IP adrese", + "MOTIONPROXYADDRESS": "Motion vai starpnieka IP adrese", "DESCRIPTION": "Apraksts", - "ADD_ZENDESKACCOUNT": "Pievienot \"Zendesk\" kontu", + "ADD_ZENDESKACCOUNT": "Pievienot Zendesk kontu", "ACCOUNT": "Konts", - "ZENDESKCONFIGURATIONS": "\"Zendesk\" konfigurācijas", - "SALESFORCECONFIGURATIONS": "\"Salesforce\" konfigurācijas", - "SUGARCRMCONFIGURATIONS": "\"SugarCRM\" konfigurācijas", - "FRESHDESKCONFIGURATIONS": "\"Freshdesk\" konfigurācijas", + "ZENDESKCONFIGURATIONS": "Zendesk konfigurācijas", + "SALESFORCECONFIGURATIONS": "Salesforce konfigurācijas", + "SUGARCRMCONFIGURATIONS": "SugarCRM konfigurācijas", + "FRESHDESKCONFIGURATIONS": "Freshdesk konfigurācijas", "GENERAL": "Vispārīgi", "CREATED_AT": "Izveidots", "SAVE": "Saglabāt", - "NO_ZENDESKCONFIGURATION_AVAILABLE": "\"Zendesk\" konfigurācijas nav pieejamas", - "NEW_ZENDESKCONFIGURATION": "Jauna \"Zendesk\" konfigurācija", - "ADD_ZENDESKCONFIGURATION": "Pievienot \"Zendesk\" konfigurāciju", - "EDIT_ZENDESKCONFIGURATION": "Rediģēt \"Zendesk\" konfigurāciju", - "DELETE_ZENDESKCONFIGURATION": "Dzēst \"Zendesk\" konfigurāciju", - "NO_SALESFORCECONFIGURATION_AVAILABLE": "\"Salesforce\" konfigurācijas nav pieejamas", - "NEW_SALESFORCECONFIGURATION": "Jauna \"Salesforce\" konfigurācija", - "ADD_SALESFORCECONFIGURATION": "Pievienot \"Salesforce\" konfigurāciju", - "EDIT_SALESFORCECONFIGURATION": "Rediģēt \"Salesforce\" konfigurāciju", - "DELETE_SALESFORCECONFIGURATION": "Dzēst \"Salesforce\" konfigurāciju", - "NO_SUGARCRMCONFIGURATION_AVAILABLE": "\"SugarCRM\" konfigurācijas nav pieejamas", - "NEW_SUGARCRMCONFIGURATION": "Jauna \"SugarCRM\" konfigurācija", - "ADD_SUGARCRMCONFIGURATION": "Pievienot \"SugarCRM\" konfigurāciju", - "EDIT_SUGARCRMCONFIGURATION": "Rediģēt \"SugarCRM\" konfigurāciju", - "DELETE_SUGARCRMCONFIGURATION": "Dzēst \"SugarCRM\" konfigurāciju", - "NO_FRESHDESKCONFIGURATION_AVAILABLE": "\"Freshdesk\" konfigurācijas nav pieejamas", - "NEW_FRESHDESKCONFIGURATION": "Jauna \"Freshdesk\" konfigurācija", - "ADD_FRESHDESKCONFIGURATION": "Pievienot \"Freshdesk\" konfigurāciju", - "EDIT_FRESHDESKCONFIGURATION": "Rediģēt \"Freshdesk\" konfigurāciju", - "DELETE_FRESHDESKCONFIGURATION": "Dzēst \"Freshdesk\" konfigurāciju", - "SALESFORCEACCOUNTS": "\"Salesforce\" konti", - "EDIT_SALESFORCEACCOUNT": "Rediģēt \"Salesforce\" kontu", - "DELETE_SALESFORCEACCOUNT": "Dzēst \"Salesforce\" kontu", - "NEW_SALESFORCEACCOUNT": "Jauns \"Salesforce\" konts", - "ADD_SALESFORCEACCOUNT": "Pievienot \"Salesforce\" kontu", + "NO_ZENDESKCONFIGURATION_AVAILABLE": "Zendesk konfigurācijas nav pieejamas", + "NEW_ZENDESKCONFIGURATION": "Jauna Zendesk konfigurācija", + "ADD_ZENDESKCONFIGURATION": "Pievienot Zendesk konfigurāciju", + "EDIT_ZENDESKCONFIGURATION": "Rediģēt Zendesk konfigurāciju", + "DELETE_ZENDESKCONFIGURATION": "Dzēst Zendesk konfigurāciju", + "NO_SALESFORCECONFIGURATION_AVAILABLE": "Salesforce konfigurācijas nav pieejamas", + "NEW_SALESFORCECONFIGURATION": "Jauna Salesforce konfigurācija", + "ADD_SALESFORCECONFIGURATION": "Pievienot Salesforce konfigurāciju", + "EDIT_SALESFORCECONFIGURATION": "Rediģēt Salesforce konfigurāciju", + "DELETE_SALESFORCECONFIGURATION": "Dzēst Salesforce konfigurāciju", + "NO_SUGARCRMCONFIGURATION_AVAILABLE": "SugarCRM konfigurācijas nav pieejamas", + "NEW_SUGARCRMCONFIGURATION": "Jauna SugarCRM konfigurācija", + "ADD_SUGARCRMCONFIGURATION": "Pievienot SugarCRM konfigurāciju", + "EDIT_SUGARCRMCONFIGURATION": "Rediģēt SugarCRM konfigurāciju", + "DELETE_SUGARCRMCONFIGURATION": "Dzēst SugarCRM konfigurāciju", + "NO_FRESHDESKCONFIGURATION_AVAILABLE": "Freshdesk konfigurācijas nav pieejamas", + "NEW_FRESHDESKCONFIGURATION": "Jauna Freshdesk konfigurācija", + "ADD_FRESHDESKCONFIGURATION": "Pievienot Freshdesk konfigurāciju", + "EDIT_FRESHDESKCONFIGURATION": "Rediģēt Freshdesk konfigurāciju", + "DELETE_FRESHDESKCONFIGURATION": "Dzēst Freshdesk konfigurāciju", + "SALESFORCEACCOUNTS": "Salesforce konti", + "EDIT_SALESFORCEACCOUNT": "Rediģēt Salesforce kontu", + "DELETE_SALESFORCEACCOUNT": "Dzēst Salesforce kontu", + "NEW_SALESFORCEACCOUNT": "Jauns Salesforce konts", + "ADD_SALESFORCEACCOUNT": "Pievienot Salesforce kontu", "CLIENTID": "Klienta ID", "CLIENTSECRET": "Klienta parole", "SECURITYTOKEN": "Drošības marķieris", "SEARCH_FOR_ANYONE": "Meklēt", "APIKEY": "Lietojumprogrammas saskarnes atslēga", - "FRESHDESKACCOUNTS": "\"Freshdesk\" konti", - "EDIT_FRESHDESKACCOUNT": "Rediģēt \"Freshdesk\" kontu", - "DELETE_FRESHDESKACCOUNT": "Dzēst \"Freshdesk\" kontu", - "NEW_FRESHDESKACCOUNT": "Jauns \"Freshdesk\" konts", - "ADD_FRESHDESKACCOUNT": "Pievienot \"Freshdesk\" kontu", - "SUGARCRMACCOUNTS": "\"SugarCRM\" konti", - "EDIT_SUGARCRMACCOUNT": "Rediģēt \"SugarCRM\" kontu", - "DELETE_SUGARCRMACCOUNT": "Dzēst \"SugarCRM\" kontu", - "NEW_SUGARCRMACCOUNT": "Jauns \"SugarCRM\" konts", - "ADD_SUGARCRMACCOUNT": "Pievienot \"SugarCRM\" kontu", + "FRESHDESKACCOUNTS": "Freshdesk konti", + "EDIT_FRESHDESKACCOUNT": "Rediģēt Freshdesk kontu", + "DELETE_FRESHDESKACCOUNT": "Dzēst Freshdesk kontu", + "NEW_FRESHDESKACCOUNT": "Jauns Freshdesk konts", + "ADD_FRESHDESKACCOUNT": "Pievienot Freshdesk kontu", + "SUGARCRMACCOUNTS": "SugarCRM konti", + "EDIT_SUGARCRMACCOUNT": "Rediģēt SugarCRM kontu", + "DELETE_SUGARCRMACCOUNT": "Dzēst SugarCRM kontu", + "NEW_SUGARCRMACCOUNT": "Jauns SugarCRM konts", + "ADD_SUGARCRMACCOUNT": "Pievienot SugarCRM kontu", "CONFIGURATIONS": "Konfigurācijas", "NO_CONFIGURATION_AVAILABLE": "Nav pieejamu konfigurāciju", "NEW_CONFIGURATION": "Jauna konfigurācija", @@ -139,10 +139,10 @@ "CHANNEL": "Kanāls", "DELETE": "Dzēst", "NO_AVAILABLE_INFO": "Nav pieejama informācija", - "TEST_ZENDESKACCOUNT": "Pārbaudīt \"Zendesk\" kontu", - "TEST_FRESHDESKACCOUNT": "Pārbaudīt \"Freshdesk\" kontu", - "TEST_SUGARCRMACCOUNT": "Pārbaudīt \"SugerCRM\" kontu", - "TEST_SALESFORCEACCOUNT": "Pārbaudīt \"Salesforce\" kontu", + "TEST_ZENDESKACCOUNT": "Pārbaudīt Zendesk kontu", + "TEST_FRESHDESKACCOUNT": "Pārbaudīt Freshdesk kontu", + "TEST_SUGARCRMACCOUNT": "Pārbaudīt SugarCRM kontu", + "TEST_SALESFORCEACCOUNT": "Pārbaudīt Salesforce kontu", "INTEGRATION_TAB": "Integrācijas cilne", "NEW_TAB": "Jauna cilne", "DESKACCOUNTS": "Darbvirsmas konti", @@ -157,31 +157,31 @@ "ADD_DESKCONFIGURATION": "Pievienot darbvirsmas konfigurāciju", "NEW_DESKCONFIGURATION": "Jauna darbvirsmas konfigurācija", "DELETE_DESKCONFIGURATION": "Dzēst darbvirsmas konfigurāciju", - "ZOHOACCOUNTS": "\"Zoho\" konti", - "EDIT_ZOHOACCOUNT": "Rediģēt \"Zoho\" kontu", - "TEST_ZOHOACCOUNT": "Pārbaudīt \"Zoho\" kontu", - "DELETE_ZOHOACCOUNT": "Dzēst \"Zoho\" kontu", - "ADD_ZOHOACCOUNT": "Pievienot \"Zoho\" kontu", - "NEW_ZOHOACCOUNT": "Jauns \"Zoho\" konts", - "ADD_ZOHOCONFIGURATION": "Pievienot \"Zoho\" konfigurāciju", - "NEW_ZOHOCONFIGURATION": "Jauna \"Zoho\" konfigurācija", + "ZOHOACCOUNTS": "Zoho konti", + "EDIT_ZOHOACCOUNT": "Rediģēt Zoho kontu", + "TEST_ZOHOACCOUNT": "Pārbaudīt Zoho kontu", + "DELETE_ZOHOACCOUNT": "Dzēst Zoho kontu", + "ADD_ZOHOACCOUNT": "Pievienot Zoho kontu", + "NEW_ZOHOACCOUNT": "Jauns Zoho konts", + "ADD_ZOHOCONFIGURATION": "Pievienot Zoho konfigurāciju", + "NEW_ZOHOCONFIGURATION": "Jauna Zoho konfigurācija", "AUTHTOKEN": "Atļaujas marķieris", - "HOST": "Saimnieks", - "DELETE_ZOHOCONFIGURATION": "Dzēst \"Zoho\" konfigurāciju", + "HOST": "Serveris", + "DELETE_ZOHOCONFIGURATION": "Dzēst Zoho konfigurāciju", "PAGE": "Lappuse", - "ROWSPERPAGE": "Rindas lappusē", + "ROWSPERPAGE": "Ieraksti lappusē", "OF": "no", - "ACCESS_KEY": "\"vTiger\" piekļuves atslēga", - "ADD_VTIGERACCOUNT": "Pievienot jaunu \"vTiger\" kontu", - "ADD_VTIGERCONFIGURATION": "Pievienot \"vTiger\" konfigurāciju", - "DELETE_VTIGERACCOUNT": "Dzēst \"vTiger\" kontu", - "DELETE_VTIGERCONFIGURATION": "Dzēst \"vTiger\" konfigurāciju", - "EDIT_VTIGERACCOUNT": "Rediģēt \"vTiger\" kontu", - "MODULE_NAME": "\"vTiger\" moduļa nosaukums", - "NEW_VTIGERACCOUNT": "Jauns \"vTiger\" konts", - "NEW_VTIGERCONFIGURATION": "Izveidot \"vTiger\" konfigurāciju", - "TEST_VTIGERACCOUNT": "Pārbaudīt \"vTiger\" kontu", - "VTIGERACCOUNTS": "\"vTiger\" konti", - "VTIGER_USER_NAME": "\"vTiger\" lietotājvārds" + "ACCESS_KEY": "vTiger piekļuves atslēga", + "ADD_VTIGERACCOUNT": "Pievienot jaunu vTiger kontu", + "ADD_VTIGERCONFIGURATION": "Pievienot vTiger konfigurāciju", + "DELETE_VTIGERACCOUNT": "Dzēst vTiger kontu", + "DELETE_VTIGERCONFIGURATION": "Dzēst vTiger konfigurāciju", + "EDIT_VTIGERACCOUNT": "Rediģēt vTiger kontu", + "MODULE_NAME": "vTiger moduļa nosaukums", + "NEW_VTIGERACCOUNT": "Jauns vTiger konts", + "NEW_VTIGERCONFIGURATION": "Izveidot vTiger konfigurāciju", + "TEST_VTIGERACCOUNT": "Pārbaudīt vTiger kontu", + "VTIGERACCOUNTS": "vTiger konti", + "VTIGER_USER_NAME": "vTiger lietotājvārds" } } \ No newline at end of file diff --git a/public/app/main/apps/jscripty/i18n/lv.json b/public/app/main/apps/jscripty/i18n/lv.json index 68417e1..24447c9 100644 --- a/public/app/main/apps/jscripty/i18n/lv.json +++ b/public/app/main/apps/jscripty/i18n/lv.json @@ -23,7 +23,7 @@ "ADD_PROJECT": "Pievienot projektu", "EDIT_PROJECT": "Rediģēt projektu", "DELETE_PROJECT": "Dzēst projektu", - "JSCRIPTY": "Jscripty", + "JSCRIPTY": "Jscripty", "ID": "ID", "PROJECT": "Projekts", "CREATED_AT": "Izveidots", @@ -50,7 +50,7 @@ "NO_RESULTS_AVAILABLE": "Rezultāti nav pieejami", "TOTAL": "Kopā", "ANSWER": "Atbilde", - "EXPORT_TO_CSV": "Eksportēt uz CSV", + "EXPORT_TO_CSV": "Eksportēt uz CSV", "NO_ANSWERS_AVAILABLE": "Atbildes nav pieejamas", "DELETE_SESSION": "Dzēst sesiju", "RESET_SESSION": "Atjaunot sesiju", diff --git a/public/app/main/apps/mail/i18n/lv.json b/public/app/main/apps/mail/i18n/lv.json index 29558eb..75c8f09 100644 --- a/public/app/main/apps/mail/i18n/lv.json +++ b/public/app/main/apps/mail/i18n/lv.json @@ -1,7 +1,7 @@ { "MAIL": { "ERRORS": { - "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "VALUE_REQUIRED": "Obligāts lauks", "TEXT_REQUIRED": "Obligāts lauks", "NAME_REQUIRED": "Obligāts lauks", @@ -61,7 +61,7 @@ "NAME": "Tiek atbalstīti tikai numuri, burti un atsevišķas rakstzīmes (._)", "USERNAME": "Autentifikācijai izmantotais lietotājvārds", "PASSWORD": "Parole, ko izmanto autentifikācijai", - "SECURE": "Ja tā ir patiesa, savienojumā ar serveri tiks izmantots TLS protokols", + "SECURE": "Ja tā ir patiesa, savienojumā ar serveri tiks izmantots TLS protokols", "FONT_FAMILY": "Noklusējuma fontu saime", "FONT_SIZE": "Noklusējuma fonta izmērs", "MARK_AS_UNREAD": "Iespējot/atspējot aģentu, lai atzīmētu kā nelasītu pēdējo mijiedarbības ziņojumu" @@ -113,16 +113,16 @@ "TOTAL": "Kopā", "IN": "Iekš", "OUT": "Ārpus", - "IMAP_STATUS": "IMAP statuss", - "SMTP_STATUS": "SMTP statuss", + "IMAP_STATUS": "IMAP statuss", + "SMTP_STATUS": "SMTP statuss", "DISABLED": "Atspējots", "CONNECTED": "Savienots", "NEVER_VERIFIED": "Nekad nav apstiprināts", "ERROR": "Kļūda", "EDIT_ACCOUNT": "Rediģēt kontu", - "VERIFY_SMTP": "Pārbaudīt SMTP protokolu", + "VERIFY_SMTP": "Pārbaudīt SMTP protokolu", "VERIFIED": "Verificēts", - "VERIFYSMTP_MAILACCOUNT": "Pārbaudīt SMTP protokolu", + "VERIFYSMTP_MAILACCOUNT": "Pārbaudīt SMTP protokolu", "GOTOREALTIME_MAILACCOUNT": "Doties uz reāllaika e-pasta kontu", "GOTO_MAILACCOUNT": "Doties uz reāllaika e-pasta kontu", "TEXT": "Teksts", @@ -135,12 +135,12 @@ "TO": "Uz", "FROM": "No", "DATE": "Datums", - "CC": "CC (kopija)", + "CC": "CC (kopija)", "REPLY": "Atbildēt", "REPLY_ALL": "Atbildēt visiem", "FORWARD": "Pārsūtīt", "SUBJECT": "Temats", - "BCC": "BCC (diskrētā kopija)", + "BCC": "BCC (diskrētā kopija)", "SEND": "Nosūtīt", "ATTACHMENT": "Pielikums", "ATTACHMENTS": "Pielikumi", @@ -190,10 +190,10 @@ "CONNTIMEOUT": "Savienojuma noildze (sekundēs)", "AUTHTIMEOUT": "Autentifikācijas noildze (sekundēs)", "DELETE": "Dzēst e-pastu no servera", - "SSL": "Standarts SSL", + "SSL": "Standarts SSL", "KEEPALIVE": "Darbojas", "POLLING": "Aptauja", - "SMTP": "SMTP protokols", + "SMTP": "SMTP protokols", "SELECTED": "Atlasīts", "SELECT_ALL": "Atlasīt visus", "SELECT_NONE": "Neizvēlēties nevienu", @@ -224,16 +224,16 @@ "EDIT_AGENT": "Rediģēt aģentu", "EDIT_CLOSE": "Rediģēt aizvēršanu", "DISPOSITION": "Statuss", - "GOTOIF": "\"GotoIf\"", - "EDIT_GOTOIF": "Rediģēt GotoIf", + "GOTOIF": "GotoIf", + "EDIT_GOTOIF": "Rediģēt GotoIf", "CONDITION": "Nosacījums", "TRUEPRIORITY": "Patiesa prioritāte", "FALSEPRIORITY": "Aplama prioritāte", - "GOTOP": "GotoP", - "EDIT_GOTOP": "Rediģēt GotoP", + "GOTOP": "GotoP", + "EDIT_GOTOP": "Rediģēt GotoP", "PRIORITY": "Prioritāte", - "NOOP": "\"Noop\"", - "EDIT_NOOP": "Rediģēt Noop", + "NOOP": "Noop", + "EDIT_NOOP": "Rediģēt Noop", "VALUE": "Vērtība", "QUEUE": "Rinda", "EDIT_QUEUE": "Rediģēt rindu", @@ -246,10 +246,10 @@ "ACTIVE": "Aktīvs", "SECURE": "Drošs", "AUTHENTICATION": "Autentifikācija", - "SMTP_HOST": "SMTP resursdators", - "SMTP_PORT": "SMTP pieslēgvieta", - "IMAP_HOST": "IMAP resursdators", - "IMAP_PORT": "IMAP pieslēgvieta", + "SMTP_HOST": "SMTP resursdators", + "SMTP_PORT": "SMTP pieslēgvieta", + "IMAP_HOST": "IMAP resursdators", + "IMAP_PORT": "IMAP pieslēgvieta", "CONFIRM_PASSWORD": "Apstiprināt paroli", "SELECT_STATUS": "Izvēlieties statusu", "OPENED": "Atvērt", @@ -260,7 +260,7 @@ "ACCOUNT": "Konts", "OPEN": "Atvērt", "KEY": "Atslēga", - "SMTPSERVICE": "SMTP pakalpojums", + "SMTPSERVICE": "SMTP pakalpojums", "UNKNOWN": "Nezināms", "UNREGISTERED": "Nereģistrēts", "UNAVAILABLE": "Nav pieejams", diff --git a/public/app/main/apps/motiondialer/i18n/lv.json b/public/app/main/apps/motiondialer/i18n/lv.json index 69faf0f..fa7ea32 100644 --- a/public/app/main/apps/motiondialer/i18n/lv.json +++ b/public/app/main/apps/motiondialer/i18n/lv.json @@ -1,7 +1,7 @@ { "MOTIONDIALER": { "LEGEND": { - "CUSTOM_APPLICATION": "(*) – Pielāgots pieteikums." + "CUSTOM_APPLICATION": "(*) – Pielāgota aplikācija." }, "ERRORS": { "EMAIL_REQUIRED": "Obligāts lauks", @@ -89,7 +89,7 @@ "CALLYSQUAREPROJECTPREVIEW2": "Izvēloties interaktīvās balss atbildes projektu, zvanītājs pārsūta zvanu uz interaktīvās balss atbildi, kad klients noliek klausuli vai ir nesasniedzams (interaktīvās balss atbilde tiks novirzīta aģentam)", "RUNIFHANGUPAGENT": "Palaist \"Cally Square\" projektu pat tad, ja aģents noliek klausuli", "CALLYSQUAREPROJECT2": "Izvēloties interaktīvās balss atbildes projektu, zvanītājs pārsūta zvanu uz interaktīvās balss atbildi pēc rindas (ja rinda beidzas ar noildzi)", - "DIALORDERBYSCHEDULEDAT": "Saņemt kontaktus no \"Hopper\" (dilstošā vai augošā secībā).", + "DIALORDERBYSCHEDULEDAT": "Saņemt kontaktus no Hopper (dilstošā vai augošā secībā).", "DIALRECALLINQUEUE": "Zvana atjaunošanas aicinājums aģentiem rindā", "DIALRECALLMETIMEOUT": "Laika intervāls (minūtēs) atzvanīšanas spēkā esamības termiņam", "PRIORITY": "Prioritāte sarakstā", @@ -104,7 +104,7 @@ "AMDBETWEENWORDSSILENCE": "Minimālais klusuma ilgums pēc vārda, lai ņemtu vērā audio, kas seko kā jauns vārds", "AMDMAXIMUMNUMBEROFWORDS": "Maksimālais vārdu skaits sasveicināšanās laikā. Ja SASNIEGTS, tiek konstatēts kā mašīna", "CALLYSQUAREPROJECT": "Izvēloties interaktīvās balss atbildes projektu, zvanītājs pārsūta zvanu uz interaktīvās balss atbildi pirms rindas", - "PREFIX": "Tālruņa priedēklis", + "PREFIX": "Prefikss", "ACTIVE": "Aktīvs", "AGENTTIMEOUT": "Cik ilgi (sekundēs) zvanīt aģenta ierīcei", "MAXLENGTH": "Maksimālais zvanītāju skaits, kam ir atļauts gaidīt rindā (0 = neierobežots)", @@ -170,10 +170,10 @@ }, "NO_AVAILABLE_INFO": "Nav pieejama informācija", "TIMEOUT": "Noildze", - "CALLYSQUAREPROJECTPREVIEW": "\"Cally Square\" projekta priekšskatījums", - "CALLYSQUAREPROJECTPREVIEW2": "\"Cally Square\" projekts pēc priekšskatījuma", - "RUNIFHANGUPAGENT": "Palaist \"Cally Square\" projektu pat tad, ja aģents noliek klausuli", - "CALLYSQUAREPROJECT2": "\"Cally Square\" projekts pēc rindas", + "CALLYSQUAREPROJECTPREVIEW": "Cally Square projekta priekšskatījums", + "CALLYSQUAREPROJECTPREVIEW2": "Cally Square projekts pēc priekšskatījuma", + "RUNIFHANGUPAGENT": "Palaist Cally Square projektu pat tad, ja aģents noliek klausuli", + "CALLYSQUAREPROJECT2": "Cally Square projekts pēc rindas", "NO_AGENT_ONLINE": "Nav aģenta tiešsaistē", "PARTIALPAUSE": "Daļēja pauze", "ALL": "Visi", @@ -183,7 +183,7 @@ "RESTORECONTACTS": "Atjaunot kontaktpersonas", "NO_SUCH_NUMBER": "Nav šāda numura", "DIALORDERBYSCHEDULEDAT": "Kārtot pēc datuma", - "ASC": "ASC", + "ASC": "ASC", "DESC": "Apraksts", "RECALLAGENT": "Atzvanošais aģents", "DIALRECALLINQUEUE": "Atzvanīt rindā", @@ -192,9 +192,9 @@ "RECALLFAILEDTIMEOUT": "Atzvanīšana neizdevās", "PREVIEW_CAMPAIGN": "Kampaņu priekšskatīšana", "PREVIEW_CAMPAIGNS": "Kampaņu priekšskatīšana", - "AMD": "\"Asterisk\" automātiskā atbildētāja noteikšana (AMD)", + "AMD": "\"Asterisk\" automātiskā atbildētāja noteikšana (AMD)", "AMDTOTALANALYSISTIME": "Kopējais analīzes laiks", - "AMDACTIVE": "AMD", + "AMDACTIVE": "AMD", "AMDINITIALSILENCE": "Sākotnējais klusums", "AMDGREETING": "Sasveicināšanās", "AMDAFTERGREETINGSILENCE": "Klusums pēc sasveicināšanās", @@ -211,16 +211,16 @@ "EDIT_CAMPAIGN": "Rediģēt kampaņu", "LIMITED": "Ierobežots", "IVR_CAMPAIGNS": "Interaktīvās balss atbildes kampaņas", - "MOTIONDIALER": "\"Motion Bull\"", + "MOTIONDIALER": "Motion Bull", "QUEUECAMPAIGNS": "Rindas kampaņas", "IVRCAMPAIGNS": "Interaktīvās balss atbildes kampaņas", "MANAGED": "Pārvaldīts", "AVAILABLE_CONTACTS_FINISHED": "Pieejamie kontakti ir pabeigti", "HISTORY": "Vēsture", "SCHEDULEDAT": "Ieplānots", - "HOPPERBLACKS": "\"Hopper\" melnais saraksts", + "HOPPERBLACKS": "Hopper melnais saraksts", "NO_HOPPERBLACK_AVAILABLE": "Nav pieejami vienumi", - "HOPPERFINALS": "\"Hopper Final\"", + "HOPPERFINALS": "Hopper Final", "NO_HOPPERFINAL_AVAILABLE": "Nav pieejami vienumi", "HOPPERHISTORIES": "Zvanu vēsture", "NO_HOPPERHISTORY_AVAILABLE": "Nav pieejami vienumi", @@ -231,10 +231,10 @@ "RESPONSETIME": "Reakcijas laiks", "ENDTIME": "Beigu laiks", "STATUS": "Statuss", - "HOPPERS": "\"Hopper\"", + "HOPPERS": "Hopper", "NO_HOPPER_AVAILABLE": "Nav pieejami vienumi", - "EDIT_HOPPER": "Rediģēt \"Hopper\"", - "DELETE_HOPPER": "Dzēst \"Hopper\"", + "EDIT_HOPPER": "Rediģēt Hopper", + "DELETE_HOPPER": "Dzēst Hopper", "FINAL": "Galīgais", "BLACKLIST": "Melnais saraksts", "NAME": "Nosaukums", @@ -248,7 +248,7 @@ "EDIT_VOICEDISPOSITION": "Rediģēt balss statusu", "EDIT_VOICEQUEUE": "Rediģēt balss rindu", "DELETE_VOICEQUEUE": "Dzēst balss rindu", - "MOHSOUNDS": "Moh skaņas", + "MOHSOUNDS": "Moh skaņas", "STRATEGY": "Stratēģija", "DESCRIPTION": "Apraksts", "INTERVAL": "Laika intervāls", @@ -272,7 +272,7 @@ "ORIGINATETIMEOUT": "Izcelsmes noildze", "QUEUEOPTIONS": "Rindas iespējas", "QUEUETIMEOUT": "Rindas noildze", - "CALLYSQUAREPROJECT": "\"Cally Square\" projekts", + "CALLYSQUAREPROJECT": "Cally Square projekts", "RETRYANDFREQUENCY": "Atkārtota mēģinājuma iestatījumi", "GLOBAL": "Globāls", "GLOBALMAXRETRY": "Maksimālais atkārtojumu skaits", @@ -382,13 +382,13 @@ "DIRECTORY": "Katalogs", "AUDIOFILES": "Audiodatnes", "RECORDINGS": "Ieraksti", - "CHANSPY": "\"ChanSpy\"", + "CHANSPY": "ChanSpy", "PREFIX": "Priedēklis", "OPTIONS": "Iespējas", "AUTH": "Autorizācija", - "ADD_CHANSPY": "Pievienot \"ChanSpy\"", - "EDIT_CHANSPY": "Rediģēt \"ChanSpy\"", - "DELETE_CHANSPY": "Dzēst \"ChanSpy\"", + "ADD_CHANSPY": "Pievienot ChanSpy", + "EDIT_CHANSPY": "Rediģēt ChanSpy", + "DELETE_CHANSPY": "Dzēst ChanSpy", "AGENTS": "Aģenti", "TELEPHONES": "Tālruņi", "QUEUES": "Rindas", @@ -396,7 +396,7 @@ "QUEUE_PARAMETERS": "Rindas parametri", "ABANDONED_CALLS": "Pamesti zvani", "OUTBOUND_CALLS": "Izejošie zvani", - "AGI": "AGI", + "AGI": "AGI", "DIAL": "Skala", "INTERNALDIAL": "Iekšējais zvans", "EXTERNALDIAL": "Ārējā skala", @@ -405,10 +405,10 @@ "QUEUE": "Rinda", "SET": "Iestatīt", "VOICEMAIL": "Balss pasts", - "GOTO": "GoTo", + "GOTO": "GoTo", "HANGUP": "Nolikt klausuli", "CUSTOM": "Pielāgots", - "PROJECT": "\"Cally-Square\" projekts", + "PROJECT": "Cally-Square projekts", "TECHNOLOGY/RESOURCE": "Tehnoloģija/resurss", "URL": "Tīmekļa adrese", "EDIT_APP": "Rediģēt lietojumprogrammu", @@ -421,12 +421,12 @@ "AUDIO_FILES": "Audiodatnes", "ANNOUNCE_OVERRIDES": "Paziņot par ignorēšanu", "MACRO": "Makro", - "GOSUB": "GoSub", + "GOSUB": "GoSub", "RULE": "Noteikums", "POSITION": "Pozīcija", "ANSWER": "Atbilde", "VALUE": "Vērtība", - "MAILBOX@CONTEXT": "Mailbox@Context", + "MAILBOX@CONTEXT": "Mailbox@Context", "EXTENSION": "Paplašinājums", "PRIORITY": "Prioritāte", "HANGUP_CAUSE": "Klausules nolikšanas iemesls", @@ -435,13 +435,13 @@ "NO_MESSAGE_AVAILABLE": "Nav pieejams neviens ziņojums", "NO_SOUND_AVAILABLE": "Nav skaņu", "VOICERECORDINGS": "Balss ieraksti", - "CHANSPIES": "\"ChanSpy\"", + "CHANSPIES": "ChanSpy", "VOICE": "Balss", "REALTIME": "Reāllaika", "ID": "ID", "VOICEMAIL_CONTEXT": "Konteksts", "NO_MOHSOUND_AVAILABLE": "Nav pieejama noturēšanas mūzika", - "FILE": "Datne", + "FILE": "Fails", "ADD_MOHSOUND": "Pievienot noturēšanas mūziku", "DOWNLOAD_MOHSOUND": "Lejupielādēt noturēšanas mūziku", "DELETE_MOHSOUND": "Dzēst noturēšanas mūziku", @@ -458,12 +458,12 @@ "NEW_CONTEXT": "Jauns konteksts", "NEW_VOICEMAIL": "Jauns balss pasts", "NEW_MUSICONHOLD": "Jauna noturēšanas mūzika", - "NEW_CHANSPY": "Jauns \"ChanSpy\"", - "PENALTY": "Sods", + "NEW_CHANSPY": "Jauns ChanSpy", + "PENALTY": "Prioritāte", "ADD_TEAM_TO_VOICEQUEUE": "Pievienot komandu balss rindai", "ADD_AGENT_TO_VOICEQUEUE": "Pievienot aģentu balss rindai", "EDIT_DIAL": "Rediģēt numuru", - "EDIT_AGI": "Rediģēt AGI", + "EDIT_AGI": "Rediģēt AGI", "EDIT_INTERNALDIAL": "Rediģēt iekšējo numuru", "EDIT_EXTERNALDIAL": "Rediģēt ārējo numuru", "EDIT_RINGGROUP": "Rediģēt zvana grupu", @@ -513,12 +513,12 @@ "TRUNKS": "Maģistrāles", "REGISTRY": "Reģistrs", "NO_REGISTRY": "Nav reģistra", - "LOGGED_IN": "Pierakstījies (SIP savienots)", + "LOGGED_IN": "Pierakstījies (SIP savienots)", "PAUSED": "Apturēts", "DISPOSITION": "Statuss", "WAITING": "Gaida", "TALKING": "Runāšana", - "DID": "DID", + "DID": "DID", "CALLER": "Zvanītājs", "TOTAL": "Kopā", "ANSWERED": "Atbildēts", diff --git a/public/app/main/apps/openchannel/i18n/lv.json b/public/app/main/apps/openchannel/i18n/lv.json index d50e0ab..3e1ec31 100644 --- a/public/app/main/apps/openchannel/i18n/lv.json +++ b/public/app/main/apps/openchannel/i18n/lv.json @@ -1,7 +1,7 @@ { "OPENCHANNEL": { "ERRORS": { - "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "VALUE_REQUIRED": "Obligāts lauks", "TEXT_REQUIRED": "Lauka teksts ir nepieciešams", "NAME_REQUIRED": "Obligāts lauks", @@ -45,7 +45,7 @@ "QUEUETRANSFERTIMEOUT_REQUIRED": "Obligāts lauks" }, "HELP": { - "RECEIVEURI": "Automātiski ģenerēta API virkne, kas ir jāizmanto, lai saņemtu ziņojumus atvērtajā kanālā no ārējās lietojumprogrammas (izmantojot POST metodi). Noklikšķiniet uz starpliktuves pogas, lai to kopētu ", + "RECEIVEURI": "Automātiski ģenerēta API virkne, kas ir jāizmanto, lai saņemtu ziņojumus atvērtajā kanālā no ārējās lietojumprogrammas (izmantojot POST metodi). Noklikšķiniet uz starpliktuves pogas, lai to kopētu ", "REPLYURI": "Tīmekļa adrese, ar ko sazināsies atvērtais kanāls, nosūtot vai atbildot uz ziņojumu. Plašāku informāciju skatiet dokumentā šeit", "NAME": "Tiek atbalstīti tikai numuri, burti un atsevišķas rakstzīmes (._)", "LIST": "Kontaktpersonu pārvaldnieka saraksts, ko izmanto, lai saistītu kontaktpersonas", @@ -61,7 +61,7 @@ "TAGS": "Atzīmes", "SPYINTERACTION": "Spiegot", "NO_AGENT_ONLINE": "Nav aģenta tiešsaistē", - "GOTOREALTIME_OPENCHANNELQUEUE": "Iet uz reāllaika \"Open Channel\" rindu", + "GOTOREALTIME_OPENCHANNELQUEUE": "Iet uz reāllaika Open Channel rindu", "PARTIALPAUSE": "Daļēja pauze", "BUSY": "Aizņemts", "TIMER": "Taimers", @@ -73,18 +73,18 @@ "EDIT_AUTOREPLY": "Rediģēt automātisko atbildi", "AUTOREPLY": "Automātiskā atbilde", "NAME": "Nosaukums", - "OPENCHANNELQUEUES": "\"Open Channel\" rindas", + "OPENCHANNELQUEUES": "Open Channel rindas", "SEARCH_FOR_ANYONE": "Meklēt", "STRATEGY": "Stratēģija", "AGENT": "Aģents", - "GOTO": "\"Goto\"", - "GOTOIF": "\"Gotoif\"", - "NOOP": "\"Noop\"", + "GOTO": "Goto", + "GOTOIF": "Gotoif", + "NOOP": "Noop", "QUEUE": "Rinda", "EDIT_AGENT": "Rediģēt aģentu", - "EDIT_GOTO": "Rediģēt Goto", - "EDIT_NOOP": "Rediģēt Noop", - "EDIT_GOTOIF": "Rediģēt \"Gotoif\"", + "EDIT_GOTO": "Rediģēt Goto", + "EDIT_NOOP": "Rediģēt Noop", + "EDIT_GOTOIF": "Rediģēt Gotoif", "EDIT_QUEUE": "Rediģēt rindu", "CONDITION": "Nosacījums", "TRUEPRIORITY": "Patiesa prioritāte", @@ -93,24 +93,24 @@ "PRIORITY": "Prioritāte", "AGENT_TIMEOUT": "Aģenta noildze", "DESCRIPTION": "Apraksts", - "ADD_OPENCHANNELQUEUE": "Pievienot \"Open Channel\" rindu", - "EDIT_OPENCHANNELQUEUE": "Rediģēt \"Open Channel\" rindu", - "DELETE_OPENCHANNELQUEUE": "Dzēst \"Open Channel\" rindu", + "ADD_OPENCHANNELQUEUE": "Pievienot Open Channel rindu", + "EDIT_OPENCHANNELQUEUE": "Rediģēt Open Channel rindu", + "DELETE_OPENCHANNELQUEUE": "Dzēst Open Channel rindu", "PENALTY": "Sods", - "TEAMADD_OPENCHANNELQUEUE": "Pievienot komandu \"Open Channel\" rindai", - "AGENTADD_OPENCHANNELQUEUE": "Pievienot aģentu \"Open Channel\" rindai", + "TEAMADD_OPENCHANNELQUEUE": "Pievienot komandu Open Channel rindai", + "AGENTADD_OPENCHANNELQUEUE": "Pievienot aģentu Open Channel rindai", "ALL_AGENTS": "Visi aģenti", "SELECTED_AGENTS": "Atlasītie aģenti", "CREATED_AT": "Izveidots", "SAVE": "Saglabāt", "SETTINGS": "Iestatījumi", "GENERAL": "Vispārīgi", - "OPENCHANNELACCOUNTS": "\"Open Channel\" konti", + "OPENCHANNELACCOUNTS": "Open Channel konti", "MOTIONADDRESS": "Kustības adrese", - "ADD_OPENCHANNELACCOUNT": "Pievienot \"Open Channel\" kontu", - "EDIT_OPENCHANNELACCOUNT": "Rediģēt \"Open Channel\" kontu", - "DELETE_OPENCHANNELACCOUNT": "Dzēst \"Open Channel\" kontu", - "API": "API", + "ADD_OPENCHANNELACCOUNT": "Pievienot Open Channel kontu", + "EDIT_OPENCHANNELACCOUNT": "Rediģēt Open Channel kontu", + "DELETE_OPENCHANNELACCOUNT": "Dzēst Open Channel kontu", + "API": "API", "DISPOSITIONS": "Statusi", "WEBHOOKS": "Tīmekļa aizķeres", "ACTIONS": "Darbības", @@ -132,13 +132,13 @@ "OPENCHANNEL": "Atvērt kanālu", "ID": "ID", "TIMEOUT": "Noildze", - "OPENCHANNELDISPOSITIONS": "\"Open Channel\" statusi", - "NO_OPENCHANNELDISPOSITION_AVAILABLE": "Nav pieejami \"Open Channel\" statusi", - "NEW_OPENCHANNELDISPOSITION": "Jauns \"Open Channel\" statuss", - "ADD_OPENCHANNELDISPOSITION": "Pievienot \"Open Channel\" statusu", - "EDIT_OPENCHANNELDISPOSITION": "Rediģēt \"Open Channel\" statusu", - "DELETE_OPENCHANNELDISPOSITION": "Dzēst \"Open Channel\" statusu", - "NEW_OPENCHANNELQUEUE": "Jauna \"Open Channel\" rinda", + "OPENCHANNELDISPOSITIONS": "Open Channel statusi", + "NO_OPENCHANNELDISPOSITION_AVAILABLE": "Nav pieejamo Open Channel statusi", + "NEW_OPENCHANNELDISPOSITION": "Jauns Open Channel statuss", + "ADD_OPENCHANNELDISPOSITION": "Pievienot Open Channel statusu", + "EDIT_OPENCHANNELDISPOSITION": "Rediģēt Open Channel statusu", + "DELETE_OPENCHANNELDISPOSITION": "Dzēst Open Channel statusu", + "NEW_OPENCHANNELQUEUE": "Jauna Open Channel rinda", "NEW_OPENCHANNELACCOUNT": "Jauns atvērto kanālu konts", "NO_AVAILABLE_INFO": "Nav pieejama informācija", "ALL_TEAMS": "Visas komandas", @@ -167,7 +167,7 @@ "NO_INTERACTION_AVAILABLE": "Nav pieejama saziņa", "SELECT_ACCOUNT": "Atlasīt kontu", "GOTOP": "\"Gotop\"", - "EDIT_GOTOP": "Rediģēt Gotop", + "EDIT_GOTOP": "Rediģēt Gotop", "EDIT_CLOSE": "Rediģēt aizvēršanu", "INFO": "Informācija", "KEY": "Atslēga", @@ -185,7 +185,7 @@ "PHONE_STATUS": "Tālruņa statuss", "PAUSE": "Pauze", "LOGOUT": "Atteikšanās", - "AGENTADD_QUEUE": "Pievienot aģentu \"Open Channel\" rindai", + "AGENTADD_QUEUE": "Pievienot aģentu Open Channel rindai", "UNPAUSE": "Pārtraukt pauzi", "DEFAULT_PAUSE": "Noklusējuma pauze", "LOGGED_IN": "Pieteicies", @@ -197,7 +197,7 @@ "MAIL": "E-pasts", "SMS": "Īsziņa", "FAX": "Fakss", - "AGENTSADD_QUEUE": "Pievienot aģentus \"Open Channel\" rindai", + "AGENTSADD_QUEUE": "Pievienot aģentus Open Channel rindai", "INTERACTIONS_OPENCHANNELACCOUNT": "Doties uz saziņu", "REFRESH_INTERACTIONS": "Pārlādēt saziņu", "DELETE_INTERACTION": "Dzēst saziņu", @@ -216,7 +216,7 @@ "TOKEN": "Marķieris", "EDIT_TAG": "Rediģēt atzīmi", "TAG": "Atzīme", - "AGENTADD_OPENCHANNELACCOUNT": "Pievienot aģentu \"Openchannel\" kontam", + "AGENTADD_OPENCHANNELACCOUNT": "Pievienot aģentu Openchannel kontam", "CANNED_ANSWER_NOT_FOUND": "Netika atrastas standarta atbildes", "CANNED_ANSWER_SEARCH": "Ievadiet tekstu, lai meklētu standarta atbildi", "MAPKEY": "Kartes atslēga", diff --git a/public/app/main/apps/settings/i18n/lv.json b/public/app/main/apps/settings/i18n/lv.json index b948af6..96f9e05 100644 --- a/public/app/main/apps/settings/i18n/lv.json +++ b/public/app/main/apps/settings/i18n/lv.json @@ -2,7 +2,7 @@ "SETTINGS": { "PREFERRED": "Vēlamais logotips", "DEFAULT_PREFERRED": "Noklusētais logotips", - "MOTIONBAR": "\"Motionbar\"", + "MOTIONBAR": "Motionbar", "ERRORS": { "ADDRESS_REQUIRED": "Obligāts lauks", "MIN_INTERNAL_REQUIRED": "Obligāts lauks", @@ -32,20 +32,20 @@ "HELP": { "ADDRESS": "Ārējā (publiskā) IP adrese", "LOCALNETADDRESS": "Vietējā IP adrese/apakštīkls", - "SMTP_SECURE": "Ja tā ir patiesa, savienojumā ar serveri tiks izmantots TLS protokols", + "SMTP_SECURE": "Ja tā ir patiesa, savienojumā ar serveri tiks izmantots TLS protokols", "SMTP_USERNAME": "Autentifikācijai izmantotais lietotājvārds", "SMTP_PASSWORD": "Parole, ko izmanto autentifikācijai", "EMAILADDRESS": "Ziņojuma izcelsme \"E-pasta adrese (no)\"", "SECURITY_SUITE": "Iespējo drošās paroles formātu, obligāto paroles atiestatīšanu pēc pirmās pieteikšanās un paroles termiņa beigas pēc 90 dienām", - "MOTIONBARREMEMBERME": "Aktivizēt/atspējot \"Atcerēties mani\" iespēju \"Motion\" tālruņa joslā." + "MOTIONBARREMEMBERME": "Aktivizēt/atspējot \"Atcerēties mani\" iespēju Motion tālruņa joslā." }, - "SMTP_SSL": "Protokola SMTP standarts SSL", + "SMTP_SSL": "Protokola SMTP standarts SSL", "CALL_RECORDING_ENCRYPTION": "Balss ieraksta šifrēšana", - "TURNADDR": "TURN adrese", - "TURN_USERNAME": "TURN lietotājvārds", - "TURN_PASSWORD": "TURN parole", - "WEBRTC": "\"WebRTC\"", - "CALLYSQUARE": "\"Cally Square\"", + "TURNADDR": "TURN adrese", + "TURN_USERNAME": "TURN lietotājvārds", + "TURN_PASSWORD": "TURN parole", + "WEBRTC": "WebRTC", + "CALLYSQUARE": "Cally Square", "ENABLED": "Iespējots", "DISABLED": "Atspējots", "UNLIMITED_CHANNELS": "Neierobežoti kanāli", @@ -70,22 +70,22 @@ "MAIL": "E-pasts", "MESSAGING": "Īsziņa", "FAX": "Fakss", - "OPENCHANNEL": "Atvērt kanālu", + "OPENCHANNEL": "Open channel", "AGENTS": "Aģenti", "USERS": "Lietotāji", "TELEPHONES": "Tālruņi", "STAFF": "Personāls", "CHANNELS": "Kanāli", "MODULES": "Moduļi", - "CM": "Kontaktpersonu pārvaldnieks", + "CM": "Kontaktu pārvaldnieks", "DIALER": "Zvanītājs", - "JSCRIPTY": "Jscripty", + "JSCRIPTY": "Jscripty", "CUSTOM": "Pielāgošana", "UPDATE": "Atjaunināt", "OTHERS": "Citi", "SETTINGS": "Iestatījumi", "GENERAL": "Vispārīgi", - "SMTP": "SMTP protokols", + "SMTP": "SMTP protokols", "NETWORKS": "Tīkli", "UPDATES": "Atjauninājumi", "LICENSE": "Licence", @@ -137,11 +137,11 @@ "PM2_LOGS": "Straumēt visas procesu žurnāldatnes, ja vien nav sniegts konkrēts procesa ID vai nosaukums", "PASSWORD": "Parole", "NO_AVAILABLE_INFO": "Nav pieejama informācija", - "STUNADDR": "STUN adrese", + "STUNADDR": "STUN adrese", "CHANGELOG": "Izmaiņu žurnāls", "CURRENT_VERSION": "Pašreizējā versija", "CUSTOMIZATIONS": "Pielāgojumi", - "LOCALNETADDRESS": "\"Localnet\" adrese", + "LOCALNETADDRESS": "Lokālā tīkla adrese", "NEW_VERSION": "Jauna versija", "TRIAL_VERSION": "Izmēģinājuma versija", "TOKEN": "Marķieris", @@ -171,17 +171,17 @@ "ANNUALLY": "Katru gadu", "MOTIONBARAUTOUPDATER": "Automātiskais atjaunotājs", "MOTIONBARAUTOUPDATERURL": "Automātiskās atjaunināšanas tīmekļa adrese", - "JAWS": "\"Jaws\"", + "JAWS": "JAWS", "ENABLEEMAILPREVIEW": "Iespējot e-pasta priekšskatījumu", "REPORT": "Ziņojums", "SPLIT": "Dalītais pārskats", - "SPLITSIZECSV": "Dalītā pārskata izmērs (CSV formāts)", - "SPLITSIZEPDF": "Dalītā pārskata izmērs (PDF formāts)", - "SPLITSIZEXLSX": "Dalītā pārskata izmērs (XLSX formāts)", - "AGENTOMNIDESKTOPINTERFACE": "Aģenta \"Omni Desktop\" saskarne", + "SPLITSIZECSV": "Dalītā pārskata izmērs (CSV formāts)", + "SPLITSIZEPDF": "Dalītā pārskata izmērs (PDF formāts)", + "SPLITSIZEXLSX": "Dalītā pārskata izmērs (XLSX formāts)", + "AGENTOMNIDESKTOPINTERFACE": "Aģenta Omni Desktop saskarne", "MESSAGESALIGNMENT": "Ziņojumu izlīdzināšana", "ENTER_LICENSE": "Ievadiet savas licences datus", - "EXPIRATION_CHANGED_ADVISE": "Sazinieties ar \"xCALLY Motion Licence\" komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", + "EXPIRATION_CHANGED_ADVISE": "Sazinieties ar xCALLY Motion komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", "EXPIRATION_REASON_MESSAGE_DISABLED": "Jūsu licence ir atspējota.", "UPDATE_LICENSE_MANUALLY": "Vai vēlaties manuāli atjaunināt savu licenci?", "ADDONS": "Papildinājumi", diff --git a/public/app/main/apps/sms/i18n/lv.json b/public/app/main/apps/sms/i18n/lv.json index 348fb8d..cde4e1a 100644 --- a/public/app/main/apps/sms/i18n/lv.json +++ b/public/app/main/apps/sms/i18n/lv.json @@ -1,15 +1,15 @@ { "SMS": { "ERRORS": { - "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "TEXT_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "TEXT_REQUIRED": "Obligāts lauks", "VALUE_REQUIRED": "Obligāts lauks", - "SENDERSTRING_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "SENDERSTRING_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "SENDERSTRING_MUST_VALID_PATTERN": "Nepareizs formāts", "METHOD_REQUIRED": "Obligāts lauks", "MOTIONPROXY_REQUIRED": "Obligāts lauks", "MOTIONPROXY_MUST_VALID_URL": "Nepareizs formāts", - "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "KEY_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "KEY_REQUIRED": "Obligāts lauks", "NAME_REQUIRED": "Obligāts lauks", "AGENT_TIMEOUT_REQUIRED": "Obligāts lauks", @@ -58,8 +58,8 @@ "MOTIONPROXY": "Laukam ir jābūt formatētam šādi: : //[:]. Piemērs: https://XYZW", "NAME": "Tiek atbalstīti tikai numuri, burti un atsevišķas rakstzīmes (._)", "LIST": "Kontaktpersonu pārvaldnieku saraksts tiek izmantots, lai saistītu kontaktpersonas", - "RECEIVEURL": "Šī ir automātiski ģenerētā API virkne, kas ir jāizmanto, lai saņemtu īsziņas jūsu konta ietvaros no īsziņu pakalpojumu sniedzēja (jāizmanto POST metode): noklikšķiniet uz starpliktuves pogas, lai to kopētu", - "DELIVERYREPORTURL": "Šī ir automātiski ģenerētā API virkne, kas ir jāizmanto, lai saņemtu īsziņu piegādes ziņojumu no jūsu īsziņu pakalpojumu sniedzēja (jāizmanto POST metode): noklikšķiniet uz starpliktuves pogas, lai to kopētu" + "RECEIVEURL": "Šī ir automātiski ģenerētā API virkne, kas ir jāizmanto, lai saņemtu īsziņas jūsu konta ietvaros no īsziņu pakalpojumu sniedzēja (jāizmanto POST metode): noklikšķiniet uz starpliktuves pogas, lai to kopētu", + "DELIVERYREPORTURL": "Šī ir automātiski ģenerētā API virkne, kas ir jāizmanto, lai saņemtu īsziņu piegādes ziņojumu no jūsu īsziņu pakalpojumu sniedzēja (jāizmanto POST metode): noklikšķiniet uz starpliktuves pogas, lai to kopētu" }, "NO_SMSDISPOSITIONS_AVAILABLE": "Nav pieejams īsziņu statuss", "NO_SMSCANNEDANSWER_AVAILABLE": "Nav pieejamas standarta atbildes", @@ -125,7 +125,7 @@ "DELETE_SMSACCOUNT": "Dzēst īsziņu kontu", "LIST": "Saraksts", "FIDELITY": "Uzticība", - "API": "API", + "API": "API", "DISPOSITIONS": "Statusi", "WEBHOOKS": "Tīmekļa aizķeres", "ACTIONS": "Darbības", @@ -173,23 +173,23 @@ "CLOSEDAT": "Aizvērts", "DISPOSITION": "Statuss", "NOTES": "Piezīmes", - "GOTO": "\"Goto\"", - "GOTOIF": "\"Gotoif\"", - "NOOP": "\"Noop\"", + "GOTO": "Goto", + "GOTOIF": "Gotoif", + "NOOP": "Noop", "QUEUE": "Rinda", "TIMEOUT": "Noildze", "VALUE": "Vērtība", "EDIT_AGENT": "Rediģēt aģentu", - "EDIT_GOTO": "Rediģēt Goto", - "EDIT_NOOP": "Rediģēt Noop", - "EDIT_GOTOIF": "Rediģēt \"Gotoif\"", + "EDIT_GOTO": "Rediģēt Goto", + "EDIT_NOOP": "Rediģēt Noop", + "EDIT_GOTOIF": "Rediģēt Gotoif", "EDIT_QUEUE": "Rediģēt rindu", "CONDITION": "Nosacījums", "TRUEPRIORITY": "Patiesa prioritāte", "FALSEPRIORITY": "Aplama prioritāte", "PRIORITY": "Prioritāte", - "GOTOP": "\"Gotop\"", - "EDIT_GOTOP": "Rediģēt Gotop", + "GOTOP": "Gotop", + "EDIT_GOTOP": "Rediģēt Gotop", "EDIT_CLOSE": "Rediģēt aizvēršanu", "FILTER": "Filtrs", "SELECT_STATUS": "Izvēlieties statusu", diff --git a/public/app/main/apps/staff/i18n/lv.json b/public/app/main/apps/staff/i18n/lv.json index bc6054e..733a885 100644 --- a/public/app/main/apps/staff/i18n/lv.json +++ b/public/app/main/apps/staff/i18n/lv.json @@ -1,7 +1,7 @@ { "STAFF": { "ERRORS": { - "ENCRYPTION": "SRTP (droša reāllaika protokola) šifrēšana", + "ENCRYPTION": "SRTP (droša reāllaika protokola) šifrēšana", "DTLSCERTFILE_REQUIRED": "Obligāts lauks", "DTLSPRIVATEKEY_REQUIRED": "Obligāts lauks", "FULLNAME_REQUIRED": "Obligāts lauks", @@ -39,15 +39,15 @@ }, "HELP": { "LAST_PASSWORD_RESET_AT": "Pēdējais datums un laiks, kad parole ir mainīta. Ja ir iespējots vispārējais iestatījums, paroles derīguma termiņš beidzas pēc 90 dienām.", - "DTLSCERTFILE": "Saite uz derīgo TLS sertifikātu (.crt datni). Noklusējuma vērtība: '/etc/pki/tls/certs/motion.crt'.", - "DTLSPRIVATEKEY": "Saite uz sertifikāta privāto atslēgu (.key datne). Noklusējuma vērtība: '/etc/pki/tls/private/motion.key'.", + "DTLSCERTFILE": "Saite uz derīgo TLS sertifikātu (.crt datni). Noklusējuma vērtība: '/etc/pki/tls/certs/motion.crt'.", + "DTLSPRIVATEKEY": "Saite uz sertifikāta privāto atslēgu (.key datne). Noklusējuma vērtība: '/etc/pki/tls/private/motion.key'.", "ALLOWCODECS": "Atļautie kodeki pēc izvēles", "TRANSPORT": "Iestatiet noklusējuma transportēšanu pēc izvēles", "HOST": "Kā atrast klientu – IP vai resursdatora nosaukums. Ja vēlaties, lai tālrunis tiktu reģistrēts, izmantojiet atslēgvārdu dinamiku, nevis resursdatora IP", "NAT": "Maina \"Asterisk\" darbību klientiem aiz ugunsmūra. Ja kāda no opcijām, kas ir atdalītas ar komatiem, ir \"Nē\", \"Asterisk\" ignorēs citus iestatījumus un iestatīs nat = no", "SIPEXPIRES": "Noklusējums: 160", "SIPPORT": "Noklusējums: 5060", - "TYPE": "Nosaka SIP lomu \"Asterisk\" ietvaros Lietotājs: izmanto, lai autentificētu ienākošo – Biedrs: izejošajiem zvaniem – Draugs: iekļauj abas iepriekš minētās īpašības", + "TYPE": "Nosaka SIP lomu \"Asterisk\" ietvaros Lietotājs: izmanto, lai autentificētu ienākošo – Biedrs: izejošajiem zvaniem – Draugs: iekļauj abas iepriekš minētās īpašības", "CHATCAPACITY": "Maksimālais vienlaicīgu kanālu mijiedarbību skaits vienam aģentam (0 = neierobežots)", "MAILCAPACITY": "Maksimālais vienlaicīgu kanālu mijiedarbību skaits vienam aģentam (0 = neierobežots)", "FAXCAPACITY": "Maksimālais vienlaicīgu kanālu mijiedarbību skaits vienam aģentam (0 = neierobežots)", @@ -56,17 +56,17 @@ "CALLGROUP": "Aģenta zvanu grupa", "PICKUPGROUP": "Grupas, kurās aģents var atbildēt uz zvaniem", "USERNAME": "Tiek atbalstīti tikai numuri, burti un atsevišķas rakstzīmes (._)", - "ENCRYPTION": "SRTP (droša reāllaika protokola) šifrēšana", + "ENCRYPTION": "SRTP (droša reāllaika protokola) šifrēšana", "SAVE_PERMISSIONS": "Katra sadaļa, kurā ir visas nepabeigtās izmaiņas, tiks saglabāta" }, "NO_PASSWORD_CHANGE": "Nav paroles maiņas", "SECURITY_SUITE": "Drošības komplekts", "LAST_PASSWORD_RESET_AT": "Pēdējā paroles atiestatīšana", - "SIP_WEBRTC": "SIP", + "SIP_WEBRTC": "SIP", "SETTINGS_WEBRTC": "Iestatījumi", - "WEBRTC": "\"WebRTC\"", - "DTLSCERTFILE": "TLS sertifikāts", - "DTLSPRIVATEKEY": "TLS sertifikāta privātā atslēga", + "WEBRTC": "WebRTC", + "DTLSCERTFILE": "TLS sertifikāts", + "DTLSPRIVATEKEY": "TLS sertifikāta privātā atslēga", "CONTEXT": "Konteksts", "RINGINUSE": "Izmantotais zvans", "USERS": "Lietotāji", @@ -123,15 +123,15 @@ "CHANGEPASSWORD_TELEPHONE": "Mainīt paroli", "LOGININPAUSE": "Pieteikšanās pauze", "HOST": "Saimnieks", - "NAT": "standarts NAT", - "CHANSPY": "\"ChanSpy\"", + "NAT": "standarts NAT", + "CHANSPY": "ChanSpy", "OTHER_CHANNELS": "Citi kanāli", "CHATCAPACITY": "Tērzēšanas jauda", "MAILCAPACITY": "E-pasta kapacitāte", "FAXCAPACITY": "Faksa jauda", "SMSCAPACITY": "Īsziņas ietilpība", "OPENCHANNELCAPACITY": "Atvērta kanāla ietilpība", - "MOTIONBAR": "\"Motion Bar\"", + "MOTIONBAR": "Motion Bar", "SETTINGS": "Iestatījumi", "AUTOANSWER": "Automātiskā atbilde", "ENABLESETTINGS": "Iespējot iestatījumus", @@ -145,9 +145,9 @@ "REMOTE_CONTROL": "Tālvadība", "REMOTECONTROL": "Tālvadība", "REMOTECONTROLPORT": "Tālvadības pults", - "SIP": "\"SIP\"", - "SIPEXPIRES": "SIP pārstāj būt spēkā (sek.)", - "SIPPORT": "SIP pieslēgvieta", + "SIP": "SIP", + "SIPEXPIRES": "SIP pārstāj būt spēkā (sek.)", + "SIPPORT": "SIP pieslēgvieta", "PENALTY": "Sods", "ACCOUNTNAME": "Konta nosaukums", "ADD_TELEPHONE": "Pievienot tālruni", @@ -205,7 +205,7 @@ "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", + "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", @@ -217,7 +217,7 @@ "CALLFORWARDING": "Zvanu pāradresācija", "DND": "Netraucēt pauzes laikā", "UNANSWEREDCALLBADGE": "Rādīt neatbildētos zvanus", - "ENABLEDTMFTONE": "Iespējot DTMF toņus", + "ENABLEDTMFTONE": "Iespējot DTMF toņus", "AUTOANSWERDELAY": "Automātiskās atbildes aizkave (s)", "ENCRYPTION": "Šifrēšana", "CHANNELS": "Kanāli", @@ -236,7 +236,7 @@ "PHONE": "Tālrunis", "MOBILE": "Mobilais", "ALIAS": "Segvārds", - "ENABLEJAWSINTEGRATION": "Iespējot \"Jaws\" integrāciju", + "ENABLEJAWSINTEGRATION": "Iespējot JAWS integrāciju", "PREFIXREQUIRED": "Nepieciešams priedēklis", "ENABLEVIDEORECORDING": "Iespējot videoierakstīšanu", "OLD_PASSWORD": "Vecā parole", @@ -246,9 +246,9 @@ "ALL_FAXQUEUES": "Visas faksa rindas", "ALL_MAILACCOUNTS": "Visi e-pasta konti", "ALL_MAILQUEUES": "Visas e-pasta rindas", - "ALL_OPENCHANNELACCOUNTS": "Visi \"Open Channel\" konti", - "ALL_OPENCHANNELQUEUES": "Visas \"Open Channel\" rindas", - "ALL_PROJECTS": "Visi \"Cally Square\" projekti", + "ALL_OPENCHANNELACCOUNTS": "Visi Open Channel konti", + "ALL_OPENCHANNELQUEUES": "Visas Open Channel rindas", + "ALL_PROJECTS": "Visi Cally Square projekti", "ALL_QUEUECAMPAIGNS": "Visas rindas kampaņas", "ALL_SMSACCOUNTS": "Visi īsziņu konti", "ALL_SMSQUEUES": "Visas īsziņu rindas", @@ -262,7 +262,7 @@ "SELECTED_MAILQUEUES": "Atlasītās tērzēšanas rindas", "SELECTED_OPENCHANNELACCOUNTS": "Atlasītie atvērto kanālu konti", "SELECTED_OPENCHANNELQUEUES": "Atlasītās atvērto kanālu rindas", - "SELECTED_PROJECTS": "Atlasītie \"Cally Square\" projekti", + "SELECTED_PROJECTS": "Atlasītie Cally Square projekti", "SELECTED_QUEUECAMPAIGNS": "Atlasītās rindas kampaņas", "SELECTED_SMSACCOUNTS": "Atlasītie īsziņu konti", "SELECTED_SMSQUEUES": "Atlasītās īsziņu rindas", @@ -273,14 +273,14 @@ "USERADD_FAXQUEUES": "Pievienot faksa rindu lietotājam", "USERADD_MAILACCOUNTS": "Pievienot e-pasta kontu lietotājam", "USERADD_MAILQUEUES": "Pievienot e-pasta rindu lietotājam", - "USERADD_OPENCHANNELACCOUNTS": "Pievienot \"Open Channel\" kontu lietotājam", - "USERADD_OPENCHANNELQUEUES": "Pievienot \"Open Channel\" rindu lietotājam", - "USERADD_PROJECTS": "Pievienot \"Cally Square\" projektu lietotājam", + "USERADD_OPENCHANNELACCOUNTS": "Pievienot Open Channel kontu lietotājam", + "USERADD_OPENCHANNELQUEUES": "Pievienot Open Channel rindu lietotājam", + "USERADD_PROJECTS": "Pievienot Cally Square projektu lietotājam", "USERADD_QUEUECAMPAIGNS": "Pievienot rindas kampaņu lietotājam", "USERADD_SMSACCOUNTS": "Pievienot īsziņu kontu lietotājam", "USERADD_SMSQUEUES": "Pievienot īsziņu rindu lietotājam", "USERADD_VOICEQUEUES": "Pievienot balss rindu lietotājam", - "HOTDESK": "\"Karstais galds\"", + "HOTDESK": "Hotdesk režīms", "ADD_USERPROFILE": "Pievienojiet lietotāja profilu", "CANCEL": "Atcelt", "CLONE_USERPROFILE": "Klona lietotāja profils", diff --git a/public/app/main/apps/tools/i18n/lv.json b/public/app/main/apps/tools/i18n/lv.json index a4224e0..19cdf01 100644 --- a/public/app/main/apps/tools/i18n/lv.json +++ b/public/app/main/apps/tools/i18n/lv.json @@ -50,38 +50,38 @@ "LOCATION_REQUIRED": "Obligāts lauks", "REFRESH_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Vērtībai jābūt lielākai vai vienādai ar", "REFRESH_REQUIRED": "Obligāts lauks", - "TITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", - "NAME_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{maks.}}", + "TITLE_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", + "NAME_MAX_LENGTH": "Vērtībai jābūt ar maksimālo garumu {{max}}", "OUTPUT_REQUIRED": "Obligāts lauks", "REPORTFOLDER_REQUIRED": "Obligāts lauks", "REPORTSUBFOLDER_REQUIRED": "Obligāts lauks", "REPORTTYPE_REQUIRED": "Obligāts lauks" }, "HELP": { - "T38PT_UDPTL": "Es: yes,redundancy,maxdatagram=400", + "T38PT_UDPTL": "Es: yes,redundancy,maxdatagram=400", "SECRET": "Autentifikācijas parole", "HOST": "Domēna vai resursdatora nosaukums", "DEFAULTUSER": "Autentifikācijas lietotājvārds", "CALLERID": "Zvanītāja ID, formātā \"Name\" ", "REGISTRY": "Reģistra virkne, ja to pieprasa pakalpojumu sniedzējs, parasti defaultuser:secret@ host", - "FROMDOMAIN": "Iestatiet noklusēto no:domēnu SIP ziņojumos, darbojoties kā SIP ua (klients). Dažiem galamērķiem var būt nepieciešams obligāts identitātes nosaukums, nevis tikai IP adrese", - "FROMUSER": "Kā jūsu pakalpojumu sniedzējs jūs pazīst. Tas norāda, kuru lietotāju izvēlēties lietotāja ID vietā, kad tiek veikti zvani biedram (citam SIP starpniekam). Derīgs tikai veidam = biedrs.", - "OUTBOUNDPROXY": "IP_adress vai DNS SRV nosaukums (izņemot _sip._udp priedēkli): SRV nosaukums, resursdatora nosaukums vai izejošā SIP starpniekservera IP adrese. Sūtīt izejošo signālu uz šo starpniekserveri, nevis tieši ierīcēm. Derīgs tikai veidam = biedrs.", - "PORT": "SIP pieslēgvietas numurs", + "FROMDOMAIN": "Iestatiet noklusēto no:domēnu SIP ziņojumos, darbojoties kā SIP ua (klients). Dažiem galamērķiem var būt nepieciešams obligāts identitātes nosaukums, nevis tikai IP adrese", + "FROMUSER": "Kā jūsu pakalpojumu sniedzējs jūs pazīst. Tas norāda, kuru lietotāju izvēlēties lietotāja ID vietā, kad tiek veikti zvani biedram (citam SIP starpniekam). Derīgs tikai veidam = biedrs.", + "OUTBOUNDPROXY": "IP_adress vai DNS SRV nosaukums (izņemot _sip._udp priedēkli): SRV nosaukums, resursdatora nosaukums vai izejošā SIP starpniekservera IP adrese. Sūtīt izejošo signālu uz šo starpniekserveri, nevis tieši ierīcēm. Derīgs tikai veidam = biedrs.", + "PORT": "SIP pieslēgvietas numurs", "CONTEXT": "Maģistrāles konteksts", - "TYPE": "Nosakiet SIP lomu \"Asterisk\" ietvaros. Lietotājs: izmanto, lai autentificētu ienākošo – Biedrs: izejošajiem zvaniem – Draugs: iekļauj abas iepriekš minētās īpašības.", - "DTMFMODE": "Kā tiek nosūtīts DTMF (divtoņu daudzfrekvenču signalizācija). RFC2833: noklusējuma režīms, DTMF tiek nosūtīts ar RTP, bet ārpus audioplūsmas. VIENJOSLAS: DTMF tiek nosūtīts pašreizējās sarunas audiostraumē, kļūstot dzirdams no skaļruņiem. Nepieciešama augsta CPU slodze. INFORMĀCIJA: lai gan šī metode ir ļoti uzticama, to neatbalsta visas PBX ierīces un daudzas SIP maģistrāles.", + "TYPE": "Nosakiet SIP lomu Asterisk ietvaros. User: izmanto, lai autentificētu ienākošo – Peer: izejošajiem zvaniem – Friend: iekļauj abas iepriekš minētās īpašības.", + "DTMFMODE": "Kā tiek nosūtīts DTMF (divtoņu daudzfrekvenču signalizācija). RFC2833: noklusējuma režīms, DTMF tiek nosūtīts ar RTP, bet ārpus audioplūsmas. VIENJOSLAS: DTMF tiek nosūtīts pašreizējās sarunas audiostraumē, kļūstot dzirdams no skaļruņiem. Nepieciešama augsta CPU slodze. INFORMĀCIJA: lai gan šī metode ir ļoti uzticama, to neatbalsta visas PBX ierīces un daudzas SIP maģistrāles.", "NAT": "Mainiet \"Asterisk\" darbību klientiem aiz ugunsmūra. Ja kāda no opcijām, kas ir atdalīta ar komatiem, ir \"Nē\", \"Asterisk\" ignorēs citus iestatījumus un iestatīs nat = no.", - "QUALIFY": "Nosakiet, kad SIP ir sasniedzams", + "QUALIFY": "Nosakiet, kad SIP ir sasniedzams", "ALLOWCODECS": "Atļautie kodeki secībā pēc izvēles", - "INSECURE": "Norādiet, kā apstrādāt savienojumus ar biedru, ļaujot nedrošus iestatījumus", + "INSECURE": "Norādiet, kā apstrādāt savienojumus ar peer, ļaujot nedrošus iestatījumus", "CALL_LIMIT": "Ienākošo un izejošo zvanu ierobežojumu skaits", - "DIRECTMEDIA": "\"Asterisk\" pēc noklusējuma mēģina novirzīt protokola RTP multivides plūsmu, lai tā pārietu tieši no zvanītāja zvanāmajam. Dažas ierīces to neatbalsta (īpaši, ja viena no tām ir aiz NAT). Noklusējuma iestatījums ir \"JĀ\". Ja jums ir visi klienti aiz standarta NAT vai citu iemeslu dēļ vēlaties, lai \"Asterisk\" paliktu audioceļā, varat to izslēgt.", + "DIRECTMEDIA": "\"Asterisk\" pēc noklusējuma mēģina novirzīt protokola RTP multivides plūsmu, lai tā pārietu tieši no zvanītāja zvanāmajam. Dažas ierīces to neatbalsta (īpaši, ja viena no tām ir aiz NAT). Noklusējuma iestatījums ir \"JĀ\". Ja jums ir visi klienti aiz standarta NAT vai citu iemeslu dēļ vēlaties, lai \"Asterisk\" paliktu audioceļā, varat to izslēgt.", "CALLCOUNTER": "Iespējot zvanu skaitītājus ierīcēs", "ADD_PHONE_TO_URI": "Definējiet, vai pakalpojuma sniedzējam tīmekļa adresē ir nepieciešams ';user=phone'", "TRUST_REMOTE_PARTY_ID": "Definējiet, vai ir jāuzticas attālās puses ID", "SEND_REMOTE_PARTY_ID_HEADER": "Definējiet, vai jānosūta attālās puses ID (noklusējuma vērtība ir \"Nav\")", - "ENCRYPTION": "Vai piedāvājiet SRTP šifrētu saturu (un tikai SRTP šifrētu saturu) izejošajos zvanos biedriem. Zvani neizdosies ar \"HANGUPCAUSE\" = 58, ja biedrs neatbalsta SRTP. Noklusējuma vērtība ir \"Nē\"", + "ENCRYPTION": "Vai piedāvājiet SRTP šifrētu saturu (un tikai SRTP šifrētu saturu) izejošajos zvanos biedriem. Zvani neizdosies ar \"HANGUPCAUSE\" = 58, ja biedrs neatbalsta SRTP. Noklusējuma vērtība ir \"Nē\"", "TRANSPORT": "Iestatiet noklusējuma transportēšanu kārtībā pēc izvēles", "OTHERFIELDS": "Citi lauki, kas ir jāpievieno maģistrāles konfigurācijas datnēm. Ievērojiet standarta \"Asterisk\" formātu (taustiņš = vērtība), katru lauku vienā rindā", "EMAILADDRESS": "Pievienojiet vienu vai vairākas adreses, kas ir atdalītas ar komatiem (piemēram, john.doe@xcally.com, jane.miller@xcally.com)", @@ -128,7 +128,7 @@ "FAX": "Fakss", "INTERACTION": "Saziņa", "MESSAGE": "Ziņojums", - "T38PT_UDPTL": "T38pt Udptl", + "T38PT_UDPTL": "T38pt Udptl", "CALL": "Zvans", "NAME": "Nosaukums", "TRUNKS": "Maģistrāles", @@ -148,8 +148,8 @@ "CONTEXT": "Konteksts", "CALLERID": "Zvanītāja ID", "TYPE": "Tips", - "DTMFMODE": "DTMF režīms", - "NAT": "standarts NAT", + "DTMFMODE": "DTMF režīms", + "NAT": "standarts NAT", "QUALIFY": "Kvalificēties", "ALLOWCODECS": "Atļautie kodeki", "INSECURE": "Nedrošs", @@ -288,8 +288,8 @@ "WEEKDAYS": "Nedēļas dienas", "HOUR": "Stunda", "DEFAULT": "Noklusējums", - "CSV": "CSV", - "PDF": "PDF", + "CSV": "CSV", + "PDF": "PDF", "15MIN": "15 minūtes", "30MIN": "30 minūtes", "1H": "1 stunda", @@ -328,7 +328,7 @@ "CONTACT_MANAGER": "Kontaktpersonu pārvaldnieks", "INTEGRATIONS": "Integrācijas", "MOTION_BAR": "\"Motion Bar\"", - "JSCRIPTY": "Jscripty", + "JSCRIPTY": "Jscripty", "URL_FORWARD": "Pārsūtīt tīmekļa adresi", "WEB_POPUP": "Tīmekļa uznirstošais logs", "LIST": "Saraksts", @@ -352,12 +352,12 @@ "WEEK_DAYS": "Nedēļas dienas", "MONTH_DAYS": "Mēneša dienas", "MONTHS": "Mēneši", - "DROP_TO_UPLOAD_MESSAGE": "Pārvelciet audiodatnes šeit, lai augšupielādētu. Tikai MP3, WAV, GSM – maks. 15 MB", + "DROP_TO_UPLOAD_MESSAGE": "Pārvelciet audiodatnes šeit, lai augšupielādētu. Tikai MP3, WAV, GSM – maks. 15 MB", "POLLING_INTERVAL": "Aptaujas intervāls (sekundēs)", "DASHBOARD": "Informācijas panelis", "NEW_DASHBOARDITEM": "Jauns informācijas paneļa logrīks", "COUNTER": "Skaitītājs", - "IFRAME": "\"IFrame\"", + "IFRAME": "IFrame", "CLOCK": "Pulkstenis", "ADD_DASHBOARDITEM": "Pievienot vadības paneļa logrīku", "EDIT_WIDGET": "Rediģēt logrīku", @@ -381,7 +381,7 @@ "PROJECT": "Projekts", "GOTOREALTIME_TRUNK": "Doties uz reāllaika maģistrāli", "GOTO_TRUNK": "Doties uz maģistrāli", - "CRON": "\"Cron\"", + "CRON": "Cron", "MINUTES": "Minūtes", "HOURLY": "Katru stundu", "YEARLY": "Ik gadu", @@ -405,7 +405,7 @@ "WEEK": "Nedēļa", "YEAR": "Gads", "ON": "Ieslēgts", - "PAI": "P-Asserted-Identity", + "PAI": "P-Asserted-Identity", "PAGE": "Lappuse", "ROWSPERPAGE": "Rindas lappusē", "EVENTVARIABLES": "Notikumu mainīgie", @@ -419,8 +419,8 @@ "SENDIFEMPTY": "Nosūtīt, ja tukšs", "CANCEL": "Atcelt", "UPLOADING": "Augšupielāde", - "EMAILBCCADDRESS": "BCC (diskrētā kopija)", - "EMAILCCADDRESS": "CC (kopija)", + "EMAILBCCADDRESS": "BCC (diskrētā kopija)", + "EMAILCCADDRESS": "CC (kopija)", "RUN_SCHEDULE": "Palaist grafiku", "ADD_DISPOSITION": "Pievienot statusu", "DELETE_DISPOSITION": "Dzēst statusu", diff --git a/public/app/main/apps/voice/i18n/lv.json b/public/app/main/apps/voice/i18n/lv.json index 720acae..6e43ced 100644 --- a/public/app/main/apps/voice/i18n/lv.json +++ b/public/app/main/apps/voice/i18n/lv.json @@ -1,7 +1,7 @@ { "VOICE": { "LEGEND": { - "CUSTOM_APPLICATION": "(*) – Pielāgots pieteikums" + "CUSTOM_APPLICATION": "(*) – Pielāgota aplikācija" }, "ERRORS": { "NAME_REQUIRED": "Obligāts lauks", @@ -95,7 +95,7 @@ }, "WAITING_FOR_AGENTS": "Gaida aģentus", "ACTIVE": "Aktīvs", - "NO_AGENT_ONLINE": "Nav aģenta tiešsaistē", + "NO_AGENT_ONLINE": "Nav aģentu tiešsaistē", "PARTIALPAUSE": "Daļēja pauze", "STATUS": "Statuss", "TIMER": "Taimers", @@ -116,13 +116,13 @@ "EDIT_VOICEDISPOSITION": "Rediģēt balss statusu", "EDIT_VOICEQUEUE": "Rediģēt balss rindu", "DELETE_VOICEQUEUE": "Dzēst balss rindu", - "MOHSOUNDS": "Moh skaņas", + "MOHSOUNDS": "Moh skaņas", "STRATEGY": "Stratēģija", "DESCRIPTION": "Apraksts", "ADD_VOICEQUEUE": "Pievienot balss rindu", "CREATED_AT": "Izveidots", - "CANT_PLAY_GSM_AUDIO_FILES": "Nevar atskaņot gsm vai wav49 audiodatnes", - "APPLICATIONS_LIST": "Lietojumprogrammu saraksts", + "CANT_PLAY_GSM_AUDIO_FILES": "Nevar atskaņot gsm vai wav49 audiodatnes", + "APPLICATIONS_LIST": "Aplikāciju saraksts", "GENERAL": "Vispārīgi", "TIMEOUT": "Noildze", "MAXLENGTH": "Maksimālais garums", @@ -215,13 +215,13 @@ "DIRECTORY": "Katalogs", "AUDIOFILES": "Audiodatnes", "RECORDINGS": "Ieraksti", - "CHANSPY": "\"ChanSpy\"", - "PREFIX": "Priedēklis", + "CHANSPY": "ChanSpy", + "PREFIX": "Prefikss", "OPTIONS": "Iespējas", "AUTH": "Autorizācija", - "ADD_CHANSPY": "Pievienot \"ChanSpy\"", - "EDIT_CHANSPY": "Rediģēt \"ChanSpy\"", - "DELETE_CHANSPY": "Dzēst \"ChanSpy\"", + "ADD_CHANSPY": "Pievienot ChanSpy", + "EDIT_CHANSPY": "Rediģēt ChanSpy", + "DELETE_CHANSPY": "Dzēst ChanSpy", "AGENTS": "Aģenti", "TELEPHONES": "Tālruņi", "QUEUES": "Rindas", @@ -229,38 +229,38 @@ "QUEUE_PARAMETERS": "Rindas parametri", "ABANDONED_CALLS": "Pamesti zvani", "OUTBOUND_CALLS": "Izejošie zvani", - "AGI": "Agi", - "DIAL": "Skala", - "CALLYSQUARE": "\"CallySquare\"", + "AGI": "AGI", + "DIAL": "Zvans", + "CALLYSQUARE": "CallySquare", "INTERNALDIAL": "Iekšējais zvans", - "EXTERNALDIAL": "Ārējā skala", + "EXTERNALDIAL": "Ārējais zvans", "RINGGROUP": "Zvana signāla grupa", "PLAYBACK": "Atskaņošana", "QUEUE": "Rinda", "SET": "Iestatīt", "VOICEMAIL": "Balss pasts", - "GOTO": "GoTo", + "GOTO": "GoTo", "HANGUP": "Nolikt klausuli", "CUSTOM": "Pielāgots", - "PROJECT": "\"Cally-Square\" projekts", + "PROJECT": "Cally-Square projekts", "TECHNOLOGY/RESOURCE": "Tehnoloģija/resurss", "URL": "Tīmekļa adrese", - "EDIT_APP": "Rediģēt lietojumprogrammu", + "EDIT_APP": "Rediģēt aplikāciju", "EDIT_INTERVAL": "Rediģēt intervālu", - "DELETE_APP": "Dzēst lietojumprogrammu", + "DELETE_APP": "Dzēst aplikāciju", "INTERVALS": "Intervāli", "USER": "Lietotājs", "TRUNK": "Maģistrāle", "PHONE": "Tālrunis", - "AUDIO_FILES": "Audiodatnes", + "AUDIO_FILES": "Audiofaili", "ANNOUNCE_OVERRIDES": "Paziņot par ignorēšanu", "MACRO": "Makro", - "GOSUB": "GoSub", + "GOSUB": "GoSub", "RULE": "Noteikums", "POSITION": "Pozīcija", "ANSWER": "Atbilde", "VALUE": "Vērtība", - "MAILBOX@CONTEXT": "Mailbox@Context", + "MAILBOX@CONTEXT": "Mailbox@Context", "EXTENSION": "Paplašinājums", "PRIORITY": "Prioritāte", "HANGUP_CAUSE": "Klausules nolikšanas iemesls", @@ -269,7 +269,7 @@ "NO_MESSAGE_AVAILABLE": "Nav pieejams neviens ziņojums", "NO_SOUND_AVAILABLE": "Nav skaņu", "VOICERECORDINGS": "Balss ieraksti", - "CHANSPIES": "\"ChanSpy\"", + "CHANSPIES": "ChanSpy", "VOICE": "Balss", "REALTIME": "Reāllaika", "ID": "ID", @@ -292,19 +292,19 @@ "NEW_CONTEXT": "Jauns konteksts", "NEW_VOICEMAIL": "Jauns balss pasts", "NEW_MUSICONHOLD": "Jauna noturēšanas mūzika", - "NEW_CHANSPY": "Jauns \"ChanSpy\"", - "PENALTY": "Sods", + "NEW_CHANSPY": "Jauns ChanSpy", + "PENALTY": "Prioritāte", "ADD_TEAM_TO_VOICEQUEUE": "Pievienot komandu balss rindai", "ADD_AGENT_TO_VOICEQUEUE": "Pievienot aģentu balss rindai", "EDIT_DIAL": "Rediģēt numuru", - "EDIT_AGI": "Rediģēt AGI", + "EDIT_AGI": "Rediģēt AGI", "EDIT_INTERNALDIAL": "Rediģēt iekšējo numuru", "EDIT_EXTERNALDIAL": "Rediģēt ārējo numuru", "EDIT_RINGGROUP": "Rediģēt zvana grupu", "EDIT_PLAYBACK": "Rediģēt atskaņošanu", "EDIT_QUEUE": "Rediģēt rindu", "EDIT_SET": "Rediģēt kopu", - "EDIT_GOTO": "Rediģēt \"GoTo\"", + "EDIT_GOTO": "Rediģēt GoTo", "EDIT_HANGUP": "Rediģēt klausules nolikšanu", "EDIT_CUSTOM": "Rediģēt pielāgojamību", "DURATION": "Ilgums", @@ -322,7 +322,7 @@ "HANGUPCAUSE_41": "41 = Pagaidu kļūme", "RANDOM": "Nejaušs", "ALPHABETICAL": "Alfabētiski", - "NO_APPS_AVAILABLE": "Neviena lietojumprogramma nav pieejama", + "NO_APPS_AVAILABLE": "Neviena aplikācija nav pieejama", "DOWNLOAD_VOICERECORDING": "Lejupielādēt balss ierakstu", "DELETE_VOICERECORDING": "Dzēst balss ierakstu", "INTERNAL": "Iekšējais", @@ -348,11 +348,11 @@ "TRUNKS": "Maģistrāles", "REGISTRY": "Reģistrs", "NO_REGISTRY": "Nav reģistra", - "LOGGED_IN": "Pieteicies (SIP savienots)", + "LOGGED_IN": "Pieteicies (SIP savienots)", "PAUSED": "Apturēts", "WAITING": "Gaida", "TALKING": "Runāšana", - "DID": "DID", + "DID": "DID", "CALLER": "Zvanītājs", "TOTAL": "Kopā", "ANSWERED": "Atbildēts", @@ -369,17 +369,17 @@ "CONNECTED": "Savienots", "NO_RATING": "Nav novērtējuma", "EDIT_VOICERECORDING": "Rediģēt balss ierakstu", - "APPLICATION_NAME": "Lietojumprogrammas nosaukums", + "APPLICATION_NAME": "Aplikācijas nosaukums", "ARGUMENTS": "Argumenti", "NO_AVAILABLE_INFO": "Nav pieejama informācija", "ADD_AGENT_TO_QUEUE": "Pievienot aģentu rindai", - "DEFAULT_PAUSE": "NOKLUSĒJUMA PAUZE", + "DEFAULT_PAUSE": "NOKLUSĒTĀ PAUZE", "PAUSE": "Pauze", "UNPAUSE": "Pārtraukt pauzi", "REDIRECT_TO_NUMBER": "Novirzīt uz numuru", "REDIRECT_TO_AGENT": "Novirzīt uz aģentu", "AGENTADD_VOICEQUEUE": "Pievienot pārstāvi balss rindai", - "APPLICATION": "Lietojumprogramma", + "APPLICATION": "Aplikācija", "FILES": "Datnes", "FORMAT": "Formāts", "MODE": "Režīms", @@ -424,12 +424,12 @@ "SELECT_DATE": "Izvēlieties sākuma datumu", "SELECT_TYPE": "Izvēlēties veidu", "ABANDONEDCALLS": "Pamesti rindas zvani", - "ADD_VOICEPREFIX": "Pievienot priedēkli", - "AGENTADD_VOICEPREFIX": "Pievienot aģentu priedēklim", - "DELETE_VOICEPREFIX": "Dzēst priedēkli", - "EDIT_VOICEPREFIX": "Rediģēt priedēkli", - "NEW_VOICEPREFIX": "Jauns priedēklis", - "VOICEPREFIXES": "Ārējie priedēkļi", + "ADD_VOICEPREFIX": "Pievienot prefiksu", + "AGENTADD_VOICEPREFIX": "Pievienot aģentu prefiksam", + "DELETE_VOICEPREFIX": "Dzēst prefiksu", + "EDIT_VOICEPREFIX": "Rediģēt prefiksu", + "NEW_VOICEPREFIX": "Jauns prefikss", + "VOICEPREFIXES": "Ārējie prefiksi", "CALLERIDALL": "Zvanītāja ID", "OUTBOUNDROUTE": "Izejošais maršruts", "LOGIN_TIME": "Pieteikšanās laiks", diff --git a/public/app/quick-panel/i18n/lv.json b/public/app/quick-panel/i18n/lv.json index 5bfcafc..b1f4208 100644 --- a/public/app/quick-panel/i18n/lv.json +++ b/public/app/quick-panel/i18n/lv.json @@ -12,7 +12,7 @@ "MEMBERS": "Dalībnieki", "ENABLE_WRITING": "Iespējot rakstīšanu", "GROUPS": "Grupas", - "YOU": "Jūs + {{dalībnieki}}", + "YOU": "Jūs + {{participants}}", "NEW_INTERNAL_MESSAGE": "Jauns iekšējais ziņojums", "DELETE": "Dzēst", "SEARCH": "Meklēt", @@ -55,7 +55,7 @@ "MORE": "Vairāk", "SEND_MESSAGE": "Sūtīt ziņu", "REPLY_PLACEHOLDER": "Ierakstiet un nospiediet \"Enter\", lai nosūtītu ziņu", - "CONTACT_XCALLY_MOTION_SUPPORT": "Sazinieties ar \"xCALLY Motion\" atbalstu", + "CONTACT_XCALLY_MOTION_SUPPORT": "Sazinieties ar xCALLY Motion atbalstu", "EXPIRATION_DATE": "Derīguma termiņš", "EXPIRATION_REASON": "Derīguma termiņa beigu iemesls", "LICENSE": "Licence", @@ -63,10 +63,10 @@ "OLD_TOKEN": "Vecais marķieris", "SEND_EMAIL_TO": "Sūtīt e-pastu uz", "TOKEN": "Marķieris", - "EXPIRATION_REASON_MESSAGE": "Jūsu licence ir beigusies vai jūsu ierīces unikālais ID ir atjaunināts jūsu sistēmas maiņas dēļ. Sazinieties ar \"xCALLY Motion\" atbalsta komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", + "EXPIRATION_REASON_MESSAGE": "Jūsu licence ir beigusies vai jūsu ierīces unikālais ID ir atjaunināts jūsu sistēmas maiņas dēļ. Sazinieties ar xCALLY Motion atbalsta komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", "GRAY_PERIOD_EXPIRATION": "Perioda beigas", - "EXPIRATION_REASON_MESSAGE_GRAY": "Jūsu licence ir beigusies vai ir atspējota. Sazinieties ar \"xCALLY Motion\" atbalsta komandu.", - "EXPIRATION_REASON_MESSAGE_CHANGED": "Jūsu ierīces unikālais ID ir atjaunināts, jo sistēma ir mainījusies. Sazinieties ar \"xCALLY Motion\" atbalsta komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", + "EXPIRATION_REASON_MESSAGE_GRAY": "Jūsu licence ir beigusies vai ir atspējota. Sazinieties ar xCALLY Motion atbalsta komandu.", + "EXPIRATION_REASON_MESSAGE_CHANGED": "Jūsu ierīces unikālais ID ir atjaunināts, jo sistēma ir mainījusies. Sazinieties ar xCALLY Motion atbalsta komandu, nosūtot gan savu veco, gan jauno lietotāja ID.", "MESSENGER_DISABLED": "Iekšējā ziņojumapmaiņa šim aģentam ir atspējota!", "WARNING": "Brīdinājums" } diff --git a/public/app/reset/i18n/lv.json b/public/app/reset/i18n/lv.json index f6e2e4c..baed591 100644 --- a/public/app/reset/i18n/lv.json +++ b/public/app/reset/i18n/lv.json @@ -10,7 +10,7 @@ "TITLE": "Atiestatīt paroli", "EMAIL_ADRESS": "E-pasta adrese", "PASSWORD": "Parole", - "PASSWORD_CONFIRM": "Parole (apstiprināt)", + "PASSWORD_CONFIRM": "Paroles apstiprināšana", "UPDATE_PASSWORD": "ATIESTATĪT MANU PAROLI", "GO_BACK": "Dodieties atpakaļ uz pieteikšanos", "PASSWORD_RESET": "Paroles atiestatīšana", diff --git a/public/app/toolbar/i18n/lv.json b/public/app/toolbar/i18n/lv.json index a93003a..127fe00 100644 --- a/public/app/toolbar/i18n/lv.json +++ b/public/app/toolbar/i18n/lv.json @@ -8,23 +8,23 @@ }, "RESETPASSWORD": "Atiestatīt paroli", "PASSWORD_EXPIRE_REMAINING_DAYS": "Atlikušās dienas pirms jūsu paroles derīguma termiņa beigām", - "BROWSER_COMPATIBILITY": "Pārlūkprogrammas saderība (\"Chrome\", \"Opera\", \"Safari\")", + "BROWSER_COMPATIBILITY": "Pārlūkprogrammas saderība (Chrome, Opera, Safari)", "RECORDING": "Ieraksts", "INVALID_LICENSE": "Nederīga licence", "BROWSER": "Pārlūks", "OS": "Operētājsistēma", "REQUIREMENTS": "Prasības", "LICENSE": "Licence", - "HTTPS": "HTTPS", - "WEBRTCSUPPORT": "\"WebRTC\" atbalsts", + "HTTPS": "HTTPS", + "WEBRTCSUPPORT": "WebRTC atbalsts", "REGISTERED": "Reģistrēts", "NOT_REGISTERED": "Nav reģistrēts", - "WEBRTC_LICENSE_NOT_ENABELD": "\"WebRTC\" licence nav iespējota", - "ATTENDED_TRANSFER": "Apmeklēja nodošanu", + "WEBRTC_LICENSE_NOT_ENABELD": "WebRTC licence nav iespējota", + "ATTENDED_TRANSFER": "Zvana pārvirzīšana ar pieteikumu", "TRANSFER": "Nodošana", "TARGET": "Mērķis", "CANCEL": "Atcelt", - "FILENAME": "Datnes nosaukums", + "FILENAME": "Faila nosaukums", "STATUS": "Statuss", "ACTIONS": "Darbības", "SPEAKER": "Skaļrunis", @@ -48,8 +48,8 @@ "SEARCH": "Meklēt", "USER_SETTINGS": "Lietotāja iestatījumi", "TOGGLE_QUICK_PANEL": "Pārslēgt ātro paneli", - "SOMEONE_LOGGED_YOU_OUT": "Kāds ir atteicies, vai vēlaties palikt reģistrēts?", - "STAY_LOGGED": "Palieciet reģistrēts", + "SOMEONE_LOGGED_YOU_OUT": "Kāds ir izlogojis Jūs, vai vēlaties palikt reģistrēts?", + "STAY_LOGGED": "Palikt reģistrēts", "WARNING": "Brīdinājums", "ENGLISH": "Angļu valoda", "ITALIAN": "Itāļu valoda", @@ -82,11 +82,11 @@ "TRIAL_VERSION": "Izmēģinājuma versija", "PAUSE": "Pauze", "RESUME": "Pārtraukt pauzi", - "NO_PAUSES_AVAILABLE": "Nav pārtraukumu", + "NO_PAUSES_AVAILABLE": "Nav pieejamo paužu", "INDONESIAN": "Indonēziešu valoda", "ARABIC": "Arābu valoda", "CALL": "Zvans", - "PREFIXES": "Priedēkļi", + "PREFIXES": "Prefiksi", "HEBREW": "Ebreju valoda", "ESTONIAN": "Igauņu", "CZECH": "Čehu valodā", diff --git a/public/index.html b/public/index.html index 27046e2..13df103 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + @@ -58,7 +58,7 @@ - + diff --git a/public/scripts/app.e5ed3624.js b/public/scripts/app.c8387533.js similarity index 55% rename from public/scripts/app.e5ed3624.js rename to public/scripts/app.c8387533.js index de0064b..470e7b9 100644 --- a/public/scripts/app.e5ed3624.js +++ b/public/scripts/app.c8387533.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","gridster","ds.clock","angucomplete-alt"])}(),function(){"use strict";function e(e,t){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"}),t.addPart("app/errors/404")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.errors.error-404",[]).config(e)}(),function(){"use strict";function e(e,t){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"}),t.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,t){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"}),t.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.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.help","app.motiondialer","app.jscripty","app.marketplace","app.plugins","app.login","app.forgot","app.reset","app.errors"])}(),function(){"use strict";function e(e,t){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"}),t.addPart("app/login")}e.$inject=["$stateProvider","$translatePartialLoaderProvider"],angular.module("app.login",[]).config(e)}(),function(){"use strict";function e(e,t,n,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,t){return t.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:t.getCurrentUser().userProfileId,section:"Metrics",fields:"createdAt,updatedAt,id,name,table,metric,description",sort:"-updatedAt",limit:10,offset:0})}],userProfile:["apiResolver","Auth",function(e,t){return t.hasRole("admin")?null:e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:t.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,t){return t.hasRole("admin")?null:e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:t.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,t){return t.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:t.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,t){return t.hasRole("admin")?null:e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:t.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,t){return t.hasRole("admin")?null:e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:t.getCurrentUser().userProfileId,sectionId:1202})}]},authenticate:!0,permissionId:1202,bodyClass:"analytics"}),t.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,t){return e.resolve("userProfile@get",{fields:"id,name,crudPermissions",id:t.getCurrentUser().userProfileId})}],userProfileSection:["apiResolver","Auth",function(e,t){return e.resolve("userProfileSection@get",{fields:"id,name,enabled,includeAll,autoAssociation,crudPermissions",userProfileId:t.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,t,a,i){var s;return e.resolve("analyticCustomReport@get",{fields:"createdAt,updatedAt,id,name,description,table,conditions,joins",id:t.id}).then(function(e){var t=[];if((s=e).joins)try{s.joins=JSON.parse(s.joins);for(var n=0;n');a.append(t),o(function(){!function(e,t){var n=t.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("",""),n.append(o.value).addClass("highlight")}(e,t)},34,!1)}})}}}}e.$inject=["$timeout","$q","$interpolate"],angular.module("app.core").directive("hljs",e)}(),function(){"use strict";angular.module("app.core").directive("msCard",function(){return{restrict:"E",scope:{templatePath:"=template",card:"=ngModel",vm:"=viewModel"},template:'
',compile:function(e){return e.addClass("ms-card"),function(e,t){e.cardTemplateLoaded=function(){e.$emit("msCard::cardTemplateLoaded",t)}}}}})}(),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(n,t,a,i,s,o,e,r,l){function d(e){switch(n.currentUser.showWebBar){case 0:return m("http://127.0.0.1:"+(n.currentUser.phoneBarRemoteControlPort||"9888")+"/api/originate/"+c(e));case 2:return t.$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")})})}n.currentUser=e.getCurrentUser(),n.showMenu=function(){return n.target&&n.target.indexOf("@")<0&&n.target!=n.currentUser.internal&&n.target!=n.currentUser.name&&(0==n.currentUser.showWebBar&&n.currentUser.phoneBarRemoteControl||2==n.currentUser.showWebBar&&n.license.webrtc)&&!n.disabled},n.call=function(e){return 2!==n.currentUser.showWebBar?(t=e,l.user.getVoicePrefixes({id:n.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:n.currentUser.phoneBarPrefixRequired}})}).then(function(e){n.currentUser.phoneBarPrefixRequired?e&&-1!==e&&d(e+t):e&&-1!==e?d(e+t):e||d(t)})):d(e);var t},n.transfer=function(e){switch(n.currentUser.showWebBar){case 0:return m("http://127.0.0.1:"+(n.currentUser.phoneBarRemoteControlPort||"9888")+"/api/transfer?number="+c(e));case 2:t.$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,t,n,a){a.$formatters.push(i.formatter),a.$parsers.push(i.parser)}}}e.$inject=["msDatepickerFixConfig"],angular.module("app.core").provider("msDatepickerFixConfig",function(){var t={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){t=angular.extend({},t,e)},this.$get=function(){return t}}).directive("msDatepickerFix",e)}(),function(){"use strict";angular.module("app.core").directive("msDualMultiselect",function(){return{restrict:"E",scope:{options:"="},controller:["$scope",function(o){o.canTransfer=function(e,t,n){if(!t.readOnly)return void 0!==e.isValid&&e.isValid?n?o.transfer(t.selectedItems,t.items,t.selectedItems.indexOf(e),n):o.transfer(t.items,t.selectedItems,t.items.indexOf(e),n):void 0},o.transfer=function(e,t,n,a){var i=[];if(0<=n)i.push(e[n]),t.push(e[n]),e.splice(n,1);else{for(var s=0;s',link:function(n,e){var t=e.emojioneArea({pickerPosition:n.pickerPosition,search:n.search,recentEmojis:n.recentEmojis,placeholder:a.instant(n.placeholder||"Type a message"),attributes:{spellcheck:!0},events:{keyup:function(e,t){n.ngModel=this.getText(),n.onReply({event:t,body:this.getText()})},emojibtn_click:function(){n.ngModel=this.getText()}}});n.ngModel&&t[0].emojioneArea.setText(n.ngModel),n.internalControl=n.ctrlMethods||{},n.internalControl.setText=function(e){t[0].emojioneArea.setText(e)},n.internalControl.getText=function(){return t[0].emojioneArea.getText()},n.$watch("ngModel",function(e){e||t[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:"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 t=this;function e(){return t.forms.length}function n(){return 0===t.selectedIndex}function a(){return t.selectedIndex===e()-1}t.forms=[],t.selectedIndex=0,t.registerForm=function(e){t.forms.push(e)},t.previousStep=function(){if(n())return;t.selectedIndex--},t.nextStep=function(){if(a())return;t.selectedIndex++},t.firstStep=function(){t.selectedIndex=0},t.lastStep=function(){t.selectedIndex=e()-1},t.totalSteps=e,t.isFirstStep=n,t.isLastStep=a,t.currentStepInvalid=function(){return angular.isDefined(t.forms[t.selectedIndex])&&t.forms[t.selectedIndex].$invalid},t.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}),t=0;t'),r=angular.element('
'),l=t.parent();function d(){s.addClass("ms-nav-folded"),g.$broadcast("msNav::forceCollapse"),t.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"),t.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"),t.off("mouseenter mouseleave")}v.setFoldable(e,t,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"),t.off("mouseenter mouseleave")})}}}function t(n,a,i){return{restrict:"E",scope:{},controller:"MsNavController",compile:function(e){return e.addClass("ms-nav"),function(e){n.$broadcast("msNav::expandMatchingToggles");var t=n.$on("$stateChangeSuccess",function(){n.$broadcast("msNav::expandMatchingToggles"),a.when("navigation").then(function(e){e.close(),i.isNavFoldedOpen()&&i.closeFolded()})});e.$on("$destroy",function(){t()})}}}}function n(m,u,p,g){return{restrict:"A",require:"^msNav",scope:!0,compile:function(e,t){return e.addClass("ms-nav-toggle"),angular.isUndefined(t.collapsed)&&(t.collapsed=!0),e.attr("collapsed",t.collapsed),function(a,i,e,n){var s={expanded:"expanded",expandAnimation:"expand-animation",collapseAnimation:"collapse-animation"},t=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 t=angular.element(i.find("ms-nav-toggle-items")[0]);t.css({position:"absolute",visibility:"hidden",display:"block",height:"auto"});var n=t[0].offsetHeight;return t.css({position:"",visibility:"",display:"",height:""}),a.$evalAsync(function(){p.animate(t,{display:"block",height:"0px"},{height:n+"px"},s.expandAnimation).then(function(){t.addClass(s.expanded),t.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 t=angular.element(i.find("ms-nav-toggle-items")[0]),n=t[0].offsetHeight;return a.$evalAsync(function(){p.animate(t,{height:n+"px"},{height:"0px"},s.collapseAnimation).then(function(){t.removeClass(s.expanded),t.css({display:"",height:""}),e.resolve({success:!0})})}),e.promise}angular.forEach(t,function(e){var t=angular.element(e).attr("ui-sref");angular.isUndefined(t)||(t=t.replace(r,""),o.push(t))}),n.setToggleItem(i,a),i.children(".ms-nav-button").on("click",function(){if(n.isDisabled())return;n.disable(),l()?(n.clearLockedItems(),a.$emit("msNav::pushToLockedList"),m.$broadcast("msNav::collapse"),d().then(function(){n.enable()})):a.$broadcast("msNav::forceCollapse")}),a.$on("$destroy",function(){i.children(".ms-nav-button").off("click")}),a.$on("msNav::collapse",function(){var e=n.getLockedItems(),t=!1;angular.forEach(e,function(e){angular.equals(e.scope,a)&&(t=!0)}),t||c().then(function(){n.enable()})}),a.$on("msNav::forceCollapse",function(){c().then(function(){n.enable()})}),a.$on("msNav::expandMatchingToggles",function(){var t=g.current.name,n=!1;angular.forEach(o,function(e){t===e&&(n=!0)}),n?d():c()}),a.$on("msNav::pushToLockedList",function(){n.setLockedItem(i,a)})}}}}e.$inject=["$document","$rootScope","msNavFoldService"],t.$inject=["$rootScope","$mdComponentRegistry","msNavFoldService"],n.$inject=["$rootScope","$q","$animate","$state"],angular.module("app.core").factory("msNavFoldService",function(){var n={};return{setFoldable:function(e,t){n={scope:e,element:t}},isNavFoldedOpen:function(){return n.scope.isNavFoldedOpen()},toggleFold:function(){n.scope.toggleFold()},openFolded:function(){n.scope.openFolded()},closeFolded:function(){n.scope.closeFolded()}}}).directive("msNavIsFolded",e).controller("MsNavController",function(){var e=this,t=!1,n=[],a=[];e.isDisabled=function(){return t},e.enable=function(){t=!1},e.disable=function(){t=!0},e.setToggleItem=function(e,t){n.push({element:e,scope:t})},e.getLockedItems=function(){return a},e.setLockedItem=function(e,t){a.push({element:e,scope:t})},e.clearLockedItems=function(){a=[]}}).directive("msNav",t).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",n)}(),function(){"use strict";function e(e,t){e.root?this.navigation=t.getNavigation(e.root):this.navigation=t.getNavigation(),this.toggleHorizontalMobileMenu=function(){angular.element("body").toggleClass("ms-navigation-horizontal-mobile-menu-active")},t.sort()}function t(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,t){var n=angular.element("body"),a=angular.element('
'),i=angular.element('
'),s=u("navigation");function o(e){if(p.setFolded(e),e)c.$broadcast("msNavigation::collapse"),n.addClass("ms-navigation-folded"),r();else{var t=p.getActiveItem();t&&t.scope.$emit("msNavigation::stateMatched"),n.removeClass("ms-navigation-folded ms-navigation-folded-open"),i.remove()}}function r(){t.parent().append(a),m(function(){a.on("mouseenter touchstart",l)})}function l(e){e&&e.preventDefault(),p.setFoldedOpen(!0);var t=p.getActiveItem();t&&t.scope.$emit("msNavigation::stateMatched"),n.addClass("ms-navigation-folded-open"),a.remove(),n.find("#main").append(i),i.on("mouseenter touchstart",d)}function d(e){e&&e.preventDefault(),p.setFoldedOpen(!1),c.$broadcast("msNavigation::collapse"),n.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")}),n.addClass("ms-navigation-folded"),r())}(),e.$watch(function(){return s.isLockedOpen()},function(e,t){if(!angular.isUndefined(e)&&!angular.equals(e,t)&&p.getFolded())if(e)c.$broadcast("msNavigation::collapse");else{var n=p.getActiveItem();n&&n.scope.$emit("msNavigation::stateMatched")}}),e.$watch("folded",function(e,t){angular.isUndefined(e)||angular.equals(e,t)||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 n(n,e,a,i,t,s){var o=this;o.element=e,o.node=n.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"),t=e[0].offsetHeight;n.$evalAsync(function(){o.collapsed=!0,o.element.addClass("collapsing"),i.animate(e,{display:"block",height:t+"px"},{height:"0px"},o.animateHeightClass).then(function(){e.css({display:"",height:""}),o.element.removeClass("collapsing")}),n.$broadcast("msNavigation::collapse")})},o.expand=function(){var e=o.element.children("ul");e.css({position:"absolute",visibility:"hidden",display:"block",height:"auto"});var t=e[0].offsetHeight;e.css({position:"",visibility:"",display:"",height:""}),n.$evalAsync(function(){o.collapsed=!1,o.element.addClass("expanding"),i.animate(e,{display:"block",height:"0px"},{height:t+"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":t.user,c.create("Incoming call from: ",n,null,function(){t.answer(m.sessionConf)},function(){t.terminate()}).then(function(e){t.notification=e}).catch(function(e){console.error(e)}),v(e.session.user,!0),m.conf.autoAnswer&&s(function(){a.isInProgress()&&(a.autoAnswer=!0,m.conf.microphoneId?m.sessionConf.mediaConstraints.audio={deviceId:m.conf.microphoneId}:m.sessionConf.mediaConstraints.audio=!0,a.answer(m.sessionConf))},m.conf.autoAnswerDelay?1e3*m.conf.autoAnswerDelay:0)}a.call_id=e.request.call_id,a.connection&&(a.connection.onaddstream=b.bind(this)),a.on("progress",function(e,t){var n=!1;switch(t.originator){case"local":this.conf.ringingMute||(this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/incoming-call.ogg"),n=!0);break;case"remote":this.putOtherCallsOnHold(e),this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/outgoing-call.ogg"),n=!0}n&&(this.soundPlayer.loop="loop",this.soundPlayer.play().catch(function(e){console.log(e.message)}))}.bind(this,a)),a.on("confirmed",function(n,e){return n.confirmed=!0,"remote"===e.originator&&n.connection&&(n.connection.onaddstream=b.bind(this),_.head(n.connection.getRemoteStreams())&&(this.remotePlayer.srcObject=_.head(n.connection.getRemoteStreams()))),this.soundPlayer.pause(),this.soundPlayer.loop=null,this.putOtherCallsOnHold(n),g("speaker"),g("microphone"),n.autoAnswer&&(this.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/beep.ogg"),this.soundPlayer.play().catch(function(e){console.log(e.message)})),d.rpc.getVoiceChannels().$promise.then(function(e){var t=_.find(e.rows,function(e){return e.sipcalllinkedid===n.call_id?e:e.sipcalluniqueid===n.call_id?e:null});t&&(n.monitor=t.monitor,n.uniqueid=t.uniqueid,n.monitors=t.monitors)}).catch(function(e){console.error(e)})}.bind(this,a)),a.on("hold",function(e,t){"local"===t.originator&&(e.localHold=!0)}.bind(this,a)),a.on("unhold",function(e,t){"local"===t.originator&&(e.localHold=!1)}.bind(this,a)),a.on("ended",function(e,t){_.remove(this.sessions,{id:e.id})}.bind(this,a)),a.on("failed",function(e,t){this.soundPlayer.pause(),this.soundPlayer.loop=null,e.notification&&e.notification.close(),_.remove(this.sessions,{id:e.id})}.bind(this,a)),this.sessions.push(a)}function E(){m.target="",document.getElementById("ms-target").blur(),document.getElementById("ms-target").value="",i.$broadcast("angucomplete-alt:clearInput","ms-target-wrap")}function y(e,t,n,a){return function(){o.show(o.simple().textContent(t).position(n).hideDelay(a)),e.terminate()}}function S(t){return d.user.getVoicePrefixes({id:m.conf.id}).$promise.then(function(e){if(e.count)return a.show({controller:"PrefixDialogController",controllerAs:"vm",templateUrl:"assets/ms-phonebar/prefix/dialog.html",parent:angular.element(n.body),clickOutsideToClose:!0,locals:{prefixes:e,required:m.conf.phoneBarPrefixRequired}})}).then(function(e){if(m.conf.phoneBarPrefixRequired){if(e&&-1!==e)return e+t}else{if(e&&-1!==e)return e+t;if(!e)return t}})}e(function(){},999),m.direction="right",m.selectedMode="md-scale",m.target="",m.showDialpad=!1,m.soundPlayer=document.createElement("audio"),m.remotePlayer=document.getElementById(m.conf.remotePlayerId),m.soundPlayer.volume=1,m.sessionConf={mediaConstraints:{audio:!0,video:!1}},m.sessions=[],m.calls=[],m.ua=new JsSIP.UA({sockets:[new JsSIP.WebSocketInterface("wss://"+m.conf.host+":8089/ws")],uri:new JsSIP.URI("sip",m.conf.name,m.conf.host,5060,null,null).toString(),authorization_user:m.conf.name,ha1:m.conf.ha1,realm:m.conf.realm,user_agent:m.conf.ua,session_timers_refresh_method:"invite",register_expires:m.conf.phoneBarExpires||60,register:!0}),m.conf=_.merge(p.webrtc,m.conf),n.bind("keyup",function(e){switch(e.keyCode){case 27:s(function(){m.showDialpad=!1})}}),m.$onInit=function(){g("ringing"),g("speaker"),this.ua.on("registered",function(){console.log("registered"),this.registered=!0}.bind(this)),this.ua.on("unregistered",function(){console.log("unregistered"),this.registered=!1}.bind(this)),this.ua.on("newRTCSession",A.bind(this)),DetectRTC.load(function(){this.conf.hasMicrophone=DetectRTC.hasMicrophone,this.conf.hasSpeakers="Chrome"!==DetectRTC.browser.name&&"Edge"!==DetectRTC.browser.name&&"Opera"!==DetectRTC.browser.name||DetectRTC.hasSpeakers,this.conf.isWebRTCSupported=DetectRTC.isWebRTCSupported,this.conf.osName=DetectRTC.osName,this.conf.osVersion=DetectRTC.osVersion,this.conf.browserName=DetectRTC.browser.name,this.conf.browserVersion=DetectRTC.browser.version,h()?this.ua.start():this.conf.license||l.warning({title:r.instant("TOOLBAR.WARNING"),msg:r.instant("TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD"),clickToClose:!0,showClose:!0,shake:!1,timeout:!1,position:"bottom-right"})}.bind(this))}.bind(this),m.type=function(e,t){var n=e;switch(m.target||(m.target=""),t&&(m.target+=e,i.$broadcast("angucomplete-alt:changeInput","ms-target-wrap",m.target)),e){case"*":n="asterisk";break;case"#":n="pound"}m.conf.enableDtmfTone&&(m.soundPlayer.setAttribute("src","assets/ms-phonebar/sounds/dialpad/"+n+".ogg"),m.soundPlayer.play().catch(function(e){console.log(e.message)}));for(var a=0;a');t.after(n),n.append(t)}}})}(),function(){"use strict";function e(s,o,t,n){return{restrict:"AE",compile:function(e){if(!(n.getConfig("disableCustomScrollbars")||n.getConfig("disableCustomScrollbarsOnMobile")&&t.isMobile()))return e.addClass("ms-scroll"),function(e,t,n){var a={};function i(){PerfectScrollbar.update(t[0])}n.msScroll&&(a=e.$eval(n.msScroll)),a=angular.extend({},o.getConfig(),a),s(function(){PerfectScrollbar.initialize(t[0],a)},0),t.on("mouseenter",i),e.$watch(function(){return t.prop("scrollHeight")},function(e,t){angular.isUndefined(e)||angular.equals(e,t)||i()}),e.$watch(function(){return t.prop("scrollWidth")},function(e,t){angular.isUndefined(e)||angular.equals(e,t)||i()}),e.$on("$destroy",function(){t.off("mouseenter"),PerfectScrollbar.destroy(t[0])})}}}}e.$inject=["$timeout","msScrollConfig","msUtils","motionConfig"],angular.module("app.core").provider("msScrollConfig",function(){var t={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){t=angular.extend({},t,e)},this.$get=function(){var e={getConfig:function(){return t}};return e}}).directive("msScroll",e)}(),function(){"use strict";function e(s,i,e){var o=this;o.collapsed=!0,o.query="",o.queryOptions={debounce:o.debounce||0};var t=!(!o.collapseOnBlur||"true"!=o.collapseOnBlur);o.resultsLoading=!1,o.results=null,o.selectedResultIndex=0,o.ignoreMouseEvents=!1,o.populateResults=function(e){if(o.collapsed)return;var t=angular.isArray(e),n=null===e;if(!t&&!n)return;o.selectedResultIndex=0,o.results=e},o.expand=function(){o.collapsed=!1,s.expand(),o.onExpand&&angular.isFunction(o.onExpand)&&o.onExpand()},o.collapse=function(){o.query="",o.populateResults(null),o.collapsed=!0,s.collapse(),o.onCollapse&&angular.isFunction(o.onCollapse)&&o.onCollapse()},o.blurCollapse=function(){if(!t)return;o.collapse()},o.absorbEvent=function(e){e.preventDefault()},o.handleKeydown=function(e){var t=e.keyCode;-1<[27,38,40].indexOf(t)&&e.preventDefault();switch(t){case 13:if(!o.results)return;o.handleResultClick(o.results[o.selectedResultIndex]);break;case 27:o.collapse();break;case 38:0<=o.selectedResultIndex-1&&(o.selectedResultIndex--,o.ensureSelectedResultIsVisible());break;case 40:if(!o.results)return;o.selectedResultIndex+1n&&e.scrollTop(n),a>e.height()+e.scrollTop()&&e.scrollTop(a-e.height())}},s.$watch("MsSearchBar.query",function(e,t){if(!angular.isUndefined(e)&&!angular.equals(e,t)&&!o.collapsed){var n=s.$parent.$eval(o.onSearch,{query:e}),a=angular.isArray(n),i=n&&!!n.then;a&&o.populateResults(n),i&&(o.resultsLoading=!0,n.then(function(e){o.populateResults(e)},function(){o.populateResults([])}).finally(function(){o.resultsLoading=!1}))}})}function t(i){return{restrict:"E",scope:{},require:"msSearchBar",controller:"MsSearchBarController as MsSearchBar",bindToController:{debounce:"=?",onSearch:"@",onResultClick:"&?",onExpand:"&?",onCollapse:"&?",collapseOnBlur:"@"},templateUrl:"app/core/directives/ms-search-bar/ms-search-bar.html",compile:function(e){return e.addClass("ms-search-bar"),function(e,t){var n,a=i.find("body");e.collapse=function(){t.removeClass("expanded"),a.removeClass("ms-search-bar-expanded")},e.expand=function(){t.addClass("expanded"),a.addClass("ms-search-bar-expanded"),n.focus()},n=t.find("#ms-search-bar-input")}}}}e.$inject=["$scope","$element","$timeout"],t.$inject=["$document"],angular.module("app.core").controller("MsSearchBarController",e).directive("msSearchBar",t)}(),function(){"use strict";function e(e,n,i,o,r,l){var d=this;d.query="",d.queryOptions={debounce:300},d.resultsLoading=!1,d.selectedResultIndex=0,d.ignoreMouseEvents=!1,d.mobileBarActive=!1,d.results=null,d.shortcuts=[],d.sortableOptions={ghostClass:"ghost",forceFallback:!0,fallbackClass:"dragging",onSort:function(){d.saveShortcuts()}},d.populateResults=function(){for(var e=[],t=l.getFlatNavigation(),n=r.defer(),a=0;a=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 t=e.keyCode;-1<[38,40].indexOf(t)&&e.preventDefault();switch(t){case 13:d.handleResultClick(d.results[d.selectedResultIndex]);break;case 38:0<=d.selectedResultIndex-1&&(d.selectedResultIndex--,d.ensureSelectedResultIsVisible());break;case 40:d.selectedResultIndex+1n&&e.scrollTop(n),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,t,n){var a={element:e,scope:t,form:n,stepNumber:t.step||i.steps.length+1,stepTitle:t.stepTitle,stepTitleTranslate:t.stepTitleTranslate};return i.steps.push(a),i.steps.sort(function(e,t){return e.stepNumber-t.stepNumber}),a},i.setupSteps=function(){i.setCurrentStep(i.currentStepNumber)},i.resetForm=function(){e(function(){for(var e=0;ee.scrollWidth&&0==e.scrollLeft&&0==t.scrollLeft?"right":t.scrollWidth>e.scrollWidth&&t.scrollLeft>e.scrollLeft&&e.scrollWidth+t.scrollLeft>=t.scrollWidth?"left":t.scrollWidth>e.scrollWidth&&t.scrollLeft>e.scrollLeft&&e.scrollWidth+t.scrollLeftn.position().top+i&&(m(function(){o=!0}),r.off("scroll",c))}}}}}e.$inject=["$timeout","$q"],angular.module("app.core").controller("MsTimelineController",function(){var t=this;t.scrollEl=void 0,t.setScrollEl=function(e){t.scrollEl=e},t.getScrollEl=function(){return t.scrollEl}}).directive("msTimeline",function(){return{scope:{msTimeline:"=?",loadMore:"&?msTimelineLoadMore"},controller:"MsTimelineController",compile:function(e){return e.addClass("ms-timeline"),function(e,t,n,a){var i=angular.element('
');t.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().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,t,n,i,s,o,r,l){function d(){a.timeoutId&&clearTimeout(a.timeoutId)}function c(){void 0!==o.startTime&&(a.millis=moment().diff(moment(a.startTime))),a.maxTimeUnit&&"day"!==a.maxTimeUnit?"second"===a.maxTimeUnit?(a.seconds=Math.floor(a.millis/1e3),a.minutes=0,a.hours=0,a.days=0,a.months=0,a.years=0):"minute"===a.maxTimeUnit?(a.seconds=Math.floor(a.millis/1e3%60),a.minutes=Math.floor(a.millis/6e4),a.hours=0,a.days=0,a.months=0,a.years=0):"hour"===a.maxTimeUnit?(a.seconds=Math.floor(a.millis/1e3%60),a.minutes=Math.floor(a.millis/6e4%60),a.hours=Math.floor(a.millis/36e5),a.days=0,a.months=0,a.years=0):"month"===a.maxTimeUnit?(a.seconds=Math.floor(a.millis/1e3%60),a.minutes=Math.floor(a.millis/6e4%60),a.hours=Math.floor(a.millis/36e5%24),a.days=Math.floor(a.millis/36e5/24%30),a.months=Math.floor(a.millis/36e5/24/30),a.years=0):"year"===a.maxTimeUnit&&(a.seconds=Math.floor(a.millis/1e3%60),a.minutes=Math.floor(a.millis/6e4%60),a.hours=Math.floor(a.millis/36e5%24),a.days=Math.floor(a.millis/36e5/24%30),a.months=Math.floor(a.millis/36e5/24/30%12),a.years=Math.floor(a.millis/36e5/24/365)):(a.seconds=Math.floor(a.millis/1e3%60),a.minutes=Math.floor(a.millis/6e4%60),a.hours=Math.floor(a.millis/36e5%24),a.days=Math.floor(a.millis/36e5/24),a.months=0,a.years=0),a.secondsS=1===a.seconds||0===a.seconds?"":"s",a.minutesS=1===a.minutes||0===a.minutes?"":"s",a.hoursS=1===a.hours||0===a.hours?"":"s",a.daysS=1===a.days||0===a.days?"":"s",a.monthsS=1===a.months||0===a.months?"":"s",a.yearsS=1===a.years||0===a.years?"":"s",a.sseconds=a.seconds<10?"0"+a.seconds:a.seconds,a.mminutes=a.minutes<10?"0"+a.minutes:a.minutes,a.hhours=a.hours<10?"0"+a.hours:a.hours,a.ddays=a.days<10?"0"+a.days:a.days,a.mmonths=a.months<10?"0"+a.months:a.months,a.yyears=a.years<10?"0"+a.years:a.years}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),a.autoStart=o.autoStart||o.autostart,0===r.html().trim().length?r.append(l("{{millis}}")(a)):r.append(l(r.contents())(a)),a.interval=a.intervalAttr||1e3,a.startTime=null,a.endTime=null,a.timeoutId=null,a.countdown=a.countdownAttr&&0<=parseInt(a.countdownAttr,10)?parseInt(a.countdownAttr,10):void 0,a.isRunning=!1,a.$watch("startTimeAttr",function(e,t){e!==t&&a.isRunning&&a.start()}),a.$on("timer-start",function(){a.start()}),a.$on("timer-resume",function(){a.resume()}),a.$on("timer-stop",function(){a.stop()}),a.$on("timer-clear",function(){a.clear()}),a.$on("timer-set-countdown",function(e,t){a.countdown=t}),a.start=r[0].start=function(){var e=moment(),t=a.startTimeAttr?moment(a.startTimeAttr):null;a.startTime=!t||er.properties.length){var t=r.multiBarChart.series.length-r.properties.length;r.multiBarChart.series.splice(0,t),r.multiBarChart.data.splice(0,t)}for(var n=0;nr.filter.length){var a=r.multiBarChart.labels.length-r.filter.length;r.multiBarChart.labels.splice(0,a),r.multiBarChart.data[n].splice(0,a)}for(var i=0,s=0;io.properties.length){var t=o.pieChart.labels.length-o.properties.length;o.pieChart.labels.splice(0,t),o.pieChart.data.splice(0,t)}for(var n=0,a=0;n]+>/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("filterByIds",function(){return function(e,t){if(0===e.length||!t)return e;if(0===t.length)return[];for(var n=[],a=0;a')).html(i),s.append(o)})},rgba:l};function l(e,t){var n=t||!1;return 4===e.length&&255===e[0]&&255===e[1]&&255===e[2]&&e.splice(3,4),n&&(e=function(e,t){var n={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]=n.white[t]:0===e[0]&&0===e[1]&&0===e[2]&&(e[3]=n.black[t]);return e}(e,n)),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(n,e,t){var a;angular.injector(["ngCookies"]).invoke(["$cookies",function(e){a=e}]);var i=a.getObject("motion.customTheme");i&&(t.custom=i),n.alwaysWatchTheme(!0),angular.forEach(e,function(e){n.definePalette(e.name,e.options)}),angular.forEach(t,function(e,t){n.theme(t).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(t,n,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 n.error('You must have at least one theme named "default"'):(n.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 t.put("motion.selectedTheme",a.themes.active.name));a.themes.active.name=e,a.themes.active.theme=a.themes.list[e],t.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(t,s,o,r){this.search=function(t){for(var e=[],n=r.getFlatNavigation(),a=o.defer(),i=0;i"+(e.name||"extractedReport")+" will be deleted.").ariaLabel("delete extractedReport").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.success=y,b.getExtractedReports=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.analyticExtractedReport.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="ExtractedReports",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditExtractedReport=function(e,t){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:t,extractedReports:b.extractedReports.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteExtractedReport=S,b.exportSelectedExtractedReports=function(){var e=angular.copy(b.selectedExtractedReports);return b.selectedExtractedReports=[],e},b.deleteSelectedExtractedReports=function(e){var t=i.confirm().title("Are you sure want to delete the selected extractedReports?").htmlContent(""+b.selectedExtractedReports.length+" selected will be deleted.").ariaLabel("delete ExtractedReports").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedExtractedReports.forEach(function(e){S(e)}),b.selectedExtractedReports=[]})},b.deselectExtractedReports=function(){b.selectedExtractedReports=[]},b.selectAllExtractedReports=function(){b.selectedExtractedReports=b.extractedReports.rows};var A=!0,E=1;function y(e){b.extractedReports=e||{count:0,rows:[]}}function S(e){m.analyticExtractedReport.delete({id:e.id}).$promise.then(function(){_.remove(b.extractedReports.rows,{id:e.id}),b.extractedReports.count-=1,b.extractedReports.rows.length||b.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){b.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEanalyticExtractedReport"}];for(var t=0;t"+(e.name||"metric")+" will be deleted.").ariaLabel("delete metric").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.success=y,b.getMetrics=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.analyticMetric.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="Metrics",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditMetric=function(e,t){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:t,metrics:b.metrics.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteMetric=S,b.exportSelectedMetrics=function(){var e=angular.copy(b.selectedMetrics);return b.selectedMetrics=[],e},b.deleteSelectedMetrics=function(e){var t=i.confirm().title("Are you sure want to delete the selected metrics?").htmlContent(""+b.selectedMetrics.length+" selected will be deleted.").ariaLabel("delete Metrics").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedMetrics.forEach(function(e){S(e)}),b.selectedMetrics=[]})},b.deselectMetrics=function(){b.selectedMetrics=[]},b.selectAllMetrics=function(){b.selectedMetrics=b.metrics.rows};var A=!0,E=1;function y(e){b.metrics=e||{count:0,rows:[]}}function S(e){m.analyticMetric.delete({id:e.id}).$promise.then(function(){_.remove(b.metrics.rows,{id:e.id}),b.metrics.count-=1,b.metrics.rows.length||b.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){b.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEanalyticMetric"}];for(var t=0;t"+e.field+" will be deleted.").ariaLabel("delete field").targetEvent(t).ok("OK").cancel("CANCEL");a.show(n).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,t){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:t,reportFields:c.reportFields.rows,metrics:c.metrics,columns:c.columns,setting:null,crudPermissions:c.crudPermissions}})},c.deleteReportField=p,c.deleteSelectedReportFields=function(e){var t=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(t).then(function(){c.selectedReportFields.forEach(function(e){p(e)}),c.selectedReportFields=[]})},c.getMetricName=function(e){var t=_.find(c.metrics,{id:e});return t?t.name:d.instant("ANALYTICS.NO_METRIC_FOUND")},c.getMetricValue=function(e){var t=_.find(c.metrics,{id:e});return t?t.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()})})}t.$watch("vm_rf.query.filter",function(e,t){m?n(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,t,n,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")},o.saveReport=function(){o.report.conditions=angular.toJson(o.report.condition),n.analyticCustomReport.update({id:o.report.id},_.omit(o.report,"joins")).$promise.then(function(){t.success({title:"Report updated!",msg:o.report.name?o.report.name+" has been updated!":""})}).catch(function(e){t.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,n.analyticFieldReport.get({fields:"field,alias",nolimit:!0,CustomReportId:o.report.id}).$promise.then(function(e){return o.columns=e?e.rows:[],n.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"},t.error(o.error)})},o.queryReport=function(){return o.queryResult="Loading...",n.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"},t.error(o.error)})},o.mapArray=function(e,t){if(r(e))return _.map(e,t).join(",");return""},o.isArray=r,o.valueReplacer=function(e,t){moment(t,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(t=moment(t,"").format("YYYY-MM-DD HH:mm:ss"));return t}}e.$inject=["$state","toasty","api","report","Auth","userProfileSection"],angular.module("app.analytics").controller("ReportController",e)}(),function(){"use strict";function e(e,t,n,a,i,s){var o=this;o.errors=[],o.report=angular.copy(a),o.valueReplacer=function(e,t){moment(t,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(t=moment(t,"").format("YYYY-MM-DD HH:mm:ss"));return t},o.closeDialog=function(){t.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"},n.error(o.error)})}()}e.$inject=["$location","$mdDialog","toasty","report","api","apiName"],angular.module("app.analytics").controller("PreviewReportDialogController",e)}(),function(){"use strict";function e(e,n,a,i,s,o,t,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,t){s.go("app.analytics.reports.edit",{id:e.id,crudPermissions:p.crudPermissions})},p.copydialog=function(e,t){i.show({controller:"CopyReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/copy/dialog.html",parent:angular.element(a.body),targetEvent:t,clickOutsideToClose:!0,locals:{report:e,apiName:p.apiName,treeCustomData:p.treeCustomInstance.jstree(!0).get_json("#")}}).finally(function(){})},p.previewdialog=function(e,t){i.show({controller:"PreviewReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/preview/dialog.html",parent:angular.element(a.body),targetEvent:t,clickOutsideToClose:!0,locals:{report:e,apiName:p.apiName}})},p.rundialog=function(e,t){i.show({controller:"RunReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/run/dialog.html",parent:angular.element(a.body),targetEvent:t,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 t={fields:"field,alias,function,format,groupBy,orderBy,custom,MetricId",nolimit:!0};return t["analyticCustomReport"===p.apiName?"CustomReportId":"DefaultReportId"]=a.id,d.analyticFieldReport.get(t).$promise}).then(function(e){for(var t=0;t"+e.name+" will be deleted.").ariaLabel("delete report").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){b(e)},function(){console.log("CANCEL")})},p.success=h,p.getReports=f,p.createOrEditReport=function(e,t){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:t,reports:p.reports.rows,apiName:p.apiName,currentNode:p.currentNode,setting:null,crudPermissions:p.crudPermissions}})},p.importReport=function(e,t,n){if("application/json"===e.file.type){var a=new FileReader;a.onload=function(e){console.log(e.target.result);try{var n=atob(e.target.result.split(",")[1]);n=angular.fromJson(n),d.analyticCustomReport.save({name:n.name,description:n.description,table:n.table,conditions:n.conditions,joins:n.joins,parent:p.currentNode.id}).$promise.then(function(t){p.reports.rows.unshift(t),m.success({title:"Report saved!",msg:t.name?t.name+" has been saved!":""});var e=_.map(n.fields,function(e){return _.extend({},e,{CustomReportId:t.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 t=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(t).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 t=e&&e.rows?e.rows:[];if(0"+(n.text?n.text:"Node")+" and its subnode will be deleted.").ariaLabel("delete node").ok("OK").cancel("CANCEL");i.show(e).then(function(){var e,t=p.treeCustomInstance.jstree(!0).get_parent(n);t=p.treeCustomInstance.jstree(!0).get_node(t),p.treeCustomInstance.jstree(!0).delete_node(n),e=[n.id].concat(n.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(t)})}}}),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,t){g?n(function(){g=!1}):(t||(v=p.query.page),e!==t&&(p.query.page=1),e||(p.query.page=v),p.getReports())}),e.$watch("vm.search",function(e,t){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,n,a,t,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(){n.hide()}l.errors=[],l.report=angular.copy(t),l.export={},l.runReport=function(t){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?n.show({controller:"WebReportDialogController",controllerAs:"vm",templateUrl:"app/main/apps/analytics/views/reports/run/web/dialog.html",parent:angular.element(o.body),targetEvent:t,skipHide:!0,locals:{apiName:s,exportDate:l.exportDate,results:e},resolve:{columns:["apiResolver",function(e){var t={fields:"field,alias",nolimit:!0};return t["analyticCustomReport"===s?"CustomReportId":"DefaultReportId"]=l.report.id,e.resolve("analyticFieldReport@get",t)}]}}):(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,t,n,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=n[s].run(o,l).$promise},r.valueReplacer=function(e,t){moment(t,"YYYY-MM-DDTHH:mm:ssZ",!0).isValid()&&(t=moment(t,"").format("YYYY-MM-DD HH:mm:ss"));return t}}e.$inject=["$mdDialog","toasty","api","columns","results","apiName","exportDate"],angular.module("app.analytics").controller("WebReportDialogController",e)}(),function(){"use strict";function e(e,t,n,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 t=0;t"+(e.name||"odbc")+" will be deleted.").ariaLabel("delete odbc").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.success=y,b.getODBC=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.squareOdbc.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="ODBC",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditOdbc=function(e,t){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:t,odbcs:b.odbcs.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteOdbc=S,b.exportSelectedODBC=function(){var e=angular.copy(b.selectedODBC);return b.selectedODBC=[],e},b.deleteSelectedODBC=function(e){var t=i.confirm().title("Are you sure want to delete the selected odbcs?").htmlContent(""+b.selectedODBC.length+" selected will be deleted.").ariaLabel("delete Odbcs").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedODBC.forEach(function(e){S(e)}),b.selectedODBC=[]})},b.deselectODBC=function(){b.selectedODBC=[]},b.selectAllODBC=function(){b.selectedODBC=b.odbcs.rows};var A=!0,E=1;function y(e){b.odbcs=e||{count:0,rows:[]}}function S(e){m.squareOdbc.delete({id:e.id}).$promise.then(function(){_.remove(b.odbcs.rows,{id:e.id}),b.odbcs.count-=1,b.odbcs.rows.length||b.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){b.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEsquareOdbc"}];for(var t=0;t"+e.name+" will be deleted.").ariaLabel("delete project").targetEvent(t).ok("OK").cancel("CANCEL");l.show(n).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="Projects",p.promise=o.userProfile.getResources(p.query,h).$promise)},p.createOrEditProject=function(e,t){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:t,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 t=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(t).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 t=0;t"+(e.name||"squareRecording")+" will be deleted.").ariaLabel("delete squareRecording").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.success=y,b.getSquareRecordings=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.squareRecording.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="SquareRecordings",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditSquareRecording=function(e,t){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:t,squareRecordings:b.squareRecordings.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteSquareRecording=S,b.exportSelectedSquareRecordings=function(){var e=angular.copy(b.selectedSquareRecordings);return b.selectedSquareRecordings=[],e},b.deleteSelectedSquareRecordings=function(e){var t=i.confirm().title("Are you sure want to delete the selected squareRecordings?").htmlContent(""+b.selectedSquareRecordings.length+" selected will be deleted.").ariaLabel("delete SquareRecordings").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedSquareRecordings.forEach(function(e){S(e)}),b.selectedSquareRecordings=[]})},b.deselectSquareRecordings=function(){b.selectedSquareRecordings=[]},b.selectAllSquareRecordings=function(){b.selectedSquareRecordings=b.squareRecordings.rows};var A=!0,E=1;function y(e){b.squareRecordings=e||{count:0,rows:[]}}function S(e){m.squareRecording.delete({id:e.id}).$promise.then(function(){_.remove(b.squareRecordings.rows,{id:e.id}),b.squareRecordings.count-=1,b.squareRecordings.rows.length||b.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){b.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEsquareRecording"}];for(var t=0;t"+(e.name||"chatQueue")+" will be deleted.").ariaLabel("delete chatQueue").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.gotorealtimegoto=function(e,t){{if(!g.hasRole("admin"))return m.userProfileSection.get({userProfileId:g.getCurrentUser().userProfileId,sectionId:510}).$promise.then(function(e){var t=e&&e.rows?e.rows[0]:null;t&&t.enabled?n.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()})});n.go("app.chat.realtime.queues",{})}},b.success=y,b.getChatQueues=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.chatQueue.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="ChatQueues",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditChatQueue=function(e,t){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:t,chatQueues:b.chatQueues.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteChatQueue=S,b.exportSelectedChatQueues=function(){var e=angular.copy(b.selectedChatQueues);return b.selectedChatQueues=[],e},b.deleteSelectedChatQueues=function(e){var t=i.confirm().title("Are you sure want to delete the selected chatQueues?").htmlContent(""+b.selectedChatQueues.length+" selected will be deleted.").ariaLabel("delete ChatQueues").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedChatQueues.forEach(function(e){S(e)}),b.selectedChatQueues=[]})},b.deselectChatQueues=function(){b.selectedChatQueues=[]},b.selectAllChatQueues=function(){b.selectedChatQueues=b.chatQueues.rows};var A=!0,E=1;function y(e){b.chatQueues=e||{count:0,rows:[]}}function S(e){m.chatQueue.delete({id:e.id}).$promise.then(function(){_.remove(b.chatQueues.rows,{id:e.id}),b.chatQueues.count-=1,b.chatQueues.rows.length||b.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){b.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:DELETEchatQueue"}];for(var t=0;t":"",t}),c.startingSelectedItems=angular.copy(c.selectedItems),c.dualMultiselectOptions.selectedItems=c.selectedItems,c.dualMultiselectOptions.items=_.differenceBy(c.allowedItems,c.dualMultiselectOptions.selectedItems,"id"),n()}).catch(function(e){t(e)})})}c.currentUser=l.getCurrentUser(),c.chatQueue=t,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(n,t){s.userProfileSection.get({userProfileId:c.currentUser.userProfileId,name:"Agents"}).$promise.then(function(e){var t=e&&e.rows?e.rows[0]:null;n(t)}).catch(function(e){t(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"),t=_.differenceBy(c.selectedItems,c.startingSelectedItems,"id");return(n=e,a(function(e,t){_.isEmpty(n)?e():s.chatQueue.removeAgents({id:c.chatQueue.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})})).then(function(){return n=t,a(function(e,t){_.isEmpty(n)?e():s.chatQueue.addAgents({id:c.chatQueue.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})});var n}).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 n},c.closeDialog=function(){e.hide()},c.dualMultiselectOptions={readOnly:!c.crudPermissions.canEdit,items:[],selectedItems:[],showSelectAndDeselectAll:!o,orderBy:"name",line1:"fullname",line2:["name","internal"],line3:"",labelAll:r.instant("CHAT.ALL_AGENTS"),labelSelected:r.instant("CHAT.SELECTED_AGENTS"),transferCallback:function(e,t){var n=_.xorBy(c.startingSelectedItems,c.selectedItems,"id");c.pendingChanges=!_.isEmpty(n)}}}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,t,n,o,r){var l=this;function d(){return a(function(n,t){return a(function(t,n){return s.team.get({fields:"id,name",nolimit:!0}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})}).then(function(e){return l.items=e.rows?e.rows:[],o.hasRole("admin")?e:l.section?l.section.autoAssociation?e:a(function(t,n){return s.userProfileResource.get({sectionId:l.section.id}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})}):null}).then(function(e){var t=e&&e.rows?e.rows:[];return l.allowedItems=_.map(t,function(e){return _.find(l.items,{id:o.hasRole("admin")||l.section.autoAssociation?e.id:e.resourceId})}),l.items.forEach(function(e){var t=_.find(l.allowedItems,{id:e.id});o.hasRole("admin")?e.isValid=!0:e.isValid=void 0!==t}),a(function(t,n){return s.chatQueue.getTeams({id:l.chatQueue.id,fields:"id,name",nolimit:!0}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})})}).then(function(e){var t=e&&e.rows?e.rows:[];l.selectedItems=_.map(t,function(e){return _.find(l.items,{id:e.id})}),l.startingSelectedItems=angular.copy(l.selectedItems),l.dualMultiselectOptions.selectedItems=l.selectedItems,l.dualMultiselectOptions.items=_.differenceBy(l.allowedItems,l.dualMultiselectOptions.selectedItems,"id"),n()}).catch(function(e){t(e)})})}l.currentUser=o.getCurrentUser(),l.chatQueue=t,l.crudPermissions=r,l.items=[],l.allowedItems=[],l.selectedItems=[],l.startingAllowedItems=[],l.startingSelectedItems=[],l.pendingChanges=!1,l.dualMultiselectOptions={readOnly:!l.crudPermissions.canEdit,allowedItems:[],selectedItems:[],showSelectAndDeselectAll:!0,orderBy:"name",line1:"name",line2:"",line3:"",labelAll:n.instant("CHAT.ALL_TEAMS"),labelSelected:n.instant("CHAT.SELECTED_TEAMS"),transferCallback:function(e,t){var n=_.xorBy(l.startingSelectedItems,l.selectedItems,"id");l.pendingChanges=!_.isEmpty(n)}},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(n,t){s.userProfileSection.get({userProfileId:l.currentUser.userProfileId,name:"Teams"}).$promise.then(function(e){var t=e&&e.rows?e.rows[0]:null;n(t)}).catch(function(e){t(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"),t=_.differenceBy(l.selectedItems,l.startingSelectedItems,"id");return(n=e,a(function(e,t){_.isEmpty(n)?e():s.chatQueue.removeTeams({id:l.chatQueue.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})})).then(function(){return n=t,a(function(e,t){_.isEmpty(n)?e():s.chatQueue.addTeams({id:l.chatQueue.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})});var n}).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 n},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,t,n,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=t.protocol()+"://"+t.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,t){n.show({controller:"ChatQueueteamaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatQueues/edit/teamadd/teamadd.html",parent:angular.element(a.body),targetEvent:t,clickOutsideToClose:!0,locals:{chatQueue:e,chatQueues:u.chatQueues?u.chatQueues.rows:[],crudPermissions:u.crudPermissions}})},u.agentadddialog=function(e,t){n.show({controller:"ChatQueueagentaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatQueues/edit/agentadd/agentadd.html",parent:angular.element(a.body),targetEvent:t,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")},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,t,n,a,i,s,o,r,l,d,c,m,u,p,g,v,h,f){var b=this;b.license=v,b.setting=h,b.currentUser=g.getCurrentUser(),b.chatWebsites=l||{count:0,rows:[]},b.userProfile=d,b.userProfileSection=c&&1==c.count?c.rows[0]:null,b.crudPermissions=g.parseCrudPermissions(b.userProfileSection?b.userProfileSection.crudPermissions:null),b.table="chatWebsites",b.listOrder="",b.listOrderAsc=null,b.selectedChatWebsites=[],b.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,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,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,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout",sort:"-updatedAt",limit:10,page:1},b.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"),"")}),b.arrayheader_shape=_.keyBy([{option:"Rounded",value:"'rounded'"},{option:"Squared",value:"'squared'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),b.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"),"")}),b.arraymessagesAlignment=_.keyBy([{option:"alternate",value:"'alternate'"},{option:"centered",value:"'centered'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),b.arrayratingType=_.keyBy([{option:"Star",value:"'star'"},{option:"Thumb",value:"'thumb'"}],function(e){return _.replace(e.value,new RegExp("'","g"),"")}),b.editstate=function(e,t){n.go("app.chat.chatWebsites.edit",{id:e.id,chatWebsite:e,crudPermissions:b.crudPermissions})},b.interactionsgoto=function(e,t){n.go("app.chat.chatWebsites.edit",{id:e.id,tab:9})},b.offlinemessagesgoto=function(e,t){n.go("app.chat.chatWebsites.edit",{id:e.id,tab:10})},b.agentadddialog=function(e,t){i.show({controller:"ChatWebsiteagentaddController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html",parent:angular.element(s.body),targetEvent:t,clickOutsideToClose:!0,locals:{chatWebsite:e,chatWebsites:b.chatWebsites?b.chatWebsites.rows:[],crudPermissions:b.crudPermissions,realtime:!1}})},b.deleteconfirm=function(e,t){var n=i.confirm().title("Are you sure want to delete the "+_.startCase("chatWebsite")+"?").htmlContent(""+(e.name||"chatWebsite")+" will be deleted.").ariaLabel("delete chatWebsite").targetEvent(t).ok("OK").cancel("CANCEL");i.show(n).then(function(){S(e)},function(){console.log("CANCEL")})},b.success=y,b.getChatWebsites=function(){b.query.offset=(b.query.page-1)*b.query.limit,g.hasRole("admin")?b.promise=m.chatWebsite.get(b.query,y).$promise:(b.query.id=b.userProfile.id,b.query.section="ChatWebsites",b.promise=m.userProfile.getResources(b.query,y).$promise)},b.createOrEditChatWebsite=function(e,t){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:t,chatWebsites:b.chatWebsites.rows,license:b.license,setting:b.setting,crudPermissions:b.crudPermissions}})},b.deleteChatWebsite=S,b.exportSelectedChatWebsites=function(){var e=angular.copy(b.selectedChatWebsites);return b.selectedChatWebsites=[],e},b.deleteSelectedChatWebsites=function(e){var t=i.confirm().title("Are you sure want to delete the selected chatWebsites?").htmlContent(""+b.selectedChatWebsites.length+" selected will be deleted.").ariaLabel("delete ChatWebsites").targetEvent(e).ok("OK").cancel("CANCEL");i.show(t).then(function(){b.selectedChatWebsites.forEach(function(e){S(e)}),b.selectedChatWebsites=[]})},b.deselectChatWebsites=function(){b.selectedChatWebsites=[]},b.selectAllChatWebsites=function(){b.selectedChatWebsites=b.chatWebsites.rows},g.hasRole("admin")?m.cmList.get({fields:"id,name",sort:"name"}).$promise.then(function(e){b.lists=e.rows||[],b.lists.forEach(function(e){e.canSelect=!0})}).catch(function(e){p.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GETlists",msg:e.data?JSON.stringify(e.data):e.toString()})}):m.cmList.get({fields:"id,name",sort:"name"}).$promise.then(function(e){b.lists=e.rows||[],b.lists.forEach(function(e){e.canSelect=!0})}).then(function(){return m.userProfileSection.get({userProfileId:b.currentUser.userProfileId,sectionId:301}).$promise}).then(function(e){var t=e&&e.rows?e.rows[0]:null;if(t){if(!t.autoAssociation)return m.userProfileResource.get({sectionId:t.id}).$promise.then(function(e){var t=e&&e.rows?e.rows:[],n=[],a=null;b.chatWebsite&&(a=_.find(b.lists,{id:Number(b.chatWebsite.ListId)}));for(var i=0;i"+e.app+" will be deleted.").ariaLabel("delete application").targetEvent(n).ok("OK").cancel("CANCEL");i.show(a).then(function(){r.chatWebsiteApps.rows.splice(t,1),l()},function(){console.log("CANCEL")})},r.getChatWebsiteApps=function(){r.promise=o.chatWebsite.getApplications(r.query,n).$promise},r.editChatWebsiteApp=t,r.editInterval=function(e,t){if(r.chatWebsiteApps.rows.length){var n=r.chatWebsiteApps.rows[t]?r.chatWebsiteApps.rows[t]: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:n.interval,IntervalId:n.IntervalId,application:!0},intervals:[],crudPermissions:r.crudPermissions}}).then(function(e){e&&(n.interval=e.interval||"*,*,*,*",n.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 t=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(t).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,t,n,o,r,l,d){var c=this;function m(){return a(function(n,t){return a(function(t,n){return s.user.get({fields:"id,name,internal,fullname",nolimit:!0,role:"agent"}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})}).then(function(e){return c.items=e.rows?e.rows:[],l.hasRole("admin")?e:c.section?c.section.autoAssociation?e:a(function(t,n){return s.userProfileResource.get({sectionId:c.section.id}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})}):null}).then(function(e){var t=e&&e.rows?e.rows:[];return c.allowedItems=_.map(t,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 t=_.find(c.allowedItems,{id:e.id});l.hasRole("admin")?e.isValid=!0:e.isValid=void 0!==t}),a(function(t,n){return s.chatWebsite.getAgents({id:c.chatWebsite.id,fields:"id,name,internal,fullname",nolimit:!0,role:"agent"}).$promise.then(function(e){t(e)}).catch(function(e){n(e)})})}).then(function(e){var t=e&&e.rows?e.rows:[];c.selectedItems=_.map(t,function(e){var t=_.find(c.items,{id:e.id});return t.penalty=e.UserChatWebsite?"penalty "+e.UserChatWebsite.penalty:"",t.internal=e.hasOwnProperty("internal")?"<"+e.internal+">":"",t}),c.startingSelectedItems=angular.copy(c.selectedItems),c.dualMultiselectOptions.selectedItems=c.selectedItems,c.dualMultiselectOptions.items=_.differenceBy(c.allowedItems,c.dualMultiselectOptions.selectedItems,"id"),n()}).catch(function(e){t(e)})})}c.currentUser=l.getCurrentUser(),c.chatWebsite=t,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(n,t){s.userProfileSection.get({userProfileId:c.currentUser.userProfileId,name:"Agents"}).$promise.then(function(e){var t=e&&e.rows?e.rows[0]:null;n(t)}).catch(function(e){t(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"),t=_.differenceBy(c.selectedItems,c.startingSelectedItems,"id");return(n=e,a(function(e,t){_.isEmpty(n)?e():s.chatWebsite.removeAgents({id:c.chatWebsite.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})})).then(function(){return n=t,a(function(e,t){_.isEmpty(n)?e():s.chatWebsite.addAgents({id:c.chatWebsite.id,ids:_.map(n,"id")}).$promise.then(function(){e()}).catch(function(e){t(e)})});var n}).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 n},c.closeDialog=function(){e.hide()},c.dualMultiselectOptions={readOnly:!c.crudPermissions.canEdit,items:[],selectedItems:[],showSelectAndDeselectAll:!o,orderBy:"name",line1:"fullname",line2:["name","internal"],line3:"",labelAll:r.instant("CHAT.ALL_AGENTS"),labelSelected:r.instant("CHAT.SELECTED_AGENTS"),transferCallback:function(e,t){var n=_.xorBy(c.startingSelectedItems,c.selectedItems,"id");c.pendingChanges=!_.isEmpty(n)}}}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 t=["png","jpg"];if(!_.includes(t,e.getExtension()))return a.error({title:"Invalid extension: "+e.getExtension(),msg:"Supported extension: "+t.join()}),!1;if(8388608"+(e.name||"chatCannedAnswer")+" will be deleted.").ariaLabel("delete chatCannedAnswer").targetEvent(t).ok("OK").cancel("CANCEL");s.show(n).then(function(){g(e)},function(){console.log("CANCEL")})},c.success=p,c.getChatWebsiteChatCannedAnswers=function(){c.query.offset=(c.query.page-1)*c.query.limit,c.promise=l.chatWebsite.getAnswers(c.query,p).$promise},c.createOrEditChatWebsiteChatCannedAnswer=function(e,t){s.show({controller:"CreateOrEditChatCannedAnswerDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/chatCannedAnswers/dialog.html",parent:angular.element(o.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:c.chatWebsite,chatCannedAnswer:t,chatCannedAnswers:c.chatWebsiteChatCannedAnswers.rows,license:null,setting:null,crudPermissions:c.crudPermissions}})},c.exportSelectedChatWebsiteChatCannedAnswers=function(){var e=angular.copy(c.selectedChatWebsiteChatCannedAnswers);return c.selectedChatWebsiteChatCannedAnswers=[],e},c.deleteChatWebsiteChatCannedAnswer=g,c.deleteSelectedChatWebsiteChatCannedAnswers=function(e){var t=s.confirm().title("Are you sure want to delete the selected chatCannedAnswers?").htmlContent(""+c.selectedChatWebsiteChatCannedAnswers.length+" selected will be deleted.").ariaLabel("delete chatCannedAnswers").targetEvent(e).ok("OK").cancel("CANCEL");s.show(t).then(function(){c.selectedChatWebsiteChatCannedAnswers.forEach(function(e){g(e)}),c.selectedChatWebsiteChatCannedAnswers=[]})};var m=!0,u=1;function p(e){c.chatWebsiteChatCannedAnswers=e||{count:0,rows:[]}}function g(e){l.cannedAnswer.delete({id:e.id}).$promise.then(function(){_.remove(c.chatWebsiteChatCannedAnswers.rows,{id:e.id}),c.chatWebsiteChatCannedAnswers.count-=1,c.chatWebsiteChatCannedAnswers.rows.length||c.getChatWebsiteChatCannedAnswers(),r.success({title:"ChatCannedAnswer deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){vm.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var t=0;t"+(e.name||"chatDisposition")+" will be deleted.").ariaLabel("delete chatDisposition").targetEvent(t).ok("OK").cancel("CANCEL");s.show(n).then(function(){g(e)},function(){console.log("CANCEL")})},c.success=p,c.getChatWebsiteChatDispositions=function(){c.query.offset=(c.query.page-1)*c.query.limit,c.promise=l.chatWebsite.getDispositions(c.query,p).$promise},c.createOrEditChatWebsiteChatDisposition=function(e,t){s.show({controller:"CreateOrEditChatDispositionDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/chatDispositions/dialog.html",parent:angular.element(o.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:c.chatWebsite,chatDisposition:t,chatDispositions:c.chatWebsiteChatDispositions.rows,license:null,setting:null,crudPermissions:c.crudPermissions}})},c.exportSelectedChatWebsiteChatDispositions=function(){var e=angular.copy(c.selectedChatWebsiteChatDispositions);return c.selectedChatWebsiteChatDispositions=[],e},c.deleteChatWebsiteChatDisposition=g,c.deleteSelectedChatWebsiteChatDispositions=function(e){var t=s.confirm().title("Are you sure want to delete the selected chatDispositions?").htmlContent(""+c.selectedChatWebsiteChatDispositions.length+" selected will be deleted.").ariaLabel("delete chatDispositions").targetEvent(e).ok("OK").cancel("CANCEL");s.show(t).then(function(){c.selectedChatWebsiteChatDispositions.forEach(function(e){g(e)}),c.selectedChatWebsiteChatDispositions=[]})};var m=!0,u=1;function p(e){c.chatWebsiteChatDispositions=e||{count:0,rows:[]}}function g(e){l.disposition.delete({id:e.id}).$promise.then(function(){_.remove(c.chatWebsiteChatDispositions.rows,{id:e.id}),c.chatWebsiteChatDispositions.count-=1,c.chatWebsiteChatDispositions.rows.length||c.getChatWebsiteChatDispositions(),r.success({title:"ChatDisposition deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){vm.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var t=0;t"+(e.name||"interaction")+" will be deleted.").ariaLabel("delete interaction").targetEvent(t).ok("OK").cancel("CANCEL");s.show(n).then(function(){g(e)},function(){console.log("CANCEL")})},c.chatInteractionDownload=function(s,e,t){return l.chatInteraction.download({id:s.id,exists:!0,attachments:t}).$promise.then(function(e){var t=[e.buffer],n="interaction"+s.id,a=new Blob(t,{type:e.type});n="chat-interaction"+s.id+".zip";var i=window.document.createElement("a");i.setAttribute("href",URL.createObjectURL(a)),i.setAttribute("download",n),document.body.appendChild(i),i.click()}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length)for(var t=0;t"+c.selectedChatWebsiteInteractions.length+" selected will be deleted.").ariaLabel("delete interactions").targetEvent(e).ok("OK").cancel("CANCEL");s.show(t).then(function(){c.selectedChatWebsiteInteractions.forEach(function(e){g(e)}),c.selectedChatWebsiteInteractions=[]})};var m=!0,u=1;function p(e){c.chatWebsiteInteractions=e||{count:0,rows:[]}}function g(e){l.chatInteraction.delete({id:e.id}).$promise.then(function(){_.remove(c.chatWebsiteInteractions.rows,{id:e.id}),c.chatWebsiteInteractions.count-=1,c.chatWebsiteInteractions.rows.length||c.getChatWebsiteInteractions(),r.success({title:"Interaction deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){vm.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var t=0;t"+(e.name||"offlineMessage")+" will be deleted.").ariaLabel("delete offlineMessage").targetEvent(t).ok("OK").cancel("CANCEL");s.show(n).then(function(){g(e)},function(){console.log("CANCEL")})},c.success=p,c.getChatWebsiteOfflineMessages=function(){c.query.offset=(c.query.page-1)*c.query.limit,c.promise=l.chatWebsite.getOfflineMessages(c.query,p).$promise},c.createOrEditChatWebsiteOfflineMessage=function(e,t){s.show({controller:"CreateOrEditOfflineMessageDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html",parent:angular.element(o.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:c.chatWebsite,offlineMessage:t,offlineMessages:c.chatWebsiteOfflineMessages.rows,license:null,setting:null,crudPermissions:c.crudPermissions}})},c.showOfflineMessageChatWebsiteOfflineMessage=function(e,n){s.show({controller:"ShowOfflineMessageOfflineMessageDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html",parent:angular.element(o.body),targetEvent:e,clickOutsideToClose:!0,resolve:{message:["apiResolver","$stateParams",function(e,t){return e.resolve("chatOfflineMessage@get",{fields:"id,body",id:n.id})}]}})},c.exportSelectedChatWebsiteOfflineMessages=function(){var e=angular.copy(c.selectedChatWebsiteOfflineMessages);return c.selectedChatWebsiteOfflineMessages=[],e},c.deleteChatWebsiteOfflineMessage=g,c.deleteSelectedChatWebsiteOfflineMessages=function(e){var t=s.confirm().title("Are you sure want to delete the selected offlineMessages?").htmlContent(""+c.selectedChatWebsiteOfflineMessages.length+" selected will be deleted.").ariaLabel("delete offlineMessages").targetEvent(e).ok("OK").cancel("CANCEL");s.show(t).then(function(){c.selectedChatWebsiteOfflineMessages.forEach(function(e){g(e)}),c.selectedChatWebsiteOfflineMessages=[]})},l.cmContact.get({fields:"id,firstName,lastName",nolimit:"true"}).$promise.then(function(e){c.contacts=e.rows||[],c.contacts.forEach(function(e){e.canSelect=!0})}).catch(function(e){r.error({title:e.status?"API:"+e.status+" - "+e.statusText:"SYSTEM:GETcontacts",msg:e.data?JSON.stringify(e.data):e.toString()})});var m=!0,u=1;function p(e){c.chatWebsiteOfflineMessages=e||{count:0,rows:[]}}function g(e){l.chatOfflineMessage.delete({id:e.id}).$promise.then(function(){_.remove(c.chatWebsiteOfflineMessages.rows,{id:e.id}),c.chatWebsiteOfflineMessages.count-=1,c.chatWebsiteOfflineMessages.rows.length||c.getChatWebsiteOfflineMessages(),r.success({title:"OfflineMessage deleted!",msg:e.name?e.name+" has been deleted!":""})}).catch(function(e){if(e.data&&e.data.errors&&e.data.errors.length){vm.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var t=0;t"+(e.name||"chatProactiveAction")+" will be deleted.").ariaLabel("delete chatProactiveAction").targetEvent(t).ok("OK").cancel("CANCEL");s.show(n).then(function(){g(e)},function(){console.log("CANCEL")})},c.success=p,c.getChatWebsiteProactiveActions=function(){c.query.offset=(c.query.page-1)*c.query.limit,c.promise=l.chatWebsite.getProactiveActions(c.query,p).$promise},c.createOrEditChatWebsiteChatProactiveAction=function(e,t){s.show({controller:"CreateOrEditChatProactiveActionDialogController",controllerAs:"vm",templateUrl:"app/main/apps/chat/views/chatWebsites/edit/proactive/dialog.html",parent:angular.element(o.body),targetEvent:e,clickOutsideToClose:!0,locals:{chatWebsite:c.chatWebsite,chatProactiveAction:t,proactive:c.chatWebsiteProactiveActions.rows,license:null,setting:null,crudPermissions:c.crudPermissions}})},c.exportSelectedChatWebsiteProactiveActions=function(){var e=angular.copy(c.selectedChatWebsiteProactiveActions);return c.selectedChatWebsiteProactiveActions=[],e},c.deleteChatWebsiteChatProactiveAction=g,c.deleteSelectedChatWebsiteProactiveActions=function(e){var t=s.confirm().title("Are you sure want to delete the selected proactive?").htmlContent(""+c.selectedChatWebsiteProactiveActions.length+" selected will be deleted.").ariaLabel("delete proactive").targetEvent(e).ok("OK").cancel("CANCEL");s.show(t).then(function(){c.selectedChatWebsiteProactiveActions.forEach(function(e){g(e)}),c.selectedChatWebsiteProactiveActions=[]})};var m=!0,u=1;function p(e){c.chatWebsiteProactiveActions=e||{count:0,rows:[]}}function g(e){l.chatProactiveAction.delete({id:e.id}).$promise.then(function(){_.remove(c.chatWebsiteProactiveActions.rows,{id:e.id}),c.chatWebsiteProactiveActions.count-=1,c.chatWebsiteProactiveActions.rows.length||c.getChatWebsiteProactiveActions(),r.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){vm.errors=e.data.errors||[{message:e.toString(),type:"SYSTEM:GETchatWebsite"}];for(var t=0;t<\/script>',t.end="\n\x3c!-- START Motion Chat Script --\x3e"},t.info={},e.$watch("vm_ac.chatWebsite.remote",function(e){t.script='\n