kcommons 14.16.0 → 14.17.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.
Files changed (31) hide show
  1. package/build/typings/asn.typings.d.ts +9 -5
  2. package/build/typings/bom.typings.d.ts +0 -1
  3. package/build/typings/company/masters/po.typings.d.ts +39 -11
  4. package/build/typings/company/masters/po.typings.js +1 -0
  5. package/build/typings/department.typings.d.ts +1 -1
  6. package/build/typings/gate.typings.d.ts +1 -2
  7. package/build/typings/grn.typings.d.ts +0 -1
  8. package/build/typings/indent.typings.d.ts +0 -1
  9. package/build/typings/itemCategory.typings.d.ts +7 -0
  10. package/build/typings/kpis/basKPIS.typings.d.ts +0 -1
  11. package/build/typings/kpis/company/companyKpisCommons.typings.d.ts +0 -1
  12. package/build/typings/kpis/company/item/mainDashboard/inventoryAndItemDetailsKpi.typings.d.ts +1 -2
  13. package/build/typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings.d.ts +1 -2
  14. package/build/typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings.d.ts +0 -2
  15. package/build/typings/kpis/company/vendor/companyVendorPurchaseFlow.typings.d.ts +1 -2
  16. package/build/typings/kpis/company/vendor/companyVendornegotiationgain.typings.d.ts +1 -2
  17. package/build/typings/kpis/company/vendor/totalBusiness.typings.d.ts +1 -2
  18. package/build/typings/mi.typings.d.ts +0 -1
  19. package/build/typings/mrn.typings.d.ts +0 -1
  20. package/build/typings/notifications.typings.d.ts +39 -16
  21. package/build/typings/notifications.typings.js +1 -0
  22. package/build/typings/offices.typings.d.ts +0 -1
  23. package/build/typings/pr.typings.d.ts +0 -1
  24. package/build/typings/purchaseLocation.typings.d.ts +9 -0
  25. package/build/typings/rfq.typings.d.ts +4 -1
  26. package/build/typings/roles.typings.d.ts +12 -1
  27. package/build/typings/roles.typings.js +6 -1
  28. package/build/typings/storeLocation.typings.d.ts +0 -1
  29. package/build/typings/user.typings.d.ts +0 -1
  30. package/build/typings/vendorGroup.typings.d.ts +0 -1
  31. package/package.json +1 -1
@@ -218,19 +218,23 @@ export declare const ASN_COURIER_TRANSPORT_FIELD_PREFIX = "courier";
218
218
  export declare const ASN_HAND_DELIVERY_TRANSPORT_FIELD_PREFIX = "hand_delivery";
219
219
  export interface INestedASN extends Omit<IASN, "created_by_vendor" | "for_company" | "parent_po" | "shipping_store_location" | "items" | "associated_grns" | "cancelled_by_user" | "send_to_vendor_by_user_id" | "send_to_vendor_by_user_at" | "child_ves" | "metafields"> {
220
220
  }
