kcommons 5.11.4 → 5.11.5

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,6 +1,7 @@
1
1
  import { IPaginationFilters } from "./common/paginationFilters.typings";
2
2
  import { INestedCompany } from "./company.typings";
3
3
  import { INestedItem } from "./item.typings";
4
+ import { INestedRFQItem } from "./rfq.typings";
4
5
  import { INestedUser } from "./user.typings";
5
6
  export interface IBOMFilters {
6
7
  company_id?: string;
@@ -14,7 +15,8 @@ export declare enum BOM_INCLUDE {
14
15
  company = "company",
15
16
  created_by_user = "created_by_user",
16
17
  last_updated_by_user = "last_updated_by_user",
17
- items = "items"
18
+ items = "items",
19
+ rfq_items = "rfq_items"
18
20
  }
19
21
  export interface IBOM {
20
22
  id: string;
@@ -33,8 +35,9 @@ export interface IBOM {
33
35
  created_by_user: INestedUser | null;
34
36
  last_updated_by_user: INestedUser | null;
35
37
  items: INestedBOMItem[] | null;
38
+ rfq_items: INestedRFQItem[] | null;
36
39
  }
37
- export interface INestedBOM extends Omit<IBOM, "company" | "created_by_user" | "last_updated_by_user" | "items"> {
40
+ export interface INestedBOM extends Omit<IBOM, "company" | "created_by_user" | "last_updated_by_user" | "items" | "rfq_items"> {
38
41
  }
39
42
  export declare enum BOM_ITEM_INCLUDE {
40
43
  company = "company",
@@ -7,6 +7,7 @@ var BOM_INCLUDE;
7
7
  BOM_INCLUDE["created_by_user"] = "created_by_user";
8
8
  BOM_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
9
9
  BOM_INCLUDE["items"] = "items";
10
+ BOM_INCLUDE["rfq_items"] = "rfq_items";
10
11
  })(BOM_INCLUDE || (exports.BOM_INCLUDE = BOM_INCLUDE = {}));
11
12
  var BOM_ITEM_INCLUDE;
12
13
  (function (BOM_ITEM_INCLUDE) {
@@ -1,8 +1,9 @@
1
1
  import { INestedApprovalChainEntry } from "./approvalChain.typings";
2
2
  import { INestedCompany } from "./company.typings";
3
3
  import { INestedCompanyVendors } from "./companyVendors.typings";
4
+ import { INestedPR, INestedPrItem } from "./pr.typings";
4
5
  import { INestedPurchaseLocation } from "./purchaseLocation.typings";
5
- import { INestedQuote } from "./quote.typings";
6
+ import { INestedQuote, INestedQuoteItems } from "./quote.typings";
6
7
  import { INestedStoreLocation } from "./storeLocation.typings";
7
8
  import { INestedUser } from "./user.typings";
8
9
  import { INestedVendor, IVendor } from "./vendor.typings";
@@ -81,6 +82,13 @@ export interface IRFQ {
81
82
  }
82
83
  export interface INestedRFQ extends Omit<IRFQ, "company" | "parent_purchase_location" | "created_by_user" | "shipping_store_location" | "contact_person" | "sent_for_approval_by" | "sent_to_vendors_by" | "quotes" | "items" | "approval_chain" | "rfq_vendor_groups" | "rfq_vendors" | "additional_vendors"> {
83
84
  }
85
+ export declare enum RFQ_ITEM_INCLUDE {
86
+ parent_rfq = "parent_rfq",
87
+ created_by_user = "created_by_user",
88
+ parent_pr = "parent_pr",
89
+ corresponding_pr_item = "corresponding_pr_item",
90
+ associated_quote_items = "associated_quote_items"
91
+ }
84
92
  export interface IRFQItem {
85
93
  id: string;
86
94
  parent_rfq_id: string;
@@ -102,6 +110,9 @@ export interface IRFQItem {
102
110
  updated_at?: string | null;
103
111
  parent_rfq?: INestedRFQ | null;
104
112
  created_by_user?: INestedUser | null;
113
+ parent_pr?: INestedPR | null;
114
+ corresponding_pr_item?: INestedPrItem | null;
115
+ associated_quote_items?: INestedQuoteItems[] | null;
105
116
  }
106
117
  export interface INestedRFQItem extends Omit<IRFQItem, "parent_rfq" | "created_by_user" | "parent_pr" | "corresponding_pr_item" | "associated_quote_items"> {
107
118
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BIDDING_TYPES = exports.RFQ_ITEM_TYPE = exports.RFQ_STATUS = exports.RFQ_INCLUDES = void 0;
3
+ exports.RFQ_ITEM_INCLUDE = exports.BIDDING_TYPES = exports.RFQ_ITEM_TYPE = exports.RFQ_STATUS = exports.RFQ_INCLUDES = void 0;
4
4
  var RFQ_INCLUDES;
5
5
  (function (RFQ_INCLUDES) {
6
6
  RFQ_INCLUDES["company"] = "company";
@@ -37,3 +37,12 @@ var BIDDING_TYPES;
37
37
  BIDDING_TYPES["OPEN"] = "open_bidding";
38
38
  BIDDING_TYPES["CLOSED"] = "closed_bidding";
39
39
  })(BIDDING_TYPES || (exports.BIDDING_TYPES = BIDDING_TYPES = {}));
40
+ // RFQItem
41
+ var RFQ_ITEM_INCLUDE;
42
+ (function (RFQ_ITEM_INCLUDE) {
43
+ RFQ_ITEM_INCLUDE["parent_rfq"] = "parent_rfq";
44
+ RFQ_ITEM_INCLUDE["created_by_user"] = "created_by_user";
45
+ RFQ_ITEM_INCLUDE["parent_pr"] = "parent_pr";
46
+ RFQ_ITEM_INCLUDE["corresponding_pr_item"] = "corresponding_pr_item";
47
+ RFQ_ITEM_INCLUDE["associated_quote_items"] = "associated_quote_items";
48
+ })(RFQ_ITEM_INCLUDE || (exports.RFQ_ITEM_INCLUDE = RFQ_ITEM_INCLUDE = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.11.4",
3
+ "version": "5.11.5",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",