kcommons 5.2.19 → 5.2.20
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.
|
@@ -9,7 +9,6 @@ import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
|
9
9
|
import { INestedQuote } from "./quote.typings";
|
|
10
10
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
11
11
|
import { INestedUser } from "./user.typings";
|
|
12
|
-
import { INestedVendor } from "./vendor.typings";
|
|
13
12
|
export declare enum PO_STATUS {
|
|
14
13
|
DRAFT = "DRAFT",
|
|
15
14
|
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
@@ -54,7 +53,6 @@ export interface IPurchaseOrder {
|
|
|
54
53
|
shipping_store_location: INestedStoreLocation | null;
|
|
55
54
|
created_by_user: INestedUser | null;
|
|
56
55
|
company_vendor: INestedCompanyVendors | null;
|
|
57
|
-
vendor: INestedVendor | null;
|
|
58
56
|
contact_person: INestedUser | null;
|
|
59
57
|
sent_for_approval_by: INestedUser | null;
|
|
60
58
|
sent_to_vendor_by: INestedUser | null;
|
|
@@ -64,14 +62,13 @@ export interface IPurchaseOrder {
|
|
|
64
62
|
approval_chain: IApprovalChainEntry[] | null;
|
|
65
63
|
taxes: INestedDocumentTaxes[] | null;
|
|
66
64
|
}
|
|
67
|
-
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "company_vendor" | "
|
|
65
|
+
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "company_vendor" | "contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "approval_chain" | "taxes"> {
|
|
68
66
|
}
|
|
69
67
|
export declare enum PO_INCLUDE {
|
|
70
68
|
company = "company",
|
|
71
69
|
shipping_store_location = "shipping_store_location",
|
|
72
70
|
created_by_user = "created_by_user",
|
|
73
71
|
company_vendor = "company_vendor",
|
|
74
|
-
vendor = "vendor",
|
|
75
72
|
contact_person = "contact_person",
|
|
76
73
|
sent_for_approval_by = "sent_for_approval_by",
|
|
77
74
|
sent_to_vendor_by = "sent_to_vendor_by",
|
|
@@ -24,7 +24,7 @@ var PO_INCLUDE;
|
|
|
24
24
|
PO_INCLUDE["shipping_store_location"] = "shipping_store_location";
|
|
25
25
|
PO_INCLUDE["created_by_user"] = "created_by_user";
|
|
26
26
|
PO_INCLUDE["company_vendor"] = "company_vendor";
|
|
27
|
-
|
|
27
|
+
// vendor = "vendor",
|
|
28
28
|
PO_INCLUDE["contact_person"] = "contact_person";
|
|
29
29
|
PO_INCLUDE["sent_for_approval_by"] = "sent_for_approval_by";
|
|
30
30
|
PO_INCLUDE["sent_to_vendor_by"] = "sent_to_vendor_by";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
|
-
import { INestedPo } from "./po.typings";
|
|
4
3
|
import { INestedQuote } from "./quote.typings";
|
|
5
4
|
import { INestedRFQ } from "./rfq.typings";
|
|
6
5
|
export interface IVendor {
|
|
@@ -44,16 +43,14 @@ export interface IVendor {
|
|
|
44
43
|
associated_companies: INestedCompany[] | null;
|
|
45
44
|
negotiations: INestedNegotiation[] | null;
|
|
46
45
|
as_additional_in_rfqs: INestedRFQ[] | null;
|
|
47
|
-
pos: INestedPo[] | null;
|
|
48
46
|
}
|
|
49
|
-
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs"
|
|
47
|
+
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs"> {
|
|
50
48
|
}
|
|
51
49
|
export declare enum VENDOR_INCLUDE {
|
|
52
50
|
quotes = "quotes",
|
|
53
51
|
associated_companies = "associated_companies",
|
|
54
52
|
negotiations = "negotiations",
|
|
55
|
-
as_additional_in_rfqs = "as_additional_in_rfqs"
|
|
56
|
-
pos = "pos"
|
|
53
|
+
as_additional_in_rfqs = "as_additional_in_rfqs"
|
|
57
54
|
}
|
|
58
55
|
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
59
56
|
vendor_id: string;
|
|
@@ -7,5 +7,5 @@ var VENDOR_INCLUDE;
|
|
|
7
7
|
VENDOR_INCLUDE["associated_companies"] = "associated_companies";
|
|
8
8
|
VENDOR_INCLUDE["negotiations"] = "negotiations";
|
|
9
9
|
VENDOR_INCLUDE["as_additional_in_rfqs"] = "as_additional_in_rfqs";
|
|
10
|
-
|
|
10
|
+
// pos = "pos",
|
|
11
11
|
})(VENDOR_INCLUDE = exports.VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = {}));
|