@webitel/ui-sdk 25.8.63 → 25.8.64
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 +1 -1
- package/src/enums/WebitelApplications/CrmSections.ts +4 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +12 -0
- package/types/enums/WebitelApplications/CrmSections.d.ts +2 -0
- package/src/enums/WebitelApplications/AdminSections.js +0 -45
- package/src/enums/WebitelApplications/AuditorSections.js +0 -3
- package/src/enums/WebitelApplications/CrmSections.js +0 -14
- package/src/enums/WebitelApplications/SupervisorSections.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.8.
|
|
3
|
+
"version": "25.8.64",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -11,6 +11,10 @@ export const CrmSections = {
|
|
|
11
11
|
CloseReasonGroups: 'close-reason-groups',
|
|
12
12
|
ContactGroups: 'contact-groups',
|
|
13
13
|
CaseSources: 'case-sources',
|
|
14
|
+
|
|
15
|
+
// CUSTOMIZATION
|
|
16
|
+
CasesExtensions: 'ext-cases',
|
|
17
|
+
ContactsExtensions: 'ext-contacts',
|
|
14
18
|
CustomLookups: 'custom-lookups',
|
|
15
19
|
} as const;
|
|
16
20
|
|
|
@@ -241,6 +241,18 @@ const applicationsAccess = (value = true) => ({
|
|
|
241
241
|
_enabled: value,
|
|
242
242
|
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSectionsNew.Statuses}`,
|
|
243
243
|
},
|
|
244
|
+
[CrmSectionsNew.CasesExtensions]: {
|
|
245
|
+
_enabled: value,
|
|
246
|
+
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSectionsNew.CasesExtensions}`,
|
|
247
|
+
},
|
|
248
|
+
[CrmSectionsNew.ContactsExtensions]: {
|
|
249
|
+
_enabled: value,
|
|
250
|
+
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSectionsNew.ContactsExtensions}`,
|
|
251
|
+
},
|
|
252
|
+
[CrmSectionsNew.CustomLookups]: {
|
|
253
|
+
_enabled: value,
|
|
254
|
+
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSectionsNew.CustomLookups}`,
|
|
255
|
+
},
|
|
244
256
|
},
|
|
245
257
|
});
|
|
246
258
|
|
|
@@ -9,6 +9,8 @@ export declare const CrmSections: {
|
|
|
9
9
|
readonly CloseReasonGroups: "close-reason-groups";
|
|
10
10
|
readonly ContactGroups: "contact-groups";
|
|
11
11
|
readonly CaseSources: "case-sources";
|
|
12
|
+
readonly CasesExtensions: "ext-cases";
|
|
13
|
+
readonly ContactsExtensions: "ext-contacts";
|
|
12
14
|
readonly CustomLookups: "custom-lookups";
|
|
13
15
|
};
|
|
14
16
|
export type CrmSections = (typeof CrmSections)[keyof typeof CrmSections];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @augments WtApplication
|
|
3
|
-
* represents ui sections in Admin WtApplication
|
|
4
|
-
* without any relation to WtObjects (?)
|
|
5
|
-
*/
|
|
6
|
-
export const AdminSections = {
|
|
7
|
-
Agents: 'agents',
|
|
8
|
-
Blacklist: 'blacklist',
|
|
9
|
-
Buckets: 'buckets',
|
|
10
|
-
Calendars: 'calendars',
|
|
11
|
-
Changelogs: 'changelogs',
|
|
12
|
-
ChatGateways: 'chat-gateways',
|
|
13
|
-
Chatplan: 'chatplan',
|
|
14
|
-
CognitiveProfiles: 'cognitive-profiles',
|
|
15
|
-
Communications: 'communications',
|
|
16
|
-
Configuration: 'configuration',
|
|
17
|
-
Dialplan: 'dialplan',
|
|
18
|
-
Devices: 'devices',
|
|
19
|
-
EmailProfiles: 'email-profiles',
|
|
20
|
-
Flow: 'flow',
|
|
21
|
-
Gateways: 'gateways',
|
|
22
|
-
GlobalVariables: 'global-variables',
|
|
23
|
-
ImportCsv: 'import-csv',
|
|
24
|
-
License: 'license',
|
|
25
|
-
Media: 'media',
|
|
26
|
-
Members: 'members',
|
|
27
|
-
Objects: 'objects',
|
|
28
|
-
PauseCause: 'pause-cause',
|
|
29
|
-
PauseTemplates: 'pause-templates',
|
|
30
|
-
Queues: 'queues',
|
|
31
|
-
Regions: 'regions',
|
|
32
|
-
ResourceGroups: 'resource-groups',
|
|
33
|
-
Resources: 'resources',
|
|
34
|
-
Roles: 'roles',
|
|
35
|
-
ShiftTemplates: 'shift-templates',
|
|
36
|
-
SingleSignOn: 'single-sign-on',
|
|
37
|
-
Skills: 'skills',
|
|
38
|
-
Storage: 'storage',
|
|
39
|
-
StoragePolicies: 'storage-policies',
|
|
40
|
-
Teams: 'teams',
|
|
41
|
-
Triggers: 'triggers',
|
|
42
|
-
Users: 'users',
|
|
43
|
-
WorkingConditions: 'working-conditions',
|
|
44
|
-
QuickReplies: 'quick-replies',
|
|
45
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const CrmSections = {
|
|
2
|
-
Contacts: 'contacts',
|
|
3
|
-
Cases: 'cases',
|
|
4
|
-
// CONFIGURATION - LOOKUPS
|
|
5
|
-
Slas: 'slas',
|
|
6
|
-
ServiceCatalogs: 'service-catalogs',
|
|
7
|
-
Priorities: 'priorities',
|
|
8
|
-
Statuses: 'statuses',
|
|
9
|
-
Sources: 'sources',
|
|
10
|
-
CloseReasonGroups: 'close-reason-groups',
|
|
11
|
-
ContactGroups: 'contact-groups',
|
|
12
|
-
CaseSources: 'case-sources',
|
|
13
|
-
CustomLookups: 'custom-lookups',
|
|
14
|
-
};
|