@ieeesa-npm/tenants 0.2.1 → 0.2.3

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 (25) hide show
  1. package/esm2022/lib/assets/constants.json +56 -2
  2. package/esm2022/lib/assets/tenant-validations.mjs +5 -2
  3. package/esm2022/lib/components/create-modify-role/create-modify-role.component.mjs +215 -0
  4. package/esm2022/lib/components/tenant-basic-details/tenant-basic-details.component.mjs +3 -3
  5. package/esm2022/lib/components/view-tenant-details/view-tenant-details.component.mjs +133 -10
  6. package/esm2022/lib/components/view-tenants-list/view-tenants-list.component.mjs +1 -1
  7. package/esm2022/lib/models/role-menu-action.model.mjs +7 -0
  8. package/esm2022/lib/models/role-type.model.mjs +2 -0
  9. package/esm2022/lib/models/roles-and-permissions.model.mjs +1 -1
  10. package/esm2022/lib/models/tenant-function-type.model.mjs +3 -1
  11. package/esm2022/lib/services/tenant-applications.service.mjs +90 -3
  12. package/esm2022/public-api.mjs +4 -1
  13. package/fesm2022/ieeesa-npm-tenants.mjs +500 -18
  14. package/fesm2022/ieeesa-npm-tenants.mjs.map +1 -1
  15. package/lib/assets/tenant-validations.d.ts +3 -0
  16. package/lib/components/create-modify-role/create-modify-role.component.d.ts +85 -0
  17. package/lib/components/tenant-basic-details/tenant-basic-details.component.d.ts +54 -0
  18. package/lib/components/view-tenant-details/view-tenant-details.component.d.ts +32 -2
  19. package/lib/models/role-menu-action.model.d.ts +4 -0
  20. package/lib/models/role-type.model.d.ts +27 -0
  21. package/lib/models/roles-and-permissions.model.d.ts +43 -5
  22. package/lib/models/tenant-function-type.model.d.ts +3 -1
  23. package/lib/services/tenant-applications.service.d.ts +55 -4
  24. package/package.json +1 -1
  25. package/public-api.d.ts +3 -0
@@ -6,3 +6,6 @@ export declare const TenantsValidationPatterns: {
6
6
  url: RegExp;
7
7
  alphaNumeric: RegExp;
8
8
  };
