kcommons 18.4.0 → 18.4.1

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.
@@ -62,6 +62,5 @@ function convertPOItemToASNItem(poItem, vendor_id, poGRNItemJunction = []) {
62
62
  po_asn_item_junction: null,
63
63
  vendor: null,
64
64
  used_in_grn_items: null,
65
- ewaybill: null,
66
65
  });
67
66
  }
@@ -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
  }
@@ -56,6 +56,7 @@ export interface IPRFilters {
56
56
  status?: PR_STATUS;
57
57
  list_type?: PR_LIST_TYPE;
58
58
  status_array?: PR_STATUS[];
59
+ for_rfq?: boolean;
59
60
  purchase_location_id?: string;
60
61
  metafields_include?: PR_METAFIELDS_INCLUDE[];
61
62
  }
@@ -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: IRFQItemDataForQuote[] | null;
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;
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.4.0",
3
+ "version": "18.4.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",