@webitel/ui-sdk 24.10.11 → 24.10.12
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/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/enums/WebitelApplications/AdminSections.enum.js +1 -0
- package/src/locale/en/en.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ const AdminSections = Object.freeze({
|
|
|
18
18
|
COMMUNICATIONS: 'communications', // scope: lookups
|
|
19
19
|
PAUSE_CAUSE: 'pause-cause', // scope: lookups
|
|
20
20
|
MEDIA: 'media', // scope: media_file
|
|
21
|
+
SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates
|
|
21
22
|
|
|
22
23
|
// CONTACT CENTER
|
|
23
24
|
SKILLS: 'skills', // scope: lookups
|
package/src/locale/en/en.js
CHANGED
|
@@ -223,6 +223,7 @@ export default {
|
|
|
223
223
|
[AdminSections.SKILLS]: 'Agent skills',
|
|
224
224
|
[AdminSections.BUCKETS]: 'Buckets',
|
|
225
225
|
[AdminSections.MEDIA]: 'Media files',
|
|
226
|
+
[AdminSections.SHIFT_TEMPLATES]: 'Shift templates',
|
|
226
227
|
[AdminSections.BLACKLIST]: 'Lists',
|
|
227
228
|
[AdminSections.CALENDARS]: 'Calendars',
|
|
228
229
|
[AdminSections.REGIONS]: 'Locations',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -222,6 +222,7 @@ export default {
|
|
|
222
222
|
[AdminSections.SKILLS]: 'Навыки оператора',
|
|
223
223
|
[AdminSections.BUCKETS]: 'Корзины',
|
|
224
224
|
[AdminSections.MEDIA]: 'Медиафайлы',
|
|
225
|
+
[AdminSections.SHIFT_TEMPLATES]: 'Шаблон смен',
|
|
225
226
|
[AdminSections.BLACKLIST]: 'Cписки',
|
|
226
227
|
[AdminSections.CALENDARS]: 'Календари',
|
|
227
228
|
[AdminSections.COMMUNICATIONS]: 'Типы связи',
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -222,6 +222,7 @@ export default {
|
|
|
222
222
|
[AdminSections.SKILLS]: 'Навички оператора',
|
|
223
223
|
[AdminSections.BUCKETS]: 'Кошики',
|
|
224
224
|
[AdminSections.MEDIA]: 'Медіафайли',
|
|
225
|
+
[AdminSections.SHIFT_TEMPLATES]: 'Шаблон змін',
|
|
225
226
|
[AdminSections.BLACKLIST]: 'Cписки',
|
|
226
227
|
[AdminSections.CALENDARS]: 'Календарі',
|
|
227
228
|
[AdminSections.REGIONS]: 'Розташування',
|
|
@@ -102,6 +102,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
102
102
|
_enabled: value,
|
|
103
103
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.MEDIA}`,
|
|
104
104
|
},
|
|
105
|
+
[AdminSections.SHIFT_TEMPLATES]: {
|
|
106
|
+
_enabled: value,
|
|
107
|
+
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.SHIFT_TEMPLATES}`,
|
|
108
|
+
},
|
|
105
109
|
[AdminSections.AGENTS]: {
|
|
106
110
|
_enabled: value,
|
|
107
111
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.AGENTS}`,
|