kcommons 6.1.16 → 6.2.0
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/contactPeople.typings.d.ts +26 -0
- package/build/typings/contactPeople.typings.js +9 -0
- package/build/typings/user.typings.d.ts +7 -2
- package/build/typings/user.typings.js +2 -0
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRela
|
|
|
31
31
|
import { INestedCompanySpecificVendorItemVersion } from "./companySepcificVendorItems.typings";
|
|
32
32
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
33
33
|
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
34
|
+
import { INestedContactPeople } from "./contactPeople.typings";
|
|
34
35
|
export declare enum PRICING_PLANS {
|
|
35
36
|
BASIC = "BASIC",
|
|
36
37
|
GROWTH = "GROWTH",
|
|
@@ -79,7 +80,8 @@ export declare enum COMPANY_INCLUDE {
|
|
|
79
80
|
extra_question_ans = "extra_question_ans",
|
|
80
81
|
extra_core_related_questions = "extra_core_related_questions",
|
|
81
82
|
company_specific_vendor_items = "company_specific_vendor_items",
|
|
82
|
-
po_asn_items_junction = "po_asn_items_junction"
|
|
83
|
+
po_asn_items_junction = "po_asn_items_junction",
|
|
84
|
+
company_contact_people = "company_contact_people"
|
|
83
85
|
}
|
|
84
86
|
export interface ICompany extends IAddress {
|
|
85
87
|
id: string;
|
|
@@ -145,6 +147,7 @@ export interface ICompany extends IAddress {
|
|
|
145
147
|
extra_core_related_questions: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
146
148
|
company_specific_vendor_items: INestedCompanySpecificVendorItemVersion[] | null;
|
|
147
149
|
po_asn_items_junction: INestedPOASNItemJunction[] | null;
|
|
150
|
+
company_contact_people: INestedContactPeople[] | null;
|
|
148
151
|
}
|
|
149
|
-
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" | "company_specific_vendor_items" | "po_asn_items_junction"> {
|
|
152
|
+
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" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people"> {
|
|
150
153
|
}
|
|
@@ -50,4 +50,5 @@ var COMPANY_INCLUDE;
|
|
|
50
50
|
COMPANY_INCLUDE["extra_core_related_questions"] = "extra_core_related_questions";
|
|
51
51
|
COMPANY_INCLUDE["company_specific_vendor_items"] = "company_specific_vendor_items";
|
|
52
52
|
COMPANY_INCLUDE["po_asn_items_junction"] = "po_asn_items_junction";
|
|
53
|
+
COMPANY_INCLUDE["company_contact_people"] = "company_contact_people";
|
|
53
54
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { INestedUser } from "./user.typings";
|
|
3
|
+
export declare enum CONTACT_PEOPLE_INCLUDE {
|
|
4
|
+
created_by_user = "created_by_user",
|
|
5
|
+
updated_by_user = "updated_by_user",
|
|
6
|
+
company = "company"
|
|
7
|
+
}
|
|
8
|
+
export interface IContactPeople {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
email: string | null;
|
|
12
|
+
contact: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
company_id: string;
|
|
15
|
+
created_by_user_id: string;
|
|
16
|
+
updated_by_user_id: string;
|
|
17
|
+
is_deleted: boolean;
|
|
18
|
+
deleted_at: string | null;
|
|
19
|
+
created_at: string;
|
|
20
|
+
updated_at: string;
|
|
21
|
+
created_by_user: INestedUser | null;
|
|
22
|
+
updated_by_user: INestedUser | null;
|
|
23
|
+
company: INestedCompany | null;
|
|
24
|
+
}
|
|
25
|
+
export interface INestedContactPeople extends Omit<IContactPeople, "created_by_user" | "updated_by_user" | "company"> {
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CONTACT_PEOPLE_INCLUDE = void 0;
|
|
4
|
+
var CONTACT_PEOPLE_INCLUDE;
|
|
5
|
+
(function (CONTACT_PEOPLE_INCLUDE) {
|
|
6
|
+
CONTACT_PEOPLE_INCLUDE["created_by_user"] = "created_by_user";
|
|
7
|
+
CONTACT_PEOPLE_INCLUDE["updated_by_user"] = "updated_by_user";
|
|
8
|
+
CONTACT_PEOPLE_INCLUDE["company"] = "company";
|
|
9
|
+
})(CONTACT_PEOPLE_INCLUDE || (exports.CONTACT_PEOPLE_INCLUDE = CONTACT_PEOPLE_INCLUDE = {}));
|
|
@@ -25,6 +25,7 @@ import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typi
|
|
|
25
25
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
26
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
27
27
|
import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typings";
|
|
28
|
+
import { INestedContactPeople } from "./contactPeople.typings";
|
|
28
29
|
export interface IUser {
|
|
29
30
|
id: string;
|
|
30
31
|
is_enabled?: boolean | null;
|
|
@@ -95,8 +96,10 @@ export interface IUser {
|
|
|
95
96
|
answered_questions?: INestedExtraFormAnswerEntitys[] | null;
|
|
96
97
|
created_extra_core_question_for_companies?: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
97
98
|
updated_extra_core_question_for_companies?: INestedExtraCoreRelatedQuestionsForCompanyEntiy[] | null;
|
|
99
|
+
created_contact_people: INestedContactPeople[] | null;
|
|
100
|
+
updated_contact_people: INestedContactPeople[] | null;
|
|
98
101
|
}
|
|
99
|
-
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" | "pr_sent_for_approval" | "last_updated_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"> {
|
|
102
|
+
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" | "pr_sent_for_approval" | "last_updated_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" | "created_contact_people" | "updated_contact_people"> {
|
|
100
103
|
}
|
|
101
104
|
export declare enum UserInclude {
|
|
102
105
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -135,7 +138,9 @@ export declare enum UserInclude {
|
|
|
135
138
|
updated_extra_quesstions = "updated_extra_quesstions",
|
|
136
139
|
answered_questions = "answered_questions",
|
|
137
140
|
created_extra_core_question_for_companies = "created_extra_core_question_for_companies",
|
|
138
|
-
updated_extra_core_question_for_companies = "updated_extra_core_question_for_companies"
|
|
141
|
+
updated_extra_core_question_for_companies = "updated_extra_core_question_for_companies",
|
|
142
|
+
created_contact_people = "created_contact_people",
|
|
143
|
+
updated_contact_people = "updated_contact_people"
|
|
139
144
|
}
|
|
140
145
|
export interface IUserFilters {
|
|
141
146
|
name?: string;
|
|
@@ -43,4 +43,6 @@ var UserInclude;
|
|
|
43
43
|
UserInclude["answered_questions"] = "answered_questions";
|
|
44
44
|
UserInclude["created_extra_core_question_for_companies"] = "created_extra_core_question_for_companies";
|
|
45
45
|
UserInclude["updated_extra_core_question_for_companies"] = "updated_extra_core_question_for_companies";
|
|
46
|
+
UserInclude["created_contact_people"] = "created_contact_people";
|
|
47
|
+
UserInclude["updated_contact_people"] = "updated_contact_people";
|
|
46
48
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|