kcommons 5.19.5 → 5.19.7
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.
|
@@ -108,12 +108,16 @@ export declare const companyNavConfig: {
|
|
|
108
108
|
view: (grn_id: string) => string;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
|
|
111
|
+
vendorMaster: {
|
|
112
112
|
vendorGroups: {
|
|
113
113
|
list: string;
|
|
114
114
|
add: string;
|
|
115
115
|
edit: (vendor_group_id: string) => string;
|
|
116
116
|
view: (vendor_group_id: string) => string;
|
|
117
117
|
};
|
|
118
|
+
companyVendors: {
|
|
119
|
+
list: string;
|
|
120
|
+
view: (companyVendorId: string) => string;
|
|
121
|
+
};
|
|
118
122
|
};
|
|
119
123
|
};
|
|
@@ -111,12 +111,16 @@ exports.companyNavConfig = {
|
|
|
111
111
|
view: (grn_id) => `/gate/grn/${grn_id}/view`,
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
|
-
|
|
114
|
+
vendorMaster: {
|
|
115
115
|
vendorGroups: {
|
|
116
116
|
list: `/vendors/vendor-groups`,
|
|
117
117
|
add: `/vendors/vendor-groups/add`,
|
|
118
118
|
edit: (vendor_group_id) => `/vendors/vendor-groups/${vendor_group_id}/edit`,
|
|
119
119
|
view: (vendor_group_id) => `/vendors/vendor-groups/${vendor_group_id}/view`,
|
|
120
120
|
},
|
|
121
|
+
companyVendors: {
|
|
122
|
+
list: "/vendors/vendor-list",
|
|
123
|
+
view: (companyVendorId) => `/vendors/vendor-list/${companyVendorId}`,
|
|
124
|
+
},
|
|
121
125
|
},
|
|
122
126
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { EntityTypes } from "../constants/entityTypes.constants";
|
|
1
2
|
import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
2
3
|
import { INestedBOM } from "./bom.typings";
|
|
4
|
+
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
3
5
|
import { INestedCompany } from "./company.typings";
|
|
4
6
|
import { INestedComparative } from "./comparative.typings";
|
|
5
7
|
import { INestedDepartment } from "./department.typings";
|
|
@@ -114,3 +116,18 @@ export declare enum UserInclude {
|
|
|
114
116
|
comparatives_sent_for_approval = "comparatives_sent_for_approval",
|
|
115
117
|
user_notifications = "user_notifications"
|
|
116
118
|
}
|
|
119
|
+
export interface IUserFilters {
|
|
120
|
+
name?: string;
|
|
121
|
+
company_id?: string;
|
|
122
|
+
role_id?: string;
|
|
123
|
+
office_id?: string;
|
|
124
|
+
store_location_id?: string;
|
|
125
|
+
purchase_location_id?: string;
|
|
126
|
+
department_id?: string;
|
|
127
|
+
is_admin?: boolean;
|
|
128
|
+
role_ids?: string[];
|
|
129
|
+
type?: EntityTypes;
|
|
130
|
+
include?: UserInclude[];
|
|
131
|
+
}
|
|
132
|
+
export interface IUserFiltersWithPagination extends IPaginationFilters, IUserFilters {
|
|
133
|
+
}
|