diff --git a/package-lock.json b/package-lock.json index 24224d293..a5a057fc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@webitel/ui-sdk", - "version": "24.12.18", + "version": "24.12.21", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@webitel/ui-sdk", - "version": "24.12.18", + "version": "24.12.21", "dependencies": { "@floating-ui/vue": "^1.1.5", "@morev/vue-transitions": "^3.0.5", @@ -36,7 +36,7 @@ "vue-multiselect": "^3.1.0", "vue-observe-visibility": "^2.0.0-alpha.1", "vue-router": "^4.4.5", - "webitel-sdk": "^24.10.2", + "webitel-sdk": "^24.10.4", "xlsx": "^0.18.5" }, "devDependencies": { @@ -13049,9 +13049,9 @@ } }, "node_modules/webitel-sdk": { - "version": "24.10.2", - "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.10.2.tgz", - "integrity": "sha512-gkyMawfT5EDQwq44RlXP5MkeE2Cx8SqV7JXsQ/HCQSMIEQQWoSTVvX/6UMVOWgyZocxiHAK/wHU8QFGe+GTs+w==", + "version": "24.10.4", + "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.10.4.tgz", + "integrity": "sha512-90wMSqqxwBsJ/wazDSQe2YzryWaPrMl+DaU+SS73lEZsKhZrzuhmI4vFfZlsOKd8X40oAJZZjocp00vGI4GPJw==", "license": "MIT", "dependencies": { "@types/webrtc": "~0.0.41", diff --git a/package.json b/package.json index ac4c479e9..0bcd64685 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,7 @@ "vue-multiselect": "^3.1.0", "vue-observe-visibility": "^2.0.0-alpha.1", "vue-router": "^4.4.5", - "webitel-sdk": "^24.10.2", + "webitel-sdk": "^24.10.4", "xlsx": "^0.18.5" }, "devDependencies": { diff --git a/src/api/clients/agents/agentChats.js b/src/api/clients/agents/agentChats.js index 06f498f97..ef9284f24 100644 --- a/src/api/clients/agents/agentChats.js +++ b/src/api/clients/agents/agentChats.js @@ -22,7 +22,8 @@ const getChatsList = async (params) => { const { size, page, - onlyClosed + onlyClosed, + onlyUnprocessed, } = applyTransform(params, [ merge(getDefaultGetParams()), ]); @@ -35,6 +36,7 @@ const getChatsList = async (params) => { undefined, undefined, onlyClosed, + onlyUnprocessed, ); const { items, next } = applyTransform(response.data, [ snakeToCamel(),