kcommons 5.25.3 → 5.25.4
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.
- package/build/typings/company.typings.d.ts +2 -4
- package/build/typings/company.typings.js +1 -1
- package/build/typings/settings/form/extraFormQues.typings.d.ts +0 -20
- package/build/typings/settings/form/extraFormQues.typings.js +22 -1
- package/build/typings/user.typings.d.ts +2 -6
- package/build/typings/user.typings.js +2 -2
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import { IAddress } from "./common/address.typings";
|
|
|
25
25
|
import { INestedVendor } from "./vendor.typings";
|
|
26
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
27
27
|
import { INestedCompanyProxy } from "./companyProxy.typings";
|
|
28
|
-
import { INestedExtraFormQuestions
|
|
28
|
+
import { INestedExtraFormQuestions } from "./settings/form/extraFormQues.typings";
|
|
29
29
|
import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
|
|
30
30
|
export declare enum COMPANY_INCLUDE {
|
|
31
31
|
associated_purchase_locations = "associated_purchase_locations",
|
|
@@ -64,7 +64,6 @@ export declare enum COMPANY_INCLUDE {
|
|
|
64
64
|
company_notifications = "company_notifications",
|
|
65
65
|
company_proxy = "company_proxy",
|
|
66
66
|
extra_questions = "extra_questions",
|
|
67
|
-
extra_questions_options = "extra_questions_options",
|
|
68
67
|
extra_question_ans = "extra_question_ans"
|
|
69
68
|
}
|
|
70
69
|
export interface ICompany extends IAddress {
|
|
@@ -125,8 +124,7 @@ export interface ICompany extends IAddress {
|
|
|
125
124
|
company_notifications: INestedNotification[] | null;
|
|
126
125
|
company_proxy: INestedCompanyProxy | null;
|
|
127
126
|
extra_questions: INestedExtraFormQuestions[] | null;
|
|
128
|
-
extra_questions_options: INestedExtraQuesSelectOpts[] | null;
|
|
129
127
|
extra_question_ans: INestedExtraFormAnswerEntitys[] | null;
|
|
130
128
|
}
|
|
131
|
-
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "company_proxy" | "extra_questions" | "
|
|
129
|
+
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "company_proxy" | "extra_questions" | "extra_question_ans"> {
|
|
132
130
|
}
|
|
@@ -39,6 +39,6 @@ var COMPANY_INCLUDE;
|
|
|
39
39
|
COMPANY_INCLUDE["company_notifications"] = "company_notifications";
|
|
40
40
|
COMPANY_INCLUDE["company_proxy"] = "company_proxy";
|
|
41
41
|
COMPANY_INCLUDE["extra_questions"] = "extra_questions";
|
|
42
|
-
|
|
42
|
+
// extra_questions_options = "extra_questions_options",
|
|
43
43
|
COMPANY_INCLUDE["extra_question_ans"] = "extra_question_ans";
|
|
44
44
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -17,7 +17,6 @@ export declare enum EXTRA_FORM_QUESTIONS_INCLUDE {
|
|
|
17
17
|
company = "company",
|
|
18
18
|
created_by = "created_by",
|
|
19
19
|
updated_by = "updated_by",
|
|
20
|
-
select_opts = "select_opts",
|
|
21
20
|
answers = "answers"
|
|
22
21
|
}
|
|
23
22
|
export interface IExtraFormQuestionsFilters {
|
|
@@ -44,26 +43,7 @@ export interface IExtraFormQuestions {
|
|
|
44
43
|
company: INestedCompany | null;
|
|
45
44
|
created_by: INestedUser | null;
|
|
46
45
|
updated_by: INestedUser | null;
|
|
47
|
-
select_opts: INestedExtraQuesSelectOpts[] | null;
|
|
48
46
|
answers: INestedExtraFormAnswerEntitys[] | null;
|
|
49
47
|
}
|
|
50
48
|
export interface INestedExtraFormQuestions extends Omit<IExtraFormQuestions, "company" | "created_by" | "updated_by" | "selected_opts" | "answers"> {
|
|
51
49
|
}
|
|
52
|
-
export interface IExtraQuesSelectOpts {
|
|
53
|
-
id: string;
|
|
54
|
-
que_id: string;
|
|
55
|
-
opt_text: string;
|
|
56
|
-
company_id: string;
|
|
57
|
-
created_by_id: string;
|
|
58
|
-
updated_by_id: string;
|
|
59
|
-
is_deleted: boolean;
|
|
60
|
-
deleted_at: string | null;
|
|
61
|
-
created_at: string;
|
|
62
|
-
updated_at: string;
|
|
63
|
-
company: INestedCompany | null;
|
|
64
|
-
created_by: INestedUser | null;
|
|
65
|
-
updated_by: INestedUser | null;
|
|
66
|
-
parent_question: INestedExtraFormQuestions | null;
|
|
67
|
-
}
|
|
68
|
-
export interface INestedExtraQuesSelectOpts extends Omit<IExtraQuesSelectOpts, "company" | "created_by" | "updated_by" | "parent_question"> {
|
|
69
|
-
}
|
|
@@ -20,6 +20,27 @@ var EXTRA_FORM_QUESTIONS_INCLUDE;
|
|
|
20
20
|
EXTRA_FORM_QUESTIONS_INCLUDE["company"] = "company";
|
|
21
21
|
EXTRA_FORM_QUESTIONS_INCLUDE["created_by"] = "created_by";
|
|
22
22
|
EXTRA_FORM_QUESTIONS_INCLUDE["updated_by"] = "updated_by";
|
|
23
|
-
|
|
23
|
+
// select_opts = "select_opts",
|
|
24
24
|
EXTRA_FORM_QUESTIONS_INCLUDE["answers"] = "answers";
|
|
25
25
|
})(EXTRA_FORM_QUESTIONS_INCLUDE || (exports.EXTRA_FORM_QUESTIONS_INCLUDE = EXTRA_FORM_QUESTIONS_INCLUDE = {}));
|
|
26
|
+
// export interface IExtraQuesSelectOpts {
|
|
27
|
+
// id: string;
|
|
28
|
+
// que_id: string;
|
|
29
|
+
// opt_text: string;
|
|
30
|
+
// company_id: string;
|
|
31
|
+
// created_by_id: string;
|
|
32
|
+
// updated_by_id: string;
|
|
33
|
+
// is_deleted: boolean;
|
|
34
|
+
// deleted_at: string | null;
|
|
35
|
+
// created_at: string;
|
|
36
|
+
// updated_at: string;
|
|
37
|
+
// company: INestedCompany | null;
|
|
38
|
+
// created_by: INestedUser | null;
|
|
39
|
+
// updated_by: INestedUser | null;
|
|
40
|
+
// parent_question: INestedExtraFormQuestions | null;
|
|
41
|
+
// }
|
|
42
|
+
// export interface INestedExtraQuesSelectOpts
|
|
43
|
+
// extends Omit<
|
|
44
|
+
// IExtraQuesSelectOpts,
|
|
45
|
+
// "company" | "created_by" | "updated_by" | "parent_question"
|
|
46
|
+
// > {}
|
|
@@ -20,7 +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
|
|
23
|
+
import { IExtraFormQuestions } from "./settings/form/extraFormQues.typings";
|
|
24
24
|
import { IEXtraFormAnswers } from "./settings/form/extraFormAns.typings";
|
|
25
25
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
26
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
@@ -88,11 +88,9 @@ export interface IUser {
|
|
|
88
88
|
approved_company_vendors?: INestedCompanyVendors[] | null;
|
|
89
89
|
created_extra_quesstions?: IExtraFormQuestions[] | null;
|
|
90
90
|
updated_extra_quesstions?: IExtraFormQuestions[] | null;
|
|
91
|
-
created_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
92
|
-
updated_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
93
91
|
answered_questions?: IEXtraFormAnswers[] | null;
|
|
94
92
|
}
|
|
95
|
-
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" | "
|
|
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" | "answered_questions"> {
|
|
96
94
|
}
|
|
97
95
|
export declare enum UserInclude {
|
|
98
96
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -127,8 +125,6 @@ export declare enum UserInclude {
|
|
|
127
125
|
approved_company_vendors = "approved_company_vendors",
|
|
128
126
|
created_extra_quesstions = "created_extra_quesstions",
|
|
129
127
|
updated_extra_quesstions = "updated_extra_quesstions",
|
|
130
|
-
created_extra_questions_options = "created_extra_questions_options",
|
|
131
|
-
updated_extra_questions_options = "updated_extra_questions_options",
|
|
132
128
|
answered_questions = "answered_questions"
|
|
133
129
|
}
|
|
134
130
|
export interface IUserFilters {
|
|
@@ -36,7 +36,7 @@ var UserInclude;
|
|
|
36
36
|
UserInclude["approved_company_vendors"] = "approved_company_vendors";
|
|
37
37
|
UserInclude["created_extra_quesstions"] = "created_extra_quesstions";
|
|
38
38
|
UserInclude["updated_extra_quesstions"] = "updated_extra_quesstions";
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
// created_extra_questions_options = "created_extra_questions_options",
|
|
40
|
+
// updated_extra_questions_options = "updated_extra_questions_options",
|
|
41
41
|
UserInclude["answered_questions"] = "answered_questions";
|
|
42
42
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|