kcommons 5.24.22 → 5.24.23
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.
|
@@ -20,6 +20,7 @@ import { INestedPR } from "./pr.typings";
|
|
|
20
20
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
21
21
|
import { INestedRFQ } from "./rfq.typings";
|
|
22
22
|
import { INestedRole } from "./roles.typings";
|
|
23
|
+
import { IExtraFormQuestions, IExtraQuesSelectOpts } from "./settings/configForm.typings";
|
|
23
24
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
24
25
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
25
26
|
export interface IUser {
|
|
@@ -84,8 +85,12 @@ export interface IUser {
|
|
|
84
85
|
comparatives_sent_for_approval?: INestedComparative[] | null;
|
|
85
86
|
user_notifications?: INestedNegotiation[] | null;
|
|
86
87
|
approved_company_vendors?: INestedCompanyVendors[] | null;
|
|
88
|
+
created_extra_quesstions?: IExtraFormQuestions[] | null;
|
|
89
|
+
updated_extra_quesstions?: IExtraFormQuestions[] | null;
|
|
90
|
+
created_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
91
|
+
updated_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
87
92
|
}
|
|
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"> {
|
|
93
|
+
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" | "created_extra_quesstions" | "updated_extra_quesstions" | "created_extra_questions_options" | "updated_extra_questions_options"> {
|
|
89
94
|
}
|
|
90
95
|
export declare enum UserInclude {
|
|
91
96
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -117,7 +122,11 @@ export declare enum UserInclude {
|
|
|
117
122
|
active_role = "active_role",
|
|
118
123
|
comparatives_sent_for_approval = "comparatives_sent_for_approval",
|
|
119
124
|
user_notifications = "user_notifications",
|
|
120
|
-
approved_company_vendors = "approved_company_vendors"
|
|
125
|
+
approved_company_vendors = "approved_company_vendors",
|
|
126
|
+
created_extra_quesstions = "created_extra_quesstions",
|
|
127
|
+
updated_extra_quesstions = "updated_extra_quesstions",
|
|
128
|
+
created_extra_questions_options = "created_extra_questions_options",
|
|
129
|
+
updated_extra_questions_options = "updated_extra_questions_options"
|
|
121
130
|
}
|
|
122
131
|
export interface IUserFilters {
|
|
123
132
|
name?: string;
|
|
@@ -34,4 +34,8 @@ var UserInclude;
|
|
|
34
34
|
UserInclude["comparatives_sent_for_approval"] = "comparatives_sent_for_approval";
|
|
35
35
|
UserInclude["user_notifications"] = "user_notifications";
|
|
36
36
|
UserInclude["approved_company_vendors"] = "approved_company_vendors";
|
|
37
|
+
UserInclude["created_extra_quesstions"] = "created_extra_quesstions";
|
|
38
|
+
UserInclude["updated_extra_quesstions"] = "updated_extra_quesstions";
|
|
39
|
+
UserInclude["created_extra_questions_options"] = "created_extra_questions_options";
|
|
40
|
+
UserInclude["updated_extra_questions_options"] = "updated_extra_questions_options";
|
|
37
41
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|