kcommons 5.2.8 → 5.2.10
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,10 +1,16 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
|
+
import { INestedPo } from "./po.typings";
|
|
2
4
|
import { INestedRFQ } from "./rfq.typings";
|
|
3
5
|
import { INestedVendor } from "./vendor.typings";
|
|
4
6
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
5
7
|
export declare enum CompanyVendorsInclude {
|
|
6
8
|
COMPANY = "company",
|
|
7
|
-
VENDOR = "vendor"
|
|
9
|
+
VENDOR = "vendor",
|
|
10
|
+
negotiations = "negotiations",
|
|
11
|
+
rfqs_sent = "rfqs_sent",
|
|
12
|
+
pos = "pos",
|
|
13
|
+
vendor_groups = "vendor_groups"
|
|
8
14
|
}
|
|
9
15
|
export interface ICompanyVendor {
|
|
10
16
|
id: string;
|
|
@@ -22,6 +28,8 @@ export interface ICompanyVendor {
|
|
|
22
28
|
vendor?: INestedVendor | null;
|
|
23
29
|
rfqs_sent?: INestedRFQ[] | null;
|
|
24
30
|
vendor_groups?: INestedVendorGroups[] | null;
|
|
31
|
+
negotiations?: INestedNegotiation[] | null;
|
|
32
|
+
pos?: INestedPo[] | null;
|
|
25
33
|
}
|
|
26
|
-
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups"> {
|
|
34
|
+
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos"> {
|
|
27
35
|
}
|
|
@@ -5,4 +5,8 @@ var CompanyVendorsInclude;
|
|
|
5
5
|
(function (CompanyVendorsInclude) {
|
|
6
6
|
CompanyVendorsInclude["COMPANY"] = "company";
|
|
7
7
|
CompanyVendorsInclude["VENDOR"] = "vendor";
|
|
8
|
+
CompanyVendorsInclude["negotiations"] = "negotiations";
|
|
9
|
+
CompanyVendorsInclude["rfqs_sent"] = "rfqs_sent";
|
|
10
|
+
CompanyVendorsInclude["pos"] = "pos";
|
|
11
|
+
CompanyVendorsInclude["vendor_groups"] = "vendor_groups";
|
|
8
12
|
})(CompanyVendorsInclude = exports.CompanyVendorsInclude || (exports.CompanyVendorsInclude = {}));
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
|
+
import { INestedPo } from "./po.typings";
|
|
2
4
|
import { INestedQuote } from "./quote.typings";
|
|
5
|
+
import { INestedRFQ } from "./rfq.typings";
|
|
3
6
|
export interface IVendor {
|
|
4
7
|
id: string;
|
|
5
8
|
gst_no?: string | null;
|
|
@@ -37,14 +40,20 @@ export interface IVendor {
|
|
|
37
40
|
deleted_at?: string | null;
|
|
38
41
|
created_at?: string | null;
|
|
39
42
|
updated_at?: string | null;
|
|
40
|
-
quotes
|
|
41
|
-
associated_companies
|
|
43
|
+
quotes: INestedQuote[] | null;
|
|
44
|
+
associated_companies: INestedCompany[] | null;
|
|
45
|
+
negotiations: INestedNegotiation[] | null;
|
|
46
|
+
as_additional_in_rfqs: INestedRFQ[] | null;
|
|
47
|
+
pos: INestedPo[] | null;
|
|
42
48
|
}
|
|
43
|
-
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies"> {
|
|
49
|
+
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "pos"> {
|
|
44
50
|
}
|
|
45
51
|
export declare enum VENDOR_INCLUDE {
|
|
46
52
|
quotes = "quotes",
|
|
47
|
-
associated_companies = "associated_companies"
|
|
53
|
+
associated_companies = "associated_companies",
|
|
54
|
+
negotiations = "negotiations",
|
|
55
|
+
as_additional_in_rfqs = "as_additional_in_rfqs",
|
|
56
|
+
pos = "pos"
|
|
48
57
|
}
|
|
49
58
|
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
50
59
|
vendor_id: string;
|
|
@@ -5,4 +5,7 @@ var VENDOR_INCLUDE;
|
|
|
5
5
|
(function (VENDOR_INCLUDE) {
|
|
6
6
|
VENDOR_INCLUDE["quotes"] = "quotes";
|
|
7
7
|
VENDOR_INCLUDE["associated_companies"] = "associated_companies";
|
|
8
|
+
VENDOR_INCLUDE["negotiations"] = "negotiations";
|
|
9
|
+
VENDOR_INCLUDE["as_additional_in_rfqs"] = "as_additional_in_rfqs";
|
|
10
|
+
VENDOR_INCLUDE["pos"] = "pos";
|
|
8
11
|
})(VENDOR_INCLUDE = exports.VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = {}));
|