9
+ export declare const RolesValidation: {
10
+ roleNameMaxLength: number;
11
+ };
@@ -0,0 +1,85 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { FormGroup } from '@angular/forms';
4
+ import { AlignType, DynamicFormComponent, FormGrid, FormModel, SelectOption } from '@ieeesa-npm/presentation';
5
+ import { TenantApplicationsService } from '../../services/tenant-applications.service';
6
+ import { SharedService } from '@ieeesa-npm/shared';
7
+ import { TenantFunctionType } from '../../models/tenant-function-type.model';
8
+ import { TenantBasicInfo } from '../../models/tenant.model';
9
+ import { CreateRoleRequestPayload } from '../../models/roles-and-permissions.model';
10
+ import * as i0 from "@angular/core";
11
+ export declare class CreateModifyRoleComponent implements OnInit, OnDestroy {
12
+ private tenantAppService;
13
+ private sharedService;
14
+ destroy$: Subject<boolean>;
15
+ constants: any;
16
+ createRoleTexts: any;
17
+ leftButtonLabel: any;
18
+ rightButtonLabel: any;
19
+ colWidth: FormGrid;
20
+ createRoleFormGroup: FormModel;
21
+ createRoleFormGroupRef: FormGroup;
22
+ actionButtonAlign: AlignType;
23
+ dynamicFormComponent: DynamicFormComponent;
24
+ submitFormResponse: EventEmitter<any>;
25
+ formCancel: EventEmitter<any>;
26
+ tenantFunctionType: TenantFunctionType;
27
+ selectedTenantInfo: TenantBasicInfo | undefined;
28
+ createRolePayload: CreateRoleRequestPayload;
29
+ roleTypeOptions: SelectOption[];
30
+ constructor(tenantAppService: TenantApplicationsService, sharedService: SharedService);
31
+ ngOnInit(): void;
32
+ /**
33
+ * Gets the role types and updates the form control.
34
+ * @memberof CreateRoleComponent
35
+ */
36
+ getRoleTypes(): void;
37
+ /**
38
+ * Initialize the create role form group array.
39
+ * @memberof CreateRoleComponent
40
+ */
41
+ initializeCreateRoleFormGroup(): void;
42
+ /**
43
+ * Gets create role form group reference.
44
+ * @param {FormGroup[]} form
45
+ * @memberof CreateRoleComponent
46
+ */
47
+ getCreateRoleFormGroupRef(form: FormGroup[]): void;
48
+ /**
49
+ * Updates createRoleFormGroupRef on add role form change event.
50
+ * @param {FormGroup[]} form
51
+ * @memberof CreateRoleComponent
52
+ */
53
+ onCreateRoleFormChange(form: FormGroup[]): void;
54
+ /**
55
+ * Creates a new role on form submission and the form is valid.
56
+ * @param {FormGroup[]} form
57
+ * @memberof CreateRoleComponent
58
+ */
59
+ onCreateRoleFormSubmit(form: FormGroup[]): void;
60
+ /**
61
+ * Constructs create role payload from the form data and returns.
62
+ * @param {*} formData
63
+ * @return {CreateRoleRequestPayload}
64
+ * @memberof CreateRoleComponent
65
+ */
66
+ getCreateRolePayload(formData: any): CreateRoleRequestPayload;
67
+ /**
68
+ * Post the creates new role form data to the server on form submission to create a new role.
69
+ * * @param {CreateRoleRequestPayload} createRolePayload
70
+ * @memberof CreateRoleComponent
71
+ */
72
+ createRole(): void;
73
+ /**
74
+ * Emits form cancel event.
75
+ * @memberof CreateRoleComponent
76
+ */
77
+ onFormCancel(): void;
78
+ /**
79
+ * Implementation of ngOnDestroy lifecycle hook method to unsubscribe the open observable subscriptions.
80
+ * @memberof CreateRoleComponent
81
+ */
82
+ ngOnDestroy(): void;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateModifyRoleComponent, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateModifyRoleComponent, "ieeesa-create-modify-role", never, {}, { "submitFormResponse": "submitFormResponse"; "formCancel": "formCancel"; }, never, never, true, never>;
85
+ }
@@ -127,6 +127,48 @@ export declare class TenantBasicDetailsComponent implements OnDestroy {
127
127
  addApplicationLabel: string;
128
128
  };
129
129
  };
