@webitel/ui-sdk 25.4.58 → 25.4.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [v25.4.59] - 2025-04-09
2
+ ### :recycle: Refactors
3
+ - [`684efa9`](https://github.com/webitel/webitel-ui-sdk/commit/684efa96e24821573afa43c6fbbf68ddf41f311d) - filter options naming refactors and preview api response refactor [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
4
+
5
+
6
+ ## [v25.4.58] - 2025-04-09
7
+ ### :sparkles: New Features
8
+ - [`bef3102`](https://github.com/webitel/webitel-ui-sdk/commit/bef3102568fff67993263737e02422edc8dc2354) - new icon updateCalls added [WTEL-3345](https://webitel.atlassian.net/browse/WTEL-3345) *(commit by [@VladimirBeria](https://github.com/VladimirBeria))*
9
+
10
+
1
11
  ## [v25.4.57] - 2025-04-09
2
12
  ### :sparkles: New Features
3
13
  - [`07693a3`](https://github.com/webitel/webitel-ui-sdk/commit/07693a34f61725156c95ff293de1680ae1958b62) - version incremented [WTEL-6260](https://webitel.atlassian.net/browse/WTEL-6260) *(commit by [@VladimirBeria](https://github.com/VladimirBeria))*
@@ -1870,3 +1880,5 @@
1870
1880
  [v25.4.55]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.54...v25.4.55
1871
1881
  [v25.4.56]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.55...v25.4.56
1872
1882
  [v25.4.57]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.56...v25.4.57
1883
+ [v25.4.58]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.57...v25.4.58
1884
+ [v25.4.59]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.58...v25.4.59
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.4.58",
3
+ "version": "25.4.60",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -162,6 +162,12 @@ const deleteService = async ({ id }) => {
162
162
  }
163
163
  };
164
164
 
165
+ const getServicesLookup = async (params) =>
166
+ getServicesList({
167
+ ...params,
168
+ fields: params.fields || ['id', 'name'],
169
+ });
170
+
165
171
  const ServicesAPI = {
166
172
  getList: getServicesList,
167
173
  get: getService,
@@ -169,6 +175,7 @@ const ServicesAPI = {
169
175
  update: updateService,
170
176
  patch: patchService,
171
177
  delete: deleteService,
178
+ getLookup: getServicesLookup,
172
179
  };
173
180
 
174
181
  export default ServicesAPI;
@@ -7,16 +7,16 @@ import {
7
7
  } from 'webitel-sdk';
8
8
 
9
9
  import {
10
- AdminSections,
11
10
  AuditorSections,
12
11
  ChatGatewayProvider,
13
- CrmSections,
14
12
  IconAction,
15
13
  QueueType,
16
14
  RelativeDatetimeValue,
17
15
  SupervisorSections,
18
16
  WebitelApplications,
19
17
  } from '../../enums';
18
+ import CrmSections from '../../enums/WebitelApplications/CrmSections.enum.js';
19
+ import AdminSections from '../../enums/WebitelApplications/AdminSections.enum.js';
20
20
  import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/AccessMode.enum.js';
21
21
  import { snakeToCamel } from '../../scripts';
22
22
 
@@ -7,16 +7,16 @@ import {
7
7
  } from 'webitel-sdk';
8
8
 
9
9
  import {
10
- AdminSections,
11
10
  AuditorSections,
12
11
  ChatGatewayProvider,
13
- CrmSections,
14
12
  IconAction,
15
13
  QueueType,
16
14
  RelativeDatetimeValue,
17
15
  SupervisorSections,
18
16
  WebitelApplications,
19
17
  } from '../../enums';
18
+ import CrmSections from '../../enums/WebitelApplications/CrmSections.enum.js';
19
+ import AdminSections from '../../enums/WebitelApplications/AdminSections.enum.js';
20
20
  import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/AccessMode.enum.js';
21
21
  import { snakeToCamel } from '../../scripts';
22
22
 
@@ -7,16 +7,16 @@ import {
7
7
  } from 'webitel-sdk';
8
8
 
9
9
  import {
10
- AdminSections,
11
10
  AuditorSections,
12
11
  ChatGatewayProvider,
13
- CrmSections,
14
12
  IconAction,
15
13
  QueueType,
16
14
  RelativeDatetimeValue,
17
15
  SupervisorSections,
18
16
  WebitelApplications,
19
17
  } from '../../enums';
18
+ import CrmSections from '../../enums/WebitelApplications/CrmSections.enum.js';
19
+ import AdminSections from '../../enums/WebitelApplications/AdminSections.enum.js';
20
20
  import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/AccessMode.enum.js';
21
21
  import { snakeToCamel } from '../../scripts';
22
22