kcommons 5.16.7 → 5.16.8

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.
@@ -1,7 +1,7 @@
1
1
  import { INestedCompany } from "./company.typings";
2
2
  import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
3
3
  import { INestedItem } from "./item.typings";
4
- import { INestedPo } from "./po.typings";
4
+ import { INestedPo, INestedPOItem } from "./po.typings";
5
5
  import { INestedQuote } from "./quote.typings";
6
6
  import { INestedRFQ } from "./rfq.typings";
7
7
  import { INestedUser } from "./user.typings";
@@ -51,7 +51,8 @@ export interface IComparativeFilters {
51
51
  export declare enum COMPARATIVE_ITEM_INCLUDE {
52
52
  company = "company",
53
53
  comparative = "comparative",
54
- item = "item"
54
+ item = "item",
55
+ po_items = "po_items"
55
56
  }
56
57
  export interface IComparativeItem {
57
58
  id: string;
@@ -73,6 +74,7 @@ export interface IComparativeItem {
73
74
  company: INestedCompany | null;
74
75
  comparative: INestedComparative | null;
75
76
  item: INestedItem | null;
77
+ po_items: INestedPOItem[] | null;
76
78
  }
77
- export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item"> {
79
+ export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items"> {
78
80
  }
@@ -27,4 +27,5 @@ var COMPARATIVE_ITEM_INCLUDE;
27
27
  COMPARATIVE_ITEM_INCLUDE["company"] = "company";
28
28
  COMPARATIVE_ITEM_INCLUDE["comparative"] = "comparative";
29
29
  COMPARATIVE_ITEM_INCLUDE["item"] = "item";
30
+ COMPARATIVE_ITEM_INCLUDE["po_items"] = "po_items";
30
31
  })(COMPARATIVE_ITEM_INCLUDE || (exports.COMPARATIVE_ITEM_INCLUDE = COMPARATIVE_ITEM_INCLUDE = {}));
@@ -94,19 +94,21 @@ export interface IPOItem extends ITaxRelatedItemInputs {
94
94
  type: string;
95
95
  parent_po_id: string | null;
96
96
  parent_po_bom_id: string | null;
97
+ referenced_comparative_item: string | null;
97
98
  parent_po_bom_code: string | null;
98
99
  company: INestedCompany | null;
99
100
  item: INestedItem | null;
100
101
  parent_po: INestedPo | null;
101
102
  parent_po_bom: INestedPOBom | null;
102
103
  }
103
- export interface INestedPOItem extends Omit<IPOItem, "company" | "item" | "parent_po" | "parent_po_bom"> {
104
+ export interface INestedPOItem extends Omit<IPOItem, "company" | "item" | "parent_po" | "parent_po_bom" | "referenced_comparative_item"> {
104
105
  }
105
106
  export declare enum PO_ITEM_INCLUDE {
106
107
  company = "company",
107
108
  item = "item",
108
109
  parent_po = "parent_po",
109
- parent_po_bom = "parent_po_bom"
110
+ parent_po_bom = "parent_po_bom",
111
+ referenced_comparative_item = "referenced_comparative_item"
110
112
  }
111
113
  export declare enum PO_BOM_INCLUDE {
112
114
  parent_po = "parent_po",
@@ -48,6 +48,7 @@ var PO_ITEM_INCLUDE;
48
48
  PO_ITEM_INCLUDE["item"] = "item";
49
49
  PO_ITEM_INCLUDE["parent_po"] = "parent_po";
50
50
  PO_ITEM_INCLUDE["parent_po_bom"] = "parent_po_bom";
51
+ PO_ITEM_INCLUDE["referenced_comparative_item"] = "referenced_comparative_item";
51
52
  })(PO_ITEM_INCLUDE || (exports.PO_ITEM_INCLUDE = PO_ITEM_INCLUDE = {}));
52
53
  // PO Bom
53
54
  var PO_BOM_INCLUDE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.16.7",
3
+ "version": "5.16.8",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",