@webitel/ui-sdk 24.10.52 → 24.10.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.10.52",
3
+ "version": "24.10.54",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -1,6 +1,16 @@
1
1
  const CrmSections = Object.freeze({
2
2
  CONTACTS: 'contacts',
3
- CONFIGURATION: 'configuration',
3
+
4
+ // CONFIGURATION - LOOKUPS
5
+ SLAS: 'slas',
6
+ SERVICE_CATALOG: 'service-catalog',
7
+ PRIORITIES: 'priorities',
8
+ STATUSES: 'statuses',
9
+ SOURCES: 'sources',
10
+ CLOSURE_REASONS: 'closure-reasons',
11
+ CONTACT_GROUPS: 'contact-groups',
12
+ CASE_SOURCES: 'case-sources',
13
+ CUSTOM_LOOKUPS: 'custom-lookups',
4
14
  });
5
15
 
6
16
  export default CrmSections;
@@ -12,8 +12,6 @@ import TypesExportedSettings
12
12
  // Webitel Applications group
13
13
  import AdminSections from './WebitelApplications/AdminSections.enum.js';
14
14
  import AuditorSections from './WebitelApplications/AuditorSections.enum.js';
15
- import CrmConfigurationSections
16
- from './WebitelApplications/CrmConfigurationSections.enum.js';
17
15
  import CrmSections from './WebitelApplications/CrmSections.enum.js';
18
16
  import SupervisorSections
19
17
  from './WebitelApplications/SupervisorSections.enum.js';
@@ -33,7 +31,6 @@ export {
33
31
  AdminSections,
34
32
  AuditorSections,
35
33
  CrmSections,
36
- CrmConfigurationSections,
37
34
  SupervisorSections,
38
35
  WebitelApplications,
39
36
  };
@@ -220,6 +220,7 @@ export default {
220
220
  name: 'CRM',
221
221
  sections: {
222
222
  [CrmSections.CONTACTS]: 'Contacts',
223
+ [CrmSections.SLAS]: 'SLAS',
223
224
  },
224
225
  },
225
226
  [WebitelApplications.HISTORY]: { name: 'Call History' },
@@ -219,6 +219,7 @@ export default {
219
219
  name: 'CRM',
220
220
  sections: {
221
221
  [CrmSections.CONTACTS]: 'Контакты',
222
+ [CrmSections.SLAS]: 'SLAS',
222
223
  },
223
224
  },
224
225
  [WebitelApplications.HISTORY]: { name: 'Call History' },
@@ -219,6 +219,7 @@ export default {
219
219
  name: 'CRM',
220
220
  sections: {
221
221
  [CrmSections.CONTACTS]: 'Контакти',
222
+ [CrmSections.SLAS]: 'SLAS',
222
223
  },
223
224
  },
224
225
  [WebitelApplications.HISTORY]: { name: 'Call History' },
@@ -194,6 +194,10 @@ const applicationsAccess = (value = true) => ({
194
194
  _enabled: value,
195
195
  _locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CONTACTS}`,
196
196
  },
197
+ [CrmSections.SLAS]: {
198
+ _enabled: value,
199
+ _locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SLAS}`,
200
+ },
197
201
  },
198
202
  });
199
203
 
@@ -1,14 +0,0 @@
1
- const CrmConfigurationSections = Object.freeze({
2
- LOOKUPS: 'lookups',
3
- SLA: 'sla',
4
- SERVICE_CATALOG: 'service-catalog',
5
- PRIORITIES: 'priorities',
6
- STATUSES: 'statuses',
7
- SOURCES: 'sources',
8
- CLOSURE_REASONS: 'closure-reasons',
9
- CONTACT_GROUPS: 'contact-groups',
10
- CASE_SOURCES: 'case-sources',
11
- CUSTOM_LOOKUPS: 'custom-lookups',
12
- });
13
-
14
- export default CrmConfigurationSections;