kcommons 18.0.5 → 18.0.7
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.
|
@@ -3,7 +3,7 @@ import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typi
|
|
|
3
3
|
import { INestedItem } from "./item.typings";
|
|
4
4
|
import { INestedPo, INestedPOItem } from "./company/masters/po.typings";
|
|
5
5
|
import { INestedQuote, INestedQuoteItems } from "./quote.typings";
|
|
6
|
-
import { INestedRFQ } from "./rfq.typings";
|
|
6
|
+
import { INestedRFQ, INestedRFQItem } from "./rfq.typings";
|
|
7
7
|
import { INestedUser } from "./user.typings";
|
|
8
8
|
import { INestedComparativeItemsQuantitySplit } from "./comparativeItemQUantitySplit.typings";
|
|
9
9
|
import { INestedComparativeEarlyAccessRequest } from "./comparativeEarlyAccessRequests.typings";
|
|
@@ -97,6 +97,8 @@ export interface IComparativeItem {
|
|
|
97
97
|
deleted_at: string | null;
|
|
98
98
|
created_at: string;
|
|
99
99
|
updated_at: string;
|
|
100
|
+
gst: number | null;
|
|
101
|
+
target_delivery_date: string | null;
|
|
100
102
|
company: INestedCompany | null;
|
|
101
103
|
comparative: INestedComparative | null;
|
|
102
104
|
item: INestedItem | null;
|
|
@@ -106,11 +108,21 @@ export interface IComparativeItem {
|
|
|
106
108
|
}
|
|
107
109
|
export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items" | "lowest_rate_quote"> {
|
|
108
110
|
}
|
|
111
|
+
export interface INestedEarlyAccessUserData {
|
|
112
|
+
id: string | null;
|
|
113
|
+
firstname: string | null;
|
|
114
|
+
lastname: string | null;
|
|
115
|
+
email: string | null;
|
|
116
|
+
contact: string | null;
|
|
117
|
+
employee_code: string | null;
|
|
118
|
+
}
|
|
109
119
|
export interface IComparativeMetafields {
|
|
110
120
|
items_data: INestedItem[] | null;
|
|
111
|
-
early_access_user_data:
|
|
121
|
+
early_access_user_data: INestedEarlyAccessUserData[] | null;
|
|
122
|
+
rfq_items_data: INestedRFQItem[] | null;
|
|
112
123
|
}
|
|
113
124
|
export declare enum COMPARATIVE_METAFIELDS_INCLUDE {
|
|
114
125
|
items_data = 0,
|
|
115
|
-
early_access_user_data = "early_access_user_data"
|
|
126
|
+
early_access_user_data = "early_access_user_data",
|
|
127
|
+
rfq_items_data = "rfq_items_data"
|
|
116
128
|
}
|
|
@@ -47,4 +47,5 @@ var 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
49
|
COMPARATIVE_METAFIELDS_INCLUDE["early_access_user_data"] = "early_access_user_data";
|
|
50
|
+
COMPARATIVE_METAFIELDS_INCLUDE["rfq_items_data"] = "rfq_items_data";
|
|
50
51
|
})(COMPARATIVE_METAFIELDS_INCLUDE || (exports.COMPARATIVE_METAFIELDS_INCLUDE = COMPARATIVE_METAFIELDS_INCLUDE = {}));
|
|
@@ -166,6 +166,8 @@ export interface IRFQItem {
|
|
|
166
166
|
target_delivery_date?: string | null;
|
|
167
167
|
target_price?: number | null;
|
|
168
168
|
gst?: number | null;
|
|
169
|
+
least_purchase_price?: number | null;
|
|
170
|
+
least_purchase_date?: string | null;
|
|
169
171
|
is_deleted: boolean;
|
|
170
172
|
deleted_at: string | null;
|
|
171
173
|
created_at?: string | null;
|
|
@@ -51,6 +51,7 @@ export interface IVendorQuoteItems {
|
|
|
51
51
|
attachment_link: string | null;
|
|
52
52
|
created_by_vendor_user_id: string;
|
|
53
53
|
last_updated_by_vendor_user_id: string;
|
|
54
|
+
target_delivery_date: string | null;
|
|
54
55
|
is_deleted: boolean;
|
|
55
56
|
deleted_at: string | null;
|
|
56
57
|
created_at: string;
|