kcommons 5.17.0 → 5.17.2
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/notifications.typings.d.ts +1 -1
- package/build/typings/user.typings.d.ts +4 -2
- package/build/typings/user.typings.js +1 -0
- package/build/typings/vendor.typings.d.ts +5 -2
- package/build/typings/vendor.typings.js +1 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ import { IItemSubcategory } from "./itemSubcategory.typings";
|
|
|
11
11
|
import { INestedMI, INestedMIItem } from "./mi.typings";
|
|
12
12
|
import { INestedMRN, INestedMRNItem } from "./mrn.typings";
|
|
13
13
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
14
|
+
import { INestedNotification } from "./notifications.typings";
|
|
14
15
|
import { INestedOffice } from "./offices.typings";
|
|
15
16
|
import { INestedPo } from "./po.typings";
|
|
16
17
|
import { INestedPR, INestedPrItem } from "./pr.typings";
|
|
@@ -56,7 +57,8 @@ export declare enum COMPANY_INCLUDE {
|
|
|
56
57
|
company_boms = "company_boms",
|
|
57
58
|
company_bom_items = "company_bom_items",
|
|
58
59
|
company_comparatives = "company_comparatives",
|
|
59
|
-
company_comparative_items = "company_comparative_items"
|
|
60
|
+
company_comparative_items = "company_comparative_items",
|
|
61
|
+
company_notifications = "company_notifications"
|
|
60
62
|
}
|
|
61
63
|
export interface ICompany extends IAddress {
|
|
62
64
|
id: string;
|
|
@@ -113,6 +115,7 @@ export interface ICompany extends IAddress {
|
|
|
113
115
|
company_bom_items: INestedBOMItem[] | null;
|
|
114
116
|
company_comparatives: INestedComparative[] | null;
|
|
115
117
|
company_comparative_items: INestedComparativeItem[] | null;
|
|
118
|
+
company_notifications: INestedNotification[] | null;
|
|
116
119
|
}
|
|
117
|
-
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"> {
|
|
120
|
+
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"> {
|
|
118
121
|
}
|
|
@@ -36,4 +36,5 @@ var COMPANY_INCLUDE;
|
|
|
36
36
|
COMPANY_INCLUDE["company_bom_items"] = "company_bom_items";
|
|
37
37
|
COMPANY_INCLUDE["company_comparatives"] = "company_comparatives";
|
|
38
38
|
COMPANY_INCLUDE["company_comparative_items"] = "company_comparative_items";
|
|
39
|
+
COMPANY_INCLUDE["company_notifications"] = "company_notifications";
|
|
39
40
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -24,7 +24,7 @@ export interface INotification {
|
|
|
24
24
|
user: INestedUser | null;
|
|
25
25
|
vendor: INestedVendor | null;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface INestedNotification extends Omit<INotification, "company" | "vendor" | "user"> {
|
|
28
28
|
}
|
|
29
29
|
export declare enum NOTIFICAITON_CATEGORIES {
|
|
30
30
|
INDIVIDUAL = "INDIVIDUAL",
|
|
@@ -79,8 +79,9 @@ export interface IUser {
|
|
|
79
79
|
created_vendor_groups?: INestedVendorGroups[] | null;
|
|
80
80
|
last_updated_vendor_groups?: INestedVendorGroups[] | null;
|
|
81
81
|
comparatives_sent_for_approval?: INestedComparative[] | null;
|
|
82
|
+
user_notifications?: INestedNegotiation[] | null;
|
|
82
83
|
}
|
|
83
|
-
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"> {
|
|
84
|
+
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"> {
|
|
84
85
|
}
|
|
85
86
|
export declare enum UserInclude {
|
|
86
87
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -110,5 +111,6 @@ export declare enum UserInclude {
|
|
|
110
111
|
created_vendor_groups = "created_vendor_groups",
|
|
111
112
|
last_updated_vendor_groups = "last_updated_vendor_groups",
|
|
112
113
|
active_role = "active_role",
|
|
113
|
-
comparatives_sent_for_approval = "comparatives_sent_for_approval"
|
|
114
|
+
comparatives_sent_for_approval = "comparatives_sent_for_approval",
|
|
115
|
+
user_notifications = "user_notifications"
|
|
114
116
|
}
|
|
@@ -32,4 +32,5 @@ var UserInclude;
|
|
|
32
32
|
UserInclude["last_updated_vendor_groups"] = "last_updated_vendor_groups";
|
|
33
33
|
UserInclude["active_role"] = "active_role";
|
|
34
34
|
UserInclude["comparatives_sent_for_approval"] = "comparatives_sent_for_approval";
|
|
35
|
+
UserInclude["user_notifications"] = "user_notifications";
|
|
35
36
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
|
+
import { INestedNotification } from "./notifications.typings";
|
|
3
4
|
import { INestedQuote } from "./quote.typings";
|
|
4
5
|
import { INestedRFQ } from "./rfq.typings";
|
|
5
6
|
import { IAddress } from "./utils/address.typings";
|
|
@@ -39,14 +40,16 @@ export interface IVendor extends IAddress {
|
|
|
39
40
|
associated_companies: INestedCompany[] | null;
|
|
40
41
|
negotiations: INestedNegotiation[] | null;
|
|
41
42
|
as_additional_in_rfqs: INestedRFQ[] | null;
|
|
43
|
+
vendor_notifications: INestedNotification[] | null;
|
|
42
44
|
}
|
|
43
|
-
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs"> {
|
|
45
|
+
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications"> {
|
|
44
46
|
}
|
|
45
47
|
export declare enum VENDOR_INCLUDE {
|
|
46
48
|
quotes = "quotes",
|
|
47
49
|
associated_companies = "associated_companies",
|
|
48
50
|
negotiations = "negotiations",
|
|
49
|
-
as_additional_in_rfqs = "as_additional_in_rfqs"
|
|
51
|
+
as_additional_in_rfqs = "as_additional_in_rfqs",
|
|
52
|
+
vendor_notifications = "vendor_notifications"
|
|
50
53
|
}
|
|
51
54
|
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
52
55
|
vendor_id: string;
|
|
@@ -7,5 +7,6 @@ var VENDOR_INCLUDE;
|
|
|
7
7
|
VENDOR_INCLUDE["associated_companies"] = "associated_companies";
|
|
8
8
|
VENDOR_INCLUDE["negotiations"] = "negotiations";
|
|
9
9
|
VENDOR_INCLUDE["as_additional_in_rfqs"] = "as_additional_in_rfqs";
|
|
10
|
+
VENDOR_INCLUDE["vendor_notifications"] = "vendor_notifications";
|
|
10
11
|
// pos = "pos",
|
|
11
12
|
})(VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = VENDOR_INCLUDE = {}));
|