kcommons 18.4.0 → 18.4.2
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/classes/asnWrapper.class.js +0 -1
- package/build/constants/statuses.constants.d.ts +1 -0
- package/build/constants/statuses.constants.js +1 -0
- package/build/typings/asn.typings.d.ts +0 -1
- package/build/typings/pr.typings.d.ts +1 -0
- package/build/typings/quote.typings.d.ts +5 -3
- package/build/typings/quote.typings.js +1 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export declare enum STATUSES {
|
|
|
13
13
|
PENDING = "PENDING",
|
|
14
14
|
QUOTED = "QUOTED",
|
|
15
15
|
CANCELLED = "CANCELLED",
|
|
16
|
+
EXPIRED = "EXPIRED",
|
|
16
17
|
/** @deprecated Use Accepted By Vendor instead. Ask to Backend devs before changing any existing code */
|
|
17
18
|
ACCEPTED = "ACCEPTED",
|
|
18
19
|
/** @description Used for when Vendor Accepts any document like PO which is sent by company */
|
|
@@ -17,6 +17,7 @@ var STATUSES;
|
|
|
17
17
|
STATUSES["PENDING"] = "PENDING";
|
|
18
18
|
STATUSES["QUOTED"] = "QUOTED";
|
|
19
19
|
STATUSES["CANCELLED"] = "CANCELLED";
|
|
20
|
+
STATUSES["EXPIRED"] = "EXPIRED";
|
|
20
21
|
/** @deprecated Use Accepted By Vendor instead. Ask to Backend devs before changing any existing code */
|
|
21
22
|
STATUSES["ACCEPTED"] = "ACCEPTED";
|
|
22
23
|
/** @description Used for when Vendor Accepts any document like PO which is sent by company */
|
|
@@ -286,7 +286,6 @@ export interface IASNItem {
|
|
|
286
286
|
vendor: INestedVendor | null;
|
|
287
287
|
used_in_grn_items: INestedGRNItem[] | null;
|
|
288
288
|
po_asn_item_junction: INestedPOASNItemJunction | null;
|
|
289
|
-
ewaybill: INestedEwaybill[] | null;
|
|
290
289
|
}
|
|
291
290
|
export interface INestedASNItem extends Omit<IASNItem, "company" | "item" | "parent_asn" | "vendor" | "parent_po_item" | "used_in_grn_items" | "po_asn_item_junction" | "ewaybill"> {
|
|
292
291
|
}
|
|
@@ -24,7 +24,8 @@ export declare enum QUOTE_TYPE {
|
|
|
24
24
|
}
|
|
25
25
|
export declare enum QUOTE_STATUS {
|
|
26
26
|
PENDING = "PENDING",
|
|
27
|
-
QUOTED = "QUOTED"
|
|
27
|
+
QUOTED = "QUOTED",
|
|
28
|
+
EXPIRED = "EXPIRED"
|
|
28
29
|
}
|
|
29
30
|
export declare enum QUOTING_METHOD_FOR_ITEMS {
|
|
30
31
|
ALTERNATE = "ALTERNATE",
|
|
@@ -68,7 +69,7 @@ export interface IQuoteMetaFields {
|
|
|
68
69
|
referenced_vendor_quote_items: INestedVendorQuoteItem[] | null;
|
|
69
70
|
referenced_vendor_items: INestedVendorItem[] | null;
|
|
70
71
|
custom_uoms: INestedCustomUOM[] | null;
|
|
71
|
-
rfq_items:
|
|
72
|
+
rfq_items: INestedRFQItem[] | null;
|
|
72
73
|
primary_quote_items: INestedQuoteItems[] | null;
|
|
73
74
|
/** @description Not intended for use in WebApp */
|
|
74
75
|
combined_data_for_quote_items: null;
|
|
@@ -146,7 +147,7 @@ export interface IQuoteItems extends ITaxRelatedItemInputs {
|
|
|
146
147
|
custom_uom: INestedCustomUOM | null;
|
|
147
148
|
target_delivery_date: string | null;
|
|
148
149
|
}
|
|
149
|
-
export interface INestedQuoteItems extends Omit<IQuoteItems, "quote" | "item" | "rfq_item" | "referenced_comparative_item" | "
|
|
150
|
+
export interface INestedQuoteItems extends Omit<IQuoteItems, "quote" | "item" | "rfq_item" | "referenced_comparative_item" | "referenced_in_comparaitve_item_quantity" | "custom_uom"> {
|
|
150
151
|
}
|
|
151
152
|
export interface IOPEN_QUOTE_TOKEN_PAYLOAD {
|
|
152
153
|
quote_id: string;
|
|
@@ -156,6 +157,7 @@ export interface IQuoteFilters {
|
|
|
156
157
|
company_id?: string;
|
|
157
158
|
name?: string;
|
|
158
159
|
item_id?: string;
|
|
160
|
+
status_array?: QUOTE_STATUS[];
|
|
159
161
|
show_calculations_in_company_uom?: boolean;
|
|
160
162
|
include?: QUOTE_INCLUDES[];
|
|
161
163
|
metafields_include?: QUOTE_META_INCLUDES[];
|
|
@@ -11,6 +11,7 @@ var QUOTE_STATUS;
|
|
|
11
11
|
(function (QUOTE_STATUS) {
|
|
12
12
|
QUOTE_STATUS["PENDING"] = "PENDING";
|
|
13
13
|
QUOTE_STATUS["QUOTED"] = "QUOTED";
|
|
14
|
+
QUOTE_STATUS["EXPIRED"] = "EXPIRED";
|
|
14
15
|
})(QUOTE_STATUS || (exports.QUOTE_STATUS = QUOTE_STATUS = {}));
|
|
15
16
|
var QUOTING_METHOD_FOR_ITEMS;
|
|
16
17
|
(function (QUOTING_METHOD_FOR_ITEMS) {
|