kcommons 9.24.3 → 9.26.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.
@@ -374,7 +374,9 @@ export declare const companyNavConfig: {
374
374
  id: COMPANY_ROUTE_IDS;
375
375
  };
376
376
  view: {
377
- route: (mi_id: string) => string;
377
+ route: (mi_id: string, queryParams?: {
378
+ active_tab: string;
379
+ }) => string;
378
380
  id: COMPANY_ROUTE_IDS;
379
381
  };
380
382
  };
@@ -392,7 +394,9 @@ export declare const companyNavConfig: {
392
394
  id: COMPANY_ROUTE_IDS;
393
395
  };
394
396
  view: {
395
- route: (pr_id: string) => string;
397
+ route: (pr_id: string, queryParams?: {
398
+ active_tab: string;
399
+ }) => string;
396
400
  id: COMPANY_ROUTE_IDS;
397
401
  };
398
402
  };
@@ -374,7 +374,10 @@ exports.companyNavConfig = {
374
374
  id: COMPANY_ROUTE_IDS.MI_EDT,
375
375
  },
376
376
  view: {
377
- route: (mi_id) => `/store/material-issuance/${mi_id}/view?route_id=${COMPANY_ROUTE_IDS.MI_VIEW}`,
377
+ route: (mi_id, queryParams) => (0, parseReqString_1.parseReqString)(`/store/material-issuance/${mi_id}/view`, {
378
+ route_id: COMPANY_ROUTE_IDS.MI_VIEW,
379
+ active_tab: queryParams === null || queryParams === void 0 ? void 0 : queryParams.active_tab,
380
+ }),
378
381
  id: COMPANY_ROUTE_IDS.MI_VIEW,
379
382
  },
380
383
  },
@@ -392,7 +395,10 @@ exports.companyNavConfig = {
392
395
  id: COMPANY_ROUTE_IDS.PR_EDT,
393
396
  },
394
397
  view: {
395
- route: (pr_id) => `/store/pr/${pr_id}/view?route_id=${COMPANY_ROUTE_IDS.PR_VIEW}`,
398
+ route: (pr_id, queryParams) => (0, parseReqString_1.parseReqString)(`/store/pr/${pr_id}/view`, {
399
+ route_id: COMPANY_ROUTE_IDS.PR_VIEW,
400
+ active_tab: queryParams === null || queryParams === void 0 ? void 0 : queryParams.active_tab,
401
+ }),
396
402
  id: COMPANY_ROUTE_IDS.PR_VIEW,
397
403
  },
398
404
  },
@@ -5,7 +5,6 @@ import { INestedIndent } from "./indent.typings";
5
5
  import { INestedMI } from "./mi.typings";
6
6
  import { INestedMRN } from "./mrn.typings";
7
7
  import { INestedOffice } from "./offices.typings";
8
- import { INestedPR } from "./pr.typings";
9
8
  import { INestedPurchaseLocation } from "./purchaseLocation.typings";
10
9
  import { INestedRole } from "./roles.typings";
11
10
  import { INestedStoreLocation } from "./storeLocation.typings";
@@ -35,13 +34,12 @@ export interface IDepartment {
35
34
  parent_gate?: null | INestedGate;
36
35
  indents?: null | INestedIndent[];
37
36
  mis?: null | INestedMI[];
38
- prs?: null | INestedPR[];
39
37
  subdepartments?: null | INestedSubdepartment[];
40
38
  roles?: null | INestedRole[];
41
39
  grns?: null | INestedGRN[];
42
40
  mrns?: null | INestedMRN[];
43
41
  }
