kcommons 5.25.20 → 5.25.21
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 +5 -2
- package/build/typings/company.typings.js +1 -0
- package/build/typings/extraCoreRelatedQuestions.typings.d.ts +9 -0
- package/build/typings/extraCoreRelatedQuestions.typings.js +2 -0
- package/build/typings/extraCoreRelatedQuestionsForCompany.typing.d.ts +28 -0
- package/build/typings/extraCoreRelatedQuestionsForCompany.typing.js +10 -0
- package/build/typings/user.typings.d.ts +12 -7
- package/build/typings/user.typings.js +2 -0
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
|
27
27
|
import { INestedCompanyProxy } from "./companyProxy.typings";
|
|
28
28
|
import { INestedExtraFormQuestions } from "./settings/form/extraFormQues.typings";
|
|
29
29
|
import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
|
|
30
|
+
import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typing";
|
|
30
31
|
export declare enum COMPANY_INCLUDE {
|
|
31
32
|
associated_purchase_locations = "associated_purchase_locations",
|
|
32
33
|
associated_vendors = "associated_vendors",
|
|
@@ -64,7 +65,8 @@ export declare enum COMPANY_INCLUDE {
|
|
|
64
65
|
company_notifications = "company_notifications",
|
|
65
66
|
company_proxy = "company_proxy",
|
|
66
67
|
extra_questions = "extra_questions",
|
|
67
|
-
extra_question_ans = "extra_question_ans"
|
|
68
|
+
extra_question_ans = "extra_question_ans",
|
|
69
|
+
extra_core_related_questions = "extra_core_related_questions"
|
|
68
70
|
}
|
|
69
71
|
export interface ICompany extends IAddress {
|
|
70
72
|
id: string;
|
|
@@ -125,6 +127,7 @@ export interface ICompany extends IAddress {
|
|
|
125
127
|
company_proxy: INestedCompanyProxy | null;
|
|
126
128
|
extra_questions: INestedExtraFormQuestions[] | null;
|
|
127
129
|
extra_question_ans: INestedExtraFormAnswerEntitys[] | null;
|
|
130
|
+
extra_core_related_questions: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
128
131
|
}
|
|
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
|
+
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" | "extra_core_related_questions"> {
|
|
130
133
|
}
|
|
@@ -41,4 +41,5 @@ var COMPANY_INCLUDE;
|
|
|
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
|
+
COMPANY_INCLUDE["extra_core_related_questions"] = "extra_core_related_questions";
|
|
44
45
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedCoreRelatedQuestion } from "./extraCoreRelatedQuestions.typings";
|
|
3
|
+
import { INestedUser } from "./user.typings";
|
|
4
|
+
export declare enum EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE {
|
|
5
|
+
company = "company",
|
|
6
|
+
core_related_question = "core_related_question",
|
|
7
|
+
created_by = "created_by",
|
|
8
|
+
updated_by = "updated_by"
|
|
9
|
+
}
|
|
10
|
+
export interface IExtraCoreRelatedQuestionsForCompanies {
|
|
11
|
+
id: string;
|
|
12
|
+
company_que_text: string;
|
|
13
|
+
company_id: string;
|
|
14
|
+
extra_core_related_question_id: string;
|
|
15
|
+
created_by_id: string;
|
|
16
|
+
updated_by_id: string;
|
|
17
|
+
is_enabled: boolean;
|
|
18
|
+
is_deleted: boolean;
|
|
19
|
+
deleted_at: Date;
|
|
20
|
+
created_at: Date;
|
|
21
|
+
updated_at: Date;
|
|
22
|
+
company: INestedCompany | null;
|
|
23
|
+
core_related_question: INestedCoreRelatedQuestion | null;
|
|
24
|
+
created_by: INestedUser | null;
|
|
25
|
+
updated_by: INestedUser | null;
|
|
26
|
+
}
|
|
27
|
+
export interface INestedExtraCoreRelatedQuestionsForCompanyEntiy extends Omit<IExtraCoreRelatedQuestionsForCompanies, "company" | "core_related_question" | "created_by" | "updated_by"> {
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = void 0;
|
|
4
|
+
var EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE;
|
|
5
|
+
(function (EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE) {
|
|
6
|
+
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["company"] = "company";
|
|
7
|
+
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["core_related_question"] = "core_related_question";
|
|
8
|
+
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["created_by"] = "created_by";
|
|
9
|
+
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["updated_by"] = "updated_by";
|
|
10
|
+
})(EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE || (exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = {}));
|
|
@@ -20,10 +20,11 @@ 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 {
|
|
24
|
-
import {
|
|
23
|
+
import { INestedExtraFormQuestions } from "./settings/form/extraFormQues.typings";
|
|
24
|
+
import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
|
|
25
25
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
26
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
27
|
+
import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typing";
|
|
27
28
|
export interface IUser {
|
|
28
29
|
id: string;
|
|
29
30
|
is_enabled?: boolean | null;
|
|
@@ -86,11 +87,13 @@ export interface IUser {
|
|
|
86
87
|
comparatives_sent_for_approval?: INestedComparative[] | null;
|
|
87
88
|
user_notifications?: INestedNegotiation[] | null;
|
|
88
89
|
approved_company_vendors?: INestedCompanyVendors[] | null;
|
|
89
|
-
created_extra_quesstions?:
|
|
90
|
-
updated_extra_quesstions?:
|
|
91
|
-
answered_questions?:
|
|
90
|
+
created_extra_quesstions?: INestedExtraFormQuestions[] | null;
|
|
91
|
+
updated_extra_quesstions?: INestedExtraFormQuestions[] | null;
|
|
92
|
+
answered_questions?: INestedExtraFormAnswerEntitys[] | null;
|
|
93
|
+
created_extra_core_question_for_companies?: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
94
|
+
updated_extra_core_question_for_companies?: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
92
95
|
}
|
|
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
|
+
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" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies"> {
|
|
94
97
|
}
|
|
95
98
|
export declare enum UserInclude {
|
|
96
99
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -125,7 +128,9 @@ export declare enum UserInclude {
|
|
|
125
128
|
approved_company_vendors = "approved_company_vendors",
|
|
126
129
|
created_extra_quesstions = "created_extra_quesstions",
|
|
127
130
|
updated_extra_quesstions = "updated_extra_quesstions",
|
|
128
|
-
answered_questions = "answered_questions"
|
|
131
|
+
answered_questions = "answered_questions",
|
|
132
|
+
created_extra_core_question_for_companies = "created_extra_core_question_for_companies",
|
|
133
|
+
updated_extra_core_question_for_companies = "updated_extra_core_question_for_companies"
|
|
129
134
|
}
|
|
130
135
|
export interface IUserFilters {
|
|
131
136
|
name?: string;
|
|
@@ -39,4 +39,6 @@ var UserInclude;
|
|
|
39
39
|
// created_extra_questions_options = "created_extra_questions_options",
|
|
40
40
|
// updated_extra_questions_options = "updated_extra_questions_options",
|
|
41
41
|
UserInclude["answered_questions"] = "answered_questions";
|
|
42
|
+
UserInclude["created_extra_core_question_for_companies"] = "created_extra_core_question_for_companies";
|
|
43
|
+
UserInclude["updated_extra_core_question_for_companies"] = "updated_extra_core_question_for_companies";
|
|
42
44
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|