kcommons 5.23.9 → 5.23.11
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.
|
@@ -2,6 +2,7 @@ import { INestedCompany } from "./company.typings";
|
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
3
|
import { INestedPo } from "./po.typings";
|
|
4
4
|
import { INestedRFQ } from "./rfq.typings";
|
|
5
|
+
import { IUser } from "./user.typings";
|
|
5
6
|
import { INestedVendor } from "./vendor.typings";
|
|
6
7
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
7
8
|
export declare enum CompanyVendorsInclude {
|
|
@@ -26,10 +27,11 @@ export interface ICompanyVendor {
|
|
|
26
27
|
updated_at?: string | null;
|
|
27
28
|
company?: INestedCompany | null;
|
|
28
29
|
vendor?: INestedVendor | null;
|
|
30
|
+
approved_by?: IUser | null;
|
|
29
31
|
rfqs_sent?: INestedRFQ[] | null;
|
|
30
32
|
vendor_groups?: INestedVendorGroups[] | null;
|
|
31
33
|
negotiations?: INestedNegotiation[] | null;
|
|
32
34
|
pos?: INestedPo[] | null;
|
|
33
35
|
}
|
|
34
|
-
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos"> {
|
|
36
|
+
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "approved_by" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos"> {
|
|
35
37
|
}
|
|
@@ -3,6 +3,7 @@ import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
|
3
3
|
import { INestedBOM } from "./bom.typings";
|
|
4
4
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
5
5
|
import { INestedCompany } from "./company.typings";
|
|
6
|
+
import { INestedCompanyVendors } from "./companyVendors.typings";
|
|
6
7
|
import { INestedComparative } from "./comparative.typings";
|
|
7
8
|
import { INestedDepartment } from "./department.typings";
|
|
8
9
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
@@ -82,8 +83,9 @@ export interface IUser {
|
|
|
82
83
|
last_updated_vendor_groups?: INestedVendorGroups[] | null;
|
|
83
84
|
comparatives_sent_for_approval?: INestedComparative[] | null;
|
|
84
85
|
user_notifications?: INestedNegotiation[] | null;
|
|
86
|
+
approved_company_vendors?: INestedCompanyVendors[] | null;
|
|
85
87
|
}
|
|
86
|
-
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications"> {
|
|
88
|
+
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors"> {
|
|
87
89
|
}
|
|
88
90
|
export declare enum UserInclude {
|
|
89
91
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -114,7 +116,8 @@ export declare enum UserInclude {
|
|
|
114
116
|
last_updated_vendor_groups = "last_updated_vendor_groups",
|
|
115
117
|
active_role = "active_role",
|
|
116
118
|
comparatives_sent_for_approval = "comparatives_sent_for_approval",
|
|
117
|
-
user_notifications = "user_notifications"
|
|
119
|
+
user_notifications = "user_notifications",
|
|
120
|
+
approved_company_vendors = "approved_company_vendors"
|
|
118
121
|
}
|
|
119
122
|
export interface IUserFilters {
|
|
120
123
|
name?: string;
|
|
@@ -33,4 +33,5 @@ var UserInclude;
|
|
|
33
33
|
UserInclude["active_role"] = "active_role";
|
|
34
34
|
UserInclude["comparatives_sent_for_approval"] = "comparatives_sent_for_approval";
|
|
35
35
|
UserInclude["user_notifications"] = "user_notifications";
|
|
36
|
+
UserInclude["approved_company_vendors"] = "approved_company_vendors";
|
|
36
37
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|