kcommons 3.4.3 → 3.6.0

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.
@@ -0,0 +1,10 @@
1
+ export declare enum DOCUMENT_STATUS {
2
+ DRAFT = "DRAFT",
3
+ PENDING_APPROVAL = "PENDING APPROVAL",
4
+ APPROVED = "APPROVED",
5
+ REJECTED = "REJECTED",
6
+ CLOSED = "CLOSED",
7
+ ISSUED = "ISSUED",
8
+ SENT_TO_VENDORS = "SENT TO VENDORS",
9
+ COMPARATIVE = "COMPARATIVE"
10
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DOCUMENT_STATUS = void 0;
4
+ var DOCUMENT_STATUS;
5
+ (function (DOCUMENT_STATUS) {
6
+ DOCUMENT_STATUS["DRAFT"] = "DRAFT";
7
+ DOCUMENT_STATUS["PENDING_APPROVAL"] = "PENDING APPROVAL";
8
+ DOCUMENT_STATUS["APPROVED"] = "APPROVED";
9
+ DOCUMENT_STATUS["REJECTED"] = "REJECTED";
10
+ DOCUMENT_STATUS["CLOSED"] = "CLOSED";
11
+ DOCUMENT_STATUS["ISSUED"] = "ISSUED";
12
+ DOCUMENT_STATUS["SENT_TO_VENDORS"] = "SENT TO VENDORS";
13
+ DOCUMENT_STATUS["COMPARATIVE"] = "COMPARATIVE";
14
+ })(DOCUMENT_STATUS = exports.DOCUMENT_STATUS || (exports.DOCUMENT_STATUS = {}));
package/build/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from "./typings/includes/roles.include";
7
7
  export * from "./typings/includes/companyVendors.inlcude";
8
8
  export * from "./typings/includes/department.include";
9
9
  export * from "./typings/includes/offices.include";
10
- export * from "./typings/includes/storeInventory.include";
11
10
  export * from "./typings/includes/user.include";
12
11
  export * from "./typings/includes/itemCategory.include";
13
12
  export * from "./typings/includes/approvalChain.include";
@@ -15,8 +14,10 @@ export * from "./typings/includes/storeLocation.include";
15
14
  export * from "./typings/includes/purchaseLocation.include";
16
15
  export * from "./typings/includes/indent.include";
17
16
  export * from "./typings/includes/mi.includes";
17
+ export * from "./typings/includes/pr.include";
18
18
  export * from "./constants/permission.constants";
19
19
  export * from "./constants/entityTypes.constants";
20
+ export * from "./constants/documentStatus.typings";
20
21
  export * from "./typings/indent/indent_priority";
21
22
  export * from "./typings/indent/indent.typings";
22
23
  export * from "./typings/pr/pr_priority";
package/build/index.js CHANGED
@@ -21,7 +21,6 @@ __exportStar(require("./typings/includes/roles.include"), exports);
21
21
  __exportStar(require("./typings/includes/companyVendors.inlcude"), exports);
22
22
  __exportStar(require("./typings/includes/department.include"), exports);
23
23
  __exportStar(require("./typings/includes/offices.include"), exports);
24
- __exportStar(require("./typings/includes/storeInventory.include"), exports);
25
24
  __exportStar(require("./typings/includes/user.include"), exports);
26
25
  __exportStar(require("./typings/includes/itemCategory.include"), exports);
27
26
  __exportStar(require("./typings/includes/approvalChain.include"), exports);
@@ -29,9 +28,11 @@ __exportStar(require("./typings/includes/storeLocation.include"), exports);
29
28
  __exportStar(require("./typings/includes/purchaseLocation.include"), exports);
30
29
  __exportStar(require("./typings/includes/indent.include"), exports);
31
30
  __exportStar(require("./typings/includes/mi.includes"), exports);
31
+ __exportStar(require("./typings/includes/pr.include"), exports);
32
32
  // Constants
33
33
  __exportStar(require("./constants/permission.constants"), exports);
34
34
  __exportStar(require("./constants/entityTypes.constants"), exports);
35
+ __exportStar(require("./constants/documentStatus.typings"), exports);
35
36
  // Indent
36
37
  __exportStar(require("./typings/indent/indent_priority"), exports);
37
38
  __exportStar(require("./typings/indent/indent.typings"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum PRInclude {
2
+ items = "items",
3
+ approval_chain = "approval_chain"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRInclude = void 0;
4
+ var PRInclude;
5
+ (function (PRInclude) {
6
+ PRInclude["items"] = "items";
7
+ PRInclude["approval_chain"] = "approval_chain";
8
+ })(PRInclude = exports.PRInclude || (exports.PRInclude = {}));
@@ -1,7 +1,7 @@
1
1
  export declare enum IndentStatus {
2
2
  DRAFT = "DRAFT",
3
- SENT_FOR_APPROVAL = "SENT_FOR_APPROVAL",
3
+ PENDING_APPROVAL = "PENDING APPROVAL",
4
4
  APPROVED = "APPROVED",
5
5
  REJECTED = "REJECTED",
6
- SENT_TO_VENDOR = "SENT_TO_VENDOR"
6
+ SENT_TO_VENDOR = "SENT TO VENDORS"
7
7
  }
@@ -4,8 +4,8 @@ exports.IndentStatus = void 0;
4
4
  var IndentStatus;
5
5
  (function (IndentStatus) {
6
6
  IndentStatus["DRAFT"] = "DRAFT";
7
- IndentStatus["SENT_FOR_APPROVAL"] = "SENT_FOR_APPROVAL";
7
+ IndentStatus["PENDING_APPROVAL"] = "PENDING APPROVAL";
8
8
  IndentStatus["APPROVED"] = "APPROVED";
9
9
  IndentStatus["REJECTED"] = "REJECTED";
10
- IndentStatus["SENT_TO_VENDOR"] = "SENT_TO_VENDOR";
10
+ IndentStatus["SENT_TO_VENDOR"] = "SENT TO VENDORS";
11
11
  })(IndentStatus = exports.IndentStatus || (exports.IndentStatus = {}));
@@ -1,6 +1,6 @@
1
1
  export declare enum MI_STATUS {
2
2
  DRAFT = "DRAFT",
3
- SENT_FOR_APPROVAL = "SENT_FOR_APPROVAL",
3
+ PENDING_APPROVAL = "PENDING APPROVAL",
4
4
  APPROVED = "APPROVED",
5
5
  REJECTED = "REJECTED",
6
6
  CLOSED = "CLOSED"
@@ -4,7 +4,7 @@ exports.MI_STATUS = void 0;
4
4
  var MI_STATUS;
5
5
  (function (MI_STATUS) {
6
6
  MI_STATUS["DRAFT"] = "DRAFT";
7
- MI_STATUS["SENT_FOR_APPROVAL"] = "SENT_FOR_APPROVAL";
7
+ MI_STATUS["PENDING_APPROVAL"] = "PENDING APPROVAL";
8
8
  MI_STATUS["APPROVED"] = "APPROVED";
9
9
  MI_STATUS["REJECTED"] = "REJECTED";
10
10
  MI_STATUS["CLOSED"] = "CLOSED";
@@ -3,3 +3,10 @@ export declare const PR_PRIORITY_TYPES: {
3
3
  MEDIUM: string;
4
4
  HIGH: string;
5
5
  };
6
+ export declare enum PR_STATUS {
7
+ DRAFT = "DRAFT",
8
+ PENDING_APPROVAL = "PENDING APPROVAL",
9
+ APPROVED = "APPROVED",
10
+ REJECTED = "REJECTED",
11
+ CLOSED = "CLOSED"
12
+ }
@@ -1,9 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PR_PRIORITY_TYPES = void 0;
3
+ exports.PR_STATUS = exports.PR_PRIORITY_TYPES = void 0;
4
4
  exports.PR_PRIORITY_TYPES = {
5
5
  LOW: "Low",
6
6
  MEDIUM: "Medium",
7
7
  HIGH: "High",
8
8
  };
9
9
  //
10
+ var PR_STATUS;
11
+ (function (PR_STATUS) {
12
+ PR_STATUS["DRAFT"] = "DRAFT";
13
+ PR_STATUS["PENDING_APPROVAL"] = "PENDING APPROVAL";
14
+ PR_STATUS["APPROVED"] = "APPROVED";
15
+ PR_STATUS["REJECTED"] = "REJECTED";
16
+ PR_STATUS["CLOSED"] = "CLOSED";
17
+ })(PR_STATUS = exports.PR_STATUS || (exports.PR_STATUS = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "3.4.3",
3
+ "version": "3.6.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",