@webitel/ui-sdk 2.1.9 → 2.1.10
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
|
@@ -36,6 +36,7 @@ const AdminSections = Object.freeze({
|
|
|
36
36
|
COGNITIVE_PROFILES: 'cognitive-profiles', // scope: cognitive_profile
|
|
37
37
|
EMAIL_PROFILES: 'email-profiles', // scope: email_profile
|
|
38
38
|
IMPORT_CSV: 'import-csv',
|
|
39
|
+
TRIGGERS: 'triggers',
|
|
39
40
|
|
|
40
41
|
// PERMISSIONS
|
|
41
42
|
OBJECTS: 'objects', // permissions: add
|
package/src/locale/en/en.js
CHANGED
|
@@ -171,6 +171,7 @@ export default {
|
|
|
171
171
|
[AdminSections.COGNITIVE_PROFILES]: 'Cognitive profiles',
|
|
172
172
|
[AdminSections.EMAIL_PROFILES]: 'Email profiles',
|
|
173
173
|
[AdminSections.IMPORT_CSV]: 'Import data from CSV file',
|
|
174
|
+
[AdminSections.TRIGGERS]: 'Triggers',
|
|
174
175
|
[AdminSections.MEDIA]: 'Media',
|
|
175
176
|
[AdminSections.BLACKLIST]: 'Call lists',
|
|
176
177
|
[AdminSections.ROLES]: 'Roles',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -169,6 +169,7 @@ export default {
|
|
|
169
169
|
[AdminSections.COGNITIVE_PROFILES]: 'Голосовые профили',
|
|
170
170
|
[AdminSections.EMAIL_PROFILES]: 'Email профили',
|
|
171
171
|
[AdminSections.IMPORT_CSV]: 'Импорт данных из CSV файла',
|
|
172
|
+
[AdminSections.TRIGGERS]: 'Триггеры',
|
|
172
173
|
[AdminSections.ROLES]: 'Роли',
|
|
173
174
|
[AdminSections.OBJECTS]: 'Разделы',
|
|
174
175
|
},
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -169,6 +169,7 @@ export default {
|
|
|
169
169
|
[AdminSections.COGNITIVE_PROFILES]: 'Голосові профілі',
|
|
170
170
|
[AdminSections.EMAIL_PROFILES]: 'Email профілі',
|
|
171
171
|
[AdminSections.IMPORT_CSV]: 'Імпорт даних з CSV файлу',
|
|
172
|
+
[AdminSections.TRIGGERS]: 'Тригери',
|
|
172
173
|
[AdminSections.ROLES]: 'Ролі',
|
|
173
174
|
[AdminSections.OBJECTS]: 'Розділи',
|
|
174
175
|
},
|
|
@@ -136,6 +136,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
136
136
|
_enabled: value,
|
|
137
137
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.IMPORT_CSV}`,
|
|
138
138
|
},
|
|
139
|
+
[AdminSections.TRIGGERS]: {
|
|
140
|
+
_enabled: value,
|
|
141
|
+
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.TRIGGERS}`,
|
|
142
|
+
},
|
|
139
143
|
[AdminSections.ROLES]: {
|
|
140
144
|
_enabled: value,
|
|
141
145
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.ROLES}`,
|