221
- export interface IASNFilters {
222
- company_id?: string;
223
- vendor_id?: string;
224
- company_vendor_id?: string;
221
+ export interface IASNBaseFilters {
225
222
  po_id?: string;
226
- asn_id?: string;
227
223
  include?: ASN_INCLUDE[];
228
224
  name?: string | null;
229
225
  status?: ASN_STATUS;
230
226
  metafields_include?: ASN_METAFIELDS_INCLUDE[];
231
227
  }
228
+ export interface IASNFilters extends IASNBaseFilters {
229
+ vendor_id?: string;
230
+ }
232
231
  export interface IASNFiltersWIthPagination extends IPaginationFilters, IASNFilters {
233
232
  }
233
+ export interface IASNFiltersForVendor extends IASNBaseFilters {
234
+ company_id?: string;
235
+ }
236
+ export interface IASNFiltersForVendorWithPagiantion extends IASNFiltersForVendor, IPaginationFilters {
237
+ }
234
238
  export declare enum ASN_ITEM_INCLUDE {
235
239
  company = "company",
236
240
  item = "item",
@@ -5,7 +5,6 @@ import { INestedPOBom } from "./company/masters/po.typings";
5
5
  import { INestedRFQBOM } from "./rfq.typings";
6
6
  import { INestedUser } from "./user.typings";
7
7
  export interface IBOMFilters {
8
- company_id?: string;
9
8
  is_enabled?: boolean;
10
9
  name?: string;
11
10
  include?: BOM_INCLUDE[];
@@ -18,7 +18,7 @@ import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
18
18
  import { INestedPurchaseLocation } from "../../purchaseLocation.typings";
19
19
  import { INestedQuote } from "../../quote.typings";
20
20
  import { INestedStoreLocation } from "../../storeLocation.typings";
21
- import { INestedUser, IUser } from "../../user.typings";
21
+ import { INestedUser } from "../../user.typings";
22
22
  import { INestedVendor } from "../../vendor.typings";
23
23
  export declare enum PO_LIST_TYPES {
24
24
  ALL = "ALL",
@@ -62,23 +62,33 @@ export declare enum PO_ITEM_ASCENDENCE_TYPE {
62
62
  DIRECT = "DIRECT",
63
63
  BOM = "BOM"
64
64
  }
65
- export interface IPOFilters {
66
- company_id?: string;
67
- vendor_id?: string;
68
- company_vendor_id?: string;
65
+ export interface IPOBaseFilters {
66
+ name?: string;
67
+ include?: PO_INCLUDE[];
68
+ metafields_include?: PO_METAFIELDS_INCLUDE[];
69
69
  shipping_store_location_id?: string;
70
70
  purchase_location_id?: string;
71
+ status?: PO_STATUS[];
72
+ }
73
+ /** --- START: PO Filters for Company --- */
74
+ export interface IPOFiltersForCompany extends IPOBaseFilters {
75
+ vendor_id?: string;
76
+ company_vendor_id?: string;
71
77
  contact_person_id?: string;
72
78
  external_contact_person_id?: string;
73
- name?: string;
74
79
  list_type?: PO_LIST_TYPES;
75
- user?: IUser;
76
- include?: PO_INCLUDE[];
77
- metafields_include?: PO_METAFIELDS_INCLUDE[];
78
80
  }
79
- export interface IPOFiltersWithPagination extends IPOFilters, IPaginationFilters {
81
+ export interface IPOFiltersForCompanyWithPagination extends IPOFiltersForCompany, IPaginationFilters {
82
+ }
83
+ /** --- FIN: PO FIlters for Company --- */
84
+ /** --- START: PO Filters for Vendors --- */
85
+ export interface IPOFiltersForVendor extends IPOBaseFilters {
86
+ company_id?: string;
80
87
  }
81
- export interface IPOFiltersForGRN extends Pick<IPOFilters, "name" | "include" | "metafields_include"> {
88
+ export interface IPOFiltersForVendorWithPagination extends IPOFiltersForVendor, IPaginationFilters {
89
+ }
90
+ /** --- FIN: PO Filters for Vendors --- */
91
+ export interface IPOFiltersForGRN extends Pick<IPOFiltersForCompany, "name" | "include" | "metafields_include"> {
82
92
  }
83
93
  export interface IPOFiltersForGRNWithPagination extends IPOFiltersForGRN, IPaginationFilters {
84
94
  }
@@ -242,3 +252,21 @@ export interface IOpenPOApprovalData {
242
252
  poData: IPurchaseOrder;
243
253
  entityApprovalChainEntry: IEntityApprovalChainEntry;
244
254
  }
255
+ /** START: (DEPRECATED) PO Filters */
256
+ /** @deprecated */
257
+ export interface IPOFilters {
258
+ include?: PO_INCLUDE[];
259
+ purchase_location_id?: string;
260
+ shipping_store_location_id?: string;
261
+ vendor_id?: string;
262
+ company_vendor_id?: string;
263
+ name?: string;
264
+ list_type?: PO_LIST_TYPES;
265
+ contact_person_id?: string;
266
+ external_contact_person_id?: string;
267
+ metafields_include?: PO_METAFIELDS_INCLUDE[];
268
+ }
269
+ /** @deprecated */
270
+ export interface IPOFiltersWithPagination extends IPOFilters, IPaginationFilters {
271
+ }
272
+ /** FIN: (DEPRECATED) PO Filters */
@@ -98,3 +98,4 @@ var PO_METAFIELDS_INCLUDE;
98
98
  (function (PO_METAFIELDS_INCLUDE) {
99
99
  PO_METAFIELDS_INCLUDE["items_data"] = "items_data";
100
100
  })(PO_METAFIELDS_INCLUDE || (exports.PO_METAFIELDS_INCLUDE = PO_METAFIELDS_INCLUDE = {}));
101
+ /** FIN: (DEPRECATED) PO Filters */
@@ -15,7 +15,7 @@ import { INestedPurchaseLocation } from "./purchaseLocation.typings";
15
15
  import { INestedRole } from "./roles.typings";
16
16
  import { INestedStoreLocation } from "./storeLocation.typings";
17
17
  import { INestedUser } from "./user.typings";
18
- export interface IDepartmentFilters extends Partial<Pick<IDepartment, "company_id" | "office_id" | "store_location_id" | "purchase_location_id" | "gate_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id">> {
18
+ export interface IDepartmentFilters extends Partial<Pick<IDepartment, "office_id" | "store_location_id" | "purchase_location_id" | "gate_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id">> {
19
19
  name?: string;
20
20
  type?: EntityTypes;
21
21
  include?: DepartmentInclude[];
@@ -37,10 +37,9 @@ export interface IGate extends IAddress {
37
37
  contact_person?: INestedUser | null;
38
38
  corresponding_checkpoint?: INestedCheckpoint | null;
39
39
  }
40
- export interface INestedGate extends Omit<IGate, " approval_config" | "departments" | "roles" | "target_store_locations" | "incharge" | "contact_person" | "corresponding_checkpoint"> {
40
+ export interface INestedGate extends Omit<IGate, "`approval_config" | "departments" | "roles" | "target_store_locations" | "incharge" | "contact_person" | "corresponding_checkpoint"> {
41
41
  }
42
42
  export interface IGateFilters {
43
- company_id?: string | null;
44
43
  target_store_location_ids?: string[] | null;
45
44
  name?: string | null;
46
45
  include?: GATE_INCLUDE[] | null;
@@ -47,7 +47,6 @@ export declare enum GRN_INCLUDE {
47
47
  child_mrns = "child_mrns"
48
48
  }
49
49
  export interface IGRNFilters {
50
- company_id?: string;
51
50
  parent_asn_id?: string;
52
51
  shipping_store_location_id?: string;
53
52
  department_id?: string;
@@ -20,7 +20,6 @@ export declare enum INDENT_LIST_TYPE {
20
20
  MY_APPROVALS = "MY_APPROVALS"
21
21
  }
22
22
  export interface IIndentFilters extends Partial<Pick<IIndent, "on_behalf_of_non_onboarded_user_id" | "on_behalf_of_onboarded_user_id">> {
23
- company_id?: string;
24
23
  department_id?: string;
25
24
  store_location_id?: string;
26
25
  name?: string;
@@ -1,3 +1,4 @@
1
+ import { IPaginationFilters } from "./common/paginationFilters.typings";
1
2
  import { INestedCompany } from "./company.typings";
2
3
  import { ICompanyVendor, INestedCompanyVendors } from "./companyVendors.typings";
3
4
  import { INestedItem } from "./item.typings";
@@ -27,3 +28,9 @@ export declare enum ItemCategoryInclude {
27
28
  allowed_company_vendors_by_company = "allowed_company_vendors_by_company",
28
29
  items = "items"
29
30
  }
31
+ export interface IItemCategoryFilters {
32
+ name?: string | null;
33
+ include?: ItemCategoryInclude[] | null;
34
+ }
35
+ export interface IItemCategoryFiltersWithPagination extends IItemCategoryFilters, IPaginationFilters {
36
+ }
@@ -1,5 +1,4 @@
1
1
  export interface IBaseKPIFilters {
2
- company_id: string;
3
2
  start_date: string;
4
3
  end_date: string;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  export interface ICompanyCommonKPIFilters {
2
2
  start_date?: string;
3
3
  end_date?: string;
4
- company_id: string;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  import { IItem } from "../../../../item.typings";
2
- import { IBaseKPIFilters } from "../../../basKPIS.typings";
3
- export interface IInventoryAndItemDetailsKPIReqFilters extends Pick<IBaseKPIFilters, "company_id"> {
2
+ export interface IInventoryAndItemDetailsKPIReqFilters {
4
3
  item_id: string;
5
4
  }
6
5
  export interface IInventoryDataUnit {
@@ -1,5 +1,4 @@
1
- import { IBaseKPIFilters } from "../../../basKPIS.typings";
2
- export interface IMainItemDashboardSummaryKPIReqFilters extends Pick<IBaseKPIFilters, "company_id"> {
1
+ export interface IMainItemDashboardSummaryKPIReqFilters {
3
2
  }
4
3
  export interface IMainItemDashboardSummaryKPIResponse {
5
4
  total_procurement_value: number | null;
@@ -1,6 +1,4 @@
1
- import { IBaseKPIFilters } from "../../../basKPIS.typings";
2
1
  export interface ITopCategoryVendorDistributionKPIReq {
3
- company_id: IBaseKPIFilters["company_id"];
4
2
  }
5
3
  export interface ITopCategoryVendorDistributionKPIUnit {
6
4
  id: string;
@@ -1,5 +1,4 @@
1
- import { IBaseKPIFilters } from "../../basKPIS.typings";
2
- export interface ICompanyVendorPurchaseFlowKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
1
+ export interface ICompanyVendorPurchaseFlowKPIFilters {
3
2
  vendor_id: string;
4
3
  }
5
4
  export interface ICompanyVendorPurchaseFlowKPIResponse {
@@ -1,5 +1,4 @@
1
- import { IBaseKPIFilters } from "../../basKPIS.typings";
2
- export interface ICompanyVendorNegotiationGainKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
1
+ export interface ICompanyVendorNegotiationGainKPIFilters {
3
2
  vendor_id: string;
4
3
  }
5
4
  export interface IRecentNegotiatedRFQData {
@@ -1,5 +1,4 @@
1
- import { IBaseKPIFilters } from "../../basKPIS.typings";
2
- export interface ITotalBusinessWithVendorKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
1
+ export interface ITotalBusinessWithVendorKPIFilters {
3
2
  company_vendor_id: string;
4
3
  }
5
4
  export interface ITotalBusinessWithVendorKPIResponse {
@@ -31,7 +31,6 @@ export declare enum MI_SOURCE {
31
31
  }
32
32
  export interface IMIFilters extends Partial<Pick<IMI, "issued_for_non_onboarded_user_id" | "issued_for_onboarded_user_id">> {
33
33
  include?: MI_INCLUDE[];
34
- company_id?: string;
35
34
  store_location_id?: string;
36
35
  list_type?: MI_LIST_TYPES;
37
36
  name?: string;
@@ -26,7 +26,6 @@ export declare enum MRN_PARENT_DOC_TYPE {
26
26
  export interface IMRNFilters {
27
27
  name?: string;
28
28
  list_type?: MRN_LIST_TYPES;
29
- company_id?: string;
30
29
  department_id?: string;
31
30
  store_location_id?: string;
32
31
  status?: MRN_STATUS;
@@ -15,6 +15,15 @@ export declare enum NOTIFICATION_INCLUDE {
15
15
  user = "user",
16
16
  vendor = "vendor"
17
17
  }
18
+ export declare enum NOTIFICAITON_CATEGORIES {
19
+ INDIVIDUAL = "INDIVIDUAL",
20
+ GROUP = "GROUP"
21
+ }
22
+ export declare enum GROUP_NOTIFICATION_TYPES {
23
+ ENTITY_DEPENDENT = "ENTITY_DEPENDENT",
24
+ PRIVILEGE_DEPENDENT = "PRIVILEGE_DEPENDENT",
25
+ ENTITY_PRIVILEGE_DEPENDENT = "ENTITY_PRIVILEGE_DEPENDENT"
26
+ }
18
27
  export interface INotification {
19
28
  id: string;
20
29
  company_id: string;
@@ -35,15 +44,24 @@ export interface INotification {
35
44
  }
36
45
  export interface INestedNotification extends Omit<INotification, "company" | "vendor" | "user"> {
37
46
  }
38
- export declare enum NOTIFICAITON_CATEGORIES {
39
- INDIVIDUAL = "INDIVIDUAL",
40
- GROUP = "GROUP"
47
+ export interface INotificationBaseFilters extends Partial<Pick<INotification, "read">> {
48
+ include?: NOTIFICATION_INCLUDE[];
41
49
  }
42
- export declare enum GROUP_NOTIFICATION_TYPES {
43
- ENTITY_DEPENDENT = "ENTITY_DEPENDENT",
44
- PRIVILEGE_DEPENDENT = "PRIVILEGE_DEPENDENT",
45
- ENTITY_PRIVILEGE_DEPENDENT = "ENTITY_PRIVILEGE_DEPENDENT"
50
+ /** --- START: Notifications for Company --- */
51
+ export interface INotificationFiltersForCompany extends INotificationBaseFilters {
52
+ }
53
+ export interface INotificationFiltersForCompanyWithPagination extends INotificationFiltersForCompany, IPaginationFilters {
54
+ }
55
+ export interface INotificationForCompanyWithTargetMonthReqFilters extends INotificationFiltersForCompany {
56
+ targetMonthDate: string;
46
57
  }
58
+ /** --- FIN: Notifications for Company --- */
59
+ /** --- START: Notifications Filters for Vendors --- */
60
+ export interface INotificationFiltersForVendor extends INotificationBaseFilters, Partial<Pick<INotification, "company_id">> {
61
+ }
62
+ export interface INotificationFilterForVendorWithPagiantion extends INotificationFiltersForVendor, IPaginationFilters {
63
+ }
64
+ /** --- FIN: NOtification Filters for Vendors --- */
47
65
  export interface IEntityDependentNotificaiton {
48
66
  type: GROUP_NOTIFICATION_TYPES.ENTITY_DEPENDENT;
49
67
  entity_type: EntityTypes;
@@ -81,18 +99,23 @@ export interface INotifcationReqData {
81
99
  notification: IIndividualNotification;
82
100
  template: INotificationTemplate;
83
101
  }
84
- export interface INotificationFilters extends Partial<Pick<INotification, "company_id" | "user_id" | "vendor_id" | "read">> {
102
+ export interface INotificationForTargetMonthResponse {
103
+ data: INotification[];
104
+ }
105
+ /** --- START: (DEPRECATED) Notification Filters --- */
106
+ /** @deprecated */
107
+ export interface INotificationFilters {
108
+ company_id?: string;
109
+ read?: boolean;
110
+ vendor_id?: string;
111
+ user_id?: string;
85
112
  include?: NOTIFICATION_INCLUDE[];
86
113
  }
114
+ /** @deprecated */
87
115
  export interface INotificationFiltersWithPagination extends INotificationFilters, IPaginationFilters {
88
116
  }
89
- export interface INotificationForTargetMonthReqFilters {
90
- company_id: string;
117
+ /** @deprecated */
118
+ export interface INotificationForTargetMonthReqFilters extends INotificationFilters {
91
119
  targetMonthDate: string;
92
- vendor_id: string | null;
93
- user_id: string | null;
94
- include?: NOTIFICATION_INCLUDE[];
95
- }
96
- export interface INotificationForTargetMonthResponse {
97
- data: INotification[];
98
120
  }
121
+ /** --- FIN: (DEPRECATED) Notification Filters */
@@ -23,3 +23,4 @@ var GROUP_NOTIFICATION_TYPES;
23
23
  GROUP_NOTIFICATION_TYPES["PRIVILEGE_DEPENDENT"] = "PRIVILEGE_DEPENDENT";
24
24
  GROUP_NOTIFICATION_TYPES["ENTITY_PRIVILEGE_DEPENDENT"] = "ENTITY_PRIVILEGE_DEPENDENT";
25
25
  })(GROUP_NOTIFICATION_TYPES || (exports.GROUP_NOTIFICATION_TYPES = GROUP_NOTIFICATION_TYPES = {}));
26
+ /** --- FIN: (DEPRECATED) Notification Filters */
@@ -9,7 +9,6 @@ import { INestedUser } from "./user.typings";
9
9
  import { IAddress } from "./common/address.typings";
10
10
  export interface IOfficeFilters {
11
11
  name?: string;
12
- company_id?: string;
13
12
  include?: OfficeInclude[];
14
13
  }
15
14
  export interface IOfficeFiltersWithPagination extends IPaginationFilters, IOfficeFilters {
@@ -50,7 +50,6 @@ export declare enum PR_INCLUDE {
50
50
  }
51
51
  export interface IPRFilters {
52
52
  include?: PR_INCLUDE[];
53
- company_id?: string;
54
53
  user_id?: string;
55
54
  name?: string;
56
55
  status?: PR_STATUS;
@@ -8,6 +8,7 @@ import { INestedRole } from "./roles.typings";
8
8
  import { INestedStoreLocation } from "./storeLocation.typings";
9
9
  import { INestedUser } from "./user.typings";
10
10
  import { IAddress } from "./common/address.typings";
11
+ import { IPaginationFilters } from "./common/paginationFilters.typings";
11
12
  export declare enum PurchaseLocationInclude {
12
13
  company = "company",
13
14
  incharge = "incharge",
@@ -44,3 +45,11 @@ export interface IPurchaseLocation extends IAddress {
44
45
  }
45
46
  export interface INestedPurchaseLocation extends Omit<IPurchaseLocation, "company" | "incharge" | "approvalConfigs" | "departments" | "roles" | "prs" | "rfqs" | "pos" | "associated_offices" | "target_store_locations"> {
46
47
  }
48
+ export interface IPurchaseLocationFilters {
49
+ name?: string;
50
+ office_ids?: string[];
51
+ store_location_ids?: string[];
52
+ include: PurchaseLocationInclude[];
53
+ }
54
+ export interface IPurchaseLocationFiltersWithPagination extends IPaginationFilters, IPurchaseLocationFilters {
55
+ }
@@ -27,7 +27,6 @@ export declare enum RFQ_TABS {
27
27
  LOGS = "LOGS"
28
28
  }
29
29
  export interface IRFQFilters {
30
- company_id?: string;
31
30
  parent_purchase_location_id?: string;
32
31
  name?: string;
33
32
  list_type?: RFQ_LIST_TYPES;
@@ -169,6 +168,10 @@ export interface IRFQItem {
169
168
  }
170
169
  export interface INestedRFQItem extends Omit<IRFQItem, "parent_rfq" | "created_by_user" | "parent_pr" | "corresponding_pr_item" | "associated_quote_items" | "parent_rfq_bom" | "item"> {
171
170
  }
171
+ export interface IRFQItemsFilters extends IPaginationFilters {
172
+ rfq_id?: string;
173
+ include?: RFQ_ITEM_INCLUDE[];
174
+ }
172
175
  export declare enum RFQ_BOM_INCLUDE {
173
176
  parent_rfq = "parent_rfq",
174
177
  bom = "bom",
@@ -30,7 +30,7 @@ export declare enum RolesInclude {
30
30
  checkpoint = "checkpoint",
31
31
  associated_queue_jobs = "associated_queue_jobs"
32
32
  }
33
- export interface IRoleFilters extends Partial<Pick<IRoles, "company_id" | "store_location_id" | "purchase_location_id" | "gate_id" | "office_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id">> {
33
+ export interface IRoleFilters extends Partial<Pick<IRoles, "store_location_id" | "purchase_location_id" | "gate_id" | "office_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id">> {
34
34
  type?: string;
35
35
  name?: string;
36
36
  department_ids?: string[];
@@ -96,3 +96,14 @@ export interface IPermissions extends Record<string | PERMISSION_ACTIONS, any> {
96
96
  }
97
97
  export interface INestedPermission extends Omit<IPermissions, "company" | "parent_role"> {
98
98
  }
99
+ export interface IPermissionFilters {
100
+ role_ids?: string[];
101
+ include?: PermissionInclude[];
102
+ document_types?: PERMISSION_RESOURCES[];
103
+ }
104
+ export interface IPermissionFiltersWithPagination extends IPaginationFilters, IPermissionFilters {
105
+ }
106
+ export declare enum PermissionInclude {
107
+ company = "company",
108
+ parent_role = "parent_role"
109
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RolesInclude = void 0;
3
+ exports.PermissionInclude = exports.RolesInclude = void 0;
4
4
  const permission_constants_1 = require("../constants/permission.constants");
5
5
  // export enum RolesInclude {
6
6
  // permissions = 'permissions',
@@ -23,3 +23,8 @@ var RolesInclude;
23
23
  RolesInclude["checkpoint"] = "checkpoint";
24
24
  RolesInclude["associated_queue_jobs"] = "associated_queue_jobs";
25
25
  })(RolesInclude || (exports.RolesInclude = RolesInclude = {}));
26
+ var PermissionInclude;
27
+ (function (PermissionInclude) {
28
+ PermissionInclude["company"] = "company";
29
+ PermissionInclude["parent_role"] = "parent_role";
30
+ })(PermissionInclude || (exports.PermissionInclude = PermissionInclude = {}));
@@ -25,7 +25,6 @@ import { INestedVES } from "./company/masters/ves.typings";
25
25
  import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
26
26
  export interface IStoreLocationFilters {
27
27
  name?: string;
28
- company_id?: string;
29
28
  served_by_purchase_location_id?: string;
30
29
  parent_store_location_id?: string;
31
30
  office_id?: string;
@@ -316,7 +316,6 @@ export declare enum UserInclude {
316
316
  }
317
317
  export interface IUserFilters {
318
318
  name?: string | null;
319
- company_id?: string | null;
320
319
  office_id?: string | null;
321
320
  store_location_id?: string | null;
322
321
  purchase_location_id?: string | null;
@@ -5,7 +5,6 @@ import { INestedRFQ } from "./rfq.typings";
5
5
  import { INestedUser } from "./user.typings";
6
6
  export interface IVendorGroupFilters {
7
7
  name?: string;
8
- company_id?: string;
9
8
  keywords?: string[];
10
9
  include?: VENDOR_GROUP_INCLUDE[];
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "14.16.0",
3
+ "version": "14.17.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",