kcommons 2.0.1 → 2.0.3

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.
@@ -14,6 +14,7 @@ export declare enum DOCUMENTS {
14
14
  export declare enum PERMISSION_ENTITIES_OTHERS {
15
15
  ITEMS = "Items"
16
16
  }
17
+ export declare type IPERMISSION_ENTITIES = DOCUMENTS | PERMISSION_ENTITIES_OTHERS;
17
18
  export declare const PERMISSION_ENTITIES: {
18
19
  ITEMS: PERMISSION_ENTITIES_OTHERS.ITEMS;
19
20
  INDENT: DOCUMENTS.INDENT;
package/build/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from "./typings/item/item_types";
2
2
  export * from "./typings/item/item_uoms";
3
3
  export * from "./typings/item/item_tax_preference";
4
4
  export * from "./typings/item/item_classification";
5
+ export * from "./typings/approvals/approvalChain.typings";
5
6
  export * from "./typings/includes/roles.include";
6
7
  export * from "./typings/includes/companyVendors.inlcude";
7
8
  export * from "./typings/includes/department.include";
@@ -9,4 +10,5 @@ export * from "./typings/includes/offices.include";
9
10
  export * from "./typings/includes/storeInventory.include";
10
11
  export * from "./typings/includes/user.include";
11
12
  export * from "./typings/includes/itemCategory.include";
13
+ export * from "./typings/includes/approvalChain.include";
12
14
  export * from "./constants/permission.constants";
package/build/index.js CHANGED
@@ -14,6 +14,7 @@ __exportStar(require("./typings/item/item_types"), exports);
14
14
  __exportStar(require("./typings/item/item_uoms"), exports);
15
15
  __exportStar(require("./typings/item/item_tax_preference"), exports);
16
16
  __exportStar(require("./typings/item/item_classification"), exports);
17
+ __exportStar(require("./typings/approvals/approvalChain.typings"), exports);
17
18
  // Includes
18
19
  __exportStar(require("./typings/includes/roles.include"), exports);
19
20
  __exportStar(require("./typings/includes/companyVendors.inlcude"), exports);
@@ -22,5 +23,6 @@ __exportStar(require("./typings/includes/offices.include"), exports);
22
23
  __exportStar(require("./typings/includes/storeInventory.include"), exports);
23
24
  __exportStar(require("./typings/includes/user.include"), exports);
24
25
  __exportStar(require("./typings/includes/itemCategory.include"), exports);
26
+ __exportStar(require("./typings/includes/approvalChain.include"), exports);
25
27
  // Constants
26
28
  __exportStar(require("./constants/permission.constants"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum ApprovalAction {
2
+ APPROVED = "APPROVED",
3
+ REJECTED = "REJECTED",
4
+ CANCELLED = "CANCELLED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApprovalAction = void 0;
4
+ var ApprovalAction;
5
+ (function (ApprovalAction) {
6
+ ApprovalAction["APPROVED"] = "APPROVED";
7
+ ApprovalAction["REJECTED"] = "REJECTED";
8
+ ApprovalAction["CANCELLED"] = "CANCELLED";
9
+ })(ApprovalAction = exports.ApprovalAction || (exports.ApprovalAction = {}));
@@ -0,0 +1,3 @@
1
+ export declare enum ApprovalConfigInlcude {
2
+ approval_chain = "approval_chain"
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApprovalConfigInlcude = void 0;
4
+ var ApprovalConfigInlcude;
5
+ (function (ApprovalConfigInlcude) {
6
+ ApprovalConfigInlcude["approval_chain"] = "approval_chain";
7
+ })(ApprovalConfigInlcude = exports.ApprovalConfigInlcude || (exports.ApprovalConfigInlcude = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",