kcommons 5.16.7 → 5.16.9
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/typings/comparative.typings.d.ts +8 -4
- package/build/typings/comparative.typings.js +2 -0
- package/build/typings/po.typings.d.ts +4 -2
- package/build/typings/po.typings.js +1 -0
- package/build/typings/quote.typings.d.ts +10 -7
- package/build/typings/quote.typings.js +2 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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";
|
|
5
|
-
import { INestedQuote } from "./quote.typings";
|
|
4
|
+
import { INestedPo, INestedPOItem } from "./po.typings";
|
|
5
|
+
import { INestedQuote, INestedQuoteItems } from "./quote.typings";
|
|
6
6
|
import { INestedRFQ } from "./rfq.typings";
|
|
7
7
|
import { INestedUser } from "./user.typings";
|
|
8
8
|
export declare enum COMPARATIVE_STATUS {
|
|
@@ -51,7 +51,9 @@ 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",
|
|
56
|
+
quote_items = "quote_items"
|
|
55
57
|
}
|
|
56
58
|
export interface IComparativeItem {
|
|
57
59
|
id: string;
|
|
@@ -73,6 +75,8 @@ export interface IComparativeItem {
|
|
|
73
75
|
company: INestedCompany | null;
|
|
74
76
|
comparative: INestedComparative | null;
|
|
75
77
|
item: INestedItem | null;
|
|
78
|
+
po_items: INestedPOItem[] | null;
|
|
79
|
+
quote_items: INestedQuoteItems[] | null;
|
|
76
80
|
}
|
|
77
|
-
export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item"> {
|
|
81
|
+
export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items"> {
|
|
78
82
|
}
|
|
@@ -27,4 +27,6 @@ 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";
|
|
31
|
+
COMPARATIVE_ITEM_INCLUDE["quote_items"] = "quote_items";
|
|
30
32
|
})(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_id: 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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
|
-
import { INestedComparative } from "./comparative.typings";
|
|
2
|
+
import { INestedComparative, INestedComparativeItem } from "./comparative.typings";
|
|
3
3
|
import { ITaxRelatedItemInputs } from "./docItems.typings";
|
|
4
4
|
import { INestedDocumentTaxes } from "./documentTaxes.typings";
|
|
5
5
|
import { INestedItem } from "./item.typings";
|
|
@@ -29,10 +29,6 @@ export declare enum QUOTE_INCLUDES {
|
|
|
29
29
|
negotiations = "negotiations",
|
|
30
30
|
comparative = "comparative"
|
|
31
31
|
}
|
|
32
|
-
export declare enum QUOTE_ITEM_INCLUDES {
|
|
33
|
-
parent_quote = "parent_quote",
|
|
34
|
-
item = "item"
|
|
35
|
-
}
|
|
36
32
|
export interface IQuote {
|
|
37
33
|
id: string;
|
|
38
34
|
quote_type: QUOTE_TYPE;
|
|
@@ -66,16 +62,23 @@ export interface IQuote {
|
|
|
66
62
|
child_pos: INestedPo[] | null;
|
|
67
63
|
negotiations: INestedNegotiation[] | null;
|
|
68
64
|
}
|
|
69
|
-
export interface INestedQuote extends Omit<IQuote, "parent_rfq" | "vendor" | "shipping_store_location" | "contact_person" | "company" | "items" | "taxes" | "child_pos" | "negotiaitons"> {
|
|
65
|
+
export interface INestedQuote extends Omit<IQuote, "parent_rfq" | "vendor" | "shipping_store_location" | "contact_person" | "company" | "items" | "taxes" | "child_pos" | "negotiaitons" | "comparative"> {
|
|
66
|
+
}
|
|
67
|
+
export declare enum QUOTE_ITEM_INCLUDES {
|
|
68
|
+
parent_quote = "parent_quote",
|
|
69
|
+
item = "item",
|
|
70
|
+
referenced_comparative_item = "referenced_comparative_item"
|
|
70
71
|
}
|
|
71
72
|
export interface IQuoteItems extends ITaxRelatedItemInputs {
|
|
72
73
|
quote_id: string;
|
|
73
74
|
rfq_item_id?: string | null;
|
|
75
|
+
comparative_item_id?: string | null;
|
|
74
76
|
quote?: INestedQuote | null;
|
|
75
77
|
item?: INestedItem | null;
|
|
76
78
|
rfq_item?: INestedRFQItem | null;
|
|
79
|
+
referenced_comparative_item?: INestedComparativeItem | null;
|
|
77
80
|
}
|
|
78
|
-
export interface INestedQuoteItems extends Omit<IQuoteItems, "quote" | "item" | "rfq_item"> {
|
|
81
|
+
export interface INestedQuoteItems extends Omit<IQuoteItems, "quote" | "item" | "rfq_item" | "referenced_comparative_item"> {
|
|
79
82
|
}
|
|
80
83
|
export interface IQUOTE_TOKEN_PAYLOAD {
|
|
81
84
|
quote_id: string;
|
|
@@ -24,8 +24,10 @@ var QUOTE_INCLUDES;
|
|
|
24
24
|
QUOTE_INCLUDES["negotiations"] = "negotiations";
|
|
25
25
|
QUOTE_INCLUDES["comparative"] = "comparative";
|
|
26
26
|
})(QUOTE_INCLUDES || (exports.QUOTE_INCLUDES = QUOTE_INCLUDES = {}));
|
|
27
|
+
// Quote Items
|
|
27
28
|
var QUOTE_ITEM_INCLUDES;
|
|
28
29
|
(function (QUOTE_ITEM_INCLUDES) {
|
|
29
30
|
QUOTE_ITEM_INCLUDES["parent_quote"] = "parent_quote";
|
|
30
31
|
QUOTE_ITEM_INCLUDES["item"] = "item";
|
|
32
|
+
QUOTE_ITEM_INCLUDES["referenced_comparative_item"] = "referenced_comparative_item";
|
|
31
33
|
})(QUOTE_ITEM_INCLUDES || (exports.QUOTE_ITEM_INCLUDES = QUOTE_ITEM_INCLUDES = {}));
|