@floristcloud/api-lib 1.2.94 → 1.2.95
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.
|
@@ -9,7 +9,10 @@ var PermissionKeyEnum;
|
|
|
9
9
|
PermissionKeyEnum["CONSIGNMENT_VIEW"] = "consignment.view";
|
|
10
10
|
PermissionKeyEnum["CONSIGNMENT_EDIT"] = "consignment.edit";
|
|
11
11
|
PermissionKeyEnum["CONSIGNMENT_DELETE"] = "consignment.delete";
|
|
12
|
+
// Per-product cost price (себестоимость товара).
|
|
12
13
|
PermissionKeyEnum["COST_VIEW"] = "cost.view";
|
|
14
|
+
// Consignment-level financial totals: total cost + profit (итоги по поставке).
|
|
15
|
+
PermissionKeyEnum["CONSIGNMENT_FINANCIALS_VIEW"] = "consignment.financials.view";
|
|
13
16
|
})(PermissionKeyEnum || (exports.PermissionKeyEnum = PermissionKeyEnum = {}));
|
|
14
17
|
exports.PERMISSION_KEY_LIST = [
|
|
15
18
|
PermissionKeyEnum.PRODUCT_VIEW,
|
|
@@ -19,4 +22,5 @@ exports.PERMISSION_KEY_LIST = [
|
|
|
19
22
|
PermissionKeyEnum.CONSIGNMENT_EDIT,
|
|
20
23
|
PermissionKeyEnum.CONSIGNMENT_DELETE,
|
|
21
24
|
PermissionKeyEnum.COST_VIEW,
|
|
25
|
+
PermissionKeyEnum.CONSIGNMENT_FINANCIALS_VIEW,
|
|
22
26
|
];
|
|
@@ -5,7 +5,10 @@ export enum PermissionKeyEnum {
|
|
|
5
5
|
CONSIGNMENT_VIEW = 'consignment.view',
|
|
6
6
|
CONSIGNMENT_EDIT = 'consignment.edit',
|
|
7
7
|
CONSIGNMENT_DELETE = 'consignment.delete',
|
|
8
|
+
// Per-product cost price (себестоимость товара).
|
|
8
9
|
COST_VIEW = 'cost.view',
|
|
10
|
+
// Consignment-level financial totals: total cost + profit (итоги по поставке).
|
|
11
|
+
CONSIGNMENT_FINANCIALS_VIEW = 'consignment.financials.view',
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
export const PERMISSION_KEY_LIST: PermissionKeyEnum[] = [
|
|
@@ -16,4 +19,5 @@ export const PERMISSION_KEY_LIST: PermissionKeyEnum[] = [
|
|
|
16
19
|
PermissionKeyEnum.CONSIGNMENT_EDIT,
|
|
17
20
|
PermissionKeyEnum.CONSIGNMENT_DELETE,
|
|
18
21
|
PermissionKeyEnum.COST_VIEW,
|
|
22
|
+
PermissionKeyEnum.CONSIGNMENT_FINANCIALS_VIEW,
|
|
19
23
|
];
|