kcommons 6.4.35 → 6.4.37

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.
@@ -54,7 +54,8 @@ export declare enum COMPARATIVE_ITEM_INCLUDE {
54
54
  comparative = "comparative",
55
55
  item = "item",
56
56
  po_items = "po_items",
57
- quote_items = "quote_items"
57
+ quote_items = "quote_items",
58
+ lowest_rate_quote = "lowest_rate_quote"
58
59
  }
59
60
  export interface IComparativeItem {
60
61
  id: string;
@@ -71,6 +72,8 @@ export interface IComparativeItem {
71
72
  item_description: string | null;
72
73
  remarks: string | null;
73
74
  attachment_link: string | null;
75
+ lowest_rate: number | null;
76
+ lowest_rate_quote_id: string | null;
74
77
  is_deleted: boolean;
75
78
  deleted_at: string | null;
76
79
  created_at: string;
@@ -80,6 +83,7 @@ export interface IComparativeItem {
80
83
  item: INestedItem | null;
81
84
  po_items: INestedPOItem[] | null;
82
85
  quote_items: INestedQuoteItems[] | null;
86
+ lowest_rate_quote: INestedQuote | null;
83
87
  }
84
- export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items"> {
88
+ export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items" | "lowest_rate_quote"> {
85
89
  }
@@ -30,4 +30,5 @@ var COMPARATIVE_ITEM_INCLUDE;
30
30
  COMPARATIVE_ITEM_INCLUDE["item"] = "item";
31
31
  COMPARATIVE_ITEM_INCLUDE["po_items"] = "po_items";
32
32
  COMPARATIVE_ITEM_INCLUDE["quote_items"] = "quote_items";
33
+ COMPARATIVE_ITEM_INCLUDE["lowest_rate_quote"] = "lowest_rate_quote";
33
34
  })(COMPARATIVE_ITEM_INCLUDE || (exports.COMPARATIVE_ITEM_INCLUDE = COMPARATIVE_ITEM_INCLUDE = {}));
@@ -30,7 +30,8 @@ export declare enum QUOTE_INCLUDES {
30
30
  items = "items",
31
31
  child_pos = "child_pos",
32
32
  negotiations = "negotiations",
33
- comparative = "comparative"
33
+ comparative = "comparative",
34
+ lowest_rate_for_comparative_items = "lowest_rate_for_comparative_items"
34
35
  }
35
36
  export interface IQuoteMetaFields {
36
37
  rank?: number | null;
@@ -70,14 +71,16 @@ export interface IQuote {
70
71
  taxes: INestedDocumentTaxes[] | null;
71
72
  child_pos: INestedPo[] | null;
72
73
  negotiations: INestedNegotiation[] | null;
74
+ lowest_rate_for_comparative_item: INestedComparativeItem[] | null;
73
75
  meta_fields?: IQuoteMetaFields | null;
74
76
  }
75
- export interface INestedQuote extends Omit<IQuote, "parent_rfq" | "vendor" | "shipping_store_location" | "contact_person" | "company" | "items" | "taxes" | "child_pos" | "negotiaitons" | "comparative"> {
77
+ export interface INestedQuote extends Omit<IQuote, "parent_rfq" | "vendor" | "shipping_store_location" | "contact_person" | "company" | "items" | "taxes" | "child_pos" | "negotiaitons" | "comparative" | "lowest_rate_for_comparative_item"> {
76
78
  }
77
79
  export declare enum QUOTE_ITEM_INCLUDES {
78
80
  parent_quote = "parent_quote",
79
81
  item = "item",
80
- referenced_comparative_item = "referenced_comparative_item"
82
+ referenced_comparative_item = "referenced_comparative_item",
83
+ lowest_rate_for_comparative_item = "lowest_rate_for_comparative_item"
81
84
  }
82
85
  export interface IQuoteItems extends ITaxRelatedItemInputs {
83
86
  quote_id: string;
@@ -27,6 +27,7 @@ var QUOTE_INCLUDES;
27
27
  QUOTE_INCLUDES["child_pos"] = "child_pos";
28
28
  QUOTE_INCLUDES["negotiations"] = "negotiations";
29
29
  QUOTE_INCLUDES["comparative"] = "comparative";
30
+ QUOTE_INCLUDES["lowest_rate_for_comparative_items"] = "lowest_rate_for_comparative_items";
30
31
  })(QUOTE_INCLUDES || (exports.QUOTE_INCLUDES = QUOTE_INCLUDES = {}));
31
32
  // Quote Items
32
33
  var QUOTE_ITEM_INCLUDES;
@@ -34,4 +35,5 @@ var QUOTE_ITEM_INCLUDES;
34
35
  QUOTE_ITEM_INCLUDES["parent_quote"] = "parent_quote";
35
36
  QUOTE_ITEM_INCLUDES["item"] = "item";
36
37
  QUOTE_ITEM_INCLUDES["referenced_comparative_item"] = "referenced_comparative_item";
38
+ QUOTE_ITEM_INCLUDES["lowest_rate_for_comparative_item"] = "lowest_rate_for_comparative_item";
37
39
  })(QUOTE_ITEM_INCLUDES || (exports.QUOTE_ITEM_INCLUDES = QUOTE_ITEM_INCLUDES = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "6.4.35",
3
+ "version": "6.4.37",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",