From be1b3a25d6b6e6b3c0a5d3287556bc775d6bef8e Mon Sep 17 00:00:00 2001 From: Stanislav Kozak Date: Wed, 6 Nov 2024 16:37:08 +0200 Subject: [PATCH] fix: fix import agent chat service --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- src/api/clients/agents/agentChats.js | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index d94f3666..6503756b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@webitel/ui-sdk", - "version": "24.10.50", + "version": "24.10.60", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@webitel/ui-sdk", - "version": "24.10.50", + "version": "24.10.60", "dependencies": { "@floating-ui/vue": "^1.0.1", "@morev/vue-transitions": "^3.0.2", @@ -35,7 +35,7 @@ "vue-multiselect": "^3.0.0-beta.3", "vue-observe-visibility": "^2.0.0-alpha.1", "vue-router": "^4.1.6", - "webitel-sdk": "^24.8.5", + "webitel-sdk": "^24.8.6", "xlsx": "^0.18.5" }, "devDependencies": { @@ -10877,9 +10877,9 @@ } }, "node_modules/webitel-sdk": { - "version": "24.8.5", - "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.8.5.tgz", - "integrity": "sha512-OHqAYVzcAqUns3n8qrfP/oW1o7pQlC++MyEC+u2kOOE69krWEFlrnNPqEm3S0XnBzIQa9mAIlZ1v5y+13hCv7w==", + "version": "24.8.6", + "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.8.6.tgz", + "integrity": "sha512-uG3xJi5fq+nIDVTcjTYGMbiq6F0Z/RHDv1PnhRjQaqKx1W0vlloBh0dDP0bJdUEGqxl6s5NQl8M5t4ksKPZaFA==", "dependencies": { "@types/webrtc": "~0.0.41", "deep-copy": "1.4.2", @@ -19197,9 +19197,9 @@ "dev": true }, "webitel-sdk": { - "version": "24.8.5", - "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.8.5.tgz", - "integrity": "sha512-OHqAYVzcAqUns3n8qrfP/oW1o7pQlC++MyEC+u2kOOE69krWEFlrnNPqEm3S0XnBzIQa9mAIlZ1v5y+13hCv7w==", + "version": "24.8.6", + "resolved": "https://registry.npmjs.org/webitel-sdk/-/webitel-sdk-24.8.6.tgz", + "integrity": "sha512-uG3xJi5fq+nIDVTcjTYGMbiq6F0Z/RHDv1PnhRjQaqKx1W0vlloBh0dDP0bJdUEGqxl6s5NQl8M5t4ksKPZaFA==", "requires": { "@types/webrtc": "~0.0.41", "deep-copy": "1.4.2", diff --git a/package.json b/package.json index 118d1fe8..0a38c445 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webitel/ui-sdk", - "version": "24.10.60", + "version": "24.10.61", "private": false, "scripts": { "dev": "vite", @@ -128,7 +128,7 @@ "vue-multiselect": "^3.0.0-beta.3", "vue-observe-visibility": "^2.0.0-alpha.1", "vue-router": "^4.1.6", - "webitel-sdk": "^24.8.5", + "webitel-sdk": "^24.8.6", "xlsx": "^0.18.5" }, "devDependencies": { diff --git a/src/api/clients/agents/agentChats.js b/src/api/clients/agents/agentChats.js index 1a9aaadf..08bffcce 100644 --- a/src/api/clients/agents/agentChats.js +++ b/src/api/clients/agents/agentChats.js @@ -1,4 +1,4 @@ -import { AgentChatsServiceApi } from 'webitel-sdk'; +import { AgentChatServiceApi } from 'webitel-sdk'; import { getDefaultInstance, getDefaultOpenAPIConfig, @@ -14,7 +14,7 @@ const { t } = i18n.global; const instance = getDefaultInstance(); const configuration = getDefaultOpenAPIConfig(); -const agentChatsService = new AgentChatsServiceApi(configuration, '', instance); +const agentChatsService = new AgentChatServiceApi(configuration, '', instance); const getChatsList = async (params) => { const { onlyClosed } = params;