kcommons 5.10.9 → 5.11.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/index.d.ts CHANGED
@@ -26,6 +26,7 @@ export * from "./typings/mrn.typings";
26
26
  export * from "./typings/entityApprovalChainEntry.typings";
27
27
  export * from "./typings/negotiation.typings";
28
28
  export * from "./typings/asn.typings";
29
+ export * from "./typings/bom.typings";
29
30
  export * from "./constants/permission.constants";
30
31
  export * from "./constants/entityTypes.constants";
31
32
  export * from "./constants/documentStatus.typings";
package/build/index.js CHANGED
@@ -43,6 +43,7 @@ __exportStar(require("./typings/mrn.typings"), exports);
43
43
  __exportStar(require("./typings/entityApprovalChainEntry.typings"), exports);
44
44
  __exportStar(require("./typings/negotiation.typings"), exports);
45
45
  __exportStar(require("./typings/asn.typings"), exports);
46
+ __exportStar(require("./typings/bom.typings"), exports);
46
47
  // Constants
47
48
  __exportStar(require("./constants/permission.constants"), exports);
48
49
  __exportStar(require("./constants/entityTypes.constants"), exports);
@@ -47,6 +47,10 @@ export interface IBOMItem {
47
47
  company_id: string;
48
48
  parent_bom_id: string;
49
49
  item_id: string;
50
+ item_name: string;
51
+ uom: string;
52
+ code_sku: string;
53
+ item_description: string;
50
54
  is_deleted: boolean;
51
55
  remarks: string | null;
52
56
  deleted_at: string | null;
@@ -17,6 +17,7 @@ import { INestedPurchaseLocation } from "./purchaseLocation.typings";
17
17
  import { INestedRFQ } from "./rfq.typings";
18
18
  import { INestedRole } from "./roles.typings";
19
19
  import { INestedStoreLocation } from "./storeLocation.typings";
20
+ import { INestedVendorGroups } from "./vendorGroup.typings";
20
21
  export interface IUser {
21
22
  id: string;
22
23
  is_enabled?: boolean | null;
@@ -74,8 +75,10 @@ export interface IUser {
74
75
  mrns_sent_for_approval?: INestedMRN[] | null;
75
76
  created_boms?: INestedBOM[] | null;
76
77
  last_updated_boms?: INestedBOM[] | null;
78
+ created_vendor_groups?: INestedVendorGroups[] | null;
79
+ last_updated_vendor_groups?: INestedVendorGroups[] | null;
77
80
  }
78
- 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"> {
81
+ 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"> {
79
82
  }
80
83
  export declare enum UserInclude {
81
84
  as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
@@ -101,5 +104,7 @@ export declare enum UserInclude {
101
104
  mrns_sent_for_approval = "mrns_sent_for_approval",
102
105
  as_contact_person_for_mrns = "as_contact_person_for_mrns",
103
106
  created_boms = "created_boms",
104
- last_updated_boms = "last_updated_boms"
107
+ last_updated_boms = "last_updated_boms",
108
+ created_vendor_groups = "created_vendor_groups",
109
+ last_updated_vendor_groups = "last_updated_vendor_groups"
105
110
  }
@@ -28,4 +28,6 @@ var UserInclude;
28
28
  UserInclude["as_contact_person_for_mrns"] = "as_contact_person_for_mrns";
29
29
  UserInclude["created_boms"] = "created_boms";
30
30
  UserInclude["last_updated_boms"] = "last_updated_boms";
31
+ UserInclude["created_vendor_groups"] = "created_vendor_groups";
32
+ UserInclude["last_updated_vendor_groups"] = "last_updated_vendor_groups";
31
33
  })(UserInclude || (exports.UserInclude = UserInclude = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.10.9",
3
+ "version": "5.11.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",