feat: nested department sections, attaching department sections in the user editor
This commit is contained in:
@@ -13,6 +13,7 @@ import type { DeleteDepartmentSectionResponse } from '../models/DeleteDepartment
|
||||
import type { DeleteUserRequest } from '../models/DeleteUserRequest';
|
||||
import type { DeleteUserResponse } from '../models/DeleteUserResponse';
|
||||
import type { GetAvailableUsersForDepartmentSectionResponse } from '../models/GetAvailableUsersForDepartmentSectionResponse';
|
||||
import type { GetDepartmentSectionsResponse } from '../models/GetDepartmentSectionsResponse';
|
||||
import type { GetDepartmentsResponse } from '../models/GetDepartmentsResponse';
|
||||
import type { UpdateDepartmentRequest } from '../models/UpdateDepartmentRequest';
|
||||
import type { UpdateDepartmentResponse } from '../models/UpdateDepartmentResponse';
|
||||
@@ -94,6 +95,17 @@ export class DepartmentService {
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Get Sections
|
||||
* @returns GetDepartmentSectionsResponse Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getSections(): CancelablePromise<GetDepartmentSectionsResponse> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/department/section',
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Create Section
|
||||
* @returns CreateDepartmentSectionResponse Successful Response
|
||||
|
||||
Reference in New Issue
Block a user