kcommons 9.32.2 → 9.32.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.
- package/build/typings/bom.typings.d.ts +1 -0
- package/build/typings/grn.typings.d.ts +7 -2
- package/build/typings/grn.typings.js +3 -1
- package/build/typings/po.typings.d.ts +4 -1
- package/build/typings/po.typings.js +1 -0
- package/build/typings/user.typings.d.ts +7 -1
- package/build/typings/user.typings.js +3 -0
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export declare enum GRN_PARENT_DOC_TYPE {
|
|
|
19
19
|
}
|
|
20
20
|
export declare enum GRN_INCLUDE {
|
|
21
21
|
company = "company",
|
|
22
|
+
created_by_user = "created_by_user",
|
|
23
|
+
last_updated_by_user = "last_updated_by_user",
|
|
22
24
|
shipping_store_location = "shipping_store_location",
|
|
23
25
|
department = "department",
|
|
24
26
|
parent_asn = "parent_asn",
|
|
@@ -59,6 +61,7 @@ export interface IGRN {
|
|
|
59
61
|
parent_asn_id?: string | null;
|
|
60
62
|
shipping_store_location_id: string;
|
|
61
63
|
created_by_id: string;
|
|
64
|
+
last_updated_by_user_id: string;
|
|
62
65
|
company_id: string;
|
|
63
66
|
status: GRN_STATUS;
|
|
64
67
|
department_id: string | null;
|
|
@@ -70,6 +73,8 @@ export interface IGRN {
|
|
|
70
73
|
created_at: string;
|
|
71
74
|
updated_at: string;
|
|
72
75
|
company?: INestedCompany | null;
|
|
76
|
+
created_by_user: INestedUser | null;
|
|
77
|
+
last_updated_by_user: INestedUser | null;
|
|
73
78
|
shipping_store_location?: INestedStoreLocation | null;
|
|
74
79
|
department?: INestedDepartment | null;
|
|
75
80
|
parent_asn?: INestedASN | null;
|
|
@@ -81,12 +86,12 @@ export interface IGRN {
|
|
|
81
86
|
sent_to_store_by?: INestedUser | null;
|
|
82
87
|
parent_istd: INestedISTD | null;
|
|
83
88
|
}
|
|
84
|
-
export interface INestedGRN extends Omit<IGRN, "company" | "shipping_store_location" | "department" | "parent_asn" | "contact_person" | "items" | "approval_chain" | "sent_for_approval_by" | "sent_to_store_by" | "child_mrns" | "parent_istd"> {
|
|
89
|
+
export interface INestedGRN extends Omit<IGRN, "company" | "created_by_user" | "last_updated_by_user" | "shipping_store_location" | "department" | "parent_asn" | "contact_person" | "items" | "approval_chain" | "sent_for_approval_by" | "sent_to_store_by" | "child_mrns" | "parent_istd"> {
|
|
85
90
|
}
|
|
86
91
|
export declare enum GRN_ITEM_INCLUDE {
|
|
87
92
|
company = "company",
|
|
88
|
-
parent_grn = "parent_grn",
|
|
89
93
|
item = "item",
|
|
94
|
+
parent_grn = "parent_grn",
|
|
90
95
|
parent_asn_item = "parent_asn_item",
|
|
91
96
|
referenced_in_mrn_items = "referenced_in_mrn_items",
|
|
92
97
|
parent_istd_item = "parent_istd_item"
|
|
@@ -14,6 +14,8 @@ var GRN_PARENT_DOC_TYPE;
|
|
|
14
14
|
var GRN_INCLUDE;
|
|
15
15
|
(function (GRN_INCLUDE) {
|
|
16
16
|
GRN_INCLUDE["company"] = "company";
|
|
17
|
+
GRN_INCLUDE["created_by_user"] = "created_by_user";
|
|
18
|
+
GRN_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
17
19
|
GRN_INCLUDE["shipping_store_location"] = "shipping_store_location";
|
|
18
20
|
GRN_INCLUDE["department"] = "department";
|
|
19
21
|
GRN_INCLUDE["parent_asn"] = "parent_asn";
|
|
@@ -38,8 +40,8 @@ var GRN_STATUS;
|
|
|
38
40
|
var GRN_ITEM_INCLUDE;
|
|
39
41
|
(function (GRN_ITEM_INCLUDE) {
|
|
40
42
|
GRN_ITEM_INCLUDE["company"] = "company";
|
|
41
|
-
GRN_ITEM_INCLUDE["parent_grn"] = "parent_grn";
|
|
42
43
|
GRN_ITEM_INCLUDE["item"] = "item";
|
|
44
|
+
GRN_ITEM_INCLUDE["parent_grn"] = "parent_grn";
|
|
43
45
|
GRN_ITEM_INCLUDE["parent_asn_item"] = "parent_asn_item";
|
|
44
46
|
GRN_ITEM_INCLUDE["referenced_in_mrn_items"] = "referenced_in_mrn_items";
|
|
45
47
|
GRN_ITEM_INCLUDE["parent_istd_item"] = "parent_istd_item";
|
|
@@ -60,6 +60,7 @@ export interface IPurchaseOrder {
|
|
|
60
60
|
shipping_store_location_id: string;
|
|
61
61
|
purchase_location_id: string;
|
|
62
62
|
created_by_user_id: string;
|
|
63
|
+
last_updated_by_user_id: string;
|
|
63
64
|
company_vendor_id: string;
|
|
64
65
|
vendor_id: string | null;
|
|
65
66
|
contact_person_type: CONTACT_PERSON_TYPE;
|
|
@@ -90,6 +91,7 @@ export interface IPurchaseOrder {
|
|
|
90
91
|
purchase_location: INestedPurchaseLocation | null;
|
|
91
92
|
shipping_store_location: INestedStoreLocation | null;
|
|
92
93
|
created_by_user: INestedUser | null;
|
|
94
|
+
last_updated_by_user: INestedUser | null;
|
|
93
95
|
company_vendor: INestedCompanyVendors | null;
|
|
94
96
|
contact_person: INestedUser | null;
|
|
95
97
|
external_contact_person: INestedContactPeople | null;
|
|
@@ -106,12 +108,13 @@ export interface IPurchaseOrder {
|
|
|
106
108
|
least_purchase_price_items: INestedItem[] | null;
|
|
107
109
|
previous_purchase_price_items: INestedItem[] | null;
|
|
108
110
|
}
|
|
109
|
-
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "po_asn_items_junctions" | "least_purchase_price_items" | "previous_purchase_price_items"> {
|
|
111
|
+
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "last_updated_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "po_asn_items_junctions" | "least_purchase_price_items" | "previous_purchase_price_items"> {
|
|
110
112
|
}
|
|
111
113
|
export declare enum PO_INCLUDE {
|
|
112
114
|
company = "company",
|
|
113
115
|
shipping_store_location = "shipping_store_location",
|
|
114
116
|
created_by_user = "created_by_user",
|
|
117
|
+
last_updated_by_user = "last_updated_by_user",
|
|
115
118
|
company_vendor = "company_vendor",
|
|
116
119
|
contact_person = "contact_person",
|
|
117
120
|
external_contact_person = "external_contact_person",
|
|
@@ -35,6 +35,7 @@ var PO_INCLUDE;
|
|
|
35
35
|
PO_INCLUDE["company"] = "company";
|
|
36
36
|
PO_INCLUDE["shipping_store_location"] = "shipping_store_location";
|
|
37
37
|
PO_INCLUDE["created_by_user"] = "created_by_user";
|
|
38
|
+
PO_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
38
39
|
PO_INCLUDE["company_vendor"] = "company_vendor";
|
|
39
40
|
// vendor = "vendor",
|
|
40
41
|
PO_INCLUDE["contact_person"] = "contact_person";
|
|
@@ -91,9 +91,12 @@ export interface IUser {
|
|
|
91
91
|
assigned_roles?: null | INestedRole[];
|
|
92
92
|
negotiations?: null | INestedNegotiation[];
|
|
93
93
|
created_pos?: null | INestedPo[];
|
|
94
|
+
last_updated_pos?: null | INestedPo[];
|
|
94
95
|
as_contact_person_for_pos?: null | INestedPo[];
|
|
95
96
|
pos_sent_for_approval?: null | INestedPo[];
|
|
96
97
|
pos_sent_to_vendors?: null | INestedPo[];
|
|
98
|
+
created_grns: INestedGRN[] | null;
|
|
99
|
+
last_updated_grns: INestedGRN[] | null;
|
|
97
100
|
grns_sent_for_approval?: INestedGRN[] | null;
|
|
98
101
|
grns_sent_to_store?: INestedGRN[] | null;
|
|
99
102
|
as_contact_person_for_mrns?: null | INestedMRN[];
|
|
@@ -137,7 +140,7 @@ export interface IUser {
|
|
|
137
140
|
iads_terminated_by_user: INestedIAD[] | null;
|
|
138
141
|
initiated_inventory_logs: INestedInventoryLog[] | null;
|
|
139
142
|
}
|
|
140
|
-
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "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" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "mis_sent_for_approval" | "mis_issued" | "mis_last_updated" | "created_prs" | "pr_sent_for_approval" | "pr_sent_to_purchase_location" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "as_contact_person_for_asns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs"> {
|
|
143
|
+
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "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" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "mis_sent_for_approval" | "mis_issued" | "mis_last_updated" | "created_prs" | "pr_sent_for_approval" | "pr_sent_to_purchase_location" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "last_updated_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "created_grns" | "last_updated_grns" | "as_contact_person_for_asns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs"> {
|
|
141
144
|
}
|
|
142
145
|
export declare enum UserInclude {
|
|
143
146
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -161,12 +164,15 @@ export declare enum UserInclude {
|
|
|
161
164
|
mis_issued = "mis_issued",
|
|
162
165
|
mis_last_updated = "mis_last_updated",
|
|
163
166
|
created_pos = "created_pos",
|
|
167
|
+
last_updated_pos = "last_updated_pos",
|
|
164
168
|
pr_sent_for_approval = "pr_sent_for_approval",
|
|
165
169
|
pr_sent_to_purchase_location = "pr_sent_to_purchase_location",
|
|
166
170
|
last_updated_prs = "last_updated_prs",
|
|
167
171
|
as_contact_person_for_pos = "as_contact_person_for_pos",
|
|
168
172
|
pos_sent_for_approval = "pos_sent_for_approval",
|
|
169
173
|
pos_sent_to_vendors = "pos_sent_to_vendors",
|
|
174
|
+
created_grns = "created_grns",
|
|
175
|
+
last_updated_grns = "lalst_updated_grns",
|
|
170
176
|
grns_sent_for_approval = "grns_sent_for_approval",
|
|
171
177
|
grns_sent_to_store = "grns_sent_to_store",
|
|
172
178
|
mrns_sent_for_approval = "mrns_sent_for_approval",
|
|
@@ -25,12 +25,15 @@ var UserInclude;
|
|
|
25
25
|
UserInclude["mis_issued"] = "mis_issued";
|
|
26
26
|
UserInclude["mis_last_updated"] = "mis_last_updated";
|
|
27
27
|
UserInclude["created_pos"] = "created_pos";
|
|
28
|
+
UserInclude["last_updated_pos"] = "last_updated_pos";
|
|
28
29
|
UserInclude["pr_sent_for_approval"] = "pr_sent_for_approval";
|
|
29
30
|
UserInclude["pr_sent_to_purchase_location"] = "pr_sent_to_purchase_location";
|
|
30
31
|
UserInclude["last_updated_prs"] = "last_updated_prs";
|
|
31
32
|
UserInclude["as_contact_person_for_pos"] = "as_contact_person_for_pos";
|
|
32
33
|
UserInclude["pos_sent_for_approval"] = "pos_sent_for_approval";
|
|
33
34
|
UserInclude["pos_sent_to_vendors"] = "pos_sent_to_vendors";
|
|
35
|
+
UserInclude["created_grns"] = "created_grns";
|
|
36
|
+
UserInclude["last_updated_grns"] = "lalst_updated_grns";
|
|
34
37
|
UserInclude["grns_sent_for_approval"] = "grns_sent_for_approval";
|
|
35
38
|
UserInclude["grns_sent_to_store"] = "grns_sent_to_store";
|
|
36
39
|
UserInclude["mrns_sent_for_approval"] = "mrns_sent_for_approval";
|