kcommons 13.7.2 → 13.7.4
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.
|
@@ -29,7 +29,6 @@ export declare enum ITEM_STATUS {
|
|
|
29
29
|
REQUESTED = "REQUESTED"
|
|
30
30
|
}
|
|
31
31
|
export declare enum ITEM_INCLUDE {
|
|
32
|
-
approved_by = "approved_by",
|
|
33
32
|
item_category = "item_category",
|
|
34
33
|
item_subcategory = "item_subcategory",
|
|
35
34
|
company = "company",
|
|
@@ -87,7 +86,6 @@ export interface IItem {
|
|
|
87
86
|
name: string;
|
|
88
87
|
hsn_code?: string | null;
|
|
89
88
|
item_category_id?: string | null;
|
|
90
|
-
approved_by_id?: string | null;
|
|
91
89
|
sent_for_approval_by_id: string | null;
|
|
92
90
|
parent_item_management_body_id?: string | null;
|
|
93
91
|
item_subcategory_id?: string | null;
|
|
@@ -128,7 +126,6 @@ export interface IItem {
|
|
|
128
126
|
is_editable: boolean;
|
|
129
127
|
is_enabled: boolean;
|
|
130
128
|
is_deleted?: boolean | null;
|
|
131
|
-
is_approved?: boolean | null;
|
|
132
129
|
created_at: string;
|
|
133
130
|
updated_at: string;
|
|
134
131
|
deleted_at?: string | null;
|
|
@@ -137,7 +134,6 @@ export interface IItem {
|
|
|
137
134
|
approved_at?: string | null;
|
|
138
135
|
inventory_entries?: INestedInventoryItem | null;
|
|
139
136
|
created_by_user?: INestedUser | null;
|
|
140
|
-
approved_by?: INestedUser | null;
|
|
141
137
|
sent_for_approval_by?: INestedUser | null;
|
|
142
138
|
item_category?: INestedItemCategory | null;
|
|
143
139
|
item_subcategory?: INestedItemSubcategory | null;
|
|
@@ -165,7 +161,7 @@ export interface IItem {
|
|
|
165
161
|
parent_item_management_body: INestedItemManagementBody | null;
|
|
166
162
|
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
167
163
|
}
|
|
168
|
-
export interface INestedItem extends Omit<IItem, "inventory_entries" | "
|
|
164
|
+
export interface INestedItem extends Omit<IItem, "inventory_entries" | "item_category" | "item_subcategory" | "company" | "used_in_rfq_items" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "vendor_item_versions" | "used_in_istd_items" | "used_in_iads" | "used_in_inventory_logs" | "previous_purchase_po" | "least_purchase_po" | "parent_item_management_body" | "created_by_user" | "approval_chain"> {
|
|
169
165
|
}
|
|
170
166
|
export declare const ITEM_CLASSIFICATION: {
|
|
171
167
|
DIRECT: string;
|
|
@@ -10,7 +10,6 @@ var ITEM_STATUS;
|
|
|
10
10
|
})(ITEM_STATUS || (exports.ITEM_STATUS = ITEM_STATUS = {}));
|
|
11
11
|
var ITEM_INCLUDE;
|
|
12
12
|
(function (ITEM_INCLUDE) {
|
|
13
|
-
ITEM_INCLUDE["approved_by"] = "approved_by";
|
|
14
13
|
ITEM_INCLUDE["item_category"] = "item_category";
|
|
15
14
|
ITEM_INCLUDE["item_subcategory"] = "item_subcategory";
|
|
16
15
|
ITEM_INCLUDE["company"] = "company";
|
|
@@ -76,7 +76,6 @@ export interface IUser {
|
|
|
76
76
|
head_for_departments?: null | INestedDepartment[];
|
|
77
77
|
created_item_subcategories: null | INestedItemSubcategory[];
|
|
78
78
|
last_updated_item_subcategories: INestedItemSubcategory[] | null;
|
|
79
|
-
approved_items?: null | INestedItem[];
|
|
80
79
|
created_items: INestedItem[] | null;
|
|
81
80
|
items_sent_for_approval: INestedItem[] | null;
|
|
82
81
|
approval_chains?: null | INestedApprovalChainEntry[];
|
|
@@ -159,7 +158,7 @@ export interface IUser {
|
|
|
159
158
|
last_updated_item_management_bodies: INestedItemManagementBody[] | null;
|
|
160
159
|
as_head_of_item_management_bodies: INestedItemManagementBody[] | null;
|
|
161
160
|
}
|
|
162
|
-
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "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" | "
|
|
161
|
+
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "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" | "approval_chains" | "created_indents" | "indents_created_for_user" | "created_mis" | "mis_issued_for_user" | "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_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" | "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" | "items_last_updated_by_user" | "company_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" | "logs" | "vendor_onboarding_requests_created_by_user" | "vendor_onboarding_requests_last_updated" | "vendor_onboarding_requests_sent_for_approval" | "invitation_sent_for_vendor_onboarding_requests" | "created_vendor_management_bodies" | "last_updated_vendor_management_bodies" | "head_of_vendor_management_bodies" | "cancelled_vendor_onboarding_requests" | "company_vendor_created_by_user" | "company_vendors_last_updated_by_user" | "sent_for_approval_company_vendors" | "sent_questions_to_company_vendors" | "cancelled_company_vendors" | "created_vendor_onboarding_request_categories" | "last_updated_vendor_onboarding_request_categories" | "created_item_management_bodies" | "last_updated_item_management_bodies" | "as_head_of_item_management_bodies" | "created_items" | "items_sent_for_approval"> {
|
|
163
162
|
}
|
|
164
163
|
export declare enum UserInclude {
|
|
165
164
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -174,7 +173,6 @@ export declare enum UserInclude {
|
|
|
174
173
|
head_for_departments = "head_for_departments",
|
|
175
174
|
created_item_subcategories = "created_item_subcategories",
|
|
176
175
|
last_updated_item_subcategories = "last_updated_item_subcategories",
|
|
177
|
-
approved_items = "approved_items",
|
|
178
176
|
approval_chains = "approval_chains",
|
|
179
177
|
assigned_roles = "assigned_roles",
|
|
180
178
|
negotiations = "negotiations",
|
|
@@ -16,7 +16,6 @@ var UserInclude;
|
|
|
16
16
|
UserInclude["head_for_departments"] = "head_for_departments";
|
|
17
17
|
UserInclude["created_item_subcategories"] = "created_item_subcategories";
|
|
18
18
|
UserInclude["last_updated_item_subcategories"] = "last_updated_item_subcategories";
|
|
19
|
-
UserInclude["approved_items"] = "approved_items";
|
|
20
19
|
UserInclude["approval_chains"] = "approval_chains";
|
|
21
20
|
UserInclude["assigned_roles"] = "assigned_roles";
|
|
22
21
|
UserInclude["negotiations"] = "negotiations";
|