@webitel/ui-sdk 24.10.24 → 24.10.25
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
|
@@ -20,6 +20,7 @@ const AdminSections = Object.freeze({
|
|
|
20
20
|
MEDIA: 'media', // scope: media_file
|
|
21
21
|
SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates
|
|
22
22
|
PAUSE_TEMPLATES: 'pause-templates', //scope: pause_templates
|
|
23
|
+
WORKING_CONDITIONS: 'working-conditions', //scope: working_conditions
|
|
23
24
|
|
|
24
25
|
// CONTACT CENTER
|
|
25
26
|
SKILLS: 'skills', // scope: lookups
|
package/src/locale/en/en.js
CHANGED
|
@@ -225,6 +225,7 @@ export default {
|
|
|
225
225
|
[AdminSections.MEDIA]: 'Media files',
|
|
226
226
|
[AdminSections.SHIFT_TEMPLATES]: 'Shift templates',
|
|
227
227
|
[AdminSections.PAUSE_TEMPLATES]: 'Pause templates',
|
|
228
|
+
[AdminSections.WORKING_CONDITIONS]: 'Working conditions',
|
|
228
229
|
[AdminSections.BLACKLIST]: 'Lists',
|
|
229
230
|
[AdminSections.CALENDARS]: 'Calendars',
|
|
230
231
|
[AdminSections.REGIONS]: 'Locations',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -224,6 +224,7 @@ export default {
|
|
|
224
224
|
[AdminSections.MEDIA]: 'Медиафайлы',
|
|
225
225
|
[AdminSections.SHIFT_TEMPLATES]: 'Шаблон смен',
|
|
226
226
|
[AdminSections.PAUSE_TEMPLATES]: 'Шаблон пауз',
|
|
227
|
+
[AdminSections.WORKING_CONDITIONS]: 'Условия работы',
|
|
227
228
|
[AdminSections.BLACKLIST]: 'Cписки',
|
|
228
229
|
[AdminSections.CALENDARS]: 'Календари',
|
|
229
230
|
[AdminSections.COMMUNICATIONS]: 'Типы связи',
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -224,6 +224,7 @@ export default {
|
|
|
224
224
|
[AdminSections.MEDIA]: 'Медіафайли',
|
|
225
225
|
[AdminSections.SHIFT_TEMPLATES]: 'Шаблон змін',
|
|
226
226
|
[AdminSections.PAUSE_TEMPLATES]: 'Шаблон пауз',
|
|
227
|
+
[AdminSections.WORKING_CONDITIONS]: 'Умови роботи',
|
|
227
228
|
[AdminSections.BLACKLIST]: 'Cписки',
|
|
228
229
|
[AdminSections.CALENDARS]: 'Календарі',
|
|
229
230
|
[AdminSections.REGIONS]: 'Розташування',
|
|
@@ -110,6 +110,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
110
110
|
_enabled: value,
|
|
111
111
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.PAUSE_TEMPLATES}`,
|
|
112
112
|
},
|
|
113
|
+
[AdminSections.WORKING_CONDITIONS]: {
|
|
114
|
+
_enabled: value,
|
|
115
|
+
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.WORKING_CONDITIONS}`,
|
|
116
|
+
},
|
|
113
117
|
[AdminSections.AGENTS]: {
|
|
114
118
|
_enabled: value,
|
|
115
119
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.AGENTS}`,
|