@peacom/core 0.0.167 → 0.0.169
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/lib/model/acl/ACLDescription.d.ts +47 -0
- package/src/lib/model/acl/ACLDescription.js +879 -0
- package/src/lib/model/acl/ACLDescription.js.map +1 -0
- package/src/lib/model/acl/Permission.d.ts +242 -0
- package/src/lib/model/acl/Permission.js +240 -0
- package/src/lib/model/acl/Permission.js.map +1 -0
- package/src/lib/model/acl/index.d.ts +2 -0
- package/src/lib/model/acl/index.js +6 -0
- package/src/lib/model/acl/index.js.map +1 -0
- package/src/lib/model/index.d.ts +1 -0
- package/src/lib/model/index.js +1 -0
- package/src/lib/model/index.js.map +1 -1
- package/src/lib/util/string.util.js +10 -1
- package/src/lib/util/string.util.js.map +1 -1
package/package.json
CHANGED
@@ -0,0 +1,47 @@
|
|
1
|
+
import { ActionDescription } from "./Permission";
|
2
|
+
/**
|
3
|
+
* TODO: Note
|
4
|
+
* enableType: false ==> mean that action is not support for ACL (only where with user.companyId),
|
5
|
+
* and we set it default is listType[0] or AclActionType.FULL
|
6
|
+
* enableType: true ==> UNION of user permission type and (listType or ALL)
|
7
|
+
*/
|
8
|
+
export declare const PERMISSION_COMPANY_LIST: Record<number, ActionDescription>;
|
9
|
+
export declare const PERMISSION_CONTACT_LIST: Record<number, ActionDescription>;
|
10
|
+
export declare const PERMISSION_BOT_LIST: Record<number, ActionDescription>;
|
11
|
+
export declare const PERMISSION_OA_LIST: Record<number, ActionDescription>;
|
12
|
+
export declare const PERMISSION_AIRLINE_LIST: Record<number, ActionDescription>;
|
13
|
+
export declare const PERMISSION_PHONE_BULK_CHECK: Record<number, ActionDescription>;
|
14
|
+
export declare const PERMISSION_TEMPLATE: Record<number, ActionDescription>;
|
15
|
+
export declare const PERMISSION_USER_MANAGEMENT: Record<number, ActionDescription>;
|
16
|
+
export declare const PERMISSION_BULK_CAMPAIGN: Record<number, ActionDescription>;
|
17
|
+
export declare const PERMISSION_BLACK_LIST: Record<number, ActionDescription>;
|
18
|
+
export declare const PERMISSION_LABEL_LIST: Record<number, ActionDescription>;
|
19
|
+
export declare const PERMISSION_CHAT_LIST: Record<number, ActionDescription>;
|
20
|
+
export declare const PERMISSION_COMPLIANCE_LIST: Record<number, ActionDescription>;
|
21
|
+
export declare const PERMISSION_LEAD_LIST: Record<number, ActionDescription>;
|
22
|
+
/**
|
23
|
+
* Manage Template Library using for whole system. Only for BO or Admin
|
24
|
+
*/
|
25
|
+
export declare const PERMISSION_TEMPLATE_LIBRARY_LIST: Record<number, ActionDescription>;
|
26
|
+
export declare const PERMISSION_DASHBOARD_LIST: Record<number, ActionDescription>;
|
27
|
+
export declare const PERMISSION_BILLING_CDR_LIST: Record<number, ActionDescription>;
|
28
|
+
export declare const PERMISSION_API_KEY_LIST: Record<number, ActionDescription>;
|
29
|
+
/**
|
30
|
+
* Customer is created by conversation.
|
31
|
+
* At the moment, we not yet allow manage by ACL, but in future can be.
|
32
|
+
* If allowed, we will do similar ticket
|
33
|
+
*/
|
34
|
+
export declare const PERMISSION_CUSTOMER_LIST: Record<number, ActionDescription>;
|
35
|
+
export declare const PERMISSION_TICKET_LIST: Record<number, ActionDescription>;
|
36
|
+
export declare const PERMISSION_AGENT_GROUP_LIST: Record<number, ActionDescription>;
|
37
|
+
export declare const PERMISSION_TICKET_CATEGORY_LIST: Record<number, ActionDescription>;
|
38
|
+
export declare const PERMISSION_SEGMENT_LIST: Record<number, ActionDescription>;
|
39
|
+
export declare const PERMISSION_PRODUCT_LIST: Record<number, ActionDescription>;
|
40
|
+
export declare const PERMISSION_PRODUCT_CATEGORY_LIST: Record<number, ActionDescription>;
|
41
|
+
export declare const PERMISSION_INVOICE_LIST: Record<number, ActionDescription>;
|
42
|
+
export declare const PERMISSION_BRANCH_LIST: Record<number, ActionDescription>;
|
43
|
+
export declare const PERMISSION_REPLY_TEMPLATE_LIST: Record<number, ActionDescription>;
|
44
|
+
export declare const PERMISSION_COMPANY_ROLE_LIST: Record<number, ActionDescription>;
|
45
|
+
export declare const PERMISSION_COMPANY_MEMBER_LIST: Record<number, ActionDescription>;
|
46
|
+
export declare const PERMISSION_CRM_PROFILE_LIST: Record<number, ActionDescription>;
|
47
|
+
export declare const PERMISSION_SLA_LIST: Record<number, ActionDescription>;
|