@webitel/ui-sdk 24.12.47 → 24.12.48
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
|
@@ -8,7 +8,7 @@ const CrmSections = Object.freeze({
|
|
|
8
8
|
PRIORITIES: 'priorities',
|
|
9
9
|
STATUSES: 'statuses',
|
|
10
10
|
SOURCES: 'sources',
|
|
11
|
-
|
|
11
|
+
CLOSE_REASON_GROUPS: 'close-reason-groups',
|
|
12
12
|
CONTACT_GROUPS: 'contact-groups',
|
|
13
13
|
CASE_SOURCES: 'case-sources',
|
|
14
14
|
CUSTOM_LOOKUPS: 'custom-lookups',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import deepCopy from 'deep-copy';
|
|
2
2
|
import deepmerge from 'deepmerge';
|
|
3
|
+
|
|
3
4
|
import AdminSections from '../../../enums/WebitelApplications/AdminSections.enum.js';
|
|
4
5
|
import AuditorSections from '../../../enums/WebitelApplications/AuditorSections.enum.js';
|
|
5
6
|
import CrmSections from '../../../enums/WebitelApplications/CrmSections.enum.js';
|
|
@@ -206,6 +207,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
206
207
|
_enabled: value,
|
|
207
208
|
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SERVICE_CATALOGS}`,
|
|
208
209
|
},
|
|
210
|
+
[CrmSections.CLOSE_REASON_GROUPS]: {
|
|
211
|
+
_enabled: value,
|
|
212
|
+
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CLOSE_REASON_GROUPS}`,
|
|
213
|
+
},
|
|
209
214
|
[CrmSections.CONTACT_GROUPS]: {
|
|
210
215
|
_enabled: value,
|
|
211
216
|
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CONTACT_GROUPS}`,
|