kcommons 5.14.13 → 5.15.1
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/constants/documentStatus.typings.d.ts +2 -1
- package/build/constants/documentStatus.typings.js +1 -0
- package/build/constants/permission.constants.d.ts +4 -1
- package/build/constants/permission.constants.js +7 -0
- package/build/typings/company.typings.d.ts +37 -34
- package/build/typings/company.typings.js +1 -0
- package/build/typings/comparative.typings.d.ts +42 -1
- package/build/typings/comparative.typings.js +20 -0
- package/build/typings/quote.typings.d.ts +5 -1
- package/build/typings/quote.typings.js +1 -0
- package/build/typings/rfq.typings.d.ts +5 -2
- package/build/typings/rfq.typings.js +1 -0
- package/build/typings/user.typings.d.ts +5 -2
- package/build/typings/user.typings.js +1 -0
- package/package.json +1 -1
|
@@ -21,4 +21,5 @@ var DOCUMENT_STATUS;
|
|
|
21
21
|
DOCUMENT_STATUS["DISPATCHED"] = "DISPATCHED";
|
|
22
22
|
DOCUMENT_STATUS["DELIVERED"] = "DELIVERED";
|
|
23
23
|
DOCUMENT_STATUS["REJECTED_BY_VENDOR"] = "REJECTED_BY_VENDOR";
|
|
24
|
+
DOCUMENT_STATUS["PROCESSING"] = "PROCESSING";
|
|
24
25
|
})(DOCUMENT_STATUS || (exports.DOCUMENT_STATUS = DOCUMENT_STATUS = {}));
|
|
@@ -13,7 +13,8 @@ export declare enum DOCUMENTS {
|
|
|
13
13
|
RFI = "RFI",
|
|
14
14
|
RFP = "RFP",
|
|
15
15
|
PO = "PO",
|
|
16
|
-
GRN = "GRN"
|
|
16
|
+
GRN = "GRN",
|
|
17
|
+
COMPARATIVE = "COMPARATIVE"
|
|
17
18
|
}
|
|
18
19
|
export declare enum PERMISSION_ENTITIES_OTHERS {
|
|
19
20
|
ITEMS = "Items"
|
|
@@ -30,6 +31,7 @@ export declare const PERMISSION_ENTITIES: {
|
|
|
30
31
|
RFP: DOCUMENTS.RFP;
|
|
31
32
|
PO: DOCUMENTS.PO;
|
|
32
33
|
GRN: DOCUMENTS.GRN;
|
|
34
|
+
COMPARATIVE: DOCUMENTS.COMPARATIVE;
|
|
33
35
|
};
|
|
34
36
|
export declare const PERMISSION_CONFIG: {
|
|
35
37
|
Indent: PERMISSION_ACTIONS[];
|
|
@@ -42,6 +44,7 @@ export declare const PERMISSION_CONFIG: {
|
|
|
42
44
|
PO: PERMISSION_ACTIONS[];
|
|
43
45
|
Items: PERMISSION_ACTIONS[];
|
|
44
46
|
GRN: PERMISSION_ACTIONS[];
|
|
47
|
+
COMPARATIVE: PERMISSION_ACTIONS[];
|
|
45
48
|
};
|
|
46
49
|
export declare const EntitySpecificDocuments: {
|
|
47
50
|
gate: DOCUMENTS[];
|
|
@@ -21,6 +21,7 @@ var DOCUMENTS;
|
|
|
21
21
|
DOCUMENTS["RFP"] = "RFP";
|
|
22
22
|
DOCUMENTS["PO"] = "PO";
|
|
23
23
|
DOCUMENTS["GRN"] = "GRN";
|
|
24
|
+
DOCUMENTS["COMPARATIVE"] = "COMPARATIVE";
|
|
24
25
|
})(DOCUMENTS || (exports.DOCUMENTS = DOCUMENTS = {}));
|
|
25
26
|
var PERMISSION_ENTITIES_OTHERS;
|
|
26
27
|
(function (PERMISSION_ENTITIES_OTHERS) {
|
|
@@ -85,6 +86,11 @@ exports.PERMISSION_CONFIG = {
|
|
|
85
86
|
PERMISSION_ACTIONS.READ_ONLY,
|
|
86
87
|
PERMISSION_ACTIONS.CRUDSAC,
|
|
87
88
|
],
|
|
89
|
+
[exports.PERMISSION_ENTITIES.COMPARATIVE]: [
|
|
90
|
+
PERMISSION_ACTIONS.APPROVALS,
|
|
91
|
+
PERMISSION_ACTIONS.READ_ONLY,
|
|
92
|
+
PERMISSION_ACTIONS.CRUDSAC,
|
|
93
|
+
],
|
|
88
94
|
};
|
|
89
95
|
exports.EntitySpecificDocuments = {
|
|
90
96
|
[entityTypes_constants_1.EntityTypes.GATE]: [exports.PERMISSION_ENTITIES.GRN, exports.PERMISSION_ENTITIES.INDENT],
|
|
@@ -101,5 +107,6 @@ exports.EntitySpecificDocuments = {
|
|
|
101
107
|
exports.PERMISSION_ENTITIES.RFI,
|
|
102
108
|
exports.PERMISSION_ENTITIES.PO,
|
|
103
109
|
exports.PERMISSION_ENTITIES.INDENT,
|
|
110
|
+
exports.PERMISSION_ENTITIES.COMPARATIVE,
|
|
104
111
|
],
|
|
105
112
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
2
2
|
import { INestedApprovalConfig } from "./approvalConfig.typings";
|
|
3
3
|
import { INestedBOM, INestedBOMItem } from "./bom.typings";
|
|
4
|
+
import { INestedComparative } from "./comparative.typings";
|
|
4
5
|
import { INestedDepartment, INestedSubdepartment } from "./department.typings";
|
|
5
6
|
import { INestedGRN, INestedGRNItem } from "./grn.typings";
|
|
6
7
|
import { INestedIndent, INestedIndentItem } from "./indent.typings";
|
|
@@ -22,6 +23,40 @@ import { INestedUser } from "./user.typings";
|
|
|
22
23
|
import { IAddress } from "./utils/address.typings";
|
|
23
24
|
import { INestedVendor } from "./vendor.typings";
|
|
24
25
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
26
|
+
export declare enum COMPANY_INCLUDE {
|
|
27
|
+
associated_purchase_locations = "associated_purchase_locations",
|
|
28
|
+
associated_vendors = "associated_vendors",
|
|
29
|
+
associated_permissions = "associated_permissions",
|
|
30
|
+
associated_roles = "associated_roles",
|
|
31
|
+
approval_configs = "approval_configs",
|
|
32
|
+
subdepartments = "subdepartments",
|
|
33
|
+
subcategories = "subcategories",
|
|
34
|
+
categories = "categories",
|
|
35
|
+
items = "items",
|
|
36
|
+
offices = "offices",
|
|
37
|
+
stores = "stores",
|
|
38
|
+
employees = "employees",
|
|
39
|
+
departments = "departments",
|
|
40
|
+
vendor_groups = "vendor_groups",
|
|
41
|
+
company_indents = "company_indents",
|
|
42
|
+
indent_items = "indent_items",
|
|
43
|
+
company_mis = "company_mis",
|
|
44
|
+
mi_items = "mi_items",
|
|
45
|
+
company_prs = "company_prs",
|
|
46
|
+
pr_items = "pr_items",
|
|
47
|
+
company_rfqs = "company_rfqs",
|
|
48
|
+
company_quotes = "company_quotes",
|
|
49
|
+
entity_approval_chain_entries = "entity_approval_chain_entries",
|
|
50
|
+
company_negotiations = "company_negotiations",
|
|
51
|
+
company_pos = "company_pos",
|
|
52
|
+
company_grns = "company_grns",
|
|
53
|
+
company_grns_items = "company_grns_items",
|
|
54
|
+
company_mrns = "company_mrns",
|
|
55
|
+
company_mrns_items = "company_mrns_items",
|
|
56
|
+
company_boms = "company_boms",
|
|
57
|
+
company_bom_items = "company_bom_items",
|
|
58
|
+
company_comparatives = "company_comparatives"
|
|
59
|
+
}
|
|
25
60
|
export interface ICompany extends IAddress {
|
|
26
61
|
id: string;
|
|
27
62
|
trade_name: string;
|
|
@@ -75,39 +110,7 @@ export interface ICompany extends IAddress {
|
|
|
75
110
|
company_mrns_items?: INestedMRNItem[] | null;
|
|
76
111
|
company_boms?: INestedBOM[] | null;
|
|
77
112
|
company_bom_items: INestedBOMItem[] | null;
|
|
113
|
+
company_comparatives: INestedComparative[] | null;
|
|
78
114
|
}
|
|
79
|
-
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items"> {
|
|
80
|
-
}
|
|
81
|
-
export declare enum COMPANY_INCLUDE {
|
|
82
|
-
associated_purchase_locations = "associated_purchase_locations",
|
|
83
|
-
associated_vendors = "associated_vendors",
|
|
84
|
-
associated_permissions = "associated_permissions",
|
|
85
|
-
associated_roles = "associated_roles",
|
|
86
|
-
approval_configs = "approval_configs",
|
|
87
|
-
subdepartments = "subdepartments",
|
|
88
|
-
subcategories = "subcategories",
|
|
89
|
-
categories = "categories",
|
|
90
|
-
items = "items",
|
|
91
|
-
offices = "offices",
|
|
92
|
-
stores = "stores",
|
|
93
|
-
employees = "employees",
|
|
94
|
-
departments = "departments",
|
|
95
|
-
vendor_groups = "vendor_groups",
|
|
96
|
-
company_indents = "company_indents",
|
|
97
|
-
indent_items = "indent_items",
|
|
98
|
-
company_mis = "company_mis",
|
|
99
|
-
mi_items = "mi_items",
|
|
100
|
-
company_prs = "company_prs",
|
|
101
|
-
pr_items = "pr_items",
|
|
102
|
-
company_rfqs = "company_rfqs",
|
|
103
|
-
company_quotes = "company_quotes",
|
|
104
|
-
entity_approval_chain_entries = "entity_approval_chain_entries",
|
|
105
|
-
company_negotiations = "company_negotiations",
|
|
106
|
-
company_pos = "company_pos",
|
|
107
|
-
company_grns = "company_grns",
|
|
108
|
-
company_grns_items = "company_grns_items",
|
|
109
|
-
company_mrns = "company_mrns",
|
|
110
|
-
company_mrns_items = "company_mrns_items",
|
|
111
|
-
company_boms = "company_boms",
|
|
112
|
-
company_bom_items = "company_bom_items"
|
|
115
|
+
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives"> {
|
|
113
116
|
}
|
|
@@ -34,4 +34,5 @@ var COMPANY_INCLUDE;
|
|
|
34
34
|
COMPANY_INCLUDE["company_mrns_items"] = "company_mrns_items";
|
|
35
35
|
COMPANY_INCLUDE["company_boms"] = "company_boms";
|
|
36
36
|
COMPANY_INCLUDE["company_bom_items"] = "company_bom_items";
|
|
37
|
+
COMPANY_INCLUDE["company_comparatives"] = "company_comparatives";
|
|
37
38
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -1,5 +1,46 @@
|
|
|
1
|
+
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
3
|
+
import { INestedPo } from "./po.typings";
|
|
4
|
+
import { INestedQuote } from "./quote.typings";
|
|
5
|
+
import { INestedRFQ } from "./rfq.typings";
|
|
6
|
+
import { INestedUser } from "./user.typings";
|
|
7
|
+
export declare enum COMPARATIVE_STATUS {
|
|
8
|
+
DRAFT = "DRAFT",
|
|
9
|
+
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
10
|
+
APPROVED = "APPROVED",
|
|
11
|
+
REJECTED = "REJECTED",
|
|
12
|
+
PROCESSING = "PROCESSING",
|
|
13
|
+
CLOSED = "CLOSED",
|
|
14
|
+
CANCELLED = "CANCELLED"
|
|
15
|
+
}
|
|
16
|
+
export declare enum COMPARATIVE_INCLUDE {
|
|
17
|
+
company = "company",
|
|
18
|
+
parent_rfq = "parent_rfq",
|
|
19
|
+
sent_for_approval_by_user = "sent_for_approval_by_user",
|
|
20
|
+
quotes = "quotes",
|
|
21
|
+
child_pos = "child_pos",
|
|
22
|
+
approval_chain = "approval_chain"
|
|
23
|
+
}
|
|
1
24
|
export interface IComparative {
|
|
2
25
|
id: string;
|
|
26
|
+
company_id: string;
|
|
27
|
+
parent_rfq_id: string;
|
|
28
|
+
sent_for_approval_by_user_id: string | null;
|
|
29
|
+
status: COMPARATIVE_STATUS;
|
|
30
|
+
is_negotiating: boolean;
|
|
31
|
+
is_freezed: boolean;
|
|
32
|
+
is_approved: boolean;
|
|
33
|
+
company: INestedCompany | null;
|
|
34
|
+
parent_rfq: INestedRFQ | null;
|
|
35
|
+
sent_for_approval_by_user: INestedUser | null;
|
|
36
|
+
quotes: INestedQuote[] | null;
|
|
37
|
+
child_pos: INestedPo[] | null;
|
|
38
|
+
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
39
|
+
}
|
|
40
|
+
export interface INestedComparative extends Omit<IComparative, "company" | "parent_rfq" | "sent_for_approval_by_user" | "quotes" | "child_pos" | "approval_chain"> {
|
|
3
41
|
}
|
|
4
|
-
export interface
|
|
42
|
+
export interface ICompartiveFilters {
|
|
43
|
+
rfq_id?: string;
|
|
44
|
+
status?: COMPARATIVE_STATUS;
|
|
45
|
+
company_id?: string;
|
|
5
46
|
}
|
|
@@ -1,2 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPARATIVE_INCLUDE = exports.COMPARATIVE_STATUS = void 0;
|
|
4
|
+
var COMPARATIVE_STATUS;
|
|
5
|
+
(function (COMPARATIVE_STATUS) {
|
|
6
|
+
COMPARATIVE_STATUS["DRAFT"] = "DRAFT";
|
|
7
|
+
COMPARATIVE_STATUS["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
+
COMPARATIVE_STATUS["APPROVED"] = "APPROVED";
|
|
9
|
+
COMPARATIVE_STATUS["REJECTED"] = "REJECTED";
|
|
10
|
+
COMPARATIVE_STATUS["PROCESSING"] = "PROCESSING";
|
|
11
|
+
COMPARATIVE_STATUS["CLOSED"] = "CLOSED";
|
|
12
|
+
COMPARATIVE_STATUS["CANCELLED"] = "CANCELLED";
|
|
13
|
+
})(COMPARATIVE_STATUS || (exports.COMPARATIVE_STATUS = COMPARATIVE_STATUS = {}));
|
|
14
|
+
var COMPARATIVE_INCLUDE;
|
|
15
|
+
(function (COMPARATIVE_INCLUDE) {
|
|
16
|
+
COMPARATIVE_INCLUDE["company"] = "company";
|
|
17
|
+
COMPARATIVE_INCLUDE["parent_rfq"] = "parent_rfq";
|
|
18
|
+
COMPARATIVE_INCLUDE["sent_for_approval_by_user"] = "sent_for_approval_by_user";
|
|
19
|
+
COMPARATIVE_INCLUDE["quotes"] = "quotes";
|
|
20
|
+
COMPARATIVE_INCLUDE["child_pos"] = "child_pos";
|
|
21
|
+
COMPARATIVE_INCLUDE["approval_chain"] = "approval_chain";
|
|
22
|
+
})(COMPARATIVE_INCLUDE || (exports.COMPARATIVE_INCLUDE = COMPARATIVE_INCLUDE = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedComparative } from "./comparative.typings";
|
|
2
3
|
import { ITaxRelatedItemInputs } from "./docItems.typings";
|
|
3
4
|
import { INestedDocumentTaxes } from "./documentTaxes.typings";
|
|
4
5
|
import { INestedItem } from "./item.typings";
|
|
@@ -25,7 +26,8 @@ export declare enum QUOTE_INCLUDES {
|
|
|
25
26
|
taxes = "taxes",
|
|
26
27
|
items = "items",
|
|
27
28
|
child_pos = "child_pos",
|
|
28
|
-
negotiations = "negotiations"
|
|
29
|
+
negotiations = "negotiations",
|
|
30
|
+
comparative = "comparative"
|
|
29
31
|
}
|
|
30
32
|
export declare enum QUOTE_ITEM_INCLUDES {
|
|
31
33
|
parent_quote = "parent_quote",
|
|
@@ -37,6 +39,7 @@ export interface IQuote {
|
|
|
37
39
|
rfq_id?: string | null;
|
|
38
40
|
shipping_store_location_id?: string | null;
|
|
39
41
|
contact_person_id?: string | null;
|
|
42
|
+
comparative_id?: string | null;
|
|
40
43
|
vendor_id: string;
|
|
41
44
|
company_id: string;
|
|
42
45
|
quote_no: string;
|
|
@@ -57,6 +60,7 @@ export interface IQuote {
|
|
|
57
60
|
shipping_store_location: INestedStoreLocation | null;
|
|
58
61
|
vendor: INestedVendor | null;
|
|
59
62
|
company: INestedCompany | null;
|
|
63
|
+
comparative: INestedComparative | null;
|
|
60
64
|
items: INestedQuoteItems[] | null;
|
|
61
65
|
taxes: INestedDocumentTaxes[] | null;
|
|
62
66
|
child_pos: INestedPo[] | null;
|
|
@@ -22,6 +22,7 @@ var QUOTE_INCLUDES;
|
|
|
22
22
|
QUOTE_INCLUDES["items"] = "items";
|
|
23
23
|
QUOTE_INCLUDES["child_pos"] = "child_pos";
|
|
24
24
|
QUOTE_INCLUDES["negotiations"] = "negotiations";
|
|
25
|
+
QUOTE_INCLUDES["comparative"] = "comparative";
|
|
25
26
|
})(QUOTE_INCLUDES || (exports.QUOTE_INCLUDES = QUOTE_INCLUDES = {}));
|
|
26
27
|
var QUOTE_ITEM_INCLUDES;
|
|
27
28
|
(function (QUOTE_ITEM_INCLUDES) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INestedBOM } from "./bom.typings";
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedCompanyVendors } from "./companyVendors.typings";
|
|
4
|
+
import { INestedComparative } from "./comparative.typings";
|
|
4
5
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
5
6
|
import { INestedPR, INestedPrItem } from "./pr.typings";
|
|
6
7
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
@@ -23,7 +24,8 @@ export declare enum RFQ_INCLUDES {
|
|
|
23
24
|
additional_vendors = "additional_vendors",
|
|
24
25
|
rfq_vendors = "rfq_vendors",
|
|
25
26
|
rfq_vendor_groups = "rfq_vendor_groups",
|
|
26
|
-
boms = "boms"
|
|
27
|
+
boms = "boms",
|
|
28
|
+
comparative = "comparative"
|
|
27
29
|
}
|
|
28
30
|
export declare enum RFQ_STATUS {
|
|
29
31
|
DRAFT = "DRAFT",
|
|
@@ -77,6 +79,7 @@ export interface IRFQ {
|
|
|
77
79
|
contact_person: INestedUser | null;
|
|
78
80
|
sent_for_approval_by: INestedUser | null;
|
|
79
81
|
sent_to_vendors_by: INestedVendor | null;
|
|
82
|
+
comparative: INestedComparative | null;
|
|
80
83
|
quotes: INestedQuote[] | null;
|
|
81
84
|
items?: INestedRFQItem[] | null;
|
|
82
85
|
approval_chain?: INestedEntityApprovalChainEntry[] | null;
|
|
@@ -85,7 +88,7 @@ export interface IRFQ {
|
|
|
85
88
|
additional_vendors?: INestedVendor[] | null;
|
|
86
89
|
boms: INestedRFQBOM[] | null;
|
|
87
90
|
}
|
|
88
|
-
export interface INestedRFQ extends Omit<IRFQ, "company" | "parent_purchase_location" | "created_by_user" | "shipping_store_location" | "contact_person" | "sent_for_approval_by" | "sent_to_vendors_by" | "quotes" | "items" | "approval_chain" | "rfq_vendor_groups" | "rfq_vendors" | "additional_vendors" | "boms"> {
|
|
91
|
+
export interface INestedRFQ extends Omit<IRFQ, "company" | "parent_purchase_location" | "created_by_user" | "shipping_store_location" | "contact_person" | "sent_for_approval_by" | "sent_to_vendors_by" | "quotes" | "items" | "approval_chain" | "rfq_vendor_groups" | "rfq_vendors" | "additional_vendors" | "boms" | "comparative"> {
|
|
89
92
|
}
|
|
90
93
|
export declare enum RFQ_ITEM_INCLUDE {
|
|
91
94
|
parent_rfq = "parent_rfq",
|
|
@@ -17,6 +17,7 @@ var RFQ_INCLUDES;
|
|
|
17
17
|
RFQ_INCLUDES["rfq_vendors"] = "rfq_vendors";
|
|
18
18
|
RFQ_INCLUDES["rfq_vendor_groups"] = "rfq_vendor_groups";
|
|
19
19
|
RFQ_INCLUDES["boms"] = "boms";
|
|
20
|
+
RFQ_INCLUDES["comparative"] = "comparative";
|
|
20
21
|
})(RFQ_INCLUDES || (exports.RFQ_INCLUDES = RFQ_INCLUDES = {}));
|
|
21
22
|
var RFQ_STATUS;
|
|
22
23
|
(function (RFQ_STATUS) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
2
2
|
import { INestedBOM } from "./bom.typings";
|
|
3
3
|
import { INestedCompany } from "./company.typings";
|
|
4
|
+
import { INestedComparative } from "./comparative.typings";
|
|
4
5
|
import { INestedDepartment } from "./department.typings";
|
|
5
6
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
6
7
|
import { INestedGate } from "./gate.typings";
|
|
@@ -77,8 +78,9 @@ export interface IUser {
|
|
|
77
78
|
last_updated_boms?: INestedBOM[] | null;
|
|
78
79
|
created_vendor_groups?: INestedVendorGroups[] | null;
|
|
79
80
|
last_updated_vendor_groups?: INestedVendorGroups[] | null;
|
|
81
|
+
comparatives_sent_for_approval?: INestedComparative[] | null;
|
|
80
82
|
}
|
|
81
|
-
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups"> {
|
|
83
|
+
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval"> {
|
|
82
84
|
}
|
|
83
85
|
export declare enum UserInclude {
|
|
84
86
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -107,5 +109,6 @@ export declare enum UserInclude {
|
|
|
107
109
|
last_updated_boms = "last_updated_boms",
|
|
108
110
|
created_vendor_groups = "created_vendor_groups",
|
|
109
111
|
last_updated_vendor_groups = "last_updated_vendor_groups",
|
|
110
|
-
active_role = "active_role"
|
|
112
|
+
active_role = "active_role",
|
|
113
|
+
comparatives_sent_for_approval = "comparatives_sent_for_approval"
|
|
111
114
|
}
|
|
@@ -31,4 +31,5 @@ var UserInclude;
|
|
|
31
31
|
UserInclude["created_vendor_groups"] = "created_vendor_groups";
|
|
32
32
|
UserInclude["last_updated_vendor_groups"] = "last_updated_vendor_groups";
|
|
33
33
|
UserInclude["active_role"] = "active_role";
|
|
34
|
+
UserInclude["comparatives_sent_for_approval"] = "comparatives_sent_for_approval";
|
|
34
35
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|