kcommons 5.26.7 → 5.27.0
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.
|
@@ -11,6 +11,7 @@ import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
|
11
11
|
import { INestedQuote } from "./quote.typings";
|
|
12
12
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
13
13
|
import { INestedUser, IUser } from "./user.typings";
|
|
14
|
+
import { INestedVendor } from "./vendor.typings";
|
|
14
15
|
export declare enum PO_STATUS {
|
|
15
16
|
DRAFT = "DRAFT",
|
|
16
17
|
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
@@ -52,6 +53,7 @@ export interface IPurchaseOrder {
|
|
|
52
53
|
purchase_location_id: string;
|
|
53
54
|
created_by_user_id: string;
|
|
54
55
|
company_vendor_id: string;
|
|
56
|
+
vendor_id: string | null;
|
|
55
57
|
contact_person_id: string;
|
|
56
58
|
status: string;
|
|
57
59
|
sent_for_approval_by_id: string | null;
|
|
@@ -85,8 +87,9 @@ export interface IPurchaseOrder {
|
|
|
85
87
|
boms: INestedPOBom[] | null;
|
|
86
88
|
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
87
89
|
taxes: INestedDocumentTaxes[] | null;
|
|
90
|
+
vendor: INestedVendor | null;
|
|
88
91
|
}
|
|
89
|
-
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" | "boms" | "approval_chain" | "taxes"> {
|
|
92
|
+
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" | "boms" | "approval_chain" | "taxes" | "vendor"> {
|
|
90
93
|
}
|
|
91
94
|
export declare enum PO_INCLUDE {
|
|
92
95
|
company = "company",
|
|
@@ -103,7 +106,8 @@ export declare enum PO_INCLUDE {
|
|
|
103
106
|
boms = "boms",
|
|
104
107
|
approval_chain = "approval_chain",
|
|
105
108
|
taxes = "taxes",
|
|
106
|
-
purchase_location = "purchase_location"
|
|
109
|
+
purchase_location = "purchase_location",
|
|
110
|
+
vendor = "vendor"
|
|
107
111
|
}
|
|
108
112
|
export interface IPOItem extends ITaxRelatedItemInputs {
|
|
109
113
|
id: string;
|
|
@@ -41,6 +41,7 @@ var PO_INCLUDE;
|
|
|
41
41
|
PO_INCLUDE["approval_chain"] = "approval_chain";
|
|
42
42
|
PO_INCLUDE["taxes"] = "taxes";
|
|
43
43
|
PO_INCLUDE["purchase_location"] = "purchase_location";
|
|
44
|
+
PO_INCLUDE["vendor"] = "vendor";
|
|
44
45
|
})(PO_INCLUDE || (exports.PO_INCLUDE = PO_INCLUDE = {}));
|
|
45
46
|
var PO_ITEM_INCLUDE;
|
|
46
47
|
(function (PO_ITEM_INCLUDE) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
3
|
import { INestedNotification } from "./notifications.typings";
|
|
4
|
+
import { INestedPo } from "./po.typings";
|
|
4
5
|
import { INestedQuote } from "./quote.typings";
|
|
5
6
|
import { INestedRFQ } from "./rfq.typings";
|
|
6
7
|
import { IAddress } from "./common/address.typings";
|
|
@@ -44,8 +45,9 @@ export interface IVendor extends IAddress {
|
|
|
44
45
|
vendor_notifications: INestedNotification[] | null;
|
|
45
46
|
vendor_proxy: INestedVendorProxy | null;
|
|
46
47
|
extra_que_answers: IEXtraFormAnswers[] | null;
|
|
48
|
+
pos: INestedPo[] | null;
|
|
47
49
|
}
|
|
48
|
-
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "vendor_proxy" | "extra_que_answers"> {
|
|
50
|
+
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "vendor_proxy" | "extra_que_answers" | "pos"> {
|
|
49
51
|
}
|
|
50
52
|
export declare enum VENDOR_INCLUDE {
|
|
51
53
|
quotes = "quotes",
|
|
@@ -54,7 +56,8 @@ export declare enum VENDOR_INCLUDE {
|
|
|
54
56
|
as_additional_in_rfqs = "as_additional_in_rfqs",
|
|
55
57
|
vendor_notifications = "vendor_notifications",
|
|
56
58
|
vendor_proxy = "vendor_proxy",
|
|
57
|
-
extra_que_answers = "extra_que_answers"
|
|
59
|
+
extra_que_answers = "extra_que_answers",
|
|
60
|
+
pos = "pos"
|
|
58
61
|
}
|
|
59
62
|
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
60
63
|
id: string;
|
|
@@ -10,7 +10,7 @@ var VENDOR_INCLUDE;
|
|
|
10
10
|
VENDOR_INCLUDE["vendor_notifications"] = "vendor_notifications";
|
|
11
11
|
VENDOR_INCLUDE["vendor_proxy"] = "vendor_proxy";
|
|
12
12
|
VENDOR_INCLUDE["extra_que_answers"] = "extra_que_answers";
|
|
13
|
-
|
|
13
|
+
VENDOR_INCLUDE["pos"] = "pos";
|
|
14
14
|
})(VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = VENDOR_INCLUDE = {}));
|
|
15
15
|
// for GST-Core activities Types
|
|
16
16
|
var VENDOR_TYPE;
|