kcommons 6.2.25 → 6.2.27
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.
|
@@ -6,4 +6,5 @@ var FORM_SUBMISSION_TYPES;
|
|
|
6
6
|
FORM_SUBMISSION_TYPES["CREATE"] = "CREATE";
|
|
7
7
|
FORM_SUBMISSION_TYPES["EDIT"] = "EDIT";
|
|
8
8
|
FORM_SUBMISSION_TYPES["REMOVE"] = "REMOVE";
|
|
9
|
+
FORM_SUBMISSION_TYPES["CLONE"] = "CLONE";
|
|
9
10
|
})(FORM_SUBMISSION_TYPES || (exports.FORM_SUBMISSION_TYPES = FORM_SUBMISSION_TYPES = {}));
|
|
@@ -39,16 +39,16 @@ export interface IItem {
|
|
|
39
39
|
item_type: string;
|
|
40
40
|
company_id: string;
|
|
41
41
|
name: string;
|
|
42
|
-
hsn_code
|
|
43
|
-
item_category_id
|
|
44
|
-
approved_by_id
|
|
45
|
-
item_subcategory_id
|
|
46
|
-
item_classification
|
|
42
|
+
hsn_code: string | null;
|
|
43
|
+
item_category_id: string | null;
|
|
44
|
+
approved_by_id: string | null;
|
|
45
|
+
item_subcategory_id: string | null;
|
|
46
|
+
item_classification: string | null;
|
|
47
47
|
item_tax_preference: string;
|
|
48
48
|
code_sku: string;
|
|
49
49
|
uom: string;
|
|
50
50
|
tolerence: string | null;
|
|
51
|
-
gst_percent
|
|
51
|
+
gst_percent: number | null;
|
|
52
52
|
attachment_link: string | null;
|
|
53
53
|
least_purchase_price: number | null;
|
|
54
54
|
least_purchase_company_vendor_id: string | null;
|
|
@@ -57,33 +57,33 @@ export interface IItem {
|
|
|
57
57
|
previous_purchase_company_vendor_id: string | null;
|
|
58
58
|
previous_purchase_date: string | null;
|
|
59
59
|
item_description: string | null;
|
|
60
|
-
item_image
|
|
61
|
-
sac_code
|
|
62
|
-
brand
|
|
60
|
+
item_image: string | null;
|
|
61
|
+
sac_code: string | null;
|
|
62
|
+
brand: string | null;
|
|
63
63
|
is_enabled: boolean;
|
|
64
|
-
is_deleted
|
|
65
|
-
is_approved
|
|
64
|
+
is_deleted: boolean | null;
|
|
65
|
+
is_approved: boolean | null;
|
|
66
66
|
created_at: string;
|
|
67
67
|
updated_at: string;
|
|
68
|
-
deleted_at
|
|
69
|
-
approved_at
|
|
70
|
-
inventory_entries
|
|
71
|
-
approved_by
|
|
72
|
-
item_category
|
|
73
|
-
item_subcategory
|
|
74
|
-
company
|
|
75
|
-
used_in_indent_items
|
|
76
|
-
used_in_mi_items
|
|
77
|
-
used_in_pr_items
|
|
78
|
-
used_in_quote_items
|
|
79
|
-
used_in_grn_items
|
|
80
|
-
used_in_mrn_items
|
|
81
|
-
used_in_bom_items
|
|
82
|
-
used_in_comparative_items
|
|
83
|
-
previous_purchase_vendor
|
|
84
|
-
least_purchase_vendor
|
|
85
|
-
dealing_company_vendors
|
|
86
|
-
used_in_po_asn_item_junction
|
|
68
|
+
deleted_at: string | null;
|
|
69
|
+
approved_at: string | null;
|
|
70
|
+
inventory_entries: INestedInventoryItem[] | null;
|
|
71
|
+
approved_by: INestedUser | null;
|
|
72
|
+
item_category: INestedItemCategory | null;
|
|
73
|
+
item_subcategory: INestedItemSubcategory | null;
|
|
74
|
+
company: INestedCompany | null;
|
|
75
|
+
used_in_indent_items: INestedIndentItem[] | null;
|
|
76
|
+
used_in_mi_items: INestedMIItem[] | null;
|
|
77
|
+
used_in_pr_items: INestedPrItem[] | null;
|
|
78
|
+
used_in_quote_items: INestedQuoteItems[] | null;
|
|
79
|
+
used_in_grn_items: INestedGRNItem[] | null;
|
|
80
|
+
used_in_mrn_items: INestedMRNItem[] | null;
|
|
81
|
+
used_in_bom_items: INestedBOMItem[] | null;
|
|
82
|
+
used_in_comparative_items: INestedComparativeItem[] | null;
|
|
83
|
+
previous_purchase_vendor: INestedCompanyVendors | null;
|
|
84
|
+
least_purchase_vendor: INestedCompanyVendors | null;
|
|
85
|
+
dealing_company_vendors: INestedCompanyVendors[] | null;
|
|
86
|
+
used_in_po_asn_item_junction: INestedPOASNItemJunction[] | null;
|
|
87
87
|
}
|
|
88
88
|
export interface INestedItem extends Omit<IItem, "inventory_entries" | "approved_by" | "item_category" | "item_subcategory" | "company" | "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"> {
|
|
89
89
|
}
|