kcommons 3.15.0 → 4.0.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.
- package/build/index.d.ts +16 -25
- package/build/index.js +16 -29
- package/build/typings/approvalChain.typings.d.ts +8 -0
- package/build/typings/approvalChain.typings.js +13 -0
- package/build/typings/companyVendors.typings.d.ts +4 -0
- package/build/typings/companyVendors.typings.js +8 -0
- package/build/typings/department.typings.d.ts +9 -0
- package/build/typings/department.typings.js +13 -0
- package/build/typings/indent.typings.d.ts +16 -0
- package/build/typings/indent.typings.js +21 -0
- package/build/typings/item.typings.d.ts +18 -0
- package/build/typings/item.typings.js +68 -0
- package/build/typings/itemCategory.typings.d.ts +3 -0
- package/build/typings/itemCategory.typings.js +7 -0
- package/build/typings/mi.typings.d.ts +11 -0
- package/build/typings/mi.typings.js +16 -0
- package/build/typings/offices.typings.d.ts +7 -0
- package/build/typings/offices.typings.js +11 -0
- package/build/typings/pr.typings.d.ts +18 -0
- package/build/typings/pr.typings.js +24 -0
- package/build/typings/purchaseLocation.typings.d.ts +6 -0
- package/build/typings/purchaseLocation.typings.js +10 -0
- package/build/typings/quote.typings.d.ts +12 -0
- package/build/typings/quote.typings.js +15 -1
- package/build/typings/roles.typings.d.ts +6 -0
- package/build/typings/roles.typings.js +10 -0
- package/build/typings/storeInventory.typings.d.ts +4 -0
- package/build/typings/storeInventory.typings.js +8 -0
- package/build/typings/storeLocation.typings.d.ts +8 -0
- package/build/typings/storeLocation.typings.js +12 -0
- package/build/typings/user.typings.d.ts +13 -0
- package/build/typings/user.typings.js +17 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,31 +1,22 @@
|
|
|
1
|
-
export * from "./typings/
|
|
2
|
-
export * from "./typings/
|
|
3
|
-
export * from "./typings/
|
|
4
|
-
export * from "./typings/
|
|
5
|
-
export * from "./typings/
|
|
6
|
-
export * from "./typings/
|
|
7
|
-
export * from "./typings/
|
|
8
|
-
export * from "./typings/
|
|
9
|
-
export * from "./typings/
|
|
10
|
-
export * from "./typings/
|
|
11
|
-
export * from "./typings/
|
|
12
|
-
export * from "./typings/
|
|
13
|
-
export * from "./typings/
|
|
14
|
-
export * from "./typings/
|
|
15
|
-
export * from "./typings/
|
|
16
|
-
export * from "./typings/includes/mi.includes";
|
|
17
|
-
export * from "./typings/includes/pr.include";
|
|
1
|
+
export * from "./typings/roles.typings";
|
|
2
|
+
export * from "./typings/companyVendors.typings";
|
|
3
|
+
export * from "./typings/department.typings";
|
|
4
|
+
export * from "./typings/offices.typings";
|
|
5
|
+
export * from "./typings/user.typings";
|
|
6
|
+
export * from "./typings/itemCategory.typings";
|
|
7
|
+
export * from "./typings/approvalChain.typings";
|
|
8
|
+
export * from "./typings/storeLocation.typings";
|
|
9
|
+
export * from "./typings/purchaseLocation.typings";
|
|
10
|
+
export * from "./typings/indent.typings";
|
|
11
|
+
export * from "./typings/mi.typings";
|
|
12
|
+
export * from "./typings/pr.typings";
|
|
13
|
+
export * from "./typings/rfq.typings";
|
|
14
|
+
export * from "./typings/company.typings";
|
|
15
|
+
export * from "./typings/storeInventory.typings";
|
|
18
16
|
export * from "./typings/vendor.typings";
|
|
19
17
|
export * from "./typings/vendorGroup.typings";
|
|
18
|
+
export * from "./typings/item.typings";
|
|
20
19
|
export * from "./constants/permission.constants";
|
|
21
20
|
export * from "./constants/entityTypes.constants";
|
|
22
21
|
export * from "./constants/documentStatus.typings";
|
|
23
|
-
export * from "./typings/indent/indent_priority";
|
|
24
|
-
export * from "./typings/indent/indent.typings";
|
|
25
|
-
export * from "./typings/pr/pr_priority";
|
|
26
|
-
export * from "./typings/dept-type/deptType.typings";
|
|
27
|
-
export * from "./typings/mi/mi.typings";
|
|
28
|
-
export * from "./typings/rfq.typings";
|
|
29
|
-
export * from "./typings/company.typings";
|
|
30
|
-
export * from "./typings/storeInventory.include";
|
|
31
22
|
export * from "./typings/quote.typings";
|
package/build/index.js
CHANGED
|
@@ -10,41 +10,28 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
// Items
|
|
14
|
-
__exportStar(require("./typings/item/item_types"), exports);
|
|
15
|
-
__exportStar(require("./typings/item/item_uoms"), exports);
|
|
16
|
-
__exportStar(require("./typings/item/item_tax_preference"), exports);
|
|
17
|
-
__exportStar(require("./typings/item/item_classification"), exports);
|
|
18
|
-
__exportStar(require("./typings/approvals/approvalChain.typings"), exports);
|
|
19
13
|
// Includes
|
|
20
|
-
__exportStar(require("./typings/
|
|
21
|
-
__exportStar(require("./typings/
|
|
22
|
-
__exportStar(require("./typings/
|
|
23
|
-
__exportStar(require("./typings/
|
|
24
|
-
__exportStar(require("./typings/
|
|
25
|
-
__exportStar(require("./typings/
|
|
26
|
-
__exportStar(require("./typings/
|
|
27
|
-
__exportStar(require("./typings/
|
|
28
|
-
__exportStar(require("./typings/
|
|
29
|
-
__exportStar(require("./typings/
|
|
30
|
-
__exportStar(require("./typings/
|
|
31
|
-
__exportStar(require("./typings/
|
|
14
|
+
__exportStar(require("./typings/roles.typings"), exports);
|
|
15
|
+
__exportStar(require("./typings/companyVendors.typings"), exports);
|
|
16
|
+
__exportStar(require("./typings/department.typings"), exports);
|
|
17
|
+
__exportStar(require("./typings/offices.typings"), exports);
|
|
18
|
+
__exportStar(require("./typings/user.typings"), exports);
|
|
19
|
+
__exportStar(require("./typings/itemCategory.typings"), exports);
|
|
20
|
+
__exportStar(require("./typings/approvalChain.typings"), exports);
|
|
21
|
+
__exportStar(require("./typings/storeLocation.typings"), exports);
|
|
22
|
+
__exportStar(require("./typings/purchaseLocation.typings"), exports);
|
|
23
|
+
__exportStar(require("./typings/indent.typings"), exports);
|
|
24
|
+
__exportStar(require("./typings/mi.typings"), exports);
|
|
25
|
+
__exportStar(require("./typings/pr.typings"), exports);
|
|
26
|
+
__exportStar(require("./typings/rfq.typings"), exports);
|
|
27
|
+
__exportStar(require("./typings/company.typings"), exports);
|
|
28
|
+
__exportStar(require("./typings/storeInventory.typings"), exports);
|
|
32
29
|
__exportStar(require("./typings/vendor.typings"), exports);
|
|
33
30
|
__exportStar(require("./typings/vendorGroup.typings"), exports);
|
|
31
|
+
__exportStar(require("./typings/item.typings"), exports);
|
|
34
32
|
// Constants
|
|
35
33
|
__exportStar(require("./constants/permission.constants"), exports);
|
|
36
34
|
__exportStar(require("./constants/entityTypes.constants"), exports);
|
|
37
35
|
__exportStar(require("./constants/documentStatus.typings"), exports);
|
|
38
|
-
// Indent
|
|
39
|
-
__exportStar(require("./typings/indent/indent_priority"), exports);
|
|
40
|
-
__exportStar(require("./typings/indent/indent.typings"), exports);
|
|
41
|
-
// PR
|
|
42
|
-
__exportStar(require("./typings/pr/pr_priority"), exports);
|
|
43
|
-
// dept types
|
|
44
|
-
__exportStar(require("./typings/dept-type/deptType.typings"), exports);
|
|
45
|
-
__exportStar(require("./typings/mi/mi.typings"), exports);
|
|
46
|
-
__exportStar(require("./typings/rfq.typings"), exports);
|
|
47
|
-
__exportStar(require("./typings/company.typings"), exports);
|
|
48
|
-
__exportStar(require("./typings/storeInventory.include"), exports);
|
|
49
36
|
//Vendor
|
|
50
37
|
__exportStar(require("./typings/quote.typings"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApprovalConfigInlcude = 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 = {}));
|
|
10
|
+
var ApprovalConfigInlcude;
|
|
11
|
+
(function (ApprovalConfigInlcude) {
|
|
12
|
+
ApprovalConfigInlcude["approval_chain"] = "approval_chain";
|
|
13
|
+
})(ApprovalConfigInlcude = exports.ApprovalConfigInlcude || (exports.ApprovalConfigInlcude = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyVendorsInclude = void 0;
|
|
4
|
+
var CompanyVendorsInclude;
|
|
5
|
+
(function (CompanyVendorsInclude) {
|
|
6
|
+
CompanyVendorsInclude["COMPANY"] = "company";
|
|
7
|
+
CompanyVendorsInclude["VENDOR"] = "vendor";
|
|
8
|
+
})(CompanyVendorsInclude = exports.CompanyVendorsInclude || (exports.CompanyVendorsInclude = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepartmentInclude = exports.DEPT_TYPES = void 0;
|
|
4
|
+
exports.DEPT_TYPES = {
|
|
5
|
+
PURCHASE: "Purchase",
|
|
6
|
+
STORE: "Store",
|
|
7
|
+
OFFICE: "Office",
|
|
8
|
+
};
|
|
9
|
+
var DepartmentInclude;
|
|
10
|
+
(function (DepartmentInclude) {
|
|
11
|
+
DepartmentInclude["subdepartments"] = "subdepartments";
|
|
12
|
+
DepartmentInclude["roles"] = "roles";
|
|
13
|
+
})(DepartmentInclude = exports.DepartmentInclude || (exports.DepartmentInclude = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum IndentStatus {
|
|
2
|
+
DRAFT = "DRAFT",
|
|
3
|
+
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
4
|
+
APPROVED = "APPROVED",
|
|
5
|
+
REJECTED = "REJECTED",
|
|
6
|
+
SENT_TO_STORE = "SENT TO STORE"
|
|
7
|
+
}
|
|
8
|
+
export declare const INDENT_PRIORITY_TYPES: {
|
|
9
|
+
LOW: string;
|
|
10
|
+
MEDIUM: string;
|
|
11
|
+
HIGH: string;
|
|
12
|
+
};
|
|
13
|
+
export declare enum IndentInclude {
|
|
14
|
+
items = "items",
|
|
15
|
+
approval_chain = "approval_chain"
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndentInclude = exports.INDENT_PRIORITY_TYPES = exports.IndentStatus = void 0;
|
|
4
|
+
var IndentStatus;
|
|
5
|
+
(function (IndentStatus) {
|
|
6
|
+
IndentStatus["DRAFT"] = "DRAFT";
|
|
7
|
+
IndentStatus["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
+
IndentStatus["APPROVED"] = "APPROVED";
|
|
9
|
+
IndentStatus["REJECTED"] = "REJECTED";
|
|
10
|
+
IndentStatus["SENT_TO_STORE"] = "SENT TO STORE";
|
|
11
|
+
})(IndentStatus = exports.IndentStatus || (exports.IndentStatus = {}));
|
|
12
|
+
exports.INDENT_PRIORITY_TYPES = {
|
|
13
|
+
LOW: "Low",
|
|
14
|
+
MEDIUM: "Medium",
|
|
15
|
+
HIGH: "High",
|
|
16
|
+
};
|
|
17
|
+
var IndentInclude;
|
|
18
|
+
(function (IndentInclude) {
|
|
19
|
+
IndentInclude["items"] = "items";
|
|
20
|
+
IndentInclude["approval_chain"] = "approval_chain";
|
|
21
|
+
})(IndentInclude = exports.IndentInclude || (exports.IndentInclude = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const ITEM_CLASSIFICATION: {
|
|
2
|
+
DIRECT: string;
|
|
3
|
+
INDIRECT: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const ITEM_TAX_PREFERENCE: {
|
|
6
|
+
NIL_RATED: string;
|
|
7
|
+
TAXABLE: string;
|
|
8
|
+
EXEMPT: string;
|
|
9
|
+
NON_GST: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const ITEM_TYPES: {
|
|
12
|
+
GOOD: string;
|
|
13
|
+
SERVICE: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const UOMS: {
|
|
16
|
+
full_form: string;
|
|
17
|
+
short_form: string;
|
|
18
|
+
}[];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UOMS = exports.ITEM_TYPES = exports.ITEM_TAX_PREFERENCE = exports.ITEM_CLASSIFICATION = void 0;
|
|
4
|
+
exports.ITEM_CLASSIFICATION = {
|
|
5
|
+
DIRECT: "Direct",
|
|
6
|
+
INDIRECT: "Indirect",
|
|
7
|
+
};
|
|
8
|
+
exports.ITEM_TAX_PREFERENCE = {
|
|
9
|
+
// gst_perccent set to 0
|
|
10
|
+
NIL_RATED: "Nil-Rated",
|
|
11
|
+
// Custom GST
|
|
12
|
+
TAXABLE: "Taxable",
|
|
13
|
+
// Disable gst field
|
|
14
|
+
EXEMPT: "Exempt",
|
|
15
|
+
// Disable gst field
|
|
16
|
+
NON_GST: "Non-GST",
|
|
17
|
+
};
|
|
18
|
+
exports.ITEM_TYPES = {
|
|
19
|
+
GOOD: "GOOD",
|
|
20
|
+
SERVICE: "SERVICE",
|
|
21
|
+
};
|
|
22
|
+
exports.UOMS = [
|
|
23
|
+
{ full_form: "BAGS", short_form: "BAG" },
|
|
24
|
+
{ full_form: "BALE", short_form: "BAL" },
|
|
25
|
+
{ full_form: "BILLION OF UNITS", short_form: "BOU" },
|
|
26
|
+
{ full_form: "BOTTLES", short_form: "BTL" },
|
|
27
|
+
{ full_form: "BOX", short_form: "BOX" },
|
|
28
|
+
{ full_form: "BUCKLES", short_form: "BKL" },
|
|
29
|
+
{ full_form: "BUNCHES", short_form: "BUN" },
|
|
30
|
+
{ full_form: "BUNDLES", short_form: "BDL" },
|
|
31
|
+
{ full_form: "CANS", short_form: "CAN" },
|
|
32
|
+
{ full_form: "CARTONS", short_form: "CTN" },
|
|
33
|
+
{ full_form: "CENTI METERS", short_form: "CMS" },
|
|
34
|
+
{ full_form: "CUBIC CENTIMETERS", short_form: "CCM" },
|
|
35
|
+
{ full_form: "CUBIC METERS", short_form: "CBM" },
|
|
36
|
+
{ full_form: "DOZENS", short_form: "DOZ" },
|
|
37
|
+
{ full_form: "DRUMS", short_form: "DRM" },
|
|
38
|
+
{ full_form: "GRAMMES", short_form: "GMS" },
|
|
39
|
+
{ full_form: "GREAT GROSS", short_form: "GGK" },
|
|
40
|
+
{ full_form: "GROSS", short_form: "GRS" },
|
|
41
|
+
{ full_form: "GROSS YARDS", short_form: "GYD" },
|
|
42
|
+
{ full_form: "KILOGRAMS", short_form: "KGS" },
|
|
43
|
+
{ full_form: "KILOLITRE", short_form: "KLR" },
|
|
44
|
+
{ full_form: "KILOMETRE", short_form: "KME" },
|
|
45
|
+
{ full_form: "LITRES", short_form: "LTR" },
|
|
46
|
+
{ full_form: "METERS", short_form: "MTR" },
|
|
47
|
+
{ full_form: "METRIC TON", short_form: "MTS" },
|
|
48
|
+
{ full_form: "MILILITRE", short_form: "MLT" },
|
|
49
|
+
{ full_form: "NUMBERS", short_form: "NOS" },
|
|
50
|
+
{ full_form: "OTHERS", short_form: "OTH" },
|
|
51
|
+
{ full_form: "PACKS", short_form: "PAC" },
|
|
52
|
+
{ full_form: "PAIRS", short_form: "PRS" },
|
|
53
|
+
{ full_form: "PIECES", short_form: "PCS" },
|
|
54
|
+
{ full_form: "QUINTAL", short_form: "QTL" },
|
|
55
|
+
{ full_form: "ROLLS", short_form: "ROL" },
|
|
56
|
+
{ full_form: "SETS", short_form: "SET" },
|
|
57
|
+
{ full_form: "SQUARE FEET", short_form: "SQF" },
|
|
58
|
+
{ full_form: "SQUARE METERS", short_form: "SQM" },
|
|
59
|
+
{ full_form: "SQUARE YARDS", short_form: "SQY" },
|
|
60
|
+
{ full_form: "TABLETS", short_form: "TBS" },
|
|
61
|
+
{ full_form: "TEN GROSS", short_form: "TGM" },
|
|
62
|
+
{ full_form: "THOUSANDS", short_form: "THD" },
|
|
63
|
+
{ full_form: "TONNES", short_form: "TON" },
|
|
64
|
+
{ full_form: "TUBES", short_form: "TUB" },
|
|
65
|
+
{ full_form: "UNITS", short_form: "UNT" },
|
|
66
|
+
{ full_form: "US GALLONS", short_form: "UGS" },
|
|
67
|
+
{ full_form: "YARDS", short_form: "YDS" },
|
|
68
|
+
];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ItemCategoryInclude = void 0;
|
|
4
|
+
var ItemCategoryInclude;
|
|
5
|
+
(function (ItemCategoryInclude) {
|
|
6
|
+
ItemCategoryInclude["subcategories"] = "subcategories";
|
|
7
|
+
})(ItemCategoryInclude = exports.ItemCategoryInclude || (exports.ItemCategoryInclude = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum MI_STATUS {
|
|
2
|
+
DRAFT = "DRAFT",
|
|
3
|
+
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
4
|
+
APPROVED = "APPROVED",
|
|
5
|
+
REJECTED = "REJECTED",
|
|
6
|
+
CLOSED = "CLOSED"
|
|
7
|
+
}
|
|
8
|
+
export declare enum MiInclude {
|
|
9
|
+
items = "items",
|
|
10
|
+
approval_chain = "approval_chain"
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MiInclude = exports.MI_STATUS = void 0;
|
|
4
|
+
var MI_STATUS;
|
|
5
|
+
(function (MI_STATUS) {
|
|
6
|
+
MI_STATUS["DRAFT"] = "DRAFT";
|
|
7
|
+
MI_STATUS["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
+
MI_STATUS["APPROVED"] = "APPROVED";
|
|
9
|
+
MI_STATUS["REJECTED"] = "REJECTED";
|
|
10
|
+
MI_STATUS["CLOSED"] = "CLOSED";
|
|
11
|
+
})(MI_STATUS = exports.MI_STATUS || (exports.MI_STATUS = {}));
|
|
12
|
+
var MiInclude;
|
|
13
|
+
(function (MiInclude) {
|
|
14
|
+
MiInclude["items"] = "items";
|
|
15
|
+
MiInclude["approval_chain"] = "approval_chain";
|
|
16
|
+
})(MiInclude = exports.MiInclude || (exports.MiInclude = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare enum OfficeInclude {
|
|
2
|
+
associated_roles = "associated_roles",
|
|
3
|
+
approval_configs = "approval_configs",
|
|
4
|
+
departments = "departments",
|
|
5
|
+
served_by_store_locations = "served_by_store_locations",
|
|
6
|
+
associated_purchase_locations = "associated_purchase_locations"
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OfficeInclude = void 0;
|
|
4
|
+
var OfficeInclude;
|
|
5
|
+
(function (OfficeInclude) {
|
|
6
|
+
OfficeInclude["associated_roles"] = "associated_roles";
|
|
7
|
+
OfficeInclude["approval_configs"] = "approval_configs";
|
|
8
|
+
OfficeInclude["departments"] = "departments";
|
|
9
|
+
OfficeInclude["served_by_store_locations"] = "served_by_store_locations";
|
|
10
|
+
OfficeInclude["associated_purchase_locations"] = "associated_purchase_locations";
|
|
11
|
+
})(OfficeInclude = exports.OfficeInclude || (exports.OfficeInclude = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const PR_PRIORITY_TYPES: {
|
|
2
|
+
LOW: string;
|
|
3
|
+
MEDIUM: string;
|
|
4
|
+
HIGH: string;
|
|
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
|
+
SENT_TO_PURCHASE = "SENT TO PURCHASE"
|
|
13
|
+
}
|
|
14
|
+
export declare enum PRInclude {
|
|
15
|
+
items = "items",
|
|
16
|
+
approval_chain = "approval_chain"
|
|
17
|
+
}
|
|
18
|
+
export declare const etc = "hello";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.etc = exports.PRInclude = exports.PR_STATUS = exports.PR_PRIORITY_TYPES = void 0;
|
|
4
|
+
exports.PR_PRIORITY_TYPES = {
|
|
5
|
+
LOW: "Low",
|
|
6
|
+
MEDIUM: "Medium",
|
|
7
|
+
HIGH: "High",
|
|
8
|
+
};
|
|
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["SENT_TO_PURCHASE"] = "SENT TO PURCHASE";
|
|
18
|
+
})(PR_STATUS = exports.PR_STATUS || (exports.PR_STATUS = {}));
|
|
19
|
+
var PRInclude;
|
|
20
|
+
(function (PRInclude) {
|
|
21
|
+
PRInclude["items"] = "items";
|
|
22
|
+
PRInclude["approval_chain"] = "approval_chain";
|
|
23
|
+
})(PRInclude = exports.PRInclude || (exports.PRInclude = {}));
|
|
24
|
+
exports.etc = "hello";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PurchaseLocationInclude = void 0;
|
|
4
|
+
var PurchaseLocationInclude;
|
|
5
|
+
(function (PurchaseLocationInclude) {
|
|
6
|
+
PurchaseLocationInclude["departments"] = "departments";
|
|
7
|
+
PurchaseLocationInclude["roles"] = "roles";
|
|
8
|
+
PurchaseLocationInclude["associated_offices"] = "associated_offices";
|
|
9
|
+
PurchaseLocationInclude["target_store_locations"] = "target_store_locations";
|
|
10
|
+
})(PurchaseLocationInclude = exports.PurchaseLocationInclude || (exports.PurchaseLocationInclude = {}));
|
|
@@ -2,3 +2,15 @@ export declare enum QUOTE_STATUS {
|
|
|
2
2
|
PENDING = "PENDING",
|
|
3
3
|
QUOTED = "QUOTED"
|
|
4
4
|
}
|
|
5
|
+
export declare enum QUOTE_INCLUDES {
|
|
6
|
+
parent_rfq = "parent_rfq",
|
|
7
|
+
vendor = "vendor",
|
|
8
|
+
company = "company",
|
|
9
|
+
taxes = "taxes",
|
|
10
|
+
quote_items = "quote_items"
|
|
11
|
+
}
|
|
12
|
+
export declare enum QUOTE_ITEM_INCLUDES {
|
|
13
|
+
parent_quote = "parent_quote",
|
|
14
|
+
item = "item",
|
|
15
|
+
parent_rfq_item = "parent_rfq_item"
|
|
16
|
+
}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QUOTE_STATUS = void 0;
|
|
3
|
+
exports.QUOTE_ITEM_INCLUDES = exports.QUOTE_INCLUDES = exports.QUOTE_STATUS = void 0;
|
|
4
4
|
var QUOTE_STATUS;
|
|
5
5
|
(function (QUOTE_STATUS) {
|
|
6
6
|
QUOTE_STATUS["PENDING"] = "PENDING";
|
|
7
7
|
QUOTE_STATUS["QUOTED"] = "QUOTED";
|
|
8
8
|
})(QUOTE_STATUS = exports.QUOTE_STATUS || (exports.QUOTE_STATUS = {}));
|
|
9
|
+
var QUOTE_INCLUDES;
|
|
10
|
+
(function (QUOTE_INCLUDES) {
|
|
11
|
+
QUOTE_INCLUDES["parent_rfq"] = "parent_rfq";
|
|
12
|
+
QUOTE_INCLUDES["vendor"] = "vendor";
|
|
13
|
+
QUOTE_INCLUDES["company"] = "company";
|
|
14
|
+
QUOTE_INCLUDES["taxes"] = "taxes";
|
|
15
|
+
QUOTE_INCLUDES["quote_items"] = "quote_items";
|
|
16
|
+
})(QUOTE_INCLUDES = exports.QUOTE_INCLUDES || (exports.QUOTE_INCLUDES = {}));
|
|
17
|
+
var QUOTE_ITEM_INCLUDES;
|
|
18
|
+
(function (QUOTE_ITEM_INCLUDES) {
|
|
19
|
+
QUOTE_ITEM_INCLUDES["parent_quote"] = "parent_quote";
|
|
20
|
+
QUOTE_ITEM_INCLUDES["item"] = "item";
|
|
21
|
+
QUOTE_ITEM_INCLUDES["parent_rfq_item"] = "parent_rfq_item";
|
|
22
|
+
})(QUOTE_ITEM_INCLUDES = exports.QUOTE_ITEM_INCLUDES || (exports.QUOTE_ITEM_INCLUDES = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RolesInclude = void 0;
|
|
4
|
+
var RolesInclude;
|
|
5
|
+
(function (RolesInclude) {
|
|
6
|
+
RolesInclude["permissions"] = "permissions";
|
|
7
|
+
RolesInclude["assigned_active_users"] = "assigned_active_users";
|
|
8
|
+
RolesInclude["approval_chains"] = "approval_chains";
|
|
9
|
+
RolesInclude["assigned_users"] = "assigned_users";
|
|
10
|
+
})(RolesInclude = exports.RolesInclude || (exports.RolesInclude = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.STORE_INVENTORY_INCLUDE = void 0;
|
|
4
|
+
var STORE_INVENTORY_INCLUDE;
|
|
5
|
+
(function (STORE_INVENTORY_INCLUDE) {
|
|
6
|
+
STORE_INVENTORY_INCLUDE["store"] = "store";
|
|
7
|
+
STORE_INVENTORY_INCLUDE["item"] = "item";
|
|
8
|
+
})(STORE_INVENTORY_INCLUDE = exports.STORE_INVENTORY_INCLUDE || (exports.STORE_INVENTORY_INCLUDE = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum StoreLocationInclude {
|
|
2
|
+
approval_configs = "approval_configs",
|
|
3
|
+
inventory_entries = "inventory_entries",
|
|
4
|
+
departments = "departments",
|
|
5
|
+
roles = "roles",
|
|
6
|
+
target_offices = "target_offices",
|
|
7
|
+
served_by_purchase_locations = "served_by_purchase_locations"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreLocationInclude = void 0;
|
|
4
|
+
var StoreLocationInclude;
|
|
5
|
+
(function (StoreLocationInclude) {
|
|
6
|
+
StoreLocationInclude["approval_configs"] = "approval_configs";
|
|
7
|
+
StoreLocationInclude["inventory_entries"] = "inventory_entries";
|
|
8
|
+
StoreLocationInclude["departments"] = "departments";
|
|
9
|
+
StoreLocationInclude["roles"] = "roles";
|
|
10
|
+
StoreLocationInclude["target_offices"] = "target_offices";
|
|
11
|
+
StoreLocationInclude["served_by_purchase_locations"] = "served_by_purchase_locations";
|
|
12
|
+
})(StoreLocationInclude = exports.StoreLocationInclude || (exports.StoreLocationInclude = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum UserInclude {
|
|
2
|
+
subordinates = "subordinates",
|
|
3
|
+
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
4
|
+
as_incharge_in_store_locations = "as_incharge_in_store_locations",
|
|
5
|
+
as_incharge_in_offices = "as_incharge_in_offices",
|
|
6
|
+
as_contact_person_companies = "as_contact_person_companies",
|
|
7
|
+
as_contact_person_offices = "as_contact_person_offices",
|
|
8
|
+
owned_companies = "owned_companies",
|
|
9
|
+
head_for_departments = "head_for_departments",
|
|
10
|
+
approved_items = "approved_items",
|
|
11
|
+
approval_chains = "approval_chains",
|
|
12
|
+
assigned_roles = "assigned_roles"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserInclude = void 0;
|
|
4
|
+
var UserInclude;
|
|
5
|
+
(function (UserInclude) {
|
|
6
|
+
UserInclude["subordinates"] = "subordinates";
|
|
7
|
+
UserInclude["as_incharge_in_purchase_locations"] = "as_incharge_in_purchase_locations";
|
|
8
|
+
UserInclude["as_incharge_in_store_locations"] = "as_incharge_in_store_locations";
|
|
9
|
+
UserInclude["as_incharge_in_offices"] = "as_incharge_in_offices";
|
|
10
|
+
UserInclude["as_contact_person_companies"] = "as_contact_person_companies";
|
|
11
|
+
UserInclude["as_contact_person_offices"] = "as_contact_person_offices";
|
|
12
|
+
UserInclude["owned_companies"] = "owned_companies";
|
|
13
|
+
UserInclude["head_for_departments"] = "head_for_departments";
|
|
14
|
+
UserInclude["approved_items"] = "approved_items";
|
|
15
|
+
UserInclude["approval_chains"] = "approval_chains";
|
|
16
|
+
UserInclude["assigned_roles"] = "assigned_roles";
|
|
17
|
+
})(UserInclude = exports.UserInclude || (exports.UserInclude = {}));
|