44
- export interface INestedDepartment extends Omit<IDepartment, "company" | "hod" | "parent_office" | "parent_store_location" | "parent_purchase_location" | "parent_gate" | "indents" | "mis" | "prs" | "subdepartments" | "roles" | "grns" | "mrns"> {
42
+ export interface INestedDepartment extends Omit<IDepartment, "company" | "hod" | "parent_office" | "parent_store_location" | "parent_purchase_location" | "parent_gate" | "indents" | "mis" | "subdepartments" | "roles" | "grns" | "mrns"> {
45
43
  }
46
44
  export declare const DEPT_TYPES: {
47
45
  PURCHASE: string;
@@ -1,12 +1,16 @@
1
- import { INestedApprovalChainEntry } from "./approvalChain.typings";
2
1
  import { INestedCompany } from "./company.typings";
3
2
  import { INestedInventoryLog } from "./company/inventory/inventoryLogger.typings";
4
3
  import { INestedDepartment } from "./department.typings";
5
4
  import { IDocItem } from "./docItems.typings";
5
+ import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
6
6
  import { INestedIndent, INestedIndentItem } from "./indent.typings";
7
7
  import { INestedItem } from "./item.typings";
8
8
  import { INestedStoreLocation } from "./storeLocation.typings";
9
9
  import { INestedUser } from "./user.typings";
10
+ export declare enum MI_TABS {
11
+ ITEMS = "ITEMS",
12
+ APPROVALS = "APPROVALS"
13
+ }
10
14
  export declare enum MI_SOURCE {
11
15
  DIRECT = "DIRECT",
12
16
  INDENT = "INDENT"
@@ -20,6 +24,9 @@ export interface IMI {
20
24
  parent_company_id: string;
21
25
  status: string;
22
26
  parent_store_location_id: string;
27
+ sent_for_approval_by_id?: string | null;
28
+ issued_by_user_id?: string | null;
29
+ last_updated_by_user_id?: string | null;
23
30
  message?: string | null;
24
31
  attachment_link?: string | null;
25
32
  is_deleted?: boolean | null;
@@ -33,11 +40,14 @@ export interface IMI {
33
40
  created_by_user?: INestedUser | null;
34
41
  parent_indent?: INestedIndent | null;
35
42
  items?: INestedMIItem[] | null;
36
- approval_chain?: INestedApprovalChainEntry[] | null;
43
+ approval_chain?: INestedEntityApprovalChainEntry[] | null;
37
44
  store_location?: INestedStoreLocation | null;
38
45
  inventory_logs?: INestedInventoryLog[] | null;
46
+ sent_for_approval_by_user: INestedUser | null;
47
+ issued_by_user: INestedUser | null;
48
+ last_updated_by_user: INestedUser | null;
39
49
  }
40
- export interface INestedMI extends Omit<IMI, "store_location" | "company" | "paretn_department" | "created_by_user" | "parent_indent" | "items" | "approval_chain" | "store_location" | "inventory_logs"> {
50
+ export interface INestedMI extends Omit<IMI, "store_location" | "company" | "paretn_department" | "created_by_user" | "parent_indent" | "items" | "approval_chain" | "store_location" | "inventory_logs" | "sent_for_approval_by_user" | "issued_by_user" | "last_updated_by_user"> {
41
51
  }
42
52
  export declare enum MI_STATUS {
43
53
  DRAFT = "DRAFT",
@@ -54,7 +64,10 @@ export declare enum MI_INCLUDE {
54
64
  approval_chain = "approval_chain",
55
65
  items = "items",
56
66
  store_location = "store_location",
57
- inventory_logs = "inventory_logs"
67
+ inventory_logs = "inventory_logs",
68
+ sent_for_approval_by_user = "sent_for_approval_by_user",
69
+ issued_by_user = "issued_by_user",
70
+ last_updated_by_user = "last_updated_by_user"
58
71
  }
59
72
  export declare enum MI_ITEM_INCLUDE {
60
73
  indent_item = "indent_item",
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MI_ITEM_INCLUDE = exports.MI_INCLUDE = exports.MI_STATUS = exports.MI_SOURCE = void 0;
3
+ exports.MI_ITEM_INCLUDE = exports.MI_INCLUDE = exports.MI_STATUS = exports.MI_SOURCE = exports.MI_TABS = void 0;
4
+ var MI_TABS;
5
+ (function (MI_TABS) {
6
+ MI_TABS["ITEMS"] = "ITEMS";
7
+ MI_TABS["APPROVALS"] = "APPROVALS";
8
+ })(MI_TABS || (exports.MI_TABS = MI_TABS = {}));
4
9
  var MI_SOURCE;
5
10
  (function (MI_SOURCE) {
6
11
  MI_SOURCE["DIRECT"] = "DIRECT";
@@ -24,6 +29,9 @@ var MI_INCLUDE;
24
29
  MI_INCLUDE["items"] = "items";
25
30
  MI_INCLUDE["store_location"] = "store_location";
26
31
  MI_INCLUDE["inventory_logs"] = "inventory_logs";
32
+ MI_INCLUDE["sent_for_approval_by_user"] = "sent_for_approval_by_user";
33
+ MI_INCLUDE["issued_by_user"] = "issued_by_user";
34
+ MI_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
27
35
  })(MI_INCLUDE || (exports.MI_INCLUDE = MI_INCLUDE = {}));
28
36
  // MI Item Typings
29
37
  var MI_ITEM_INCLUDE;
@@ -1,12 +1,16 @@
1
- import { INestedApprovalChainEntry } from "./approvalChain.typings";
2
1
  import { INestedCompany } from "./company.typings";
3
- import { INestedDepartment } from "./department.typings";
4
2
  import { IDocItem } from "./docItems.typings";
5
3
  import { INestedIndent, INestedIndentItem } from "./indent.typings";
6
4
  import { INestedItem } from "./item.typings";
7
5
  import { INestedPurchaseLocation } from "./purchaseLocation.typings";
8
6
  import { INestedRFQItem } from "./rfq.typings";
9
7
  import { INestedUser } from "./user.typings";
8
+ import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
9
+ import { INestedStoreLocation } from "./storeLocation.typings";
10
+ export declare enum PR_TABS {
11
+ ITEMS = "ITEMS",
12
+ APPROVALS = "APPROVALS"
13
+ }
10
14
  export declare enum PR_SOURCE {
11
15
  DIRECT = "DIRECT",
12
16
  INDENT = "INDENT"
@@ -24,13 +28,14 @@ export declare enum PR_INCLUDE {
24
28
  created_by_user = "created_by_user",
25
29
  company = "company",
26
30
  parent_indent = "parent_indent",
27
- parent_department = "parent_department",
28
31
  target_purchase_location = "target_purchase_location",
32
+ parent_store_location = "parent_store_location",
29
33
  approval_chain = "approval_chain",
30
34
  items = "items",
31
35
  referenced_rfq_items = "referenced_rfq_items",
32
36
  sent_for_approval_by = "sent_for_approval_by",
33
- updated_by_user = "updated_by_user"
37
+ updated_by_user = "updated_by_user",
38
+ sent_to_purchase_location_by = "sent_to_purchase_location_by"
34
39
  }
35
40
  export interface IPR {
36
41
  id: string;
@@ -38,8 +43,10 @@ export interface IPR {
38
43
  status: string;
39
44
  created_by_user_id: string;
40
45
  updated_by_user_id: string | null;
46
+ sent_to_purchase_location_by_id: string | null;
41
47
  company_id: string;
42
48
  target_purchase_location_id: string;
49
+ parent_store_location_id: string;
43
50
  priority_date: string;
44
51
  priority: string;
45
52
  is_deleted: boolean;
@@ -47,7 +54,6 @@ export interface IPR {
47
54
  sent_for_approval_by_id: string | null;
48
55
  notes?: string | null;
49
56
  attachment_link?: string | null;
50
- indent_source_dept_id?: string | null;
51
57
  parent_indent_id?: string | null;
52
58
  sent_to_purchase_location_at?: string | null;
53
59
  processed_at?: string | null;
@@ -59,22 +65,24 @@ export interface IPR {
59
65
  created_by_user?: null | INestedUser;
60
66
  company?: null | INestedCompany;
61
67
  parent_indent?: null | INestedIndent;
62
- parent_department?: null | INestedDepartment;
63
68
  target_purchase_location?: null | INestedPurchaseLocation;
64
- approval_chain?: null | INestedApprovalChainEntry[];
69
+ parent_store_location?: null | INestedStoreLocation;
70
+ approval_chain?: null | INestedEntityApprovalChainEntry[];
65
71
  items?: null | INestedPrItem[];
66
72
  referenced_rfq_items?: null | INestedRFQItem[];
67
73
  sent_for_approval_by: INestedUser | null;
68
74
  updated_by_user: INestedUser | null;
75
+ sent_to_purchase_location_by: INestedUser | null;
69
76
  }
70
- export interface INestedPR extends Omit<IPR, "created_by_user" | "company" | "parent_indent" | "parent_department" | "target_purchase_location" | "approval_chain" | "items" | "referenced_rfq_items" | "sent_for_approval_by" | "updated_by_user"> {
77
+ export interface INestedPR extends Omit<IPR, "created_by_user" | "company" | "parent_indent" | "target_purchase_location" | "approval_chain" | "items" | "referenced_rfq_items" | "sent_for_approval_by" | "updated_by_user" | "sent_to_purchase_location_by" | "parent_store_location"> {
71
78
  }
72
79
  export declare enum PR_ITEM_INCLUDE {
73
80
  company = "company",
74
81
  parent_pr = "parent_pr",
75
82
  item = "item",
76
83
  indent_item = "indent_item",
77
- related_rfq_items = "related_rfq_items"
84
+ related_rfq_items = "related_rfq_items",
85
+ parent_store_location = "parent_store_location"
78
86
  }
79
87
  export interface IPRItems extends IDocItem {
80
88
  pr_id: string;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PR_PRIORITY_TYPES = exports.PR_ITEM_INCLUDE = exports.PR_INCLUDE = exports.PR_STATUS = exports.PR_SOURCE = void 0;
3
+ exports.PR_PRIORITY_TYPES = exports.PR_ITEM_INCLUDE = exports.PR_INCLUDE = exports.PR_STATUS = exports.PR_SOURCE = exports.PR_TABS = void 0;
4
+ var PR_TABS;
5
+ (function (PR_TABS) {
6
+ PR_TABS["ITEMS"] = "ITEMS";
7
+ PR_TABS["APPROVALS"] = "APPROVALS";
8
+ })(PR_TABS || (exports.PR_TABS = PR_TABS = {}));
4
9
  var PR_SOURCE;
5
10
  (function (PR_SOURCE) {
6
11
  PR_SOURCE["DIRECT"] = "DIRECT";
@@ -21,13 +26,14 @@ var PR_INCLUDE;
21
26
  PR_INCLUDE["created_by_user"] = "created_by_user";
22
27
  PR_INCLUDE["company"] = "company";
23
28
  PR_INCLUDE["parent_indent"] = "parent_indent";
24
- PR_INCLUDE["parent_department"] = "parent_department";
25
29
  PR_INCLUDE["target_purchase_location"] = "target_purchase_location";
30
+ PR_INCLUDE["parent_store_location"] = "parent_store_location";
26
31
  PR_INCLUDE["approval_chain"] = "approval_chain";
27
32
  PR_INCLUDE["items"] = "items";
28
33
  PR_INCLUDE["referenced_rfq_items"] = "referenced_rfq_items";
29
34
  PR_INCLUDE["sent_for_approval_by"] = "sent_for_approval_by";
30
35
  PR_INCLUDE["updated_by_user"] = "updated_by_user";
36
+ PR_INCLUDE["sent_to_purchase_location_by"] = "sent_to_purchase_location_by";
31
37
  })(PR_INCLUDE || (exports.PR_INCLUDE = PR_INCLUDE = {}));
32
38
  // PR Items
33
39
  var PR_ITEM_INCLUDE;
@@ -37,6 +43,7 @@ var PR_ITEM_INCLUDE;
37
43
  PR_ITEM_INCLUDE["item"] = "item";
38
44
  PR_ITEM_INCLUDE["indent_item"] = "indent_item";
39
45
  PR_ITEM_INCLUDE["related_rfq_items"] = "related_rfq_items";
46
+ PR_ITEM_INCLUDE["parent_store_location"] = "parent_store_location";
40
47
  })(PR_ITEM_INCLUDE || (exports.PR_ITEM_INCLUDE = PR_ITEM_INCLUDE = {}));
41
48
  exports.PR_PRIORITY_TYPES = {
42
49
  LOW: "Low",
@@ -20,10 +20,12 @@ import { IAddress } from "./common/address.typings";
20
20
  import { INestedISTD } from "./company/istd/istd.typings";
21
21
  import { INestedIAD } from "./company/iad/iad.typings";
22
22
  import { INestedInventoryLog } from "./company/inventory/inventoryLogger.typings";
23
+ import { INestedPR } from "./pr.typings";
23
24
  export interface IStoreLocationFilters {
24
25
  name?: string;
25
26
  company_id?: string;
26
27
  served_by_purchase_location_id?: string;
28
+ parent_store_location_id?: string;
27
29
  office_id?: string;
28
30
  include?: StoreLocationInclude[];
29
31
  }
@@ -50,6 +52,7 @@ export interface IStoreLocation extends IAddress {
50
52
  indents?: null | INestedIndent[];
51
53
  mis?: null | INestedMI[];
52
54
  mrns?: null | INestedMRN[];
55
+ prs?: null | INestedPR[];
53
56
  as_shipping_location_for_rfqs?: null | INestedRFQ[];
54
57
  as_shipping_location_for_quotes?: null | INestedQuote[];
55
58
  target_offices?: null | INestedOffice[];
@@ -63,7 +66,7 @@ export interface IStoreLocation extends IAddress {
63
66
  iads?: INestedIAD[] | null;
64
67
  inventory_logs?: INestedInventoryLog[] | null;
65
68
  }
66
- export interface INestedStoreLocation extends Omit<IStoreLocation, "company" | "store_incharge" | "approval_configs" | "inventory_entries" | "departments" | "roles" | "indents" | "mis" | "mrns" | "as_shipping_location_for_rfqs" | "as_shipping_location_for_quotes" | "target_offices" | "served_by_gates" | "served_by_purchase_locations" | "as_shipping_location_for_pos" | "as_shipping_location_for_grns" | "as_shipping_location_for_asns" | "as_source_store_location_for_istds" | "as_dest_store_location_for_istds" | "iads" | "inventory_logs"> {
69
+ export interface INestedStoreLocation extends Omit<IStoreLocation, "company" | "store_incharge" | "approval_configs" | "inventory_entries" | "departments" | "roles" | "indents" | "mis" | "mrns" | "prs" | "as_shipping_location_for_rfqs" | "as_shipping_location_for_quotes" | "target_offices" | "served_by_gates" | "served_by_purchase_locations" | "as_shipping_location_for_pos" | "as_shipping_location_for_grns" | "as_shipping_location_for_asns" | "as_source_store_location_for_istds" | "as_dest_store_location_for_istds" | "iads" | "inventory_logs"> {
67
70
  }
68
71
  export declare enum StoreLocationInclude {
69
72
  company = "company",
@@ -75,6 +78,7 @@ export declare enum StoreLocationInclude {
75
78
  indents = "indents",
76
79
  mis = "mis",
77
80
  mrns = "mrns",
81
+ prs = "prs",
78
82
  as_shipping_location_for_rfqs = "as_shipping_location_for_rfqs",
79
83
  as_shipping_location_for_quotes = "as_shipping_location_for_quotes",
80
84
  target_offices = "target_offices",
@@ -12,6 +12,7 @@ var StoreLocationInclude;
12
12
  StoreLocationInclude["indents"] = "indents";
13
13
  StoreLocationInclude["mis"] = "mis";
14
14
  StoreLocationInclude["mrns"] = "mrns";
15
+ StoreLocationInclude["prs"] = "prs";
15
16
  StoreLocationInclude["as_shipping_location_for_rfqs"] = "as_shipping_location_for_rfqs";
16
17
  StoreLocationInclude["as_shipping_location_for_quotes"] = "as_shipping_location_for_quotes";
17
18
  StoreLocationInclude["target_offices"] = "target_offices";
@@ -76,8 +76,12 @@ export interface IUser {
76
76
  approval_chains?: null | INestedApprovalChainEntry[];
77
77
  created_indents?: null | INestedIndent[];
78
78
  created_mis?: null | INestedMI[];
79
+ mis_sent_for_approval?: null | INestedMI[];
80
+ mis_issued?: null | INestedMI[];
81
+ mis_last_updated?: null | INestedMI[];
79
82
  created_prs?: null | INestedPR[];
80
83
  pr_sent_for_approval?: null | INestedPR[];
84
+ pr_sent_to_purchase_location?: null | INestedPR[];
81
85
  last_updated_prs?: null | INestedPR[];
82
86
  created_rfqs?: null | INestedRFQ[];
83
87
  entity_approval_chains?: null | INestedEntityApprovalChainEntry[];
@@ -133,7 +137,7 @@ export interface IUser {
133
137
  iads_terminated_by_user: INestedIAD[] | null;
134
138
  initiated_inventory_logs: INestedInventoryLog[] | null;
135
139
  }
136
- export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "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" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "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" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "as_contact_person_for_asns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "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" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs"> {
140
+ export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "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" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "mis_sent_for_approval" | "mis_issued" | "mis_last_updated" | "created_prs" | "pr_sent_for_approval" | "pr_sent_to_purchase_location" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "as_contact_person_for_asns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "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" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs"> {
137
141
  }
138
142
  export declare enum UserInclude {
139
143
  as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
@@ -152,8 +156,13 @@ export declare enum UserInclude {
152
156
  approval_chains = "approval_chains",
153
157
  assigned_roles = "assigned_roles",
154
158
  negotiations = "negotiations",
159
+ created_mis = "created_mis",
160
+ mis_sent_for_approval = "mis_sent_for_approval",
161
+ mis_issued = "mis_issued",
162
+ mis_last_updated = "mis_last_updated",
155
163
  created_pos = "created_pos",
156
164
  pr_sent_for_approval = "pr_sent_for_approval",
165
+ pr_sent_to_purchase_location = "pr_sent_to_purchase_location",
157
166
  last_updated_prs = "last_updated_prs",
158
167
  as_contact_person_for_pos = "as_contact_person_for_pos",
159
168
  pos_sent_for_approval = "pos_sent_for_approval",
@@ -20,8 +20,13 @@ var UserInclude;
20
20
  UserInclude["approval_chains"] = "approval_chains";
21
21
  UserInclude["assigned_roles"] = "assigned_roles";
22
22
  UserInclude["negotiations"] = "negotiations";
23
+ UserInclude["created_mis"] = "created_mis";
24
+ UserInclude["mis_sent_for_approval"] = "mis_sent_for_approval";
25
+ UserInclude["mis_issued"] = "mis_issued";
26
+ UserInclude["mis_last_updated"] = "mis_last_updated";
23
27
  UserInclude["created_pos"] = "created_pos";
24
28
  UserInclude["pr_sent_for_approval"] = "pr_sent_for_approval";
29
+ UserInclude["pr_sent_to_purchase_location"] = "pr_sent_to_purchase_location";
25
30
  UserInclude["last_updated_prs"] = "last_updated_prs";
26
31
  UserInclude["as_contact_person_for_pos"] = "as_contact_person_for_pos";
27
32
  UserInclude["pos_sent_for_approval"] = "pos_sent_for_approval";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.24.3",
3
+ "version": "9.26.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",