130
+ createRole: {
131
+ heading: string;
132
+ label: {
133
+ leftButtonLabel: string;
134
+ rightButtonLabel: string;
135
+ appTitle: string;
136
+ roleType: string;
137
+ roleName: string;
138
+ ariaLabel: {
139
+ appTitle: string;
140
+ roleType: string;
141
+ roleName: string;
142
+ };
143
+ ariaDescribedById: {
144
+ appTitle: string;
145
+ roleType: string;
146
+ roleName: string;
147
+ };
148
+ };
149
+ message: {
150
+ error: {
151
+ required: string;
152
+ };
153
+ success: {
154
+ submission1: string;
155
+ submission2: string;
156
+ submission3: string;
157
+ };
158
+ };
159
+ supportText: {
160
+ roleType: string;
161
+ roleName: string;
162
+ };
163
+ errors: {
164
+ "3012": string;
165
+ "3013": string;
166
+ "3014": string;
167
+ "3015": string;
168
+ "3016": string;
169
+ "3011": string;
170
+ };
171
+ };
130
172
  editTenant: {
131
173
  message: {
132
174
  success: {
@@ -174,13 +216,18 @@ export declare class TenantBasicDetailsComponent implements OnDestroy {
174
216
  ariaLabel: {
175
217
  alert: string;
176
218
  };
219
+ deleteRoleConfirmationMessage: string;
220
+ deleteRolePromptMessage: string;
177
221
  };
178
222
  errors: {
179
223
  "2050": string;
180
224
  "2051": string;
181
225
  "2054": string;
182
226
  "3007": string;
227
+ "3008": string;
183
228
  "3009": string;
229
+ "3010": string;
230
+ "3011": string;
184
231
  };
185
232
  tenantAccordionInfo: {
186
233
  id: number;
@@ -229,6 +276,13 @@ export declare class TenantBasicDetailsComponent implements OnDestroy {
229
276
  isToolTipNeeded: boolean;
230
277
  }[];
231
278
  };
279
+ deleteRole: {
280
+ message: {
281
+ success: {
282
+ submission: string;
283
+ };
284
+ };
285
+ };
232
286
  routeConfigPath: {
233
287
  viewTenants: string;
234
288
  viewTenantDetails: string;
@@ -1,15 +1,16 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { BreakpointObserverService, GlobalErrorHandlerService } from '@ieeesa-npm/utility';
3
- import { AccordionInfo, Menu, PaginatorConfig, TableActions, AlignType, RadioOption, IconButton, SlideToggleOption, TableColumnSchema, AccordionDetails } from '@ieeesa-npm/presentation';
3
+ import { AccordionInfo, Menu, PaginatorConfig, TableActions, AlignType, RadioOption, IconButton, SlideToggleOption, TableColumnSchema, AccordionDetails, TableColumnMenuInfo } from '@ieeesa-npm/presentation';
4
4
  import { Subject } from 'rxjs';
5
5
  import { TenantApplicationsService } from '../../services/tenant-applications.service';
6
6
  import { TenantsPermissions, UserPermission } from '../../models/tenants-permission.model';
7
7
  import { SharedService } from '@ieeesa-npm/shared';
8
8
  import { TenantsRoutesConfig } from '../../models/route-config.model';
9
9
  import { TenantBasicInfo } from '../../models/tenant.model';
10
+ import { TenantFunctionType } from '../../models/tenant-function-type.model';
10
11
  import { PageEvent } from '@angular/material/paginator';
11
12
  import { MatDialog } from '@angular/material/dialog';
12
- import { GetRolesAndPermissionsPayload, RolesAndPermissions } from '../../models/roles-and-permissions.model';
13
+ import { GetRolesAndPermissionsPayload, RolesAndPermissions, PaginationInfo, RoleDetails } from '../../models/roles-and-permissions.model';
13
14
  import { PermissionType } from '../../models/permission-type.model';
14
15
  import * as i0 from "@angular/core";
15
16
  export declare class ViewTenantDetailsComponent implements OnInit, OnDestroy {
@@ -45,6 +46,7 @@ export declare class ViewTenantDetailsComponent implements OnInit, OnDestroy {
45
46
  tableData: RolesAndPermissions[];
46
47
  isRolesAndPermissionsExpanded: boolean;
47
48
  paginatorConfig: PaginatorConfig;
49
+ tablePagination: PaginationInfo;
48
50
  rolesAndPermissionsClassName: string;
49
51
  headerElementClassName: string;
50
52
  tableActions: TableActions;
@@ -54,9 +56,14 @@ export declare class ViewTenantDetailsComponent implements OnInit, OnDestroy {
54
56
  appTypeOptions: RadioOption[];
55
57
  isBasicDetailsExpanded: boolean;
56
58
  editTenantScreenTexts: any;
59
+ deleteRoleScreenTexts: any;
57
60
  alignmentType: typeof AlignType;
58
61
  userTenantsPermissions: TenantsPermissions[];
59
62
  permissionType: typeof PermissionType;
63
+ functionType: TenantFunctionType;
64
+ createRoleScreenTexts: any;
65
+ roleMenuElement: HTMLElement;
66
+ selectedRoleInfo: RoleDetails;
60
67
  constructor(dialog: MatDialog, breakpointObserverService: BreakpointObserverService, tenantAppService: TenantApplicationsService, globalErrorHandlerService: GlobalErrorHandlerService, sharedService: SharedService);
61
68
  /**
62
69
  * Initializes view tenant details component.
@@ -93,11 +100,18 @@ export declare class ViewTenantDetailsComponent implements OnInit, OnDestroy {
93
100
  * @memberof ViewTenantDetailsComponent
94
101
  */
95
102
  onTablePaginationChange(pageEvent: PageEvent): void;
103
+ /**
104
+ * Captures the selected role's information and performs edit or delete action basis on the selected menu item.
105
+ * @param {TableColumnMenuInfo} roleMenuInfo
106
+ * @memberof ViewTenantDetailsComponent
107
+ */
108
+ onRoleMenuClick(roleMenuInfo: TableColumnMenuInfo): void;
96
109
  /**
97
110
  * Keeps track of the accordion based on the element's ID in DOM tree.
98
111
  * @memberof ViewTenantDetailsComponent
99
112
  */
100
113
  trackByAccordionFn(index: number, item: AccordionInfo): number;
114
+ openCreateRoleForm(): void;
101
115
  /**
102
116
  * Sets the dialog options for edit tenant modal and calls openModal method.
103
117
  * @return -returns nothing
@@ -148,6 +162,22 @@ export declare class ViewTenantDetailsComponent implements OnInit, OnDestroy {
148
162
  * @memberof ViewTenantDetailsComponent
149
163
  */
150
164
  validateAccess(permissionType: PermissionType): boolean;
165
+ /**
166
+ * Posts the details of the role to be deleted to the server using http request and display success/error message based on request response (success or failure).
167
+ * @memberof ViewTenantDetailsComponent
168
+ */
169
+ deleteRole(): void;
170
+ /**
171
+ * Sets the role menu HTMLElement.
172
+ * @param {HTMLElement} menuButton
173
+ * @memberof ViewTenantDetailsComponent
174
+ */
175
+ selectedRoleMenuElement(menuButton: HTMLElement): void;
176
+ /**
177
+ * Opens the confirmation modal to get user confirmation to delete the role.
178
+ * @memberof ViewTenantDetailsComponent
179
+ */
180
+ openDeleteRoleModal(): void;
151
181
  /**
152
182
  * Performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
153
183
  * @memberof ViewTenantDetailsComponent
@@ -0,0 +1,4 @@
1
+ export declare enum RoleMenuAction {
2
+ EDIT_ROLE = 1,
3
+ DELETE_ROLE = 2
4
+ }
@@ -0,0 +1,27 @@
1
+ export interface RoleType {
2
+ roleTypeName: string;
3
+ viewOrder: number;
4
+ }
5
+ export interface RoleTypeConfiguration {
6
+ configFieldId: string;
7
+ configFieldValue: RoleType;
8
+ }
9
+ export interface RoleTypeResponse {
10
+ status: boolean;
11
+ message: string;
12
+ body: RoleTypeConfiguration[] | null | {
13
+ errorCodes: string[];
14
+ };
15
+ }
16
+ export interface RoleTypeOption {
17
+ id: string | number;
18
+ name: string;
19
+ order: number;
20
+ }
21
+ export interface RoleTypePayload {
22
+ appId: string;
23
+ configFieldName: string;
24
+ }
25
+ export interface GetRoleTypesPayload {
26
+ payload: RoleTypePayload;
27
+ }
@@ -5,6 +5,9 @@ export interface RolesAndPermissions {
5
5
  export interface Role {
6
6
  roleId: string;
7
7
  roleName: string;
8
+ roleType: string;
9
+ roleTypeName: string;
10
+ viewOrder: number;
8
11
  }
9
12
  export interface GetRolesResponse {
10
13
  status: boolean;
@@ -13,16 +16,21 @@ export interface GetRolesResponse {
13
16
  errorCodes: string[];
14
17
  };
15
18
  }
19
+ export interface PaginationInfo {
20
+ offset: number;
21
+ pageSize: number;
22
+ }
16
23
  export interface GetRolesAndPermissionsPayload {
17
- payload: {
18
- offset: number;
19
- pageSize: number;
20
- };
24
+ payload: PaginationInfo;
25
+ }
26
+ export interface RoleDetails {
27
+ roleId: string;
28
+ roleName: string;
21
29
  }
22
30
  export interface RolesAndPermissionsMapping {
23
31
  permissionId: string;
24
32
  permissionName: string;
25
- roleList: Role[];
33
+ roleList: RoleDetails[];
26
34
  }
27
35
  export interface GetRolesAndPermissionsResponse {
28
36
  status: boolean;
@@ -34,3 +42,33 @@ export interface GetRolesAndPermissionsResponse {
34
42
  };
35
43
  };
36
44
  }
45
+ export interface RoleInfo {
46
+ roleType: string;
47
+ roleName: string;
48
+ }
49
+ export interface CreateRoleInfo extends RoleInfo {
50
+ appId: string;
51
+ }
52
+ export interface CreateRoleRequestPayload {
53
+ payload: CreateRoleInfo;
54
+ }
55
+ export interface CreateRoleResponse {
56
+ status: boolean;
57
+ message: string;
58
+ body?: string | null | {
59
+ errorCodes: string[];
60
+ };
61
+ }
62
+ export interface DeleteRoleRequestPayload {
63
+ payload: {
64
+ roleId: string;
65
+ appId: string;
66
+ };
67
+ }
68
+ export interface DeleteRoleResponse {
69
+ status: boolean;
70
+ message: string;
71
+ body?: string | null | {
72
+ errorCodes: string[];
73
+ };
74
+ }
@@ -1,4 +1,6 @@
1
1
  export declare enum TenantFunctionType {
2
2
  CREATE = "CREATE",
3
- EDIT = "EDIT"
3
+ EDIT = "EDIT",
4
+ CREATE_ROLE = "CREATE_ROLE",
5
+ EDIT_ROLE = "EDIT_ROLE"
4
6
  }
@@ -10,8 +10,9 @@ import { FeatureId, Features, GetFeaturesResponse } from '../models/features.mod
10
10
  import { AppTypeConfig, GetAppTypesResponse } from '../models/app-type-config.model';
11
11
  import { TenantPermissionsService } from './tenant-permissions.service';
12
12
  import { TenantFunctionType } from '../models/tenant-function-type.model';
13
- import { GetRolesAndPermissionsPayload, GetRolesAndPermissionsResponse, GetRolesResponse } from '../models/roles-and-permissions.model';
13
+ import { CreateRoleResponse, GetRolesAndPermissionsPayload, GetRolesAndPermissionsResponse, GetRolesResponse, RoleInfo, CreateRoleRequestPayload, DeleteRoleRequestPayload, DeleteRoleResponse, Role } from '../models/roles-and-permissions.model';
14
14
  import { UpdateTenantStatusRequestPayload, UpdateTenantStatusResponse } from '../models/update-tenant-status.model';
15
+ import { GetRoleTypesPayload, RoleTypeConfiguration, RoleTypeOption, RoleTypeResponse } from '../models/role-type.model';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare class TenantApplicationsService {
17
18
  private httpService;
@@ -22,7 +23,10 @@ export declare class TenantApplicationsService {
22
23
  "2051": string;
23
24
  "2054": string;
24
25
  "3007": string;
26
+ "3008": string;
25
27
  "3009": string;
28
+ "3010": string;
29
+ "3011": string;
26
30
  };
27
31
  apiBaseUrl: string;
28
32
  userPermission: UserPermission[];
@@ -41,12 +45,12 @@ export declare class TenantApplicationsService {
41
45
  "2035": string;
42
46
  "2036": string;
43
47
  "2037": string;
48
+ "2038": string;
44
49
  /**
45
- * Returns the tenants information
46
- * @return {TenantBasicInfo}
50
+ * Sets the user tenants information
51
+ * @param {TenantBasicInfo} tenantInfo
47
52
  * @memberof TenantApplicationsService
48
53
  */
49
- "2038": string;
50
54
  "2039": string;
51
55
  "2040": string;
52
56
  "2041": string;
@@ -68,6 +72,8 @@ export declare class TenantApplicationsService {
68
72
  checkBoxOptions: CheckboxOption[];
69
73
  appTypeInfo: RadioOption[];
70
74
  featureList: Features[];
75
+ roleTypeOptions: RoleTypeOption[];
76
+ newlyCreatedRole: RoleInfo;
71
77
  constructor(httpService: HttpService, tenantPermissionsService: TenantPermissionsService, tenantPermissionsMapService: TenantPermissionsMapService);
72
78
  setAppConfig(apiBaseUrl: string, userPermission: UserPermission[]): void;
73
79
  /**
@@ -160,6 +166,27 @@ export declare class TenantApplicationsService {
160
166
  * @memberof TenantApplicationsService
161
167
  */
162
168
  getApplicationTypes(): Observable<GetAppTypesResponse>;
169
+ /**
170
+ * Posts create role form data to server using HttpService to create a new role.
171
+ * @param {CreateRoleRequestPayload} createRolePayload
172
+ * @return {Observable<CreateRoleResponse>}
173
+ * @memberof TenantApplicationsService
174
+ */
175
+ createRole(createRolePayload: CreateRoleRequestPayload): Observable<CreateRoleResponse>;
176
+ /**
177
+ * Gets list of role types from server using HttpService.
178
+ * @param {GetRoleTypesPayload} payload
179
+ * @return {Observable<RoleTypeResponse>}
180
+ * @memberof TenantApplicationsService
181
+ */
182
+ getRoleTypes(payload: GetRoleTypesPayload): Observable<RoleTypeResponse>;
183
+ /**
184
+ * Constructs the select/dropdown options from the role types received from server.
185
+ * @param {RoleTypeConfiguration[]} roleTypeResponse
186
+ * @return {RoleTypeOption[]}
187
+ * @memberof TenantApplicationsService
188
+ */
189
+ getRoleTypeOptions(roleTypeResponse: RoleTypeConfiguration[]): RoleTypeOption[];
163
190
  /**
164
191
  * Posts tenant application form data to server using HttpService for creating new tenant application.
165
192
  * @param {CreateTenantPayload} createTenantPayload
@@ -204,6 +231,16 @@ export declare class TenantApplicationsService {
204
231
  * @return {TenantFunctionType} -tenant function type.
205
232
  */
206
233
  getTenantFunctionType(): TenantFunctionType;
234
+ /**
235
+ * Stores the newly created role information.
236
+ * @param {RoleInfo} newlyCreatedRole -create role information.
237
+ */
238
+ setNewlyCreatedRoleInfo(newlyCreatedRole: RoleInfo): void;
239
+ /**
240
+ * Returns the newly created role information.
241
+ * @return {RoleInfo} -create role information.
242
+ */
243
+ getNewlyCreatedRoleInfo(): RoleInfo;
207
244
  /**
208
245
  * Posts the edited tenant application form data to server using HttpService for updating the tenant information.
209
246
  * @param {CreateTenantPayload} editTenantPayload
@@ -225,6 +262,20 @@ export declare class TenantApplicationsService {
225
262
  * @memberof TenantApplicationsService
226
263
  */
227
264
  getFeaturesList(features: CheckboxOption[]): Features[];
265
+ /**
266
+ * Returns sorted role list data.
267
+ * @param {Role[]} roleList
268
+ * @return {Role[]}
269
+ * @memberof TenantApplicationsService
270
+ */
271
+ sortRolesByRoleType(roleList: Role[]): Role[];
272
+ /**
273
+ * Posts the role details to server using HttpService for deleting the role.
274
+ * @param {DeleteRoleRequestPayload} deleteRoleRequestPayload
275
+ * @return {Observable<DeleteRoleResponse>}
276
+ * @memberof TenantApplicationsService
277
+ */
278
+ deleteRole(deleteRolePayload: DeleteRoleRequestPayload): Observable<DeleteRoleResponse>;
228
279
  static ɵfac: i0.ɵɵFactoryDeclaration<TenantApplicationsService, never>;
229
280
  static ɵprov: i0.ɵɵInjectableDeclaration<TenantApplicationsService>;
230
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/tenants",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"
package/public-api.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './lib/components/view-tenant-details/view-tenant-details.componen
3
3
  export * from './lib/components/create-tenant-application/create-tenant-application.component';
4
4
  export * from './lib/tenant-applications.component';
5
5
  export * from './lib/components/tenant-basic-details/tenant-basic-details.component';
6
+ export * from './lib/components/create-modify-role/create-modify-role.component';
6
7
  export * from './lib/models/app-type-config.model';
7
8
  export * from './lib/models/app-type.model';
8
9
  export * from './lib/models/tenant.model';
@@ -15,6 +16,8 @@ export * from './lib/models/table-column-schema-view-tenant-list.model';
15
16
  export * from './lib/models/roles-and-permissions.model';
16
17
  export * from './lib/models/update-tenant-status.model';
17
18
  export * from './lib/models/tenant-function-type.model';
19
+ export * from './lib/models/role-type.model';
20
+ export * from './lib/models/role-menu-action.model';
18
21
  export * from './lib/services/tenant-applications.service';
19
22
  export * from './lib/services/tenant-permissions-map.service';
20
23
  export * from './lib/services/tenant-permissions.service';