kcommons 18.0.4 → 18.0.6
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.
|
@@ -106,9 +106,19 @@ export interface IComparativeItem {
|
|
|
106
106
|
}
|
|
107
107
|
export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items" | "lowest_rate_quote"> {
|
|
108
108
|
}
|
|
109
|
+
export interface INestedEarlyAccessUserData {
|
|
110
|
+
id: string | null;
|
|
111
|
+
firstname: string | null;
|
|
112
|
+
lastname: string | null;
|
|
113
|
+
email: string | null;
|
|
114
|
+
contact: string | null;
|
|
115
|
+
employee_code: string | null;
|
|
116
|
+
}
|
|
109
117
|
export interface IComparativeMetafields {
|
|
110
118
|
items_data: INestedItem[] | null;
|
|
119
|
+
early_access_user_data: INestedEarlyAccessUserData[] | null;
|
|
111
120
|
}
|
|
112
121
|
export declare enum COMPARATIVE_METAFIELDS_INCLUDE {
|
|
113
|
-
items_data = 0
|
|
122
|
+
items_data = 0,
|
|
123
|
+
early_access_user_data = "early_access_user_data"
|
|
114
124
|
}
|
|
@@ -46,4 +46,5 @@ var COMPARATIVE_METAFIELDS_INCLUDE;
|
|
|
46
46
|
(function (COMPARATIVE_METAFIELDS_INCLUDE) {
|
|
47
47
|
COMPARATIVE_METAFIELDS_INCLUDE[COMPARATIVE_METAFIELDS_INCLUDE["items_data"] = 0] = "items_data";
|
|
48
48
|
// quotes_data_for_comparative = "quotes_data_for_comparative",
|
|
49
|
+
COMPARATIVE_METAFIELDS_INCLUDE["early_access_user_data"] = "early_access_user_data";
|
|
49
50
|
})(COMPARATIVE_METAFIELDS_INCLUDE || (exports.COMPARATIVE_METAFIELDS_INCLUDE = COMPARATIVE_METAFIELDS_INCLUDE = {}));
|
|
@@ -37,7 +37,7 @@ export interface IVendorQuoteItems {
|
|
|
37
37
|
method_used_for_quoting: VENDOR_QUOTE_ITEM_METHOD;
|
|
38
38
|
alternate_item_type_for_vendor: ALTERNATE_VENDOR_QUOTE_ITEM_TYPE | null;
|
|
39
39
|
alternate_item_type_for_company: ALTERNATE_VENDOR_QUOTE_ITEM_TYPE | null;
|
|
40
|
-
gst: number;
|
|
40
|
+
gst: number | null;
|
|
41
41
|
uom: string;
|
|
42
42
|
total: number;
|
|
43
43
|
per_unit_rate: number;
|