From 94f5a6bf30cbd29a389e10f29ddc3ac8d39dc88f Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 2 May 2025 05:42:21 +0300 Subject: [PATCH 01/44] feat: add placeholder for existing students invitation --- .../src/components/Courses/Course.tsx | 117 +++++++++++++++++- 1 file changed, 112 insertions(+), 5 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index fc78d9ad9..a32ca51d0 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -21,7 +21,8 @@ import { MenuItem, Stack, Tooltip, - Typography + Typography, + TextField } from "@mui/material"; import {CourseExperimental} from "./CourseExperimental"; import {useParams, useNavigate} from 'react-router-dom'; @@ -35,6 +36,9 @@ import {useSnackbar} from 'notistack'; import QrCode2Icon from '@mui/icons-material/QrCode2'; import {MoreVert} from "@mui/icons-material"; import {DotLottieReact} from "@lottiefiles/dotlottie-react"; +import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; +import Avatar from "@material-ui/core/Avatar"; +import ValidationUtils from "../Utils/ValidationUtils"; type TabValue = "homeworks" | "stats" | "applications" @@ -57,12 +61,98 @@ interface ICourseState { isReadingMode: boolean; studentSolutions: StatisticsCourseMatesModel[]; showQrCode: boolean; + showInviteStudent: boolean; } interface IPageState { tabValue: TabValue } +const InviteStudentModal: FC<{isOpen: boolean, onClose: () => void}> = ({isOpen, onClose}) => { + const [email, setEmail] = useState(""); + const [errors, setErrors] = useState([]); + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + if (!ValidationUtils.isCorrectEmail(email)) { + setErrors(['Некорректный адрес электронной почты']); + return; + } + // Placeholder for future functionality + onClose(); + }; + + return ( + + + + + + + + + + + Пригласить студента + + + + + + + {errors.length > 0 && ( +

{errors}

+ )} +
+
+ + + setEmail(e.target.value)} + /> + + + + + + + + + + +
+
+
+ ); +}; + const Course: React.FC = (props: ICourseProps) => { const {courseId, tab} = useParams() const [searchParams] = useSearchParams() @@ -79,7 +169,8 @@ const Course: React.FC = (props: ICourseProps) => { newStudents: [], isReadingMode: props.isReadingMode ?? true, studentSolutions: [], - showQrCode: false + showQrCode: false, + showInviteStudent: false }) const [studentSolutions, setStudentSolutions] = useState([]) const [courseFilesInfo, setCourseFilesInfo] = useState([]) @@ -97,6 +188,7 @@ const Course: React.FC = (props: ICourseProps) => { acceptedStudents, isReadingMode, courseHomeworks, + showInviteStudent } = courseState const userId = ApiSingleton.authService.getUserId() @@ -114,10 +206,10 @@ const Course: React.FC = (props: ICourseProps) => { const showApplicationsTab = isCourseMentor const changeTab = (newTab: string) => { - if (isAcceptableTabValue(newTab) && newTab !== pageState.tabValue) { + if (isAcceptableTabValue(newTab)) { if (newTab === "stats" && !showStatsTab) return; if (newTab === "applications" && !showApplicationsTab) return; - + setPageState(prevState => ({ ...prevState, tabValue: newTab @@ -242,6 +334,17 @@ const Course: React.FC = (props: ICourseProps) => { Поделиться + {isLecturer && + setCourseState(prevState => ({ + ...prevState, + showInviteStudent: true + }))}> + + + + Пригласить студента + + } {isCourseMentor && isLecturer && setLecturerStatsState(true)}> @@ -256,6 +359,10 @@ const Course: React.FC = (props: ICourseProps) => { if (isFound) { return (
+ setCourseState(prevState => ({...prevState, showInviteStudent: false}))} + /> setCourseState(prevState => ({...prevState, showQrCode: false}))} @@ -545,4 +652,4 @@ const Course: React.FC = (props: ICourseProps) => {
} -export default Course +export default Course \ No newline at end of file From afdfa212b0ee60bc46b26fedf15fb19a6ba5d413 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 4 May 2025 10:19:26 +0300 Subject: [PATCH 02/44] feat: implement invites for existent students --- .../Controllers/CoursesController.cs | 12 + .../InviteExistentStudentViewModel.cs | 8 + hwproj.front/src/App.tsx | 7 +- hwproj.front/src/api/api.ts | 2416 +++++++++-------- .../src/components/Courses/Course.tsx | 387 +-- 5 files changed, 1382 insertions(+), 1448 deletions(-) create mode 100644 HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index c66bd615a..cde1c7a6e 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -306,5 +306,17 @@ private async Task ToCourseViewModel(CourseDTO course) IsOpen = course.IsOpen, }; } + + [HttpPost("inviteExistentStudent")] + [Authorize(Roles = Roles.LecturerRole)] + public async Task inviteExistentStudent([FromBody] InviteExistentStudentViewModel model) + { + var student = await AuthServiceClient.FindByEmailAsync(model.Email); + + await _coursesClient.SignInCourse(model.CourseId, student); + await _coursesClient.AcceptStudent(model.CourseId, student); + + return Ok(); + } } } diff --git a/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs b/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs new file mode 100644 index 000000000..3929f67d4 --- /dev/null +++ b/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs @@ -0,0 +1,8 @@ +namespace HwProj.Models.AuthService.ViewModels +{ + public class InviteExistentStudentViewModel + { + public long CourseId { get; set; } + public string Email { get; set; } + } +} \ No newline at end of file diff --git a/hwproj.front/src/App.tsx b/hwproj.front/src/App.tsx index bd004536e..ef4d4a1e9 100644 --- a/hwproj.front/src/App.tsx +++ b/hwproj.front/src/App.tsx @@ -12,8 +12,6 @@ import TaskSolutionsPage from "./components/Solutions/TaskSolutionsPage"; import {AppBarContextAction, appBarStateManager, Header} from "./components/AppBar"; import Login from "./components/Auth/Login"; import EditCourse from "./components/Courses/EditCourse"; -import EditTask from "./components/Tasks/EditTask"; -import EditHomework from "./components/Homeworks/EditHomework"; import Register from "./components/Auth/Register"; import ExpertsNotebook from "./components/Experts/Notebook"; import StudentSolutionsPage from "./components/Solutions/StudentSolutionsPage"; @@ -118,10 +116,7 @@ class App extends Component<{ navigate: any }, AppState> { }/> }/> }/> - }/> }/> - }/> - }/> }/> }/> @@ -140,4 +135,4 @@ class App extends Component<{ navigate: any }, AppState> { } } -export default withRouter(App); +export default withRouter(App); \ No newline at end of file diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index f8f840ec9..80696cb50 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -1,11 +1,11 @@ -/// +/// // tslint:disable /** * API Gateway * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 - * + * * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git @@ -78,218 +78,218 @@ export class RequiredError extends Error { } /** - * + * * @export * @interface AccountDataDto */ export interface AccountDataDto { /** - * + * * @type {string} * @memberof AccountDataDto */ userId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ name?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ surname?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ email?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof AccountDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof AccountDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ bio?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ companyName?: string; } /** - * + * * @export * @interface ActionOptions */ export interface ActionOptions { /** - * + * * @type {boolean} * @memberof ActionOptions */ sendNotification?: boolean; } /** - * + * * @export * @interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - * + * * @type {number} * @memberof AddAnswerForQuestionDto */ questionId?: number; /** - * + * * @type {string} * @memberof AddAnswerForQuestionDto */ answer?: string; } /** - * + * * @export * @interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - * + * * @type {number} * @memberof AddTaskQuestionDto */ taskId?: number; /** - * + * * @type {string} * @memberof AddTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - * + * * @export * @interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - * + * * @type {CoursePreview} * @memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - * + * * @export * @interface BooleanResult */ export interface BooleanResult { /** - * + * * @type {boolean} * @memberof BooleanResult */ value?: boolean; /** - * + * * @type {boolean} * @memberof BooleanResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof BooleanResult */ errors?: Array; } /** - * + * * @export * @interface CategorizedNotifications */ export interface CategorizedNotifications { /** - * + * * @type {CategoryState} * @memberof CategorizedNotifications */ category?: CategoryState; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ seenNotifications?: Array; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - * + * * @export * @enum {string} */ @@ -300,1593 +300,1612 @@ export enum CategoryState { NUMBER_3 = 3 } /** - * + * * @export * @interface CourseEvents */ export interface CourseEvents { /** - * + * * @type {number} * @memberof CourseEvents */ id?: number; /** - * + * * @type {string} * @memberof CourseEvents */ name?: string; /** - * + * * @type {string} * @memberof CourseEvents */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseEvents */ isCompleted?: boolean; /** - * + * * @type {number} * @memberof CourseEvents */ newStudentsCount?: number; } /** - * + * * @export * @interface CoursePreview */ export interface CoursePreview { /** - * + * * @type {number} * @memberof CoursePreview */ id?: number; /** - * + * * @type {string} * @memberof CoursePreview */ name?: string; /** - * + * * @type {string} * @memberof CoursePreview */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreview */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreview */ mentorIds?: Array; /** - * + * * @type {number} * @memberof CoursePreview */ taskId?: number; } /** - * + * * @export * @interface CoursePreviewView */ export interface CoursePreviewView { /** - * + * * @type {number} * @memberof CoursePreviewView */ id?: number; /** - * + * * @type {string} * @memberof CoursePreviewView */ name?: string; /** - * + * * @type {string} * @memberof CoursePreviewView */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreviewView */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreviewView */ mentors?: Array; /** - * + * * @type {number} * @memberof CoursePreviewView */ taskId?: number; } /** - * + * * @export * @interface CourseViewModel */ export interface CourseViewModel { /** - * + * * @type {number} * @memberof CourseViewModel */ id?: number; /** - * + * * @type {string} * @memberof CourseViewModel */ name?: string; /** - * + * * @type {string} * @memberof CourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isOpen?: boolean; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CourseViewModel */ mentors?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ acceptedStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ newStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ homeworks?: Array; } /** - * + * * @export * @interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - * + * * @type {string} * @memberof CreateCourseViewModel */ name: string; /** - * - * @type {string} + * + * @type {Array} * @memberof CreateCourseViewModel */ - groupName?: string; + groupNames?: Array; /** - * + * * @type {Array} * @memberof CreateCourseViewModel */ studentIDs?: Array; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ isOpen: boolean; /** - * + * * @type {number} * @memberof CreateCourseViewModel */ baseCourseId?: number; } /** - * + * * @export * @interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - * + * * @type {string} * @memberof CreateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof CreateGroupViewModel */ groupMatesIds: Array; /** - * + * * @type {number} * @memberof CreateGroupViewModel */ courseId: number; } /** - * + * * @export * @interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tasks?: Array; /** - * + * * @type {ActionOptions} * @memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - * + * * @type {string} * @memberof CreateTaskViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateTaskViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ publicationDate?: Date; /** - * + * * @type {number} * @memberof CreateTaskViewModel */ maxRating: number; /** - * + * * @type {ActionOptions} * @memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface EditAccountViewModel */ export interface EditAccountViewModel { /** - * + * * @type {string} * @memberof EditAccountViewModel */ name: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ surname: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ email?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ bio?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ companyName?: string; } /** - * + * * @export * @interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - * + * * @export * @interface ExpertDataDTO */ export interface ExpertDataDTO { /** - * + * * @type {string} * @memberof ExpertDataDTO */ id?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ name?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ surname?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ middleName?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ email?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ bio?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ companyName?: string; /** - * + * * @type {Array} * @memberof ExpertDataDTO */ tags?: Array; /** - * + * * @type {string} * @memberof ExpertDataDTO */ lecturerId?: string; } /** - * + * * @export * @interface FileInfoDTO */ export interface FileInfoDTO { /** - * + * * @type {string} * @memberof FileInfoDTO */ name?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ size?: number; /** - * + * * @type {string} * @memberof FileInfoDTO */ key?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ homeworkId?: number; } /** - * + * * @export * @interface FilesUploadBody */ export interface FilesUploadBody { /** - * + * * @type {number} * @memberof FilesUploadBody */ courseId?: number; /** - * + * * @type {number} * @memberof FilesUploadBody */ homeworkId?: number; /** - * + * * @type {Blob} * @memberof FilesUploadBody */ file: Blob; } /** - * + * * @export * @interface GetSolutionModel */ export interface GetSolutionModel { /** - * + * * @type {Date} * @memberof GetSolutionModel */ ratingDate?: Date; /** - * + * * @type {number} * @memberof GetSolutionModel */ id?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof GetSolutionModel */ comment?: string; /** - * + * * @type {SolutionState} * @memberof GetSolutionModel */ state?: SolutionState; /** - * + * * @type {number} * @memberof GetSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ studentId?: string; /** - * + * * @type {number} * @memberof GetSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof GetSolutionModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof GetSolutionModel */ lecturerComment?: string; /** - * + * * @type {Array} * @memberof GetSolutionModel */ groupMates?: Array; /** - * + * * @type {AccountDataDto} * @memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - * + * * @export * @interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - * + * * @type {number} * @memberof GetTaskQuestionDto */ id?: number; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ studentId?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ answer?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ lecturerId?: string; } /** - * + * * @export * @interface GithubCredentials */ export interface GithubCredentials { /** - * + * * @type {string} * @memberof GithubCredentials */ githubId?: string; } /** - * + * * @export * @interface GroupMateViewModel */ export interface GroupMateViewModel { /** - * + * * @type {string} * @memberof GroupMateViewModel */ studentId?: string; } /** - * + * * @export * @interface GroupModel */ export interface GroupModel { /** - * + * * @type {string} * @memberof GroupModel */ groupName?: string; } /** - * + * * @export * @interface GroupViewModel */ export interface GroupViewModel { /** - * + * * @type {number} * @memberof GroupViewModel */ id?: number; /** - * + * * @type {Array} * @memberof GroupViewModel */ studentsIds?: Array; } /** - * + * * @export * @interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - * + * * @type {string} * @memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - * + * * @export * @interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - * + * * @export * @interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ title?: string; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModel */ tags?: Array; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ description?: string; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ maxRating?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ homeworkId?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - * + * * @export * @interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface HomeworkViewModel */ export interface HomeworkViewModel { /** - * + * * @type {number} * @memberof HomeworkViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkViewModel */ title?: string; /** - * + * * @type {string} * @memberof HomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkViewModel */ courseId?: number; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeferred?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tasks?: Array; } /** - * + * * @export * @interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - * + * * @type {boolean} * @memberof HomeworkViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - * + * * @type {string} * @memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - * + * * @export * @interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - * + * + * @export + * @interface InviteExistentStudentViewModel + */ +export interface InviteExistentStudentViewModel { + /** + * + * @type {number} + * @memberof InviteExistentStudentViewModel + */ + courseId?: number; + /** + * + * @type {string} + * @memberof InviteExistentStudentViewModel + */ + email?: string; +} +/** + * * @export * @interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userId?: string; /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userEmail?: string; /** - * + * * @type {number} * @memberof InviteExpertViewModel */ courseId?: number; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ studentIds?: Array; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - * + * * @export * @interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - * + * * @type {string} * @memberof InviteLecturerViewModel */ email: string; } /** - * + * * @export * @interface LoginViewModel */ export interface LoginViewModel { /** - * + * * @type {string} * @memberof LoginViewModel */ email: string; /** - * + * * @type {string} * @memberof LoginViewModel */ password: string; /** - * + * * @type {boolean} * @memberof LoginViewModel */ rememberMe: boolean; } /** - * + * * @export * @interface NotificationViewModel */ export interface NotificationViewModel { /** - * + * * @type {number} * @memberof NotificationViewModel */ id?: number; /** - * + * * @type {string} * @memberof NotificationViewModel */ sender?: string; /** - * + * * @type {string} * @memberof NotificationViewModel */ owner?: string; /** - * + * * @type {CategoryState} * @memberof NotificationViewModel */ category?: CategoryState; /** - * + * * @type {string} * @memberof NotificationViewModel */ body?: string; /** - * + * * @type {boolean} * @memberof NotificationViewModel */ hasSeen?: boolean; /** - * + * * @type {Date} * @memberof NotificationViewModel */ date?: Date; } /** - * + * * @export * @interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - * + * * @type {string} * @memberof NotificationsSettingDto */ category?: string; /** - * + * * @type {boolean} * @memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - * + * * @export * @interface ProgramModel */ export interface ProgramModel { /** - * + * * @type {string} * @memberof ProgramModel */ programName?: string; } /** - * + * * @export * @interface RateSolutionModel */ export interface RateSolutionModel { /** - * + * * @type {number} * @memberof RateSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof RateSolutionModel */ lecturerComment?: string; } /** - * + * * @export * @interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ email: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ bio?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ companyName?: string; /** - * + * * @type {Array} * @memberof RegisterExpertViewModel */ tags?: Array; } /** - * + * * @export * @interface RegisterViewModel */ export interface RegisterViewModel { /** - * + * * @type {string} * @memberof RegisterViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ email: string; } /** - * + * * @export * @interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - * + * * @type {string} * @memberof RequestPasswordRecoveryViewModel */ email: string; } /** - * + * * @export * @interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ userId: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ token: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ password: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - * + * * @export * @interface Result */ export interface Result { /** - * + * * @type {boolean} * @memberof Result */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof Result */ errors?: Array; } /** - * + * * @export * @interface Solution */ export interface Solution { /** - * + * * @type {number} * @memberof Solution */ id?: number; /** - * + * * @type {string} * @memberof Solution */ githubUrl?: string; /** - * + * * @type {string} * @memberof Solution */ comment?: string; /** - * + * * @type {SolutionState} * @memberof Solution */ state?: SolutionState; /** - * + * * @type {number} * @memberof Solution */ rating?: number; /** - * + * * @type {string} * @memberof Solution */ studentId?: string; /** - * + * * @type {string} * @memberof Solution */ lecturerId?: string; /** - * + * * @type {number} * @memberof Solution */ groupId?: number; /** - * + * * @type {number} * @memberof Solution */ taskId?: number; /** - * + * * @type {Date} * @memberof Solution */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof Solution */ ratingDate?: Date; /** - * + * * @type {string} * @memberof Solution */ lecturerComment?: string; } /** - * + * * @export * @interface SolutionActualityDto */ export interface SolutionActualityDto { /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - * + * * @export * @interface SolutionActualityPart */ export interface SolutionActualityPart { /** - * + * * @type {boolean} * @memberof SolutionActualityPart */ isActual?: boolean; /** - * + * * @type {string} * @memberof SolutionActualityPart */ comment?: string; /** - * + * * @type {string} * @memberof SolutionActualityPart */ additionalData?: string; } /** - * + * * @export * @interface SolutionPreviewView */ export interface SolutionPreviewView { /** - * + * * @type {number} * @memberof SolutionPreviewView */ solutionId?: number; /** - * + * * @type {AccountDataDto} * @memberof SolutionPreviewView */ student?: AccountDataDto; /** - * + * * @type {string} * @memberof SolutionPreviewView */ courseTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ courseId?: number; /** - * + * * @type {string} * @memberof SolutionPreviewView */ homeworkTitle?: string; /** - * + * * @type {string} * @memberof SolutionPreviewView */ taskTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ taskId?: number; /** - * + * * @type {Date} * @memberof SolutionPreviewView */ publicationDate?: Date; /** - * + * * @type {number} * @memberof SolutionPreviewView */ groupId?: number; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isFirstTry?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - * + * * @export * @enum {string} */ @@ -1896,728 +1915,728 @@ export enum SolutionState { NUMBER_2 = 2 } /** - * + * * @export * @interface SolutionViewModel */ export interface SolutionViewModel { /** - * + * * @type {string} * @memberof SolutionViewModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ comment?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ studentId?: string; /** - * + * * @type {Array} * @memberof SolutionViewModel */ groupMateIds?: Array; /** - * + * * @type {Date} * @memberof SolutionViewModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof SolutionViewModel */ lecturerComment?: string; /** - * + * * @type {number} * @memberof SolutionViewModel */ rating?: number; /** - * + * * @type {Date} * @memberof SolutionViewModel */ ratingDate?: Date; } /** - * + * * @export * @interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - * + * * @type {number} * @memberof StatisticsCourseHomeworksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - * + * * @export * @interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ id?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ name?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ surname?: string; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - * + * * @export * @interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - * + * * @export * @interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - * + * * @type {number} * @memberof StatisticsCourseTasksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseTasksModel */ solution?: Array; } /** - * + * * @export * @interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - * + * * @type {AccountDataDto} * @memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - * + * * @export * @interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - * + * * @type {Array} * @memberof StudentCharacteristicsDto */ tags?: Array; /** - * + * * @type {string} * @memberof StudentCharacteristicsDto */ description?: string; } /** - * + * * @export * @interface StudentDataDto */ export interface StudentDataDto { /** - * + * * @type {StudentCharacteristicsDto} * @memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - * + * * @type {string} * @memberof StudentDataDto */ userId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ name?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ surname?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ email?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof StudentDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof StudentDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ bio?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ companyName?: string; } /** - * + * * @export * @interface SystemInfo */ export interface SystemInfo { /** - * + * * @type {string} * @memberof SystemInfo */ service?: string; /** - * + * * @type {boolean} * @memberof SystemInfo */ isAvailable?: boolean; } /** - * + * * @export * @interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - * + * * @type {number} * @memberof TaskDeadlineDto */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskDeadlineDto */ tags?: Array; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ taskTitle?: string; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ courseTitle?: string; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ courseId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ homeworkId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ maxRating?: number; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - * + * * @export * @interface TaskDeadlineView */ export interface TaskDeadlineView { /** - * + * * @type {TaskDeadlineDto} * @memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - * + * * @type {SolutionState} * @memberof TaskDeadlineView */ solutionState?: SolutionState; /** - * + * * @type {number} * @memberof TaskDeadlineView */ rating?: number; /** - * + * * @type {number} * @memberof TaskDeadlineView */ maxRating?: number; /** - * + * * @type {boolean} * @memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - * + * * @export * @interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - * + * * @type {number} * @memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - * + * * @export * @interface TaskSolutions */ export interface TaskSolutions { /** - * + * * @type {number} * @memberof TaskSolutions */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - * + * * @type {number} * @memberof TaskSolutionsStats */ taskId?: number; /** - * + * * @type {number} * @memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - * + * * @type {string} * @memberof TaskSolutionsStats */ title?: string; /** - * + * * @type {Array} * @memberof TaskSolutionsStats */ tags?: Array; } /** - * + * * @export * @interface TokenCredentials */ export interface TokenCredentials { /** - * + * * @type {string} * @memberof TokenCredentials */ accessToken?: string; } /** - * + * * @export * @interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - * + * * @type {TokenCredentials} * @memberof TokenCredentialsResult */ value?: TokenCredentials; /** - * + * * @type {boolean} * @memberof TokenCredentialsResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof TokenCredentialsResult */ errors?: Array; } /** - * + * * @export * @interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - * + * * @type {Array} * @memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - * + * * @export * @interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ name: string; /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isOpen: boolean; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - * + * * @export * @interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - * + * * @type {string} * @memberof UpdateExpertTagsDTO */ expertId?: string; /** - * + * * @type {Array} * @memberof UpdateExpertTagsDTO */ tags?: Array; } /** - * + * * @export * @interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - * + * * @type {string} * @memberof UpdateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ tasks?: Array; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ groupMates?: Array; } /** - * + * * @export * @interface UrlDto */ export interface UrlDto { /** - * + * * @type {string} * @memberof UrlDto */ url?: string; } /** - * + * * @export * @interface UserDataDto */ export interface UserDataDto { /** - * + * * @type {AccountDataDto} * @memberof UserDataDto */ userData?: AccountDataDto; /** - * + * * @type {Array} * @memberof UserDataDto */ courseEvents?: Array; /** - * + * * @type {Array} * @memberof UserDataDto */ taskDeadlines?: Array; } /** - * + * * @export * @interface UserTaskSolutions */ export interface UserTaskSolutions { /** - * + * * @type {Array} * @memberof UserTaskSolutions */ solutions?: Array; /** - * + * * @type {StudentDataDto} * @memberof UserTaskSolutions */ student?: StudentDataDto; } /** - * + * * @export * @interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - * + * * @type {number} * @memberof UserTaskSolutions2 */ maxRating?: number; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ title?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ tags?: Array; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ taskId?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ solutions?: Array; } /** - * + * * @export * @interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - * + * * @type {number} * @memberof UserTaskSolutionsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - * + * * @export * @interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ students?: Array; /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ @@ -2630,8 +2649,8 @@ export interface WorkspaceViewModel { export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2665,8 +2684,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2700,7 +2719,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2730,8 +2749,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2765,7 +2784,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2795,8 +2814,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2831,8 +2850,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2866,8 +2885,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2901,7 +2920,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2931,8 +2950,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2966,8 +2985,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3001,8 +3020,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3045,8 +3064,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati export const AccountApiFp = function(configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3063,8 +3082,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3081,7 +3100,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3098,8 +3117,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3116,7 +3135,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3133,8 +3152,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3151,8 +3170,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3169,8 +3188,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3187,7 +3206,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3204,8 +3223,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3222,8 +3241,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3240,8 +3259,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3267,8 +3286,8 @@ export const AccountApiFp = function(configuration?: Configuration) { export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3276,8 +3295,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3285,7 +3304,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3293,8 +3312,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3302,7 +3321,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3310,8 +3329,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3319,8 +3338,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3328,8 +3347,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3337,7 +3356,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3345,8 +3364,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3354,8 +3373,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3363,8 +3382,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3382,8 +3401,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? */ export class AccountApi extends BaseAPI { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3393,8 +3412,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3404,7 +3423,7 @@ export class AccountApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3414,8 +3433,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3425,7 +3444,7 @@ export class AccountApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3435,8 +3454,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3446,8 +3465,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3457,8 +3476,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3468,7 +3487,7 @@ export class AccountApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3478,8 +3497,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3489,8 +3508,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3500,8 +3519,8 @@ export class AccountApi extends BaseAPI { } /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3518,10 +3537,10 @@ export class AccountApi extends BaseAPI { export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3565,9 +3584,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3606,9 +3625,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3648,8 +3667,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3684,8 +3703,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3720,8 +3739,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3756,8 +3775,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3792,10 +3811,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3839,10 +3858,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3895,10 +3914,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3915,9 +3934,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3934,9 +3953,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3953,8 +3972,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3971,8 +3990,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3989,8 +4008,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4007,8 +4026,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4025,10 +4044,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4045,10 +4064,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4074,10 +4093,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4085,9 +4104,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4095,9 +4114,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4105,8 +4124,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4114,8 +4133,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4123,8 +4142,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4132,8 +4151,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4141,10 +4160,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4152,10 +4171,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4173,10 +4192,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f */ export class CourseGroupsApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4186,9 +4205,9 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4198,9 +4217,9 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4210,8 +4229,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4221,8 +4240,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4232,8 +4251,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4243,8 +4262,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4254,10 +4273,10 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4267,10 +4286,10 @@ export class CourseGroupsApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4287,9 +4306,9 @@ export class CourseGroupsApi extends BaseAPI { export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4329,9 +4348,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4371,8 +4390,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4406,8 +4425,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4442,10 +4461,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4489,8 +4508,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4525,7 +4544,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4555,8 +4574,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4591,7 +4610,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4621,8 +4640,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4657,8 +4676,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4692,8 +4711,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4728,9 +4747,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4770,7 +4789,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4800,9 +4819,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4842,8 +4861,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4878,9 +4897,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4919,10 +4938,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4960,6 +4979,41 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const needsSerialization = ("StudentCharacteristicsDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {InviteExistentStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options: any = {}): FetchArgs { + const localVarPath = `/api/Courses/inviteExistentStudent`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'POST' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + const needsSerialization = ("InviteExistentStudentViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -4975,9 +5029,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati export const CoursesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4994,9 +5048,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5013,8 +5067,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5031,8 +5085,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5049,10 +5103,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5069,8 +5123,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5087,7 +5141,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5104,8 +5158,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5122,7 +5176,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5139,8 +5193,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5157,8 +5211,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5175,8 +5229,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5193,9 +5247,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5212,7 +5266,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5229,9 +5283,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5248,8 +5302,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5266,9 +5320,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5285,10 +5339,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5304,6 +5358,24 @@ export const CoursesApiFp = function(configuration?: Configuration) { }); }; }, + /** + * + * @param {InviteExistentStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesinviteExistentStudent(body, options); + return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { + return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { + if (response.status >= 200 && response.status < 300) { + return response; + } else { + throw response; + } + }); + }; + }, } }; @@ -5314,9 +5386,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5324,9 +5396,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5334,8 +5406,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5343,8 +5415,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5352,10 +5424,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5363,8 +5435,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5372,7 +5444,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5380,8 +5452,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5389,7 +5461,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5397,8 +5469,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5406,8 +5478,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5415,8 +5487,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5424,9 +5496,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5434,7 +5506,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5442,9 +5514,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5452,8 +5524,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5461,9 +5533,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5471,16 +5543,25 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(fetch, basePath); }, + /** + * + * @param {InviteExistentStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any) { + return CoursesApiFp(configuration).coursesinviteExistentStudent(body, options)(fetch, basePath); + }, }; }; @@ -5492,9 +5573,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? */ export class CoursesApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5504,9 +5585,9 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5516,8 +5597,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5527,8 +5608,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5538,10 +5619,10 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5551,8 +5632,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5562,7 +5643,7 @@ export class CoursesApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5572,8 +5653,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5583,7 +5664,7 @@ export class CoursesApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5593,8 +5674,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5604,8 +5685,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5615,8 +5696,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5626,9 +5707,9 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5638,7 +5719,7 @@ export class CoursesApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5648,9 +5729,9 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5660,8 +5741,8 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5671,9 +5752,9 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5683,10 +5764,10 @@ export class CoursesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5695,6 +5776,17 @@ export class CoursesApi extends BaseAPI { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); } + /** + * + * @param {InviteExistentStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi + */ + public coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any) { + return CoursesApiFp(this.configuration).coursesinviteExistentStudent(body, options)(this.fetch, this.basePath); + } + } /** * ExpertsApi - fetch parameter creator @@ -5703,7 +5795,7 @@ export class CoursesApi extends BaseAPI { export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5733,7 +5825,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5763,8 +5855,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5798,8 +5890,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5833,8 +5925,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5868,8 +5960,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5903,7 +5995,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5933,8 +6025,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5977,7 +6069,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5994,7 +6086,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6011,8 +6103,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6029,8 +6121,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6047,8 +6139,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6065,8 +6157,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6083,7 +6175,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6100,8 +6192,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6127,7 +6219,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6135,7 +6227,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6143,8 +6235,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6152,8 +6244,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6161,8 +6253,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6170,8 +6262,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6179,7 +6271,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6187,8 +6279,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6206,7 +6298,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? */ export class ExpertsApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6216,7 +6308,7 @@ export class ExpertsApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6226,8 +6318,8 @@ export class ExpertsApi extends BaseAPI { } /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6237,8 +6329,8 @@ export class ExpertsApi extends BaseAPI { } /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6248,8 +6340,8 @@ export class ExpertsApi extends BaseAPI { } /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6259,8 +6351,8 @@ export class ExpertsApi extends BaseAPI { } /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6270,7 +6362,7 @@ export class ExpertsApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6280,8 +6372,8 @@ export class ExpertsApi extends BaseAPI { } /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6298,9 +6390,9 @@ export class ExpertsApi extends BaseAPI { export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6338,8 +6430,8 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6373,9 +6465,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6414,10 +6506,10 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6472,9 +6564,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration export const FilesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6491,8 +6583,8 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6509,9 +6601,9 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6528,10 +6620,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6557,9 +6649,9 @@ export const FilesApiFp = function(configuration?: Configuration) { export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6567,8 +6659,8 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6576,9 +6668,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6586,10 +6678,10 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6607,9 +6699,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: */ export class FilesApi extends BaseAPI { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6619,8 +6711,8 @@ export class FilesApi extends BaseAPI { } /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6630,9 +6722,9 @@ export class FilesApi extends BaseAPI { } /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6642,10 +6734,10 @@ export class FilesApi extends BaseAPI { } /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6662,9 +6754,9 @@ export class FilesApi extends BaseAPI { export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6703,8 +6795,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6739,8 +6831,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6775,8 +6867,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6811,9 +6903,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6861,9 +6953,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6880,8 +6972,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6898,8 +6990,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6916,8 +7008,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6934,9 +7026,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6962,9 +7054,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6972,8 +7064,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6981,8 +7073,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6990,8 +7082,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6999,9 +7091,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7019,9 +7111,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc */ export class HomeworksApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7031,8 +7123,8 @@ export class HomeworksApi extends BaseAPI { } /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7042,8 +7134,8 @@ export class HomeworksApi extends BaseAPI { } /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7053,8 +7145,8 @@ export class HomeworksApi extends BaseAPI { } /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7064,9 +7156,9 @@ export class HomeworksApi extends BaseAPI { } /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7083,8 +7175,8 @@ export class HomeworksApi extends BaseAPI { export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7118,7 +7210,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7148,7 +7240,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7178,7 +7270,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7208,8 +7300,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7252,8 +7344,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7270,7 +7362,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7287,7 +7379,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7304,7 +7396,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7321,8 +7413,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7348,8 +7440,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7357,7 +7449,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7365,7 +7457,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7373,7 +7465,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7381,8 +7473,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7400,8 +7492,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, */ export class NotificationsApi extends BaseAPI { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7411,7 +7503,7 @@ export class NotificationsApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7421,7 +7513,7 @@ export class NotificationsApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7431,7 +7523,7 @@ export class NotificationsApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7441,8 +7533,8 @@ export class NotificationsApi extends BaseAPI { } /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7459,8 +7551,8 @@ export class NotificationsApi extends BaseAPI { export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7495,9 +7587,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7535,8 +7627,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7571,8 +7663,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7607,9 +7699,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7649,8 +7741,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7685,8 +7777,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7720,8 +7812,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7756,8 +7848,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7792,9 +7884,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7833,9 +7925,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7874,9 +7966,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7924,8 +8016,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7942,9 +8034,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7961,8 +8053,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7979,8 +8071,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7997,9 +8089,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8016,8 +8108,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8034,8 +8126,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8052,8 +8144,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8070,8 +8162,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8088,9 +8180,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8107,9 +8199,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8126,9 +8218,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8154,8 +8246,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8163,9 +8255,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8173,8 +8265,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8182,8 +8274,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8191,9 +8283,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8201,8 +8293,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8210,8 +8302,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8219,8 +8311,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8228,8 +8320,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8237,9 +8329,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8247,9 +8339,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8257,9 +8349,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8277,8 +8369,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc */ export class SolutionsApi extends BaseAPI { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8288,9 +8380,9 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8300,8 +8392,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8311,8 +8403,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8322,9 +8414,9 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8334,8 +8426,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8345,8 +8437,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8356,8 +8448,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8367,8 +8459,8 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8378,9 +8470,9 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8390,9 +8482,9 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8402,9 +8494,9 @@ export class SolutionsApi extends BaseAPI { } /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8421,8 +8513,8 @@ export class SolutionsApi extends BaseAPI { export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8457,8 +8549,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8493,8 +8585,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8538,8 +8630,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8556,8 +8648,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8574,8 +8666,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8601,8 +8693,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8610,8 +8702,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8619,8 +8711,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8638,8 +8730,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet */ export class StatisticsApi extends BaseAPI { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8649,8 +8741,8 @@ export class StatisticsApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8660,8 +8752,8 @@ export class StatisticsApi extends BaseAPI { } /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8678,7 +8770,7 @@ export class StatisticsApi extends BaseAPI { export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8717,7 +8809,7 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio export const SystemApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8743,7 +8835,7 @@ export const SystemApiFp = function(configuration?: Configuration) { export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8761,7 +8853,7 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: */ export class SystemApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SystemApi @@ -8778,8 +8870,8 @@ export class SystemApi extends BaseAPI { export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8813,8 +8905,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8848,9 +8940,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8889,8 +8981,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8925,8 +9017,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8961,8 +9053,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8997,8 +9089,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9033,9 +9125,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9083,8 +9175,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration export const TasksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9101,8 +9193,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9119,9 +9211,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9138,8 +9230,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9156,8 +9248,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9174,8 +9266,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9192,8 +9284,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9210,9 +9302,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9238,8 +9330,8 @@ export const TasksApiFp = function(configuration?: Configuration) { export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9247,8 +9339,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9256,9 +9348,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9266,8 +9358,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9275,8 +9367,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9284,8 +9376,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9293,8 +9385,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9302,9 +9394,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9322,8 +9414,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: */ export class TasksApi extends BaseAPI { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9333,8 +9425,8 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9344,9 +9436,9 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9356,8 +9448,8 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9367,8 +9459,8 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9378,8 +9470,8 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9389,8 +9481,8 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9400,9 +9492,9 @@ export class TasksApi extends BaseAPI { } /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index a32ca51d0..5c063931b 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -1,15 +1,12 @@ import * as React from "react"; import {useSearchParams} from "react-router-dom"; import {AccountDataDto, CourseViewModel, FileInfoDTO, HomeworkViewModel, StatisticsCourseMatesModel} from "@/api"; -import CourseHomework from "../Homeworks/CourseHomework"; -import AddHomework from "../Homeworks/AddHomework"; import StudentStats from "./StudentStats"; import NewCourseStudents from "./NewCourseStudents"; import ApiSingleton from "../../api/ApiSingleton"; import {Button, Tab, Tabs, IconButton} from "@material-ui/core"; import EditIcon from "@material-ui/icons/Edit"; import {FC, useEffect, useState} from "react"; -import VisibilityIcon from '@material-ui/icons/Visibility'; import { Alert, AlertTitle, Box, @@ -20,9 +17,9 @@ import { Menu, MenuItem, Stack, - Tooltip, Typography, - TextField + TextField, + DialogActions } from "@mui/material"; import {CourseExperimental} from "./CourseExperimental"; import {useParams, useNavigate} from 'react-router-dom'; @@ -36,9 +33,6 @@ import {useSnackbar} from 'notistack'; import QrCode2Icon from '@mui/icons-material/QrCode2'; import {MoreVert} from "@mui/icons-material"; import {DotLottieReact} from "@lottiefiles/dotlottie-react"; -import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; -import Avatar from "@material-ui/core/Avatar"; -import ValidationUtils from "../Utils/ValidationUtils"; type TabValue = "homeworks" | "stats" | "applications" @@ -46,114 +40,22 @@ function isAcceptableTabValue(str: string): str is TabValue { return str === "homeworks" || str === "stats" || str === "applications"; } -interface ICourseProps { - isReadingMode?: boolean; -} - interface ICourseState { isFound: boolean; course: CourseViewModel; courseHomeworks: HomeworkViewModel[]; - createHomework: boolean; mentors: AccountDataDto[]; acceptedStudents: AccountDataDto[]; newStudents: AccountDataDto[]; - isReadingMode: boolean; studentSolutions: StatisticsCourseMatesModel[]; showQrCode: boolean; - showInviteStudent: boolean; } interface IPageState { tabValue: TabValue } -const InviteStudentModal: FC<{isOpen: boolean, onClose: () => void}> = ({isOpen, onClose}) => { - const [email, setEmail] = useState(""); - const [errors, setErrors] = useState([]); - - const handleSubmit = async (e: React.FormEvent) => { - e.preventDefault(); - if (!ValidationUtils.isCorrectEmail(email)) { - setErrors(['Некорректный адрес электронной почты']); - return; - } - // Placeholder for future functionality - onClose(); - }; - - return ( - - - - - - - - - - - Пригласить студента - - - - - - - {errors.length > 0 && ( -

{errors}

- )} -
-
- - - setEmail(e.target.value)} - /> - - - - - - - - - - -
-
-
- ); -}; - -const Course: React.FC = (props: ICourseProps) => { +const Course: React.FC = () => { const {courseId, tab} = useParams() const [searchParams] = useSearchParams() const navigate = useNavigate() @@ -163,17 +65,16 @@ const Course: React.FC = (props: ICourseProps) => { isFound: false, course: {}, courseHomeworks: [], - createHomework: false, mentors: [], acceptedStudents: [], newStudents: [], - isReadingMode: props.isReadingMode ?? true, studentSolutions: [], - showQrCode: false, - showInviteStudent: false + showQrCode: false }) const [studentSolutions, setStudentSolutions] = useState([]) const [courseFilesInfo, setCourseFilesInfo] = useState([]) + const [email, setEmail] = useState("") + const [showInviteDialog, setShowInviteDialog] = useState(false) const [pageState, setPageState] = useState({ tabValue: "homeworks" @@ -182,13 +83,10 @@ const Course: React.FC = (props: ICourseProps) => { const { isFound, course, - createHomework, mentors, newStudents, acceptedStudents, - isReadingMode, courseHomeworks, - showInviteStudent } = courseState const userId = ApiSingleton.authService.getUserId() @@ -206,10 +104,10 @@ const Course: React.FC = (props: ICourseProps) => { const showApplicationsTab = isCourseMentor const changeTab = (newTab: string) => { - if (isAcceptableTabValue(newTab)) { + if (isAcceptableTabValue(newTab) && newTab !== pageState.tabValue) { if (newTab === "stats" && !showStatsTab) return; if (newTab === "applications" && !showApplicationsTab) return; - + setPageState(prevState => ({ ...prevState, tabValue: newTab @@ -278,6 +176,22 @@ const Course: React.FC = (props: ICourseProps) => { .then(() => setCurrentState()); } + const inviteStudent = async () => { + try { + await ApiSingleton.coursesApi.coursesinviteExistentStudent({ + courseId: +courseId!, + email: email + }) + enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); + setEmail(""); + setShowInviteDialog(false); + await setCurrentState(); + } catch (error) { + const responseErrors = await ErrorsHandler.getErrorMessages(error as Response) + enqueueSnackbar(responseErrors[0], {variant: "error"}); + } + } + const {tabValue} = pageState const searchedHomeworkId = searchParams.get("homeworkId") @@ -334,13 +248,10 @@ const Course: React.FC = (props: ICourseProps) => {
Поделиться
- {isLecturer && - setCourseState(prevState => ({ - ...prevState, - showInviteStudent: true - }))}> + {isCourseMentor && isLecturer && + setShowInviteDialog(true)}> - + Пригласить студента @@ -359,10 +270,6 @@ const Course: React.FC = (props: ICourseProps) => { if (isFound) { return (
- setCourseState(prevState => ({...prevState, showInviteStudent: false}))} - /> setCourseState(prevState => ({...prevState, showQrCode: false}))} @@ -378,6 +285,36 @@ const Course: React.FC = (props: ICourseProps) => { + + setShowInviteDialog(false)} + > + Пригласить студента + + setEmail(e.target.value)} + /> + + + + + + + {course.isCompleted && @@ -445,33 +382,7 @@ const Course: React.FC = (props: ICourseProps) => { }} > {!isExpert && - -
Задания
- {isCourseMentor && - setCourseState(prevState => ({ - ...prevState, - isReadingMode: !isReadingMode - }) - )} - style={{backgroundColor: '#f1f1f1', padding: 3, marginLeft: 8}} - > - - {isReadingMode - ? - : } - - } - - } - />} + Задания
}/>} {showStatsTab &&
Решения
@@ -486,139 +397,55 @@ const Course: React.FC = (props: ICourseProps) => { label={newStudents.length}/> }/>} - {tabValue === "homeworks" &&
- { - isReadingMode - ? { - const homeworkIndex = courseState.courseHomeworks.findIndex(x => x.id === homework.id) - const homeworks = courseState.courseHomeworks - - if (isDeleted) homeworks.splice(homeworkIndex, 1) - else if (homeworkIndex === -1) homeworks.push(homework) - else homeworks[homeworkIndex] = homework - - setCourseState(prevState => ({ - ...prevState, - courseHomeworks: homeworks - })) - - if (fileInfos.length > 0 || isDeleted) { - const newCourseFiles = courseFilesInfo - .filter(x => x.homeworkId !== homework.id) - .concat(isDeleted ? [] : fileInfos) - setCourseFilesInfo(newCourseFiles) - } - }} - onTaskUpdate={update => { - const task = update.task - const homeworks = courseState.courseHomeworks - const homework = homeworks.find(x => x.id === task.homeworkId)! - const tasks = [...homework.tasks!] - const taskIndex = tasks.findIndex(x => x!.id === task.id) - - if (update.isDeleted) tasks.splice(taskIndex, 1) - else if (taskIndex !== -1) tasks![taskIndex] = task - else tasks.push(task) - - homework.tasks = tasks - - setCourseState(prevState => ({ - ...prevState, - courseHomeworks: homeworks - })) - }} - /> - :
- - - Устаревшая страница редактирования - Данная страница для редактирования курса является устаревшей и будет - удалена в следующих - версиях сервиса. - Настоятельно рекомендуем использовать механизм редактирования задач - в стандартном режиме - отображения: - Вы увидите кнопку добавления новых заданий над списком, а кнопку - редактирования заданий в правом верхнем углу при наведении на - выбранное задание. - - - {createHomework && ( -
- - - setCurrentState()} - onSubmit={() => setCurrentState()} - previousHomeworks={courseState.courseHomeworks} - /> - - - setCurrentState()} - isStudent={isAcceptedStudent} - isMentor={isCourseMentor} - isReadingMode={isReadingMode} - homework={courseHomeworks} - courseFilesInfo={courseFilesInfo} - /> - - -
- )} - {isLecturer && !createHomework && ( -
- - {!isReadingMode! && - - } - setCurrentState()} - isStudent={isAcceptedStudent} - isMentor={isCourseMentor} - isReadingMode={isReadingMode} - homework={courseHomeworks} - courseFilesInfo={courseFilesInfo} - /> - -
- )} - {!isCourseMentor && ( - setCurrentState()} - homework={courseHomeworks} - isStudent={isAcceptedStudent} - isMentor={isCourseMentor} - isReadingMode={isReadingMode} - courseFilesInfo={courseFilesInfo} - /> - )} -
- } -
} + {tabValue === "homeworks" && { + const homeworkIndex = courseState.courseHomeworks.findIndex(x => x.id === homework.id) + const homeworks = courseState.courseHomeworks + + if (isDeleted) homeworks.splice(homeworkIndex, 1) + else if (homeworkIndex === -1) homeworks.push(homework) + else homeworks[homeworkIndex] = homework + + setCourseState(prevState => ({ + ...prevState, + courseHomeworks: homeworks + })) + + if (fileInfos.length > 0 || isDeleted) { + const newCourseFiles = courseFilesInfo + .filter(x => x.homeworkId !== homework.id) + .concat(isDeleted ? [] : fileInfos) + setCourseFilesInfo(newCourseFiles) + } + }} + onTaskUpdate={update => { + const task = update.task + const homeworks = courseState.courseHomeworks + const homework = homeworks.find(x => x.id === task.homeworkId)! + const tasks = [...homework.tasks!] + const taskIndex = tasks.findIndex(x => x!.id === task.id) + + if (update.isDeleted) tasks.splice(taskIndex, 1) + else if (taskIndex !== -1) tasks![taskIndex] = task + else tasks.push(task) + + homework.tasks = tasks + + setCourseState(prevState => ({ + ...prevState, + courseHomeworks: homeworks + })) + }} + /> + } {tabValue === "stats" && From e58e80a8e1a0d0f9ebfc889e9b68b5f9b30fb5ef Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 4 May 2025 11:30:43 +0300 Subject: [PATCH 03/44] style: use more consistent ui --- .../src/components/Courses/Course.tsx | 117 ++++++++++++++---- 1 file changed, 94 insertions(+), 23 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 5c063931b..951a27df8 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -33,6 +33,9 @@ import {useSnackbar} from 'notistack'; import QrCode2Icon from '@mui/icons-material/QrCode2'; import {MoreVert} from "@mui/icons-material"; import {DotLottieReact} from "@lottiefiles/dotlottie-react"; +import Avatar from "@material-ui/core/Avatar"; +import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; +import {makeStyles} from '@material-ui/core/styles'; type TabValue = "homeworks" | "stats" | "applications" @@ -55,11 +58,31 @@ interface IPageState { tabValue: TabValue } +const useStyles = makeStyles((theme) => ({ + paper: { + marginTop: theme.spacing(3), + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + }, + avatar: { + margin: theme.spacing(1), + }, + form: { + marginTop: theme.spacing(3), + width: '100%' + }, + button: { + marginTop: theme.spacing(1) + }, +})) + const Course: React.FC = () => { const {courseId, tab} = useParams() const [searchParams] = useSearchParams() const navigate = useNavigate() const {enqueueSnackbar} = useSnackbar() + const classes = useStyles() const [courseState, setCourseState] = useState({ isFound: false, @@ -75,6 +98,7 @@ const Course: React.FC = () => { const [courseFilesInfo, setCourseFilesInfo] = useState([]) const [email, setEmail] = useState("") const [showInviteDialog, setShowInviteDialog] = useState(false) + const [errors, setErrors] = useState([]) const [pageState, setPageState] = useState({ tabValue: "homeworks" @@ -188,7 +212,7 @@ const Course: React.FC = () => { await setCurrentState(); } catch (error) { const responseErrors = await ErrorsHandler.getErrorMessages(error as Response) - enqueueSnackbar(responseErrors[0], {variant: "error"}); + setErrors(responseErrors) } } @@ -249,7 +273,10 @@ const Course: React.FC = () => { Поделиться
{isCourseMentor && isLecturer && - setShowInviteDialog(true)}> + { + setShowInviteDialog(true) + setErrors([]) + }}> @@ -289,30 +316,74 @@ const Course: React.FC = () => { setShowInviteDialog(false)} + maxWidth="xs" > - Пригласить студента + + + + + + + + + + Пригласить студента + + + + - setEmail(e.target.value)} - /> + + {errors.length > 0 && ( +

{errors[0]}

+ )} +
+
+ + + setEmail(e.target.value)} + /> + + + + + + + + + + +
- - - -
From 775761f47aa02beb36e7511cffd6ecc0558e5b71 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 4 May 2025 11:40:50 +0300 Subject: [PATCH 04/44] fix: fix crash when student is not found --- .../src/components/Courses/Course.tsx | 108 ++++++------------ 1 file changed, 35 insertions(+), 73 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 951a27df8..3bbe747b3 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -34,7 +34,7 @@ import QrCode2Icon from '@mui/icons-material/QrCode2'; import {MoreVert} from "@mui/icons-material"; import {DotLottieReact} from "@lottiefiles/dotlottie-react"; import Avatar from "@material-ui/core/Avatar"; -import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; +import MailOutlineIcon from '@mui/icons-material/MailOutline'; import {makeStyles} from '@material-ui/core/styles'; type TabValue = "homeworks" | "stats" | "applications" @@ -99,6 +99,7 @@ const Course: React.FC = () => { const [email, setEmail] = useState("") const [showInviteDialog, setShowInviteDialog] = useState(false) const [errors, setErrors] = useState([]) + const [isInviting, setIsInviting] = useState(false) const [pageState, setPageState] = useState({ tabValue: "homeworks" @@ -142,8 +143,6 @@ const Course: React.FC = () => { const setCurrentState = async () => { const course = await ApiSingleton.coursesApi.coursesGetCourseData(+courseId!) - // У пользователя изменилась роль (иначе он не может стать лектором в курсе), - // однако он все ещё использует токен с прежней ролью const shouldRefreshToken = !isMentor && course && @@ -168,8 +167,6 @@ const Course: React.FC = () => { } const getCourseFilesInfo = async () => { - // В случае, если сервис файлов недоступен, показываем пользователю сообщение - // и не блокируем остальную функциональность системы let courseFilesInfo = [] as FileInfoDTO[] try { courseFilesInfo = await ApiSingleton.filesApi.filesGetFilesInfo(+courseId!) @@ -201,6 +198,8 @@ const Course: React.FC = () => { } const inviteStudent = async () => { + setIsInviting(true) + setErrors([]) try { await ApiSingleton.coursesApi.coursesinviteExistentStudent({ courseId: +courseId!, @@ -212,7 +211,13 @@ const Course: React.FC = () => { await setCurrentState(); } catch (error) { const responseErrors = await ErrorsHandler.getErrorMessages(error as Response) - setErrors(responseErrors) + if (responseErrors.length > 0) { + setErrors(responseErrors) + } else { + setErrors(['Произошла ошибка при приглашении студента']) + } + } finally { + setIsInviting(false) } } @@ -222,7 +227,7 @@ const Course: React.FC = () => { const unratedSolutionsCount = studentSolutions .flatMap(x => x.homeworks) .flatMap(x => x!.tasks) - .filter(t => t!.solution!.slice(-1)[0]?.state === 0) //last solution + .filter(t => t!.solution!.slice(-1)[0]?.state === 0) .length const [lecturerStatsState, setLecturerStatsState] = useState(false); @@ -278,7 +283,7 @@ const Course: React.FC = () => { setErrors([]) }}> - + Пригласить студента
@@ -316,74 +321,30 @@ const Course: React.FC = () => { setShowInviteDialog(false)} - maxWidth="xs" > - - - - - - - - - - Пригласить студента - - - - + Пригласить студента - - {errors.length > 0 && ( -

{errors[0]}

- )} -
-
- - - setEmail(e.target.value)} - /> - - - - - - - - - - -
+ setEmail(e.target.value)} + />
+ + + +
@@ -541,6 +502,7 @@ const Course: React.FC = () => { ); } + return
Date: Sun, 4 May 2025 11:58:24 +0300 Subject: [PATCH 05/44] feat: add not found students handling --- .../Controllers/CoursesController.cs | 8 +- .../src/components/Courses/Course.tsx | 95 ++++++++++++++----- 2 files changed, 77 insertions(+), 26 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index cde1c7a6e..aa461dee1 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -312,10 +312,14 @@ private async Task ToCourseViewModel(CourseDTO course) public async Task inviteExistentStudent([FromBody] InviteExistentStudentViewModel model) { var student = await AuthServiceClient.FindByEmailAsync(model.Email); - + if (student == null) + { + return BadRequest(new { error = "Пользователь с указанным email не найден" }); + } + await _coursesClient.SignInCourse(model.CourseId, student); await _coursesClient.AcceptStudent(model.CourseId, student); - + return Ok(); } } diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 3bbe747b3..78364faaf 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -214,7 +214,7 @@ const Course: React.FC = () => { if (responseErrors.length > 0) { setErrors(responseErrors) } else { - setErrors(['Произошла ошибка при приглашении студента']) + setErrors(['Студент с такой почтой не найден']) } } finally { setIsInviting(false) @@ -320,31 +320,79 @@ const Course: React.FC = () => { setShowInviteDialog(false)} + onClose={() => !isInviting && setShowInviteDialog(false)} + maxWidth="xs" > - Пригласить студента + + + + + + + + + + Пригласить студента + + + + - setEmail(e.target.value)} - /> + {errors.length > 0 && ( + + {errors[0]} + + )} +
+ + + setEmail(e.target.value)} + InputProps={{ + autoComplete: 'off' + }} + /> + + + + + + + + + + +
- - - -
@@ -502,7 +550,6 @@ const Course: React.FC = () => {
); } - return
Date: Tue, 6 May 2025 10:36:57 +0300 Subject: [PATCH 06/44] feat: add single method for sign up and accepting student --- .../Controllers/CoursesController.cs | 7 +++---- .../Controllers/CoursesController.cs | 11 +++++++++++ .../CoursesServiceClient.cs | 14 ++++++++++++++ .../ICoursesServiceClient.cs | 1 + 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index e8266bdca..ccc51cd55 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -316,10 +316,9 @@ public async Task inviteExistentStudent([FromBody] InviteExistent { return BadRequest(new { error = "Пользователь с указанным email не найден" }); } - - await _coursesClient.SignInCourse(model.CourseId, student); - await _coursesClient.AcceptStudent(model.CourseId, student); - + + await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); + return Ok(); } } diff --git a/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs b/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs index 18503d91e..ef6d9d407 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs @@ -273,5 +273,16 @@ public async Task GetMentorsToAssignedStudents(long courseId) var mentorsToAssignedStudents = await _courseFilterService.GetAssignedStudentsIds(courseId, mentorIds); return Ok(mentorsToAssignedStudents); } + + [HttpPost("signInAndAcceptStudent/{courseId}")] + [ServiceFilter(typeof(CourseMentorOnlyAttribute))] + public async Task SignInAndAcceptStudent(long courseId, [FromQuery] string studentId) + { + var signInResult = await _coursesService.AddStudentAsync(courseId, studentId); + if (!signInResult) return NotFound(); + + var acceptResult = await _coursesService.AcceptCourseMateAsync(courseId, studentId); + return acceptResult ? (IActionResult)Ok() : NotFound(); + } } } diff --git a/HwProj.CoursesService/HwProj.CoursesService.Client/CoursesServiceClient.cs b/HwProj.CoursesService/HwProj.CoursesService.Client/CoursesServiceClient.cs index ff98a3fd8..8326ca391 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.Client/CoursesServiceClient.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.Client/CoursesServiceClient.cs @@ -646,5 +646,19 @@ public async Task Ping() return false; } } + + public async Task SignInAndAcceptStudent(long courseId, string studentId) + { + using var httpRequest = new HttpRequestMessage( + HttpMethod.Post, + _coursesServiceUri + $"api/Courses/signInAndAcceptStudent/{courseId}?studentId={studentId}"); + + httpRequest.TryAddUserId(_httpContextAccessor); + var response = await _httpClient.SendAsync(httpRequest); + + return response.IsSuccessStatusCode + ? Result.Success() + : Result.Failed(response.ReasonPhrase); + } } } diff --git a/HwProj.CoursesService/HwProj.CoursesService.Client/ICoursesServiceClient.cs b/HwProj.CoursesService/HwProj.CoursesService.Client/ICoursesServiceClient.cs index 284a99709..c7df3e10d 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.Client/ICoursesServiceClient.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.Client/ICoursesServiceClient.cs @@ -54,5 +54,6 @@ Task UpdateStudentCharacteristics(long courseId, string studentId, Task AddAnswerForQuestion(AddAnswerForQuestionDto answer); Task GetMentorsToAssignedStudents(long courseId); Task Ping(); + Task SignInAndAcceptStudent(long courseId, string studentId); } } From a1b4146afc66995e6642b0b1dc3c7beb60c41458 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 6 May 2025 16:36:31 +0300 Subject: [PATCH 07/44] chore: add newline --- hwproj.front/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwproj.front/src/App.tsx b/hwproj.front/src/App.tsx index ef4d4a1e9..359f29fa3 100644 --- a/hwproj.front/src/App.tsx +++ b/hwproj.front/src/App.tsx @@ -135,4 +135,4 @@ class App extends Component<{ navigate: any }, AppState> { } } -export default withRouter(App); \ No newline at end of file +export default withRouter(App); From b6576e26b6c4829834ed1e82ac2788c183c0677d Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 6 May 2025 16:50:40 +0300 Subject: [PATCH 08/44] refactor: get rid of extra whitespaces --- hwproj.front/src/api/.gitignore | 3 + hwproj.front/src/api/.swagger-codegen-ignore | 23 + hwproj.front/src/api/.swagger-codegen/VERSION | 1 + hwproj.front/src/api/api.ts | 2771 +++++++---------- hwproj.front/src/api/api_test.spec.ts | 441 +++ hwproj.front/src/api/configuration.ts | 5 +- hwproj.front/src/api/custom.d.ts | 4 +- hwproj.front/src/api/git_push.sh | 51 + hwproj.front/src/api/index.ts | 15 +- 9 files changed, 1698 insertions(+), 1616 deletions(-) create mode 100644 hwproj.front/src/api/.gitignore create mode 100644 hwproj.front/src/api/.swagger-codegen-ignore create mode 100644 hwproj.front/src/api/.swagger-codegen/VERSION create mode 100644 hwproj.front/src/api/api_test.spec.ts create mode 100644 hwproj.front/src/api/git_push.sh diff --git a/hwproj.front/src/api/.gitignore b/hwproj.front/src/api/.gitignore new file mode 100644 index 000000000..35e2fb2b0 --- /dev/null +++ b/hwproj.front/src/api/.gitignore @@ -0,0 +1,3 @@ +wwwroot/*.js +node_modules +typings diff --git a/hwproj.front/src/api/.swagger-codegen-ignore b/hwproj.front/src/api/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/hwproj.front/src/api/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/hwproj.front/src/api/.swagger-codegen/VERSION b/hwproj.front/src/api/.swagger-codegen/VERSION new file mode 100644 index 000000000..f1eb5bc05 --- /dev/null +++ b/hwproj.front/src/api/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.68 \ No newline at end of file diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index 80696cb50..d50af8468 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -5,19 +5,16 @@ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 - * + * * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ - import * as url from "url"; import isomorphicFetch from "isomorphic-fetch"; import { Configuration } from "./configuration"; - const BASE_PATH = "/".replace(/\/+$/, ""); - /** * * @export @@ -28,7 +25,6 @@ export const COLLECTION_FORMATS = { tsv: "\t", pipes: "|", }; - /** * * @export @@ -37,7 +33,6 @@ export const COLLECTION_FORMATS = { export interface FetchAPI { (url: string, init?: any): Promise; } - /** * * @export @@ -47,7 +42,6 @@ export interface FetchArgs { url: string; options: any; } - /** * * @export @@ -55,7 +49,6 @@ export interface FetchArgs { */ export class BaseAPI { protected configuration: Configuration | undefined; - constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected fetch: FetchAPI = isomorphicFetch) { if (configuration) { this.configuration = configuration; @@ -63,7 +56,6 @@ export class BaseAPI { } } } - /** * * @export @@ -76,220 +68,219 @@ export class RequiredError extends Error { super(msg); } } - /** - * + * * @export * @interface AccountDataDto */ export interface AccountDataDto { /** - * + * * @type {string} * @memberof AccountDataDto */ userId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ name?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ surname?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ email?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof AccountDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof AccountDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ bio?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ companyName?: string; } /** - * + * * @export * @interface ActionOptions */ export interface ActionOptions { /** - * + * * @type {boolean} * @memberof ActionOptions */ sendNotification?: boolean; } /** - * + * * @export * @interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - * + * * @type {number} * @memberof AddAnswerForQuestionDto */ questionId?: number; /** - * + * * @type {string} * @memberof AddAnswerForQuestionDto */ answer?: string; } /** - * + * * @export * @interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - * + * * @type {number} * @memberof AddTaskQuestionDto */ taskId?: number; /** - * + * * @type {string} * @memberof AddTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - * + * * @export * @interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - * + * * @type {CoursePreview} * @memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - * + * * @export * @interface BooleanResult */ export interface BooleanResult { /** - * + * * @type {boolean} * @memberof BooleanResult */ value?: boolean; /** - * + * * @type {boolean} * @memberof BooleanResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof BooleanResult */ errors?: Array; } /** - * + * * @export * @interface CategorizedNotifications */ export interface CategorizedNotifications { /** - * + * * @type {CategoryState} * @memberof CategorizedNotifications */ category?: CategoryState; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ seenNotifications?: Array; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - * + * * @export * @enum {string} */ @@ -300,1612 +291,1612 @@ export enum CategoryState { NUMBER_3 = 3 } /** - * + * * @export * @interface CourseEvents */ export interface CourseEvents { /** - * + * * @type {number} * @memberof CourseEvents */ id?: number; /** - * + * * @type {string} * @memberof CourseEvents */ name?: string; /** - * + * * @type {string} * @memberof CourseEvents */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseEvents */ isCompleted?: boolean; /** - * + * * @type {number} * @memberof CourseEvents */ newStudentsCount?: number; } /** - * + * * @export * @interface CoursePreview */ export interface CoursePreview { /** - * + * * @type {number} * @memberof CoursePreview */ id?: number; /** - * + * * @type {string} * @memberof CoursePreview */ name?: string; /** - * + * * @type {string} * @memberof CoursePreview */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreview */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreview */ mentorIds?: Array; /** - * + * * @type {number} * @memberof CoursePreview */ taskId?: number; } /** - * + * * @export * @interface CoursePreviewView */ export interface CoursePreviewView { /** - * + * * @type {number} * @memberof CoursePreviewView */ id?: number; /** - * + * * @type {string} * @memberof CoursePreviewView */ name?: string; /** - * + * * @type {string} * @memberof CoursePreviewView */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreviewView */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreviewView */ mentors?: Array; /** - * + * * @type {number} * @memberof CoursePreviewView */ taskId?: number; } /** - * + * * @export * @interface CourseViewModel */ export interface CourseViewModel { /** - * + * * @type {number} * @memberof CourseViewModel */ id?: number; /** - * + * * @type {string} * @memberof CourseViewModel */ name?: string; /** - * + * * @type {string} * @memberof CourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isOpen?: boolean; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CourseViewModel */ mentors?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ acceptedStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ newStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ homeworks?: Array; } /** - * + * * @export * @interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - * + * * @type {string} * @memberof CreateCourseViewModel */ name: string; /** - * + * * @type {Array} * @memberof CreateCourseViewModel */ groupNames?: Array; /** - * + * * @type {Array} * @memberof CreateCourseViewModel */ studentIDs?: Array; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ isOpen: boolean; /** - * + * * @type {number} * @memberof CreateCourseViewModel */ baseCourseId?: number; } /** - * + * * @export * @interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - * + * * @type {string} * @memberof CreateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof CreateGroupViewModel */ groupMatesIds: Array; /** - * + * * @type {number} * @memberof CreateGroupViewModel */ courseId: number; } /** - * + * * @export * @interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tasks?: Array; /** - * + * * @type {ActionOptions} * @memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - * + * * @type {string} * @memberof CreateTaskViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateTaskViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ publicationDate?: Date; /** - * + * * @type {number} * @memberof CreateTaskViewModel */ maxRating: number; /** - * + * * @type {ActionOptions} * @memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface EditAccountViewModel */ export interface EditAccountViewModel { /** - * + * * @type {string} * @memberof EditAccountViewModel */ name: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ surname: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ email?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ bio?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ companyName?: string; } /** - * + * * @export * @interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - * + * * @export * @interface ExpertDataDTO */ export interface ExpertDataDTO { /** - * + * * @type {string} * @memberof ExpertDataDTO */ id?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ name?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ surname?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ middleName?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ email?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ bio?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ companyName?: string; /** - * + * * @type {Array} * @memberof ExpertDataDTO */ tags?: Array; /** - * + * * @type {string} * @memberof ExpertDataDTO */ lecturerId?: string; } /** - * + * * @export * @interface FileInfoDTO */ export interface FileInfoDTO { /** - * + * * @type {string} * @memberof FileInfoDTO */ name?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ size?: number; /** - * + * * @type {string} * @memberof FileInfoDTO */ key?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ homeworkId?: number; } /** - * + * * @export * @interface FilesUploadBody */ export interface FilesUploadBody { /** - * + * * @type {number} * @memberof FilesUploadBody */ courseId?: number; /** - * + * * @type {number} * @memberof FilesUploadBody */ homeworkId?: number; /** - * + * * @type {Blob} * @memberof FilesUploadBody */ file: Blob; } /** - * + * * @export * @interface GetSolutionModel */ export interface GetSolutionModel { /** - * + * * @type {Date} * @memberof GetSolutionModel */ ratingDate?: Date; /** - * + * * @type {number} * @memberof GetSolutionModel */ id?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof GetSolutionModel */ comment?: string; /** - * + * * @type {SolutionState} * @memberof GetSolutionModel */ state?: SolutionState; /** - * + * * @type {number} * @memberof GetSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ studentId?: string; /** - * + * * @type {number} * @memberof GetSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof GetSolutionModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof GetSolutionModel */ lecturerComment?: string; /** - * + * * @type {Array} * @memberof GetSolutionModel */ groupMates?: Array; /** - * + * * @type {AccountDataDto} * @memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - * + * * @export * @interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - * + * * @type {number} * @memberof GetTaskQuestionDto */ id?: number; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ studentId?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ answer?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ lecturerId?: string; } /** - * + * * @export * @interface GithubCredentials */ export interface GithubCredentials { /** - * + * * @type {string} * @memberof GithubCredentials */ githubId?: string; } /** - * + * * @export * @interface GroupMateViewModel */ export interface GroupMateViewModel { /** - * + * * @type {string} * @memberof GroupMateViewModel */ studentId?: string; } /** - * + * * @export * @interface GroupModel */ export interface GroupModel { /** - * + * * @type {string} * @memberof GroupModel */ groupName?: string; } /** - * + * * @export * @interface GroupViewModel */ export interface GroupViewModel { /** - * + * * @type {number} * @memberof GroupViewModel */ id?: number; /** - * + * * @type {Array} * @memberof GroupViewModel */ studentsIds?: Array; } /** - * + * * @export * @interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - * + * * @type {string} * @memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - * + * * @export * @interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - * + * * @export * @interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ title?: string; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModel */ tags?: Array; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ description?: string; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ maxRating?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ homeworkId?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - * + * * @export * @interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface HomeworkViewModel */ export interface HomeworkViewModel { /** - * + * * @type {number} * @memberof HomeworkViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkViewModel */ title?: string; /** - * + * * @type {string} * @memberof HomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkViewModel */ courseId?: number; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeferred?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tasks?: Array; } /** - * + * * @export * @interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - * + * * @type {boolean} * @memberof HomeworkViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - * + * * @type {string} * @memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - * + * * @export * @interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - * + * * @export * @interface InviteExistentStudentViewModel */ export interface InviteExistentStudentViewModel { /** - * + * * @type {number} * @memberof InviteExistentStudentViewModel */ courseId?: number; /** - * + * * @type {string} * @memberof InviteExistentStudentViewModel */ email?: string; } /** - * + * * @export * @interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userId?: string; /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userEmail?: string; /** - * + * * @type {number} * @memberof InviteExpertViewModel */ courseId?: number; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ studentIds?: Array; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - * + * * @export * @interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - * + * * @type {string} * @memberof InviteLecturerViewModel */ email: string; } /** - * + * * @export * @interface LoginViewModel */ export interface LoginViewModel { /** - * + * * @type {string} * @memberof LoginViewModel */ email: string; /** - * + * * @type {string} * @memberof LoginViewModel */ password: string; /** - * + * * @type {boolean} * @memberof LoginViewModel */ rememberMe: boolean; } /** - * + * * @export * @interface NotificationViewModel */ export interface NotificationViewModel { /** - * + * * @type {number} * @memberof NotificationViewModel */ id?: number; /** - * + * * @type {string} * @memberof NotificationViewModel */ sender?: string; /** - * + * * @type {string} * @memberof NotificationViewModel */ owner?: string; /** - * + * * @type {CategoryState} * @memberof NotificationViewModel */ category?: CategoryState; /** - * + * * @type {string} * @memberof NotificationViewModel */ body?: string; /** - * + * * @type {boolean} * @memberof NotificationViewModel */ hasSeen?: boolean; /** - * + * * @type {Date} * @memberof NotificationViewModel */ date?: Date; } /** - * + * * @export * @interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - * + * * @type {string} * @memberof NotificationsSettingDto */ category?: string; /** - * + * * @type {boolean} * @memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - * + * * @export * @interface ProgramModel */ export interface ProgramModel { /** - * + * * @type {string} * @memberof ProgramModel */ programName?: string; } /** - * + * * @export * @interface RateSolutionModel */ export interface RateSolutionModel { /** - * + * * @type {number} * @memberof RateSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof RateSolutionModel */ lecturerComment?: string; } /** - * + * * @export * @interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ email: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ bio?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ companyName?: string; /** - * + * * @type {Array} * @memberof RegisterExpertViewModel */ tags?: Array; } /** - * + * * @export * @interface RegisterViewModel */ export interface RegisterViewModel { /** - * + * * @type {string} * @memberof RegisterViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ email: string; } /** - * + * * @export * @interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - * + * * @type {string} * @memberof RequestPasswordRecoveryViewModel */ email: string; } /** - * + * * @export * @interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ userId: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ token: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ password: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - * + * * @export * @interface Result */ export interface Result { /** - * + * * @type {boolean} * @memberof Result */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof Result */ errors?: Array; } /** - * + * * @export * @interface Solution */ export interface Solution { /** - * + * * @type {number} * @memberof Solution */ id?: number; /** - * + * * @type {string} * @memberof Solution */ githubUrl?: string; /** - * + * * @type {string} * @memberof Solution */ comment?: string; /** - * + * * @type {SolutionState} * @memberof Solution */ state?: SolutionState; /** - * + * * @type {number} * @memberof Solution */ rating?: number; /** - * + * * @type {string} * @memberof Solution */ studentId?: string; /** - * + * * @type {string} * @memberof Solution */ lecturerId?: string; /** - * + * * @type {number} * @memberof Solution */ groupId?: number; /** - * + * * @type {number} * @memberof Solution */ taskId?: number; /** - * + * * @type {Date} * @memberof Solution */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof Solution */ ratingDate?: Date; /** - * + * * @type {string} * @memberof Solution */ lecturerComment?: string; } /** - * + * * @export * @interface SolutionActualityDto */ export interface SolutionActualityDto { /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - * + * * @export * @interface SolutionActualityPart */ export interface SolutionActualityPart { /** - * + * * @type {boolean} * @memberof SolutionActualityPart */ isActual?: boolean; /** - * + * * @type {string} * @memberof SolutionActualityPart */ comment?: string; /** - * + * * @type {string} * @memberof SolutionActualityPart */ additionalData?: string; } /** - * + * * @export * @interface SolutionPreviewView */ export interface SolutionPreviewView { /** - * + * * @type {number} * @memberof SolutionPreviewView */ solutionId?: number; /** - * + * * @type {AccountDataDto} * @memberof SolutionPreviewView */ student?: AccountDataDto; /** - * + * * @type {string} * @memberof SolutionPreviewView */ courseTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ courseId?: number; /** - * + * * @type {string} * @memberof SolutionPreviewView */ homeworkTitle?: string; /** - * + * * @type {string} * @memberof SolutionPreviewView */ taskTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ taskId?: number; /** - * + * * @type {Date} * @memberof SolutionPreviewView */ publicationDate?: Date; /** - * + * * @type {number} * @memberof SolutionPreviewView */ groupId?: number; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isFirstTry?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - * + * * @export * @enum {string} */ @@ -1915,728 +1906,728 @@ export enum SolutionState { NUMBER_2 = 2 } /** - * + * * @export * @interface SolutionViewModel */ export interface SolutionViewModel { /** - * + * * @type {string} * @memberof SolutionViewModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ comment?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ studentId?: string; /** - * + * * @type {Array} * @memberof SolutionViewModel */ groupMateIds?: Array; /** - * + * * @type {Date} * @memberof SolutionViewModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof SolutionViewModel */ lecturerComment?: string; /** - * + * * @type {number} * @memberof SolutionViewModel */ rating?: number; /** - * + * * @type {Date} * @memberof SolutionViewModel */ ratingDate?: Date; } /** - * + * * @export * @interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - * + * * @type {number} * @memberof StatisticsCourseHomeworksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - * + * * @export * @interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ id?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ name?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ surname?: string; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - * + * * @export * @interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - * + * * @export * @interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - * + * * @type {number} * @memberof StatisticsCourseTasksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseTasksModel */ solution?: Array; } /** - * + * * @export * @interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - * + * * @type {AccountDataDto} * @memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - * + * * @export * @interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - * + * * @type {Array} * @memberof StudentCharacteristicsDto */ tags?: Array; /** - * + * * @type {string} * @memberof StudentCharacteristicsDto */ description?: string; } /** - * + * * @export * @interface StudentDataDto */ export interface StudentDataDto { /** - * + * * @type {StudentCharacteristicsDto} * @memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - * + * * @type {string} * @memberof StudentDataDto */ userId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ name?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ surname?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ email?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof StudentDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof StudentDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ bio?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ companyName?: string; } /** - * + * * @export * @interface SystemInfo */ export interface SystemInfo { /** - * + * * @type {string} * @memberof SystemInfo */ service?: string; /** - * + * * @type {boolean} * @memberof SystemInfo */ isAvailable?: boolean; } /** - * + * * @export * @interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - * + * * @type {number} * @memberof TaskDeadlineDto */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskDeadlineDto */ tags?: Array; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ taskTitle?: string; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ courseTitle?: string; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ courseId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ homeworkId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ maxRating?: number; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - * + * * @export * @interface TaskDeadlineView */ export interface TaskDeadlineView { /** - * + * * @type {TaskDeadlineDto} * @memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - * + * * @type {SolutionState} * @memberof TaskDeadlineView */ solutionState?: SolutionState; /** - * + * * @type {number} * @memberof TaskDeadlineView */ rating?: number; /** - * + * * @type {number} * @memberof TaskDeadlineView */ maxRating?: number; /** - * + * * @type {boolean} * @memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - * + * * @export * @interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - * + * * @type {number} * @memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - * + * * @export * @interface TaskSolutions */ export interface TaskSolutions { /** - * + * * @type {number} * @memberof TaskSolutions */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - * + * * @type {number} * @memberof TaskSolutionsStats */ taskId?: number; /** - * + * * @type {number} * @memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - * + * * @type {string} * @memberof TaskSolutionsStats */ title?: string; /** - * + * * @type {Array} * @memberof TaskSolutionsStats */ tags?: Array; } /** - * + * * @export * @interface TokenCredentials */ export interface TokenCredentials { /** - * + * * @type {string} * @memberof TokenCredentials */ accessToken?: string; } /** - * + * * @export * @interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - * + * * @type {TokenCredentials} * @memberof TokenCredentialsResult */ value?: TokenCredentials; /** - * + * * @type {boolean} * @memberof TokenCredentialsResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof TokenCredentialsResult */ errors?: Array; } /** - * + * * @export * @interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - * + * * @type {Array} * @memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - * + * * @export * @interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ name: string; /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isOpen: boolean; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - * + * * @export * @interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - * + * * @type {string} * @memberof UpdateExpertTagsDTO */ expertId?: string; /** - * + * * @type {Array} * @memberof UpdateExpertTagsDTO */ tags?: Array; } /** - * + * * @export * @interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - * + * * @type {string} * @memberof UpdateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ tasks?: Array; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ groupMates?: Array; } /** - * + * * @export * @interface UrlDto */ export interface UrlDto { /** - * + * * @type {string} * @memberof UrlDto */ url?: string; } /** - * + * * @export * @interface UserDataDto */ export interface UserDataDto { /** - * + * * @type {AccountDataDto} * @memberof UserDataDto */ userData?: AccountDataDto; /** - * + * * @type {Array} * @memberof UserDataDto */ courseEvents?: Array; /** - * + * * @type {Array} * @memberof UserDataDto */ taskDeadlines?: Array; } /** - * + * * @export * @interface UserTaskSolutions */ export interface UserTaskSolutions { /** - * + * * @type {Array} * @memberof UserTaskSolutions */ solutions?: Array; /** - * + * * @type {StudentDataDto} * @memberof UserTaskSolutions */ student?: StudentDataDto; } /** - * + * * @export * @interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - * + * * @type {number} * @memberof UserTaskSolutions2 */ maxRating?: number; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ title?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ tags?: Array; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ taskId?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ solutions?: Array; } /** - * + * * @export * @interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - * + * * @type {number} * @memberof UserTaskSolutionsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - * + * * @export * @interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ students?: Array; /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ @@ -2649,8 +2640,8 @@ export interface WorkspaceViewModel { export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2660,7 +2651,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2668,24 +2658,21 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (code !== undefined) { localVarQueryParameter['code'] = code; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2695,7 +2682,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2703,23 +2689,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("EditAccountViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2729,7 +2712,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2737,20 +2719,18 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2760,7 +2740,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2768,23 +2747,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UrlDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2794,7 +2770,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2802,20 +2777,18 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2830,7 +2803,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2838,20 +2810,18 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2861,7 +2831,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2869,24 +2838,21 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteLecturerViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2896,7 +2862,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2904,23 +2869,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("LoginViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2930,7 +2892,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2938,20 +2899,18 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2961,7 +2920,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2969,24 +2927,21 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RegisterViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2996,7 +2951,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3004,24 +2958,21 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RequestPasswordRecoveryViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3031,7 +2982,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3039,16 +2989,13 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("ResetPasswordViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -3056,7 +3003,6 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }, } }; - /** * AccountApi - functional programming interface * @export @@ -3064,8 +3010,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati export const AccountApiFp = function(configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3082,8 +3028,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3100,7 +3046,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3117,8 +3063,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3135,7 +3081,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3152,8 +3098,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3170,8 +3116,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3188,8 +3134,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3206,7 +3152,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3223,8 +3169,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3241,8 +3187,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3259,8 +3205,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3278,7 +3224,6 @@ export const AccountApiFp = function(configuration?: Configuration) { }, } }; - /** * AccountApi - factory interface * @export @@ -3286,8 +3231,8 @@ export const AccountApiFp = function(configuration?: Configuration) { export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3295,8 +3240,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3304,7 +3249,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3312,8 +3257,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3321,7 +3266,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3329,8 +3274,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3338,8 +3283,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3347,8 +3292,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3356,7 +3301,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3364,8 +3309,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3373,8 +3318,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3382,8 +3327,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3392,7 +3337,6 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? }, }; }; - /** * AccountApi - object-oriented interface * @export @@ -3401,8 +3345,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? */ export class AccountApi extends BaseAPI { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3410,10 +3354,9 @@ export class AccountApi extends BaseAPI { public accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(this.configuration).accountAuthorizeGithub(code, options)(this.fetch, this.basePath); } - /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3421,9 +3364,8 @@ export class AccountApi extends BaseAPI { public accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(this.configuration).accountEdit(body, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3431,10 +3373,9 @@ export class AccountApi extends BaseAPI { public accountGetAllStudents(options?: any) { return AccountApiFp(this.configuration).accountGetAllStudents(options)(this.fetch, this.basePath); } - /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3442,9 +3383,8 @@ export class AccountApi extends BaseAPI { public accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(this.configuration).accountGetGithubLoginUrl(body, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3452,10 +3392,9 @@ export class AccountApi extends BaseAPI { public accountGetUserData(options?: any) { return AccountApiFp(this.configuration).accountGetUserData(options)(this.fetch, this.basePath); } - /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3463,10 +3402,9 @@ export class AccountApi extends BaseAPI { public accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(this.configuration).accountGetUserDataById(userId, options)(this.fetch, this.basePath); } - /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3474,10 +3412,9 @@ export class AccountApi extends BaseAPI { public accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(this.configuration).accountInviteNewLecturer(body, options)(this.fetch, this.basePath); } - /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3485,9 +3422,8 @@ export class AccountApi extends BaseAPI { public accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(this.configuration).accountLogin(body, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3495,10 +3431,9 @@ export class AccountApi extends BaseAPI { public accountRefreshToken(options?: any) { return AccountApiFp(this.configuration).accountRefreshToken(options)(this.fetch, this.basePath); } - /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3506,10 +3441,9 @@ export class AccountApi extends BaseAPI { public accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(this.configuration).accountRegister(body, options)(this.fetch, this.basePath); } - /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3517,10 +3451,9 @@ export class AccountApi extends BaseAPI { public accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(this.configuration).accountRequestPasswordRecovery(body, options)(this.fetch, this.basePath); } - /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3528,7 +3461,6 @@ export class AccountApi extends BaseAPI { public accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(this.configuration).accountResetPassword(body, options)(this.fetch, this.basePath); } - } /** * CourseGroupsApi - fetch parameter creator @@ -3537,10 +3469,10 @@ export class AccountApi extends BaseAPI { export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3560,7 +3492,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3568,25 +3499,22 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (userId !== undefined) { localVarQueryParameter['userId'] = userId; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3601,7 +3529,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3609,25 +3536,22 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateGroupViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3647,7 +3571,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3655,20 +3578,18 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3683,7 +3604,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3691,20 +3611,18 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3719,7 +3637,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3727,20 +3644,18 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3755,7 +3670,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3763,20 +3677,18 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3791,7 +3703,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3799,22 +3710,20 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3834,7 +3743,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3842,26 +3750,23 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (userId !== undefined) { localVarQueryParameter['userId'] = userId; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3881,7 +3786,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3889,16 +3793,13 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateGroupViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -3906,7 +3807,6 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }, } }; - /** * CourseGroupsApi - functional programming interface * @export @@ -3914,10 +3814,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3934,9 +3834,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3953,9 +3853,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3972,8 +3872,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3990,8 +3890,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4008,8 +3908,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4026,8 +3926,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4044,10 +3944,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4064,10 +3964,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4085,7 +3985,6 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }, } }; - /** * CourseGroupsApi - factory interface * @export @@ -4093,10 +3992,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4104,9 +4003,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4114,9 +4013,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4124,8 +4023,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4133,8 +4032,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4142,8 +4041,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4151,8 +4050,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4160,10 +4059,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4171,10 +4070,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4183,7 +4082,6 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f }, }; }; - /** * CourseGroupsApi - object-oriented interface * @export @@ -4192,10 +4090,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f */ export class CourseGroupsApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4203,11 +4101,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4215,11 +4112,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsCreateCourseGroup(courseId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4227,10 +4123,9 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4238,10 +4133,9 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetAllCourseGroups(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4249,10 +4143,9 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetCourseGroupsById(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4260,10 +4153,9 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroup(groupId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4271,12 +4163,11 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroupTasks(groupId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4284,12 +4175,11 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4297,7 +4187,6 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(this.fetch, this.basePath); } - } /** * CoursesApi - fetch parameter creator @@ -4306,9 +4195,9 @@ export class CourseGroupsApi extends BaseAPI { export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4328,7 +4217,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4336,21 +4224,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4370,7 +4256,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4378,20 +4263,18 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4401,7 +4284,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4409,24 +4291,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateCourseViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4441,7 +4320,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4449,22 +4327,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4484,7 +4360,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4492,24 +4367,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("EditMentorWorkspaceDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4524,7 +4396,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4532,19 +4403,17 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4554,7 +4423,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4562,20 +4430,18 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4590,7 +4456,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4598,19 +4463,17 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4620,7 +4483,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4628,20 +4490,18 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4656,7 +4516,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4664,20 +4523,18 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4687,7 +4544,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4695,24 +4551,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (programName !== undefined) { localVarQueryParameter['programName'] = programName; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4727,7 +4580,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4735,21 +4587,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4769,7 +4619,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4777,19 +4626,17 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4799,7 +4646,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4807,21 +4653,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4841,7 +4685,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4849,20 +4692,18 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4877,7 +4718,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4885,21 +4725,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4914,7 +4752,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4922,26 +4759,23 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateCourseViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4961,7 +4795,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4969,24 +4802,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("StudentCharacteristicsDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteExistentStudentViewModel} [body] + * + * @param {InviteExistentStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4996,7 +4826,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5004,16 +4833,13 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteExistentStudentViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -5021,7 +4847,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }, } }; - /** * CoursesApi - functional programming interface * @export @@ -5029,9 +4854,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati export const CoursesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5048,9 +4873,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5067,8 +4892,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5085,8 +4910,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5103,10 +4928,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5123,8 +4948,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5141,7 +4966,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5158,8 +4983,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5176,7 +5001,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5193,8 +5018,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5211,8 +5036,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5229,8 +5054,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5247,9 +5072,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5266,7 +5091,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5283,9 +5108,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5302,8 +5127,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5320,9 +5145,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5339,10 +5164,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5359,8 +5184,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteExistentStudentViewModel} [body] + * + * @param {InviteExistentStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5378,7 +5203,6 @@ export const CoursesApiFp = function(configuration?: Configuration) { }, } }; - /** * CoursesApi - factory interface * @export @@ -5386,9 +5210,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5396,9 +5220,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5406,8 +5230,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5415,8 +5239,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5424,10 +5248,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5435,8 +5259,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5444,7 +5268,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5452,8 +5276,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5461,7 +5285,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5469,8 +5293,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5478,8 +5302,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5487,8 +5311,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5496,9 +5320,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5506,7 +5330,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5514,9 +5338,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5524,8 +5348,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5533,9 +5357,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5543,10 +5367,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5554,8 +5378,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(fetch, basePath); }, /** - * - * @param {InviteExistentStudentViewModel} [body] + * + * @param {InviteExistentStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5564,7 +5388,6 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? }, }; }; - /** * CoursesApi - object-oriented interface * @export @@ -5573,9 +5396,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? */ export class CoursesApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5583,11 +5406,10 @@ export class CoursesApi extends BaseAPI { public coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5595,10 +5417,9 @@ export class CoursesApi extends BaseAPI { public coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptStudent(courseId, studentId, options)(this.fetch, this.basePath); } - /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5606,10 +5427,9 @@ export class CoursesApi extends BaseAPI { public coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesCreateCourse(body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5617,12 +5437,11 @@ export class CoursesApi extends BaseAPI { public coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesDeleteCourse(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5630,10 +5449,9 @@ export class CoursesApi extends BaseAPI { public coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(this.configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5641,9 +5459,8 @@ export class CoursesApi extends BaseAPI { public coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourseData(courseId, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5651,10 +5468,9 @@ export class CoursesApi extends BaseAPI { public coursesGetAllCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourses(options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5662,9 +5478,8 @@ export class CoursesApi extends BaseAPI { public coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllTagsForCourse(courseId, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5672,10 +5487,9 @@ export class CoursesApi extends BaseAPI { public coursesGetAllUserCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllUserCourses(options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5683,10 +5497,9 @@ export class CoursesApi extends BaseAPI { public coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetCourseData(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5694,10 +5507,9 @@ export class CoursesApi extends BaseAPI { public coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetGroups(programName, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5705,11 +5517,10 @@ export class CoursesApi extends BaseAPI { public coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetLecturersAvailableForCourse(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5717,9 +5528,8 @@ export class CoursesApi extends BaseAPI { public coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5727,11 +5537,10 @@ export class CoursesApi extends BaseAPI { public coursesGetProgramNames(options?: any) { return CoursesApiFp(this.configuration).coursesGetProgramNames(options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5739,10 +5548,9 @@ export class CoursesApi extends BaseAPI { public coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesRejectStudent(courseId, studentId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5750,11 +5558,10 @@ export class CoursesApi extends BaseAPI { public coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesSignInCourse(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5762,12 +5569,11 @@ export class CoursesApi extends BaseAPI { public coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateCourse(courseId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5775,10 +5581,9 @@ export class CoursesApi extends BaseAPI { public coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {InviteExistentStudentViewModel} [body] + * + * @param {InviteExistentStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5786,7 +5591,6 @@ export class CoursesApi extends BaseAPI { public coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesinviteExistentStudent(body, options)(this.fetch, this.basePath); } - } /** * ExpertsApi - fetch parameter creator @@ -5795,7 +5599,7 @@ export class CoursesApi extends BaseAPI { export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5805,7 +5609,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5813,19 +5616,17 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5835,7 +5636,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5843,20 +5643,18 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5866,7 +5664,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5874,24 +5671,21 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (expertEmail !== undefined) { localVarQueryParameter['expertEmail'] = expertEmail; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5901,7 +5695,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5909,24 +5702,21 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteExpertViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5936,7 +5726,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5944,24 +5733,21 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("TokenCredentials" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5971,7 +5757,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5979,23 +5764,20 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RegisterExpertViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6005,7 +5787,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6013,20 +5794,18 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6036,7 +5815,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6044,16 +5822,13 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateExpertTagsDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -6061,7 +5836,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }, } }; - /** * ExpertsApi - functional programming interface * @export @@ -6069,7 +5843,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6086,7 +5860,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6103,8 +5877,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6121,8 +5895,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6139,8 +5913,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6157,8 +5931,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6175,7 +5949,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6192,8 +5966,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6211,7 +5985,6 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }, } }; - /** * ExpertsApi - factory interface * @export @@ -6219,7 +5992,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6227,7 +6000,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6235,8 +6008,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6244,8 +6017,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6253,8 +6026,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6262,8 +6035,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6271,7 +6044,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6279,8 +6052,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6289,7 +6062,6 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? }, }; }; - /** * ExpertsApi - object-oriented interface * @export @@ -6298,7 +6070,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? */ export class ExpertsApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6306,9 +6078,8 @@ export class ExpertsApi extends BaseAPI { public expertsGetAll(options?: any) { return ExpertsApiFp(this.configuration).expertsGetAll(options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6316,10 +6087,9 @@ export class ExpertsApi extends BaseAPI { public expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsGetIsProfileEdited(options)(this.fetch, this.basePath); } - /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6327,10 +6097,9 @@ export class ExpertsApi extends BaseAPI { public expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(this.configuration).expertsGetToken(expertEmail, options)(this.fetch, this.basePath); } - /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6338,10 +6107,9 @@ export class ExpertsApi extends BaseAPI { public expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsInvite(body, options)(this.fetch, this.basePath); } - /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6349,10 +6117,9 @@ export class ExpertsApi extends BaseAPI { public expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(this.configuration).expertsLogin(body, options)(this.fetch, this.basePath); } - /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6360,9 +6127,8 @@ export class ExpertsApi extends BaseAPI { public expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsRegister(body, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6370,10 +6136,9 @@ export class ExpertsApi extends BaseAPI { public expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsSetProfileIsEdited(options)(this.fetch, this.basePath); } - /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6381,7 +6146,6 @@ export class ExpertsApi extends BaseAPI { public expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(this.configuration).expertsUpdateTags(body, options)(this.fetch, this.basePath); } - } /** * FilesApi - fetch parameter creator @@ -6390,9 +6154,9 @@ export class ExpertsApi extends BaseAPI { export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6402,7 +6166,6 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6410,28 +6173,24 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (courseId !== undefined) { localVarQueryParameter['courseId'] = courseId; } - if (key !== undefined) { localVarQueryParameter['key'] = key; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6441,7 +6200,6 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6449,25 +6207,22 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (key !== undefined) { localVarQueryParameter['key'] = key; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6482,7 +6237,6 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6490,26 +6244,23 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (homeworkId !== undefined) { localVarQueryParameter['homeworkId'] = homeworkId; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6520,7 +6271,6 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; const localVarFormParams = new URLSearchParams(); - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6528,27 +6278,21 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (courseId !== undefined) { localVarFormParams.set('CourseId', courseId as any); } - if (homeworkId !== undefined) { localVarFormParams.set('HomeworkId', homeworkId as any); } - if (file !== undefined) { localVarFormParams.set('File', file as any); } - localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); localVarRequestOptions.body = localVarFormParams.toString(); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -6556,7 +6300,6 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }, } }; - /** * FilesApi - functional programming interface * @export @@ -6564,9 +6307,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration export const FilesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6583,8 +6326,8 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6601,9 +6344,9 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6620,10 +6363,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6641,7 +6384,6 @@ export const FilesApiFp = function(configuration?: Configuration) { }, } }; - /** * FilesApi - factory interface * @export @@ -6649,9 +6391,9 @@ export const FilesApiFp = function(configuration?: Configuration) { export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6659,8 +6401,8 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6668,9 +6410,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6678,10 +6420,10 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6690,7 +6432,6 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: }, }; }; - /** * FilesApi - object-oriented interface * @export @@ -6699,9 +6440,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: */ export class FilesApi extends BaseAPI { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6709,10 +6450,9 @@ export class FilesApi extends BaseAPI { public filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(this.configuration).filesDeleteFile(courseId, key, options)(this.fetch, this.basePath); } - /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6720,11 +6460,10 @@ export class FilesApi extends BaseAPI { public filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(this.configuration).filesGetDownloadLink(key, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6732,12 +6471,11 @@ export class FilesApi extends BaseAPI { public filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(this.configuration).filesGetFilesInfo(courseId, homeworkId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6745,7 +6483,6 @@ export class FilesApi extends BaseAPI { public filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(this.configuration).filesUpload(courseId, homeworkId, file, options)(this.fetch, this.basePath); } - } /** * HomeworksApi - fetch parameter creator @@ -6754,9 +6491,9 @@ export class FilesApi extends BaseAPI { export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6771,7 +6508,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6779,24 +6515,21 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateHomeworkViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6811,7 +6544,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6819,20 +6551,18 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6847,7 +6577,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6855,20 +6584,18 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6883,7 +6610,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6891,21 +6617,19 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6920,7 +6644,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6928,16 +6651,13 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateHomeworkViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -6945,7 +6665,6 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }, } }; - /** * HomeworksApi - functional programming interface * @export @@ -6953,9 +6672,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6972,8 +6691,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6990,8 +6709,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7008,8 +6727,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7026,9 +6745,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7046,7 +6765,6 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }, } }; - /** * HomeworksApi - factory interface * @export @@ -7054,9 +6772,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7064,8 +6782,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7073,8 +6791,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7082,8 +6800,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7091,9 +6809,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7102,7 +6820,6 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc }, }; }; - /** * HomeworksApi - object-oriented interface * @export @@ -7111,9 +6828,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc */ export class HomeworksApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7121,10 +6838,9 @@ export class HomeworksApi extends BaseAPI { public homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksAddHomework(courseId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7132,10 +6848,9 @@ export class HomeworksApi extends BaseAPI { public homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksDeleteHomework(homeworkId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7143,10 +6858,9 @@ export class HomeworksApi extends BaseAPI { public homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetForEditingHomework(homeworkId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7154,11 +6868,10 @@ export class HomeworksApi extends BaseAPI { public homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetHomework(homeworkId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -7166,7 +6879,6 @@ export class HomeworksApi extends BaseAPI { public homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksUpdateHomework(homeworkId, body, options)(this.fetch, this.basePath); } - } /** * NotificationsApi - fetch parameter creator @@ -7175,8 +6887,8 @@ export class HomeworksApi extends BaseAPI { export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7186,7 +6898,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7194,23 +6905,20 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("NotificationsSettingDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7220,7 +6928,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7228,19 +6935,17 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7250,7 +6955,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7258,19 +6962,17 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7280,7 +6982,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7288,20 +6989,18 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7311,7 +7010,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7319,16 +7017,13 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("Array<number>" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -7336,7 +7031,6 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }, } }; - /** * NotificationsApi - functional programming interface * @export @@ -7344,8 +7038,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7362,7 +7056,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7379,7 +7073,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7396,7 +7090,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7413,8 +7107,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7432,7 +7126,6 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }, } }; - /** * NotificationsApi - factory interface * @export @@ -7440,8 +7133,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7449,7 +7142,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7457,7 +7150,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7465,7 +7158,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7473,8 +7166,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7483,7 +7176,6 @@ export const NotificationsApiFactory = function (configuration?: Configuration, }, }; }; - /** * NotificationsApi - object-oriented interface * @export @@ -7492,8 +7184,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, */ export class NotificationsApi extends BaseAPI { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7501,9 +7193,8 @@ export class NotificationsApi extends BaseAPI { public notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(this.configuration).notificationsChangeSetting(body, options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7511,9 +7202,8 @@ export class NotificationsApi extends BaseAPI { public notificationsGet(options?: any) { return NotificationsApiFp(this.configuration).notificationsGet(options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7521,9 +7211,8 @@ export class NotificationsApi extends BaseAPI { public notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetNewNotificationsCount(options)(this.fetch, this.basePath); } - /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7531,10 +7220,9 @@ export class NotificationsApi extends BaseAPI { public notificationsGetSettings(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetSettings(options)(this.fetch, this.basePath); } - /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7542,7 +7230,6 @@ export class NotificationsApi extends BaseAPI { public notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(this.configuration).notificationsMarkAsSeen(body, options)(this.fetch, this.basePath); } - } /** * SolutionsApi - fetch parameter creator @@ -7551,8 +7238,8 @@ export class NotificationsApi extends BaseAPI { export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7567,7 +7254,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7575,21 +7261,19 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7599,7 +7283,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7607,28 +7290,24 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (taskId !== undefined) { localVarQueryParameter['taskId'] = taskId; } - if (solutionId !== undefined) { localVarQueryParameter['solutionId'] = solutionId; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7643,7 +7322,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7651,20 +7329,18 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7679,7 +7355,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7687,21 +7362,19 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7721,7 +7394,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7729,20 +7401,18 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7757,7 +7427,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7765,20 +7434,18 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7788,7 +7455,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7796,24 +7462,21 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - if (taskId !== undefined) { localVarQueryParameter['taskId'] = taskId; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7828,7 +7491,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7836,20 +7498,18 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7864,7 +7524,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7872,21 +7531,19 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7901,7 +7558,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7909,25 +7565,22 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("SolutionViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7942,7 +7595,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7950,25 +7602,22 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("SolutionViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7983,7 +7632,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7991,16 +7639,13 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RateSolutionModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8008,7 +7653,6 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }, } }; - /** * SolutionsApi - functional programming interface * @export @@ -8016,8 +7660,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8034,9 +7678,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8053,8 +7697,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8071,8 +7715,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8089,9 +7733,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8108,8 +7752,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8126,8 +7770,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8144,8 +7788,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8162,8 +7806,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8180,9 +7824,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8199,9 +7843,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8218,9 +7862,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8238,7 +7882,6 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }, } }; - /** * SolutionsApi - factory interface * @export @@ -8246,8 +7889,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8255,9 +7898,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8265,8 +7908,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8274,8 +7917,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8283,9 +7926,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8293,8 +7936,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8302,8 +7945,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8311,8 +7954,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8320,8 +7963,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8329,9 +7972,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8339,9 +7982,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8349,9 +7992,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8360,7 +8003,6 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc }, }; }; - /** * SolutionsApi - object-oriented interface * @export @@ -8369,8 +8011,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc */ export class SolutionsApi extends BaseAPI { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8378,11 +8020,10 @@ export class SolutionsApi extends BaseAPI { public solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsDeleteSolution(solutionId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8390,10 +8031,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8401,10 +8041,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionActuality(solutionId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8412,11 +8051,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionById(solutionId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8424,10 +8062,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetStudentSolution(taskId, studentId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8435,10 +8072,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetTaskSolutionsPageData(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8446,10 +8082,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetUnratedSolutions(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8457,10 +8092,9 @@ export class SolutionsApi extends BaseAPI { public solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGiveUp(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8468,11 +8102,10 @@ export class SolutionsApi extends BaseAPI { public solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsMarkSolution(solutionId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8480,11 +8113,10 @@ export class SolutionsApi extends BaseAPI { public solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8492,11 +8124,10 @@ export class SolutionsApi extends BaseAPI { public solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostSolution(taskId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8504,7 +8135,6 @@ export class SolutionsApi extends BaseAPI { public solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsRateSolution(solutionId, body, options)(this.fetch, this.basePath); } - } /** * StatisticsApi - fetch parameter creator @@ -8513,8 +8143,8 @@ export class SolutionsApi extends BaseAPI { export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8529,7 +8159,6 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8537,20 +8166,18 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8565,7 +8192,6 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8573,20 +8199,18 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8601,7 +8225,6 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8609,12 +8232,10 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8622,7 +8243,6 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }, } }; - /** * StatisticsApi - functional programming interface * @export @@ -8630,8 +8250,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8648,8 +8268,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8666,8 +8286,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8685,7 +8305,6 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }, } }; - /** * StatisticsApi - factory interface * @export @@ -8693,8 +8312,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8702,8 +8321,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8711,8 +8330,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8721,7 +8340,6 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet }, }; }; - /** * StatisticsApi - object-oriented interface * @export @@ -8730,8 +8348,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet */ export class StatisticsApi extends BaseAPI { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8739,10 +8357,9 @@ export class StatisticsApi extends BaseAPI { public statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetChartStatistics(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8750,10 +8367,9 @@ export class StatisticsApi extends BaseAPI { public statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetCourseStatistics(courseId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8761,7 +8377,6 @@ export class StatisticsApi extends BaseAPI { public statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetLecturersStatistics(courseId, options)(this.fetch, this.basePath); } - } /** * SystemApi - fetch parameter creator @@ -8770,7 +8385,7 @@ export class StatisticsApi extends BaseAPI { export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8780,7 +8395,6 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8788,12 +8402,10 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8801,7 +8413,6 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio }, } }; - /** * SystemApi - functional programming interface * @export @@ -8809,7 +8420,7 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio export const SystemApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8827,7 +8438,6 @@ export const SystemApiFp = function(configuration?: Configuration) { }, } }; - /** * SystemApi - factory interface * @export @@ -8835,7 +8445,7 @@ export const SystemApiFp = function(configuration?: Configuration) { export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8844,7 +8454,6 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: }, }; }; - /** * SystemApi - object-oriented interface * @export @@ -8853,7 +8462,7 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: */ export class SystemApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SystemApi @@ -8861,7 +8470,6 @@ export class SystemApi extends BaseAPI { public systemStatus(options?: any) { return SystemApiFp(this.configuration).systemStatus(options)(this.fetch, this.basePath); } - } /** * TasksApi - fetch parameter creator @@ -8870,8 +8478,8 @@ export class SystemApi extends BaseAPI { export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8881,7 +8489,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8889,24 +8496,21 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("AddAnswerForQuestionDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8916,7 +8520,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8924,25 +8527,22 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("AddTaskQuestionDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8957,7 +8557,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8965,24 +8564,21 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateTaskViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8997,7 +8593,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -9005,20 +8600,18 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9033,7 +8626,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -9041,20 +8633,18 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9069,7 +8659,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -9077,20 +8666,18 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9105,7 +8692,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -9113,21 +8699,19 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9142,7 +8726,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -9150,16 +8733,13 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateTaskViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -9167,7 +8747,6 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }, } }; - /** * TasksApi - functional programming interface * @export @@ -9175,8 +8754,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration export const TasksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9193,8 +8772,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9211,9 +8790,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9230,8 +8809,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9248,8 +8827,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9266,8 +8845,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9284,8 +8863,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9302,9 +8881,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9322,7 +8901,6 @@ export const TasksApiFp = function(configuration?: Configuration) { }, } }; - /** * TasksApi - factory interface * @export @@ -9330,8 +8908,8 @@ export const TasksApiFp = function(configuration?: Configuration) { export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9339,8 +8917,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9348,9 +8926,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9358,8 +8936,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9367,8 +8945,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9376,8 +8954,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9385,8 +8963,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9394,9 +8972,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9405,7 +8983,6 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: }, }; }; - /** * TasksApi - object-oriented interface * @export @@ -9414,8 +8991,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: */ export class TasksApi extends BaseAPI { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9423,10 +9000,9 @@ export class TasksApi extends BaseAPI { public tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddAnswerForQuestion(body, options)(this.fetch, this.basePath); } - /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9434,11 +9010,10 @@ export class TasksApi extends BaseAPI { public tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddQuestionForTask(body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9446,10 +9021,9 @@ export class TasksApi extends BaseAPI { public tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksAddTask(homeworkId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9457,10 +9031,9 @@ export class TasksApi extends BaseAPI { public tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksDeleteTask(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9468,10 +9041,9 @@ export class TasksApi extends BaseAPI { public tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetForEditingTask(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9479,10 +9051,9 @@ export class TasksApi extends BaseAPI { public tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetQuestionsForTask(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9490,11 +9061,10 @@ export class TasksApi extends BaseAPI { public tasksGetTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetTask(taskId, options)(this.fetch, this.basePath); } - /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9502,5 +9072,4 @@ export class TasksApi extends BaseAPI { public tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksUpdateTask(taskId, body, options)(this.fetch, this.basePath); } - } diff --git a/hwproj.front/src/api/api_test.spec.ts b/hwproj.front/src/api/api_test.spec.ts new file mode 100644 index 000000000..75f1926c2 --- /dev/null +++ b/hwproj.front/src/api/api_test.spec.ts @@ -0,0 +1,441 @@ +/** + * API Gateway + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1 + * + * + * NOTE: This file is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the file manually. + */ +import * as api from "./api" +import { Configuration } from "./configuration" +const config: Configuration = {} +describe("AccountApi", () => { + let instance: api.AccountApi + beforeEach(function() { + instance = new api.AccountApi(config) + }); + test("accountAuthorizeGithub", () => { + const code: string = "code_example" + return expect(instance.accountAuthorizeGithub(code, {})).resolves.toBe(null) + }) + test("accountEdit", () => { + const body: api.EditAccountViewModel = undefined + return expect(instance.accountEdit(body, {})).resolves.toBe(null) + }) + test("accountGetAllStudents", () => { + return expect(instance.accountGetAllStudents({})).resolves.toBe(null) + }) + test("accountGetGithubLoginUrl", () => { + const body: api.UrlDto = undefined + return expect(instance.accountGetGithubLoginUrl(body, {})).resolves.toBe(null) + }) + test("accountGetUserData", () => { + return expect(instance.accountGetUserData({})).resolves.toBe(null) + }) + test("accountGetUserDataById", () => { + const userId: string = "userId_example" + return expect(instance.accountGetUserDataById(userId, {})).resolves.toBe(null) + }) + test("accountInviteNewLecturer", () => { + const body: api.InviteLecturerViewModel = undefined + return expect(instance.accountInviteNewLecturer(body, {})).resolves.toBe(null) + }) + test("accountLogin", () => { + const body: api.LoginViewModel = undefined + return expect(instance.accountLogin(body, {})).resolves.toBe(null) + }) + test("accountRefreshToken", () => { + return expect(instance.accountRefreshToken({})).resolves.toBe(null) + }) + test("accountRegister", () => { + const body: api.RegisterViewModel = undefined + return expect(instance.accountRegister(body, {})).resolves.toBe(null) + }) + test("accountRequestPasswordRecovery", () => { + const body: api.RequestPasswordRecoveryViewModel = undefined + return expect(instance.accountRequestPasswordRecovery(body, {})).resolves.toBe(null) + }) + test("accountResetPassword", () => { + const body: api.ResetPasswordViewModel = undefined + return expect(instance.accountResetPassword(body, {})).resolves.toBe(null) + }) +}) +describe("CourseGroupsApi", () => { + let instance: api.CourseGroupsApi + beforeEach(function() { + instance = new api.CourseGroupsApi(config) + }); + test("courseGroupsAddStudentInGroup", () => { + const courseId: number = 789 + const groupId: number = 789 + const userId: string = "userId_example" + return expect(instance.courseGroupsAddStudentInGroup(courseId, groupId, userId, {})).resolves.toBe(null) + }) + test("courseGroupsCreateCourseGroup", () => { + const courseId: number = 789 + const body: api.CreateGroupViewModel = undefined + return expect(instance.courseGroupsCreateCourseGroup(courseId, body, {})).resolves.toBe(null) + }) + test("courseGroupsDeleteCourseGroup", () => { + const courseId: number = 789 + const groupId: number = 789 + return expect(instance.courseGroupsDeleteCourseGroup(courseId, groupId, {})).resolves.toBe(null) + }) + test("courseGroupsGetAllCourseGroups", () => { + const courseId: number = 789 + return expect(instance.courseGroupsGetAllCourseGroups(courseId, {})).resolves.toBe(null) + }) + test("courseGroupsGetCourseGroupsById", () => { + const courseId: number = 789 + return expect(instance.courseGroupsGetCourseGroupsById(courseId, {})).resolves.toBe(null) + }) + test("courseGroupsGetGroup", () => { + const groupId: number = 789 + return expect(instance.courseGroupsGetGroup(groupId, {})).resolves.toBe(null) + }) + test("courseGroupsGetGroupTasks", () => { + const groupId: number = 789 + return expect(instance.courseGroupsGetGroupTasks(groupId, {})).resolves.toBe(null) + }) + test("courseGroupsRemoveStudentFromGroup", () => { + const courseId: number = 789 + const groupId: number = 789 + const userId: string = "userId_example" + return expect(instance.courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, {})).resolves.toBe(null) + }) + test("courseGroupsUpdateCourseGroup", () => { + const courseId: number = 789 + const groupId: number = 789 + const body: api.UpdateGroupViewModel = undefined + return expect(instance.courseGroupsUpdateCourseGroup(courseId, groupId, body, {})).resolves.toBe(null) + }) +}) +describe("CoursesApi", () => { + let instance: api.CoursesApi + beforeEach(function() { + instance = new api.CoursesApi(config) + }); + test("coursesAcceptLecturer", () => { + const courseId: number = 789 + const lecturerEmail: string = "lecturerEmail_example" + return expect(instance.coursesAcceptLecturer(courseId, lecturerEmail, {})).resolves.toBe(null) + }) + test("coursesAcceptStudent", () => { + const courseId: number = 789 + const studentId: string = "studentId_example" + return expect(instance.coursesAcceptStudent(courseId, studentId, {})).resolves.toBe(null) + }) + test("coursesCreateCourse", () => { + const body: api.CreateCourseViewModel = undefined + return expect(instance.coursesCreateCourse(body, {})).resolves.toBe(null) + }) + test("coursesDeleteCourse", () => { + const courseId: number = 789 + return expect(instance.coursesDeleteCourse(courseId, {})).resolves.toBe(null) + }) + test("coursesEditMentorWorkspace", () => { + const courseId: number = 789 + const mentorId: string = "mentorId_example" + const body: api.EditMentorWorkspaceDTO = undefined + return expect(instance.coursesEditMentorWorkspace(courseId, mentorId, body, {})).resolves.toBe(null) + }) + test("coursesGetAllCourseData", () => { + const courseId: number = 789 + return expect(instance.coursesGetAllCourseData(courseId, {})).resolves.toBe(null) + }) + test("coursesGetAllCourses", () => { + return expect(instance.coursesGetAllCourses({})).resolves.toBe(null) + }) + test("coursesGetAllTagsForCourse", () => { + const courseId: number = 789 + return expect(instance.coursesGetAllTagsForCourse(courseId, {})).resolves.toBe(null) + }) + test("coursesGetAllUserCourses", () => { + return expect(instance.coursesGetAllUserCourses({})).resolves.toBe(null) + }) + test("coursesGetCourseData", () => { + const courseId: number = 789 + return expect(instance.coursesGetCourseData(courseId, {})).resolves.toBe(null) + }) + test("coursesGetGroups", () => { + const programName: string = "programName_example" + return expect(instance.coursesGetGroups(programName, {})).resolves.toBe(null) + }) + test("coursesGetLecturersAvailableForCourse", () => { + const courseId: number = 789 + return expect(instance.coursesGetLecturersAvailableForCourse(courseId, {})).resolves.toBe(null) + }) + test("coursesGetMentorWorkspace", () => { + const courseId: number = 789 + const mentorId: string = "mentorId_example" + return expect(instance.coursesGetMentorWorkspace(courseId, mentorId, {})).resolves.toBe(null) + }) + test("coursesGetProgramNames", () => { + return expect(instance.coursesGetProgramNames({})).resolves.toBe(null) + }) + test("coursesRejectStudent", () => { + const courseId: number = 789 + const studentId: string = "studentId_example" + return expect(instance.coursesRejectStudent(courseId, studentId, {})).resolves.toBe(null) + }) + test("coursesSignInCourse", () => { + const courseId: number = 789 + return expect(instance.coursesSignInCourse(courseId, {})).resolves.toBe(null) + }) + test("coursesUpdateCourse", () => { + const courseId: number = 789 + const body: api.UpdateCourseViewModel = undefined + return expect(instance.coursesUpdateCourse(courseId, body, {})).resolves.toBe(null) + }) + test("coursesUpdateStudentCharacteristics", () => { + const courseId: number = 789 + const studentId: string = "studentId_example" + const body: api.StudentCharacteristicsDto = undefined + return expect(instance.coursesUpdateStudentCharacteristics(courseId, studentId, body, {})).resolves.toBe(null) + }) + test("coursesinviteExistentStudent", () => { + const body: api.InviteExistentStudentViewModel = undefined + return expect(instance.coursesinviteExistentStudent(body, {})).resolves.toBe(null) + }) +}) +describe("ExpertsApi", () => { + let instance: api.ExpertsApi + beforeEach(function() { + instance = new api.ExpertsApi(config) + }); + test("expertsGetAll", () => { + return expect(instance.expertsGetAll({})).resolves.toBe(null) + }) + test("expertsGetIsProfileEdited", () => { + return expect(instance.expertsGetIsProfileEdited({})).resolves.toBe(null) + }) + test("expertsGetToken", () => { + const expertEmail: string = "expertEmail_example" + return expect(instance.expertsGetToken(expertEmail, {})).resolves.toBe(null) + }) + test("expertsInvite", () => { + const body: api.InviteExpertViewModel = undefined + return expect(instance.expertsInvite(body, {})).resolves.toBe(null) + }) + test("expertsLogin", () => { + const body: api.TokenCredentials = undefined + return expect(instance.expertsLogin(body, {})).resolves.toBe(null) + }) + test("expertsRegister", () => { + const body: api.RegisterExpertViewModel = undefined + return expect(instance.expertsRegister(body, {})).resolves.toBe(null) + }) + test("expertsSetProfileIsEdited", () => { + return expect(instance.expertsSetProfileIsEdited({})).resolves.toBe(null) + }) + test("expertsUpdateTags", () => { + const body: api.UpdateExpertTagsDTO = undefined + return expect(instance.expertsUpdateTags(body, {})).resolves.toBe(null) + }) +}) +describe("FilesApi", () => { + let instance: api.FilesApi + beforeEach(function() { + instance = new api.FilesApi(config) + }); + test("filesDeleteFile", () => { + const courseId: number = 789 + const key: string = "key_example" + return expect(instance.filesDeleteFile(courseId, key, {})).resolves.toBe(null) + }) + test("filesGetDownloadLink", () => { + const key: string = "key_example" + return expect(instance.filesGetDownloadLink(key, {})).resolves.toBe(null) + }) + test("filesGetFilesInfo", () => { + const courseId: number = 789 + const homeworkId: number = 789 + return expect(instance.filesGetFilesInfo(courseId, homeworkId, {})).resolves.toBe(null) + }) + test("filesUpload", () => { + const courseId: number = 789 + const homeworkId: number = 789 + const file: Blob = "file_example" + return expect(instance.filesUpload(courseId, homeworkId, file, {})).resolves.toBe(null) + }) +}) +describe("HomeworksApi", () => { + let instance: api.HomeworksApi + beforeEach(function() { + instance = new api.HomeworksApi(config) + }); + test("homeworksAddHomework", () => { + const courseId: number = 789 + const body: api.CreateHomeworkViewModel = undefined + return expect(instance.homeworksAddHomework(courseId, body, {})).resolves.toBe(null) + }) + test("homeworksDeleteHomework", () => { + const homeworkId: number = 789 + return expect(instance.homeworksDeleteHomework(homeworkId, {})).resolves.toBe(null) + }) + test("homeworksGetForEditingHomework", () => { + const homeworkId: number = 789 + return expect(instance.homeworksGetForEditingHomework(homeworkId, {})).resolves.toBe(null) + }) + test("homeworksGetHomework", () => { + const homeworkId: number = 789 + return expect(instance.homeworksGetHomework(homeworkId, {})).resolves.toBe(null) + }) + test("homeworksUpdateHomework", () => { + const homeworkId: number = 789 + const body: api.CreateHomeworkViewModel = undefined + return expect(instance.homeworksUpdateHomework(homeworkId, body, {})).resolves.toBe(null) + }) +}) +describe("NotificationsApi", () => { + let instance: api.NotificationsApi + beforeEach(function() { + instance = new api.NotificationsApi(config) + }); + test("notificationsChangeSetting", () => { + const body: api.NotificationsSettingDto = undefined + return expect(instance.notificationsChangeSetting(body, {})).resolves.toBe(null) + }) + test("notificationsGet", () => { + return expect(instance.notificationsGet({})).resolves.toBe(null) + }) + test("notificationsGetNewNotificationsCount", () => { + return expect(instance.notificationsGetNewNotificationsCount({})).resolves.toBe(null) + }) + test("notificationsGetSettings", () => { + return expect(instance.notificationsGetSettings({})).resolves.toBe(null) + }) + test("notificationsMarkAsSeen", () => { + const body: Array = undefined + return expect(instance.notificationsMarkAsSeen(body, {})).resolves.toBe(null) + }) +}) +describe("SolutionsApi", () => { + let instance: api.SolutionsApi + beforeEach(function() { + instance = new api.SolutionsApi(config) + }); + test("solutionsDeleteSolution", () => { + const solutionId: number = 789 + return expect(instance.solutionsDeleteSolution(solutionId, {})).resolves.toBe(null) + }) + test("solutionsGetSolutionAchievement", () => { + const taskId: number = 789 + const solutionId: number = 789 + return expect(instance.solutionsGetSolutionAchievement(taskId, solutionId, {})).resolves.toBe(null) + }) + test("solutionsGetSolutionActuality", () => { + const solutionId: number = 789 + return expect(instance.solutionsGetSolutionActuality(solutionId, {})).resolves.toBe(null) + }) + test("solutionsGetSolutionById", () => { + const solutionId: number = 789 + return expect(instance.solutionsGetSolutionById(solutionId, {})).resolves.toBe(null) + }) + test("solutionsGetStudentSolution", () => { + const taskId: number = 789 + const studentId: string = "studentId_example" + return expect(instance.solutionsGetStudentSolution(taskId, studentId, {})).resolves.toBe(null) + }) + test("solutionsGetTaskSolutionsPageData", () => { + const taskId: number = 789 + return expect(instance.solutionsGetTaskSolutionsPageData(taskId, {})).resolves.toBe(null) + }) + test("solutionsGetUnratedSolutions", () => { + const taskId: number = 789 + return expect(instance.solutionsGetUnratedSolutions(taskId, {})).resolves.toBe(null) + }) + test("solutionsGiveUp", () => { + const taskId: number = 789 + return expect(instance.solutionsGiveUp(taskId, {})).resolves.toBe(null) + }) + test("solutionsMarkSolution", () => { + const solutionId: number = 789 + return expect(instance.solutionsMarkSolution(solutionId, {})).resolves.toBe(null) + }) + test("solutionsPostEmptySolutionWithRate", () => { + const taskId: number = 789 + const body: api.SolutionViewModel = undefined + return expect(instance.solutionsPostEmptySolutionWithRate(taskId, body, {})).resolves.toBe(null) + }) + test("solutionsPostSolution", () => { + const taskId: number = 789 + const body: api.SolutionViewModel = undefined + return expect(instance.solutionsPostSolution(taskId, body, {})).resolves.toBe(null) + }) + test("solutionsRateSolution", () => { + const solutionId: number = 789 + const body: api.RateSolutionModel = undefined + return expect(instance.solutionsRateSolution(solutionId, body, {})).resolves.toBe(null) + }) +}) +describe("StatisticsApi", () => { + let instance: api.StatisticsApi + beforeEach(function() { + instance = new api.StatisticsApi(config) + }); + test("statisticsGetChartStatistics", () => { + const courseId: number = 789 + return expect(instance.statisticsGetChartStatistics(courseId, {})).resolves.toBe(null) + }) + test("statisticsGetCourseStatistics", () => { + const courseId: number = 789 + return expect(instance.statisticsGetCourseStatistics(courseId, {})).resolves.toBe(null) + }) + test("statisticsGetLecturersStatistics", () => { + const courseId: number = 789 + return expect(instance.statisticsGetLecturersStatistics(courseId, {})).resolves.toBe(null) + }) +}) +describe("SystemApi", () => { + let instance: api.SystemApi + beforeEach(function() { + instance = new api.SystemApi(config) + }); + test("systemStatus", () => { + return expect(instance.systemStatus({})).resolves.toBe(null) + }) +}) +describe("TasksApi", () => { + let instance: api.TasksApi + beforeEach(function() { + instance = new api.TasksApi(config) + }); + test("tasksAddAnswerForQuestion", () => { + const body: api.AddAnswerForQuestionDto = undefined + return expect(instance.tasksAddAnswerForQuestion(body, {})).resolves.toBe(null) + }) + test("tasksAddQuestionForTask", () => { + const body: api.AddTaskQuestionDto = undefined + return expect(instance.tasksAddQuestionForTask(body, {})).resolves.toBe(null) + }) + test("tasksAddTask", () => { + const homeworkId: number = 789 + const body: api.CreateTaskViewModel = undefined + return expect(instance.tasksAddTask(homeworkId, body, {})).resolves.toBe(null) + }) + test("tasksDeleteTask", () => { + const taskId: number = 789 + return expect(instance.tasksDeleteTask(taskId, {})).resolves.toBe(null) + }) + test("tasksGetForEditingTask", () => { + const taskId: number = 789 + return expect(instance.tasksGetForEditingTask(taskId, {})).resolves.toBe(null) + }) + test("tasksGetQuestionsForTask", () => { + const taskId: number = 789 + return expect(instance.tasksGetQuestionsForTask(taskId, {})).resolves.toBe(null) + }) + test("tasksGetTask", () => { + const taskId: number = 789 + return expect(instance.tasksGetTask(taskId, {})).resolves.toBe(null) + }) + test("tasksUpdateTask", () => { + const taskId: number = 789 + const body: api.CreateTaskViewModel = undefined + return expect(instance.tasksUpdateTask(taskId, body, {})).resolves.toBe(null) + }) +}) diff --git a/hwproj.front/src/api/configuration.ts b/hwproj.front/src/api/configuration.ts index e700fd957..9808c1ccd 100644 --- a/hwproj.front/src/api/configuration.ts +++ b/hwproj.front/src/api/configuration.ts @@ -1,4 +1,4 @@ -// tslint:disable +// tslint:disable /** * API Gateway * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) @@ -10,7 +10,6 @@ * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ - export interface ConfigurationParameters { apiKey?: string | ((name: string) => string); username?: string; @@ -18,7 +17,6 @@ export interface ConfigurationParameters { accessToken?: string | ((name: string, scopes?: string[]) => string); basePath?: string; } - export class Configuration { /** * parameter for apiKey security @@ -54,7 +52,6 @@ export class Configuration { * @memberof Configuration */ basePath?: string; - constructor(param: ConfigurationParameters = {}) { this.apiKey = param.apiKey; this.username = param.username; diff --git a/hwproj.front/src/api/custom.d.ts b/hwproj.front/src/api/custom.d.ts index 5d917c1d3..01f2d67c5 100644 --- a/hwproj.front/src/api/custom.d.ts +++ b/hwproj.front/src/api/custom.d.ts @@ -1,2 +1,2 @@ -declare module 'isomorphic-fetch'; -declare module 'url'; \ No newline at end of file +declare module 'isomorphic-fetch'; +declare module 'url'; diff --git a/hwproj.front/src/api/git_push.sh b/hwproj.front/src/api/git_push.sh new file mode 100644 index 000000000..a1ff4c9bc --- /dev/null +++ b/hwproj.front/src/api/git_push.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/hwproj.front/src/api/index.ts b/hwproj.front/src/api/index.ts index 21283e68c..829d2ef6e 100644 --- a/hwproj.front/src/api/index.ts +++ b/hwproj.front/src/api/index.ts @@ -1,17 +1,14 @@ -// tslint:disable +// tslint:disable /** * API Gateway * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 - * * - * NOTE: This class is auto generated by the swagger code generator program. + * + * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. + * Do not edit the file manually. */ - - - export * from "./api"; - export * from "./configuration"; - \ No newline at end of file +export * from "./api"; +export * from "./configuration"; From 68ec18edf6e0098eff86c72dfdb8ff4301b7d5cf Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 6 May 2025 18:18:37 +0300 Subject: [PATCH 09/44] feat: add a separate component for email --- .../src/components/Courses/Course.tsx | 231 ++++++++++-------- 1 file changed, 125 insertions(+), 106 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 78364faaf..1c96e61ec 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -58,6 +58,124 @@ interface IPageState { tabValue: TabValue } +interface InviteStudentDialogProps { + courseId: number; + open: boolean; + onClose: () => void; + onStudentInvited: () => Promise; +} + +const InviteStudentDialog: FC = ({courseId, open, onClose, onStudentInvited}) => { + const classes = useStyles(); + const {enqueueSnackbar} = useSnackbar(); + const [email, setEmail] = useState(""); + const [errors, setErrors] = useState([]); + const [isInviting, setIsInviting] = useState(false); + + const inviteStudent = async () => { + setIsInviting(true); + setErrors([]); + try { + await ApiSingleton.coursesApi.coursesinviteExistentStudent({ + courseId: courseId, + email: email + }); + enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); + setEmail(""); + onClose(); + await onStudentInvited(); + } catch (error) { + const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); + if (responseErrors.length > 0) { + setErrors(responseErrors); + } else { + setErrors(['Студент с такой почтой не найден']); + } + } finally { + setIsInviting(false); + } + }; + + return ( + !isInviting && onClose()} + maxWidth="xs" + > + + + + + + + + + + Пригласить студента + + + + + + {errors.length > 0 && ( + + {errors[0]} + + )} +
+ + + setEmail(e.target.value)} + InputProps={{ + autoComplete: 'off' + }} + /> + + + + + + + + + + +
+
+
+ ); +}; + const useStyles = makeStyles((theme) => ({ paper: { marginTop: theme.spacing(3), @@ -96,11 +214,7 @@ const Course: React.FC = () => { }) const [studentSolutions, setStudentSolutions] = useState([]) const [courseFilesInfo, setCourseFilesInfo] = useState([]) - const [email, setEmail] = useState("") const [showInviteDialog, setShowInviteDialog] = useState(false) - const [errors, setErrors] = useState([]) - const [isInviting, setIsInviting] = useState(false) - const [pageState, setPageState] = useState({ tabValue: "homeworks" }) @@ -129,10 +243,10 @@ const Course: React.FC = () => { const showApplicationsTab = isCourseMentor const changeTab = (newTab: string) => { - if (isAcceptableTabValue(newTab) && newTab !== pageState.tabValue) { + if (isAcceptableTabValue(newTab)) { if (newTab === "stats" && !showStatsTab) return; if (newTab === "applications" && !showApplicationsTab) return; - + setPageState(prevState => ({ ...prevState, tabValue: newTab @@ -197,30 +311,6 @@ const Course: React.FC = () => { .then(() => setCurrentState()); } - const inviteStudent = async () => { - setIsInviting(true) - setErrors([]) - try { - await ApiSingleton.coursesApi.coursesinviteExistentStudent({ - courseId: +courseId!, - email: email - }) - enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); - setEmail(""); - setShowInviteDialog(false); - await setCurrentState(); - } catch (error) { - const responseErrors = await ErrorsHandler.getErrorMessages(error as Response) - if (responseErrors.length > 0) { - setErrors(responseErrors) - } else { - setErrors(['Студент с такой почтой не найден']) - } - } finally { - setIsInviting(false) - } - } - const {tabValue} = pageState const searchedHomeworkId = searchParams.get("homeworkId") @@ -280,7 +370,6 @@ const Course: React.FC = () => { {isCourseMentor && isLecturer && { setShowInviteDialog(true) - setErrors([]) }}> @@ -318,82 +407,12 @@ const Course: React.FC = () => { - !isInviting && setShowInviteDialog(false)} - maxWidth="xs" - > - - - - - - - - - - Пригласить студента - - - - - - {errors.length > 0 && ( - - {errors[0]} - - )} -
- - - setEmail(e.target.value)} - InputProps={{ - autoComplete: 'off' - }} - /> - - - - - - - - - - -
-
-
+ onClose={() => setShowInviteDialog(false)} + onStudentInvited={setCurrentState} + /> From 3bd85a01fb6e2c8ab8126e67ed1e258ffad9c0cb Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 6 May 2025 19:12:17 +0300 Subject: [PATCH 10/44] feat: use the same method for inviting students --- .../Controllers/CoursesController.cs | 2 +- .../InviteExistentStudentViewModel.cs | 8 - .../ViewModels/InviteStudentViewModel.cs | 14 ++ hwproj.front/src/api/api.ts | 188 ++++++++++-------- .../src/components/Courses/Course.tsx | 7 +- 5 files changed, 123 insertions(+), 96 deletions(-) delete mode 100644 HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs create mode 100644 HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteStudentViewModel.cs diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index ccc51cd55..a04cbdad9 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -309,7 +309,7 @@ private async Task ToCourseViewModel(CourseDTO course) [HttpPost("inviteExistentStudent")] [Authorize(Roles = Roles.LecturerRole)] - public async Task inviteExistentStudent([FromBody] InviteExistentStudentViewModel model) + public async Task InviteStudent([FromBody] InviteStudentViewModel model) { var student = await AuthServiceClient.FindByEmailAsync(model.Email); if (student == null) diff --git a/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs b/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs deleted file mode 100644 index 3929f67d4..000000000 --- a/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteExistentStudentViewModel.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace HwProj.Models.AuthService.ViewModels -{ - public class InviteExistentStudentViewModel - { - public long CourseId { get; set; } - public string Email { get; set; } - } -} \ No newline at end of file diff --git a/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteStudentViewModel.cs b/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteStudentViewModel.cs new file mode 100644 index 000000000..9bc1c58ec --- /dev/null +++ b/HwProj.Common/HwProj.Models/AuthService/ViewModels/InviteStudentViewModel.cs @@ -0,0 +1,14 @@ +namespace HwProj.Models.AuthService.ViewModels +{ + public class InviteStudentViewModel + { + public long CourseId { get; set; } + public string Email { get; set; } + + public string Name { get; set; } + + public string Surname { get; set; } + + public string MiddleName { get; set; } + } +} \ No newline at end of file diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index d50af8468..a2848c31d 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -1356,25 +1356,6 @@ export interface HomeworksGroupUserTaskSolutions { */ homeworkSolutions?: Array; } -/** - * - * @export - * @interface InviteExistentStudentViewModel - */ -export interface InviteExistentStudentViewModel { - /** - * - * @type {number} - * @memberof InviteExistentStudentViewModel - */ - courseId?: number; - /** - * - * @type {string} - * @memberof InviteExistentStudentViewModel - */ - email?: string; -} /** * * @export @@ -1425,6 +1406,43 @@ export interface InviteLecturerViewModel { */ email: string; } +/** + * + * @export + * @interface InviteStudentViewModel + */ +export interface InviteStudentViewModel { + /** + * + * @type {number} + * @memberof InviteStudentViewModel + */ + courseId?: number; + /** + * + * @type {string} + * @memberof InviteStudentViewModel + */ + email?: string; + /** + * + * @type {string} + * @memberof InviteStudentViewModel + */ + name?: string; + /** + * + * @type {string} + * @memberof InviteStudentViewModel + */ + surname?: string; + /** + * + * @type {string} + * @memberof InviteStudentViewModel + */ + middleName?: string; +} /** * * @export @@ -4662,6 +4680,37 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, + /** + * + * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + coursesInviteStudent(body?: InviteStudentViewModel, options: any = {}): FetchArgs { + const localVarPath = `/api/Courses/inviteExistentStudent`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'POST' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + const needsSerialization = ("InviteStudentViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @param {number} courseId @@ -4814,37 +4863,6 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, - /** - * - * @param {InviteExistentStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options: any = {}): FetchArgs { - const localVarPath = `/api/Courses/inviteExistentStudent`; - const localVarUrlObj = url.parse(localVarPath, true); - const localVarRequestOptions = Object.assign({ method: 'POST' }, options); - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - // authentication Bearer required - if (configuration && configuration.apiKey) { - const localVarApiKeyValue = typeof configuration.apiKey === 'function' - ? configuration.apiKey("Authorization") - : configuration.apiKey; - localVarHeaderParameter["Authorization"] = localVarApiKeyValue; - } - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); - // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 - localVarUrlObj.search = null; - localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - const needsSerialization = ("InviteExistentStudentViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; - localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - return { - url: url.format(localVarUrlObj), - options: localVarRequestOptions, - }; - }, } }; /** @@ -5109,13 +5127,12 @@ export const CoursesApiFp = function(configuration?: Configuration) { }, /** * - * @param {number} courseId - * @param {string} studentId + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - coursesRejectStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesRejectStudent(courseId, studentId, options); + coursesInviteStudent(body?: InviteStudentViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesInviteStudent(body, options); return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { if (response.status >= 200 && response.status < 300) { @@ -5129,11 +5146,12 @@ export const CoursesApiFp = function(configuration?: Configuration) { /** * * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ - coursesSignInCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesSignInCourse(courseId, options); + coursesRejectStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesRejectStudent(courseId, studentId, options); return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { if (response.status >= 200 && response.status < 300) { @@ -5147,12 +5165,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { /** * * @param {number} courseId - * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateCourse(courseId, body, options); + coursesSignInCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesSignInCourse(courseId, options); return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { if (response.status >= 200 && response.status < 300) { @@ -5166,13 +5183,12 @@ export const CoursesApiFp = function(configuration?: Configuration) { /** * * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options); + coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateCourse(courseId, body, options); return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { if (response.status >= 200 && response.status < 300) { @@ -5185,12 +5201,14 @@ export const CoursesApiFp = function(configuration?: Configuration) { }, /** * - * @param {InviteExistentStudentViewModel} [body] + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesinviteExistentStudent(body, options); + coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options); return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { if (response.status >= 200 && response.status < 300) { @@ -5337,6 +5355,15 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? coursesGetProgramNames(options?: any) { return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, + /** + * + * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { + return CoursesApiFp(configuration).coursesInviteStudent(body, options)(fetch, basePath); + }, /** * * @param {number} courseId @@ -5377,15 +5404,6 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(fetch, basePath); }, - /** - * - * @param {InviteExistentStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any) { - return CoursesApiFp(configuration).coursesinviteExistentStudent(body, options)(fetch, basePath); - }, }; }; /** @@ -5537,6 +5555,16 @@ export class CoursesApi extends BaseAPI { public coursesGetProgramNames(options?: any) { return CoursesApiFp(this.configuration).coursesGetProgramNames(options)(this.fetch, this.basePath); } + /** + * + * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi + */ + public coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { + return CoursesApiFp(this.configuration).coursesInviteStudent(body, options)(this.fetch, this.basePath); + } /** * * @param {number} courseId @@ -5581,16 +5609,6 @@ export class CoursesApi extends BaseAPI { public coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); } - /** - * - * @param {InviteExistentStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi - */ - public coursesinviteExistentStudent(body?: InviteExistentStudentViewModel, options?: any) { - return CoursesApiFp(this.configuration).coursesinviteExistentStudent(body, options)(this.fetch, this.basePath); - } } /** * ExpertsApi - fetch parameter creator diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 1c96e61ec..007a65e37 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -76,9 +76,12 @@ const InviteStudentDialog: FC = ({courseId, open, onCl setIsInviting(true); setErrors([]); try { - await ApiSingleton.coursesApi.coursesinviteExistentStudent({ + await ApiSingleton.coursesApi.coursesInviteStudent({ courseId: courseId, - email: email + email: email, + name: "", + surname: "", + middleName: "" }); enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); setEmail(""); From 1868e07eabd0ba16c45ef14933f29bba46987470 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 11 May 2025 01:01:04 +0300 Subject: [PATCH 11/44] feat: add new students invitation --- .../Controllers/CoursesController.cs | 39 +++- .../src/components/Courses/Course.tsx | 219 ++++++++++++++++-- 2 files changed, 233 insertions(+), 25 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index a04cbdad9..68129b73a 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -306,19 +306,48 @@ private async Task ToCourseViewModel(CourseDTO course) IsOpen = course.IsOpen, }; } - + [HttpPost("inviteExistentStudent")] [Authorize(Roles = Roles.LecturerRole)] public async Task InviteStudent([FromBody] InviteStudentViewModel model) { var student = await AuthServiceClient.FindByEmailAsync(model.Email); - if (student == null) + + if (student == null && model.Name == null) { return BadRequest(new { error = "Пользователь с указанным email не найден" }); } - - await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); - + + if (student == null && model.Name != null) + { + var registerModel = new RegisterViewModel + { + Email = model.Email, + Name = model.Name, + Surname = model.Surname, + MiddleName = model.MiddleName + }; + + var registrationResult = await AuthServiceClient.Register(registerModel); + + if (!registrationResult.Succeeded) + { + return BadRequest(new { error = "Не удалось зарегистрировать студента", details = registrationResult.Errors }); + } + + student = await AuthServiceClient.FindByEmailAsync(model.Email); + if (student == null) + { + return BadRequest(new { error = "Студент зарегистрирован, но не найден в системе" }); + } + } + + var result = await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); + if (!result.Succeeded) + { + return BadRequest(new { error = "Не удалось добавить студента в курс", details = result.Errors }); + } + return Ok(); } } diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 007a65e37..6cf2de4c6 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -63,46 +63,57 @@ interface InviteStudentDialogProps { open: boolean; onClose: () => void; onStudentInvited: () => Promise; + email?: string; } -const InviteStudentDialog: FC = ({courseId, open, onClose, onStudentInvited}) => { +interface RegisterStudentDialogProps { + courseId: number; + open: boolean; + onClose: () => void; + onStudentRegistered: () => Promise; + initialEmail?: string; +} + +const RegisterStudentDialog: FC = ({courseId, open, onClose, onStudentRegistered, initialEmail}) => { const classes = useStyles(); const {enqueueSnackbar} = useSnackbar(); - const [email, setEmail] = useState(""); + const [email, setEmail] = useState(initialEmail || ""); + const [name, setName] = useState(""); + const [surname, setSurname] = useState(""); + const [middleName, setMiddleName] = useState(""); const [errors, setErrors] = useState([]); - const [isInviting, setIsInviting] = useState(false); + const [isRegistering, setIsRegistering] = useState(false); - const inviteStudent = async () => { - setIsInviting(true); + const registerStudent = async () => { + setIsRegistering(true); setErrors([]); try { await ApiSingleton.coursesApi.coursesInviteStudent({ courseId: courseId, email: email, - name: "", - surname: "", - middleName: "" + name: name, + surname: surname, + middleName: middleName }); - enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); - setEmail(""); + enqueueSnackbar("Студент успешно зарегистрирован и приглашен", {variant: "success"}); onClose(); - await onStudentInvited(); + await onStudentRegistered(); } catch (error) { const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); if (responseErrors.length > 0) { setErrors(responseErrors); } else { - setErrors(['Студент с такой почтой не найден']); + setErrors(['Не удалось зарегистрировать студента']); } } finally { - setIsInviting(false); + setIsRegistering(false); } }; return ( !isInviting && onClose()} + onClose={() => !isRegistering && onClose()} maxWidth="xs" > @@ -114,7 +125,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl - Пригласить студента + Зарегистрировать студента @@ -132,7 +143,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl required fullWidth type="email" - label="Электронная почта студента" + label="Электронная почта" variant="outlined" size="small" value={email} @@ -142,6 +153,38 @@ const InviteStudentDialog: FC = ({courseId, open, onCl }} /> + + setName(e.target.value)} + /> + + + setSurname(e.target.value)} + /> + + + setMiddleName(e.target.value)} + /> + = ({courseId, open, onCl color="primary" variant="contained" style={{marginRight: '10px'}} - disabled={isInviting} + disabled={isRegistering} > Закрыть @@ -166,10 +209,10 @@ const InviteStudentDialog: FC = ({courseId, open, onCl fullWidth variant="contained" color="primary" - onClick={inviteStudent} - disabled={!email || isInviting} + onClick={registerStudent} + disabled={!email || !name || !surname || isRegistering} > - {isInviting ? 'Отправка...' : 'Пригласить'} + {isRegistering ? 'Регистрация...' : 'Зарегистрировать'} @@ -179,6 +222,142 @@ const InviteStudentDialog: FC = ({courseId, open, onCl ); }; +const InviteStudentDialog: FC = ({courseId, open, onClose, onStudentInvited, email: initialEmail}) => { + const classes = useStyles(); + const {enqueueSnackbar} = useSnackbar(); + const [email, setEmail] = useState(initialEmail || ""); + const [errors, setErrors] = useState([]); + const [isInviting, setIsInviting] = useState(false); + const [showRegisterDialog, setShowRegisterDialog] = useState(false); + + const inviteStudent = async () => { + setIsInviting(true); + setErrors([]); + try { + await ApiSingleton.coursesApi.coursesInviteStudent({ + courseId: courseId, + email: email, + name: "", + surname: "", + middleName: "" + }); + enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); + setEmail(""); + onClose(); + await onStudentInvited(); + } catch (error) { + const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); + if (responseErrors.length > 0) { + setErrors(responseErrors); + } else { + setErrors(['Студент с такой почтой не найден']); + } + } finally { + setIsInviting(false); + } + }; + + return ( + <> + !isInviting && onClose()} + maxWidth="xs" + > + + + + + + + + + + Пригласить студента + + + + + + {errors.length > 0 && ( + + {errors[0]} + + )} +
+ + + setEmail(e.target.value)} + InputProps={{ + autoComplete: 'off' + }} + /> + + + + {errors.length > 0 && errors[0] === 'Студент с такой почтой не найден' && ( + + + + )} + + + + + + + +
+
+
+ + setShowRegisterDialog(false)} + onStudentRegistered={onStudentInvited} + initialEmail={email} + /> + + ); +}; + const useStyles = makeStyles((theme) => ({ paper: { marginTop: theme.spacing(3), From 2b36f7c899842f74dc6ebce9bc01e8529b96814c Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 11 May 2025 01:59:45 +0300 Subject: [PATCH 12/44] feat: remove extra search from fields --- hwproj.front/src/components/Courses/Course.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 6cf2de4c6..e98c1f181 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -149,7 +149,7 @@ const RegisterStudentDialog: FC = ({courseId, open, value={email} onChange={(e) => setEmail(e.target.value)} InputProps={{ - autoComplete: 'off' + autoComplete: "new-email" }} /> @@ -162,6 +162,9 @@ const RegisterStudentDialog: FC = ({courseId, open, size="small" value={name} onChange={(e) => setName(e.target.value)} + InputProps={{ + autoComplete: "new-name" + }} /> @@ -173,6 +176,9 @@ const RegisterStudentDialog: FC = ({courseId, open, size="small" value={surname} onChange={(e) => setSurname(e.target.value)} + InputProps={{ + autoComplete: "new-surname" + }} /> @@ -183,6 +189,9 @@ const RegisterStudentDialog: FC = ({courseId, open, size="small" value={middleName} onChange={(e) => setMiddleName(e.target.value)} + InputProps={{ + autoComplete: "new-middlename" + }} /> @@ -297,7 +306,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl value={email} onChange={(e) => setEmail(e.target.value)} InputProps={{ - autoComplete: 'off' + autoComplete: "off" }} /> From f793bbe9367a39c60b6ec52886f0858ac1413091 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 13 May 2025 19:07:18 +0300 Subject: [PATCH 13/44] chore: revert swagger changes --- hwproj.front/src/api/.gitignore | 3 - hwproj.front/src/api/.swagger-codegen-ignore | 23 - hwproj.front/src/api/.swagger-codegen/VERSION | 1 - hwproj.front/src/api/api.ts | 2777 ++++++++++------- hwproj.front/src/api/api_test.spec.ts | 441 --- hwproj.front/src/api/git_push.sh | 51 - 6 files changed, 1604 insertions(+), 1692 deletions(-) delete mode 100644 hwproj.front/src/api/.gitignore delete mode 100644 hwproj.front/src/api/.swagger-codegen-ignore delete mode 100644 hwproj.front/src/api/.swagger-codegen/VERSION delete mode 100644 hwproj.front/src/api/api_test.spec.ts delete mode 100644 hwproj.front/src/api/git_push.sh diff --git a/hwproj.front/src/api/.gitignore b/hwproj.front/src/api/.gitignore deleted file mode 100644 index 35e2fb2b0..000000000 --- a/hwproj.front/src/api/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -wwwroot/*.js -node_modules -typings diff --git a/hwproj.front/src/api/.swagger-codegen-ignore b/hwproj.front/src/api/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/hwproj.front/src/api/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/hwproj.front/src/api/.swagger-codegen/VERSION b/hwproj.front/src/api/.swagger-codegen/VERSION deleted file mode 100644 index f1eb5bc05..000000000 --- a/hwproj.front/src/api/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.0.68 \ No newline at end of file diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index a2848c31d..d86ca659c 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -5,16 +5,19 @@ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 - * + * * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ + import * as url from "url"; import isomorphicFetch from "isomorphic-fetch"; import { Configuration } from "./configuration"; + const BASE_PATH = "/".replace(/\/+$/, ""); + /** * * @export @@ -25,6 +28,7 @@ export const COLLECTION_FORMATS = { tsv: "\t", pipes: "|", }; + /** * * @export @@ -33,6 +37,7 @@ export const COLLECTION_FORMATS = { export interface FetchAPI { (url: string, init?: any): Promise; } + /** * * @export @@ -42,6 +47,7 @@ export interface FetchArgs { url: string; options: any; } + /** * * @export @@ -49,6 +55,7 @@ export interface FetchArgs { */ export class BaseAPI { protected configuration: Configuration | undefined; + constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected fetch: FetchAPI = isomorphicFetch) { if (configuration) { this.configuration = configuration; @@ -56,6 +63,7 @@ export class BaseAPI { } } } + /** * * @export @@ -68,219 +76,220 @@ export class RequiredError extends Error { super(msg); } } + /** - * + * * @export * @interface AccountDataDto */ export interface AccountDataDto { /** - * + * * @type {string} * @memberof AccountDataDto */ userId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ name?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ surname?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ email?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof AccountDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof AccountDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ bio?: string; /** - * + * * @type {string} * @memberof AccountDataDto */ companyName?: string; } /** - * + * * @export * @interface ActionOptions */ export interface ActionOptions { /** - * + * * @type {boolean} * @memberof ActionOptions */ sendNotification?: boolean; } /** - * + * * @export * @interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - * + * * @type {number} * @memberof AddAnswerForQuestionDto */ questionId?: number; /** - * + * * @type {string} * @memberof AddAnswerForQuestionDto */ answer?: string; } /** - * + * * @export * @interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - * + * * @type {number} * @memberof AddTaskQuestionDto */ taskId?: number; /** - * + * * @type {string} * @memberof AddTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - * + * * @export * @interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - * + * * @type {CoursePreview} * @memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - * + * * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - * + * * @export * @interface BooleanResult */ export interface BooleanResult { /** - * + * * @type {boolean} * @memberof BooleanResult */ value?: boolean; /** - * + * * @type {boolean} * @memberof BooleanResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof BooleanResult */ errors?: Array; } /** - * + * * @export * @interface CategorizedNotifications */ export interface CategorizedNotifications { /** - * + * * @type {CategoryState} * @memberof CategorizedNotifications */ category?: CategoryState; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ seenNotifications?: Array; /** - * + * * @type {Array} * @memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - * + * * @export * @enum {string} */ @@ -291,1630 +300,1630 @@ export enum CategoryState { NUMBER_3 = 3 } /** - * + * * @export * @interface CourseEvents */ export interface CourseEvents { /** - * + * * @type {number} * @memberof CourseEvents */ id?: number; /** - * + * * @type {string} * @memberof CourseEvents */ name?: string; /** - * + * * @type {string} * @memberof CourseEvents */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseEvents */ isCompleted?: boolean; /** - * + * * @type {number} * @memberof CourseEvents */ newStudentsCount?: number; } /** - * + * * @export * @interface CoursePreview */ export interface CoursePreview { /** - * + * * @type {number} * @memberof CoursePreview */ id?: number; /** - * + * * @type {string} * @memberof CoursePreview */ name?: string; /** - * + * * @type {string} * @memberof CoursePreview */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreview */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreview */ mentorIds?: Array; /** - * + * * @type {number} * @memberof CoursePreview */ taskId?: number; } /** - * + * * @export * @interface CoursePreviewView */ export interface CoursePreviewView { /** - * + * * @type {number} * @memberof CoursePreviewView */ id?: number; /** - * + * * @type {string} * @memberof CoursePreviewView */ name?: string; /** - * + * * @type {string} * @memberof CoursePreviewView */ groupName?: string; /** - * + * * @type {boolean} * @memberof CoursePreviewView */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CoursePreviewView */ mentors?: Array; /** - * + * * @type {number} * @memberof CoursePreviewView */ taskId?: number; } /** - * + * * @export * @interface CourseViewModel */ export interface CourseViewModel { /** - * + * * @type {number} * @memberof CourseViewModel */ id?: number; /** - * + * * @type {string} * @memberof CourseViewModel */ name?: string; /** - * + * * @type {string} * @memberof CourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isOpen?: boolean; /** - * + * * @type {boolean} * @memberof CourseViewModel */ isCompleted?: boolean; /** - * + * * @type {Array} * @memberof CourseViewModel */ mentors?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ acceptedStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ newStudents?: Array; /** - * + * * @type {Array} * @memberof CourseViewModel */ homeworks?: Array; } /** - * + * * @export * @interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - * + * * @type {string} * @memberof CreateCourseViewModel */ name: string; /** - * + * * @type {Array} * @memberof CreateCourseViewModel */ groupNames?: Array; /** - * + * * @type {Array} * @memberof CreateCourseViewModel */ studentIDs?: Array; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - * + * * @type {boolean} * @memberof CreateCourseViewModel */ isOpen: boolean; /** - * + * * @type {number} * @memberof CreateCourseViewModel */ baseCourseId?: number; } /** - * + * * @export * @interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - * + * * @type {string} * @memberof CreateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof CreateGroupViewModel */ groupMatesIds: Array; /** - * + * * @type {number} * @memberof CreateGroupViewModel */ courseId: number; } /** - * + * * @export * @interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateHomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof CreateHomeworkViewModel */ tasks?: Array; /** - * + * * @type {ActionOptions} * @memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - * + * * @type {string} * @memberof CreateTaskViewModel */ title: string; /** - * + * * @type {string} * @memberof CreateTaskViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof CreateTaskViewModel */ publicationDate?: Date; /** - * + * * @type {number} * @memberof CreateTaskViewModel */ maxRating: number; /** - * + * * @type {ActionOptions} * @memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - * + * * @export * @interface EditAccountViewModel */ export interface EditAccountViewModel { /** - * + * * @type {string} * @memberof EditAccountViewModel */ name: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ surname: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ email?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ bio?: string; /** - * + * * @type {string} * @memberof EditAccountViewModel */ companyName?: string; } /** - * + * * @export * @interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - * + * * @type {Array} * @memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - * + * * @export * @interface ExpertDataDTO */ export interface ExpertDataDTO { /** - * + * * @type {string} * @memberof ExpertDataDTO */ id?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ name?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ surname?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ middleName?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ email?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ bio?: string; /** - * + * * @type {string} * @memberof ExpertDataDTO */ companyName?: string; /** - * + * * @type {Array} * @memberof ExpertDataDTO */ tags?: Array; /** - * + * * @type {string} * @memberof ExpertDataDTO */ lecturerId?: string; } /** - * + * * @export * @interface FileInfoDTO */ export interface FileInfoDTO { /** - * + * * @type {string} * @memberof FileInfoDTO */ name?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ size?: number; /** - * + * * @type {string} * @memberof FileInfoDTO */ key?: string; /** - * + * * @type {number} * @memberof FileInfoDTO */ homeworkId?: number; } /** - * + * * @export * @interface FilesUploadBody */ export interface FilesUploadBody { /** - * + * * @type {number} * @memberof FilesUploadBody */ courseId?: number; /** - * + * * @type {number} * @memberof FilesUploadBody */ homeworkId?: number; /** - * + * * @type {Blob} * @memberof FilesUploadBody */ file: Blob; } /** - * + * * @export * @interface GetSolutionModel */ export interface GetSolutionModel { /** - * + * * @type {Date} * @memberof GetSolutionModel */ ratingDate?: Date; /** - * + * * @type {number} * @memberof GetSolutionModel */ id?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof GetSolutionModel */ comment?: string; /** - * + * * @type {SolutionState} * @memberof GetSolutionModel */ state?: SolutionState; /** - * + * * @type {number} * @memberof GetSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof GetSolutionModel */ studentId?: string; /** - * + * * @type {number} * @memberof GetSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof GetSolutionModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof GetSolutionModel */ lecturerComment?: string; /** - * + * * @type {Array} * @memberof GetSolutionModel */ groupMates?: Array; /** - * + * * @type {AccountDataDto} * @memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - * + * * @export * @interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - * + * * @type {number} * @memberof GetTaskQuestionDto */ id?: number; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ studentId?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ text?: string; /** - * + * * @type {boolean} * @memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ answer?: string; /** - * + * * @type {string} * @memberof GetTaskQuestionDto */ lecturerId?: string; } /** - * + * * @export * @interface GithubCredentials */ export interface GithubCredentials { /** - * + * * @type {string} * @memberof GithubCredentials */ githubId?: string; } /** - * + * * @export * @interface GroupMateViewModel */ export interface GroupMateViewModel { /** - * + * * @type {string} * @memberof GroupMateViewModel */ studentId?: string; } /** - * + * * @export * @interface GroupModel */ export interface GroupModel { /** - * + * * @type {string} * @memberof GroupModel */ groupName?: string; } /** - * + * * @export * @interface GroupViewModel */ export interface GroupViewModel { /** - * + * * @type {number} * @memberof GroupViewModel */ id?: number; /** - * + * * @type {Array} * @memberof GroupViewModel */ studentsIds?: Array; } /** - * + * * @export * @interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - * + * * @type {string} * @memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - * + * * @export * @interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - * + * * @export * @interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ title?: string; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModel */ tags?: Array; /** - * + * * @type {string} * @memberof HomeworkTaskViewModel */ description?: string; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ maxRating?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - * + * * @type {Date} * @memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkTaskViewModel */ homeworkId?: number; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - * + * * @export * @interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - * + * * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - * + * * @type {boolean} * @memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - * + * * @type {Array} * @memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface HomeworkViewModel */ export interface HomeworkViewModel { /** - * + * * @type {number} * @memberof HomeworkViewModel */ id?: number; /** - * + * * @type {string} * @memberof HomeworkViewModel */ title?: string; /** - * + * * @type {string} * @memberof HomeworkViewModel */ description?: string; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ hasDeadline?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ deadlineDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - * + * * @type {Date} * @memberof HomeworkViewModel */ publicationDate?: Date; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - * + * * @type {number} * @memberof HomeworkViewModel */ courseId?: number; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isDeferred?: boolean; /** - * + * * @type {boolean} * @memberof HomeworkViewModel */ isGroupWork?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tags?: Array; /** - * + * * @type {Array} * @memberof HomeworkViewModel */ tasks?: Array; } /** - * + * * @export * @interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - * + * * @type {HomeworkViewModel} * @memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - * + * * @type {boolean} * @memberof HomeworkViewModelResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof HomeworkViewModelResult */ errors?: Array; } /** - * + * * @export * @interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - * + * * @type {string} * @memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - * + * * @export * @interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - * + * * @type {string} * @memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - * + * * @type {Array} * @memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - * + * * @export * @interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userId?: string; /** - * + * * @type {string} * @memberof InviteExpertViewModel */ userEmail?: string; /** - * + * * @type {number} * @memberof InviteExpertViewModel */ courseId?: number; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ studentIds?: Array; /** - * + * * @type {Array} * @memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - * + * * @export * @interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - * + * * @type {string} * @memberof InviteLecturerViewModel */ email: string; } /** - * + * * @export * @interface InviteStudentViewModel */ export interface InviteStudentViewModel { /** - * + * * @type {number} * @memberof InviteStudentViewModel */ courseId?: number; /** - * + * * @type {string} * @memberof InviteStudentViewModel */ email?: string; /** - * + * * @type {string} * @memberof InviteStudentViewModel */ name?: string; /** - * + * * @type {string} * @memberof InviteStudentViewModel */ surname?: string; /** - * + * * @type {string} * @memberof InviteStudentViewModel */ middleName?: string; } /** - * + * * @export * @interface LoginViewModel */ export interface LoginViewModel { /** - * + * * @type {string} * @memberof LoginViewModel */ email: string; /** - * + * * @type {string} * @memberof LoginViewModel */ password: string; /** - * + * * @type {boolean} * @memberof LoginViewModel */ rememberMe: boolean; } /** - * + * * @export * @interface NotificationViewModel */ export interface NotificationViewModel { /** - * + * * @type {number} * @memberof NotificationViewModel */ id?: number; /** - * + * * @type {string} * @memberof NotificationViewModel */ sender?: string; /** - * + * * @type {string} * @memberof NotificationViewModel */ owner?: string; /** - * + * * @type {CategoryState} * @memberof NotificationViewModel */ category?: CategoryState; /** - * + * * @type {string} * @memberof NotificationViewModel */ body?: string; /** - * + * * @type {boolean} * @memberof NotificationViewModel */ hasSeen?: boolean; /** - * + * * @type {Date} * @memberof NotificationViewModel */ date?: Date; } /** - * + * * @export * @interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - * + * * @type {string} * @memberof NotificationsSettingDto */ category?: string; /** - * + * * @type {boolean} * @memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - * + * * @export * @interface ProgramModel */ export interface ProgramModel { /** - * + * * @type {string} * @memberof ProgramModel */ programName?: string; } /** - * + * * @export * @interface RateSolutionModel */ export interface RateSolutionModel { /** - * + * * @type {number} * @memberof RateSolutionModel */ rating?: number; /** - * + * * @type {string} * @memberof RateSolutionModel */ lecturerComment?: string; } /** - * + * * @export * @interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ email: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ bio?: string; /** - * + * * @type {string} * @memberof RegisterExpertViewModel */ companyName?: string; /** - * + * * @type {Array} * @memberof RegisterExpertViewModel */ tags?: Array; } /** - * + * * @export * @interface RegisterViewModel */ export interface RegisterViewModel { /** - * + * * @type {string} * @memberof RegisterViewModel */ name: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ surname: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ middleName?: string; /** - * + * * @type {string} * @memberof RegisterViewModel */ email: string; } /** - * + * * @export * @interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - * + * * @type {string} * @memberof RequestPasswordRecoveryViewModel */ email: string; } /** - * + * * @export * @interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ userId: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ token: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ password: string; /** - * + * * @type {string} * @memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - * + * * @export * @interface Result */ export interface Result { /** - * + * * @type {boolean} * @memberof Result */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof Result */ errors?: Array; } /** - * + * * @export * @interface Solution */ export interface Solution { /** - * + * * @type {number} * @memberof Solution */ id?: number; /** - * + * * @type {string} * @memberof Solution */ githubUrl?: string; /** - * + * * @type {string} * @memberof Solution */ comment?: string; /** - * + * * @type {SolutionState} * @memberof Solution */ state?: SolutionState; /** - * + * * @type {number} * @memberof Solution */ rating?: number; /** - * + * * @type {string} * @memberof Solution */ studentId?: string; /** - * + * * @type {string} * @memberof Solution */ lecturerId?: string; /** - * + * * @type {number} * @memberof Solution */ groupId?: number; /** - * + * * @type {number} * @memberof Solution */ taskId?: number; /** - * + * * @type {Date} * @memberof Solution */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof Solution */ ratingDate?: Date; /** - * + * * @type {string} * @memberof Solution */ lecturerComment?: string; } /** - * + * * @export * @interface SolutionActualityDto */ export interface SolutionActualityDto { /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - * + * * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - * + * * @export * @interface SolutionActualityPart */ export interface SolutionActualityPart { /** - * + * * @type {boolean} * @memberof SolutionActualityPart */ isActual?: boolean; /** - * + * * @type {string} * @memberof SolutionActualityPart */ comment?: string; /** - * + * * @type {string} * @memberof SolutionActualityPart */ additionalData?: string; } /** - * + * * @export * @interface SolutionPreviewView */ export interface SolutionPreviewView { /** - * + * * @type {number} * @memberof SolutionPreviewView */ solutionId?: number; /** - * + * * @type {AccountDataDto} * @memberof SolutionPreviewView */ student?: AccountDataDto; /** - * + * * @type {string} * @memberof SolutionPreviewView */ courseTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ courseId?: number; /** - * + * * @type {string} * @memberof SolutionPreviewView */ homeworkTitle?: string; /** - * + * * @type {string} * @memberof SolutionPreviewView */ taskTitle?: string; /** - * + * * @type {number} * @memberof SolutionPreviewView */ taskId?: number; /** - * + * * @type {Date} * @memberof SolutionPreviewView */ publicationDate?: Date; /** - * + * * @type {number} * @memberof SolutionPreviewView */ groupId?: number; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isFirstTry?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - * + * * @type {boolean} * @memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - * + * * @export * @enum {string} */ @@ -1924,728 +1933,728 @@ export enum SolutionState { NUMBER_2 = 2 } /** - * + * * @export * @interface SolutionViewModel */ export interface SolutionViewModel { /** - * + * * @type {string} * @memberof SolutionViewModel */ githubUrl?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ comment?: string; /** - * + * * @type {string} * @memberof SolutionViewModel */ studentId?: string; /** - * + * * @type {Array} * @memberof SolutionViewModel */ groupMateIds?: Array; /** - * + * * @type {Date} * @memberof SolutionViewModel */ publicationDate?: Date; /** - * + * * @type {string} * @memberof SolutionViewModel */ lecturerComment?: string; /** - * + * * @type {number} * @memberof SolutionViewModel */ rating?: number; /** - * + * * @type {Date} * @memberof SolutionViewModel */ ratingDate?: Date; } /** - * + * * @export * @interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - * + * * @type {number} * @memberof StatisticsCourseHomeworksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - * + * * @export * @interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ id?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ name?: string; /** - * + * * @type {string} * @memberof StatisticsCourseMatesModel */ surname?: string; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - * + * * @type {Array} * @memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - * + * * @export * @interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - * + * * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - * + * * @type {Date} * @memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - * + * * @export * @interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - * + * * @type {number} * @memberof StatisticsCourseTasksModel */ id?: number; /** - * + * * @type {Array} * @memberof StatisticsCourseTasksModel */ solution?: Array; } /** - * + * * @export * @interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - * + * * @type {AccountDataDto} * @memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - * + * * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - * + * * @export * @interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - * + * * @type {Array} * @memberof StudentCharacteristicsDto */ tags?: Array; /** - * + * * @type {string} * @memberof StudentCharacteristicsDto */ description?: string; } /** - * + * * @export * @interface StudentDataDto */ export interface StudentDataDto { /** - * + * * @type {StudentCharacteristicsDto} * @memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - * + * * @type {string} * @memberof StudentDataDto */ userId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ name?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ surname?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ middleName?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ email?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ role?: string; /** - * + * * @type {boolean} * @memberof StudentDataDto */ isExternalAuth?: boolean; /** - * + * * @type {string} * @memberof StudentDataDto */ githubId?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ bio?: string; /** - * + * * @type {string} * @memberof StudentDataDto */ companyName?: string; } /** - * + * * @export * @interface SystemInfo */ export interface SystemInfo { /** - * + * * @type {string} * @memberof SystemInfo */ service?: string; /** - * + * * @type {boolean} * @memberof SystemInfo */ isAvailable?: boolean; } /** - * + * * @export * @interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - * + * * @type {number} * @memberof TaskDeadlineDto */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskDeadlineDto */ tags?: Array; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ taskTitle?: string; /** - * + * * @type {string} * @memberof TaskDeadlineDto */ courseTitle?: string; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ courseId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ homeworkId?: number; /** - * + * * @type {number} * @memberof TaskDeadlineDto */ maxRating?: number; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ publicationDate?: Date; /** - * + * * @type {Date} * @memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - * + * * @export * @interface TaskDeadlineView */ export interface TaskDeadlineView { /** - * + * * @type {TaskDeadlineDto} * @memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - * + * * @type {SolutionState} * @memberof TaskDeadlineView */ solutionState?: SolutionState; /** - * + * * @type {number} * @memberof TaskDeadlineView */ rating?: number; /** - * + * * @type {number} * @memberof TaskDeadlineView */ maxRating?: number; /** - * + * * @type {boolean} * @memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - * + * * @export * @interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - * + * * @type {number} * @memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - * + * * @export * @interface TaskSolutions */ export interface TaskSolutions { /** - * + * * @type {number} * @memberof TaskSolutions */ taskId?: number; /** - * + * * @type {Array} * @memberof TaskSolutions */ studentSolutions?: Array; } /** - * + * * @export * @interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - * + * * @type {number} * @memberof TaskSolutionsStats */ taskId?: number; /** - * + * * @type {number} * @memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - * + * * @type {string} * @memberof TaskSolutionsStats */ title?: string; /** - * + * * @type {Array} * @memberof TaskSolutionsStats */ tags?: Array; } /** - * + * * @export * @interface TokenCredentials */ export interface TokenCredentials { /** - * + * * @type {string} * @memberof TokenCredentials */ accessToken?: string; } /** - * + * * @export * @interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - * + * * @type {TokenCredentials} * @memberof TokenCredentialsResult */ value?: TokenCredentials; /** - * + * * @type {boolean} * @memberof TokenCredentialsResult */ succeeded?: boolean; /** - * + * * @type {Array} * @memberof TokenCredentialsResult */ errors?: Array; } /** - * + * * @export * @interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - * + * * @type {Array} * @memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - * + * * @export * @interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ name: string; /** - * + * * @type {string} * @memberof UpdateCourseViewModel */ groupName?: string; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isOpen: boolean; /** - * + * * @type {boolean} * @memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - * + * * @export * @interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - * + * * @type {string} * @memberof UpdateExpertTagsDTO */ expertId?: string; /** - * + * * @type {Array} * @memberof UpdateExpertTagsDTO */ tags?: Array; } /** - * + * * @export * @interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - * + * * @type {string} * @memberof UpdateGroupViewModel */ name?: string; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ tasks?: Array; /** - * + * * @type {Array} * @memberof UpdateGroupViewModel */ groupMates?: Array; } /** - * + * * @export * @interface UrlDto */ export interface UrlDto { /** - * + * * @type {string} * @memberof UrlDto */ url?: string; } /** - * + * * @export * @interface UserDataDto */ export interface UserDataDto { /** - * + * * @type {AccountDataDto} * @memberof UserDataDto */ userData?: AccountDataDto; /** - * + * * @type {Array} * @memberof UserDataDto */ courseEvents?: Array; /** - * + * * @type {Array} * @memberof UserDataDto */ taskDeadlines?: Array; } /** - * + * * @export * @interface UserTaskSolutions */ export interface UserTaskSolutions { /** - * + * * @type {Array} * @memberof UserTaskSolutions */ solutions?: Array; /** - * + * * @type {StudentDataDto} * @memberof UserTaskSolutions */ student?: StudentDataDto; } /** - * + * * @export * @interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - * + * * @type {number} * @memberof UserTaskSolutions2 */ maxRating?: number; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ title?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ tags?: Array; /** - * + * * @type {string} * @memberof UserTaskSolutions2 */ taskId?: string; /** - * + * * @type {Array} * @memberof UserTaskSolutions2 */ solutions?: Array; } /** - * + * * @export * @interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - * + * * @type {number} * @memberof UserTaskSolutionsPageData */ courseId?: number; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - * + * * @type {Array} * @memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - * + * * @export * @interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ students?: Array; /** - * + * * @type {Array} * @memberof WorkspaceViewModel */ @@ -2658,8 +2667,8 @@ export interface WorkspaceViewModel { export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2669,6 +2678,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2676,21 +2686,24 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (code !== undefined) { localVarQueryParameter['code'] = code; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2700,6 +2713,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2707,20 +2721,23 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("EditAccountViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2730,6 +2747,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2737,18 +2755,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2758,6 +2778,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2765,20 +2786,23 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UrlDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2788,6 +2812,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2795,18 +2820,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2821,6 +2848,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2828,18 +2856,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2849,6 +2879,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2856,21 +2887,24 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteLecturerViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2880,6 +2914,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2887,20 +2922,23 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("LoginViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2910,6 +2948,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2917,18 +2956,20 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2938,6 +2979,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2945,21 +2987,24 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RegisterViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2969,6 +3014,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -2976,21 +3022,24 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RequestPasswordRecoveryViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3000,6 +3049,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3007,13 +3057,16 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("ResetPasswordViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -3021,6 +3074,7 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }, } }; + /** * AccountApi - functional programming interface * @export @@ -3028,8 +3082,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati export const AccountApiFp = function(configuration?: Configuration) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3046,8 +3100,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3064,7 +3118,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3081,8 +3135,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3099,7 +3153,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3116,8 +3170,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3134,8 +3188,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3152,8 +3206,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3170,7 +3224,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3187,8 +3241,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3205,8 +3259,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3223,8 +3277,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3242,6 +3296,7 @@ export const AccountApiFp = function(configuration?: Configuration) { }, } }; + /** * AccountApi - factory interface * @export @@ -3249,8 +3304,8 @@ export const AccountApiFp = function(configuration?: Configuration) { export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3258,8 +3313,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3267,7 +3322,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3275,8 +3330,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3284,7 +3339,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3292,8 +3347,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3301,8 +3356,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3310,8 +3365,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3319,7 +3374,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3327,8 +3382,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3336,8 +3391,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3345,8 +3400,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3355,6 +3410,7 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? }, }; }; + /** * AccountApi - object-oriented interface * @export @@ -3363,8 +3419,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? */ export class AccountApi extends BaseAPI { /** - * - * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3372,9 +3428,10 @@ export class AccountApi extends BaseAPI { public accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(this.configuration).accountAuthorizeGithub(code, options)(this.fetch, this.basePath); } + /** - * - * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3382,8 +3439,9 @@ export class AccountApi extends BaseAPI { public accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(this.configuration).accountEdit(body, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3391,9 +3449,10 @@ export class AccountApi extends BaseAPI { public accountGetAllStudents(options?: any) { return AccountApiFp(this.configuration).accountGetAllStudents(options)(this.fetch, this.basePath); } + /** - * - * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3401,8 +3460,9 @@ export class AccountApi extends BaseAPI { public accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(this.configuration).accountGetGithubLoginUrl(body, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3410,9 +3470,10 @@ export class AccountApi extends BaseAPI { public accountGetUserData(options?: any) { return AccountApiFp(this.configuration).accountGetUserData(options)(this.fetch, this.basePath); } + /** - * - * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3420,9 +3481,10 @@ export class AccountApi extends BaseAPI { public accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(this.configuration).accountGetUserDataById(userId, options)(this.fetch, this.basePath); } + /** - * - * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3430,9 +3492,10 @@ export class AccountApi extends BaseAPI { public accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(this.configuration).accountInviteNewLecturer(body, options)(this.fetch, this.basePath); } + /** - * - * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3440,8 +3503,9 @@ export class AccountApi extends BaseAPI { public accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(this.configuration).accountLogin(body, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3449,9 +3513,10 @@ export class AccountApi extends BaseAPI { public accountRefreshToken(options?: any) { return AccountApiFp(this.configuration).accountRefreshToken(options)(this.fetch, this.basePath); } + /** - * - * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3459,9 +3524,10 @@ export class AccountApi extends BaseAPI { public accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(this.configuration).accountRegister(body, options)(this.fetch, this.basePath); } + /** - * - * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3469,9 +3535,10 @@ export class AccountApi extends BaseAPI { public accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(this.configuration).accountRequestPasswordRecovery(body, options)(this.fetch, this.basePath); } + /** - * - * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3479,6 +3546,7 @@ export class AccountApi extends BaseAPI { public accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(this.configuration).accountResetPassword(body, options)(this.fetch, this.basePath); } + } /** * CourseGroupsApi - fetch parameter creator @@ -3487,10 +3555,10 @@ export class AccountApi extends BaseAPI { export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3510,6 +3578,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3517,22 +3586,25 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (userId !== undefined) { localVarQueryParameter['userId'] = userId; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3547,6 +3619,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3554,22 +3627,25 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateGroupViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3589,6 +3665,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3596,18 +3673,20 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3622,6 +3701,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3629,18 +3709,20 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3655,6 +3737,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3662,18 +3745,20 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3688,6 +3773,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3695,18 +3781,20 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3721,6 +3809,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3728,20 +3817,22 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3761,6 +3852,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3768,23 +3860,26 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (userId !== undefined) { localVarQueryParameter['userId'] = userId; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3804,6 +3899,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -3811,13 +3907,16 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateGroupViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -3825,6 +3924,7 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }, } }; + /** * CourseGroupsApi - functional programming interface * @export @@ -3832,10 +3932,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3852,9 +3952,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3871,9 +3971,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3890,8 +3990,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3908,8 +4008,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3926,8 +4026,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3944,8 +4044,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3962,10 +4062,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3982,10 +4082,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4003,6 +4103,7 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }, } }; + /** * CourseGroupsApi - factory interface * @export @@ -4010,10 +4111,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4021,9 +4122,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4031,9 +4132,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4041,8 +4142,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4050,8 +4151,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4059,8 +4160,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4068,8 +4169,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4077,10 +4178,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4088,10 +4189,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4100,6 +4201,7 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f }, }; }; + /** * CourseGroupsApi - object-oriented interface * @export @@ -4108,10 +4210,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f */ export class CourseGroupsApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4119,10 +4221,11 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4130,10 +4233,11 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsCreateCourseGroup(courseId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4141,9 +4245,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4151,9 +4256,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetAllCourseGroups(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4161,9 +4267,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetCourseGroupsById(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4171,9 +4278,10 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroup(groupId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4181,11 +4289,12 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroupTasks(groupId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4193,11 +4302,12 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -4205,6 +4315,7 @@ export class CourseGroupsApi extends BaseAPI { public courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(this.fetch, this.basePath); } + } /** * CoursesApi - fetch parameter creator @@ -4213,9 +4324,9 @@ export class CourseGroupsApi extends BaseAPI { export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4235,6 +4346,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4242,19 +4354,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4274,6 +4388,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4281,18 +4396,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4302,6 +4419,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4309,21 +4427,24 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateCourseViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4338,6 +4459,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4345,20 +4467,22 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4378,6 +4502,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4385,21 +4510,24 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("EditMentorWorkspaceDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4414,6 +4542,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4421,17 +4550,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4441,6 +4572,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4448,18 +4580,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4474,6 +4608,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4481,17 +4616,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4501,6 +4638,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4508,18 +4646,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4534,6 +4674,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4541,18 +4682,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4562,6 +4705,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4569,21 +4713,24 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (programName !== undefined) { localVarQueryParameter['programName'] = programName; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4598,6 +4745,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4605,19 +4753,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4637,6 +4787,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4644,17 +4795,19 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4664,6 +4817,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4671,18 +4825,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4692,6 +4848,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4699,22 +4856,25 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteStudentViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4734,6 +4894,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4741,18 +4902,20 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4767,6 +4930,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4774,19 +4938,21 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4801,6 +4967,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4808,23 +4975,26 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateCourseViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4844,6 +5014,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -4851,13 +5022,16 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("StudentCharacteristicsDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -4865,6 +5039,7 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }, } }; + /** * CoursesApi - functional programming interface * @export @@ -4872,9 +5047,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati export const CoursesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4891,9 +5066,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4910,8 +5085,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4928,8 +5103,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4946,10 +5121,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4966,8 +5141,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4984,7 +5159,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5001,8 +5176,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5019,7 +5194,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5036,8 +5211,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5054,8 +5229,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5072,8 +5247,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5090,9 +5265,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5109,7 +5284,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5126,8 +5301,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5144,9 +5319,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5163,8 +5338,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5181,9 +5356,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5200,10 +5375,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5221,6 +5396,7 @@ export const CoursesApiFp = function(configuration?: Configuration) { }, } }; + /** * CoursesApi - factory interface * @export @@ -5228,9 +5404,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5238,9 +5414,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5248,8 +5424,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5257,8 +5433,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5266,10 +5442,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5277,8 +5453,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5286,7 +5462,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5294,8 +5470,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5303,7 +5479,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5311,8 +5487,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5320,8 +5496,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5329,8 +5505,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5338,9 +5514,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5348,7 +5524,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5356,8 +5532,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - * - * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5365,9 +5541,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesInviteStudent(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5375,8 +5551,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5384,9 +5560,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5394,10 +5570,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5406,6 +5582,7 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? }, }; }; + /** * CoursesApi - object-oriented interface * @export @@ -5414,9 +5591,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? */ export class CoursesApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5424,10 +5601,11 @@ export class CoursesApi extends BaseAPI { public coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5435,9 +5613,10 @@ export class CoursesApi extends BaseAPI { public coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptStudent(courseId, studentId, options)(this.fetch, this.basePath); } + /** - * - * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5445,9 +5624,10 @@ export class CoursesApi extends BaseAPI { public coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesCreateCourse(body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5455,11 +5635,12 @@ export class CoursesApi extends BaseAPI { public coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesDeleteCourse(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5467,9 +5648,10 @@ export class CoursesApi extends BaseAPI { public coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(this.configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5477,8 +5659,9 @@ export class CoursesApi extends BaseAPI { public coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourseData(courseId, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5486,9 +5669,10 @@ export class CoursesApi extends BaseAPI { public coursesGetAllCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourses(options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5496,8 +5680,9 @@ export class CoursesApi extends BaseAPI { public coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllTagsForCourse(courseId, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5505,9 +5690,10 @@ export class CoursesApi extends BaseAPI { public coursesGetAllUserCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllUserCourses(options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5515,9 +5701,10 @@ export class CoursesApi extends BaseAPI { public coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetCourseData(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5525,9 +5712,10 @@ export class CoursesApi extends BaseAPI { public coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetGroups(programName, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5535,10 +5723,11 @@ export class CoursesApi extends BaseAPI { public coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetLecturersAvailableForCourse(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5546,8 +5735,9 @@ export class CoursesApi extends BaseAPI { public coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5555,9 +5745,10 @@ export class CoursesApi extends BaseAPI { public coursesGetProgramNames(options?: any) { return CoursesApiFp(this.configuration).coursesGetProgramNames(options)(this.fetch, this.basePath); } + /** - * - * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5565,10 +5756,11 @@ export class CoursesApi extends BaseAPI { public coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesInviteStudent(body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5576,9 +5768,10 @@ export class CoursesApi extends BaseAPI { public coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesRejectStudent(courseId, studentId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5586,10 +5779,11 @@ export class CoursesApi extends BaseAPI { public coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesSignInCourse(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5597,11 +5791,12 @@ export class CoursesApi extends BaseAPI { public coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateCourse(courseId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5609,6 +5804,7 @@ export class CoursesApi extends BaseAPI { public coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); } + } /** * ExpertsApi - fetch parameter creator @@ -5617,7 +5813,7 @@ export class CoursesApi extends BaseAPI { export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5627,6 +5823,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5634,17 +5831,19 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5654,6 +5853,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5661,18 +5861,20 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5682,6 +5884,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5689,21 +5892,24 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (expertEmail !== undefined) { localVarQueryParameter['expertEmail'] = expertEmail; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5713,6 +5919,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5720,21 +5927,24 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("InviteExpertViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5744,6 +5954,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5751,21 +5962,24 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("TokenCredentials" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5775,6 +5989,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5782,20 +5997,23 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RegisterExpertViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5805,6 +6023,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5812,18 +6031,20 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5833,6 +6054,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -5840,13 +6062,16 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("UpdateExpertTagsDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -5854,6 +6079,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }, } }; + /** * ExpertsApi - functional programming interface * @export @@ -5861,7 +6087,7 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5878,7 +6104,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5895,8 +6121,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5913,8 +6139,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5931,8 +6157,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5949,8 +6175,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5967,7 +6193,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5984,8 +6210,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6003,6 +6229,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }, } }; + /** * ExpertsApi - factory interface * @export @@ -6010,7 +6237,7 @@ export const ExpertsApiFp = function(configuration?: Configuration) { export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6018,7 +6245,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6026,8 +6253,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6035,8 +6262,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6044,8 +6271,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6053,8 +6280,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6062,7 +6289,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6070,8 +6297,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6080,6 +6307,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? }, }; }; + /** * ExpertsApi - object-oriented interface * @export @@ -6088,7 +6316,7 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? */ export class ExpertsApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6096,8 +6324,9 @@ export class ExpertsApi extends BaseAPI { public expertsGetAll(options?: any) { return ExpertsApiFp(this.configuration).expertsGetAll(options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6105,9 +6334,10 @@ export class ExpertsApi extends BaseAPI { public expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsGetIsProfileEdited(options)(this.fetch, this.basePath); } + /** - * - * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6115,9 +6345,10 @@ export class ExpertsApi extends BaseAPI { public expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(this.configuration).expertsGetToken(expertEmail, options)(this.fetch, this.basePath); } + /** - * - * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6125,9 +6356,10 @@ export class ExpertsApi extends BaseAPI { public expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsInvite(body, options)(this.fetch, this.basePath); } + /** - * - * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6135,9 +6367,10 @@ export class ExpertsApi extends BaseAPI { public expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(this.configuration).expertsLogin(body, options)(this.fetch, this.basePath); } + /** - * - * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6145,8 +6378,9 @@ export class ExpertsApi extends BaseAPI { public expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsRegister(body, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6154,9 +6388,10 @@ export class ExpertsApi extends BaseAPI { public expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsSetProfileIsEdited(options)(this.fetch, this.basePath); } + /** - * - * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -6164,6 +6399,7 @@ export class ExpertsApi extends BaseAPI { public expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(this.configuration).expertsUpdateTags(body, options)(this.fetch, this.basePath); } + } /** * FilesApi - fetch parameter creator @@ -6172,9 +6408,9 @@ export class ExpertsApi extends BaseAPI { export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6184,6 +6420,7 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6191,24 +6428,28 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (courseId !== undefined) { localVarQueryParameter['courseId'] = courseId; } + if (key !== undefined) { localVarQueryParameter['key'] = key; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6218,6 +6459,7 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6225,22 +6467,25 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (key !== undefined) { localVarQueryParameter['key'] = key; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6255,6 +6500,7 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6262,23 +6508,26 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (homeworkId !== undefined) { localVarQueryParameter['homeworkId'] = homeworkId; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6289,6 +6538,7 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; const localVarFormParams = new URLSearchParams(); + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6296,21 +6546,27 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (courseId !== undefined) { localVarFormParams.set('CourseId', courseId as any); } + if (homeworkId !== undefined) { localVarFormParams.set('HomeworkId', homeworkId as any); } + if (file !== undefined) { localVarFormParams.set('File', file as any); } + localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); localVarRequestOptions.body = localVarFormParams.toString(); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -6318,6 +6574,7 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }, } }; + /** * FilesApi - functional programming interface * @export @@ -6325,9 +6582,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration export const FilesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6344,8 +6601,8 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6362,9 +6619,9 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6381,10 +6638,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6402,6 +6659,7 @@ export const FilesApiFp = function(configuration?: Configuration) { }, } }; + /** * FilesApi - factory interface * @export @@ -6409,9 +6667,9 @@ export const FilesApiFp = function(configuration?: Configuration) { export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6419,8 +6677,8 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6428,9 +6686,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6438,10 +6696,10 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6450,6 +6708,7 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: }, }; }; + /** * FilesApi - object-oriented interface * @export @@ -6458,9 +6717,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: */ export class FilesApi extends BaseAPI { /** - * - * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6468,9 +6727,10 @@ export class FilesApi extends BaseAPI { public filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(this.configuration).filesDeleteFile(courseId, key, options)(this.fetch, this.basePath); } + /** - * - * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6478,10 +6738,11 @@ export class FilesApi extends BaseAPI { public filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(this.configuration).filesGetDownloadLink(key, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6489,11 +6750,12 @@ export class FilesApi extends BaseAPI { public filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(this.configuration).filesGetFilesInfo(courseId, homeworkId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6501,6 +6763,7 @@ export class FilesApi extends BaseAPI { public filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(this.configuration).filesUpload(courseId, homeworkId, file, options)(this.fetch, this.basePath); } + } /** * HomeworksApi - fetch parameter creator @@ -6509,9 +6772,9 @@ export class FilesApi extends BaseAPI { export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6526,6 +6789,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6533,21 +6797,24 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateHomeworkViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6562,6 +6829,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6569,18 +6837,20 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6595,6 +6865,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6602,18 +6873,20 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6628,6 +6901,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6635,19 +6909,21 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6662,6 +6938,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6669,13 +6946,16 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateHomeworkViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -6683,6 +6963,7 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }, } }; + /** * HomeworksApi - functional programming interface * @export @@ -6690,9 +6971,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6709,8 +6990,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6727,8 +7008,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6745,8 +7026,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6763,9 +7044,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6783,6 +7064,7 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }, } }; + /** * HomeworksApi - factory interface * @export @@ -6790,9 +7072,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6800,8 +7082,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6809,8 +7091,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6818,8 +7100,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6827,9 +7109,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6838,6 +7120,7 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc }, }; }; + /** * HomeworksApi - object-oriented interface * @export @@ -6846,9 +7129,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc */ export class HomeworksApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6856,9 +7139,10 @@ export class HomeworksApi extends BaseAPI { public homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksAddHomework(courseId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6866,9 +7150,10 @@ export class HomeworksApi extends BaseAPI { public homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksDeleteHomework(homeworkId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6876,9 +7161,10 @@ export class HomeworksApi extends BaseAPI { public homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetForEditingHomework(homeworkId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6886,10 +7172,11 @@ export class HomeworksApi extends BaseAPI { public homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetHomework(homeworkId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6897,6 +7184,7 @@ export class HomeworksApi extends BaseAPI { public homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksUpdateHomework(homeworkId, body, options)(this.fetch, this.basePath); } + } /** * NotificationsApi - fetch parameter creator @@ -6905,8 +7193,8 @@ export class HomeworksApi extends BaseAPI { export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6916,6 +7204,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6923,20 +7212,23 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("NotificationsSettingDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6946,6 +7238,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6953,17 +7246,19 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6973,6 +7268,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -6980,17 +7276,19 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7000,6 +7298,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7007,18 +7306,20 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7028,6 +7329,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7035,13 +7337,16 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("Array<number>" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -7049,6 +7354,7 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }, } }; + /** * NotificationsApi - functional programming interface * @export @@ -7056,8 +7362,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7074,7 +7380,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7091,7 +7397,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7108,7 +7414,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7125,8 +7431,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7144,6 +7450,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }, } }; + /** * NotificationsApi - factory interface * @export @@ -7151,8 +7458,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7160,7 +7467,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7168,7 +7475,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7176,7 +7483,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7184,8 +7491,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7194,6 +7501,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration, }, }; }; + /** * NotificationsApi - object-oriented interface * @export @@ -7202,8 +7510,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, */ export class NotificationsApi extends BaseAPI { /** - * - * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7211,8 +7519,9 @@ export class NotificationsApi extends BaseAPI { public notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(this.configuration).notificationsChangeSetting(body, options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7220,8 +7529,9 @@ export class NotificationsApi extends BaseAPI { public notificationsGet(options?: any) { return NotificationsApiFp(this.configuration).notificationsGet(options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7229,8 +7539,9 @@ export class NotificationsApi extends BaseAPI { public notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetNewNotificationsCount(options)(this.fetch, this.basePath); } + /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7238,9 +7549,10 @@ export class NotificationsApi extends BaseAPI { public notificationsGetSettings(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetSettings(options)(this.fetch, this.basePath); } + /** - * - * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7248,6 +7560,7 @@ export class NotificationsApi extends BaseAPI { public notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(this.configuration).notificationsMarkAsSeen(body, options)(this.fetch, this.basePath); } + } /** * SolutionsApi - fetch parameter creator @@ -7256,8 +7569,8 @@ export class NotificationsApi extends BaseAPI { export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7272,6 +7585,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7279,19 +7593,21 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7301,6 +7617,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7308,24 +7625,28 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (taskId !== undefined) { localVarQueryParameter['taskId'] = taskId; } + if (solutionId !== undefined) { localVarQueryParameter['solutionId'] = solutionId; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7340,6 +7661,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7347,18 +7669,20 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7373,6 +7697,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7380,19 +7705,21 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7412,6 +7739,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7419,18 +7747,20 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7445,6 +7775,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7452,18 +7783,20 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7473,6 +7806,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7480,21 +7814,24 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + if (taskId !== undefined) { localVarQueryParameter['taskId'] = taskId; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7509,6 +7846,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7516,18 +7854,20 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7542,6 +7882,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7549,19 +7890,21 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7576,6 +7919,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7583,22 +7927,25 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("SolutionViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7613,6 +7960,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7620,22 +7968,25 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("SolutionViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7650,6 +8001,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -7657,13 +8009,16 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("RateSolutionModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -7671,6 +8026,7 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }, } }; + /** * SolutionsApi - functional programming interface * @export @@ -7678,8 +8034,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7696,9 +8052,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7715,8 +8071,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7733,8 +8089,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7751,9 +8107,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7770,8 +8126,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7788,8 +8144,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7806,8 +8162,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7824,8 +8180,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7842,9 +8198,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7861,9 +8217,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7880,9 +8236,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7900,6 +8256,7 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }, } }; + /** * SolutionsApi - factory interface * @export @@ -7907,8 +8264,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7916,9 +8273,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7926,8 +8283,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7935,8 +8292,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7944,9 +8301,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7954,8 +8311,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7963,8 +8320,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7972,8 +8329,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7981,8 +8338,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7990,9 +8347,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8000,9 +8357,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8010,9 +8367,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8021,6 +8378,7 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc }, }; }; + /** * SolutionsApi - object-oriented interface * @export @@ -8029,8 +8387,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc */ export class SolutionsApi extends BaseAPI { /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8038,10 +8396,11 @@ export class SolutionsApi extends BaseAPI { public solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsDeleteSolution(solutionId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8049,9 +8408,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8059,9 +8419,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionActuality(solutionId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8069,10 +8430,11 @@ export class SolutionsApi extends BaseAPI { public solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionById(solutionId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8080,9 +8442,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetStudentSolution(taskId, studentId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8090,9 +8453,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetTaskSolutionsPageData(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8100,9 +8464,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetUnratedSolutions(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8110,9 +8475,10 @@ export class SolutionsApi extends BaseAPI { public solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGiveUp(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8120,10 +8486,11 @@ export class SolutionsApi extends BaseAPI { public solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsMarkSolution(solutionId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8131,10 +8498,11 @@ export class SolutionsApi extends BaseAPI { public solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8142,10 +8510,11 @@ export class SolutionsApi extends BaseAPI { public solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostSolution(taskId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -8153,6 +8522,7 @@ export class SolutionsApi extends BaseAPI { public solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsRateSolution(solutionId, body, options)(this.fetch, this.basePath); } + } /** * StatisticsApi - fetch parameter creator @@ -8161,8 +8531,8 @@ export class SolutionsApi extends BaseAPI { export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8177,6 +8547,7 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8184,18 +8555,20 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8210,6 +8583,7 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8217,18 +8591,20 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8243,6 +8619,7 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8250,10 +8627,12 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8261,6 +8640,7 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }, } }; + /** * StatisticsApi - functional programming interface * @export @@ -8268,8 +8648,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8286,8 +8666,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8304,8 +8684,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8323,6 +8703,7 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }, } }; + /** * StatisticsApi - factory interface * @export @@ -8330,8 +8711,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8339,8 +8720,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8348,8 +8729,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8358,6 +8739,7 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet }, }; }; + /** * StatisticsApi - object-oriented interface * @export @@ -8366,8 +8748,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet */ export class StatisticsApi extends BaseAPI { /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8375,9 +8757,10 @@ export class StatisticsApi extends BaseAPI { public statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetChartStatistics(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8385,9 +8768,10 @@ export class StatisticsApi extends BaseAPI { public statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetCourseStatistics(courseId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8395,6 +8779,7 @@ export class StatisticsApi extends BaseAPI { public statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetLecturersStatistics(courseId, options)(this.fetch, this.basePath); } + } /** * SystemApi - fetch parameter creator @@ -8403,7 +8788,7 @@ export class StatisticsApi extends BaseAPI { export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8413,6 +8798,7 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8420,10 +8806,12 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8431,6 +8819,7 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio }, } }; + /** * SystemApi - functional programming interface * @export @@ -8438,7 +8827,7 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio export const SystemApiFp = function(configuration?: Configuration) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8456,6 +8845,7 @@ export const SystemApiFp = function(configuration?: Configuration) { }, } }; + /** * SystemApi - factory interface * @export @@ -8463,7 +8853,7 @@ export const SystemApiFp = function(configuration?: Configuration) { export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8472,6 +8862,7 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: }, }; }; + /** * SystemApi - object-oriented interface * @export @@ -8480,7 +8871,7 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: */ export class SystemApi extends BaseAPI { /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SystemApi @@ -8488,6 +8879,7 @@ export class SystemApi extends BaseAPI { public systemStatus(options?: any) { return SystemApiFp(this.configuration).systemStatus(options)(this.fetch, this.basePath); } + } /** * TasksApi - fetch parameter creator @@ -8496,8 +8888,8 @@ export class SystemApi extends BaseAPI { export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8507,6 +8899,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8514,21 +8907,24 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("AddAnswerForQuestionDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8538,6 +8934,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8545,22 +8942,25 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("AddTaskQuestionDto" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8575,6 +8975,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'POST' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8582,21 +8983,24 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateTaskViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8611,6 +9015,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8618,18 +9023,20 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8644,6 +9051,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8651,18 +9059,20 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8677,6 +9087,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8684,18 +9095,20 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8710,6 +9123,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'GET' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8717,19 +9131,21 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8744,6 +9160,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration const localVarRequestOptions = Object.assign({ method: 'PUT' }, options); const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication Bearer required if (configuration && configuration.apiKey) { const localVarApiKeyValue = typeof configuration.apiKey === 'function' @@ -8751,13 +9168,16 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration : configuration.apiKey; localVarHeaderParameter["Authorization"] = localVarApiKeyValue; } + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 localVarUrlObj.search = null; localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); const needsSerialization = ("CreateTaskViewModel" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + return { url: url.format(localVarUrlObj), options: localVarRequestOptions, @@ -8765,6 +9185,7 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }, } }; + /** * TasksApi - functional programming interface * @export @@ -8772,8 +9193,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration export const TasksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8790,8 +9211,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8808,9 +9229,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8827,8 +9248,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8845,8 +9266,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8863,8 +9284,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8881,8 +9302,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8899,9 +9320,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8919,6 +9340,7 @@ export const TasksApiFp = function(configuration?: Configuration) { }, } }; + /** * TasksApi - factory interface * @export @@ -8926,8 +9348,8 @@ export const TasksApiFp = function(configuration?: Configuration) { export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8935,8 +9357,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8944,9 +9366,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8954,8 +9376,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8963,8 +9385,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8972,8 +9394,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8981,8 +9403,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8990,9 +9412,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9001,6 +9423,7 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: }, }; }; + /** * TasksApi - object-oriented interface * @export @@ -9009,8 +9432,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: */ export class TasksApi extends BaseAPI { /** - * - * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9018,9 +9441,10 @@ export class TasksApi extends BaseAPI { public tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddAnswerForQuestion(body, options)(this.fetch, this.basePath); } + /** - * - * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9028,10 +9452,11 @@ export class TasksApi extends BaseAPI { public tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddQuestionForTask(body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9039,9 +9464,10 @@ export class TasksApi extends BaseAPI { public tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksAddTask(homeworkId, body, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9049,9 +9475,10 @@ export class TasksApi extends BaseAPI { public tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksDeleteTask(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9059,9 +9486,10 @@ export class TasksApi extends BaseAPI { public tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetForEditingTask(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9069,9 +9497,10 @@ export class TasksApi extends BaseAPI { public tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetQuestionsForTask(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9079,10 +9508,11 @@ export class TasksApi extends BaseAPI { public tasksGetTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetTask(taskId, options)(this.fetch, this.basePath); } + /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -9090,4 +9520,5 @@ export class TasksApi extends BaseAPI { public tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksUpdateTask(taskId, body, options)(this.fetch, this.basePath); } + } diff --git a/hwproj.front/src/api/api_test.spec.ts b/hwproj.front/src/api/api_test.spec.ts deleted file mode 100644 index 75f1926c2..000000000 --- a/hwproj.front/src/api/api_test.spec.ts +++ /dev/null @@ -1,441 +0,0 @@ -/** - * API Gateway - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1 - * - * - * NOTE: This file is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the file manually. - */ -import * as api from "./api" -import { Configuration } from "./configuration" -const config: Configuration = {} -describe("AccountApi", () => { - let instance: api.AccountApi - beforeEach(function() { - instance = new api.AccountApi(config) - }); - test("accountAuthorizeGithub", () => { - const code: string = "code_example" - return expect(instance.accountAuthorizeGithub(code, {})).resolves.toBe(null) - }) - test("accountEdit", () => { - const body: api.EditAccountViewModel = undefined - return expect(instance.accountEdit(body, {})).resolves.toBe(null) - }) - test("accountGetAllStudents", () => { - return expect(instance.accountGetAllStudents({})).resolves.toBe(null) - }) - test("accountGetGithubLoginUrl", () => { - const body: api.UrlDto = undefined - return expect(instance.accountGetGithubLoginUrl(body, {})).resolves.toBe(null) - }) - test("accountGetUserData", () => { - return expect(instance.accountGetUserData({})).resolves.toBe(null) - }) - test("accountGetUserDataById", () => { - const userId: string = "userId_example" - return expect(instance.accountGetUserDataById(userId, {})).resolves.toBe(null) - }) - test("accountInviteNewLecturer", () => { - const body: api.InviteLecturerViewModel = undefined - return expect(instance.accountInviteNewLecturer(body, {})).resolves.toBe(null) - }) - test("accountLogin", () => { - const body: api.LoginViewModel = undefined - return expect(instance.accountLogin(body, {})).resolves.toBe(null) - }) - test("accountRefreshToken", () => { - return expect(instance.accountRefreshToken({})).resolves.toBe(null) - }) - test("accountRegister", () => { - const body: api.RegisterViewModel = undefined - return expect(instance.accountRegister(body, {})).resolves.toBe(null) - }) - test("accountRequestPasswordRecovery", () => { - const body: api.RequestPasswordRecoveryViewModel = undefined - return expect(instance.accountRequestPasswordRecovery(body, {})).resolves.toBe(null) - }) - test("accountResetPassword", () => { - const body: api.ResetPasswordViewModel = undefined - return expect(instance.accountResetPassword(body, {})).resolves.toBe(null) - }) -}) -describe("CourseGroupsApi", () => { - let instance: api.CourseGroupsApi - beforeEach(function() { - instance = new api.CourseGroupsApi(config) - }); - test("courseGroupsAddStudentInGroup", () => { - const courseId: number = 789 - const groupId: number = 789 - const userId: string = "userId_example" - return expect(instance.courseGroupsAddStudentInGroup(courseId, groupId, userId, {})).resolves.toBe(null) - }) - test("courseGroupsCreateCourseGroup", () => { - const courseId: number = 789 - const body: api.CreateGroupViewModel = undefined - return expect(instance.courseGroupsCreateCourseGroup(courseId, body, {})).resolves.toBe(null) - }) - test("courseGroupsDeleteCourseGroup", () => { - const courseId: number = 789 - const groupId: number = 789 - return expect(instance.courseGroupsDeleteCourseGroup(courseId, groupId, {})).resolves.toBe(null) - }) - test("courseGroupsGetAllCourseGroups", () => { - const courseId: number = 789 - return expect(instance.courseGroupsGetAllCourseGroups(courseId, {})).resolves.toBe(null) - }) - test("courseGroupsGetCourseGroupsById", () => { - const courseId: number = 789 - return expect(instance.courseGroupsGetCourseGroupsById(courseId, {})).resolves.toBe(null) - }) - test("courseGroupsGetGroup", () => { - const groupId: number = 789 - return expect(instance.courseGroupsGetGroup(groupId, {})).resolves.toBe(null) - }) - test("courseGroupsGetGroupTasks", () => { - const groupId: number = 789 - return expect(instance.courseGroupsGetGroupTasks(groupId, {})).resolves.toBe(null) - }) - test("courseGroupsRemoveStudentFromGroup", () => { - const courseId: number = 789 - const groupId: number = 789 - const userId: string = "userId_example" - return expect(instance.courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, {})).resolves.toBe(null) - }) - test("courseGroupsUpdateCourseGroup", () => { - const courseId: number = 789 - const groupId: number = 789 - const body: api.UpdateGroupViewModel = undefined - return expect(instance.courseGroupsUpdateCourseGroup(courseId, groupId, body, {})).resolves.toBe(null) - }) -}) -describe("CoursesApi", () => { - let instance: api.CoursesApi - beforeEach(function() { - instance = new api.CoursesApi(config) - }); - test("coursesAcceptLecturer", () => { - const courseId: number = 789 - const lecturerEmail: string = "lecturerEmail_example" - return expect(instance.coursesAcceptLecturer(courseId, lecturerEmail, {})).resolves.toBe(null) - }) - test("coursesAcceptStudent", () => { - const courseId: number = 789 - const studentId: string = "studentId_example" - return expect(instance.coursesAcceptStudent(courseId, studentId, {})).resolves.toBe(null) - }) - test("coursesCreateCourse", () => { - const body: api.CreateCourseViewModel = undefined - return expect(instance.coursesCreateCourse(body, {})).resolves.toBe(null) - }) - test("coursesDeleteCourse", () => { - const courseId: number = 789 - return expect(instance.coursesDeleteCourse(courseId, {})).resolves.toBe(null) - }) - test("coursesEditMentorWorkspace", () => { - const courseId: number = 789 - const mentorId: string = "mentorId_example" - const body: api.EditMentorWorkspaceDTO = undefined - return expect(instance.coursesEditMentorWorkspace(courseId, mentorId, body, {})).resolves.toBe(null) - }) - test("coursesGetAllCourseData", () => { - const courseId: number = 789 - return expect(instance.coursesGetAllCourseData(courseId, {})).resolves.toBe(null) - }) - test("coursesGetAllCourses", () => { - return expect(instance.coursesGetAllCourses({})).resolves.toBe(null) - }) - test("coursesGetAllTagsForCourse", () => { - const courseId: number = 789 - return expect(instance.coursesGetAllTagsForCourse(courseId, {})).resolves.toBe(null) - }) - test("coursesGetAllUserCourses", () => { - return expect(instance.coursesGetAllUserCourses({})).resolves.toBe(null) - }) - test("coursesGetCourseData", () => { - const courseId: number = 789 - return expect(instance.coursesGetCourseData(courseId, {})).resolves.toBe(null) - }) - test("coursesGetGroups", () => { - const programName: string = "programName_example" - return expect(instance.coursesGetGroups(programName, {})).resolves.toBe(null) - }) - test("coursesGetLecturersAvailableForCourse", () => { - const courseId: number = 789 - return expect(instance.coursesGetLecturersAvailableForCourse(courseId, {})).resolves.toBe(null) - }) - test("coursesGetMentorWorkspace", () => { - const courseId: number = 789 - const mentorId: string = "mentorId_example" - return expect(instance.coursesGetMentorWorkspace(courseId, mentorId, {})).resolves.toBe(null) - }) - test("coursesGetProgramNames", () => { - return expect(instance.coursesGetProgramNames({})).resolves.toBe(null) - }) - test("coursesRejectStudent", () => { - const courseId: number = 789 - const studentId: string = "studentId_example" - return expect(instance.coursesRejectStudent(courseId, studentId, {})).resolves.toBe(null) - }) - test("coursesSignInCourse", () => { - const courseId: number = 789 - return expect(instance.coursesSignInCourse(courseId, {})).resolves.toBe(null) - }) - test("coursesUpdateCourse", () => { - const courseId: number = 789 - const body: api.UpdateCourseViewModel = undefined - return expect(instance.coursesUpdateCourse(courseId, body, {})).resolves.toBe(null) - }) - test("coursesUpdateStudentCharacteristics", () => { - const courseId: number = 789 - const studentId: string = "studentId_example" - const body: api.StudentCharacteristicsDto = undefined - return expect(instance.coursesUpdateStudentCharacteristics(courseId, studentId, body, {})).resolves.toBe(null) - }) - test("coursesinviteExistentStudent", () => { - const body: api.InviteExistentStudentViewModel = undefined - return expect(instance.coursesinviteExistentStudent(body, {})).resolves.toBe(null) - }) -}) -describe("ExpertsApi", () => { - let instance: api.ExpertsApi - beforeEach(function() { - instance = new api.ExpertsApi(config) - }); - test("expertsGetAll", () => { - return expect(instance.expertsGetAll({})).resolves.toBe(null) - }) - test("expertsGetIsProfileEdited", () => { - return expect(instance.expertsGetIsProfileEdited({})).resolves.toBe(null) - }) - test("expertsGetToken", () => { - const expertEmail: string = "expertEmail_example" - return expect(instance.expertsGetToken(expertEmail, {})).resolves.toBe(null) - }) - test("expertsInvite", () => { - const body: api.InviteExpertViewModel = undefined - return expect(instance.expertsInvite(body, {})).resolves.toBe(null) - }) - test("expertsLogin", () => { - const body: api.TokenCredentials = undefined - return expect(instance.expertsLogin(body, {})).resolves.toBe(null) - }) - test("expertsRegister", () => { - const body: api.RegisterExpertViewModel = undefined - return expect(instance.expertsRegister(body, {})).resolves.toBe(null) - }) - test("expertsSetProfileIsEdited", () => { - return expect(instance.expertsSetProfileIsEdited({})).resolves.toBe(null) - }) - test("expertsUpdateTags", () => { - const body: api.UpdateExpertTagsDTO = undefined - return expect(instance.expertsUpdateTags(body, {})).resolves.toBe(null) - }) -}) -describe("FilesApi", () => { - let instance: api.FilesApi - beforeEach(function() { - instance = new api.FilesApi(config) - }); - test("filesDeleteFile", () => { - const courseId: number = 789 - const key: string = "key_example" - return expect(instance.filesDeleteFile(courseId, key, {})).resolves.toBe(null) - }) - test("filesGetDownloadLink", () => { - const key: string = "key_example" - return expect(instance.filesGetDownloadLink(key, {})).resolves.toBe(null) - }) - test("filesGetFilesInfo", () => { - const courseId: number = 789 - const homeworkId: number = 789 - return expect(instance.filesGetFilesInfo(courseId, homeworkId, {})).resolves.toBe(null) - }) - test("filesUpload", () => { - const courseId: number = 789 - const homeworkId: number = 789 - const file: Blob = "file_example" - return expect(instance.filesUpload(courseId, homeworkId, file, {})).resolves.toBe(null) - }) -}) -describe("HomeworksApi", () => { - let instance: api.HomeworksApi - beforeEach(function() { - instance = new api.HomeworksApi(config) - }); - test("homeworksAddHomework", () => { - const courseId: number = 789 - const body: api.CreateHomeworkViewModel = undefined - return expect(instance.homeworksAddHomework(courseId, body, {})).resolves.toBe(null) - }) - test("homeworksDeleteHomework", () => { - const homeworkId: number = 789 - return expect(instance.homeworksDeleteHomework(homeworkId, {})).resolves.toBe(null) - }) - test("homeworksGetForEditingHomework", () => { - const homeworkId: number = 789 - return expect(instance.homeworksGetForEditingHomework(homeworkId, {})).resolves.toBe(null) - }) - test("homeworksGetHomework", () => { - const homeworkId: number = 789 - return expect(instance.homeworksGetHomework(homeworkId, {})).resolves.toBe(null) - }) - test("homeworksUpdateHomework", () => { - const homeworkId: number = 789 - const body: api.CreateHomeworkViewModel = undefined - return expect(instance.homeworksUpdateHomework(homeworkId, body, {})).resolves.toBe(null) - }) -}) -describe("NotificationsApi", () => { - let instance: api.NotificationsApi - beforeEach(function() { - instance = new api.NotificationsApi(config) - }); - test("notificationsChangeSetting", () => { - const body: api.NotificationsSettingDto = undefined - return expect(instance.notificationsChangeSetting(body, {})).resolves.toBe(null) - }) - test("notificationsGet", () => { - return expect(instance.notificationsGet({})).resolves.toBe(null) - }) - test("notificationsGetNewNotificationsCount", () => { - return expect(instance.notificationsGetNewNotificationsCount({})).resolves.toBe(null) - }) - test("notificationsGetSettings", () => { - return expect(instance.notificationsGetSettings({})).resolves.toBe(null) - }) - test("notificationsMarkAsSeen", () => { - const body: Array = undefined - return expect(instance.notificationsMarkAsSeen(body, {})).resolves.toBe(null) - }) -}) -describe("SolutionsApi", () => { - let instance: api.SolutionsApi - beforeEach(function() { - instance = new api.SolutionsApi(config) - }); - test("solutionsDeleteSolution", () => { - const solutionId: number = 789 - return expect(instance.solutionsDeleteSolution(solutionId, {})).resolves.toBe(null) - }) - test("solutionsGetSolutionAchievement", () => { - const taskId: number = 789 - const solutionId: number = 789 - return expect(instance.solutionsGetSolutionAchievement(taskId, solutionId, {})).resolves.toBe(null) - }) - test("solutionsGetSolutionActuality", () => { - const solutionId: number = 789 - return expect(instance.solutionsGetSolutionActuality(solutionId, {})).resolves.toBe(null) - }) - test("solutionsGetSolutionById", () => { - const solutionId: number = 789 - return expect(instance.solutionsGetSolutionById(solutionId, {})).resolves.toBe(null) - }) - test("solutionsGetStudentSolution", () => { - const taskId: number = 789 - const studentId: string = "studentId_example" - return expect(instance.solutionsGetStudentSolution(taskId, studentId, {})).resolves.toBe(null) - }) - test("solutionsGetTaskSolutionsPageData", () => { - const taskId: number = 789 - return expect(instance.solutionsGetTaskSolutionsPageData(taskId, {})).resolves.toBe(null) - }) - test("solutionsGetUnratedSolutions", () => { - const taskId: number = 789 - return expect(instance.solutionsGetUnratedSolutions(taskId, {})).resolves.toBe(null) - }) - test("solutionsGiveUp", () => { - const taskId: number = 789 - return expect(instance.solutionsGiveUp(taskId, {})).resolves.toBe(null) - }) - test("solutionsMarkSolution", () => { - const solutionId: number = 789 - return expect(instance.solutionsMarkSolution(solutionId, {})).resolves.toBe(null) - }) - test("solutionsPostEmptySolutionWithRate", () => { - const taskId: number = 789 - const body: api.SolutionViewModel = undefined - return expect(instance.solutionsPostEmptySolutionWithRate(taskId, body, {})).resolves.toBe(null) - }) - test("solutionsPostSolution", () => { - const taskId: number = 789 - const body: api.SolutionViewModel = undefined - return expect(instance.solutionsPostSolution(taskId, body, {})).resolves.toBe(null) - }) - test("solutionsRateSolution", () => { - const solutionId: number = 789 - const body: api.RateSolutionModel = undefined - return expect(instance.solutionsRateSolution(solutionId, body, {})).resolves.toBe(null) - }) -}) -describe("StatisticsApi", () => { - let instance: api.StatisticsApi - beforeEach(function() { - instance = new api.StatisticsApi(config) - }); - test("statisticsGetChartStatistics", () => { - const courseId: number = 789 - return expect(instance.statisticsGetChartStatistics(courseId, {})).resolves.toBe(null) - }) - test("statisticsGetCourseStatistics", () => { - const courseId: number = 789 - return expect(instance.statisticsGetCourseStatistics(courseId, {})).resolves.toBe(null) - }) - test("statisticsGetLecturersStatistics", () => { - const courseId: number = 789 - return expect(instance.statisticsGetLecturersStatistics(courseId, {})).resolves.toBe(null) - }) -}) -describe("SystemApi", () => { - let instance: api.SystemApi - beforeEach(function() { - instance = new api.SystemApi(config) - }); - test("systemStatus", () => { - return expect(instance.systemStatus({})).resolves.toBe(null) - }) -}) -describe("TasksApi", () => { - let instance: api.TasksApi - beforeEach(function() { - instance = new api.TasksApi(config) - }); - test("tasksAddAnswerForQuestion", () => { - const body: api.AddAnswerForQuestionDto = undefined - return expect(instance.tasksAddAnswerForQuestion(body, {})).resolves.toBe(null) - }) - test("tasksAddQuestionForTask", () => { - const body: api.AddTaskQuestionDto = undefined - return expect(instance.tasksAddQuestionForTask(body, {})).resolves.toBe(null) - }) - test("tasksAddTask", () => { - const homeworkId: number = 789 - const body: api.CreateTaskViewModel = undefined - return expect(instance.tasksAddTask(homeworkId, body, {})).resolves.toBe(null) - }) - test("tasksDeleteTask", () => { - const taskId: number = 789 - return expect(instance.tasksDeleteTask(taskId, {})).resolves.toBe(null) - }) - test("tasksGetForEditingTask", () => { - const taskId: number = 789 - return expect(instance.tasksGetForEditingTask(taskId, {})).resolves.toBe(null) - }) - test("tasksGetQuestionsForTask", () => { - const taskId: number = 789 - return expect(instance.tasksGetQuestionsForTask(taskId, {})).resolves.toBe(null) - }) - test("tasksGetTask", () => { - const taskId: number = 789 - return expect(instance.tasksGetTask(taskId, {})).resolves.toBe(null) - }) - test("tasksUpdateTask", () => { - const taskId: number = 789 - const body: api.CreateTaskViewModel = undefined - return expect(instance.tasksUpdateTask(taskId, body, {})).resolves.toBe(null) - }) -}) diff --git a/hwproj.front/src/api/git_push.sh b/hwproj.front/src/api/git_push.sh deleted file mode 100644 index a1ff4c9bc..000000000 --- a/hwproj.front/src/api/git_push.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' From 6586d9821b98104c35868748a1b5f9bdd56ae54b Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 13 May 2025 19:10:50 +0300 Subject: [PATCH 14/44] chore: revert changes in ts files --- hwproj.front/src/api/configuration.ts | 5 ++++- hwproj.front/src/api/custom.d.ts | 2 +- hwproj.front/src/api/index.ts | 8 +++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hwproj.front/src/api/configuration.ts b/hwproj.front/src/api/configuration.ts index 9808c1ccd..ca5401472 100644 --- a/hwproj.front/src/api/configuration.ts +++ b/hwproj.front/src/api/configuration.ts @@ -10,6 +10,7 @@ * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ + export interface ConfigurationParameters { apiKey?: string | ((name: string) => string); username?: string; @@ -17,6 +18,7 @@ export interface ConfigurationParameters { accessToken?: string | ((name: string, scopes?: string[]) => string); basePath?: string; } + export class Configuration { /** * parameter for apiKey security @@ -52,6 +54,7 @@ export class Configuration { * @memberof Configuration */ basePath?: string; + constructor(param: ConfigurationParameters = {}) { this.apiKey = param.apiKey; this.username = param.username; @@ -59,4 +62,4 @@ export class Configuration { this.accessToken = param.accessToken; this.basePath = param.basePath; } -} +} \ No newline at end of file diff --git a/hwproj.front/src/api/custom.d.ts b/hwproj.front/src/api/custom.d.ts index 01f2d67c5..345cf559e 100644 --- a/hwproj.front/src/api/custom.d.ts +++ b/hwproj.front/src/api/custom.d.ts @@ -1,2 +1,2 @@ declare module 'isomorphic-fetch'; -declare module 'url'; +declare module 'url'; \ No newline at end of file diff --git a/hwproj.front/src/api/index.ts b/hwproj.front/src/api/index.ts index 829d2ef6e..e1fbfe507 100644 --- a/hwproj.front/src/api/index.ts +++ b/hwproj.front/src/api/index.ts @@ -4,11 +4,13 @@ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 + * * - * - * NOTE: This file is auto generated by the swagger code generator program. + * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the file manually. + * Do not edit the class manually. */ + + export * from "./api"; export * from "./configuration"; From 2fc97c940e23fc57d98d0e460443a988d2cd2d5e Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 13 May 2025 19:14:23 +0300 Subject: [PATCH 15/44] chore: replace ts files --- hwproj.front/src/api/configuration.ts | 4 ++-- hwproj.front/src/api/custom.d.ts | 2 +- hwproj.front/src/api/index.ts | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hwproj.front/src/api/configuration.ts b/hwproj.front/src/api/configuration.ts index ca5401472..e700fd957 100644 --- a/hwproj.front/src/api/configuration.ts +++ b/hwproj.front/src/api/configuration.ts @@ -1,4 +1,4 @@ -// tslint:disable +// tslint:disable /** * API Gateway * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) @@ -62,4 +62,4 @@ export class Configuration { this.accessToken = param.accessToken; this.basePath = param.basePath; } -} \ No newline at end of file +} diff --git a/hwproj.front/src/api/custom.d.ts b/hwproj.front/src/api/custom.d.ts index 345cf559e..5d917c1d3 100644 --- a/hwproj.front/src/api/custom.d.ts +++ b/hwproj.front/src/api/custom.d.ts @@ -1,2 +1,2 @@ -declare module 'isomorphic-fetch'; +declare module 'isomorphic-fetch'; declare module 'url'; \ No newline at end of file diff --git a/hwproj.front/src/api/index.ts b/hwproj.front/src/api/index.ts index e1fbfe507..21283e68c 100644 --- a/hwproj.front/src/api/index.ts +++ b/hwproj.front/src/api/index.ts @@ -1,4 +1,4 @@ -// tslint:disable +// tslint:disable /** * API Gateway * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) @@ -12,5 +12,6 @@ */ -export * from "./api"; -export * from "./configuration"; + export * from "./api"; + export * from "./configuration"; + \ No newline at end of file From b36e912c9fdb7af9d946efab74e68f716c5f39d7 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 13 May 2025 20:42:41 +0300 Subject: [PATCH 16/44] feat: add autocomplete for students --- .../src/components/Courses/Course.tsx | 88 +++++++++++++++---- 1 file changed, 70 insertions(+), 18 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index e98c1f181..d5023ba43 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -36,6 +36,8 @@ import {DotLottieReact} from "@lottiefiles/dotlottie-react"; import Avatar from "@material-ui/core/Avatar"; import MailOutlineIcon from '@mui/icons-material/MailOutline'; import {makeStyles} from '@material-ui/core/styles'; +import Autocomplete from '@mui/material/Autocomplete'; +import ValidationUtils from "../Utils/ValidationUtils"; type TabValue = "homeworks" | "stats" | "applications" @@ -114,7 +116,8 @@ const RegisterStudentDialog: FC = ({courseId, open, !isRegistering && onClose()} - maxWidth="xs" + maxWidth="sm" + fullWidth > @@ -206,7 +209,7 @@ const RegisterStudentDialog: FC = ({courseId, open, @@ -238,14 +242,34 @@ const InviteStudentDialog: FC = ({courseId, open, onCl const [errors, setErrors] = useState([]); const [isInviting, setIsInviting] = useState(false); const [showRegisterDialog, setShowRegisterDialog] = useState(false); + const [students, setStudents] = useState([]); + + const getStudents = async () => { + try { + const data = await ApiSingleton.accountApi.accountGetAllStudents(); + setStudents(data); + } catch (error) { + console.error("Error fetching students:", error); + } + }; + + useEffect(() => { + getStudents(); + }, []); + + // Extract just the email part (before the '/') from the input + const getCleanEmail = (input: string) => { + return input.split(' / ')[0].trim(); + }; const inviteStudent = async () => { setIsInviting(true); setErrors([]); try { + const cleanEmail = getCleanEmail(email); await ApiSingleton.coursesApi.coursesInviteStudent({ courseId: courseId, - email: email, + email: cleanEmail, name: "", surname: "", middleName: "" @@ -271,7 +295,8 @@ const InviteStudentDialog: FC = ({courseId, open, onCl !isInviting && onClose()} - maxWidth="xs" + maxWidth="sm" + fullWidth > @@ -296,18 +321,43 @@ const InviteStudentDialog: FC = ({courseId, open, onCl
- setEmail(e.target.value)} - InputProps={{ - autoComplete: "off" + + typeof option === 'string' + ? option + : `${option.email} / ${option.surname} ${option.name} ${option.middleName || ''}` + } + inputValue={email} + onInputChange={(event, newInputValue) => { + setEmail(newInputValue); }} + renderOption={(props, option) => ( +
  • + + + + {option.email} / + + + + + {option.surname} {option.name} {option.middleName || ''} + + + +
  • + )} + renderInput={(params) => ( + + )} />
    @@ -321,11 +371,12 @@ const InviteStudentDialog: FC = ({courseId, open, onCl @@ -346,7 +397,8 @@ const InviteStudentDialog: FC = ({courseId, open, onCl variant="contained" color="primary" onClick={inviteStudent} - disabled={!email || isInviting} + disabled={!getCleanEmail(email) || isInviting} + style={{backgroundColor: '#3f51b5', color: 'white'}} > {isInviting ? 'Отправка...' : 'Пригласить'} @@ -361,7 +413,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl open={showRegisterDialog} onClose={() => setShowRegisterDialog(false)} onStudentRegistered={onStudentInvited} - initialEmail={email} + initialEmail={getCleanEmail(email)} /> ); From 6cfa0b3084b859756e80e8c536b11c39d83af89d Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Tue, 13 May 2025 21:27:46 +0300 Subject: [PATCH 17/44] feat: make register button visible --- .../src/components/Courses/Course.tsx | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index d5023ba43..eb972fee8 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -257,7 +257,6 @@ const InviteStudentDialog: FC = ({courseId, open, onCl getStudents(); }, []); - // Extract just the email part (before the '/') from the input const getCleanEmail = (input: string) => { return input.split(' / ')[0].trim(); }; @@ -290,6 +289,14 @@ const InviteStudentDialog: FC = ({courseId, open, onCl } }; + const hasMatchingStudent = () => { + const cleanEmail = getCleanEmail(email); + return students.some(student => + student.email === cleanEmail || + `${student.surname} ${student.name} ${student.middleName || ''}`.includes(cleanEmail) + ); + }; + return ( <> = ({courseId, open, onCl justifyContent="flex-end" style={{marginTop: '16px'}} > - {errors.length > 0 && errors[0] === 'Студент с такой почтой не найден' && ( - - - - )} + + + @@ -350,7 +364,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl - {option.surname} {option.name} {option.middleName || ''} + {option.surname} ${option.name} ${option.middleName || ''} @@ -376,37 +390,61 @@ const InviteStudentDialog: FC = ({courseId, open, onCl > From 0b4d4af0b5457f2db32e62f46d75954f91ee00ae Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Wed, 14 May 2025 21:38:37 +0300 Subject: [PATCH 19/44] fix: fix students autocomplete --- .../src/components/Courses/Course.tsx | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 33cdc11b9..fa6eec2aa 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -271,18 +271,13 @@ const InviteStudentDialog: FC = ({courseId, open, onCl getStudents(); }, []); - const getCleanEmail = (input: string) => { - return input.split(' / ')[0].trim(); - }; - const inviteStudent = async () => { setIsInviting(true); setErrors([]); try { - const cleanEmail = getCleanEmail(email); await ApiSingleton.coursesApi.coursesInviteStudent({ courseId: courseId, - email: cleanEmail, + email: email, name: "", surname: "", middleName: "" @@ -304,11 +299,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl }; const hasMatchingStudent = () => { - const cleanEmail = getCleanEmail(email); - return students.some(student => - student.email === cleanEmail || - `${student.surname} ${student.name} ${student.middleName || ''}`.includes(cleanEmail) - ); + return students.some(student => student.email === email); }; return ( @@ -344,11 +335,12 @@ const InviteStudentDialog: FC = ({courseId, open, onCl typeof option === 'string' ? option - : `${option.email} / ${option.surname} ${option.name} ${option.middleName || ''}` + : option.email! + ' / ' + option.surname! + ' ' + option.name! } inputValue={email} onInputChange={(event, newInputValue) => { @@ -356,15 +348,22 @@ const InviteStudentDialog: FC = ({courseId, open, onCl }} renderOption={(props, option) => (
  • - + - + {option.email} / - - {option.surname} ${option.name} ${option.middleName || ''} + + {option.name} {option.surname} @@ -377,6 +376,10 @@ const InviteStudentDialog: FC = ({courseId, open, onCl variant="outlined" size="small" fullWidth + InputProps={{ + ...params.InputProps, + type: 'search', + }} /> )} /> @@ -395,14 +398,14 @@ const InviteStudentDialog: FC = ({courseId, open, onCl setShowRegisterDialog(true); onClose(); }} - disabled={hasMatchingStudent() || !getCleanEmail(email)} + disabled={hasMatchingStudent() || !email} style={{ borderRadius: '8px', textTransform: 'none', fontWeight: 'normal', color: '#3f51b5', transition: 'opacity 0.3s ease', - opacity: hasMatchingStudent() || !getCleanEmail(email) ? 0.5 : 1, + opacity: hasMatchingStudent() || !email ? 0.5 : 1, padding: '6px 16px', marginRight: '8px' }} @@ -457,7 +460,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl open={showRegisterDialog} onClose={() => setShowRegisterDialog(false)} onStudentRegistered={onStudentInvited} - initialEmail={getCleanEmail(email)} + initialEmail={email} /> ); From 7e766de645aadb17d3709d55b410e4dfbacd7f5e Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 15 May 2025 02:04:32 +0300 Subject: [PATCH 20/44] feat: remove middle name from autocomplete --- .../src/components/Courses/Course.tsx | 107 +++++++++--------- 1 file changed, 52 insertions(+), 55 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index fa6eec2aa..69c08fb72 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -271,13 +271,18 @@ const InviteStudentDialog: FC = ({courseId, open, onCl getStudents(); }, []); + const getCleanEmail = (input: string) => { + return input.split(' / ')[0].trim(); + }; + const inviteStudent = async () => { setIsInviting(true); setErrors([]); try { + const cleanEmail = getCleanEmail(email); await ApiSingleton.coursesApi.coursesInviteStudent({ courseId: courseId, - email: email, + email: cleanEmail, name: "", surname: "", middleName: "" @@ -299,9 +304,13 @@ const InviteStudentDialog: FC = ({courseId, open, onCl }; const hasMatchingStudent = () => { - return students.some(student => student.email === email); + const cleanEmail = getCleanEmail(email); + return students.some(student => + student.email === cleanEmail || + `${student.surname} ${student.name}`.includes(cleanEmail) + ); }; - + return ( <> = ({courseId, open, onCl - - typeof option === 'string' - ? option - : option.email! + ' / ' + option.surname! + ' ' + option.name! - } - inputValue={email} - onInputChange={(event, newInputValue) => { - setEmail(newInputValue); - }} - renderOption={(props, option) => ( -
  • - - - - {option.email} / - - - - - {option.name} {option.surname} - - + + typeof option === 'string' + ? option + : `${option.email} / ${option.surname} ${option.name}` + } + inputValue={email} + onInputChange={(event, newInputValue) => { + setEmail(newInputValue); + }} + renderOption={(props, option) => ( +
  • + + + + {option.email} / + -
  • - )} - renderInput={(params) => ( - - )} - /> + + + {option.surname} {option.name} + + +
    + + )} + renderInput={(params) => ( + + )} + /> = ({courseId, open, onCl setShowRegisterDialog(true); onClose(); }} - disabled={hasMatchingStudent() || !email} + disabled={hasMatchingStudent() || !getCleanEmail(email)} style={{ borderRadius: '8px', textTransform: 'none', fontWeight: 'normal', color: '#3f51b5', transition: 'opacity 0.3s ease', - opacity: hasMatchingStudent() || !email ? 0.5 : 1, + opacity: hasMatchingStudent() || !getCleanEmail(email) ? 0.5 : 1, padding: '6px 16px', marginRight: '8px' }} @@ -460,7 +457,7 @@ const InviteStudentDialog: FC = ({courseId, open, onCl open={showRegisterDialog} onClose={() => setShowRegisterDialog(false)} onStudentRegistered={onStudentInvited} - initialEmail={email} + initialEmail={getCleanEmail(email)} /> ); From 5ab53e01645931bb9e94ba6d79570f8f61bde68a Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 15 May 2025 02:33:06 +0300 Subject: [PATCH 21/44] feat: add token creating and logging in methods --- .../Controllers/ExpertsController.cs | 17 + .../Controllers/ExpertsController.cs | 22 + .../Services/ExpertsService.cs | 20 + .../Services/IExpertsService.cs | 1 + .../AuthServiceClient.cs | 26 + .../IAuthServiceClient.cs | 2 + hwproj.front/src/api/api.ts | 5958 +++++++++-------- 7 files changed, 3140 insertions(+), 2906 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs index 9d5c39049..aecfb2807 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs @@ -115,5 +115,22 @@ public async Task UpdateTags(UpdateExpertTagsDTO updateExpertTags var result = await AuthServiceClient.UpdateExpertTags(UserId, updateExpertTagsDto); return Ok(result); } + + [HttpGet("getStudentToken")] + [Authorize(Roles = Roles.LecturerRole)] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task GetStudentToken(string expertEmail) + { + var tokenMeta = await AuthServiceClient.GetStudentToken(expertEmail); + return Ok(tokenMeta); + } + + [HttpPost("loginWithToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task LoginWithToken([FromBody] TokenCredentials credentials) + { + var result = await AuthServiceClient.LoginWithToken(credentials); + return Ok(result); + } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs index 80cef9d83..1d3fe6197 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs @@ -84,5 +84,27 @@ public async Task UpdateTags(string lecturerId, [FromBody] Update return Ok(experts); } + + [HttpGet("getStudentToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task GetStudentToken(string email) + { + var user = await _userManager.FindByEmailAsync(email); + if (user == null) + { + return Ok(Result.Failed("User not found")); + } + + var token = await _tokenService.GetTokenAsync(user); + return Ok(Result.Success(token)); + } + + [HttpPost("loginWithToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task LoginWithToken([FromBody] TokenCredentials credentials) + { + var result = await _expertsService.LoginWithTokenAsync(credentials); + return Ok(result); + } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs index b17d402e0..0fe270c63 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs @@ -176,5 +176,25 @@ public async Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDT return Result.Success(); } + + public async Task LoginWithTokenAsync(TokenCredentials tokenCredentials) + { + var tokenClaims = _tokenService.GetTokenClaims(tokenCredentials); + + if (string.IsNullOrEmpty(tokenClaims.Email)) + { + return Result.Failed("Невалидный токен: email не найден"); + } + + var user = await _userManager.FindByEmailAsync(tokenClaims.Email); + + if (user == null || user.Id != tokenClaims.Id) + { + return Result.Failed("Невалидный токен: пользователь не найден"); + } + + await _signInManager.SignInAsync(user, isPersistent: false); + return Result.Success(); + } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs index cafdd094a..3f70ecd83 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs @@ -13,5 +13,6 @@ public interface IExpertsService Task LoginExpertAsync(TokenCredentials tokenCredentials); Task GetAllExperts(); Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDTO updateExpertTagsDto); + Task LoginWithTokenAsync(TokenCredentials tokenCredentials); } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs index 24652becb..eb782b373 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs @@ -353,5 +353,31 @@ public async Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDT var response = await _httpClient.SendAsync(httpRequest); return await response.DeserializeAsync(); } + + public async Task> GetStudentToken(string email) + { + using var httpRequest = new HttpRequestMessage( + HttpMethod.Get, + _authServiceUri + $"api/Experts/getStudentToken?email={email}"); + + var response = await _httpClient.SendAsync(httpRequest); + return await response.DeserializeAsync>(); + } + + public async Task LoginWithToken(TokenCredentials credentials) + { + using var httpRequest = new HttpRequestMessage( + HttpMethod.Post, + _authServiceUri + "api/Experts/loginWithToken") + { + Content = new StringContent( + JsonConvert.SerializeObject(credentials), + Encoding.UTF8, + "application/json") + }; + + var response = await _httpClient.SendAsync(httpRequest); + return await response.DeserializeAsync(); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs index 67c020ca6..f0be5304a 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs @@ -32,5 +32,7 @@ public interface IAuthServiceClient Task GetAllExperts(); Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDTO updateExpertTagsDto); Task[]> GetOrRegisterStudentsBatchAsync(IEnumerable registrationModels); + Task> GetStudentToken(string email); + Task LoginWithToken(TokenCredentials credentials); } } diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index d86ca659c..d5b0dd8bc 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -1,18 +1,18 @@ /// // tslint:disable /** - * API Gateway - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + *API Gateway + *No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1 - * + *OpenAPI spec version: v1 * - * NOTE: This file is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the file manually. + * + *NOTE: This file is auto generated by the swagger code generator program. + *https://github.com/swagger-api/swagger-codegen.git + *Do not edit the file manually. */ -import * as url from "url"; +import *as url from "url"; import isomorphicFetch from "isomorphic-fetch"; import { Configuration } from "./configuration"; @@ -20,7 +20,7 @@ const BASE_PATH = "/".replace(/\/+$/, ""); /** * - * @export + *@export */ export const COLLECTION_FORMATS = { csv: ",", @@ -31,8 +31,8 @@ export const COLLECTION_FORMATS = { /** * - * @export - * @interface FetchAPI + *@export + *@interface FetchAPI */ export interface FetchAPI { (url: string, init?: any): Promise; @@ -40,8 +40,8 @@ export interface FetchAPI { /** * - * @export - * @interface FetchArgs + *@export + *@interface FetchArgs */ export interface FetchArgs { url: string; @@ -50,8 +50,8 @@ export interface FetchArgs { /** * - * @export - * @class BaseAPI + *@export + *@class BaseAPI */ export class BaseAPI { protected configuration: Configuration | undefined; @@ -66,9 +66,9 @@ export class BaseAPI { /** * - * @export - * @class RequiredError - * @extends {Error} + *@export + *@class RequiredError + *@extends {Error} */ export class RequiredError extends Error { name = "RequiredError" @@ -78,220 +78,220 @@ export class RequiredError extends Error { } /** - * - * @export - * @interface AccountDataDto + * + *@export + *@interface AccountDataDto */ export interface AccountDataDto { /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ userId?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ name?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ surname?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ middleName?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ email?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ role?: string; /** - * - * @type {boolean} - * @memberof AccountDataDto + * + *@type {boolean} + *@memberof AccountDataDto */ isExternalAuth?: boolean; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ githubId?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ bio?: string; /** - * - * @type {string} - * @memberof AccountDataDto + * + *@type {string} + *@memberof AccountDataDto */ companyName?: string; } /** - * - * @export - * @interface ActionOptions + * + *@export + *@interface ActionOptions */ export interface ActionOptions { /** - * - * @type {boolean} - * @memberof ActionOptions + * + *@type {boolean} + *@memberof ActionOptions */ sendNotification?: boolean; } /** - * - * @export - * @interface AddAnswerForQuestionDto + * + *@export + *@interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - * - * @type {number} - * @memberof AddAnswerForQuestionDto + * + *@type {number} + *@memberof AddAnswerForQuestionDto */ questionId?: number; /** - * - * @type {string} - * @memberof AddAnswerForQuestionDto + * + *@type {string} + *@memberof AddAnswerForQuestionDto */ answer?: string; } /** - * - * @export - * @interface AddTaskQuestionDto + * + *@export + *@interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - * - * @type {number} - * @memberof AddTaskQuestionDto + * + *@type {number} + *@memberof AddTaskQuestionDto */ taskId?: number; /** - * - * @type {string} - * @memberof AddTaskQuestionDto + * + *@type {string} + *@memberof AddTaskQuestionDto */ text?: string; /** - * - * @type {boolean} - * @memberof AddTaskQuestionDto + * + *@type {boolean} + *@memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - * - * @export - * @interface AdvancedCourseStatisticsViewModel + * + *@export + *@interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - * - * @type {CoursePreview} - * @memberof AdvancedCourseStatisticsViewModel + * + *@type {CoursePreview} + *@memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - * - * @type {Array} - * @memberof AdvancedCourseStatisticsViewModel + * + *@type {Array} + *@memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - * - * @type {Array} - * @memberof AdvancedCourseStatisticsViewModel + * + *@type {Array} + *@memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - * - * @type {Array} - * @memberof AdvancedCourseStatisticsViewModel + * + *@type {Array} + *@memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - * - * @type {Array} - * @memberof AdvancedCourseStatisticsViewModel + * + *@type {Array} + *@memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - * - * @export - * @interface BooleanResult + * + *@export + *@interface BooleanResult */ export interface BooleanResult { /** - * - * @type {boolean} - * @memberof BooleanResult + * + *@type {boolean} + *@memberof BooleanResult */ value?: boolean; /** - * - * @type {boolean} - * @memberof BooleanResult + * + *@type {boolean} + *@memberof BooleanResult */ succeeded?: boolean; /** - * - * @type {Array} - * @memberof BooleanResult + * + *@type {Array} + *@memberof BooleanResult */ errors?: Array; } /** - * - * @export - * @interface CategorizedNotifications + * + *@export + *@interface CategorizedNotifications */ export interface CategorizedNotifications { /** - * - * @type {CategoryState} - * @memberof CategorizedNotifications + * + *@type {CategoryState} + *@memberof CategorizedNotifications */ category?: CategoryState; /** - * - * @type {Array} - * @memberof CategorizedNotifications + * + *@type {Array} + *@memberof CategorizedNotifications */ seenNotifications?: Array; /** - * - * @type {Array} - * @memberof CategorizedNotifications + * + *@type {Array} + *@memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - * - * @export - * @enum {string} + * + *@export + *@enum {string} */ export enum CategoryState { NUMBER_0 = 0, @@ -300,1632 +300,1632 @@ export enum CategoryState { NUMBER_3 = 3 } /** - * - * @export - * @interface CourseEvents + * + *@export + *@interface CourseEvents */ export interface CourseEvents { /** - * - * @type {number} - * @memberof CourseEvents + * + *@type {number} + *@memberof CourseEvents */ id?: number; /** - * - * @type {string} - * @memberof CourseEvents + * + *@type {string} + *@memberof CourseEvents */ name?: string; /** - * - * @type {string} - * @memberof CourseEvents + * + *@type {string} + *@memberof CourseEvents */ groupName?: string; /** - * - * @type {boolean} - * @memberof CourseEvents + * + *@type {boolean} + *@memberof CourseEvents */ isCompleted?: boolean; /** - * - * @type {number} - * @memberof CourseEvents + * + *@type {number} + *@memberof CourseEvents */ newStudentsCount?: number; } /** - * - * @export - * @interface CoursePreview + * + *@export + *@interface CoursePreview */ export interface CoursePreview { /** - * - * @type {number} - * @memberof CoursePreview + * + *@type {number} + *@memberof CoursePreview */ id?: number; /** - * - * @type {string} - * @memberof CoursePreview + * + *@type {string} + *@memberof CoursePreview */ name?: string; /** - * - * @type {string} - * @memberof CoursePreview + * + *@type {string} + *@memberof CoursePreview */ groupName?: string; /** - * - * @type {boolean} - * @memberof CoursePreview + * + *@type {boolean} + *@memberof CoursePreview */ isCompleted?: boolean; /** - * - * @type {Array} - * @memberof CoursePreview + * + *@type {Array} + *@memberof CoursePreview */ mentorIds?: Array; /** - * - * @type {number} - * @memberof CoursePreview + * + *@type {number} + *@memberof CoursePreview */ taskId?: number; } /** - * - * @export - * @interface CoursePreviewView + * + *@export + *@interface CoursePreviewView */ export interface CoursePreviewView { /** - * - * @type {number} - * @memberof CoursePreviewView + * + *@type {number} + *@memberof CoursePreviewView */ id?: number; /** - * - * @type {string} - * @memberof CoursePreviewView + * + *@type {string} + *@memberof CoursePreviewView */ name?: string; /** - * - * @type {string} - * @memberof CoursePreviewView + * + *@type {string} + *@memberof CoursePreviewView */ groupName?: string; /** - * - * @type {boolean} - * @memberof CoursePreviewView + * + *@type {boolean} + *@memberof CoursePreviewView */ isCompleted?: boolean; /** - * - * @type {Array} - * @memberof CoursePreviewView + * + *@type {Array} + *@memberof CoursePreviewView */ mentors?: Array; /** - * - * @type {number} - * @memberof CoursePreviewView + * + *@type {number} + *@memberof CoursePreviewView */ taskId?: number; } /** - * - * @export - * @interface CourseViewModel + * + *@export + *@interface CourseViewModel */ export interface CourseViewModel { /** - * - * @type {number} - * @memberof CourseViewModel + * + *@type {number} + *@memberof CourseViewModel */ id?: number; /** - * - * @type {string} - * @memberof CourseViewModel + * + *@type {string} + *@memberof CourseViewModel */ name?: string; /** - * - * @type {string} - * @memberof CourseViewModel + * + *@type {string} + *@memberof CourseViewModel */ groupName?: string; /** - * - * @type {boolean} - * @memberof CourseViewModel + * + *@type {boolean} + *@memberof CourseViewModel */ isOpen?: boolean; /** - * - * @type {boolean} - * @memberof CourseViewModel + * + *@type {boolean} + *@memberof CourseViewModel */ isCompleted?: boolean; /** - * - * @type {Array} - * @memberof CourseViewModel + * + *@type {Array} + *@memberof CourseViewModel */ mentors?: Array; /** - * - * @type {Array} - * @memberof CourseViewModel + * + *@type {Array} + *@memberof CourseViewModel */ acceptedStudents?: Array; /** - * - * @type {Array} - * @memberof CourseViewModel + * + *@type {Array} + *@memberof CourseViewModel */ newStudents?: Array; /** - * - * @type {Array} - * @memberof CourseViewModel + * + *@type {Array} + *@memberof CourseViewModel */ homeworks?: Array; } /** - * - * @export - * @interface CreateCourseViewModel + * + *@export + *@interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - * - * @type {string} - * @memberof CreateCourseViewModel + * + *@type {string} + *@memberof CreateCourseViewModel */ name: string; /** - * - * @type {Array} - * @memberof CreateCourseViewModel + * + *@type {Array} + *@memberof CreateCourseViewModel */ groupNames?: Array; /** - * - * @type {Array} - * @memberof CreateCourseViewModel + * + *@type {Array} + *@memberof CreateCourseViewModel */ studentIDs?: Array; /** - * - * @type {boolean} - * @memberof CreateCourseViewModel + * + *@type {boolean} + *@memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - * - * @type {boolean} - * @memberof CreateCourseViewModel + * + *@type {boolean} + *@memberof CreateCourseViewModel */ isOpen: boolean; /** - * - * @type {number} - * @memberof CreateCourseViewModel + * + *@type {number} + *@memberof CreateCourseViewModel */ baseCourseId?: number; } /** - * - * @export - * @interface CreateGroupViewModel + * + *@export + *@interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - * - * @type {string} - * @memberof CreateGroupViewModel + * + *@type {string} + *@memberof CreateGroupViewModel */ name?: string; /** - * - * @type {Array} - * @memberof CreateGroupViewModel + * + *@type {Array} + *@memberof CreateGroupViewModel */ groupMatesIds: Array; /** - * - * @type {number} - * @memberof CreateGroupViewModel + * + *@type {number} + *@memberof CreateGroupViewModel */ courseId: number; } /** - * - * @export - * @interface CreateHomeworkViewModel + * + *@export + *@interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - * - * @type {string} - * @memberof CreateHomeworkViewModel + * + *@type {string} + *@memberof CreateHomeworkViewModel */ title: string; /** - * - * @type {string} - * @memberof CreateHomeworkViewModel + * + *@type {string} + *@memberof CreateHomeworkViewModel */ description?: string; /** - * - * @type {boolean} - * @memberof CreateHomeworkViewModel + * + *@type {boolean} + *@memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - * - * @type {Date} - * @memberof CreateHomeworkViewModel + * + *@type {Date} + *@memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - * - * @type {boolean} - * @memberof CreateHomeworkViewModel + * + *@type {boolean} + *@memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - * - * @type {Date} - * @memberof CreateHomeworkViewModel + * + *@type {Date} + *@memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - * - * @type {boolean} - * @memberof CreateHomeworkViewModel + * + *@type {boolean} + *@memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - * - * @type {Array} - * @memberof CreateHomeworkViewModel + * + *@type {Array} + *@memberof CreateHomeworkViewModel */ tags?: Array; /** - * - * @type {Array} - * @memberof CreateHomeworkViewModel + * + *@type {Array} + *@memberof CreateHomeworkViewModel */ tasks?: Array; /** - * - * @type {ActionOptions} - * @memberof CreateHomeworkViewModel + * + *@type {ActionOptions} + *@memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - * - * @export - * @interface CreateTaskViewModel + * + *@export + *@interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - * - * @type {string} - * @memberof CreateTaskViewModel + * + *@type {string} + *@memberof CreateTaskViewModel */ title: string; /** - * - * @type {string} - * @memberof CreateTaskViewModel + * + *@type {string} + *@memberof CreateTaskViewModel */ description?: string; /** - * - * @type {boolean} - * @memberof CreateTaskViewModel + * + *@type {boolean} + *@memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - * - * @type {Date} - * @memberof CreateTaskViewModel + * + *@type {Date} + *@memberof CreateTaskViewModel */ deadlineDate?: Date; /** - * - * @type {boolean} - * @memberof CreateTaskViewModel + * + *@type {boolean} + *@memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - * - * @type {Date} - * @memberof CreateTaskViewModel + * + *@type {Date} + *@memberof CreateTaskViewModel */ publicationDate?: Date; /** - * - * @type {number} - * @memberof CreateTaskViewModel + * + *@type {number} + *@memberof CreateTaskViewModel */ maxRating: number; /** - * - * @type {ActionOptions} - * @memberof CreateTaskViewModel + * + *@type {ActionOptions} + *@memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - * - * @export - * @interface EditAccountViewModel + * + *@export + *@interface EditAccountViewModel */ export interface EditAccountViewModel { /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ name: string; /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ surname: string; /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ middleName?: string; /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ email?: string; /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ bio?: string; /** - * - * @type {string} - * @memberof EditAccountViewModel + * + *@type {string} + *@memberof EditAccountViewModel */ companyName?: string; } /** - * - * @export - * @interface EditMentorWorkspaceDTO + * + *@export + *@interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - * - * @type {Array} - * @memberof EditMentorWorkspaceDTO + * + *@type {Array} + *@memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - * - * @type {Array} - * @memberof EditMentorWorkspaceDTO + * + *@type {Array} + *@memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - * - * @export - * @interface ExpertDataDTO + * + *@export + *@interface ExpertDataDTO */ export interface ExpertDataDTO { /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ id?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ name?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ surname?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ middleName?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ email?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ bio?: string; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ companyName?: string; /** - * - * @type {Array} - * @memberof ExpertDataDTO + * + *@type {Array} + *@memberof ExpertDataDTO */ tags?: Array; /** - * - * @type {string} - * @memberof ExpertDataDTO + * + *@type {string} + *@memberof ExpertDataDTO */ lecturerId?: string; } /** - * - * @export - * @interface FileInfoDTO + * + *@export + *@interface FileInfoDTO */ export interface FileInfoDTO { /** - * - * @type {string} - * @memberof FileInfoDTO + * + *@type {string} + *@memberof FileInfoDTO */ name?: string; /** - * - * @type {number} - * @memberof FileInfoDTO + * + *@type {number} + *@memberof FileInfoDTO */ size?: number; /** - * - * @type {string} - * @memberof FileInfoDTO + * + *@type {string} + *@memberof FileInfoDTO */ key?: string; /** - * - * @type {number} - * @memberof FileInfoDTO + * + *@type {number} + *@memberof FileInfoDTO */ homeworkId?: number; } /** - * - * @export - * @interface FilesUploadBody + * + *@export + *@interface FilesUploadBody */ export interface FilesUploadBody { /** - * - * @type {number} - * @memberof FilesUploadBody + * + *@type {number} + *@memberof FilesUploadBody */ courseId?: number; /** - * - * @type {number} - * @memberof FilesUploadBody + * + *@type {number} + *@memberof FilesUploadBody */ homeworkId?: number; /** - * - * @type {Blob} - * @memberof FilesUploadBody + * + *@type {Blob} + *@memberof FilesUploadBody */ file: Blob; } /** - * - * @export - * @interface GetSolutionModel + * + *@export + *@interface GetSolutionModel */ export interface GetSolutionModel { /** - * - * @type {Date} - * @memberof GetSolutionModel + * + *@type {Date} + *@memberof GetSolutionModel */ ratingDate?: Date; /** - * - * @type {number} - * @memberof GetSolutionModel + * + *@type {number} + *@memberof GetSolutionModel */ id?: number; /** - * - * @type {string} - * @memberof GetSolutionModel + * + *@type {string} + *@memberof GetSolutionModel */ githubUrl?: string; /** - * - * @type {string} - * @memberof GetSolutionModel + * + *@type {string} + *@memberof GetSolutionModel */ comment?: string; /** - * - * @type {SolutionState} - * @memberof GetSolutionModel + * + *@type {SolutionState} + *@memberof GetSolutionModel */ state?: SolutionState; /** - * - * @type {number} - * @memberof GetSolutionModel + * + *@type {number} + *@memberof GetSolutionModel */ rating?: number; /** - * - * @type {string} - * @memberof GetSolutionModel + * + *@type {string} + *@memberof GetSolutionModel */ studentId?: string; /** - * - * @type {number} - * @memberof GetSolutionModel + * + *@type {number} + *@memberof GetSolutionModel */ taskId?: number; /** - * - * @type {Date} - * @memberof GetSolutionModel + * + *@type {Date} + *@memberof GetSolutionModel */ publicationDate?: Date; /** - * - * @type {string} - * @memberof GetSolutionModel + * + *@type {string} + *@memberof GetSolutionModel */ lecturerComment?: string; /** - * - * @type {Array} - * @memberof GetSolutionModel + * + *@type {Array} + *@memberof GetSolutionModel */ groupMates?: Array; /** - * - * @type {AccountDataDto} - * @memberof GetSolutionModel + * + *@type {AccountDataDto} + *@memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - * - * @export - * @interface GetTaskQuestionDto + * + *@export + *@interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - * - * @type {number} - * @memberof GetTaskQuestionDto + * + *@type {number} + *@memberof GetTaskQuestionDto */ id?: number; /** - * - * @type {string} - * @memberof GetTaskQuestionDto + * + *@type {string} + *@memberof GetTaskQuestionDto */ studentId?: string; /** - * - * @type {string} - * @memberof GetTaskQuestionDto + * + *@type {string} + *@memberof GetTaskQuestionDto */ text?: string; /** - * - * @type {boolean} - * @memberof GetTaskQuestionDto + * + *@type {boolean} + *@memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - * - * @type {string} - * @memberof GetTaskQuestionDto + * + *@type {string} + *@memberof GetTaskQuestionDto */ answer?: string; /** - * - * @type {string} - * @memberof GetTaskQuestionDto + * + *@type {string} + *@memberof GetTaskQuestionDto */ lecturerId?: string; } /** - * - * @export - * @interface GithubCredentials + * + *@export + *@interface GithubCredentials */ export interface GithubCredentials { /** - * - * @type {string} - * @memberof GithubCredentials + * + *@type {string} + *@memberof GithubCredentials */ githubId?: string; } /** - * - * @export - * @interface GroupMateViewModel + * + *@export + *@interface GroupMateViewModel */ export interface GroupMateViewModel { /** - * - * @type {string} - * @memberof GroupMateViewModel + * + *@type {string} + *@memberof GroupMateViewModel */ studentId?: string; } /** - * - * @export - * @interface GroupModel + * + *@export + *@interface GroupModel */ export interface GroupModel { /** - * - * @type {string} - * @memberof GroupModel + * + *@type {string} + *@memberof GroupModel */ groupName?: string; } /** - * - * @export - * @interface GroupViewModel + * + *@export + *@interface GroupViewModel */ export interface GroupViewModel { /** - * - * @type {number} - * @memberof GroupViewModel + * + *@type {number} + *@memberof GroupViewModel */ id?: number; /** - * - * @type {Array} - * @memberof GroupViewModel + * + *@type {Array} + *@memberof GroupViewModel */ studentsIds?: Array; } /** - * - * @export - * @interface HomeworkSolutionsStats + * + *@export + *@interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - * - * @type {string} - * @memberof HomeworkSolutionsStats + * + *@type {string} + *@memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - * - * @type {Array} - * @memberof HomeworkSolutionsStats + * + *@type {Array} + *@memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - * - * @export - * @interface HomeworkTaskForEditingViewModel + * + *@export + *@interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - * - * @type {HomeworkTaskViewModel} - * @memberof HomeworkTaskForEditingViewModel + * + *@type {HomeworkTaskViewModel} + *@memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - * - * @type {HomeworkViewModel} - * @memberof HomeworkTaskForEditingViewModel + * + *@type {HomeworkViewModel} + *@memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - * - * @export - * @interface HomeworkTaskViewModel + * + *@export + *@interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - * - * @type {number} - * @memberof HomeworkTaskViewModel + * + *@type {number} + *@memberof HomeworkTaskViewModel */ id?: number; /** - * - * @type {string} - * @memberof HomeworkTaskViewModel + * + *@type {string} + *@memberof HomeworkTaskViewModel */ title?: string; /** - * - * @type {Array} - * @memberof HomeworkTaskViewModel + * + *@type {Array} + *@memberof HomeworkTaskViewModel */ tags?: Array; /** - * - * @type {string} - * @memberof HomeworkTaskViewModel + * + *@type {string} + *@memberof HomeworkTaskViewModel */ description?: string; /** - * - * @type {number} - * @memberof HomeworkTaskViewModel + * + *@type {number} + *@memberof HomeworkTaskViewModel */ maxRating?: number; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - * - * @type {Date} - * @memberof HomeworkTaskViewModel + * + *@type {Date} + *@memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - * - * @type {Date} - * @memberof HomeworkTaskViewModel + * + *@type {Date} + *@memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - * - * @type {number} - * @memberof HomeworkTaskViewModel + * + *@type {number} + *@memberof HomeworkTaskViewModel */ homeworkId?: number; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModel + * + *@type {boolean} + *@memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - * - * @export - * @interface HomeworkTaskViewModelResult + * + *@export + *@interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - * - * @type {HomeworkTaskViewModel} - * @memberof HomeworkTaskViewModelResult + * + *@type {HomeworkTaskViewModel} + *@memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - * - * @type {boolean} - * @memberof HomeworkTaskViewModelResult + * + *@type {boolean} + *@memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - * - * @type {Array} - * @memberof HomeworkTaskViewModelResult + * + *@type {Array} + *@memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - * - * @export - * @interface HomeworkUserTaskSolutions + * + *@export + *@interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - * - * @type {string} - * @memberof HomeworkUserTaskSolutions + * + *@type {string} + *@memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - * - * @type {Array} - * @memberof HomeworkUserTaskSolutions + * + *@type {Array} + *@memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - * - * @export - * @interface HomeworkViewModel + * + *@export + *@interface HomeworkViewModel */ export interface HomeworkViewModel { /** - * - * @type {number} - * @memberof HomeworkViewModel + * + *@type {number} + *@memberof HomeworkViewModel */ id?: number; /** - * - * @type {string} - * @memberof HomeworkViewModel + * + *@type {string} + *@memberof HomeworkViewModel */ title?: string; /** - * - * @type {string} - * @memberof HomeworkViewModel + * + *@type {string} + *@memberof HomeworkViewModel */ description?: string; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ hasDeadline?: boolean; /** - * - * @type {Date} - * @memberof HomeworkViewModel + * + *@type {Date} + *@memberof HomeworkViewModel */ deadlineDate?: Date; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - * - * @type {Date} - * @memberof HomeworkViewModel + * + *@type {Date} + *@memberof HomeworkViewModel */ publicationDate?: Date; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - * - * @type {number} - * @memberof HomeworkViewModel + * + *@type {number} + *@memberof HomeworkViewModel */ courseId?: number; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ isDeferred?: boolean; /** - * - * @type {boolean} - * @memberof HomeworkViewModel + * + *@type {boolean} + *@memberof HomeworkViewModel */ isGroupWork?: boolean; /** - * - * @type {Array} - * @memberof HomeworkViewModel + * + *@type {Array} + *@memberof HomeworkViewModel */ tags?: Array; /** - * - * @type {Array} - * @memberof HomeworkViewModel + * + *@type {Array} + *@memberof HomeworkViewModel */ tasks?: Array; } /** - * - * @export - * @interface HomeworkViewModelResult + * + *@export + *@interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - * - * @type {HomeworkViewModel} - * @memberof HomeworkViewModelResult + * + *@type {HomeworkViewModel} + *@memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - * - * @type {boolean} - * @memberof HomeworkViewModelResult + * + *@type {boolean} + *@memberof HomeworkViewModelResult */ succeeded?: boolean; /** - * - * @type {Array} - * @memberof HomeworkViewModelResult + * + *@type {Array} + *@memberof HomeworkViewModelResult */ errors?: Array; } /** - * - * @export - * @interface HomeworksGroupSolutionStats + * + *@export + *@interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - * - * @type {string} - * @memberof HomeworksGroupSolutionStats + * + *@type {string} + *@memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - * - * @type {Array} - * @memberof HomeworksGroupSolutionStats + * + *@type {Array} + *@memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - * - * @export - * @interface HomeworksGroupUserTaskSolutions + * + *@export + *@interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - * - * @type {string} - * @memberof HomeworksGroupUserTaskSolutions + * + *@type {string} + *@memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - * - * @type {Array} - * @memberof HomeworksGroupUserTaskSolutions + * + *@type {Array} + *@memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - * - * @export - * @interface InviteExpertViewModel + * + *@export + *@interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - * - * @type {string} - * @memberof InviteExpertViewModel + * + *@type {string} + *@memberof InviteExpertViewModel */ userId?: string; /** - * - * @type {string} - * @memberof InviteExpertViewModel + * + *@type {string} + *@memberof InviteExpertViewModel */ userEmail?: string; /** - * - * @type {number} - * @memberof InviteExpertViewModel + * + *@type {number} + *@memberof InviteExpertViewModel */ courseId?: number; /** - * - * @type {Array} - * @memberof InviteExpertViewModel + * + *@type {Array} + *@memberof InviteExpertViewModel */ studentIds?: Array; /** - * - * @type {Array} - * @memberof InviteExpertViewModel + * + *@type {Array} + *@memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - * - * @export - * @interface InviteLecturerViewModel + * + *@export + *@interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - * - * @type {string} - * @memberof InviteLecturerViewModel + * + *@type {string} + *@memberof InviteLecturerViewModel */ email: string; } /** - * - * @export - * @interface InviteStudentViewModel + * + *@export + *@interface InviteStudentViewModel */ export interface InviteStudentViewModel { /** - * - * @type {number} - * @memberof InviteStudentViewModel + * + *@type {number} + *@memberof InviteStudentViewModel */ courseId?: number; /** - * - * @type {string} - * @memberof InviteStudentViewModel + * + *@type {string} + *@memberof InviteStudentViewModel */ email?: string; /** - * - * @type {string} - * @memberof InviteStudentViewModel + * + *@type {string} + *@memberof InviteStudentViewModel */ name?: string; /** - * - * @type {string} - * @memberof InviteStudentViewModel + * + *@type {string} + *@memberof InviteStudentViewModel */ surname?: string; /** - * - * @type {string} - * @memberof InviteStudentViewModel + * + *@type {string} + *@memberof InviteStudentViewModel */ middleName?: string; } /** - * - * @export - * @interface LoginViewModel + * + *@export + *@interface LoginViewModel */ export interface LoginViewModel { /** - * - * @type {string} - * @memberof LoginViewModel + * + *@type {string} + *@memberof LoginViewModel */ email: string; /** - * - * @type {string} - * @memberof LoginViewModel + * + *@type {string} + *@memberof LoginViewModel */ password: string; /** - * - * @type {boolean} - * @memberof LoginViewModel + * + *@type {boolean} + *@memberof LoginViewModel */ rememberMe: boolean; } /** - * - * @export - * @interface NotificationViewModel + * + *@export + *@interface NotificationViewModel */ export interface NotificationViewModel { /** - * - * @type {number} - * @memberof NotificationViewModel + * + *@type {number} + *@memberof NotificationViewModel */ id?: number; /** - * - * @type {string} - * @memberof NotificationViewModel + * + *@type {string} + *@memberof NotificationViewModel */ sender?: string; /** - * - * @type {string} - * @memberof NotificationViewModel + * + *@type {string} + *@memberof NotificationViewModel */ owner?: string; /** - * - * @type {CategoryState} - * @memberof NotificationViewModel + * + *@type {CategoryState} + *@memberof NotificationViewModel */ category?: CategoryState; /** - * - * @type {string} - * @memberof NotificationViewModel + * + *@type {string} + *@memberof NotificationViewModel */ body?: string; /** - * - * @type {boolean} - * @memberof NotificationViewModel + * + *@type {boolean} + *@memberof NotificationViewModel */ hasSeen?: boolean; /** - * - * @type {Date} - * @memberof NotificationViewModel + * + *@type {Date} + *@memberof NotificationViewModel */ date?: Date; } /** - * - * @export - * @interface NotificationsSettingDto + * + *@export + *@interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - * - * @type {string} - * @memberof NotificationsSettingDto + * + *@type {string} + *@memberof NotificationsSettingDto */ category?: string; /** - * - * @type {boolean} - * @memberof NotificationsSettingDto + * + *@type {boolean} + *@memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - * - * @export - * @interface ProgramModel + * + *@export + *@interface ProgramModel */ export interface ProgramModel { /** - * - * @type {string} - * @memberof ProgramModel + * + *@type {string} + *@memberof ProgramModel */ programName?: string; } /** - * - * @export - * @interface RateSolutionModel + * + *@export + *@interface RateSolutionModel */ export interface RateSolutionModel { /** - * - * @type {number} - * @memberof RateSolutionModel + * + *@type {number} + *@memberof RateSolutionModel */ rating?: number; /** - * - * @type {string} - * @memberof RateSolutionModel + * + *@type {string} + *@memberof RateSolutionModel */ lecturerComment?: string; } /** - * - * @export - * @interface RegisterExpertViewModel + * + *@export + *@interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ name: string; /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ surname: string; /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ middleName?: string; /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ email: string; /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ bio?: string; /** - * - * @type {string} - * @memberof RegisterExpertViewModel + * + *@type {string} + *@memberof RegisterExpertViewModel */ companyName?: string; /** - * - * @type {Array} - * @memberof RegisterExpertViewModel + * + *@type {Array} + *@memberof RegisterExpertViewModel */ tags?: Array; } /** - * - * @export - * @interface RegisterViewModel + * + *@export + *@interface RegisterViewModel */ export interface RegisterViewModel { /** - * - * @type {string} - * @memberof RegisterViewModel + * + *@type {string} + *@memberof RegisterViewModel */ name: string; /** - * - * @type {string} - * @memberof RegisterViewModel + * + *@type {string} + *@memberof RegisterViewModel */ surname: string; /** - * - * @type {string} - * @memberof RegisterViewModel + * + *@type {string} + *@memberof RegisterViewModel */ middleName?: string; /** - * - * @type {string} - * @memberof RegisterViewModel + * + *@type {string} + *@memberof RegisterViewModel */ email: string; } /** - * - * @export - * @interface RequestPasswordRecoveryViewModel + * + *@export + *@interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - * - * @type {string} - * @memberof RequestPasswordRecoveryViewModel + * + *@type {string} + *@memberof RequestPasswordRecoveryViewModel */ email: string; } /** - * - * @export - * @interface ResetPasswordViewModel + * + *@export + *@interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - * - * @type {string} - * @memberof ResetPasswordViewModel + * + *@type {string} + *@memberof ResetPasswordViewModel */ userId: string; /** - * - * @type {string} - * @memberof ResetPasswordViewModel + * + *@type {string} + *@memberof ResetPasswordViewModel */ token: string; /** - * - * @type {string} - * @memberof ResetPasswordViewModel + * + *@type {string} + *@memberof ResetPasswordViewModel */ password: string; /** - * - * @type {string} - * @memberof ResetPasswordViewModel + * + *@type {string} + *@memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - * - * @export - * @interface Result + * + *@export + *@interface Result */ export interface Result { /** - * - * @type {boolean} - * @memberof Result + * + *@type {boolean} + *@memberof Result */ succeeded?: boolean; /** - * - * @type {Array} - * @memberof Result + * + *@type {Array} + *@memberof Result */ errors?: Array; } /** - * - * @export - * @interface Solution + * + *@export + *@interface Solution */ export interface Solution { /** - * - * @type {number} - * @memberof Solution + * + *@type {number} + *@memberof Solution */ id?: number; /** - * - * @type {string} - * @memberof Solution + * + *@type {string} + *@memberof Solution */ githubUrl?: string; /** - * - * @type {string} - * @memberof Solution + * + *@type {string} + *@memberof Solution */ comment?: string; /** - * - * @type {SolutionState} - * @memberof Solution + * + *@type {SolutionState} + *@memberof Solution */ state?: SolutionState; /** - * - * @type {number} - * @memberof Solution + * + *@type {number} + *@memberof Solution */ rating?: number; /** - * - * @type {string} - * @memberof Solution + * + *@type {string} + *@memberof Solution */ studentId?: string; /** - * - * @type {string} - * @memberof Solution + * + *@type {string} + *@memberof Solution */ lecturerId?: string; /** - * - * @type {number} - * @memberof Solution + * + *@type {number} + *@memberof Solution */ groupId?: number; /** - * - * @type {number} - * @memberof Solution + * + *@type {number} + *@memberof Solution */ taskId?: number; /** - * - * @type {Date} - * @memberof Solution + * + *@type {Date} + *@memberof Solution */ publicationDate?: Date; /** - * - * @type {Date} - * @memberof Solution + * + *@type {Date} + *@memberof Solution */ ratingDate?: Date; /** - * - * @type {string} - * @memberof Solution + * + *@type {string} + *@memberof Solution */ lecturerComment?: string; } /** - * - * @export - * @interface SolutionActualityDto + * + *@export + *@interface SolutionActualityDto */ export interface SolutionActualityDto { /** - * - * @type {SolutionActualityPart} - * @memberof SolutionActualityDto + * + *@type {SolutionActualityPart} + *@memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - * - * @type {SolutionActualityPart} - * @memberof SolutionActualityDto + * + *@type {SolutionActualityPart} + *@memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - * - * @export - * @interface SolutionActualityPart + * + *@export + *@interface SolutionActualityPart */ export interface SolutionActualityPart { /** - * - * @type {boolean} - * @memberof SolutionActualityPart + * + *@type {boolean} + *@memberof SolutionActualityPart */ isActual?: boolean; /** - * - * @type {string} - * @memberof SolutionActualityPart + * + *@type {string} + *@memberof SolutionActualityPart */ comment?: string; /** - * - * @type {string} - * @memberof SolutionActualityPart + * + *@type {string} + *@memberof SolutionActualityPart */ additionalData?: string; } /** - * - * @export - * @interface SolutionPreviewView + * + *@export + *@interface SolutionPreviewView */ export interface SolutionPreviewView { /** - * - * @type {number} - * @memberof SolutionPreviewView + * + *@type {number} + *@memberof SolutionPreviewView */ solutionId?: number; /** - * - * @type {AccountDataDto} - * @memberof SolutionPreviewView + * + *@type {AccountDataDto} + *@memberof SolutionPreviewView */ student?: AccountDataDto; /** - * - * @type {string} - * @memberof SolutionPreviewView + * + *@type {string} + *@memberof SolutionPreviewView */ courseTitle?: string; /** - * - * @type {number} - * @memberof SolutionPreviewView + * + *@type {number} + *@memberof SolutionPreviewView */ courseId?: number; /** - * - * @type {string} - * @memberof SolutionPreviewView + * + *@type {string} + *@memberof SolutionPreviewView */ homeworkTitle?: string; /** - * - * @type {string} - * @memberof SolutionPreviewView + * + *@type {string} + *@memberof SolutionPreviewView */ taskTitle?: string; /** - * - * @type {number} - * @memberof SolutionPreviewView + * + *@type {number} + *@memberof SolutionPreviewView */ taskId?: number; /** - * - * @type {Date} - * @memberof SolutionPreviewView + * + *@type {Date} + *@memberof SolutionPreviewView */ publicationDate?: Date; /** - * - * @type {number} - * @memberof SolutionPreviewView + * + *@type {number} + *@memberof SolutionPreviewView */ groupId?: number; /** - * - * @type {boolean} - * @memberof SolutionPreviewView + * + *@type {boolean} + *@memberof SolutionPreviewView */ isFirstTry?: boolean; /** - * - * @type {boolean} - * @memberof SolutionPreviewView + * + *@type {boolean} + *@memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - * - * @type {boolean} - * @memberof SolutionPreviewView + * + *@type {boolean} + *@memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - * - * @export - * @enum {string} + * + *@export + *@enum {string} */ export enum SolutionState { NUMBER_0 = 0, @@ -1933,744 +1933,744 @@ export enum SolutionState { NUMBER_2 = 2 } /** - * - * @export - * @interface SolutionViewModel + * + *@export + *@interface SolutionViewModel */ export interface SolutionViewModel { /** - * - * @type {string} - * @memberof SolutionViewModel + * + *@type {string} + *@memberof SolutionViewModel */ githubUrl?: string; /** - * - * @type {string} - * @memberof SolutionViewModel + * + *@type {string} + *@memberof SolutionViewModel */ comment?: string; /** - * - * @type {string} - * @memberof SolutionViewModel + * + *@type {string} + *@memberof SolutionViewModel */ studentId?: string; /** - * - * @type {Array} - * @memberof SolutionViewModel + * + *@type {Array} + *@memberof SolutionViewModel */ groupMateIds?: Array; /** - * - * @type {Date} - * @memberof SolutionViewModel + * + *@type {Date} + *@memberof SolutionViewModel */ publicationDate?: Date; /** - * - * @type {string} - * @memberof SolutionViewModel + * + *@type {string} + *@memberof SolutionViewModel */ lecturerComment?: string; /** - * - * @type {number} - * @memberof SolutionViewModel + * + *@type {number} + *@memberof SolutionViewModel */ rating?: number; /** - * - * @type {Date} - * @memberof SolutionViewModel + * + *@type {Date} + *@memberof SolutionViewModel */ ratingDate?: Date; } /** - * - * @export - * @interface StatisticsCourseHomeworksModel + * + *@export + *@interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - * - * @type {number} - * @memberof StatisticsCourseHomeworksModel + * + *@type {number} + *@memberof StatisticsCourseHomeworksModel */ id?: number; /** - * - * @type {Array} - * @memberof StatisticsCourseHomeworksModel + * + *@type {Array} + *@memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - * - * @export - * @interface StatisticsCourseMatesModel + * + *@export + *@interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - * - * @type {string} - * @memberof StatisticsCourseMatesModel + * + *@type {string} + *@memberof StatisticsCourseMatesModel */ id?: string; /** - * - * @type {string} - * @memberof StatisticsCourseMatesModel + * + *@type {string} + *@memberof StatisticsCourseMatesModel */ name?: string; /** - * - * @type {string} - * @memberof StatisticsCourseMatesModel + * + *@type {string} + *@memberof StatisticsCourseMatesModel */ surname?: string; /** - * - * @type {Array} - * @memberof StatisticsCourseMatesModel + * + *@type {Array} + *@memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - * - * @type {Array} - * @memberof StatisticsCourseMatesModel + * + *@type {Array} + *@memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - * - * @export - * @interface StatisticsCourseMeasureSolutionModel + * + *@export + *@interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - * - * @type {number} - * @memberof StatisticsCourseMeasureSolutionModel + * + *@type {number} + *@memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - * - * @type {number} - * @memberof StatisticsCourseMeasureSolutionModel + * + *@type {number} + *@memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - * - * @type {Date} - * @memberof StatisticsCourseMeasureSolutionModel + * + *@type {Date} + *@memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - * - * @export - * @interface StatisticsCourseTasksModel + * + *@export + *@interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - * - * @type {number} - * @memberof StatisticsCourseTasksModel + * + *@type {number} + *@memberof StatisticsCourseTasksModel */ id?: number; /** - * - * @type {Array} - * @memberof StatisticsCourseTasksModel + * + *@type {Array} + *@memberof StatisticsCourseTasksModel */ solution?: Array; } /** - * - * @export - * @interface StatisticsLecturersModel + * + *@export + *@interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - * - * @type {AccountDataDto} - * @memberof StatisticsLecturersModel + * + *@type {AccountDataDto} + *@memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - * - * @type {number} - * @memberof StatisticsLecturersModel + * + *@type {number} + *@memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - * - * @type {number} - * @memberof StatisticsLecturersModel + * + *@type {number} + *@memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - * - * @export - * @interface StudentCharacteristicsDto + * + *@export + *@interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - * - * @type {Array} - * @memberof StudentCharacteristicsDto + * + *@type {Array} + *@memberof StudentCharacteristicsDto */ tags?: Array; /** - * - * @type {string} - * @memberof StudentCharacteristicsDto + * + *@type {string} + *@memberof StudentCharacteristicsDto */ description?: string; } /** - * - * @export - * @interface StudentDataDto + * + *@export + *@interface StudentDataDto */ export interface StudentDataDto { /** - * - * @type {StudentCharacteristicsDto} - * @memberof StudentDataDto + * + *@type {StudentCharacteristicsDto} + *@memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ userId?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ name?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ surname?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ middleName?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ email?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ role?: string; /** - * - * @type {boolean} - * @memberof StudentDataDto + * + *@type {boolean} + *@memberof StudentDataDto */ isExternalAuth?: boolean; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ githubId?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ bio?: string; /** - * - * @type {string} - * @memberof StudentDataDto + * + *@type {string} + *@memberof StudentDataDto */ companyName?: string; } /** - * - * @export - * @interface SystemInfo + * + *@export + *@interface SystemInfo */ export interface SystemInfo { /** - * - * @type {string} - * @memberof SystemInfo + * + *@type {string} + *@memberof SystemInfo */ service?: string; /** - * - * @type {boolean} - * @memberof SystemInfo + * + *@type {boolean} + *@memberof SystemInfo */ isAvailable?: boolean; } /** - * - * @export - * @interface TaskDeadlineDto + * + *@export + *@interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - * - * @type {number} - * @memberof TaskDeadlineDto + * + *@type {number} + *@memberof TaskDeadlineDto */ taskId?: number; /** - * - * @type {Array} - * @memberof TaskDeadlineDto + * + *@type {Array} + *@memberof TaskDeadlineDto */ tags?: Array; /** - * - * @type {string} - * @memberof TaskDeadlineDto + * + *@type {string} + *@memberof TaskDeadlineDto */ taskTitle?: string; /** - * - * @type {string} - * @memberof TaskDeadlineDto + * + *@type {string} + *@memberof TaskDeadlineDto */ courseTitle?: string; /** - * - * @type {number} - * @memberof TaskDeadlineDto + * + *@type {number} + *@memberof TaskDeadlineDto */ courseId?: number; /** - * - * @type {number} - * @memberof TaskDeadlineDto + * + *@type {number} + *@memberof TaskDeadlineDto */ homeworkId?: number; /** - * - * @type {number} - * @memberof TaskDeadlineDto + * + *@type {number} + *@memberof TaskDeadlineDto */ maxRating?: number; /** - * - * @type {Date} - * @memberof TaskDeadlineDto + * + *@type {Date} + *@memberof TaskDeadlineDto */ publicationDate?: Date; /** - * - * @type {Date} - * @memberof TaskDeadlineDto + * + *@type {Date} + *@memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - * - * @export - * @interface TaskDeadlineView + * + *@export + *@interface TaskDeadlineView */ export interface TaskDeadlineView { /** - * - * @type {TaskDeadlineDto} - * @memberof TaskDeadlineView + * + *@type {TaskDeadlineDto} + *@memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - * - * @type {SolutionState} - * @memberof TaskDeadlineView + * + *@type {SolutionState} + *@memberof TaskDeadlineView */ solutionState?: SolutionState; /** - * - * @type {number} - * @memberof TaskDeadlineView + * + *@type {number} + *@memberof TaskDeadlineView */ rating?: number; /** - * - * @type {number} - * @memberof TaskDeadlineView + * + *@type {number} + *@memberof TaskDeadlineView */ maxRating?: number; /** - * - * @type {boolean} - * @memberof TaskDeadlineView + * + *@type {boolean} + *@memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - * - * @export - * @interface TaskSolutionStatisticsPageData + * + *@export + *@interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - * - * @type {Array} - * @memberof TaskSolutionStatisticsPageData + * + *@type {Array} + *@memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - * - * @type {number} - * @memberof TaskSolutionStatisticsPageData + * + *@type {number} + *@memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - * - * @type {Array} - * @memberof TaskSolutionStatisticsPageData + * + *@type {Array} + *@memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - * - * @export - * @interface TaskSolutions + * + *@export + *@interface TaskSolutions */ export interface TaskSolutions { /** - * - * @type {number} - * @memberof TaskSolutions + * + *@type {number} + *@memberof TaskSolutions */ taskId?: number; /** - * - * @type {Array} - * @memberof TaskSolutions + * + *@type {Array} + *@memberof TaskSolutions */ studentSolutions?: Array; } /** - * - * @export - * @interface TaskSolutionsStats + * + *@export + *@interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - * - * @type {number} - * @memberof TaskSolutionsStats + * + *@type {number} + *@memberof TaskSolutionsStats */ taskId?: number; /** - * - * @type {number} - * @memberof TaskSolutionsStats + * + *@type {number} + *@memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - * - * @type {string} - * @memberof TaskSolutionsStats + * + *@type {string} + *@memberof TaskSolutionsStats */ title?: string; /** - * - * @type {Array} - * @memberof TaskSolutionsStats + * + *@type {Array} + *@memberof TaskSolutionsStats */ tags?: Array; } /** - * - * @export - * @interface TokenCredentials + * + *@export + *@interface TokenCredentials */ export interface TokenCredentials { /** - * - * @type {string} - * @memberof TokenCredentials + * + *@type {string} + *@memberof TokenCredentials */ accessToken?: string; } /** - * - * @export - * @interface TokenCredentialsResult + * + *@export + *@interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - * - * @type {TokenCredentials} - * @memberof TokenCredentialsResult + * + *@type {TokenCredentials} + *@memberof TokenCredentialsResult */ value?: TokenCredentials; /** - * - * @type {boolean} - * @memberof TokenCredentialsResult + * + *@type {boolean} + *@memberof TokenCredentialsResult */ succeeded?: boolean; /** - * - * @type {Array} - * @memberof TokenCredentialsResult + * + *@type {Array} + *@memberof TokenCredentialsResult */ errors?: Array; } /** - * - * @export - * @interface UnratedSolutionPreviews + * + *@export + *@interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - * - * @type {Array} - * @memberof UnratedSolutionPreviews + * + *@type {Array} + *@memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - * - * @export - * @interface UpdateCourseViewModel + * + *@export + *@interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - * - * @type {string} - * @memberof UpdateCourseViewModel + * + *@type {string} + *@memberof UpdateCourseViewModel */ name: string; /** - * - * @type {string} - * @memberof UpdateCourseViewModel + * + *@type {string} + *@memberof UpdateCourseViewModel */ groupName?: string; /** - * - * @type {boolean} - * @memberof UpdateCourseViewModel + * + *@type {boolean} + *@memberof UpdateCourseViewModel */ isOpen: boolean; /** - * - * @type {boolean} - * @memberof UpdateCourseViewModel + * + *@type {boolean} + *@memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - * - * @export - * @interface UpdateExpertTagsDTO + * + *@export + *@interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - * - * @type {string} - * @memberof UpdateExpertTagsDTO + * + *@type {string} + *@memberof UpdateExpertTagsDTO */ expertId?: string; /** - * - * @type {Array} - * @memberof UpdateExpertTagsDTO + * + *@type {Array} + *@memberof UpdateExpertTagsDTO */ tags?: Array; } /** - * - * @export - * @interface UpdateGroupViewModel + * + *@export + *@interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - * - * @type {string} - * @memberof UpdateGroupViewModel + * + *@type {string} + *@memberof UpdateGroupViewModel */ name?: string; /** - * - * @type {Array} - * @memberof UpdateGroupViewModel + * + *@type {Array} + *@memberof UpdateGroupViewModel */ tasks?: Array; /** - * - * @type {Array} - * @memberof UpdateGroupViewModel + * + *@type {Array} + *@memberof UpdateGroupViewModel */ groupMates?: Array; } /** - * - * @export - * @interface UrlDto + * + *@export + *@interface UrlDto */ export interface UrlDto { /** - * - * @type {string} - * @memberof UrlDto + * + *@type {string} + *@memberof UrlDto */ url?: string; } /** - * - * @export - * @interface UserDataDto + * + *@export + *@interface UserDataDto */ export interface UserDataDto { /** - * - * @type {AccountDataDto} - * @memberof UserDataDto + * + *@type {AccountDataDto} + *@memberof UserDataDto */ userData?: AccountDataDto; /** - * - * @type {Array} - * @memberof UserDataDto + * + *@type {Array} + *@memberof UserDataDto */ courseEvents?: Array; /** - * - * @type {Array} - * @memberof UserDataDto + * + *@type {Array} + *@memberof UserDataDto */ taskDeadlines?: Array; } /** - * - * @export - * @interface UserTaskSolutions + * + *@export + *@interface UserTaskSolutions */ export interface UserTaskSolutions { /** - * - * @type {Array} - * @memberof UserTaskSolutions + * + *@type {Array} + *@memberof UserTaskSolutions */ solutions?: Array; /** - * - * @type {StudentDataDto} - * @memberof UserTaskSolutions + * + *@type {StudentDataDto} + *@memberof UserTaskSolutions */ student?: StudentDataDto; } /** - * - * @export - * @interface UserTaskSolutions2 + * + *@export + *@interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - * - * @type {number} - * @memberof UserTaskSolutions2 + * + *@type {number} + *@memberof UserTaskSolutions2 */ maxRating?: number; /** - * - * @type {string} - * @memberof UserTaskSolutions2 + * + *@type {string} + *@memberof UserTaskSolutions2 */ title?: string; /** - * - * @type {Array} - * @memberof UserTaskSolutions2 + * + *@type {Array} + *@memberof UserTaskSolutions2 */ tags?: Array; /** - * - * @type {string} - * @memberof UserTaskSolutions2 + * + *@type {string} + *@memberof UserTaskSolutions2 */ taskId?: string; /** - * - * @type {Array} - * @memberof UserTaskSolutions2 + * + *@type {Array} + *@memberof UserTaskSolutions2 */ solutions?: Array; } /** - * - * @export - * @interface UserTaskSolutionsPageData + * + *@export + *@interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - * - * @type {number} - * @memberof UserTaskSolutionsPageData + * + *@type {number} + *@memberof UserTaskSolutionsPageData */ courseId?: number; /** - * - * @type {Array} - * @memberof UserTaskSolutionsPageData + * + *@type {Array} + *@memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - * - * @type {Array} - * @memberof UserTaskSolutionsPageData + * + *@type {Array} + *@memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - * - * @export - * @interface WorkspaceViewModel + * + *@export + *@interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - * - * @type {Array} - * @memberof WorkspaceViewModel + * + *@type {Array} + *@memberof WorkspaceViewModel */ students?: Array; /** - * - * @type {Array} - * @memberof WorkspaceViewModel + * + *@type {Array} + *@memberof WorkspaceViewModel */ homeworks?: Array; } /** - * AccountApi - fetch parameter creator - * @export + *AccountApi - fetch parameter creator + *@export */ export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {string} [code] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [code] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountAuthorizeGithub(code?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Account/github/authorize`; @@ -2702,10 +2702,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {EditAccountViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {EditAccountViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/edit`; @@ -2737,9 +2737,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetAllStudents(options: any = {}): FetchArgs { const localVarPath = `/api/Account/getAllStudents`; @@ -2767,10 +2767,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {UrlDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UrlDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options: any = {}): FetchArgs { const localVarPath = `/api/Account/github/url`; @@ -2802,9 +2802,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserData(options: any = {}): FetchArgs { const localVarPath = `/api/Account/getUserData`; @@ -2832,10 +2832,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} userId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} userId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserDataById(userId: string, options: any = {}): FetchArgs { // verify required parameter 'userId' is not null or undefined @@ -2868,10 +2868,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {InviteLecturerViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteLecturerViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/inviteNewLecturer`; @@ -2903,10 +2903,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {LoginViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {LoginViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountLogin(body?: LoginViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/login`; @@ -2938,9 +2938,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRefreshToken(options: any = {}): FetchArgs { const localVarPath = `/api/Account/refreshToken`; @@ -2968,10 +2968,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RegisterViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RegisterViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/register`; @@ -3003,10 +3003,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RequestPasswordRecoveryViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/requestPasswordRecovery`; @@ -3038,10 +3038,10 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {ResetPasswordViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {ResetPasswordViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/resetPassword`; @@ -3076,16 +3076,16 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; /** - * AccountApi - functional programming interface - * @export + *AccountApi - functional programming interface + *@export */ export const AccountApiFp = function(configuration?: Configuration) { return { /** - * - * @param {string} [code] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [code] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountAuthorizeGithub(code?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountAuthorizeGithub(code, options); @@ -3100,10 +3100,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {EditAccountViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {EditAccountViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountEdit(body, options); @@ -3118,9 +3118,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetAllStudents(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetAllStudents(options); @@ -3135,10 +3135,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UrlDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UrlDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetGithubLoginUrl(body, options); @@ -3153,9 +3153,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserData(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetUserData(options); @@ -3170,10 +3170,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} userId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} userId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserDataById(userId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetUserDataById(userId, options); @@ -3188,10 +3188,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteLecturerViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteLecturerViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountInviteNewLecturer(body, options); @@ -3206,10 +3206,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {LoginViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {LoginViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountLogin(body?: LoginViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountLogin(body, options); @@ -3224,9 +3224,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRefreshToken(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRefreshToken(options); @@ -3241,10 +3241,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RegisterViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRegister(body, options); @@ -3259,10 +3259,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RequestPasswordRecoveryViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRequestPasswordRecovery(body, options); @@ -3277,10 +3277,10 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {ResetPasswordViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {ResetPasswordViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountResetPassword(body, options); @@ -3298,112 +3298,112 @@ export const AccountApiFp = function(configuration?: Configuration) { }; /** - * AccountApi - factory interface - * @export + *AccountApi - factory interface + *@export */ export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {string} [code] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [code] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - * - * @param {EditAccountViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {EditAccountViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetAllStudents(options?: any) { return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - * - * @param {UrlDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UrlDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserData(options?: any) { return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - * - * @param {string} userId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} userId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - * - * @param {InviteLecturerViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteLecturerViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - * - * @param {LoginViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {LoginViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRefreshToken(options?: any) { return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - * - * @param {RegisterViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RegisterViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - * - * @param {RequestPasswordRecoveryViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {RequestPasswordRecoveryViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - * - * @param {ResetPasswordViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {ResetPasswordViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(configuration).accountResetPassword(body, options)(fetch, basePath); @@ -3412,136 +3412,136 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? }; /** - * AccountApi - object-oriented interface - * @export - * @class AccountApi - * @extends {BaseAPI} + *AccountApi - object-oriented interface + *@export + *@class AccountApi + *@extends {BaseAPI} */ export class AccountApi extends BaseAPI { /** - * - * @param {string} [code] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {string} [code] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(this.configuration).accountAuthorizeGithub(code, options)(this.fetch, this.basePath); } /** - * - * @param {EditAccountViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {EditAccountViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(this.configuration).accountEdit(body, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountGetAllStudents(options?: any) { return AccountApiFp(this.configuration).accountGetAllStudents(options)(this.fetch, this.basePath); } /** - * - * @param {UrlDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {UrlDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(this.configuration).accountGetGithubLoginUrl(body, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountGetUserData(options?: any) { return AccountApiFp(this.configuration).accountGetUserData(options)(this.fetch, this.basePath); } /** - * - * @param {string} userId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {string} userId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(this.configuration).accountGetUserDataById(userId, options)(this.fetch, this.basePath); } /** - * - * @param {InviteLecturerViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {InviteLecturerViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(this.configuration).accountInviteNewLecturer(body, options)(this.fetch, this.basePath); } /** - * - * @param {LoginViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {LoginViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(this.configuration).accountLogin(body, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountRefreshToken(options?: any) { return AccountApiFp(this.configuration).accountRefreshToken(options)(this.fetch, this.basePath); } /** - * - * @param {RegisterViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {RegisterViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(this.configuration).accountRegister(body, options)(this.fetch, this.basePath); } /** - * - * @param {RequestPasswordRecoveryViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {RequestPasswordRecoveryViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(this.configuration).accountRequestPasswordRecovery(body, options)(this.fetch, this.basePath); } /** - * - * @param {ResetPasswordViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AccountApi + * + *@param {ResetPasswordViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof AccountApi */ public accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(this.configuration).accountResetPassword(body, options)(this.fetch, this.basePath); @@ -3549,18 +3549,18 @@ export class AccountApi extends BaseAPI { } /** - * CourseGroupsApi - fetch parameter creator - * @export + *CourseGroupsApi - fetch parameter creator + *@export */ export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3602,11 +3602,11 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3643,11 +3643,11 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3685,10 +3685,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3721,10 +3721,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3757,10 +3757,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options: any = {}): FetchArgs { // verify required parameter 'groupId' is not null or undefined @@ -3793,10 +3793,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options: any = {}): FetchArgs { // verify required parameter 'groupId' is not null or undefined @@ -3829,12 +3829,12 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3876,12 +3876,12 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {UpdateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3926,18 +3926,18 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; /** - * CourseGroupsApi - functional programming interface - * @export + *CourseGroupsApi - functional programming interface + *@export */ export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options); @@ -3952,11 +3952,11 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsCreateCourseGroup(courseId, body, options); @@ -3971,11 +3971,11 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options); @@ -3990,10 +3990,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetAllCourseGroups(courseId, options); @@ -4008,10 +4008,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetCourseGroupsById(courseId, options); @@ -4026,10 +4026,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetGroup(groupId, options); @@ -4044,10 +4044,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetGroupTasks(groupId, options); @@ -4062,12 +4062,12 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options); @@ -4082,12 +4082,12 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {UpdateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options); @@ -4105,96 +4105,96 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; /** - * CourseGroupsApi - factory interface - * @export + *CourseGroupsApi - factory interface + *@export */ export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} groupId + *@param {UpdateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(fetch, basePath); @@ -4203,114 +4203,114 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f }; /** - * CourseGroupsApi - object-oriented interface - * @export - * @class CourseGroupsApi - * @extends {BaseAPI} + *CourseGroupsApi - object-oriented interface + *@export + *@class CourseGroupsApi + *@extends {BaseAPI} */ export class CourseGroupsApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {CreateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {CreateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsCreateCourseGroup(courseId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetAllCourseGroups(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetCourseGroupsById(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroup(groupId, options)(this.fetch, this.basePath); } /** - * - * @param {number} groupId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} groupId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroupTasks(groupId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {number} groupId + *@param {string} [userId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CourseGroupsApi + * + *@param {number} courseId + *@param {number} groupId + *@param {UpdateGroupViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CourseGroupsApi */ public courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(this.fetch, this.basePath); @@ -4318,17 +4318,17 @@ export class CourseGroupsApi extends BaseAPI { } /** - * CoursesApi - fetch parameter creator - * @export + *CoursesApi - fetch parameter creator + *@export */ export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} lecturerEmail + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4366,11 +4366,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4408,10 +4408,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {CreateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {CreateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/create`; @@ -4443,10 +4443,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesDeleteCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4479,12 +4479,12 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {EditMentorWorkspaceDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4526,10 +4526,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4562,9 +4562,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourses(options: any = {}): FetchArgs { const localVarPath = `/api/Courses`; @@ -4592,10 +4592,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4628,9 +4628,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllUserCourses(options: any = {}): FetchArgs { const localVarPath = `/api/Courses/userCourses`; @@ -4658,10 +4658,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetCourseData(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4694,10 +4694,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} [programName] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [programName] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetGroups(programName?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/getGroups`; @@ -4729,10 +4729,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4765,11 +4765,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4807,9 +4807,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetProgramNames(options: any = {}): FetchArgs { const localVarPath = `/api/Courses/getProgramNames`; @@ -4837,10 +4837,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {InviteStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteStudentViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/inviteExistentStudent`; @@ -4872,11 +4872,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4914,10 +4914,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesSignInCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4950,11 +4950,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {UpdateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4991,12 +4991,12 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {StudentCharacteristicsDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -5041,17 +5041,17 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; /** - * CoursesApi - functional programming interface - * @export + *CoursesApi - functional programming interface + *@export */ export const CoursesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} lecturerEmail + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options); @@ -5066,11 +5066,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesAcceptStudent(courseId, studentId, options); @@ -5085,10 +5085,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {CreateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {CreateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesCreateCourse(body, options); @@ -5103,10 +5103,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesDeleteCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesDeleteCourse(courseId, options); @@ -5121,12 +5121,12 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {EditMentorWorkspaceDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options); @@ -5141,10 +5141,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllCourseData(courseId, options); @@ -5159,9 +5159,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllCourses(options); @@ -5176,10 +5176,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllTagsForCourse(courseId, options); @@ -5194,9 +5194,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllUserCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllUserCourses(options); @@ -5211,10 +5211,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetCourseData(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetCourseData(courseId, options); @@ -5229,10 +5229,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [programName] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [programName] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetGroups(programName?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetGroups(programName, options); @@ -5247,10 +5247,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetLecturersAvailableForCourse(courseId, options); @@ -5265,11 +5265,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetMentorWorkspace(courseId, mentorId, options); @@ -5284,9 +5284,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetProgramNames(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetProgramNames(options); @@ -5301,10 +5301,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteStudentViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesInviteStudent(body, options); @@ -5319,11 +5319,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesRejectStudent(courseId, studentId, options); @@ -5338,10 +5338,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesSignInCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesSignInCourse(courseId, options); @@ -5356,11 +5356,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {UpdateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateCourse(courseId, body, options); @@ -5375,12 +5375,12 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {StudentCharacteristicsDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options); @@ -5398,184 +5398,184 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; /** - * CoursesApi - factory interface - * @export + *CoursesApi - factory interface + *@export */ export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {string} lecturerEmail - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} lecturerEmail + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {CreateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {CreateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {EditMentorWorkspaceDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetAllUserCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - * - * @param {string} [programName] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [programName] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} mentorId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesGetProgramNames(options?: any) { return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - * - * @param {InviteStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteStudentViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { return CoursesApiFp(configuration).coursesInviteStudent(body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {UpdateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {string} studentId + *@param {StudentCharacteristicsDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(fetch, basePath); @@ -5584,222 +5584,222 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? }; /** - * CoursesApi - object-oriented interface - * @export - * @class CoursesApi - * @extends {BaseAPI} + *CoursesApi - object-oriented interface + *@export + *@class CoursesApi + *@extends {BaseAPI} */ export class CoursesApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {string} lecturerEmail - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} lecturerEmail + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptStudent(courseId, studentId, options)(this.fetch, this.basePath); } /** - * - * @param {CreateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {CreateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesCreateCourse(body, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesDeleteCourse(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} mentorId + *@param {EditMentorWorkspaceDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(this.configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourseData(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetAllCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourses(options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllTagsForCourse(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetAllUserCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllUserCourses(options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetCourseData(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {string} [programName] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {string} [programName] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetGroups(programName, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetLecturersAvailableForCourse(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {string} mentorId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} mentorId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesGetProgramNames(options?: any) { return CoursesApiFp(this.configuration).coursesGetProgramNames(options)(this.fetch, this.basePath); } /** - * - * @param {InviteStudentViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {InviteStudentViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesInviteStudent(body, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesRejectStudent(courseId, studentId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesSignInCourse(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {UpdateCourseViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {UpdateCourseViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateCourse(courseId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CoursesApi + * + *@param {number} courseId + *@param {string} studentId + *@param {StudentCharacteristicsDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof CoursesApi */ public coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); @@ -5807,15 +5807,15 @@ export class CoursesApi extends BaseAPI { } /** - * ExpertsApi - fetch parameter creator - * @export + *ExpertsApi - fetch parameter creator + *@export */ export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetAll(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/getAll`; @@ -5843,9 +5843,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetIsProfileEdited(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/isProfileEdited`; @@ -5873,10 +5873,45 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsGetStudentToken(expertEmail?: string, options: any = {}): FetchArgs { + const localVarPath = `/api/Experts/getStudentToken`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'GET' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + + if (expertEmail !== undefined) { + localVarQueryParameter['expertEmail'] = expertEmail; + } + + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetToken(expertEmail?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/getToken`; @@ -5908,10 +5943,10 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {InviteExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/invite`; @@ -5943,10 +5978,10 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/login`; @@ -5978,10 +6013,45 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {RegisterExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsLoginWithToken(body?: TokenCredentials, options: any = {}): FetchArgs { + const localVarPath = `/api/Experts/loginWithToken`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'POST' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + const needsSerialization = ("TokenCredentials" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + *@param {RegisterExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/register`; @@ -6013,9 +6083,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsSetProfileIsEdited(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/setProfileIsEdited`; @@ -6043,10 +6113,10 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UpdateExpertTagsDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/updateTags`; @@ -6081,15 +6151,15 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; /** - * ExpertsApi - functional programming interface - * @export + *ExpertsApi - functional programming interface + *@export */ export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetAll(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetAll(options); @@ -6104,9 +6174,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetIsProfileEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetIsProfileEdited(options); @@ -6121,10 +6191,28 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsGetStudentToken(expertEmail?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetStudentToken(expertEmail, options); + return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { + return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { + if (response.status >= 200 && response.status < 300) { + return response.json(); + } else { + throw response; + } + }); + }; + }, + /** + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetToken(expertEmail?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetToken(expertEmail, options); @@ -6139,10 +6227,10 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {InviteExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsInvite(body, options); @@ -6157,10 +6245,10 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsLogin(body, options); @@ -6175,10 +6263,28 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {RegisterExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsLoginWithToken(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsLoginWithToken(body, options); + return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { + return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { + if (response.status >= 200 && response.status < 300) { + return response.json(); + } else { + throw response; + } + }); + }; + }, + /** + * + *@param {RegisterExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsRegister(body, options); @@ -6193,9 +6299,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsSetProfileIsEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsSetProfileIsEdited(options); @@ -6210,10 +6316,10 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {UpdateExpertTagsDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UpdateExpertTagsDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsUpdateTags(body, options); @@ -6231,76 +6337,94 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; /** - * ExpertsApi - factory interface - * @export + *ExpertsApi - factory interface + *@export */ export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetAll(options?: any) { return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsGetStudentToken(expertEmail?: string, options?: any) { + return ExpertsApiFp(configuration).expertsGetStudentToken(expertEmail, options)(fetch, basePath); + }, + /** + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - * - * @param {InviteExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {InviteExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - * - * @param {RegisterExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + */ + expertsLoginWithToken(body?: TokenCredentials, options?: any) { + return ExpertsApiFp(configuration).expertsLoginWithToken(body, options)(fetch, basePath); + }, + /** + * + *@param {RegisterExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - * - * @param {UpdateExpertTagsDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {UpdateExpertTagsDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(configuration).expertsUpdateTags(body, options)(fetch, basePath); @@ -6309,92 +6433,114 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? }; /** - * ExpertsApi - object-oriented interface - * @export - * @class ExpertsApi - * @extends {BaseAPI} + *ExpertsApi - object-oriented interface + *@export + *@class ExpertsApi + *@extends {BaseAPI} */ export class ExpertsApi extends BaseAPI { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsGetAll(options?: any) { return ExpertsApiFp(this.configuration).expertsGetAll(options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsGetIsProfileEdited(options)(this.fetch, this.basePath); } /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi + */ + public expertsGetStudentToken(expertEmail?: string, options?: any) { + return ExpertsApiFp(this.configuration).expertsGetStudentToken(expertEmail, options)(this.fetch, this.basePath); + } + + /** + * + *@param {string} [expertEmail] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(this.configuration).expertsGetToken(expertEmail, options)(this.fetch, this.basePath); } /** - * - * @param {InviteExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {InviteExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsInvite(body, options)(this.fetch, this.basePath); } /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(this.configuration).expertsLogin(body, options)(this.fetch, this.basePath); } /** - * - * @param {RegisterExpertViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {TokenCredentials} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi + */ + public expertsLoginWithToken(body?: TokenCredentials, options?: any) { + return ExpertsApiFp(this.configuration).expertsLoginWithToken(body, options)(this.fetch, this.basePath); + } + + /** + * + *@param {RegisterExpertViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsRegister(body, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsSetProfileIsEdited(options)(this.fetch, this.basePath); } /** - * - * @param {UpdateExpertTagsDTO} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi + * + *@param {UpdateExpertTagsDTO} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof ExpertsApi */ public expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(this.configuration).expertsUpdateTags(body, options)(this.fetch, this.basePath); @@ -6402,17 +6548,17 @@ export class ExpertsApi extends BaseAPI { } /** - * FilesApi - fetch parameter creator - * @export + *FilesApi - fetch parameter creator + *@export */ export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Files`; @@ -6448,10 +6594,10 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetDownloadLink(key?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Files/downloadLink`; @@ -6483,11 +6629,11 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} [homeworkId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -6524,12 +6670,12 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {number} [homeworkId] + *@param {Blob} [file] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options: any = {}): FetchArgs { const localVarPath = `/api/Files/upload`; @@ -6576,17 +6722,17 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; /** - * FilesApi - functional programming interface - * @export + *FilesApi - functional programming interface + *@export */ export const FilesApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesDeleteFile(courseId, key, options); @@ -6601,10 +6747,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetDownloadLink(key?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesGetDownloadLink(key, options); @@ -6619,11 +6765,11 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} [homeworkId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesGetFilesInfo(courseId, homeworkId, options); @@ -6638,12 +6784,12 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {number} [homeworkId] + *@param {Blob} [file] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesUpload(courseId, homeworkId, file, options); @@ -6661,47 +6807,47 @@ export const FilesApiFp = function(configuration?: Configuration) { }; /** - * FilesApi - factory interface - * @export + *FilesApi - factory interface + *@export */ export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} [courseId] - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - * - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {number} [homeworkId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {number} [homeworkId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [courseId] + *@param {number} [homeworkId] + *@param {Blob} [file] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(configuration).filesUpload(courseId, homeworkId, file, options)(fetch, basePath); @@ -6710,55 +6856,55 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: }; /** - * FilesApi - object-oriented interface - * @export - * @class FilesApi - * @extends {BaseAPI} + *FilesApi - object-oriented interface + *@export + *@class FilesApi + *@extends {BaseAPI} */ export class FilesApi extends BaseAPI { /** - * - * @param {number} [courseId] - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof FilesApi + * + *@param {number} [courseId] + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof FilesApi */ public filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(this.configuration).filesDeleteFile(courseId, key, options)(this.fetch, this.basePath); } /** - * - * @param {string} [key] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof FilesApi + * + *@param {string} [key] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof FilesApi */ public filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(this.configuration).filesGetDownloadLink(key, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {number} [homeworkId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof FilesApi + * + *@param {number} courseId + *@param {number} [homeworkId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof FilesApi */ public filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(this.configuration).filesGetFilesInfo(courseId, homeworkId, options)(this.fetch, this.basePath); } /** - * - * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof FilesApi + * + *@param {number} [courseId] + *@param {number} [homeworkId] + *@param {Blob} [file] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof FilesApi */ public filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(this.configuration).filesUpload(courseId, homeworkId, file, options)(this.fetch, this.basePath); @@ -6766,17 +6912,17 @@ export class FilesApi extends BaseAPI { } /** - * HomeworksApi - fetch parameter creator - * @export + *HomeworksApi - fetch parameter creator + *@export */ export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -6813,10 +6959,10 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -6849,10 +6995,10 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -6885,10 +7031,10 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -6921,11 +7067,11 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -6965,17 +7111,17 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; /** - * HomeworksApi - functional programming interface - * @export + *HomeworksApi - functional programming interface + *@export */ export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksAddHomework(courseId, body, options); @@ -6990,10 +7136,10 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksDeleteHomework(homeworkId, options); @@ -7008,10 +7154,10 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksGetForEditingHomework(homeworkId, options); @@ -7026,10 +7172,10 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksGetHomework(homeworkId, options); @@ -7044,11 +7190,11 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksUpdateHomework(homeworkId, body, options); @@ -7066,54 +7212,54 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; /** - * HomeworksApi - factory interface - * @export + *HomeworksApi - factory interface + *@export */ export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(configuration).homeworksUpdateHomework(homeworkId, body, options)(fetch, basePath); @@ -7122,64 +7268,64 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc }; /** - * HomeworksApi - object-oriented interface - * @export - * @class HomeworksApi - * @extends {BaseAPI} + *HomeworksApi - object-oriented interface + *@export + *@class HomeworksApi + *@extends {BaseAPI} */ export class HomeworksApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof HomeworksApi + * + *@param {number} courseId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof HomeworksApi */ public homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksAddHomework(courseId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof HomeworksApi + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof HomeworksApi */ public homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksDeleteHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof HomeworksApi + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof HomeworksApi */ public homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetForEditingHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - * @param {number} homeworkId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof HomeworksApi + * + *@param {number} homeworkId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof HomeworksApi */ public homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof HomeworksApi + * + *@param {number} homeworkId + *@param {CreateHomeworkViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof HomeworksApi */ public homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksUpdateHomework(homeworkId, body, options)(this.fetch, this.basePath); @@ -7187,16 +7333,16 @@ export class HomeworksApi extends BaseAPI { } /** - * NotificationsApi - fetch parameter creator - * @export + *NotificationsApi - fetch parameter creator + *@export */ export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {NotificationsSettingDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/settings`; @@ -7228,9 +7374,9 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGet(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/get`; @@ -7258,9 +7404,9 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetNewNotificationsCount(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/getNewNotificationsCount`; @@ -7288,9 +7434,9 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetSettings(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/settings`; @@ -7318,10 +7464,10 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - * @param {Array} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {Array} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/markAsSeen`; @@ -7356,16 +7502,16 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; /** - * NotificationsApi - functional programming interface - * @export + *NotificationsApi - functional programming interface + *@export */ export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {NotificationsSettingDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {NotificationsSettingDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsChangeSetting(body, options); @@ -7380,9 +7526,9 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGet(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGet(options); @@ -7397,9 +7543,9 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGetNewNotificationsCount(options); @@ -7414,9 +7560,9 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetSettings(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGetSettings(options); @@ -7431,10 +7577,10 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {Array} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {Array} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsMarkAsSeen(body, options); @@ -7452,49 +7598,49 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; /** - * NotificationsApi - factory interface - * @export + *NotificationsApi - factory interface + *@export */ export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {NotificationsSettingDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {NotificationsSettingDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGet(options?: any) { return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsGetSettings(options?: any) { return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - * - * @param {Array} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {Array} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(configuration).notificationsMarkAsSeen(body, options)(fetch, basePath); @@ -7503,59 +7649,59 @@ export const NotificationsApiFactory = function (configuration?: Configuration, }; /** - * NotificationsApi - object-oriented interface - * @export - * @class NotificationsApi - * @extends {BaseAPI} + *NotificationsApi - object-oriented interface + *@export + *@class NotificationsApi + *@extends {BaseAPI} */ export class NotificationsApi extends BaseAPI { /** - * - * @param {NotificationsSettingDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof NotificationsApi + * + *@param {NotificationsSettingDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof NotificationsApi */ public notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(this.configuration).notificationsChangeSetting(body, options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof NotificationsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof NotificationsApi */ public notificationsGet(options?: any) { return NotificationsApiFp(this.configuration).notificationsGet(options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof NotificationsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof NotificationsApi */ public notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetNewNotificationsCount(options)(this.fetch, this.basePath); } /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof NotificationsApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof NotificationsApi */ public notificationsGetSettings(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetSettings(options)(this.fetch, this.basePath); } /** - * - * @param {Array} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof NotificationsApi + * + *@param {Array} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof NotificationsApi */ public notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(this.configuration).notificationsMarkAsSeen(body, options)(this.fetch, this.basePath); @@ -7563,16 +7709,16 @@ export class NotificationsApi extends BaseAPI { } /** - * SolutionsApi - fetch parameter creator - * @export + *SolutionsApi - fetch parameter creator + *@export */ export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7605,11 +7751,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {number} [solutionId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options: any = {}): FetchArgs { const localVarPath = `/api/Solutions/solutionAchievement`; @@ -7645,10 +7791,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7681,10 +7827,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7717,11 +7863,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7759,10 +7905,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7795,10 +7941,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} [taskId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options: any = {}): FetchArgs { const localVarPath = `/api/Solutions/unratedSolutions`; @@ -7830,10 +7976,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGiveUp(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7866,10 +8012,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7902,11 +8048,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7943,11 +8089,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7984,11 +8130,11 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {RateSolutionModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -8028,16 +8174,16 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; /** - * SolutionsApi - functional programming interface - * @export + *SolutionsApi - functional programming interface + *@export */ export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsDeleteSolution(solutionId, options); @@ -8052,11 +8198,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {number} [solutionId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options); @@ -8071,10 +8217,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionActuality(solutionId, options); @@ -8089,10 +8235,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionById(solutionId, options); @@ -8107,11 +8253,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetStudentSolution(taskId, studentId, options); @@ -8126,10 +8272,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetTaskSolutionsPageData(taskId, options); @@ -8144,10 +8290,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} [taskId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetUnratedSolutions(taskId, options); @@ -8162,10 +8308,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGiveUp(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGiveUp(taskId, options); @@ -8180,10 +8326,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsMarkSolution(solutionId, options); @@ -8198,11 +8344,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options); @@ -8217,11 +8363,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsPostSolution(taskId, body, options); @@ -8236,11 +8382,11 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {RateSolutionModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsRateSolution(solutionId, body, options); @@ -8258,120 +8404,120 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; /** - * SolutionsApi - factory interface - * @export + *SolutionsApi - factory interface + *@export */ export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] - * @param {number} [solutionId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {number} [solutionId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - * - * @param {number} [taskId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} [taskId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} solutionId + *@param {RateSolutionModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(configuration).solutionsRateSolution(solutionId, body, options)(fetch, basePath); @@ -8380,144 +8526,144 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc }; /** - * SolutionsApi - object-oriented interface - * @export - * @class SolutionsApi - * @extends {BaseAPI} + *SolutionsApi - object-oriented interface + *@export + *@class SolutionsApi + *@extends {BaseAPI} */ export class SolutionsApi extends BaseAPI { /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsDeleteSolution(solutionId, options)(this.fetch, this.basePath); } /** - * - * @param {number} [taskId] - * @param {number} [solutionId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} [taskId] + *@param {number} [solutionId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(this.fetch, this.basePath); } /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionActuality(solutionId, options)(this.fetch, this.basePath); } /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionById(solutionId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {string} studentId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} taskId + *@param {string} studentId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetStudentSolution(taskId, studentId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetTaskSolutionsPageData(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} [taskId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} [taskId] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetUnratedSolutions(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGiveUp(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} solutionId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} solutionId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsMarkSolution(solutionId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {SolutionViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} taskId + *@param {SolutionViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostSolution(taskId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} solutionId - * @param {RateSolutionModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SolutionsApi + * + *@param {number} solutionId + *@param {RateSolutionModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SolutionsApi */ public solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsRateSolution(solutionId, body, options)(this.fetch, this.basePath); @@ -8525,16 +8671,16 @@ export class SolutionsApi extends BaseAPI { } /** - * StatisticsApi - fetch parameter creator - * @export + *StatisticsApi - fetch parameter creator + *@export */ export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8567,10 +8713,10 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8603,10 +8749,10 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8642,16 +8788,16 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; /** - * StatisticsApi - functional programming interface - * @export + *StatisticsApi - functional programming interface + *@export */ export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetChartStatistics(courseId, options); @@ -8666,10 +8812,10 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetCourseStatistics(courseId, options); @@ -8684,10 +8830,10 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetLecturersStatistics(courseId, options); @@ -8705,34 +8851,34 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; /** - * StatisticsApi - factory interface - * @export + *StatisticsApi - factory interface + *@export */ export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetLecturersStatistics(courseId, options)(fetch, basePath); @@ -8741,40 +8887,40 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet }; /** - * StatisticsApi - object-oriented interface - * @export - * @class StatisticsApi - * @extends {BaseAPI} + *StatisticsApi - object-oriented interface + *@export + *@class StatisticsApi + *@extends {BaseAPI} */ export class StatisticsApi extends BaseAPI { /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof StatisticsApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof StatisticsApi */ public statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetChartStatistics(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof StatisticsApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof StatisticsApi */ public statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetCourseStatistics(courseId, options)(this.fetch, this.basePath); } /** - * - * @param {number} courseId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof StatisticsApi + * + *@param {number} courseId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof StatisticsApi */ public statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetLecturersStatistics(courseId, options)(this.fetch, this.basePath); @@ -8782,15 +8928,15 @@ export class StatisticsApi extends BaseAPI { } /** - * SystemApi - fetch parameter creator - * @export + *SystemApi - fetch parameter creator + *@export */ export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ systemStatus(options: any = {}): FetchArgs { const localVarPath = `/api/System/status`; @@ -8821,15 +8967,15 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio }; /** - * SystemApi - functional programming interface - * @export + *SystemApi - functional programming interface + *@export */ export const SystemApiFp = function(configuration?: Configuration) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ systemStatus(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = SystemApiFetchParamCreator(configuration).systemStatus(options); @@ -8847,15 +8993,15 @@ export const SystemApiFp = function(configuration?: Configuration) { }; /** - * SystemApi - factory interface - * @export + *SystemApi - factory interface + *@export */ export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ systemStatus(options?: any) { return SystemApiFp(configuration).systemStatus(options)(fetch, basePath); @@ -8864,17 +9010,17 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: }; /** - * SystemApi - object-oriented interface - * @export - * @class SystemApi - * @extends {BaseAPI} + *SystemApi - object-oriented interface + *@export + *@class SystemApi + *@extends {BaseAPI} */ export class SystemApi extends BaseAPI { /** - * - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SystemApi + * + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof SystemApi */ public systemStatus(options?: any) { return SystemApiFp(this.configuration).systemStatus(options)(this.fetch, this.basePath); @@ -8882,16 +9028,16 @@ export class SystemApi extends BaseAPI { } /** - * TasksApi - fetch parameter creator - * @export + *TasksApi - fetch parameter creator + *@export */ export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddAnswerForQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options: any = {}): FetchArgs { const localVarPath = `/api/Tasks/addAnswer`; @@ -8923,10 +9069,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {AddTaskQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddTaskQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options: any = {}): FetchArgs { const localVarPath = `/api/Tasks/addQuestion`; @@ -8958,11 +9104,11 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -8999,10 +9145,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksDeleteTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9035,10 +9181,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9071,10 +9217,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9107,10 +9253,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9143,11 +9289,11 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9187,16 +9333,16 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; /** - * TasksApi - functional programming interface - * @export + *TasksApi - functional programming interface + *@export */ export const TasksApiFp = function(configuration?: Configuration) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddAnswerForQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddAnswerForQuestion(body, options); @@ -9211,10 +9357,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {AddTaskQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddTaskQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddQuestionForTask(body, options); @@ -9229,11 +9375,11 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddTask(homeworkId, body, options); @@ -9248,10 +9394,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksDeleteTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksDeleteTask(taskId, options); @@ -9266,10 +9412,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetForEditingTask(taskId, options); @@ -9284,10 +9430,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetQuestionsForTask(taskId, options); @@ -9302,10 +9448,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetTask(taskId, options); @@ -9320,11 +9466,11 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksUpdateTask(taskId, body, options); @@ -9342,81 +9488,81 @@ export const TasksApiFp = function(configuration?: Configuration) { }; /** - * TasksApi - factory interface - * @export + *TasksApi - factory interface + *@export */ export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - * @param {AddAnswerForQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddAnswerForQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - * - * @param {AddTaskQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {AddTaskQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} homeworkId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksGetTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} + * + *@param {number} taskId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(configuration).tasksUpdateTask(taskId, body, options)(fetch, basePath); @@ -9425,97 +9571,97 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: }; /** - * TasksApi - object-oriented interface - * @export - * @class TasksApi - * @extends {BaseAPI} + *TasksApi - object-oriented interface + *@export + *@class TasksApi + *@extends {BaseAPI} */ export class TasksApi extends BaseAPI { /** - * - * @param {AddAnswerForQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {AddAnswerForQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddAnswerForQuestion(body, options)(this.fetch, this.basePath); } /** - * - * @param {AddTaskQuestionDto} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {AddTaskQuestionDto} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddQuestionForTask(body, options)(this.fetch, this.basePath); } /** - * - * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} homeworkId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksAddTask(homeworkId, body, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksDeleteTask(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetForEditingTask(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetQuestionsForTask(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} taskId + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksGetTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetTask(taskId, options)(this.fetch, this.basePath); } /** - * - * @param {number} taskId - * @param {CreateTaskViewModel} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi + * + *@param {number} taskId + *@param {CreateTaskViewModel} [body] + *@param {*} [options] Override http request option. + *@throws {RequiredError} + *@memberof TasksApi */ public tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksUpdateTask(taskId, body, options)(this.fetch, this.basePath); From aefb4f7da6ad357335f017987c23e37235330ac4 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 15 May 2025 02:51:16 +0300 Subject: [PATCH 22/44] format: add missing whitespaces --- hwproj.front/src/api/api.ts | 5113 +++++++++++++++-------------------- 1 file changed, 2172 insertions(+), 2941 deletions(-) diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index d5b0dd8bc..cd15ba975 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -1,18 +1,17 @@ /// // tslint:disable /** - *API Gateway - *No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * API Gateway + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - *OpenAPI spec version: v1 - * - * - *NOTE: This file is auto generated by the swagger code generator program. - *https://github.com/swagger-api/swagger-codegen.git - *Do not edit the file manually. + * OpenAPI spec version: v1 + *\n * + * NOTE: This file is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the file manually. */ -import *as url from "url"; +import * as url from "url"; import isomorphicFetch from "isomorphic-fetch"; import { Configuration } from "./configuration"; @@ -20,7 +19,7 @@ const BASE_PATH = "/".replace(/\/+$/, ""); /** * - *@export + * @export */ export const COLLECTION_FORMATS = { csv: ",", @@ -31,8 +30,8 @@ export const COLLECTION_FORMATS = { /** * - *@export - *@interface FetchAPI + * @export + * @interface FetchAPI */ export interface FetchAPI { (url: string, init?: any): Promise; @@ -40,8 +39,8 @@ export interface FetchAPI { /** * - *@export - *@interface FetchArgs + * @export + * @interface FetchArgs */ export interface FetchArgs { url: string; @@ -50,8 +49,8 @@ export interface FetchArgs { /** * - *@export - *@class BaseAPI + * @export + * @class BaseAPI */ export class BaseAPI { protected configuration: Configuration | undefined; @@ -66,9 +65,9 @@ export class BaseAPI { /** * - *@export - *@class RequiredError - *@extends {Error} + * @export + * @class RequiredError + * @extends {Error} */ export class RequiredError extends Error { name = "RequiredError" @@ -78,220 +77,185 @@ export class RequiredError extends Error { } /** - * - *@export - *@interface AccountDataDto + *\n * @export + * @interface AccountDataDto */ export interface AccountDataDto { /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ userId?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ name?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ surname?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ middleName?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ email?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ role?: string; /** - * - *@type {boolean} - *@memberof AccountDataDto + *\n * @type {boolean} + * @memberof AccountDataDto */ isExternalAuth?: boolean; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ githubId?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ bio?: string; /** - * - *@type {string} - *@memberof AccountDataDto + *\n * @type {string} + * @memberof AccountDataDto */ companyName?: string; } /** - * - *@export - *@interface ActionOptions + *\n * @export + * @interface ActionOptions */ export interface ActionOptions { /** - * - *@type {boolean} - *@memberof ActionOptions + *\n * @type {boolean} + * @memberof ActionOptions */ sendNotification?: boolean; } /** - * - *@export - *@interface AddAnswerForQuestionDto + *\n * @export + * @interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - * - *@type {number} - *@memberof AddAnswerForQuestionDto + *\n * @type {number} + * @memberof AddAnswerForQuestionDto */ questionId?: number; /** - * - *@type {string} - *@memberof AddAnswerForQuestionDto + *\n * @type {string} + * @memberof AddAnswerForQuestionDto */ answer?: string; } /** - * - *@export - *@interface AddTaskQuestionDto + *\n * @export + * @interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - * - *@type {number} - *@memberof AddTaskQuestionDto + *\n * @type {number} + * @memberof AddTaskQuestionDto */ taskId?: number; /** - * - *@type {string} - *@memberof AddTaskQuestionDto + *\n * @type {string} + * @memberof AddTaskQuestionDto */ text?: string; /** - * - *@type {boolean} - *@memberof AddTaskQuestionDto + *\n * @type {boolean} + * @memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - * - *@export - *@interface AdvancedCourseStatisticsViewModel + *\n * @export + * @interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - * - *@type {CoursePreview} - *@memberof AdvancedCourseStatisticsViewModel + *\n * @type {CoursePreview} + * @memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - * - *@type {Array} - *@memberof AdvancedCourseStatisticsViewModel + *\n * @type {Array} + * @memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - * - *@type {Array} - *@memberof AdvancedCourseStatisticsViewModel + *\n * @type {Array} + * @memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - * - *@type {Array} - *@memberof AdvancedCourseStatisticsViewModel + *\n * @type {Array} + * @memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - * - *@type {Array} - *@memberof AdvancedCourseStatisticsViewModel + *\n * @type {Array} + * @memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - * - *@export - *@interface BooleanResult + *\n * @export + * @interface BooleanResult */ export interface BooleanResult { /** - * - *@type {boolean} - *@memberof BooleanResult + *\n * @type {boolean} + * @memberof BooleanResult */ value?: boolean; /** - * - *@type {boolean} - *@memberof BooleanResult + *\n * @type {boolean} + * @memberof BooleanResult */ succeeded?: boolean; /** - * - *@type {Array} - *@memberof BooleanResult + *\n * @type {Array} + * @memberof BooleanResult */ errors?: Array; } /** - * - *@export - *@interface CategorizedNotifications + *\n * @export + * @interface CategorizedNotifications */ export interface CategorizedNotifications { /** - * - *@type {CategoryState} - *@memberof CategorizedNotifications + *\n * @type {CategoryState} + * @memberof CategorizedNotifications */ category?: CategoryState; /** - * - *@type {Array} - *@memberof CategorizedNotifications + *\n * @type {Array} + * @memberof CategorizedNotifications */ seenNotifications?: Array; /** - * - *@type {Array} - *@memberof CategorizedNotifications + *\n * @type {Array} + * @memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - * - *@export - *@enum {string} + *\n * @export + * @enum {string} */ export enum CategoryState { NUMBER_0 = 0, @@ -300,1632 +264,1368 @@ export enum CategoryState { NUMBER_3 = 3 } /** - * - *@export - *@interface CourseEvents + *\n * @export + * @interface CourseEvents */ export interface CourseEvents { /** - * - *@type {number} - *@memberof CourseEvents + *\n * @type {number} + * @memberof CourseEvents */ id?: number; /** - * - *@type {string} - *@memberof CourseEvents + *\n * @type {string} + * @memberof CourseEvents */ name?: string; /** - * - *@type {string} - *@memberof CourseEvents + *\n * @type {string} + * @memberof CourseEvents */ groupName?: string; /** - * - *@type {boolean} - *@memberof CourseEvents + *\n * @type {boolean} + * @memberof CourseEvents */ isCompleted?: boolean; /** - * - *@type {number} - *@memberof CourseEvents + *\n * @type {number} + * @memberof CourseEvents */ newStudentsCount?: number; } /** - * - *@export - *@interface CoursePreview + *\n * @export + * @interface CoursePreview */ export interface CoursePreview { /** - * - *@type {number} - *@memberof CoursePreview + *\n * @type {number} + * @memberof CoursePreview */ id?: number; /** - * - *@type {string} - *@memberof CoursePreview + *\n * @type {string} + * @memberof CoursePreview */ name?: string; /** - * - *@type {string} - *@memberof CoursePreview + *\n * @type {string} + * @memberof CoursePreview */ groupName?: string; /** - * - *@type {boolean} - *@memberof CoursePreview + *\n * @type {boolean} + * @memberof CoursePreview */ isCompleted?: boolean; /** - * - *@type {Array} - *@memberof CoursePreview + *\n * @type {Array} + * @memberof CoursePreview */ mentorIds?: Array; /** - * - *@type {number} - *@memberof CoursePreview + *\n * @type {number} + * @memberof CoursePreview */ taskId?: number; } /** - * - *@export - *@interface CoursePreviewView + *\n * @export + * @interface CoursePreviewView */ export interface CoursePreviewView { /** - * - *@type {number} - *@memberof CoursePreviewView + *\n * @type {number} + * @memberof CoursePreviewView */ id?: number; /** - * - *@type {string} - *@memberof CoursePreviewView + *\n * @type {string} + * @memberof CoursePreviewView */ name?: string; /** - * - *@type {string} - *@memberof CoursePreviewView + *\n * @type {string} + * @memberof CoursePreviewView */ groupName?: string; /** - * - *@type {boolean} - *@memberof CoursePreviewView + *\n * @type {boolean} + * @memberof CoursePreviewView */ isCompleted?: boolean; /** - * - *@type {Array} - *@memberof CoursePreviewView + *\n * @type {Array} + * @memberof CoursePreviewView */ mentors?: Array; /** - * - *@type {number} - *@memberof CoursePreviewView + *\n * @type {number} + * @memberof CoursePreviewView */ taskId?: number; } /** - * - *@export - *@interface CourseViewModel + *\n * @export + * @interface CourseViewModel */ export interface CourseViewModel { /** - * - *@type {number} - *@memberof CourseViewModel + *\n * @type {number} + * @memberof CourseViewModel */ id?: number; /** - * - *@type {string} - *@memberof CourseViewModel + *\n * @type {string} + * @memberof CourseViewModel */ name?: string; /** - * - *@type {string} - *@memberof CourseViewModel + *\n * @type {string} + * @memberof CourseViewModel */ groupName?: string; /** - * - *@type {boolean} - *@memberof CourseViewModel + *\n * @type {boolean} + * @memberof CourseViewModel */ isOpen?: boolean; /** - * - *@type {boolean} - *@memberof CourseViewModel + *\n * @type {boolean} + * @memberof CourseViewModel */ isCompleted?: boolean; /** - * - *@type {Array} - *@memberof CourseViewModel + *\n * @type {Array} + * @memberof CourseViewModel */ mentors?: Array; /** - * - *@type {Array} - *@memberof CourseViewModel + *\n * @type {Array} + * @memberof CourseViewModel */ acceptedStudents?: Array; /** - * - *@type {Array} - *@memberof CourseViewModel + *\n * @type {Array} + * @memberof CourseViewModel */ newStudents?: Array; /** - * - *@type {Array} - *@memberof CourseViewModel + *\n * @type {Array} + * @memberof CourseViewModel */ homeworks?: Array; } /** - * - *@export - *@interface CreateCourseViewModel + *\n * @export + * @interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - * - *@type {string} - *@memberof CreateCourseViewModel + *\n * @type {string} + * @memberof CreateCourseViewModel */ name: string; /** - * - *@type {Array} - *@memberof CreateCourseViewModel + *\n * @type {Array} + * @memberof CreateCourseViewModel */ groupNames?: Array; /** - * - *@type {Array} - *@memberof CreateCourseViewModel + *\n * @type {Array} + * @memberof CreateCourseViewModel */ studentIDs?: Array; /** - * - *@type {boolean} - *@memberof CreateCourseViewModel + *\n * @type {boolean} + * @memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - * - *@type {boolean} - *@memberof CreateCourseViewModel + *\n * @type {boolean} + * @memberof CreateCourseViewModel */ isOpen: boolean; /** - * - *@type {number} - *@memberof CreateCourseViewModel + *\n * @type {number} + * @memberof CreateCourseViewModel */ baseCourseId?: number; } /** - * - *@export - *@interface CreateGroupViewModel + *\n * @export + * @interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - * - *@type {string} - *@memberof CreateGroupViewModel + *\n * @type {string} + * @memberof CreateGroupViewModel */ name?: string; /** - * - *@type {Array} - *@memberof CreateGroupViewModel + *\n * @type {Array} + * @memberof CreateGroupViewModel */ groupMatesIds: Array; /** - * - *@type {number} - *@memberof CreateGroupViewModel + *\n * @type {number} + * @memberof CreateGroupViewModel */ courseId: number; } /** - * - *@export - *@interface CreateHomeworkViewModel + *\n * @export + * @interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - * - *@type {string} - *@memberof CreateHomeworkViewModel + *\n * @type {string} + * @memberof CreateHomeworkViewModel */ title: string; /** - * - *@type {string} - *@memberof CreateHomeworkViewModel + *\n * @type {string} + * @memberof CreateHomeworkViewModel */ description?: string; /** - * - *@type {boolean} - *@memberof CreateHomeworkViewModel + *\n * @type {boolean} + * @memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - * - *@type {Date} - *@memberof CreateHomeworkViewModel + *\n * @type {Date} + * @memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - * - *@type {boolean} - *@memberof CreateHomeworkViewModel + *\n * @type {boolean} + * @memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - * - *@type {Date} - *@memberof CreateHomeworkViewModel + *\n * @type {Date} + * @memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - * - *@type {boolean} - *@memberof CreateHomeworkViewModel + *\n * @type {boolean} + * @memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - * - *@type {Array} - *@memberof CreateHomeworkViewModel + *\n * @type {Array} + * @memberof CreateHomeworkViewModel */ tags?: Array; /** - * - *@type {Array} - *@memberof CreateHomeworkViewModel + *\n * @type {Array} + * @memberof CreateHomeworkViewModel */ tasks?: Array; /** - * - *@type {ActionOptions} - *@memberof CreateHomeworkViewModel + *\n * @type {ActionOptions} + * @memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - * - *@export - *@interface CreateTaskViewModel + *\n * @export + * @interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - * - *@type {string} - *@memberof CreateTaskViewModel + *\n * @type {string} + * @memberof CreateTaskViewModel */ title: string; /** - * - *@type {string} - *@memberof CreateTaskViewModel + *\n * @type {string} + * @memberof CreateTaskViewModel */ description?: string; /** - * - *@type {boolean} - *@memberof CreateTaskViewModel + *\n * @type {boolean} + * @memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - * - *@type {Date} - *@memberof CreateTaskViewModel + *\n * @type {Date} + * @memberof CreateTaskViewModel */ deadlineDate?: Date; /** - * - *@type {boolean} - *@memberof CreateTaskViewModel + *\n * @type {boolean} + * @memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - * - *@type {Date} - *@memberof CreateTaskViewModel + *\n * @type {Date} + * @memberof CreateTaskViewModel */ publicationDate?: Date; /** - * - *@type {number} - *@memberof CreateTaskViewModel + *\n * @type {number} + * @memberof CreateTaskViewModel */ maxRating: number; /** - * - *@type {ActionOptions} - *@memberof CreateTaskViewModel + *\n * @type {ActionOptions} + * @memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - * - *@export - *@interface EditAccountViewModel + *\n * @export + * @interface EditAccountViewModel */ export interface EditAccountViewModel { /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ name: string; /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ surname: string; /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ middleName?: string; /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ email?: string; /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ bio?: string; /** - * - *@type {string} - *@memberof EditAccountViewModel + *\n * @type {string} + * @memberof EditAccountViewModel */ companyName?: string; } /** - * - *@export - *@interface EditMentorWorkspaceDTO + *\n * @export + * @interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - * - *@type {Array} - *@memberof EditMentorWorkspaceDTO + *\n * @type {Array} + * @memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - * - *@type {Array} - *@memberof EditMentorWorkspaceDTO + *\n * @type {Array} + * @memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - * - *@export - *@interface ExpertDataDTO + *\n * @export + * @interface ExpertDataDTO */ export interface ExpertDataDTO { /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ id?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ name?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ surname?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ middleName?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ email?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ bio?: string; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ companyName?: string; /** - * - *@type {Array} - *@memberof ExpertDataDTO + *\n * @type {Array} + * @memberof ExpertDataDTO */ tags?: Array; /** - * - *@type {string} - *@memberof ExpertDataDTO + *\n * @type {string} + * @memberof ExpertDataDTO */ lecturerId?: string; } /** - * - *@export - *@interface FileInfoDTO + *\n * @export + * @interface FileInfoDTO */ export interface FileInfoDTO { /** - * - *@type {string} - *@memberof FileInfoDTO + *\n * @type {string} + * @memberof FileInfoDTO */ name?: string; /** - * - *@type {number} - *@memberof FileInfoDTO + *\n * @type {number} + * @memberof FileInfoDTO */ size?: number; /** - * - *@type {string} - *@memberof FileInfoDTO + *\n * @type {string} + * @memberof FileInfoDTO */ key?: string; /** - * - *@type {number} - *@memberof FileInfoDTO + *\n * @type {number} + * @memberof FileInfoDTO */ homeworkId?: number; } /** - * - *@export - *@interface FilesUploadBody + *\n * @export + * @interface FilesUploadBody */ export interface FilesUploadBody { /** - * - *@type {number} - *@memberof FilesUploadBody + *\n * @type {number} + * @memberof FilesUploadBody */ courseId?: number; /** - * - *@type {number} - *@memberof FilesUploadBody + *\n * @type {number} + * @memberof FilesUploadBody */ homeworkId?: number; /** - * - *@type {Blob} - *@memberof FilesUploadBody + *\n * @type {Blob} + * @memberof FilesUploadBody */ file: Blob; } /** - * - *@export - *@interface GetSolutionModel + *\n * @export + * @interface GetSolutionModel */ export interface GetSolutionModel { /** - * - *@type {Date} - *@memberof GetSolutionModel + *\n * @type {Date} + * @memberof GetSolutionModel */ ratingDate?: Date; /** - * - *@type {number} - *@memberof GetSolutionModel + *\n * @type {number} + * @memberof GetSolutionModel */ id?: number; /** - * - *@type {string} - *@memberof GetSolutionModel + *\n * @type {string} + * @memberof GetSolutionModel */ githubUrl?: string; /** - * - *@type {string} - *@memberof GetSolutionModel + *\n * @type {string} + * @memberof GetSolutionModel */ comment?: string; /** - * - *@type {SolutionState} - *@memberof GetSolutionModel + *\n * @type {SolutionState} + * @memberof GetSolutionModel */ state?: SolutionState; /** - * - *@type {number} - *@memberof GetSolutionModel + *\n * @type {number} + * @memberof GetSolutionModel */ rating?: number; /** - * - *@type {string} - *@memberof GetSolutionModel + *\n * @type {string} + * @memberof GetSolutionModel */ studentId?: string; /** - * - *@type {number} - *@memberof GetSolutionModel + *\n * @type {number} + * @memberof GetSolutionModel */ taskId?: number; /** - * - *@type {Date} - *@memberof GetSolutionModel + *\n * @type {Date} + * @memberof GetSolutionModel */ publicationDate?: Date; /** - * - *@type {string} - *@memberof GetSolutionModel + *\n * @type {string} + * @memberof GetSolutionModel */ lecturerComment?: string; /** - * - *@type {Array} - *@memberof GetSolutionModel + *\n * @type {Array} + * @memberof GetSolutionModel */ groupMates?: Array; /** - * - *@type {AccountDataDto} - *@memberof GetSolutionModel + *\n * @type {AccountDataDto} + * @memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - * - *@export - *@interface GetTaskQuestionDto + *\n * @export + * @interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - * - *@type {number} - *@memberof GetTaskQuestionDto + *\n * @type {number} + * @memberof GetTaskQuestionDto */ id?: number; /** - * - *@type {string} - *@memberof GetTaskQuestionDto + *\n * @type {string} + * @memberof GetTaskQuestionDto */ studentId?: string; /** - * - *@type {string} - *@memberof GetTaskQuestionDto + *\n * @type {string} + * @memberof GetTaskQuestionDto */ text?: string; /** - * - *@type {boolean} - *@memberof GetTaskQuestionDto + *\n * @type {boolean} + * @memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - * - *@type {string} - *@memberof GetTaskQuestionDto + *\n * @type {string} + * @memberof GetTaskQuestionDto */ answer?: string; /** - * - *@type {string} - *@memberof GetTaskQuestionDto + *\n * @type {string} + * @memberof GetTaskQuestionDto */ lecturerId?: string; } /** - * - *@export - *@interface GithubCredentials + *\n * @export + * @interface GithubCredentials */ export interface GithubCredentials { /** - * - *@type {string} - *@memberof GithubCredentials + *\n * @type {string} + * @memberof GithubCredentials */ githubId?: string; } /** - * - *@export - *@interface GroupMateViewModel + *\n * @export + * @interface GroupMateViewModel */ export interface GroupMateViewModel { /** - * - *@type {string} - *@memberof GroupMateViewModel + *\n * @type {string} + * @memberof GroupMateViewModel */ studentId?: string; } /** - * - *@export - *@interface GroupModel + *\n * @export + * @interface GroupModel */ export interface GroupModel { /** - * - *@type {string} - *@memberof GroupModel + *\n * @type {string} + * @memberof GroupModel */ groupName?: string; } /** - * - *@export - *@interface GroupViewModel + *\n * @export + * @interface GroupViewModel */ export interface GroupViewModel { /** - * - *@type {number} - *@memberof GroupViewModel + *\n * @type {number} + * @memberof GroupViewModel */ id?: number; /** - * - *@type {Array} - *@memberof GroupViewModel + *\n * @type {Array} + * @memberof GroupViewModel */ studentsIds?: Array; } /** - * - *@export - *@interface HomeworkSolutionsStats + *\n * @export + * @interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - * - *@type {string} - *@memberof HomeworkSolutionsStats + *\n * @type {string} + * @memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - * - *@type {Array} - *@memberof HomeworkSolutionsStats + *\n * @type {Array} + * @memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - * - *@export - *@interface HomeworkTaskForEditingViewModel + *\n * @export + * @interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - * - *@type {HomeworkTaskViewModel} - *@memberof HomeworkTaskForEditingViewModel + *\n * @type {HomeworkTaskViewModel} + * @memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - * - *@type {HomeworkViewModel} - *@memberof HomeworkTaskForEditingViewModel + *\n * @type {HomeworkViewModel} + * @memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - * - *@export - *@interface HomeworkTaskViewModel + *\n * @export + * @interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - * - *@type {number} - *@memberof HomeworkTaskViewModel + *\n * @type {number} + * @memberof HomeworkTaskViewModel */ id?: number; /** - * - *@type {string} - *@memberof HomeworkTaskViewModel + *\n * @type {string} + * @memberof HomeworkTaskViewModel */ title?: string; /** - * - *@type {Array} - *@memberof HomeworkTaskViewModel + *\n * @type {Array} + * @memberof HomeworkTaskViewModel */ tags?: Array; /** - * - *@type {string} - *@memberof HomeworkTaskViewModel + *\n * @type {string} + * @memberof HomeworkTaskViewModel */ description?: string; /** - * - *@type {number} - *@memberof HomeworkTaskViewModel + *\n * @type {number} + * @memberof HomeworkTaskViewModel */ maxRating?: number; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - * - *@type {Date} - *@memberof HomeworkTaskViewModel + *\n * @type {Date} + * @memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - * - *@type {Date} - *@memberof HomeworkTaskViewModel + *\n * @type {Date} + * @memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - * - *@type {number} - *@memberof HomeworkTaskViewModel + *\n * @type {number} + * @memberof HomeworkTaskViewModel */ homeworkId?: number; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModel + *\n * @type {boolean} + * @memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - * - *@export - *@interface HomeworkTaskViewModelResult + *\n * @export + * @interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - * - *@type {HomeworkTaskViewModel} - *@memberof HomeworkTaskViewModelResult + *\n * @type {HomeworkTaskViewModel} + * @memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - * - *@type {boolean} - *@memberof HomeworkTaskViewModelResult + *\n * @type {boolean} + * @memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - * - *@type {Array} - *@memberof HomeworkTaskViewModelResult + *\n * @type {Array} + * @memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - * - *@export - *@interface HomeworkUserTaskSolutions + *\n * @export + * @interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - * - *@type {string} - *@memberof HomeworkUserTaskSolutions + *\n * @type {string} + * @memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - * - *@type {Array} - *@memberof HomeworkUserTaskSolutions + *\n * @type {Array} + * @memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - * - *@export - *@interface HomeworkViewModel + *\n * @export + * @interface HomeworkViewModel */ export interface HomeworkViewModel { /** - * - *@type {number} - *@memberof HomeworkViewModel + *\n * @type {number} + * @memberof HomeworkViewModel */ id?: number; /** - * - *@type {string} - *@memberof HomeworkViewModel + *\n * @type {string} + * @memberof HomeworkViewModel */ title?: string; /** - * - *@type {string} - *@memberof HomeworkViewModel + *\n * @type {string} + * @memberof HomeworkViewModel */ description?: string; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ hasDeadline?: boolean; /** - * - *@type {Date} - *@memberof HomeworkViewModel + *\n * @type {Date} + * @memberof HomeworkViewModel */ deadlineDate?: Date; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - * - *@type {Date} - *@memberof HomeworkViewModel + *\n * @type {Date} + * @memberof HomeworkViewModel */ publicationDate?: Date; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - * - *@type {number} - *@memberof HomeworkViewModel + *\n * @type {number} + * @memberof HomeworkViewModel */ courseId?: number; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ isDeferred?: boolean; /** - * - *@type {boolean} - *@memberof HomeworkViewModel + *\n * @type {boolean} + * @memberof HomeworkViewModel */ isGroupWork?: boolean; /** - * - *@type {Array} - *@memberof HomeworkViewModel + *\n * @type {Array} + * @memberof HomeworkViewModel */ tags?: Array; /** - * - *@type {Array} - *@memberof HomeworkViewModel + *\n * @type {Array} + * @memberof HomeworkViewModel */ tasks?: Array; } /** - * - *@export - *@interface HomeworkViewModelResult + *\n * @export + * @interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - * - *@type {HomeworkViewModel} - *@memberof HomeworkViewModelResult + *\n * @type {HomeworkViewModel} + * @memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - * - *@type {boolean} - *@memberof HomeworkViewModelResult + *\n * @type {boolean} + * @memberof HomeworkViewModelResult */ succeeded?: boolean; /** - * - *@type {Array} - *@memberof HomeworkViewModelResult + *\n * @type {Array} + * @memberof HomeworkViewModelResult */ errors?: Array; } /** - * - *@export - *@interface HomeworksGroupSolutionStats + *\n * @export + * @interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - * - *@type {string} - *@memberof HomeworksGroupSolutionStats + *\n * @type {string} + * @memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - * - *@type {Array} - *@memberof HomeworksGroupSolutionStats + *\n * @type {Array} + * @memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - * - *@export - *@interface HomeworksGroupUserTaskSolutions + *\n * @export + * @interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - * - *@type {string} - *@memberof HomeworksGroupUserTaskSolutions + *\n * @type {string} + * @memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - * - *@type {Array} - *@memberof HomeworksGroupUserTaskSolutions + *\n * @type {Array} + * @memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - * - *@export - *@interface InviteExpertViewModel + *\n * @export + * @interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - * - *@type {string} - *@memberof InviteExpertViewModel + *\n * @type {string} + * @memberof InviteExpertViewModel */ userId?: string; /** - * - *@type {string} - *@memberof InviteExpertViewModel + *\n * @type {string} + * @memberof InviteExpertViewModel */ userEmail?: string; /** - * - *@type {number} - *@memberof InviteExpertViewModel + *\n * @type {number} + * @memberof InviteExpertViewModel */ courseId?: number; /** - * - *@type {Array} - *@memberof InviteExpertViewModel + *\n * @type {Array} + * @memberof InviteExpertViewModel */ studentIds?: Array; /** - * - *@type {Array} - *@memberof InviteExpertViewModel + *\n * @type {Array} + * @memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - * - *@export - *@interface InviteLecturerViewModel + *\n * @export + * @interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - * - *@type {string} - *@memberof InviteLecturerViewModel + *\n * @type {string} + * @memberof InviteLecturerViewModel */ email: string; } /** - * - *@export - *@interface InviteStudentViewModel + *\n * @export + * @interface InviteStudentViewModel */ export interface InviteStudentViewModel { /** - * - *@type {number} - *@memberof InviteStudentViewModel + *\n * @type {number} + * @memberof InviteStudentViewModel */ courseId?: number; /** - * - *@type {string} - *@memberof InviteStudentViewModel + *\n * @type {string} + * @memberof InviteStudentViewModel */ email?: string; /** - * - *@type {string} - *@memberof InviteStudentViewModel + *\n * @type {string} + * @memberof InviteStudentViewModel */ name?: string; /** - * - *@type {string} - *@memberof InviteStudentViewModel + *\n * @type {string} + * @memberof InviteStudentViewModel */ surname?: string; /** - * - *@type {string} - *@memberof InviteStudentViewModel + *\n * @type {string} + * @memberof InviteStudentViewModel */ middleName?: string; } /** - * - *@export - *@interface LoginViewModel + *\n * @export + * @interface LoginViewModel */ export interface LoginViewModel { /** - * - *@type {string} - *@memberof LoginViewModel + *\n * @type {string} + * @memberof LoginViewModel */ email: string; /** - * - *@type {string} - *@memberof LoginViewModel + *\n * @type {string} + * @memberof LoginViewModel */ password: string; /** - * - *@type {boolean} - *@memberof LoginViewModel + *\n * @type {boolean} + * @memberof LoginViewModel */ rememberMe: boolean; } /** - * - *@export - *@interface NotificationViewModel + *\n * @export + * @interface NotificationViewModel */ export interface NotificationViewModel { /** - * - *@type {number} - *@memberof NotificationViewModel + *\n * @type {number} + * @memberof NotificationViewModel */ id?: number; /** - * - *@type {string} - *@memberof NotificationViewModel + *\n * @type {string} + * @memberof NotificationViewModel */ sender?: string; /** - * - *@type {string} - *@memberof NotificationViewModel + *\n * @type {string} + * @memberof NotificationViewModel */ owner?: string; /** - * - *@type {CategoryState} - *@memberof NotificationViewModel + *\n * @type {CategoryState} + * @memberof NotificationViewModel */ category?: CategoryState; /** - * - *@type {string} - *@memberof NotificationViewModel + *\n * @type {string} + * @memberof NotificationViewModel */ body?: string; /** - * - *@type {boolean} - *@memberof NotificationViewModel + *\n * @type {boolean} + * @memberof NotificationViewModel */ hasSeen?: boolean; /** - * - *@type {Date} - *@memberof NotificationViewModel + *\n * @type {Date} + * @memberof NotificationViewModel */ date?: Date; } /** - * - *@export - *@interface NotificationsSettingDto + *\n * @export + * @interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - * - *@type {string} - *@memberof NotificationsSettingDto + *\n * @type {string} + * @memberof NotificationsSettingDto */ category?: string; /** - * - *@type {boolean} - *@memberof NotificationsSettingDto + *\n * @type {boolean} + * @memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - * - *@export - *@interface ProgramModel + *\n * @export + * @interface ProgramModel */ export interface ProgramModel { /** - * - *@type {string} - *@memberof ProgramModel + *\n * @type {string} + * @memberof ProgramModel */ programName?: string; } /** - * - *@export - *@interface RateSolutionModel + *\n * @export + * @interface RateSolutionModel */ export interface RateSolutionModel { /** - * - *@type {number} - *@memberof RateSolutionModel + *\n * @type {number} + * @memberof RateSolutionModel */ rating?: number; /** - * - *@type {string} - *@memberof RateSolutionModel + *\n * @type {string} + * @memberof RateSolutionModel */ lecturerComment?: string; } /** - * - *@export - *@interface RegisterExpertViewModel + *\n * @export + * @interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ name: string; /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ surname: string; /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ middleName?: string; /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ email: string; /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ bio?: string; /** - * - *@type {string} - *@memberof RegisterExpertViewModel + *\n * @type {string} + * @memberof RegisterExpertViewModel */ companyName?: string; /** - * - *@type {Array} - *@memberof RegisterExpertViewModel + *\n * @type {Array} + * @memberof RegisterExpertViewModel */ tags?: Array; } /** - * - *@export - *@interface RegisterViewModel + *\n * @export + * @interface RegisterViewModel */ export interface RegisterViewModel { /** - * - *@type {string} - *@memberof RegisterViewModel + *\n * @type {string} + * @memberof RegisterViewModel */ name: string; /** - * - *@type {string} - *@memberof RegisterViewModel + *\n * @type {string} + * @memberof RegisterViewModel */ surname: string; /** - * - *@type {string} - *@memberof RegisterViewModel + *\n * @type {string} + * @memberof RegisterViewModel */ middleName?: string; /** - * - *@type {string} - *@memberof RegisterViewModel + *\n * @type {string} + * @memberof RegisterViewModel */ email: string; } /** - * - *@export - *@interface RequestPasswordRecoveryViewModel + *\n * @export + * @interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - * - *@type {string} - *@memberof RequestPasswordRecoveryViewModel + *\n * @type {string} + * @memberof RequestPasswordRecoveryViewModel */ email: string; } /** - * - *@export - *@interface ResetPasswordViewModel + *\n * @export + * @interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - * - *@type {string} - *@memberof ResetPasswordViewModel + *\n * @type {string} + * @memberof ResetPasswordViewModel */ userId: string; /** - * - *@type {string} - *@memberof ResetPasswordViewModel + *\n * @type {string} + * @memberof ResetPasswordViewModel */ token: string; /** - * - *@type {string} - *@memberof ResetPasswordViewModel + *\n * @type {string} + * @memberof ResetPasswordViewModel */ password: string; /** - * - *@type {string} - *@memberof ResetPasswordViewModel + *\n * @type {string} + * @memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - * - *@export - *@interface Result + *\n * @export + * @interface Result */ export interface Result { /** - * - *@type {boolean} - *@memberof Result + *\n * @type {boolean} + * @memberof Result */ succeeded?: boolean; /** - * - *@type {Array} - *@memberof Result + *\n * @type {Array} + * @memberof Result */ errors?: Array; } /** - * - *@export - *@interface Solution + *\n * @export + * @interface Solution */ export interface Solution { /** - * - *@type {number} - *@memberof Solution + *\n * @type {number} + * @memberof Solution */ id?: number; /** - * - *@type {string} - *@memberof Solution + *\n * @type {string} + * @memberof Solution */ githubUrl?: string; /** - * - *@type {string} - *@memberof Solution + *\n * @type {string} + * @memberof Solution */ comment?: string; /** - * - *@type {SolutionState} - *@memberof Solution + *\n * @type {SolutionState} + * @memberof Solution */ state?: SolutionState; /** - * - *@type {number} - *@memberof Solution + *\n * @type {number} + * @memberof Solution */ rating?: number; /** - * - *@type {string} - *@memberof Solution + *\n * @type {string} + * @memberof Solution */ studentId?: string; /** - * - *@type {string} - *@memberof Solution + *\n * @type {string} + * @memberof Solution */ lecturerId?: string; /** - * - *@type {number} - *@memberof Solution + *\n * @type {number} + * @memberof Solution */ groupId?: number; /** - * - *@type {number} - *@memberof Solution + *\n * @type {number} + * @memberof Solution */ taskId?: number; /** - * - *@type {Date} - *@memberof Solution + *\n * @type {Date} + * @memberof Solution */ publicationDate?: Date; /** - * - *@type {Date} - *@memberof Solution + *\n * @type {Date} + * @memberof Solution */ ratingDate?: Date; /** - * - *@type {string} - *@memberof Solution + *\n * @type {string} + * @memberof Solution */ lecturerComment?: string; } /** - * - *@export - *@interface SolutionActualityDto + *\n * @export + * @interface SolutionActualityDto */ export interface SolutionActualityDto { /** - * - *@type {SolutionActualityPart} - *@memberof SolutionActualityDto + *\n * @type {SolutionActualityPart} + * @memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - * - *@type {SolutionActualityPart} - *@memberof SolutionActualityDto + *\n * @type {SolutionActualityPart} + * @memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - * - *@export - *@interface SolutionActualityPart + *\n * @export + * @interface SolutionActualityPart */ export interface SolutionActualityPart { /** - * - *@type {boolean} - *@memberof SolutionActualityPart + *\n * @type {boolean} + * @memberof SolutionActualityPart */ isActual?: boolean; /** - * - *@type {string} - *@memberof SolutionActualityPart + *\n * @type {string} + * @memberof SolutionActualityPart */ comment?: string; /** - * - *@type {string} - *@memberof SolutionActualityPart + *\n * @type {string} + * @memberof SolutionActualityPart */ additionalData?: string; } /** - * - *@export - *@interface SolutionPreviewView + *\n * @export + * @interface SolutionPreviewView */ export interface SolutionPreviewView { /** - * - *@type {number} - *@memberof SolutionPreviewView + *\n * @type {number} + * @memberof SolutionPreviewView */ solutionId?: number; /** - * - *@type {AccountDataDto} - *@memberof SolutionPreviewView + *\n * @type {AccountDataDto} + * @memberof SolutionPreviewView */ student?: AccountDataDto; /** - * - *@type {string} - *@memberof SolutionPreviewView + *\n * @type {string} + * @memberof SolutionPreviewView */ courseTitle?: string; /** - * - *@type {number} - *@memberof SolutionPreviewView + *\n * @type {number} + * @memberof SolutionPreviewView */ courseId?: number; /** - * - *@type {string} - *@memberof SolutionPreviewView + *\n * @type {string} + * @memberof SolutionPreviewView */ homeworkTitle?: string; /** - * - *@type {string} - *@memberof SolutionPreviewView + *\n * @type {string} + * @memberof SolutionPreviewView */ taskTitle?: string; /** - * - *@type {number} - *@memberof SolutionPreviewView + *\n * @type {number} + * @memberof SolutionPreviewView */ taskId?: number; /** - * - *@type {Date} - *@memberof SolutionPreviewView + *\n * @type {Date} + * @memberof SolutionPreviewView */ publicationDate?: Date; /** - * - *@type {number} - *@memberof SolutionPreviewView + *\n * @type {number} + * @memberof SolutionPreviewView */ groupId?: number; /** - * - *@type {boolean} - *@memberof SolutionPreviewView + *\n * @type {boolean} + * @memberof SolutionPreviewView */ isFirstTry?: boolean; /** - * - *@type {boolean} - *@memberof SolutionPreviewView + *\n * @type {boolean} + * @memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - * - *@type {boolean} - *@memberof SolutionPreviewView + *\n * @type {boolean} + * @memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - * - *@export - *@enum {string} + *\n * @export + * @enum {string} */ export enum SolutionState { NUMBER_0 = 0, @@ -1933,744 +1633,626 @@ export enum SolutionState { NUMBER_2 = 2 } /** - * - *@export - *@interface SolutionViewModel + *\n * @export + * @interface SolutionViewModel */ export interface SolutionViewModel { /** - * - *@type {string} - *@memberof SolutionViewModel + *\n * @type {string} + * @memberof SolutionViewModel */ githubUrl?: string; /** - * - *@type {string} - *@memberof SolutionViewModel + *\n * @type {string} + * @memberof SolutionViewModel */ comment?: string; /** - * - *@type {string} - *@memberof SolutionViewModel + *\n * @type {string} + * @memberof SolutionViewModel */ studentId?: string; /** - * - *@type {Array} - *@memberof SolutionViewModel + *\n * @type {Array} + * @memberof SolutionViewModel */ groupMateIds?: Array; /** - * - *@type {Date} - *@memberof SolutionViewModel + *\n * @type {Date} + * @memberof SolutionViewModel */ publicationDate?: Date; /** - * - *@type {string} - *@memberof SolutionViewModel + *\n * @type {string} + * @memberof SolutionViewModel */ lecturerComment?: string; /** - * - *@type {number} - *@memberof SolutionViewModel + *\n * @type {number} + * @memberof SolutionViewModel */ rating?: number; /** - * - *@type {Date} - *@memberof SolutionViewModel + *\n * @type {Date} + * @memberof SolutionViewModel */ ratingDate?: Date; } /** - * - *@export - *@interface StatisticsCourseHomeworksModel + *\n * @export + * @interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - * - *@type {number} - *@memberof StatisticsCourseHomeworksModel + *\n * @type {number} + * @memberof StatisticsCourseHomeworksModel */ id?: number; /** - * - *@type {Array} - *@memberof StatisticsCourseHomeworksModel + *\n * @type {Array} + * @memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - * - *@export - *@interface StatisticsCourseMatesModel + *\n * @export + * @interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - * - *@type {string} - *@memberof StatisticsCourseMatesModel + *\n * @type {string} + * @memberof StatisticsCourseMatesModel */ id?: string; /** - * - *@type {string} - *@memberof StatisticsCourseMatesModel + *\n * @type {string} + * @memberof StatisticsCourseMatesModel */ name?: string; /** - * - *@type {string} - *@memberof StatisticsCourseMatesModel + *\n * @type {string} + * @memberof StatisticsCourseMatesModel */ surname?: string; /** - * - *@type {Array} - *@memberof StatisticsCourseMatesModel + *\n * @type {Array} + * @memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - * - *@type {Array} - *@memberof StatisticsCourseMatesModel + *\n * @type {Array} + * @memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - * - *@export - *@interface StatisticsCourseMeasureSolutionModel + *\n * @export + * @interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - * - *@type {number} - *@memberof StatisticsCourseMeasureSolutionModel + *\n * @type {number} + * @memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - * - *@type {number} - *@memberof StatisticsCourseMeasureSolutionModel + *\n * @type {number} + * @memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - * - *@type {Date} - *@memberof StatisticsCourseMeasureSolutionModel + *\n * @type {Date} + * @memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - * - *@export - *@interface StatisticsCourseTasksModel + *\n * @export + * @interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - * - *@type {number} - *@memberof StatisticsCourseTasksModel + *\n * @type {number} + * @memberof StatisticsCourseTasksModel */ id?: number; /** - * - *@type {Array} - *@memberof StatisticsCourseTasksModel + *\n * @type {Array} + * @memberof StatisticsCourseTasksModel */ solution?: Array; } /** - * - *@export - *@interface StatisticsLecturersModel + *\n * @export + * @interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - * - *@type {AccountDataDto} - *@memberof StatisticsLecturersModel + *\n * @type {AccountDataDto} + * @memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - * - *@type {number} - *@memberof StatisticsLecturersModel + *\n * @type {number} + * @memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - * - *@type {number} - *@memberof StatisticsLecturersModel + *\n * @type {number} + * @memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - * - *@export - *@interface StudentCharacteristicsDto + *\n * @export + * @interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - * - *@type {Array} - *@memberof StudentCharacteristicsDto + *\n * @type {Array} + * @memberof StudentCharacteristicsDto */ tags?: Array; /** - * - *@type {string} - *@memberof StudentCharacteristicsDto + *\n * @type {string} + * @memberof StudentCharacteristicsDto */ description?: string; } /** - * - *@export - *@interface StudentDataDto + *\n * @export + * @interface StudentDataDto */ export interface StudentDataDto { /** - * - *@type {StudentCharacteristicsDto} - *@memberof StudentDataDto + *\n * @type {StudentCharacteristicsDto} + * @memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ userId?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ name?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ surname?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ middleName?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ email?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ role?: string; /** - * - *@type {boolean} - *@memberof StudentDataDto + *\n * @type {boolean} + * @memberof StudentDataDto */ isExternalAuth?: boolean; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ githubId?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ bio?: string; /** - * - *@type {string} - *@memberof StudentDataDto + *\n * @type {string} + * @memberof StudentDataDto */ companyName?: string; } /** - * - *@export - *@interface SystemInfo + *\n * @export + * @interface SystemInfo */ export interface SystemInfo { /** - * - *@type {string} - *@memberof SystemInfo + *\n * @type {string} + * @memberof SystemInfo */ service?: string; /** - * - *@type {boolean} - *@memberof SystemInfo + *\n * @type {boolean} + * @memberof SystemInfo */ isAvailable?: boolean; } /** - * - *@export - *@interface TaskDeadlineDto + *\n * @export + * @interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - * - *@type {number} - *@memberof TaskDeadlineDto + *\n * @type {number} + * @memberof TaskDeadlineDto */ taskId?: number; /** - * - *@type {Array} - *@memberof TaskDeadlineDto + *\n * @type {Array} + * @memberof TaskDeadlineDto */ tags?: Array; /** - * - *@type {string} - *@memberof TaskDeadlineDto + *\n * @type {string} + * @memberof TaskDeadlineDto */ taskTitle?: string; /** - * - *@type {string} - *@memberof TaskDeadlineDto + *\n * @type {string} + * @memberof TaskDeadlineDto */ courseTitle?: string; /** - * - *@type {number} - *@memberof TaskDeadlineDto + *\n * @type {number} + * @memberof TaskDeadlineDto */ courseId?: number; /** - * - *@type {number} - *@memberof TaskDeadlineDto + *\n * @type {number} + * @memberof TaskDeadlineDto */ homeworkId?: number; /** - * - *@type {number} - *@memberof TaskDeadlineDto + *\n * @type {number} + * @memberof TaskDeadlineDto */ maxRating?: number; /** - * - *@type {Date} - *@memberof TaskDeadlineDto + *\n * @type {Date} + * @memberof TaskDeadlineDto */ publicationDate?: Date; /** - * - *@type {Date} - *@memberof TaskDeadlineDto + *\n * @type {Date} + * @memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - * - *@export - *@interface TaskDeadlineView + *\n * @export + * @interface TaskDeadlineView */ export interface TaskDeadlineView { /** - * - *@type {TaskDeadlineDto} - *@memberof TaskDeadlineView + *\n * @type {TaskDeadlineDto} + * @memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - * - *@type {SolutionState} - *@memberof TaskDeadlineView + *\n * @type {SolutionState} + * @memberof TaskDeadlineView */ solutionState?: SolutionState; /** - * - *@type {number} - *@memberof TaskDeadlineView + *\n * @type {number} + * @memberof TaskDeadlineView */ rating?: number; /** - * - *@type {number} - *@memberof TaskDeadlineView + *\n * @type {number} + * @memberof TaskDeadlineView */ maxRating?: number; /** - * - *@type {boolean} - *@memberof TaskDeadlineView + *\n * @type {boolean} + * @memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - * - *@export - *@interface TaskSolutionStatisticsPageData + *\n * @export + * @interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - * - *@type {Array} - *@memberof TaskSolutionStatisticsPageData + *\n * @type {Array} + * @memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - * - *@type {number} - *@memberof TaskSolutionStatisticsPageData + *\n * @type {number} + * @memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - * - *@type {Array} - *@memberof TaskSolutionStatisticsPageData + *\n * @type {Array} + * @memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - * - *@export - *@interface TaskSolutions + *\n * @export + * @interface TaskSolutions */ export interface TaskSolutions { /** - * - *@type {number} - *@memberof TaskSolutions + *\n * @type {number} + * @memberof TaskSolutions */ taskId?: number; /** - * - *@type {Array} - *@memberof TaskSolutions + *\n * @type {Array} + * @memberof TaskSolutions */ studentSolutions?: Array; } /** - * - *@export - *@interface TaskSolutionsStats + *\n * @export + * @interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - * - *@type {number} - *@memberof TaskSolutionsStats + *\n * @type {number} + * @memberof TaskSolutionsStats */ taskId?: number; /** - * - *@type {number} - *@memberof TaskSolutionsStats + *\n * @type {number} + * @memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - * - *@type {string} - *@memberof TaskSolutionsStats + *\n * @type {string} + * @memberof TaskSolutionsStats */ title?: string; /** - * - *@type {Array} - *@memberof TaskSolutionsStats + *\n * @type {Array} + * @memberof TaskSolutionsStats */ tags?: Array; } /** - * - *@export - *@interface TokenCredentials + *\n * @export + * @interface TokenCredentials */ export interface TokenCredentials { /** - * - *@type {string} - *@memberof TokenCredentials + *\n * @type {string} + * @memberof TokenCredentials */ accessToken?: string; } /** - * - *@export - *@interface TokenCredentialsResult + *\n * @export + * @interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - * - *@type {TokenCredentials} - *@memberof TokenCredentialsResult + *\n * @type {TokenCredentials} + * @memberof TokenCredentialsResult */ value?: TokenCredentials; /** - * - *@type {boolean} - *@memberof TokenCredentialsResult + *\n * @type {boolean} + * @memberof TokenCredentialsResult */ succeeded?: boolean; /** - * - *@type {Array} - *@memberof TokenCredentialsResult + *\n * @type {Array} + * @memberof TokenCredentialsResult */ errors?: Array; } /** - * - *@export - *@interface UnratedSolutionPreviews + *\n * @export + * @interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - * - *@type {Array} - *@memberof UnratedSolutionPreviews + *\n * @type {Array} + * @memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - * - *@export - *@interface UpdateCourseViewModel + *\n * @export + * @interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - * - *@type {string} - *@memberof UpdateCourseViewModel + *\n * @type {string} + * @memberof UpdateCourseViewModel */ name: string; /** - * - *@type {string} - *@memberof UpdateCourseViewModel + *\n * @type {string} + * @memberof UpdateCourseViewModel */ groupName?: string; /** - * - *@type {boolean} - *@memberof UpdateCourseViewModel + *\n * @type {boolean} + * @memberof UpdateCourseViewModel */ isOpen: boolean; /** - * - *@type {boolean} - *@memberof UpdateCourseViewModel + *\n * @type {boolean} + * @memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - * - *@export - *@interface UpdateExpertTagsDTO + *\n * @export + * @interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - * - *@type {string} - *@memberof UpdateExpertTagsDTO + *\n * @type {string} + * @memberof UpdateExpertTagsDTO */ expertId?: string; /** - * - *@type {Array} - *@memberof UpdateExpertTagsDTO + *\n * @type {Array} + * @memberof UpdateExpertTagsDTO */ tags?: Array; } /** - * - *@export - *@interface UpdateGroupViewModel + *\n * @export + * @interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - * - *@type {string} - *@memberof UpdateGroupViewModel + *\n * @type {string} + * @memberof UpdateGroupViewModel */ name?: string; /** - * - *@type {Array} - *@memberof UpdateGroupViewModel + *\n * @type {Array} + * @memberof UpdateGroupViewModel */ tasks?: Array; /** - * - *@type {Array} - *@memberof UpdateGroupViewModel + *\n * @type {Array} + * @memberof UpdateGroupViewModel */ groupMates?: Array; } /** - * - *@export - *@interface UrlDto + *\n * @export + * @interface UrlDto */ export interface UrlDto { /** - * - *@type {string} - *@memberof UrlDto + *\n * @type {string} + * @memberof UrlDto */ url?: string; } /** - * - *@export - *@interface UserDataDto + *\n * @export + * @interface UserDataDto */ export interface UserDataDto { /** - * - *@type {AccountDataDto} - *@memberof UserDataDto + *\n * @type {AccountDataDto} + * @memberof UserDataDto */ userData?: AccountDataDto; /** - * - *@type {Array} - *@memberof UserDataDto + *\n * @type {Array} + * @memberof UserDataDto */ courseEvents?: Array; /** - * - *@type {Array} - *@memberof UserDataDto + *\n * @type {Array} + * @memberof UserDataDto */ taskDeadlines?: Array; } /** - * - *@export - *@interface UserTaskSolutions + *\n * @export + * @interface UserTaskSolutions */ export interface UserTaskSolutions { /** - * - *@type {Array} - *@memberof UserTaskSolutions + *\n * @type {Array} + * @memberof UserTaskSolutions */ solutions?: Array; /** - * - *@type {StudentDataDto} - *@memberof UserTaskSolutions + *\n * @type {StudentDataDto} + * @memberof UserTaskSolutions */ student?: StudentDataDto; } /** - * - *@export - *@interface UserTaskSolutions2 + *\n * @export + * @interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - * - *@type {number} - *@memberof UserTaskSolutions2 + *\n * @type {number} + * @memberof UserTaskSolutions2 */ maxRating?: number; /** - * - *@type {string} - *@memberof UserTaskSolutions2 + *\n * @type {string} + * @memberof UserTaskSolutions2 */ title?: string; /** - * - *@type {Array} - *@memberof UserTaskSolutions2 + *\n * @type {Array} + * @memberof UserTaskSolutions2 */ tags?: Array; /** - * - *@type {string} - *@memberof UserTaskSolutions2 + *\n * @type {string} + * @memberof UserTaskSolutions2 */ taskId?: string; /** - * - *@type {Array} - *@memberof UserTaskSolutions2 + *\n * @type {Array} + * @memberof UserTaskSolutions2 */ solutions?: Array; } /** - * - *@export - *@interface UserTaskSolutionsPageData + *\n * @export + * @interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - * - *@type {number} - *@memberof UserTaskSolutionsPageData + *\n * @type {number} + * @memberof UserTaskSolutionsPageData */ courseId?: number; /** - * - *@type {Array} - *@memberof UserTaskSolutionsPageData + *\n * @type {Array} + * @memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - * - *@type {Array} - *@memberof UserTaskSolutionsPageData + *\n * @type {Array} + * @memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - * - *@export - *@interface WorkspaceViewModel + *\n * @export + * @interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - * - *@type {Array} - *@memberof WorkspaceViewModel + *\n * @type {Array} + * @memberof WorkspaceViewModel */ students?: Array; /** - * - *@type {Array} - *@memberof WorkspaceViewModel + *\n * @type {Array} + * @memberof WorkspaceViewModel */ homeworks?: Array; } /** - *AccountApi - fetch parameter creator - *@export + * AccountApi - fetch parameter creator + * @export */ export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {string} [code] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [code] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountAuthorizeGithub(code?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Account/github/authorize`; @@ -2702,10 +2284,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {EditAccountViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {EditAccountViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/edit`; @@ -2737,9 +2318,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetAllStudents(options: any = {}): FetchArgs { const localVarPath = `/api/Account/getAllStudents`; @@ -2767,10 +2347,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {UrlDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UrlDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options: any = {}): FetchArgs { const localVarPath = `/api/Account/github/url`; @@ -2802,9 +2381,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserData(options: any = {}): FetchArgs { const localVarPath = `/api/Account/getUserData`; @@ -2832,10 +2410,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {string} userId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserDataById(userId: string, options: any = {}): FetchArgs { // verify required parameter 'userId' is not null or undefined @@ -2868,10 +2445,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {InviteLecturerViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteLecturerViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/inviteNewLecturer`; @@ -2903,10 +2479,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {LoginViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {LoginViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountLogin(body?: LoginViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/login`; @@ -2938,9 +2513,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRefreshToken(options: any = {}): FetchArgs { const localVarPath = `/api/Account/refreshToken`; @@ -2968,10 +2542,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {RegisterViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/register`; @@ -3003,10 +2576,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {RequestPasswordRecoveryViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RequestPasswordRecoveryViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/requestPasswordRecovery`; @@ -3038,10 +2610,9 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {ResetPasswordViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {ResetPasswordViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Account/resetPassword`; @@ -3076,16 +2647,15 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; /** - *AccountApi - functional programming interface - *@export + * AccountApi - functional programming interface + * @export */ export const AccountApiFp = function(configuration?: Configuration) { return { /** - * - *@param {string} [code] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [code] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountAuthorizeGithub(code?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountAuthorizeGithub(code, options); @@ -3100,10 +2670,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {EditAccountViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {EditAccountViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountEdit(body, options); @@ -3118,9 +2687,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetAllStudents(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetAllStudents(options); @@ -3135,10 +2703,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {UrlDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UrlDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetGithubLoginUrl(body, options); @@ -3153,9 +2720,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserData(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetUserData(options); @@ -3170,10 +2736,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {string} userId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserDataById(userId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetUserDataById(userId, options); @@ -3188,10 +2753,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {InviteLecturerViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteLecturerViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountInviteNewLecturer(body, options); @@ -3206,10 +2770,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {LoginViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {LoginViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountLogin(body?: LoginViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountLogin(body, options); @@ -3224,9 +2787,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRefreshToken(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRefreshToken(options); @@ -3241,10 +2803,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {RegisterViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRegister(body, options); @@ -3259,10 +2820,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {RequestPasswordRecoveryViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RequestPasswordRecoveryViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountRequestPasswordRecovery(body, options); @@ -3277,10 +2837,9 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {ResetPasswordViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {ResetPasswordViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountResetPassword(body, options); @@ -3298,112 +2857,100 @@ export const AccountApiFp = function(configuration?: Configuration) { }; /** - *AccountApi - factory interface - *@export + * AccountApi - factory interface + * @export */ export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {string} [code] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [code] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - * - *@param {EditAccountViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {EditAccountViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetAllStudents(options?: any) { return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - * - *@param {UrlDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UrlDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserData(options?: any) { return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - * - *@param {string} userId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - * - *@param {InviteLecturerViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteLecturerViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - * - *@param {LoginViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {LoginViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRefreshToken(options?: any) { return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - * - *@param {RegisterViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - * - *@param {RequestPasswordRecoveryViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RequestPasswordRecoveryViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - * - *@param {ResetPasswordViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {ResetPasswordViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(configuration).accountResetPassword(body, options)(fetch, basePath); @@ -3412,136 +2959,124 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? }; /** - *AccountApi - object-oriented interface - *@export - *@class AccountApi - *@extends {BaseAPI} + * AccountApi - object-oriented interface + * @export + * @class AccountApi + * @extends {BaseAPI} */ export class AccountApi extends BaseAPI { /** - * - *@param {string} [code] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {string} [code] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountAuthorizeGithub(code?: string, options?: any) { return AccountApiFp(this.configuration).accountAuthorizeGithub(code, options)(this.fetch, this.basePath); } /** - * - *@param {EditAccountViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {EditAccountViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountEdit(body?: EditAccountViewModel, options?: any) { return AccountApiFp(this.configuration).accountEdit(body, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountGetAllStudents(options?: any) { return AccountApiFp(this.configuration).accountGetAllStudents(options)(this.fetch, this.basePath); } /** - * - *@param {UrlDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {UrlDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(this.configuration).accountGetGithubLoginUrl(body, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountGetUserData(options?: any) { return AccountApiFp(this.configuration).accountGetUserData(options)(this.fetch, this.basePath); } /** - * - *@param {string} userId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountGetUserDataById(userId: string, options?: any) { return AccountApiFp(this.configuration).accountGetUserDataById(userId, options)(this.fetch, this.basePath); } /** - * - *@param {InviteLecturerViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {InviteLecturerViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountInviteNewLecturer(body?: InviteLecturerViewModel, options?: any) { return AccountApiFp(this.configuration).accountInviteNewLecturer(body, options)(this.fetch, this.basePath); } /** - * - *@param {LoginViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {LoginViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(this.configuration).accountLogin(body, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountRefreshToken(options?: any) { return AccountApiFp(this.configuration).accountRefreshToken(options)(this.fetch, this.basePath); } /** - * - *@param {RegisterViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {RegisterViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountRegister(body?: RegisterViewModel, options?: any) { return AccountApiFp(this.configuration).accountRegister(body, options)(this.fetch, this.basePath); } /** - * - *@param {RequestPasswordRecoveryViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {RequestPasswordRecoveryViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountRequestPasswordRecovery(body?: RequestPasswordRecoveryViewModel, options?: any) { return AccountApiFp(this.configuration).accountRequestPasswordRecovery(body, options)(this.fetch, this.basePath); } /** - * - *@param {ResetPasswordViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof AccountApi + *\n * @param {ResetPasswordViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi */ public accountResetPassword(body?: ResetPasswordViewModel, options?: any) { return AccountApiFp(this.configuration).accountResetPassword(body, options)(this.fetch, this.basePath); @@ -3549,18 +3084,17 @@ export class AccountApi extends BaseAPI { } /** - *CourseGroupsApi - fetch parameter creator - *@export + * CourseGroupsApi - fetch parameter creator + * @export */ export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3602,11 +3136,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {CreateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3643,11 +3176,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3685,10 +3217,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3721,10 +3252,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3757,10 +3287,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options: any = {}): FetchArgs { // verify required parameter 'groupId' is not null or undefined @@ -3793,10 +3322,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options: any = {}): FetchArgs { // verify required parameter 'groupId' is not null or undefined @@ -3829,12 +3357,11 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3876,12 +3403,11 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {UpdateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -3926,18 +3452,17 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; /** - *CourseGroupsApi - functional programming interface - *@export + * CourseGroupsApi - functional programming interface + * @export */ export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options); @@ -3952,11 +3477,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {CreateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsCreateCourseGroup(courseId, body, options); @@ -3971,11 +3495,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options); @@ -3990,10 +3513,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetAllCourseGroups(courseId, options); @@ -4008,10 +3530,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetCourseGroupsById(courseId, options); @@ -4026,10 +3547,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetGroup(groupId, options); @@ -4044,10 +3564,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsGetGroupTasks(groupId, options); @@ -4062,12 +3581,11 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options); @@ -4082,12 +3600,11 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {UpdateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CourseGroupsApiFetchParamCreator(configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options); @@ -4105,96 +3622,87 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; /** - *CourseGroupsApi - factory interface - *@export + * CourseGroupsApi - factory interface + * @export */ export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {CreateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {number} groupId - *@param {UpdateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(fetch, basePath); @@ -4203,114 +3711,105 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f }; /** - *CourseGroupsApi - object-oriented interface - *@export - *@class CourseGroupsApi - *@extends {BaseAPI} + * CourseGroupsApi - object-oriented interface + * @export + * @class CourseGroupsApi + * @extends {BaseAPI} */ export class CourseGroupsApi extends BaseAPI { /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsAddStudentInGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {CreateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {CreateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsCreateCourseGroup(courseId: number, body?: CreateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsCreateCourseGroup(courseId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsDeleteCourseGroup(courseId: number, groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsGetAllCourseGroups(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetAllCourseGroups(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsGetCourseGroupsById(courseId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetCourseGroupsById(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsGetGroup(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroup(groupId, options)(this.fetch, this.basePath); } /** - * - *@param {number} groupId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} groupId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsGetGroupTasks(groupId: number, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsGetGroupTasks(groupId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {number} groupId - *@param {string} [userId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsRemoveStudentFromGroup(courseId: number, groupId: number, userId?: string, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {number} groupId - *@param {UpdateGroupViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CourseGroupsApi + *\n * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CourseGroupsApi */ public courseGroupsUpdateCourseGroup(courseId: number, groupId: number, body?: UpdateGroupViewModel, options?: any) { return CourseGroupsApiFp(this.configuration).courseGroupsUpdateCourseGroup(courseId, groupId, body, options)(this.fetch, this.basePath); @@ -4318,17 +3817,16 @@ export class CourseGroupsApi extends BaseAPI { } /** - *CoursesApi - fetch parameter creator - *@export + * CoursesApi - fetch parameter creator + * @export */ export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {string} lecturerEmail - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} lecturerEmail + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4366,11 +3864,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4408,10 +3905,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {CreateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {CreateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/create`; @@ -4443,10 +3939,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesDeleteCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4479,12 +3974,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {EditMentorWorkspaceDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4526,10 +4020,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4562,9 +4055,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourses(options: any = {}): FetchArgs { const localVarPath = `/api/Courses`; @@ -4592,10 +4084,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4628,9 +4119,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllUserCourses(options: any = {}): FetchArgs { const localVarPath = `/api/Courses/userCourses`; @@ -4658,10 +4148,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetCourseData(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4694,10 +4183,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {string} [programName] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [programName] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetGroups(programName?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/getGroups`; @@ -4729,10 +4217,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4765,11 +4252,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4807,9 +4293,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetProgramNames(options: any = {}): FetchArgs { const localVarPath = `/api/Courses/getProgramNames`; @@ -4837,10 +4322,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {InviteStudentViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Courses/inviteExistentStudent`; @@ -4872,11 +4356,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4914,10 +4397,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesSignInCourse(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4950,11 +4432,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {UpdateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {UpdateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -4991,12 +4472,11 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {StudentCharacteristicsDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -5041,17 +4521,16 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; /** - *CoursesApi - functional programming interface - *@export + * CoursesApi - functional programming interface + * @export */ export const CoursesApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {string} lecturerEmail - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} lecturerEmail + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options); @@ -5066,11 +4545,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesAcceptStudent(courseId, studentId, options); @@ -5085,10 +4563,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {CreateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {CreateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesCreateCourse(body, options); @@ -5103,10 +4580,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesDeleteCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesDeleteCourse(courseId, options); @@ -5121,12 +4597,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {EditMentorWorkspaceDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options); @@ -5141,10 +4616,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllCourseData(courseId, options); @@ -5159,9 +4633,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllCourses(options); @@ -5176,10 +4649,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllTagsForCourse(courseId, options); @@ -5194,9 +4666,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllUserCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetAllUserCourses(options); @@ -5211,10 +4682,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetCourseData(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetCourseData(courseId, options); @@ -5229,10 +4699,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {string} [programName] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [programName] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetGroups(programName?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetGroups(programName, options); @@ -5247,10 +4716,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetLecturersAvailableForCourse(courseId, options); @@ -5265,11 +4733,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetMentorWorkspace(courseId, mentorId, options); @@ -5284,9 +4751,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetProgramNames(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesGetProgramNames(options); @@ -5301,10 +4767,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {InviteStudentViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesInviteStudent(body, options); @@ -5319,11 +4784,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesRejectStudent(courseId, studentId, options); @@ -5338,10 +4802,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesSignInCourse(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesSignInCourse(courseId, options); @@ -5356,11 +4819,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {UpdateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {UpdateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateCourse(courseId, body, options); @@ -5375,12 +4837,11 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {StudentCharacteristicsDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = CoursesApiFetchParamCreator(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options); @@ -5398,184 +4859,165 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; /** - *CoursesApi - factory interface - *@export + * CoursesApi - factory interface + * @export */ export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} courseId - *@param {string} lecturerEmail - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} lecturerEmail + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - *@param {CreateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {CreateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {EditMentorWorkspaceDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetAllUserCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - * - *@param {string} [programName] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [programName] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} mentorId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesGetProgramNames(options?: any) { return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - * - *@param {InviteStudentViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { return CoursesApiFp(configuration).coursesInviteStudent(body, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {UpdateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {UpdateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {string} studentId - *@param {StudentCharacteristicsDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(fetch, basePath); @@ -5584,222 +5026,203 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? }; /** - *CoursesApi - object-oriented interface - *@export - *@class CoursesApi - *@extends {BaseAPI} + * CoursesApi - object-oriented interface + * @export + * @class CoursesApi + * @extends {BaseAPI} */ export class CoursesApi extends BaseAPI { /** - * - *@param {number} courseId - *@param {string} lecturerEmail - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} lecturerEmail + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesAcceptLecturer(courseId: number, lecturerEmail: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesAcceptStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesAcceptStudent(courseId, studentId, options)(this.fetch, this.basePath); } /** - * - *@param {CreateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {CreateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesCreateCourse(body?: CreateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesCreateCourse(body, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesDeleteCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesDeleteCourse(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {EditMentorWorkspaceDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesEditMentorWorkspace(courseId: number, mentorId: string, body?: EditMentorWorkspaceDTO, options?: any) { return CoursesApiFp(this.configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetAllCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourseData(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetAllCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllCourses(options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetAllTagsForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetAllTagsForCourse(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetAllUserCourses(options?: any) { return CoursesApiFp(this.configuration).coursesGetAllUserCourses(options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetCourseData(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetCourseData(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {string} [programName] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {string} [programName] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetGroups(programName?: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetGroups(programName, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetLecturersAvailableForCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesGetLecturersAvailableForCourse(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {string} mentorId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} mentorId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetMentorWorkspace(courseId: number, mentorId: string, options?: any) { return CoursesApiFp(this.configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesGetProgramNames(options?: any) { return CoursesApiFp(this.configuration).coursesGetProgramNames(options)(this.fetch, this.basePath); } /** - * - *@param {InviteStudentViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {InviteStudentViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesInviteStudent(body?: InviteStudentViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesInviteStudent(body, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesRejectStudent(courseId: number, studentId: string, options?: any) { return CoursesApiFp(this.configuration).coursesRejectStudent(courseId, studentId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesSignInCourse(courseId: number, options?: any) { return CoursesApiFp(this.configuration).coursesSignInCourse(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {UpdateCourseViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {UpdateCourseViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesUpdateCourse(courseId: number, body?: UpdateCourseViewModel, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateCourse(courseId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {string} studentId - *@param {StudentCharacteristicsDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof CoursesApi + *\n * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CoursesApi */ public coursesUpdateStudentCharacteristics(courseId: number, studentId: string, body?: StudentCharacteristicsDto, options?: any) { return CoursesApiFp(this.configuration).coursesUpdateStudentCharacteristics(courseId, studentId, body, options)(this.fetch, this.basePath); @@ -5807,15 +5230,14 @@ export class CoursesApi extends BaseAPI { } /** - *ExpertsApi - fetch parameter creator - *@export + * ExpertsApi - fetch parameter creator + * @export */ export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetAll(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/getAll`; @@ -5843,9 +5265,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetIsProfileEdited(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/isProfileEdited`; @@ -5873,10 +5294,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetStudentToken(expertEmail?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/getStudentToken`; @@ -5908,10 +5328,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetToken(expertEmail?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/getToken`; @@ -5943,10 +5362,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {InviteExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/invite`; @@ -5978,10 +5396,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/login`; @@ -6013,10 +5430,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLoginWithToken(body?: TokenCredentials, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/loginWithToken`; @@ -6048,10 +5464,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {RegisterExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/register`; @@ -6083,9 +5498,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsSetProfileIsEdited(options: any = {}): FetchArgs { const localVarPath = `/api/Experts/setProfileIsEdited`; @@ -6113,10 +5527,9 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - * - *@param {UpdateExpertTagsDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UpdateExpertTagsDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options: any = {}): FetchArgs { const localVarPath = `/api/Experts/updateTags`; @@ -6151,15 +5564,14 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; /** - *ExpertsApi - functional programming interface - *@export + * ExpertsApi - functional programming interface + * @export */ export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetAll(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetAll(options); @@ -6174,9 +5586,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetIsProfileEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetIsProfileEdited(options); @@ -6191,10 +5602,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetStudentToken(expertEmail?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetStudentToken(expertEmail, options); @@ -6209,10 +5619,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetToken(expertEmail?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetToken(expertEmail, options); @@ -6227,10 +5636,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {InviteExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsInvite(body, options); @@ -6245,10 +5653,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsLogin(body, options); @@ -6263,10 +5670,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLoginWithToken(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsLoginWithToken(body, options); @@ -6281,10 +5687,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {RegisterExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsRegister(body, options); @@ -6299,9 +5704,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsSetProfileIsEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsSetProfileIsEdited(options); @@ -6316,10 +5720,9 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {UpdateExpertTagsDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UpdateExpertTagsDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsUpdateTags(body, options); @@ -6337,94 +5740,84 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; /** - *ExpertsApi - factory interface - *@export + * ExpertsApi - factory interface + * @export */ export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetAll(options?: any) { return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetStudentToken(expertEmail?: string, options?: any) { return ExpertsApiFp(configuration).expertsGetStudentToken(expertEmail, options)(fetch, basePath); }, /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - * - *@param {InviteExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {InviteExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsLoginWithToken(body?: TokenCredentials, options?: any) { return ExpertsApiFp(configuration).expertsLoginWithToken(body, options)(fetch, basePath); }, /** - * - *@param {RegisterExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {RegisterExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - * - *@param {UpdateExpertTagsDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {UpdateExpertTagsDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(configuration).expertsUpdateTags(body, options)(fetch, basePath); @@ -6433,114 +5826,104 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? }; /** - *ExpertsApi - object-oriented interface - *@export - *@class ExpertsApi - *@extends {BaseAPI} + * ExpertsApi - object-oriented interface + * @export + * @class ExpertsApi + * @extends {BaseAPI} */ export class ExpertsApi extends BaseAPI { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsGetAll(options?: any) { return ExpertsApiFp(this.configuration).expertsGetAll(options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsGetIsProfileEdited(options)(this.fetch, this.basePath); } /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsGetStudentToken(expertEmail?: string, options?: any) { return ExpertsApiFp(this.configuration).expertsGetStudentToken(expertEmail, options)(this.fetch, this.basePath); } /** - * - *@param {string} [expertEmail] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {string} [expertEmail] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsGetToken(expertEmail?: string, options?: any) { return ExpertsApiFp(this.configuration).expertsGetToken(expertEmail, options)(this.fetch, this.basePath); } /** - * - *@param {InviteExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {InviteExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsInvite(body?: InviteExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsInvite(body, options)(this.fetch, this.basePath); } /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(this.configuration).expertsLogin(body, options)(this.fetch, this.basePath); } /** - * - *@param {TokenCredentials} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsLoginWithToken(body?: TokenCredentials, options?: any) { return ExpertsApiFp(this.configuration).expertsLoginWithToken(body, options)(this.fetch, this.basePath); } /** - * - *@param {RegisterExpertViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {RegisterExpertViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsRegister(body?: RegisterExpertViewModel, options?: any) { return ExpertsApiFp(this.configuration).expertsRegister(body, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(this.configuration).expertsSetProfileIsEdited(options)(this.fetch, this.basePath); } /** - * - *@param {UpdateExpertTagsDTO} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof ExpertsApi + *\n * @param {UpdateExpertTagsDTO} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExpertsApi */ public expertsUpdateTags(body?: UpdateExpertTagsDTO, options?: any) { return ExpertsApiFp(this.configuration).expertsUpdateTags(body, options)(this.fetch, this.basePath); @@ -6548,17 +5931,16 @@ export class ExpertsApi extends BaseAPI { } /** - *FilesApi - fetch parameter creator - *@export + * FilesApi - fetch parameter creator + * @export */ export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} [courseId] - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Files`; @@ -6594,10 +5976,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetDownloadLink(key?: string, options: any = {}): FetchArgs { const localVarPath = `/api/Files/downloadLink`; @@ -6629,11 +6010,10 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} courseId - *@param {number} [homeworkId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} [homeworkId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -6670,12 +6050,11 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} [courseId] - *@param {number} [homeworkId] - *@param {Blob} [file] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options: any = {}): FetchArgs { const localVarPath = `/api/Files/upload`; @@ -6722,17 +6101,16 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; /** - *FilesApi - functional programming interface - *@export + * FilesApi - functional programming interface + * @export */ export const FilesApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} [courseId] - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesDeleteFile(courseId, key, options); @@ -6747,10 +6125,9 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetDownloadLink(key?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesGetDownloadLink(key, options); @@ -6765,11 +6142,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {number} [homeworkId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} [homeworkId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesGetFilesInfo(courseId, homeworkId, options); @@ -6784,12 +6160,11 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} [courseId] - *@param {number} [homeworkId] - *@param {Blob} [file] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = FilesApiFetchParamCreator(configuration).filesUpload(courseId, homeworkId, file, options); @@ -6807,47 +6182,43 @@ export const FilesApiFp = function(configuration?: Configuration) { }; /** - *FilesApi - factory interface - *@export + * FilesApi - factory interface + * @export */ export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} [courseId] - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - * - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {number} [homeworkId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {number} [homeworkId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - * - *@param {number} [courseId] - *@param {number} [homeworkId] - *@param {Blob} [file] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(configuration).filesUpload(courseId, homeworkId, file, options)(fetch, basePath); @@ -6856,55 +6227,51 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: }; /** - *FilesApi - object-oriented interface - *@export - *@class FilesApi - *@extends {BaseAPI} + * FilesApi - object-oriented interface + * @export + * @class FilesApi + * @extends {BaseAPI} */ export class FilesApi extends BaseAPI { /** - * - *@param {number} [courseId] - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof FilesApi + *\n * @param {number} [courseId] + * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FilesApi */ public filesDeleteFile(courseId?: number, key?: string, options?: any) { return FilesApiFp(this.configuration).filesDeleteFile(courseId, key, options)(this.fetch, this.basePath); } /** - * - *@param {string} [key] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof FilesApi + *\n * @param {string} [key] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FilesApi */ public filesGetDownloadLink(key?: string, options?: any) { return FilesApiFp(this.configuration).filesGetDownloadLink(key, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {number} [homeworkId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof FilesApi + *\n * @param {number} courseId + * @param {number} [homeworkId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FilesApi */ public filesGetFilesInfo(courseId: number, homeworkId?: number, options?: any) { return FilesApiFp(this.configuration).filesGetFilesInfo(courseId, homeworkId, options)(this.fetch, this.basePath); } /** - * - *@param {number} [courseId] - *@param {number} [homeworkId] - *@param {Blob} [file] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof FilesApi + *\n * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FilesApi */ public filesUpload(courseId?: number, homeworkId?: number, file?: Blob, options?: any) { return FilesApiFp(this.configuration).filesUpload(courseId, homeworkId, file, options)(this.fetch, this.basePath); @@ -6912,17 +6279,16 @@ export class FilesApi extends BaseAPI { } /** - *HomeworksApi - fetch parameter creator - *@export + * HomeworksApi - fetch parameter creator + * @export */ export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -6959,10 +6325,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -6995,10 +6360,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -7031,10 +6395,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -7067,11 +6430,10 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} homeworkId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -7111,17 +6473,16 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; /** - *HomeworksApi - functional programming interface - *@export + * HomeworksApi - functional programming interface + * @export */ export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksAddHomework(courseId, body, options); @@ -7136,10 +6497,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksDeleteHomework(homeworkId, options); @@ -7154,10 +6514,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksGetForEditingHomework(homeworkId, options); @@ -7172,10 +6531,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksGetHomework(homeworkId, options); @@ -7190,11 +6548,10 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} homeworkId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = HomeworksApiFetchParamCreator(configuration).homeworksUpdateHomework(homeworkId, body, options); @@ -7212,54 +6569,49 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; /** - *HomeworksApi - factory interface - *@export + * HomeworksApi - factory interface + * @export */ export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} courseId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - * - *@param {number} homeworkId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(configuration).homeworksUpdateHomework(homeworkId, body, options)(fetch, basePath); @@ -7268,64 +6620,59 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc }; /** - *HomeworksApi - object-oriented interface - *@export - *@class HomeworksApi - *@extends {BaseAPI} + * HomeworksApi - object-oriented interface + * @export + * @class HomeworksApi + * @extends {BaseAPI} */ export class HomeworksApi extends BaseAPI { /** - * - *@param {number} courseId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof HomeworksApi + *\n * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HomeworksApi */ public homeworksAddHomework(courseId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksAddHomework(courseId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof HomeworksApi + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HomeworksApi */ public homeworksDeleteHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksDeleteHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof HomeworksApi + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HomeworksApi */ public homeworksGetForEditingHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetForEditingHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - *@param {number} homeworkId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof HomeworksApi + *\n * @param {number} homeworkId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HomeworksApi */ public homeworksGetHomework(homeworkId: number, options?: any) { return HomeworksApiFp(this.configuration).homeworksGetHomework(homeworkId, options)(this.fetch, this.basePath); } /** - * - *@param {number} homeworkId - *@param {CreateHomeworkViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof HomeworksApi + *\n * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HomeworksApi */ public homeworksUpdateHomework(homeworkId: number, body?: CreateHomeworkViewModel, options?: any) { return HomeworksApiFp(this.configuration).homeworksUpdateHomework(homeworkId, body, options)(this.fetch, this.basePath); @@ -7333,16 +6680,15 @@ export class HomeworksApi extends BaseAPI { } /** - *NotificationsApi - fetch parameter creator - *@export + * NotificationsApi - fetch parameter creator + * @export */ export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {NotificationsSettingDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {NotificationsSettingDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/settings`; @@ -7374,9 +6720,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGet(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/get`; @@ -7404,9 +6749,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/getNewNotificationsCount`; @@ -7434,9 +6778,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetSettings(options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/settings`; @@ -7464,10 +6807,9 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - * - *@param {Array} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {Array} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options: any = {}): FetchArgs { const localVarPath = `/api/Notifications/markAsSeen`; @@ -7502,16 +6844,15 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; /** - *NotificationsApi - functional programming interface - *@export + * NotificationsApi - functional programming interface + * @export */ export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - * - *@param {NotificationsSettingDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {NotificationsSettingDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsChangeSetting(body, options); @@ -7526,9 +6867,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGet(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGet(options); @@ -7543,9 +6883,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGetNewNotificationsCount(options); @@ -7560,9 +6899,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetSettings(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsGetSettings(options); @@ -7577,10 +6915,9 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {Array} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {Array} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = NotificationsApiFetchParamCreator(configuration).notificationsMarkAsSeen(body, options); @@ -7598,49 +6935,44 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; /** - *NotificationsApi - factory interface - *@export + * NotificationsApi - factory interface + * @export */ export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {NotificationsSettingDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {NotificationsSettingDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGet(options?: any) { return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsGetSettings(options?: any) { return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - * - *@param {Array} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {Array} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(configuration).notificationsMarkAsSeen(body, options)(fetch, basePath); @@ -7649,59 +6981,54 @@ export const NotificationsApiFactory = function (configuration?: Configuration, }; /** - *NotificationsApi - object-oriented interface - *@export - *@class NotificationsApi - *@extends {BaseAPI} + * NotificationsApi - object-oriented interface + * @export + * @class NotificationsApi + * @extends {BaseAPI} */ export class NotificationsApi extends BaseAPI { /** - * - *@param {NotificationsSettingDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof NotificationsApi + *\n * @param {NotificationsSettingDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NotificationsApi */ public notificationsChangeSetting(body?: NotificationsSettingDto, options?: any) { return NotificationsApiFp(this.configuration).notificationsChangeSetting(body, options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof NotificationsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NotificationsApi */ public notificationsGet(options?: any) { return NotificationsApiFp(this.configuration).notificationsGet(options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof NotificationsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NotificationsApi */ public notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetNewNotificationsCount(options)(this.fetch, this.basePath); } /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof NotificationsApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NotificationsApi */ public notificationsGetSettings(options?: any) { return NotificationsApiFp(this.configuration).notificationsGetSettings(options)(this.fetch, this.basePath); } /** - * - *@param {Array} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof NotificationsApi + *\n * @param {Array} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NotificationsApi */ public notificationsMarkAsSeen(body?: Array, options?: any) { return NotificationsApiFp(this.configuration).notificationsMarkAsSeen(body, options)(this.fetch, this.basePath); @@ -7709,16 +7036,15 @@ export class NotificationsApi extends BaseAPI { } /** - *SolutionsApi - fetch parameter creator - *@export + * SolutionsApi - fetch parameter creator + * @export */ export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7751,11 +7077,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} [taskId] - *@param {number} [solutionId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {number} [solutionId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options: any = {}): FetchArgs { const localVarPath = `/api/Solutions/solutionAchievement`; @@ -7791,10 +7116,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7827,10 +7151,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -7863,11 +7186,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} taskId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7905,10 +7227,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -7941,10 +7262,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} [taskId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options: any = {}): FetchArgs { const localVarPath = `/api/Solutions/unratedSolutions`; @@ -7976,10 +7296,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGiveUp(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -8012,10 +7331,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -8048,11 +7366,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -8089,11 +7406,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -8130,11 +7446,10 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - * - *@param {number} solutionId - *@param {RateSolutionModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {RateSolutionModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options: any = {}): FetchArgs { // verify required parameter 'solutionId' is not null or undefined @@ -8174,16 +7489,15 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; /** - *SolutionsApi - functional programming interface - *@export + * SolutionsApi - functional programming interface + * @export */ export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsDeleteSolution(solutionId, options); @@ -8198,11 +7512,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} [taskId] - *@param {number} [solutionId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {number} [solutionId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options); @@ -8217,10 +7530,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionActuality(solutionId, options); @@ -8235,10 +7547,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetSolutionById(solutionId, options); @@ -8253,11 +7564,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetStudentSolution(taskId, studentId, options); @@ -8272,10 +7582,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetTaskSolutionsPageData(taskId, options); @@ -8290,10 +7599,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} [taskId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGetUnratedSolutions(taskId, options); @@ -8308,10 +7616,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGiveUp(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsGiveUp(taskId, options); @@ -8326,10 +7633,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsMarkSolution(solutionId, options); @@ -8344,11 +7650,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options); @@ -8363,11 +7668,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsPostSolution(taskId, body, options); @@ -8382,11 +7686,10 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} solutionId - *@param {RateSolutionModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {RateSolutionModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = SolutionsApiFetchParamCreator(configuration).solutionsRateSolution(solutionId, body, options); @@ -8404,120 +7707,108 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; /** - *SolutionsApi - factory interface - *@export + * SolutionsApi - factory interface + * @export */ export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - * - *@param {number} [taskId] - *@param {number} [solutionId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {number} [solutionId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - * - *@param {number} [taskId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} [taskId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - * - *@param {number} solutionId - *@param {RateSolutionModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} solutionId + * @param {RateSolutionModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(configuration).solutionsRateSolution(solutionId, body, options)(fetch, basePath); @@ -8526,144 +7817,132 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc }; /** - *SolutionsApi - object-oriented interface - *@export - *@class SolutionsApi - *@extends {BaseAPI} + * SolutionsApi - object-oriented interface + * @export + * @class SolutionsApi + * @extends {BaseAPI} */ export class SolutionsApi extends BaseAPI { /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsDeleteSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsDeleteSolution(solutionId, options)(this.fetch, this.basePath); } /** - * - *@param {number} [taskId] - *@param {number} [solutionId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} [taskId] + * @param {number} [solutionId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetSolutionAchievement(taskId?: number, solutionId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(this.fetch, this.basePath); } /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetSolutionActuality(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionActuality(solutionId, options)(this.fetch, this.basePath); } /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetSolutionById(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetSolutionById(solutionId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {string} studentId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} taskId + * @param {string} studentId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetStudentSolution(taskId: number, studentId: string, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetStudentSolution(taskId, studentId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetTaskSolutionsPageData(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetTaskSolutionsPageData(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} [taskId] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} [taskId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGetUnratedSolutions(taskId?: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGetUnratedSolutions(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsGiveUp(taskId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsGiveUp(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} solutionId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} solutionId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsMarkSolution(solutionId: number, options?: any) { return SolutionsApiFp(this.configuration).solutionsMarkSolution(solutionId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsPostEmptySolutionWithRate(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {SolutionViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} taskId + * @param {SolutionViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsPostSolution(taskId: number, body?: SolutionViewModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsPostSolution(taskId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} solutionId - *@param {RateSolutionModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SolutionsApi + *\n * @param {number} solutionId + * @param {RateSolutionModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SolutionsApi */ public solutionsRateSolution(solutionId: number, body?: RateSolutionModel, options?: any) { return SolutionsApiFp(this.configuration).solutionsRateSolution(solutionId, body, options)(this.fetch, this.basePath); @@ -8671,16 +7950,15 @@ export class SolutionsApi extends BaseAPI { } /** - *StatisticsApi - fetch parameter creator - *@export + * StatisticsApi - fetch parameter creator + * @export */ export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8713,10 +7991,9 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8749,10 +8026,9 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options: any = {}): FetchArgs { // verify required parameter 'courseId' is not null or undefined @@ -8788,16 +8064,15 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; /** - *StatisticsApi - functional programming interface - *@export + * StatisticsApi - functional programming interface + * @export */ export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetChartStatistics(courseId, options); @@ -8812,10 +8087,9 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetCourseStatistics(courseId, options); @@ -8830,10 +8104,9 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = StatisticsApiFetchParamCreator(configuration).statisticsGetLecturersStatistics(courseId, options); @@ -8851,34 +8124,31 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; /** - *StatisticsApi - factory interface - *@export + * StatisticsApi - factory interface + * @export */ export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(configuration).statisticsGetLecturersStatistics(courseId, options)(fetch, basePath); @@ -8887,40 +8157,37 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet }; /** - *StatisticsApi - object-oriented interface - *@export - *@class StatisticsApi - *@extends {BaseAPI} + * StatisticsApi - object-oriented interface + * @export + * @class StatisticsApi + * @extends {BaseAPI} */ export class StatisticsApi extends BaseAPI { /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof StatisticsApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatisticsApi */ public statisticsGetChartStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetChartStatistics(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof StatisticsApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatisticsApi */ public statisticsGetCourseStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetCourseStatistics(courseId, options)(this.fetch, this.basePath); } /** - * - *@param {number} courseId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof StatisticsApi + *\n * @param {number} courseId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatisticsApi */ public statisticsGetLecturersStatistics(courseId: number, options?: any) { return StatisticsApiFp(this.configuration).statisticsGetLecturersStatistics(courseId, options)(this.fetch, this.basePath); @@ -8928,15 +8195,14 @@ export class StatisticsApi extends BaseAPI { } /** - *SystemApi - fetch parameter creator - *@export + * SystemApi - fetch parameter creator + * @export */ export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ systemStatus(options: any = {}): FetchArgs { const localVarPath = `/api/System/status`; @@ -8967,15 +8233,14 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio }; /** - *SystemApi - functional programming interface - *@export + * SystemApi - functional programming interface + * @export */ export const SystemApiFp = function(configuration?: Configuration) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ systemStatus(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = SystemApiFetchParamCreator(configuration).systemStatus(options); @@ -8993,15 +8258,14 @@ export const SystemApiFp = function(configuration?: Configuration) { }; /** - *SystemApi - factory interface - *@export + * SystemApi - factory interface + * @export */ export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} */ systemStatus(options?: any) { return SystemApiFp(configuration).systemStatus(options)(fetch, basePath); @@ -9010,17 +8274,16 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: }; /** - *SystemApi - object-oriented interface - *@export - *@class SystemApi - *@extends {BaseAPI} + * SystemApi - object-oriented interface + * @export + * @class SystemApi + * @extends {BaseAPI} */ export class SystemApi extends BaseAPI { /** - * - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof SystemApi + *\n * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemApi */ public systemStatus(options?: any) { return SystemApiFp(this.configuration).systemStatus(options)(this.fetch, this.basePath); @@ -9028,16 +8291,15 @@ export class SystemApi extends BaseAPI { } /** - *TasksApi - fetch parameter creator - *@export + * TasksApi - fetch parameter creator + * @export */ export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - * - *@param {AddAnswerForQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddAnswerForQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options: any = {}): FetchArgs { const localVarPath = `/api/Tasks/addAnswer`; @@ -9069,10 +8331,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {AddTaskQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddTaskQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options: any = {}): FetchArgs { const localVarPath = `/api/Tasks/addQuestion`; @@ -9104,11 +8365,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} homeworkId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options: any = {}): FetchArgs { // verify required parameter 'homeworkId' is not null or undefined @@ -9145,10 +8405,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksDeleteTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9181,10 +8440,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9217,10 +8475,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9253,10 +8510,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetTask(taskId: number, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9289,11 +8545,10 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - * - *@param {number} taskId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options: any = {}): FetchArgs { // verify required parameter 'taskId' is not null or undefined @@ -9333,16 +8588,15 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; /** - *TasksApi - functional programming interface - *@export + * TasksApi - functional programming interface + * @export */ export const TasksApiFp = function(configuration?: Configuration) { return { /** - * - *@param {AddAnswerForQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddAnswerForQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddAnswerForQuestion(body, options); @@ -9357,10 +8611,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {AddTaskQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddTaskQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddQuestionForTask(body, options); @@ -9375,11 +8628,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} homeworkId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksAddTask(homeworkId, body, options); @@ -9394,10 +8646,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksDeleteTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksDeleteTask(taskId, options); @@ -9412,10 +8663,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetForEditingTask(taskId, options); @@ -9430,10 +8680,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetQuestionsForTask(taskId, options); @@ -9448,10 +8697,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetTask(taskId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksGetTask(taskId, options); @@ -9466,11 +8714,10 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - * - *@param {number} taskId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { const localVarFetchArgs = TasksApiFetchParamCreator(configuration).tasksUpdateTask(taskId, body, options); @@ -9488,81 +8735,73 @@ export const TasksApiFp = function(configuration?: Configuration) { }; /** - *TasksApi - factory interface - *@export + * TasksApi - factory interface + * @export */ export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - * - *@param {AddAnswerForQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddAnswerForQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - * - *@param {AddTaskQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {AddTaskQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - * - *@param {number} homeworkId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksGetTask(taskId: number, options?: any) { return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - * - *@param {number} taskId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} + *\n * @param {number} taskId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} */ tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(configuration).tasksUpdateTask(taskId, body, options)(fetch, basePath); @@ -9571,97 +8810,89 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: }; /** - *TasksApi - object-oriented interface - *@export - *@class TasksApi - *@extends {BaseAPI} + * TasksApi - object-oriented interface + * @export + * @class TasksApi + * @extends {BaseAPI} */ export class TasksApi extends BaseAPI { /** - * - *@param {AddAnswerForQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {AddAnswerForQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksAddAnswerForQuestion(body?: AddAnswerForQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddAnswerForQuestion(body, options)(this.fetch, this.basePath); } /** - * - *@param {AddTaskQuestionDto} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {AddTaskQuestionDto} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksAddQuestionForTask(body?: AddTaskQuestionDto, options?: any) { return TasksApiFp(this.configuration).tasksAddQuestionForTask(body, options)(this.fetch, this.basePath); } /** - * - *@param {number} homeworkId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksAddTask(homeworkId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksAddTask(homeworkId, body, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksDeleteTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksDeleteTask(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksGetForEditingTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetForEditingTask(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksGetQuestionsForTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetQuestionsForTask(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} taskId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksGetTask(taskId: number, options?: any) { return TasksApiFp(this.configuration).tasksGetTask(taskId, options)(this.fetch, this.basePath); } /** - * - *@param {number} taskId - *@param {CreateTaskViewModel} [body] - *@param {*} [options] Override http request option. - *@throws {RequiredError} - *@memberof TasksApi + *\n * @param {number} taskId + * @param {CreateTaskViewModel} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TasksApi */ public tasksUpdateTask(taskId: number, body?: CreateTaskViewModel, options?: any) { return TasksApiFp(this.configuration).tasksUpdateTask(taskId, body, options)(this.fetch, this.basePath); From 6947011ecff0d959b4404d013bf66acbc192742f Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 15 May 2025 02:56:25 +0300 Subject: [PATCH 23/44] feat: adapt authlayout for more roles --- .../src/components/Experts/AuthLayout.tsx | 87 ++++++++++++------- 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/hwproj.front/src/components/Experts/AuthLayout.tsx b/hwproj.front/src/components/Experts/AuthLayout.tsx index ebfb92c9b..6060ead92 100644 --- a/hwproj.front/src/components/Experts/AuthLayout.tsx +++ b/hwproj.front/src/components/Experts/AuthLayout.tsx @@ -17,26 +17,46 @@ const ExpertAuthLayout: FC = (props: IExpertAuthLayoutPr const [isTokenValid, setIsTokenValid] = useState(false); const [isLoading, setIsLoading] = useState(true); const [isProfileAlreadyEdited, setIsProfileAlreadyEdited] = useState(false); + const [isExpert, setIsExpert] = useState(false); useEffect(() => { const checkToken = async () => { const isExpired = ApiSingleton.authService.isTokenExpired(token); if (!isExpired) { - const isExpertLoggedIn = await ApiSingleton.expertsApi.expertsLogin(credentials) - if (isExpertLoggedIn.succeeded) { - ApiSingleton.authService.setToken(token!); - setIsTokenValid(true); - props.onLogin(); + try { + const expertLoginResult = await ApiSingleton.expertsApi.expertsLogin(credentials); + + if (expertLoginResult.succeeded) { + ApiSingleton.authService.setToken(token!); + setIsTokenValid(true); + setIsExpert(true); + props.onLogin(); - const isEdited = await ApiSingleton.authService.isExpertProfileEdited(); - if (isEdited.succeeded && isEdited.value) { - setIsProfileAlreadyEdited(true); + const isEdited = await ApiSingleton.authService.isExpertProfileEdited(); + if (isEdited.succeeded && isEdited.value) { + setIsProfileAlreadyEdited(true); + } + + setIsLoading(false); + return; } - setIsLoading(false); - return + const loginResult = await ApiSingleton.expertsApi.expertsLoginWithToken(credentials); + + if (loginResult.succeeded) { + ApiSingleton.authService.setToken(token!); + setIsTokenValid(true); + setIsExpert(false); + props.onLogin(); + + setIsLoading(false); + return; + } + } catch (error) { + console.error("Login error:", error); } } + setIsTokenValid(false); setIsLoading(false); }; @@ -44,33 +64,42 @@ const ExpertAuthLayout: FC = (props: IExpertAuthLayoutPr checkToken(); }, [token]); - return isLoading ? ( -
    -

    Проверка токена...

    - -
    - ) : ( - isTokenValid ? ( - isProfileAlreadyEdited ? ( - ) : () - ) : ( + if (isLoading) { + return ( +
    +

    Checking token...

    + +
    + ); + } + + if (!isTokenValid) { + return ( + justifyContent={'center'}> - Ошибка в пригласительной ссылке + Invalid invitation link - Ссылка просрочена или содержит опечатку. Обратитесь к выдавшему её преподавателю. + The link is expired or contains an error. Please contact the lecturer who provided it. - ) - ); + ); + } + + if (isExpert) { + return isProfileAlreadyEdited + ? + : ; + } else { + return ; + } } export default ExpertAuthLayout; \ No newline at end of file From a629b1601f79b905172e1c9d5842578d8955506e Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 16 May 2025 19:58:29 +0300 Subject: [PATCH 24/44] feat: add token-based logging in for invited students --- .../Controllers/CoursesController.cs | 2 +- .../Controllers/AccountController.cs | 9 +++ .../Events/RegisterInvitedStudentEvent.cs | 11 ++++ .../Services/AccountService.cs | 36 +++++++++++- .../Services/IAccountService.cs | 1 + .../AuthServiceClient.cs | 16 ++++++ .../IAuthServiceClient.cs | 1 + .../RegisterInvitedStudentEventHandler.cs | 57 +++++++++++++++++++ .../Startup.cs | 7 ++- 9 files changed, 136 insertions(+), 4 deletions(-) create mode 100644 HwProj.AuthService/HwProj.AuthService.API/Events/RegisterInvitedStudentEvent.cs create mode 100644 HwProj.NotificationsService/HwProj.NotificationsService.API/EventHandlers/RegisterInvitedStudentEventHandler.cs diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index 68129b73a..72e5b2e86 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -328,7 +328,7 @@ public async Task InviteStudent([FromBody] InviteStudentViewModel MiddleName = model.MiddleName }; - var registrationResult = await AuthServiceClient.Register(registerModel); + var registrationResult = await AuthServiceClient.RegisterInvitedStudent(registerModel); if (!registrationResult.Succeeded) { diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs index c4d5aba1d..c97c572eb 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs @@ -189,5 +189,14 @@ public async Task GithubAuthorize( var result = await _accountService.AuthorizeGithub(code, userId); return result; } + + [HttpPost("registerInvitedStudent")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task RegisterInvitedStudent([FromBody] RegisterViewModel model) + { + var newModel = _mapper.Map(model); + var result = await _accountService.RegisterInvitedStudentAsync(newModel); + return Ok(result); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Events/RegisterInvitedStudentEvent.cs b/HwProj.AuthService/HwProj.AuthService.API/Events/RegisterInvitedStudentEvent.cs new file mode 100644 index 000000000..e456460ef --- /dev/null +++ b/HwProj.AuthService/HwProj.AuthService.API/Events/RegisterInvitedStudentEvent.cs @@ -0,0 +1,11 @@ +namespace HwProj.AuthService.API.Events +{ + public class RegisterInvitedStudentEvent : RegisterEvent + { + public RegisterInvitedStudentEvent(string userId, string email, string name, string surname = "", string middleName = "") + : base(userId, email, name, surname, middleName) + { + } + public string AuthToken { get; set; } + } +} \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index 945e48e58..6e76b9b8f 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -33,7 +33,7 @@ public class AccountService : IAccountService private readonly IMapper _mapper; private readonly IConfiguration _configuration; private readonly HttpClient _client; - + public AccountService(IUserManager userManager, SignInManager signInManager, IAuthTokenService authTokenService, @@ -374,5 +374,39 @@ private async Task> GetToken(User user) { return Result.Success(await _tokenService.GetTokenAsync(user).ConfigureAwait(false)); } + private async Task> RegisterInvitedStudentInternal(RegisterDataDTO model) + { + var user = _mapper.Map(model); + user.UserName = user.Email; + + var createUserTask = model.IsExternalAuth + ? _userManager.CreateAsync(user) + : _userManager.CreateAsync(user, Guid.NewGuid().ToString()); + + var result = await createUserTask + .Then(() => _userManager.AddToRoleAsync(user, Roles.StudentRole)); + + if (result.Succeeded) + { + var newUser = await _userManager.FindByEmailAsync(model.Email); + var token = await _tokenService.GetTokenAsync(newUser); + var registerEvent = new RegisterInvitedStudentEvent(newUser.Id, newUser.Email, newUser.Name, + newUser.Surname, newUser.MiddleName) + { + AuthToken = token.AccessToken + }; + _eventBus.Publish(registerEvent); + return Result.Success(user.Id); + } + + return Result.Failed(result.Errors.Select(errors => errors.Description).ToArray()); + } + public async Task> RegisterInvitedStudentAsync(RegisterDataDTO model) + { + if (await _userManager.FindByEmailAsync(model.Email) != null) + return Result.Failed("Пользователь уже зарегистрирован"); + + return await RegisterInvitedStudentInternal(model); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs index 463161087..5d6e1fcb9 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs @@ -22,5 +22,6 @@ public interface IAccountService Task ResetPassword(ResetPasswordViewModel model); Task AuthorizeGithub(string code, string userId); Task[]> GetOrRegisterStudentsBatchAsync(IEnumerable models); + Task> RegisterInvitedStudentAsync(RegisterDataDTO model); } } diff --git a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs index eb782b373..ba917754c 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs @@ -379,5 +379,21 @@ public async Task LoginWithToken(TokenCredentials credentials) var response = await _httpClient.SendAsync(httpRequest); return await response.DeserializeAsync(); } + + public async Task> RegisterInvitedStudent(RegisterViewModel model) + { + using var httpRequest = new HttpRequestMessage( + HttpMethod.Post, + _authServiceUri + "api/account/registerInvitedStudent") + { + Content = new StringContent( + JsonConvert.SerializeObject(model), + Encoding.UTF8, + "application/json") + }; + + var response = await _httpClient.SendAsync(httpRequest); + return await response.DeserializeAsync>(); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs index f0be5304a..36cd4f4c0 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs @@ -34,5 +34,6 @@ public interface IAuthServiceClient Task[]> GetOrRegisterStudentsBatchAsync(IEnumerable registrationModels); Task> GetStudentToken(string email); Task LoginWithToken(TokenCredentials credentials); + Task> RegisterInvitedStudent(RegisterViewModel model); } } diff --git a/HwProj.NotificationsService/HwProj.NotificationsService.API/EventHandlers/RegisterInvitedStudentEventHandler.cs b/HwProj.NotificationsService/HwProj.NotificationsService.API/EventHandlers/RegisterInvitedStudentEventHandler.cs new file mode 100644 index 000000000..9ae99b826 --- /dev/null +++ b/HwProj.NotificationsService/HwProj.NotificationsService.API/EventHandlers/RegisterInvitedStudentEventHandler.cs @@ -0,0 +1,57 @@ +using System; +using System.Threading.Tasks; +using System.Web; +using HwProj.AuthService.API.Events; +using HwProj.EventBus.Client.Interfaces; +using HwProj.Models.NotificationsService; +using HwProj.NotificationsService.API.Repositories; +using HwProj.NotificationsService.API.Services; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; + +namespace HwProj.NotificationsService.API.EventHandlers +{ + public class RegisterInvitedStudentEventHandler : EventHandlerBase + { + private readonly INotificationsRepository _notificationRepository; + private readonly IEmailService _emailService; + private readonly IConfiguration _configuration; + private readonly bool _isDevelopmentEnv; + + public RegisterInvitedStudentEventHandler( + INotificationsRepository notificationRepository, + IEmailService emailService, + IConfiguration configuration, + IHostingEnvironment env) + { + _notificationRepository = notificationRepository; + _emailService = emailService; + _configuration = configuration; + _isDevelopmentEnv = env.IsDevelopment(); + } + + public override async Task HandleAsync(RegisterInvitedStudentEvent @event) + { + var frontendUrl = _configuration.GetSection("Notification")["Url"]; + var inviteLink = $"{frontendUrl}/join/{HttpUtility.UrlEncode(@event.AuthToken)}"; + + var notification = new Notification + { + Sender = "AuthService", + Body = $"{@event.Name} {@event.Surname}, вас пригласили в HwProj2.

    " + + $"Для доступа к аккаунту перейдите по
    ссылке

    " + + "Если вы не ожидали этого приглашения, проигнорируйте это письмо.", + Category = CategoryState.Profile, + Date = DateTime.UtcNow, + HasSeen = false, + Owner = @event.UserId + }; + + if (_isDevelopmentEnv) Console.WriteLine(inviteLink); + var addNotificationTask = _notificationRepository.AddAsync(notification); + var sendEmailTask = _emailService.SendEmailAsync(notification, @event.Email, "HwProj - Приглашение"); + + await Task.WhenAll(addNotificationTask, sendEmailTask); + } + } +} \ No newline at end of file diff --git a/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs b/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs index 0090ac0eb..4d71c6b85 100644 --- a/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs +++ b/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs @@ -33,6 +33,7 @@ public void ConfigureServices(IServiceCollection services) services.AddScoped(); services.AddScoped(); services.AddEventBus(Configuration); + services.AddTransient, RegisterEventHandler>(); services.AddTransient, RateEventHandler>(); services.AddTransient, StudentPassTaskEventHandler>(); @@ -46,8 +47,9 @@ public void ConfigureServices(IServiceCollection services) services.AddTransient, InviteLecturerEventHandler>(); services.AddTransient, NewCourseMateHandler>(); services.AddTransient, PasswordRecoveryEventHandler>(); + services.AddTransient, RegisterInvitedStudentEventHandler>(); + services.AddSingleton(); - services.AddHttpClient(); services.AddAuthServiceClient(); @@ -72,9 +74,10 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, IEventBu eventBustSubscriber.Subscribe(); eventBustSubscriber.Subscribe(); eventBustSubscriber.Subscribe(); + eventBustSubscriber.Subscribe(); // New subscription } app.ConfigureHwProj(env, "Notifications API", context); } } -} +} \ No newline at end of file From 61c7607fa249991adf8c7642ee790da01d27a52d Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 16 May 2025 20:00:13 +0300 Subject: [PATCH 25/44] style: remove extra comments --- .../HwProj.NotificationsService.API/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs b/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs index 4d71c6b85..27b265863 100644 --- a/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs +++ b/HwProj.NotificationsService/HwProj.NotificationsService.API/Startup.cs @@ -74,7 +74,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, IEventBu eventBustSubscriber.Subscribe(); eventBustSubscriber.Subscribe(); eventBustSubscriber.Subscribe(); - eventBustSubscriber.Subscribe(); // New subscription + eventBustSubscriber.Subscribe(); } app.ConfigureHwProj(env, "Notifications API", context); From db0f7dc9f34706428bf60119fee7265b7328a702 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 16 May 2025 20:27:00 +0300 Subject: [PATCH 26/44] feat: add expiration date to student token --- .../HwProj.AuthService.API/Services/AccountService.cs | 4 +++- .../Services/AuthTokenService.cs | 11 ++++++----- .../Services/IAuthTokenService.cs | 5 +++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index 6e76b9b8f..c9d111111 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -389,7 +389,8 @@ private async Task> RegisterInvitedStudentInternal(RegisterDataDT if (result.Succeeded) { var newUser = await _userManager.FindByEmailAsync(model.Email); - var token = await _tokenService.GetTokenAsync(newUser); + var expirationDate = DateTime.UtcNow.AddMonths(1); + var token = await _tokenService.GetTokenAsync(newUser, expirationDate); var registerEvent = new RegisterInvitedStudentEvent(newUser.Id, newUser.Email, newUser.Name, newUser.Surname, newUser.MiddleName) { @@ -401,6 +402,7 @@ private async Task> RegisterInvitedStudentInternal(RegisterDataDT return Result.Failed(result.Errors.Select(errors => errors.Description).ToArray()); } + public async Task> RegisterInvitedStudentAsync(RegisterDataDTO model) { if (await _userManager.FindByEmailAsync(model.Email) != null) diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AuthTokenService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AuthTokenService.cs index 3c5ea76a5..635538549 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AuthTokenService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AuthTokenService.cs @@ -30,17 +30,18 @@ public AuthTokenService(UserManager userManager, IConfiguration configurat _tokenHandler = new JwtSecurityTokenHandler(); } - public async Task GetTokenAsync(User user) + public async Task GetTokenAsync(User user, DateTime? expirationDate = null) { var securityKey = new SymmetricSecurityKey(Encoding.ASCII.GetBytes(_configuration["SecurityKey"])); var timeNow = DateTime.UtcNow; var userRoles = await _userManager.GetRolesAsync(user).ConfigureAwait(false); - var expiresIn = userRoles.FirstOrDefault() == Roles.ExpertRole - ? GetExpertTokenExpiresIn(timeNow) - : timeNow.AddMinutes(int.Parse(_configuration["ExpiresIn"])); - + var expiresIn = expirationDate ?? + (userRoles.FirstOrDefault() == Roles.ExpertRole + ? GetExpertTokenExpiresIn(timeNow) + : timeNow.AddMinutes(int.Parse(_configuration["ExpiresIn"]))); + var token = new JwtSecurityToken( issuer: _configuration["ApiName"], notBefore: timeNow, diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IAuthTokenService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IAuthTokenService.cs index 18ed24100..eac045871 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IAuthTokenService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IAuthTokenService.cs @@ -1,5 +1,6 @@ using HwProj.Models.AuthService.DTO; using HwProj.Models.AuthService.ViewModels; +using System; using System.Threading.Tasks; using HwProj.Models.Result; @@ -7,8 +8,8 @@ namespace HwProj.AuthService.API.Services { public interface IAuthTokenService { - Task GetTokenAsync(User user); + Task GetTokenAsync(User user, DateTime? expirationDate = null); Task> GetExpertTokenAsync(User expert); TokenClaims GetTokenClaims(TokenCredentials tokenCredentials); } -} +} \ No newline at end of file From a0badd4aa04b3959bf2b4df825e370ffc71c4422 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 16 May 2025 22:07:25 +0300 Subject: [PATCH 27/44] refactor: remove extra spaces in api.tsx --- hwproj.front/src/api/api.ts | 2548 +++++++++++++++++++++++------------ 1 file changed, 1659 insertions(+), 889 deletions(-) diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index cd15ba975..e5c06e082 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -5,7 +5,8 @@ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 - *\n * + * + * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. @@ -77,184 +78,219 @@ export class RequiredError extends Error { } /** - *\n * @export + * + * @export * @interface AccountDataDto */ export interface AccountDataDto { /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ userId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ surname?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ email?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ role?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof AccountDataDto */ isExternalAuth?: boolean; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ githubId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ bio?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof AccountDataDto */ companyName?: string; } /** - *\n * @export + * + * @export * @interface ActionOptions */ export interface ActionOptions { /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof ActionOptions */ sendNotification?: boolean; } /** - *\n * @export + * + * @export * @interface AddAnswerForQuestionDto */ export interface AddAnswerForQuestionDto { /** - *\n * @type {number} + * + * @type {number} * @memberof AddAnswerForQuestionDto */ questionId?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof AddAnswerForQuestionDto */ answer?: string; } /** - *\n * @export + * + * @export * @interface AddTaskQuestionDto */ export interface AddTaskQuestionDto { /** - *\n * @type {number} + * + * @type {number} * @memberof AddTaskQuestionDto */ taskId?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof AddTaskQuestionDto */ text?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof AddTaskQuestionDto */ isPrivate?: boolean; } /** - *\n * @export + * + * @export * @interface AdvancedCourseStatisticsViewModel */ export interface AdvancedCourseStatisticsViewModel { /** - *\n * @type {CoursePreview} + * + * @type {CoursePreview} * @memberof AdvancedCourseStatisticsViewModel */ course?: CoursePreview; /** - *\n * @type {Array} + * + * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ homeworks?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ studentStatistics?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ averageStudentSolutions?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof AdvancedCourseStatisticsViewModel */ bestStudentSolutions?: Array; } /** - *\n * @export + * + * @export * @interface BooleanResult */ export interface BooleanResult { /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof BooleanResult */ value?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof BooleanResult */ succeeded?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof BooleanResult */ errors?: Array; } /** - *\n * @export + * + * @export * @interface CategorizedNotifications */ export interface CategorizedNotifications { /** - *\n * @type {CategoryState} + * + * @type {CategoryState} * @memberof CategorizedNotifications */ category?: CategoryState; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CategorizedNotifications */ seenNotifications?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CategorizedNotifications */ notSeenNotifications?: Array; } /** - *\n * @export + * + * @export * @enum {string} */ export enum CategoryState { @@ -264,1367 +300,1631 @@ export enum CategoryState { NUMBER_3 = 3 } /** - *\n * @export + * + * @export * @interface CourseEvents */ export interface CourseEvents { /** - *\n * @type {number} + * + * @type {number} * @memberof CourseEvents */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof CourseEvents */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CourseEvents */ groupName?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CourseEvents */ isCompleted?: boolean; /** - *\n * @type {number} + * + * @type {number} * @memberof CourseEvents */ newStudentsCount?: number; } /** - *\n * @export + * + * @export * @interface CoursePreview */ export interface CoursePreview { /** - *\n * @type {number} + * + * @type {number} * @memberof CoursePreview */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof CoursePreview */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CoursePreview */ groupName?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CoursePreview */ isCompleted?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CoursePreview */ mentorIds?: Array; /** - *\n * @type {number} + * + * @type {number} * @memberof CoursePreview */ taskId?: number; } /** - *\n * @export + * + * @export * @interface CoursePreviewView */ export interface CoursePreviewView { /** - *\n * @type {number} + * + * @type {number} * @memberof CoursePreviewView */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof CoursePreviewView */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CoursePreviewView */ groupName?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CoursePreviewView */ isCompleted?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CoursePreviewView */ mentors?: Array; /** - *\n * @type {number} + * + * @type {number} * @memberof CoursePreviewView */ taskId?: number; } /** - *\n * @export + * + * @export * @interface CourseViewModel */ export interface CourseViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof CourseViewModel */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof CourseViewModel */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CourseViewModel */ groupName?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CourseViewModel */ isOpen?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CourseViewModel */ isCompleted?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CourseViewModel */ mentors?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CourseViewModel */ acceptedStudents?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CourseViewModel */ newStudents?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CourseViewModel */ homeworks?: Array; } /** - *\n * @export + * + * @export * @interface CreateCourseViewModel */ export interface CreateCourseViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof CreateCourseViewModel */ name: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CreateCourseViewModel */ groupNames?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CreateCourseViewModel */ studentIDs?: Array; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateCourseViewModel */ fetchStudents?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateCourseViewModel */ isOpen: boolean; /** - *\n * @type {number} + * + * @type {number} * @memberof CreateCourseViewModel */ baseCourseId?: number; } /** - *\n * @export + * + * @export * @interface CreateGroupViewModel */ export interface CreateGroupViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof CreateGroupViewModel */ name?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CreateGroupViewModel */ groupMatesIds: Array; /** - *\n * @type {number} + * + * @type {number} * @memberof CreateGroupViewModel */ courseId: number; } /** - *\n * @export + * + * @export * @interface CreateHomeworkViewModel */ export interface CreateHomeworkViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof CreateHomeworkViewModel */ title: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CreateHomeworkViewModel */ description?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateHomeworkViewModel */ hasDeadline?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof CreateHomeworkViewModel */ deadlineDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateHomeworkViewModel */ isDeadlineStrict?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof CreateHomeworkViewModel */ publicationDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateHomeworkViewModel */ isGroupWork?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CreateHomeworkViewModel */ tags?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof CreateHomeworkViewModel */ tasks?: Array; /** - *\n * @type {ActionOptions} + * + * @type {ActionOptions} * @memberof CreateHomeworkViewModel */ actionOptions?: ActionOptions; } /** - *\n * @export + * + * @export * @interface CreateTaskViewModel */ export interface CreateTaskViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof CreateTaskViewModel */ title: string; /** - *\n * @type {string} + * + * @type {string} * @memberof CreateTaskViewModel */ description?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateTaskViewModel */ hasDeadline?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof CreateTaskViewModel */ deadlineDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof CreateTaskViewModel */ isDeadlineStrict?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof CreateTaskViewModel */ publicationDate?: Date; /** - *\n * @type {number} + * + * @type {number} * @memberof CreateTaskViewModel */ maxRating: number; /** - *\n * @type {ActionOptions} + * + * @type {ActionOptions} * @memberof CreateTaskViewModel */ actionOptions?: ActionOptions; } /** - *\n * @export + * + * @export * @interface EditAccountViewModel */ export interface EditAccountViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ name: string; /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ surname: string; /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ email?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ bio?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof EditAccountViewModel */ companyName?: string; } /** - *\n * @export + * + * @export * @interface EditMentorWorkspaceDTO */ export interface EditMentorWorkspaceDTO { /** - *\n * @type {Array} + * + * @type {Array} * @memberof EditMentorWorkspaceDTO */ studentIds?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof EditMentorWorkspaceDTO */ homeworkIds?: Array; } /** - *\n * @export + * + * @export * @interface ExpertDataDTO */ export interface ExpertDataDTO { /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ id?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ surname?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ email?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ bio?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ companyName?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof ExpertDataDTO */ tags?: Array; /** - *\n * @type {string} + * + * @type {string} * @memberof ExpertDataDTO */ lecturerId?: string; } /** - *\n * @export + * + * @export * @interface FileInfoDTO */ export interface FileInfoDTO { /** - *\n * @type {string} + * + * @type {string} * @memberof FileInfoDTO */ name?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof FileInfoDTO */ size?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof FileInfoDTO */ key?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof FileInfoDTO */ homeworkId?: number; } /** - *\n * @export + * + * @export * @interface FilesUploadBody */ export interface FilesUploadBody { /** - *\n * @type {number} + * + * @type {number} * @memberof FilesUploadBody */ courseId?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof FilesUploadBody */ homeworkId?: number; /** - *\n * @type {Blob} + * + * @type {Blob} * @memberof FilesUploadBody */ file: Blob; } /** - *\n * @export + * + * @export * @interface GetSolutionModel */ export interface GetSolutionModel { /** - *\n * @type {Date} + * + * @type {Date} * @memberof GetSolutionModel */ ratingDate?: Date; /** - *\n * @type {number} + * + * @type {number} * @memberof GetSolutionModel */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof GetSolutionModel */ githubUrl?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof GetSolutionModel */ comment?: string; /** - *\n * @type {SolutionState} + * + * @type {SolutionState} * @memberof GetSolutionModel */ state?: SolutionState; /** - *\n * @type {number} + * + * @type {number} * @memberof GetSolutionModel */ rating?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof GetSolutionModel */ studentId?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof GetSolutionModel */ taskId?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof GetSolutionModel */ publicationDate?: Date; /** - *\n * @type {string} + * + * @type {string} * @memberof GetSolutionModel */ lecturerComment?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof GetSolutionModel */ groupMates?: Array; /** - *\n * @type {AccountDataDto} + * + * @type {AccountDataDto} * @memberof GetSolutionModel */ lecturer?: AccountDataDto; } /** - *\n * @export + * + * @export * @interface GetTaskQuestionDto */ export interface GetTaskQuestionDto { /** - *\n * @type {number} + * + * @type {number} * @memberof GetTaskQuestionDto */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof GetTaskQuestionDto */ studentId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof GetTaskQuestionDto */ text?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof GetTaskQuestionDto */ isPrivate?: boolean; /** - *\n * @type {string} + * + * @type {string} * @memberof GetTaskQuestionDto */ answer?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof GetTaskQuestionDto */ lecturerId?: string; } /** - *\n * @export + * + * @export * @interface GithubCredentials */ export interface GithubCredentials { /** - *\n * @type {string} + * + * @type {string} * @memberof GithubCredentials */ githubId?: string; } /** - *\n * @export + * + * @export * @interface GroupMateViewModel */ export interface GroupMateViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof GroupMateViewModel */ studentId?: string; } /** - *\n * @export + * + * @export * @interface GroupModel */ export interface GroupModel { /** - *\n * @type {string} + * + * @type {string} * @memberof GroupModel */ groupName?: string; } /** - *\n * @export + * + * @export * @interface GroupViewModel */ export interface GroupViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof GroupViewModel */ id?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof GroupViewModel */ studentsIds?: Array; } /** - *\n * @export + * + * @export * @interface HomeworkSolutionsStats */ export interface HomeworkSolutionsStats { /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkSolutionsStats */ homeworkTitle?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkSolutionsStats */ statsForTasks?: Array; } /** - *\n * @export + * + * @export * @interface HomeworkTaskForEditingViewModel */ export interface HomeworkTaskForEditingViewModel { /** - *\n * @type {HomeworkTaskViewModel} + * + * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskForEditingViewModel */ task?: HomeworkTaskViewModel; /** - *\n * @type {HomeworkViewModel} + * + * @type {HomeworkViewModel} * @memberof HomeworkTaskForEditingViewModel */ homework?: HomeworkViewModel; } /** - *\n * @export + * + * @export * @interface HomeworkTaskViewModel */ export interface HomeworkTaskViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof HomeworkTaskViewModel */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkTaskViewModel */ title?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkTaskViewModel */ tags?: Array; /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkTaskViewModel */ description?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof HomeworkTaskViewModel */ maxRating?: number; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ hasDeadline?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof HomeworkTaskViewModel */ deadlineDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeadlineStrict?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ canSendSolution?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof HomeworkTaskViewModel */ publicationDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ publicationDateNotSet?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ deadlineDateNotSet?: boolean; /** - *\n * @type {number} + * + * @type {number} * @memberof HomeworkTaskViewModel */ homeworkId?: number; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ isGroupWork?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModel */ isDeferred?: boolean; } /** - *\n * @export + * + * @export * @interface HomeworkTaskViewModelResult */ export interface HomeworkTaskViewModelResult { /** - *\n * @type {HomeworkTaskViewModel} + * + * @type {HomeworkTaskViewModel} * @memberof HomeworkTaskViewModelResult */ value?: HomeworkTaskViewModel; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkTaskViewModelResult */ succeeded?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkTaskViewModelResult */ errors?: Array; } /** - *\n * @export + * + * @export * @interface HomeworkUserTaskSolutions */ export interface HomeworkUserTaskSolutions { /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkUserTaskSolutions */ homeworkTitle?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkUserTaskSolutions */ studentSolutions?: Array; } /** - *\n * @export + * + * @export * @interface HomeworkViewModel */ export interface HomeworkViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof HomeworkViewModel */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkViewModel */ title?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworkViewModel */ description?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ hasDeadline?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof HomeworkViewModel */ deadlineDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ isDeadlineStrict?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof HomeworkViewModel */ publicationDate?: Date; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ publicationDateNotSet?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ deadlineDateNotSet?: boolean; /** - *\n * @type {number} + * + * @type {number} * @memberof HomeworkViewModel */ courseId?: number; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ isDeferred?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModel */ isGroupWork?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkViewModel */ tags?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkViewModel */ tasks?: Array; } /** - *\n * @export + * + * @export * @interface HomeworkViewModelResult */ export interface HomeworkViewModelResult { /** - *\n * @type {HomeworkViewModel} + * + * @type {HomeworkViewModel} * @memberof HomeworkViewModelResult */ value?: HomeworkViewModel; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof HomeworkViewModelResult */ succeeded?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworkViewModelResult */ errors?: Array; } /** - *\n * @export + * + * @export * @interface HomeworksGroupSolutionStats */ export interface HomeworksGroupSolutionStats { /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworksGroupSolutionStats */ groupTitle?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworksGroupSolutionStats */ statsForHomeworks?: Array; } /** - *\n * @export + * + * @export * @interface HomeworksGroupUserTaskSolutions */ export interface HomeworksGroupUserTaskSolutions { /** - *\n * @type {string} + * + * @type {string} * @memberof HomeworksGroupUserTaskSolutions */ groupTitle?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof HomeworksGroupUserTaskSolutions */ homeworkSolutions?: Array; } /** - *\n * @export + * + * @export * @interface InviteExpertViewModel */ export interface InviteExpertViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof InviteExpertViewModel */ userId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof InviteExpertViewModel */ userEmail?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof InviteExpertViewModel */ courseId?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof InviteExpertViewModel */ studentIds?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof InviteExpertViewModel */ homeworkIds?: Array; } /** - *\n * @export + * + * @export * @interface InviteLecturerViewModel */ export interface InviteLecturerViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof InviteLecturerViewModel */ email: string; } /** - *\n * @export + * + * @export * @interface InviteStudentViewModel */ export interface InviteStudentViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof InviteStudentViewModel */ courseId?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof InviteStudentViewModel */ email?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof InviteStudentViewModel */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof InviteStudentViewModel */ surname?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof InviteStudentViewModel */ middleName?: string; } /** - *\n * @export + * + * @export * @interface LoginViewModel */ export interface LoginViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof LoginViewModel */ email: string; /** - *\n * @type {string} + * + * @type {string} * @memberof LoginViewModel */ password: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof LoginViewModel */ rememberMe: boolean; } /** - *\n * @export + * + * @export * @interface NotificationViewModel */ export interface NotificationViewModel { /** - *\n * @type {number} + * + * @type {number} * @memberof NotificationViewModel */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof NotificationViewModel */ sender?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof NotificationViewModel */ owner?: string; /** - *\n * @type {CategoryState} + * + * @type {CategoryState} * @memberof NotificationViewModel */ category?: CategoryState; /** - *\n * @type {string} + * + * @type {string} * @memberof NotificationViewModel */ body?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof NotificationViewModel */ hasSeen?: boolean; /** - *\n * @type {Date} + * + * @type {Date} * @memberof NotificationViewModel */ date?: Date; } /** - *\n * @export + * + * @export * @interface NotificationsSettingDto */ export interface NotificationsSettingDto { /** - *\n * @type {string} + * + * @type {string} * @memberof NotificationsSettingDto */ category?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof NotificationsSettingDto */ isEnabled?: boolean; } /** - *\n * @export + * + * @export * @interface ProgramModel */ export interface ProgramModel { /** - *\n * @type {string} + * + * @type {string} * @memberof ProgramModel */ programName?: string; } /** - *\n * @export + * + * @export * @interface RateSolutionModel */ export interface RateSolutionModel { /** - *\n * @type {number} + * + * @type {number} * @memberof RateSolutionModel */ rating?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof RateSolutionModel */ lecturerComment?: string; } /** - *\n * @export + * + * @export * @interface RegisterExpertViewModel */ export interface RegisterExpertViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ name: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ surname: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ email: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ bio?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterExpertViewModel */ companyName?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof RegisterExpertViewModel */ tags?: Array; } /** - *\n * @export + * + * @export * @interface RegisterViewModel */ export interface RegisterViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterViewModel */ name: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterViewModel */ surname: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterViewModel */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof RegisterViewModel */ email: string; } /** - *\n * @export + * + * @export * @interface RequestPasswordRecoveryViewModel */ export interface RequestPasswordRecoveryViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof RequestPasswordRecoveryViewModel */ email: string; } /** - *\n * @export + * + * @export * @interface ResetPasswordViewModel */ export interface ResetPasswordViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof ResetPasswordViewModel */ userId: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ResetPasswordViewModel */ token: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ResetPasswordViewModel */ password: string; /** - *\n * @type {string} + * + * @type {string} * @memberof ResetPasswordViewModel */ passwordConfirm: string; } /** - *\n * @export + * + * @export * @interface Result */ export interface Result { /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof Result */ succeeded?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof Result */ errors?: Array; } /** - *\n * @export + * + * @export * @interface Solution */ export interface Solution { /** - *\n * @type {number} + * + * @type {number} * @memberof Solution */ id?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof Solution */ githubUrl?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof Solution */ comment?: string; /** - *\n * @type {SolutionState} + * + * @type {SolutionState} * @memberof Solution */ state?: SolutionState; /** - *\n * @type {number} + * + * @type {number} * @memberof Solution */ rating?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof Solution */ studentId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof Solution */ lecturerId?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof Solution */ groupId?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof Solution */ taskId?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof Solution */ publicationDate?: Date; /** - *\n * @type {Date} + * + * @type {Date} * @memberof Solution */ ratingDate?: Date; /** - *\n * @type {string} + * + * @type {string} * @memberof Solution */ lecturerComment?: string; } /** - *\n * @export + * + * @export * @interface SolutionActualityDto */ export interface SolutionActualityDto { /** - *\n * @type {SolutionActualityPart} + * + * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ commitsActuality?: SolutionActualityPart; /** - *\n * @type {SolutionActualityPart} + * + * @type {SolutionActualityPart} * @memberof SolutionActualityDto */ testsActuality?: SolutionActualityPart; } /** - *\n * @export + * + * @export * @interface SolutionActualityPart */ export interface SolutionActualityPart { /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof SolutionActualityPart */ isActual?: boolean; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionActualityPart */ comment?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionActualityPart */ additionalData?: string; } /** - *\n * @export + * + * @export * @interface SolutionPreviewView */ export interface SolutionPreviewView { /** - *\n * @type {number} + * + * @type {number} * @memberof SolutionPreviewView */ solutionId?: number; /** - *\n * @type {AccountDataDto} + * + * @type {AccountDataDto} * @memberof SolutionPreviewView */ student?: AccountDataDto; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionPreviewView */ courseTitle?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof SolutionPreviewView */ courseId?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionPreviewView */ homeworkTitle?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionPreviewView */ taskTitle?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof SolutionPreviewView */ taskId?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof SolutionPreviewView */ publicationDate?: Date; /** - *\n * @type {number} + * + * @type {number} * @memberof SolutionPreviewView */ groupId?: number; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof SolutionPreviewView */ isFirstTry?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof SolutionPreviewView */ sentAfterDeadline?: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof SolutionPreviewView */ isCourseCompleted?: boolean; } /** - *\n * @export + * + * @export * @enum {string} */ export enum SolutionState { @@ -1633,612 +1933,729 @@ export enum SolutionState { NUMBER_2 = 2 } /** - *\n * @export + * + * @export * @interface SolutionViewModel */ export interface SolutionViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionViewModel */ githubUrl?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionViewModel */ comment?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionViewModel */ studentId?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof SolutionViewModel */ groupMateIds?: Array; /** - *\n * @type {Date} + * + * @type {Date} * @memberof SolutionViewModel */ publicationDate?: Date; /** - *\n * @type {string} + * + * @type {string} * @memberof SolutionViewModel */ lecturerComment?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof SolutionViewModel */ rating?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof SolutionViewModel */ ratingDate?: Date; } /** - *\n * @export + * + * @export * @interface StatisticsCourseHomeworksModel */ export interface StatisticsCourseHomeworksModel { /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsCourseHomeworksModel */ id?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof StatisticsCourseHomeworksModel */ tasks?: Array; } /** - *\n * @export + * + * @export * @interface StatisticsCourseMatesModel */ export interface StatisticsCourseMatesModel { /** - *\n * @type {string} + * + * @type {string} * @memberof StatisticsCourseMatesModel */ id?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StatisticsCourseMatesModel */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StatisticsCourseMatesModel */ surname?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof StatisticsCourseMatesModel */ reviewers?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof StatisticsCourseMatesModel */ homeworks?: Array; } /** - *\n * @export + * + * @export * @interface StatisticsCourseMeasureSolutionModel */ export interface StatisticsCourseMeasureSolutionModel { /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ rating?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsCourseMeasureSolutionModel */ taskId?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof StatisticsCourseMeasureSolutionModel */ publicationDate?: Date; } /** - *\n * @export + * + * @export * @interface StatisticsCourseTasksModel */ export interface StatisticsCourseTasksModel { /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsCourseTasksModel */ id?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof StatisticsCourseTasksModel */ solution?: Array; } /** - *\n * @export + * + * @export * @interface StatisticsLecturersModel */ export interface StatisticsLecturersModel { /** - *\n * @type {AccountDataDto} + * + * @type {AccountDataDto} * @memberof StatisticsLecturersModel */ lecturer?: AccountDataDto; /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedSolutions?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof StatisticsLecturersModel */ numberOfCheckedUniqueSolutions?: number; } /** - *\n * @export + * + * @export * @interface StudentCharacteristicsDto */ export interface StudentCharacteristicsDto { /** - *\n * @type {Array} + * + * @type {Array} * @memberof StudentCharacteristicsDto */ tags?: Array; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentCharacteristicsDto */ description?: string; } /** - *\n * @export + * + * @export * @interface StudentDataDto */ export interface StudentDataDto { /** - *\n * @type {StudentCharacteristicsDto} + * + * @type {StudentCharacteristicsDto} * @memberof StudentDataDto */ characteristics?: StudentCharacteristicsDto; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ userId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ name?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ surname?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ middleName?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ email?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ role?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof StudentDataDto */ isExternalAuth?: boolean; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ githubId?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ bio?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof StudentDataDto */ companyName?: string; } /** - *\n * @export + * + * @export * @interface SystemInfo */ export interface SystemInfo { /** - *\n * @type {string} + * + * @type {string} * @memberof SystemInfo */ service?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof SystemInfo */ isAvailable?: boolean; } /** - *\n * @export + * + * @export * @interface TaskDeadlineDto */ export interface TaskDeadlineDto { /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineDto */ taskId?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof TaskDeadlineDto */ tags?: Array; /** - *\n * @type {string} + * + * @type {string} * @memberof TaskDeadlineDto */ taskTitle?: string; /** - *\n * @type {string} + * + * @type {string} * @memberof TaskDeadlineDto */ courseTitle?: string; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineDto */ courseId?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineDto */ homeworkId?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineDto */ maxRating?: number; /** - *\n * @type {Date} + * + * @type {Date} * @memberof TaskDeadlineDto */ publicationDate?: Date; /** - *\n * @type {Date} + * + * @type {Date} * @memberof TaskDeadlineDto */ deadlineDate?: Date; } /** - *\n * @export + * + * @export * @interface TaskDeadlineView */ export interface TaskDeadlineView { /** - *\n * @type {TaskDeadlineDto} + * + * @type {TaskDeadlineDto} * @memberof TaskDeadlineView */ deadline?: TaskDeadlineDto; /** - *\n * @type {SolutionState} + * + * @type {SolutionState} * @memberof TaskDeadlineView */ solutionState?: SolutionState; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineView */ rating?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskDeadlineView */ maxRating?: number; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof TaskDeadlineView */ deadlinePast?: boolean; } /** - *\n * @export + * + * @export * @interface TaskSolutionStatisticsPageData */ export interface TaskSolutionStatisticsPageData { /** - *\n * @type {Array} + * + * @type {Array} * @memberof TaskSolutionStatisticsPageData */ taskSolutions?: Array; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskSolutionStatisticsPageData */ courseId?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof TaskSolutionStatisticsPageData */ statsForTasks?: Array; } /** - *\n * @export + * + * @export * @interface TaskSolutions */ export interface TaskSolutions { /** - *\n * @type {number} + * + * @type {number} * @memberof TaskSolutions */ taskId?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof TaskSolutions */ studentSolutions?: Array; } /** - *\n * @export + * + * @export * @interface TaskSolutionsStats */ export interface TaskSolutionsStats { /** - *\n * @type {number} + * + * @type {number} * @memberof TaskSolutionsStats */ taskId?: number; /** - *\n * @type {number} + * + * @type {number} * @memberof TaskSolutionsStats */ countUnratedSolutions?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof TaskSolutionsStats */ title?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof TaskSolutionsStats */ tags?: Array; } /** - *\n * @export + * + * @export * @interface TokenCredentials */ export interface TokenCredentials { /** - *\n * @type {string} + * + * @type {string} * @memberof TokenCredentials */ accessToken?: string; } /** - *\n * @export + * + * @export * @interface TokenCredentialsResult */ export interface TokenCredentialsResult { /** - *\n * @type {TokenCredentials} + * + * @type {TokenCredentials} * @memberof TokenCredentialsResult */ value?: TokenCredentials; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof TokenCredentialsResult */ succeeded?: boolean; /** - *\n * @type {Array} + * + * @type {Array} * @memberof TokenCredentialsResult */ errors?: Array; } /** - *\n * @export + * + * @export * @interface UnratedSolutionPreviews */ export interface UnratedSolutionPreviews { /** - *\n * @type {Array} + * + * @type {Array} * @memberof UnratedSolutionPreviews */ unratedSolutions?: Array; } /** - *\n * @export + * + * @export * @interface UpdateCourseViewModel */ export interface UpdateCourseViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof UpdateCourseViewModel */ name: string; /** - *\n * @type {string} + * + * @type {string} * @memberof UpdateCourseViewModel */ groupName?: string; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof UpdateCourseViewModel */ isOpen: boolean; /** - *\n * @type {boolean} + * + * @type {boolean} * @memberof UpdateCourseViewModel */ isCompleted?: boolean; } /** - *\n * @export + * + * @export * @interface UpdateExpertTagsDTO */ export interface UpdateExpertTagsDTO { /** - *\n * @type {string} + * + * @type {string} * @memberof UpdateExpertTagsDTO */ expertId?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UpdateExpertTagsDTO */ tags?: Array; } /** - *\n * @export + * + * @export * @interface UpdateGroupViewModel */ export interface UpdateGroupViewModel { /** - *\n * @type {string} + * + * @type {string} * @memberof UpdateGroupViewModel */ name?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UpdateGroupViewModel */ tasks?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UpdateGroupViewModel */ groupMates?: Array; } /** - *\n * @export + * + * @export * @interface UrlDto */ export interface UrlDto { /** - *\n * @type {string} + * + * @type {string} * @memberof UrlDto */ url?: string; } /** - *\n * @export + * + * @export * @interface UserDataDto */ export interface UserDataDto { /** - *\n * @type {AccountDataDto} + * + * @type {AccountDataDto} * @memberof UserDataDto */ userData?: AccountDataDto; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserDataDto */ courseEvents?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserDataDto */ taskDeadlines?: Array; } /** - *\n * @export + * + * @export * @interface UserTaskSolutions */ export interface UserTaskSolutions { /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserTaskSolutions */ solutions?: Array; /** - *\n * @type {StudentDataDto} + * + * @type {StudentDataDto} * @memberof UserTaskSolutions */ student?: StudentDataDto; } /** - *\n * @export + * + * @export * @interface UserTaskSolutions2 */ export interface UserTaskSolutions2 { /** - *\n * @type {number} + * + * @type {number} * @memberof UserTaskSolutions2 */ maxRating?: number; /** - *\n * @type {string} + * + * @type {string} * @memberof UserTaskSolutions2 */ title?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserTaskSolutions2 */ tags?: Array; /** - *\n * @type {string} + * + * @type {string} * @memberof UserTaskSolutions2 */ taskId?: string; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserTaskSolutions2 */ solutions?: Array; } /** - *\n * @export + * + * @export * @interface UserTaskSolutionsPageData */ export interface UserTaskSolutionsPageData { /** - *\n * @type {number} + * + * @type {number} * @memberof UserTaskSolutionsPageData */ courseId?: number; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserTaskSolutionsPageData */ courseMates?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof UserTaskSolutionsPageData */ taskSolutions?: Array; } /** - *\n * @export + * + * @export * @interface WorkspaceViewModel */ export interface WorkspaceViewModel { /** - *\n * @type {Array} + * + * @type {Array} * @memberof WorkspaceViewModel */ students?: Array; /** - *\n * @type {Array} + * + * @type {Array} * @memberof WorkspaceViewModel */ homeworks?: Array; @@ -2250,7 +2667,8 @@ export interface WorkspaceViewModel { export const AccountApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2284,7 +2702,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2318,7 +2737,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetAllStudents(options: any = {}): FetchArgs { @@ -2347,7 +2767,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2381,7 +2802,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetUserData(options: any = {}): FetchArgs { @@ -2410,7 +2832,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2445,7 +2868,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2479,7 +2903,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2513,7 +2938,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountRefreshToken(options: any = {}): FetchArgs { @@ -2542,7 +2968,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2576,7 +3003,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2610,7 +3038,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2653,7 +3082,8 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati export const AccountApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2670,7 +3100,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2687,7 +3118,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetAllStudents(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -2703,7 +3135,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2720,7 +3153,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetUserData(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { @@ -2736,7 +3170,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2753,7 +3188,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2770,7 +3206,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2787,7 +3224,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountRefreshToken(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { @@ -2803,7 +3241,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2820,7 +3259,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2837,7 +3277,8 @@ export const AccountApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2863,7 +3304,8 @@ export const AccountApiFp = function(configuration?: Configuration) { export const AccountApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2871,7 +3313,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountAuthorizeGithub(code, options)(fetch, basePath); }, /** - *\n * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2879,14 +3322,16 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountEdit(body, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetAllStudents(options?: any) { return AccountApiFp(configuration).accountGetAllStudents(options)(fetch, basePath); }, /** - *\n * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2894,14 +3339,16 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountGetUserData(options?: any) { return AccountApiFp(configuration).accountGetUserData(options)(fetch, basePath); }, /** - *\n * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2909,7 +3356,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountGetUserDataById(userId, options)(fetch, basePath); }, /** - *\n * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2917,7 +3365,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountInviteNewLecturer(body, options)(fetch, basePath); }, /** - *\n * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2925,14 +3374,16 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountRefreshToken(options?: any) { return AccountApiFp(configuration).accountRefreshToken(options)(fetch, basePath); }, /** - *\n * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2940,7 +3391,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRegister(body, options)(fetch, basePath); }, /** - *\n * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2948,7 +3400,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? return AccountApiFp(configuration).accountRequestPasswordRecovery(body, options)(fetch, basePath); }, /** - *\n * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2966,7 +3419,8 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? */ export class AccountApi extends BaseAPI { /** - *\n * @param {string} [code] + * + * @param {string} [code] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -2976,7 +3430,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {EditAccountViewModel} [body] + * + * @param {EditAccountViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -2986,7 +3441,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ @@ -2995,7 +3451,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {UrlDto} [body] + * + * @param {UrlDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3005,7 +3462,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ @@ -3014,7 +3472,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {string} userId + * + * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3024,7 +3483,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {InviteLecturerViewModel} [body] + * + * @param {InviteLecturerViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3034,7 +3494,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {LoginViewModel} [body] + * + * @param {LoginViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3044,7 +3505,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi */ @@ -3053,7 +3515,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {RegisterViewModel} [body] + * + * @param {RegisterViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3063,7 +3526,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {RequestPasswordRecoveryViewModel} [body] + * + * @param {RequestPasswordRecoveryViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3073,7 +3537,8 @@ export class AccountApi extends BaseAPI { } /** - *\n * @param {ResetPasswordViewModel} [body] + * + * @param {ResetPasswordViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountApi @@ -3090,9 +3555,10 @@ export class AccountApi extends BaseAPI { export const CourseGroupsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3136,8 +3602,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3176,8 +3643,9 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3217,7 +3685,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3252,7 +3721,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3287,7 +3757,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3322,7 +3793,8 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3357,9 +3829,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3403,9 +3876,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config }; }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3458,9 +3932,10 @@ export const CourseGroupsApiFetchParamCreator = function (configuration?: Config export const CourseGroupsApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3477,8 +3952,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3495,8 +3971,9 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3513,7 +3990,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3530,7 +4008,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3547,7 +4026,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3564,7 +4044,8 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3581,9 +4062,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3600,9 +4082,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3628,9 +4111,10 @@ export const CourseGroupsApiFp = function(configuration?: Configuration) { export const CourseGroupsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3638,8 +4122,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsAddStudentInGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3647,8 +4132,9 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsCreateCourseGroup(courseId, body, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3656,7 +4142,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsDeleteCourseGroup(courseId, groupId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3664,7 +4151,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetAllCourseGroups(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3672,7 +4160,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetCourseGroupsById(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3680,7 +4169,8 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroup(groupId, options)(fetch, basePath); }, /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3688,9 +4178,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsGetGroupTasks(groupId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3698,9 +4189,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f return CourseGroupsApiFp(configuration).courseGroupsRemoveStudentFromGroup(courseId, groupId, userId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3718,9 +4210,10 @@ export const CourseGroupsApiFactory = function (configuration?: Configuration, f */ export class CourseGroupsApi extends BaseAPI { /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3730,8 +4223,9 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {CreateGroupViewModel} [body] + * + * @param {number} courseId + * @param {CreateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3741,8 +4235,9 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {number} groupId + * + * @param {number} courseId + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3752,7 +4247,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3762,7 +4258,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3772,7 +4269,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3782,7 +4280,8 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} groupId + * + * @param {number} groupId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3792,9 +4291,10 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {string} [userId] + * + * @param {number} courseId + * @param {number} groupId + * @param {string} [userId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3804,9 +4304,10 @@ export class CourseGroupsApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {number} groupId - * @param {UpdateGroupViewModel} [body] + * + * @param {number} courseId + * @param {number} groupId + * @param {UpdateGroupViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CourseGroupsApi @@ -3823,8 +4324,9 @@ export class CourseGroupsApi extends BaseAPI { export const CoursesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3864,8 +4366,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3905,7 +4408,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3939,7 +4443,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3974,9 +4479,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4020,7 +4526,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4055,7 +4562,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllCourses(options: any = {}): FetchArgs { @@ -4084,7 +4592,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4119,7 +4628,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllUserCourses(options: any = {}): FetchArgs { @@ -4148,7 +4658,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4183,7 +4694,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4217,7 +4729,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4252,8 +4765,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4293,7 +4807,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetProgramNames(options: any = {}): FetchArgs { @@ -4322,7 +4837,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4356,8 +4872,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4397,7 +4914,8 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4432,8 +4950,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4472,9 +4991,10 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4527,8 +5047,9 @@ export const CoursesApiFetchParamCreator = function (configuration?: Configurati export const CoursesApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4545,8 +5066,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4563,7 +5085,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4580,7 +5103,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4597,9 +5121,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4616,7 +5141,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4633,7 +5159,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -4649,7 +5176,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4666,7 +5194,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllUserCourses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -4682,7 +5211,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4699,7 +5229,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4716,7 +5247,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4733,8 +5265,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4751,7 +5284,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetProgramNames(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -4767,7 +5301,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4784,8 +5319,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4802,7 +5338,8 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4819,8 +5356,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4837,9 +5375,10 @@ export const CoursesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4865,8 +5404,9 @@ export const CoursesApiFp = function(configuration?: Configuration) { export const CoursesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4874,8 +5414,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptLecturer(courseId, lecturerEmail, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4883,7 +5424,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesAcceptStudent(courseId, studentId, options)(fetch, basePath); }, /** - *\n * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4891,7 +5433,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesCreateCourse(body, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4899,9 +5442,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesDeleteCourse(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4909,7 +5453,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesEditMentorWorkspace(courseId, mentorId, body, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4917,14 +5462,16 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllCourseData(courseId, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllCourses(options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4932,14 +5479,16 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetAllTagsForCourse(courseId, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetAllUserCourses(options?: any) { return CoursesApiFp(configuration).coursesGetAllUserCourses(options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4947,7 +5496,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetCourseData(courseId, options)(fetch, basePath); }, /** - *\n * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4955,7 +5505,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetGroups(programName, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4963,8 +5514,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetLecturersAvailableForCourse(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4972,14 +5524,16 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesGetMentorWorkspace(courseId, mentorId, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesGetProgramNames(options?: any) { return CoursesApiFp(configuration).coursesGetProgramNames(options)(fetch, basePath); }, /** - *\n * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4987,8 +5541,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesInviteStudent(body, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4996,7 +5551,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesRejectStudent(courseId, studentId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5004,8 +5560,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesSignInCourse(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5013,9 +5570,10 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? return CoursesApiFp(configuration).coursesUpdateCourse(courseId, body, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5033,8 +5591,9 @@ export const CoursesApiFactory = function (configuration?: Configuration, fetch? */ export class CoursesApi extends BaseAPI { /** - *\n * @param {number} courseId - * @param {string} lecturerEmail + * + * @param {number} courseId + * @param {string} lecturerEmail * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5044,8 +5603,9 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5055,7 +5615,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {CreateCourseViewModel} [body] + * + * @param {CreateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5065,7 +5626,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5075,9 +5637,10 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {string} mentorId - * @param {EditMentorWorkspaceDTO} [body] + * + * @param {number} courseId + * @param {string} mentorId + * @param {EditMentorWorkspaceDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5087,7 +5650,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5097,7 +5661,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi */ @@ -5106,7 +5671,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5116,7 +5682,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi */ @@ -5125,7 +5692,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5135,7 +5703,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {string} [programName] + * + * @param {string} [programName] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5145,7 +5714,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5155,8 +5725,9 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {string} mentorId + * + * @param {number} courseId + * @param {string} mentorId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5166,7 +5737,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi */ @@ -5175,7 +5747,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {InviteStudentViewModel} [body] + * + * @param {InviteStudentViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5185,8 +5758,9 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {string} studentId + * + * @param {number} courseId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5196,7 +5770,8 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5206,8 +5781,9 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {UpdateCourseViewModel} [body] + * + * @param {number} courseId + * @param {UpdateCourseViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5217,9 +5793,10 @@ export class CoursesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {string} studentId - * @param {StudentCharacteristicsDto} [body] + * + * @param {number} courseId + * @param {string} studentId + * @param {StudentCharacteristicsDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CoursesApi @@ -5236,7 +5813,8 @@ export class CoursesApi extends BaseAPI { export const ExpertsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetAll(options: any = {}): FetchArgs { @@ -5265,7 +5843,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetIsProfileEdited(options: any = {}): FetchArgs { @@ -5294,7 +5873,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5328,7 +5908,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5362,7 +5943,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5396,7 +5978,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5430,7 +6013,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5464,7 +6048,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5498,7 +6083,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsSetProfileIsEdited(options: any = {}): FetchArgs { @@ -5527,7 +6113,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati }; }, /** - *\n * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5570,7 +6157,8 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati export const ExpertsApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetAll(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -5586,7 +6174,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetIsProfileEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { @@ -5602,7 +6191,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5619,7 +6209,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5636,7 +6227,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5653,7 +6245,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5670,7 +6263,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5687,7 +6281,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5704,7 +6299,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsSetProfileIsEdited(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { @@ -5720,7 +6316,8 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5746,21 +6343,24 @@ export const ExpertsApiFp = function(configuration?: Configuration) { export const ExpertsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetAll(options?: any) { return ExpertsApiFp(configuration).expertsGetAll(options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5768,7 +6368,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetStudentToken(expertEmail, options)(fetch, basePath); }, /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5776,7 +6377,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsGetToken(expertEmail, options)(fetch, basePath); }, /** - *\n * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5784,7 +6386,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsInvite(body, options)(fetch, basePath); }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5792,7 +6395,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5800,7 +6404,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsLoginWithToken(body, options)(fetch, basePath); }, /** - *\n * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5808,14 +6413,16 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? return ExpertsApiFp(configuration).expertsRegister(body, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ expertsSetProfileIsEdited(options?: any) { return ExpertsApiFp(configuration).expertsSetProfileIsEdited(options)(fetch, basePath); }, /** - *\n * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5833,7 +6440,8 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? */ export class ExpertsApi extends BaseAPI { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi */ @@ -5842,7 +6450,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi */ @@ -5851,7 +6460,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5861,7 +6471,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {string} [expertEmail] + * + * @param {string} [expertEmail] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5871,7 +6482,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {InviteExpertViewModel} [body] + * + * @param {InviteExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5881,7 +6493,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5891,7 +6504,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {TokenCredentials} [body] + * + * @param {TokenCredentials} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5901,7 +6515,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {RegisterExpertViewModel} [body] + * + * @param {RegisterExpertViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5911,7 +6526,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi */ @@ -5920,7 +6536,8 @@ export class ExpertsApi extends BaseAPI { } /** - *\n * @param {UpdateExpertTagsDTO} [body] + * + * @param {UpdateExpertTagsDTO} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExpertsApi @@ -5937,8 +6554,9 @@ export class ExpertsApi extends BaseAPI { export const FilesApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5976,7 +6594,8 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6010,8 +6629,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6050,9 +6670,10 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6107,8 +6728,9 @@ export const FilesApiFetchParamCreator = function (configuration?: Configuration export const FilesApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6125,7 +6747,8 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6142,8 +6765,9 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6160,9 +6784,10 @@ export const FilesApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6188,8 +6813,9 @@ export const FilesApiFp = function(configuration?: Configuration) { export const FilesApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6197,7 +6823,8 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesDeleteFile(courseId, key, options)(fetch, basePath); }, /** - *\n * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6205,8 +6832,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetDownloadLink(key, options)(fetch, basePath); }, /** - *\n * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6214,9 +6842,10 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: return FilesApiFp(configuration).filesGetFilesInfo(courseId, homeworkId, options)(fetch, basePath); }, /** - *\n * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6234,8 +6863,9 @@ export const FilesApiFactory = function (configuration?: Configuration, fetch?: */ export class FilesApi extends BaseAPI { /** - *\n * @param {number} [courseId] - * @param {string} [key] + * + * @param {number} [courseId] + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6245,7 +6875,8 @@ export class FilesApi extends BaseAPI { } /** - *\n * @param {string} [key] + * + * @param {string} [key] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6255,8 +6886,9 @@ export class FilesApi extends BaseAPI { } /** - *\n * @param {number} courseId - * @param {number} [homeworkId] + * + * @param {number} courseId + * @param {number} [homeworkId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6266,9 +6898,10 @@ export class FilesApi extends BaseAPI { } /** - *\n * @param {number} [courseId] - * @param {number} [homeworkId] - * @param {Blob} [file] + * + * @param {number} [courseId] + * @param {number} [homeworkId] + * @param {Blob} [file] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi @@ -6285,8 +6918,9 @@ export class FilesApi extends BaseAPI { export const HomeworksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6325,7 +6959,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6360,7 +6995,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6395,7 +7031,8 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6430,8 +7067,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6479,8 +7117,9 @@ export const HomeworksApiFetchParamCreator = function (configuration?: Configura export const HomeworksApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6497,7 +7136,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6514,7 +7154,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6531,7 +7172,8 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6548,8 +7190,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6575,8 +7218,9 @@ export const HomeworksApiFp = function(configuration?: Configuration) { export const HomeworksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6584,7 +7228,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksAddHomework(courseId, body, options)(fetch, basePath); }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6592,7 +7237,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksDeleteHomework(homeworkId, options)(fetch, basePath); }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6600,7 +7246,8 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetForEditingHomework(homeworkId, options)(fetch, basePath); }, /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6608,8 +7255,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc return HomeworksApiFp(configuration).homeworksGetHomework(homeworkId, options)(fetch, basePath); }, /** - *\n * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6627,8 +7275,9 @@ export const HomeworksApiFactory = function (configuration?: Configuration, fetc */ export class HomeworksApi extends BaseAPI { /** - *\n * @param {number} courseId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} courseId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6638,7 +7287,8 @@ export class HomeworksApi extends BaseAPI { } /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6648,7 +7298,8 @@ export class HomeworksApi extends BaseAPI { } /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6658,7 +7309,8 @@ export class HomeworksApi extends BaseAPI { } /** - *\n * @param {number} homeworkId + * + * @param {number} homeworkId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6668,8 +7320,9 @@ export class HomeworksApi extends BaseAPI { } /** - *\n * @param {number} homeworkId - * @param {CreateHomeworkViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateHomeworkViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HomeworksApi @@ -6686,7 +7339,8 @@ export class HomeworksApi extends BaseAPI { export const NotificationsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6720,7 +7374,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGet(options: any = {}): FetchArgs { @@ -6749,7 +7404,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options: any = {}): FetchArgs { @@ -6778,7 +7434,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetSettings(options: any = {}): FetchArgs { @@ -6807,7 +7464,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi }; }, /** - *\n * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6850,7 +7508,8 @@ export const NotificationsApiFetchParamCreator = function (configuration?: Confi export const NotificationsApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6867,7 +7526,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGet(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -6883,7 +7543,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { @@ -6899,7 +7560,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetSettings(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -6915,7 +7577,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6941,7 +7604,8 @@ export const NotificationsApiFp = function(configuration?: Configuration) { export const NotificationsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6949,28 +7613,32 @@ export const NotificationsApiFactory = function (configuration?: Configuration, return NotificationsApiFp(configuration).notificationsChangeSetting(body, options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGet(options?: any) { return NotificationsApiFp(configuration).notificationsGet(options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetNewNotificationsCount(options?: any) { return NotificationsApiFp(configuration).notificationsGetNewNotificationsCount(options)(fetch, basePath); }, /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ notificationsGetSettings(options?: any) { return NotificationsApiFp(configuration).notificationsGetSettings(options)(fetch, basePath); }, /** - *\n * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6988,7 +7656,8 @@ export const NotificationsApiFactory = function (configuration?: Configuration, */ export class NotificationsApi extends BaseAPI { /** - *\n * @param {NotificationsSettingDto} [body] + * + * @param {NotificationsSettingDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -6998,7 +7667,8 @@ export class NotificationsApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi */ @@ -7007,7 +7677,8 @@ export class NotificationsApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi */ @@ -7016,7 +7687,8 @@ export class NotificationsApi extends BaseAPI { } /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi */ @@ -7025,7 +7697,8 @@ export class NotificationsApi extends BaseAPI { } /** - *\n * @param {Array} [body] + * + * @param {Array} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NotificationsApi @@ -7042,7 +7715,8 @@ export class NotificationsApi extends BaseAPI { export const SolutionsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7077,8 +7751,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7116,7 +7791,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7151,7 +7827,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7186,8 +7863,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7227,7 +7905,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7262,7 +7941,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7296,7 +7976,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7331,7 +8012,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7366,8 +8048,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7406,8 +8089,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7446,8 +8130,9 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura }; }, /** - *\n * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7495,7 +8180,8 @@ export const SolutionsApiFetchParamCreator = function (configuration?: Configura export const SolutionsApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7512,8 +8198,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7530,7 +8217,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7547,7 +8235,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7564,8 +8253,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7582,7 +8272,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7599,7 +8290,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7616,7 +8308,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7633,7 +8326,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7650,8 +8344,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7668,8 +8363,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7686,8 +8382,9 @@ export const SolutionsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7713,7 +8410,8 @@ export const SolutionsApiFp = function(configuration?: Configuration) { export const SolutionsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7721,8 +8419,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsDeleteSolution(solutionId, options)(fetch, basePath); }, /** - *\n * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7730,7 +8429,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionAchievement(taskId, solutionId, options)(fetch, basePath); }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7738,7 +8438,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionActuality(solutionId, options)(fetch, basePath); }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7746,8 +8447,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetSolutionById(solutionId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7755,7 +8457,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetStudentSolution(taskId, studentId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7763,7 +8466,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetTaskSolutionsPageData(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7771,7 +8475,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGetUnratedSolutions(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7779,7 +8484,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsGiveUp(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7787,8 +8493,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsMarkSolution(solutionId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7796,8 +8503,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostEmptySolutionWithRate(taskId, body, options)(fetch, basePath); }, /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7805,8 +8513,9 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc return SolutionsApiFp(configuration).solutionsPostSolution(taskId, body, options)(fetch, basePath); }, /** - *\n * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7824,7 +8533,8 @@ export const SolutionsApiFactory = function (configuration?: Configuration, fetc */ export class SolutionsApi extends BaseAPI { /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7834,8 +8544,9 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} [taskId] - * @param {number} [solutionId] + * + * @param {number} [taskId] + * @param {number} [solutionId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7845,7 +8556,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7855,7 +8567,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7865,8 +8578,9 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} taskId - * @param {string} studentId + * + * @param {number} taskId + * @param {string} studentId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7876,7 +8590,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7886,7 +8601,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} [taskId] + * + * @param {number} [taskId] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7896,7 +8612,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7906,7 +8623,8 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} solutionId + * + * @param {number} solutionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7916,8 +8634,9 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7927,8 +8646,9 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} taskId - * @param {SolutionViewModel} [body] + * + * @param {number} taskId + * @param {SolutionViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7938,8 +8658,9 @@ export class SolutionsApi extends BaseAPI { } /** - *\n * @param {number} solutionId - * @param {RateSolutionModel} [body] + * + * @param {number} solutionId + * @param {RateSolutionModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SolutionsApi @@ -7956,7 +8677,8 @@ export class SolutionsApi extends BaseAPI { export const StatisticsApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7991,7 +8713,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8026,7 +8749,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8070,7 +8794,8 @@ export const StatisticsApiFetchParamCreator = function (configuration?: Configur export const StatisticsApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8087,7 +8812,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8104,7 +8830,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8130,7 +8857,8 @@ export const StatisticsApiFp = function(configuration?: Configuration) { export const StatisticsApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8138,7 +8866,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetChartStatistics(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8146,7 +8875,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet return StatisticsApiFp(configuration).statisticsGetCourseStatistics(courseId, options)(fetch, basePath); }, /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8164,7 +8894,8 @@ export const StatisticsApiFactory = function (configuration?: Configuration, fet */ export class StatisticsApi extends BaseAPI { /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8174,7 +8905,8 @@ export class StatisticsApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8184,7 +8916,8 @@ export class StatisticsApi extends BaseAPI { } /** - *\n * @param {number} courseId + * + * @param {number} courseId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatisticsApi @@ -8201,7 +8934,8 @@ export class StatisticsApi extends BaseAPI { export const SystemApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ systemStatus(options: any = {}): FetchArgs { @@ -8239,7 +8973,8 @@ export const SystemApiFetchParamCreator = function (configuration?: Configuratio export const SystemApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ systemStatus(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise> { @@ -8264,7 +8999,8 @@ export const SystemApiFp = function(configuration?: Configuration) { export const SystemApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} */ systemStatus(options?: any) { @@ -8281,7 +9017,8 @@ export const SystemApiFactory = function (configuration?: Configuration, fetch?: */ export class SystemApi extends BaseAPI { /** - *\n * @param {*} [options] Override http request option. + * + * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SystemApi */ @@ -8297,7 +9034,8 @@ export class SystemApi extends BaseAPI { export const TasksApiFetchParamCreator = function (configuration?: Configuration) { return { /** - *\n * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8331,7 +9069,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8365,8 +9104,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8405,7 +9145,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8440,7 +9181,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8475,7 +9217,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8510,7 +9253,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8545,8 +9289,9 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration }; }, /** - *\n * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8594,7 +9339,8 @@ export const TasksApiFetchParamCreator = function (configuration?: Configuration export const TasksApiFp = function(configuration?: Configuration) { return { /** - *\n * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8611,7 +9357,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8628,8 +9375,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8646,7 +9394,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8663,7 +9412,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8680,7 +9430,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8697,7 +9448,8 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8714,8 +9466,9 @@ export const TasksApiFp = function(configuration?: Configuration) { }; }, /** - *\n * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8741,7 +9494,8 @@ export const TasksApiFp = function(configuration?: Configuration) { export const TasksApiFactory = function (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) { return { /** - *\n * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8749,7 +9503,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddAnswerForQuestion(body, options)(fetch, basePath); }, /** - *\n * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8757,8 +9512,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddQuestionForTask(body, options)(fetch, basePath); }, /** - *\n * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8766,7 +9522,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksAddTask(homeworkId, body, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8774,7 +9531,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksDeleteTask(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8782,7 +9540,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetForEditingTask(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8790,7 +9549,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetQuestionsForTask(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8798,8 +9558,9 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: return TasksApiFp(configuration).tasksGetTask(taskId, options)(fetch, basePath); }, /** - *\n * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8817,7 +9578,8 @@ export const TasksApiFactory = function (configuration?: Configuration, fetch?: */ export class TasksApi extends BaseAPI { /** - *\n * @param {AddAnswerForQuestionDto} [body] + * + * @param {AddAnswerForQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8827,7 +9589,8 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {AddTaskQuestionDto} [body] + * + * @param {AddTaskQuestionDto} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8837,8 +9600,9 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} homeworkId - * @param {CreateTaskViewModel} [body] + * + * @param {number} homeworkId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8848,7 +9612,8 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8858,7 +9623,8 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8868,7 +9634,8 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8878,7 +9645,8 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} taskId + * + * @param {number} taskId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8888,8 +9656,9 @@ export class TasksApi extends BaseAPI { } /** - *\n * @param {number} taskId - * @param {CreateTaskViewModel} [body] + * + * @param {number} taskId + * @param {CreateTaskViewModel} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi @@ -8899,3 +9668,4 @@ export class TasksApi extends BaseAPI { } } + From acc5d60d76b3c95b6187aa50a491a51151a7f6ea Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sat, 17 May 2025 01:11:44 +0300 Subject: [PATCH 28/44] refactor: revert style changes --- hwproj.front/src/components/Experts/AuthLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwproj.front/src/components/Experts/AuthLayout.tsx b/hwproj.front/src/components/Experts/AuthLayout.tsx index 6060ead92..07bb15b7d 100644 --- a/hwproj.front/src/components/Experts/AuthLayout.tsx +++ b/hwproj.front/src/components/Experts/AuthLayout.tsx @@ -83,10 +83,10 @@ const ExpertAuthLayout: FC = (props: IExpertAuthLayoutPr justifyContent={'center'}> - Invalid invitation link + Ошибка в пригласительной ссылке - The link is expired or contains an error. Please contact the lecturer who provided it. + Ссылка просрочена или содержит опечатку. Обратитесь к выдавшему её преподавателю. From 2e878a13c271793b1e1682a1a6faa4f6a2a5ceec Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sat, 17 May 2025 01:55:48 +0300 Subject: [PATCH 29/44] feat: make email carry over in between windows --- hwproj.front/src/components/Courses/Course.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 69c08fb72..377b57cf7 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -86,6 +86,12 @@ const RegisterStudentDialog: FC = ({courseId, open, const [errors, setErrors] = useState([]); const [isRegistering, setIsRegistering] = useState(false); + useEffect(() => { + if (initialEmail) { + setEmail(initialEmail); + } + }, [initialEmail]); + const registerStudent = async () => { setIsRegistering(true); setErrors([]); From 8cbc20c51bc7714b54548bc1474c7c9c2acc31c3 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 02:53:44 +0300 Subject: [PATCH 30/44] refactor: merge branches in InviteStudent --- .../Controllers/CoursesController.cs | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index 72e5b2e86..fed9c3ade 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -313,13 +313,13 @@ public async Task InviteStudent([FromBody] InviteStudentViewModel { var student = await AuthServiceClient.FindByEmailAsync(model.Email); - if (student == null && model.Name == null) + if (student == null) { - return BadRequest(new { error = "Пользователь с указанным email не найден" }); - } + if (model.Name == null) + { + return BadRequest(new { error = "Пользователь с указанным email не найден" }); + } - if (student == null && model.Name != null) - { var registerModel = new RegisterViewModel { Email = model.Email, @@ -329,7 +329,7 @@ public async Task InviteStudent([FromBody] InviteStudentViewModel }; var registrationResult = await AuthServiceClient.RegisterInvitedStudent(registerModel); - + if (!registrationResult.Succeeded) { return BadRequest(new { error = "Не удалось зарегистрировать студента", details = registrationResult.Errors }); @@ -341,14 +341,15 @@ public async Task InviteStudent([FromBody] InviteStudentViewModel return BadRequest(new { error = "Студент зарегистрирован, но не найден в системе" }); } } - - var result = await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); - if (!result.Succeeded) + + var invitationResult = await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); + + if (!invitationResult.Succeeded) { - return BadRequest(new { error = "Не удалось добавить студента в курс", details = result.Errors }); + return BadRequest(new { error = invitationResult.Errors }); } - return Ok(); + return Ok(new { message = "Студент успешно приглашен на курс" }); } } } From 541709c7584864707a439c08a63fd66e14510066 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 02:56:31 +0300 Subject: [PATCH 31/44] chore: translate error's text --- .../HwProj.AuthService.API/Controllers/ExpertsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs index 1d3fe6197..286f82ac3 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs @@ -92,7 +92,7 @@ public async Task GetStudentToken(string email) var user = await _userManager.FindByEmailAsync(email); if (user == null) { - return Ok(Result.Failed("User not found")); + return Ok(Result.Failed("Пользователь не найден")); } var token = await _tokenService.GetTokenAsync(user); From f1bb8e4fe0b0237bcd392a51d6ea31cc9a1b3ccd Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 02:58:53 +0300 Subject: [PATCH 32/44] style: replace expertEmail to email --- .../HwProj.APIGateway.API/Controllers/ExpertsController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs index aecfb2807..2c0fc95d5 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs @@ -74,9 +74,9 @@ public async Task Login(TokenCredentials credentials) [HttpGet("getToken")] [Authorize(Roles = Roles.LecturerRole)] [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task GetToken(string expertEmail) + public async Task GetToken(string email) { - var tokenMeta = await AuthServiceClient.GetExpertToken(expertEmail); + var tokenMeta = await AuthServiceClient.GetExpertToken(email); return Ok(tokenMeta); } From 7f6867716661f52b21f4fe4cbe70e371833bd06b Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 03:00:46 +0300 Subject: [PATCH 33/44] refactor: refactor email name in token method --- .../Controllers/ExpertsController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs index 2c0fc95d5..a6941904e 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs @@ -74,9 +74,9 @@ public async Task Login(TokenCredentials credentials) [HttpGet("getToken")] [Authorize(Roles = Roles.LecturerRole)] [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task GetToken(string email) + public async Task GetToken(string expertEmail) { - var tokenMeta = await AuthServiceClient.GetExpertToken(email); + var tokenMeta = await AuthServiceClient.GetExpertToken(expertEmail); return Ok(tokenMeta); } @@ -119,9 +119,9 @@ public async Task UpdateTags(UpdateExpertTagsDTO updateExpertTags [HttpGet("getStudentToken")] [Authorize(Roles = Roles.LecturerRole)] [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task GetStudentToken(string expertEmail) + public async Task GetStudentToken(string email) { - var tokenMeta = await AuthServiceClient.GetStudentToken(expertEmail); + var tokenMeta = await AuthServiceClient.GetStudentToken(email); return Ok(tokenMeta); } From ea54cb294fd4f6bb720bbaff98ad27c49f193d06 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 04:00:00 +0300 Subject: [PATCH 34/44] feat: remove extra role check --- hwproj.front/src/components/Courses/Course.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 377b57cf7..aac02a5ff 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -660,7 +660,7 @@ const Course: React.FC = () => { Поделиться - {isCourseMentor && isLecturer && + {isCourseMentor && { setShowInviteDialog(true) }}> From 3f2d9f8cfcca17e9640e7cf7f49775675d948c23 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 04:25:54 +0300 Subject: [PATCH 35/44] fix: bring back removed code --- hwproj.front/src/components/Courses/Course.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index aac02a5ff..7b25bb36c 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -536,10 +536,10 @@ const Course: React.FC = () => { const showApplicationsTab = isCourseMentor const changeTab = (newTab: string) => { - if (isAcceptableTabValue(newTab)) { + if (isAcceptableTabValue(newTab) && newTab !== pageState.tabValue) { if (newTab === "stats" && !showStatsTab) return; if (newTab === "applications" && !showApplicationsTab) return; - + setPageState(prevState => ({ ...prevState, tabValue: newTab @@ -550,6 +550,8 @@ const Course: React.FC = () => { const setCurrentState = async () => { const course = await ApiSingleton.coursesApi.coursesGetCourseData(+courseId!) + // У пользователя изменилась роль (иначе он не может стать лектором в курсе), + // однако он все ещё использует токен с прежней ролью const shouldRefreshToken = !isMentor && course && From cdcfbe97a9ce4d8ed709d9d9a79af0b8d66e5131 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 04:28:12 +0300 Subject: [PATCH 36/44] refactor: remove empty line --- .../HwProj.AuthService.API/Services/AccountService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index c9d111111..23d446954 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -33,7 +33,6 @@ public class AccountService : IAccountService private readonly IMapper _mapper; private readonly IConfiguration _configuration; private readonly HttpClient _client; - public AccountService(IUserManager userManager, SignInManager signInManager, IAuthTokenService authTokenService, From ad6365965817e5e02683ef27883417bb18838719 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 05:18:20 +0300 Subject: [PATCH 37/44] feat: split course.tsx's functionality into multiple files --- .../src/components/Courses/Course.tsx | 429 +----------------- .../Courses/InviteStudentDialog.tsx | 264 +++++++++++ .../Courses/RegisterStudentDialog.tsx | 225 +++++++++ 3 files changed, 498 insertions(+), 420 deletions(-) create mode 100644 hwproj.front/src/components/Courses/InviteStudentDialog.tsx create mode 100644 hwproj.front/src/components/Courses/RegisterStudentDialog.tsx diff --git a/hwproj.front/src/components/Courses/Course.tsx b/hwproj.front/src/components/Courses/Course.tsx index 7b25bb36c..913a631b8 100644 --- a/hwproj.front/src/components/Courses/Course.tsx +++ b/hwproj.front/src/components/Courses/Course.tsx @@ -17,9 +17,7 @@ import { Menu, MenuItem, Stack, - Typography, - TextField, - DialogActions + Typography } from "@mui/material"; import {CourseExperimental} from "./CourseExperimental"; import {useParams, useNavigate} from 'react-router-dom'; @@ -31,13 +29,11 @@ import {QRCodeSVG} from 'qrcode.react'; import ErrorsHandler from "components/Utils/ErrorsHandler"; import {useSnackbar} from 'notistack'; import QrCode2Icon from '@mui/icons-material/QrCode2'; +import MailOutlineIcon from '@mui/icons-material/MailOutline'; import {MoreVert} from "@mui/icons-material"; import {DotLottieReact} from "@lottiefiles/dotlottie-react"; -import Avatar from "@material-ui/core/Avatar"; -import MailOutlineIcon from '@mui/icons-material/MailOutline'; -import {makeStyles} from '@material-ui/core/styles'; -import Autocomplete from '@mui/material/Autocomplete'; -import ValidationUtils from "../Utils/ValidationUtils"; +import InviteStudentDialog from "./InviteStudentDialog"; +import {makeStyles} from "@material-ui/core/styles"; type TabValue = "homeworks" | "stats" | "applications" @@ -60,415 +56,6 @@ interface IPageState { tabValue: TabValue } -interface InviteStudentDialogProps { - courseId: number; - open: boolean; - onClose: () => void; - onStudentInvited: () => Promise; - email?: string; -} - -interface RegisterStudentDialogProps { - courseId: number; - open: boolean; - onClose: () => void; - onStudentRegistered: () => Promise; - initialEmail?: string; -} - -const RegisterStudentDialog: FC = ({courseId, open, onClose, onStudentRegistered, initialEmail}) => { - const classes = useStyles(); - const {enqueueSnackbar} = useSnackbar(); - const [email, setEmail] = useState(initialEmail || ""); - const [name, setName] = useState(""); - const [surname, setSurname] = useState(""); - const [middleName, setMiddleName] = useState(""); - const [errors, setErrors] = useState([]); - const [isRegistering, setIsRegistering] = useState(false); - - useEffect(() => { - if (initialEmail) { - setEmail(initialEmail); - } - }, [initialEmail]); - - const registerStudent = async () => { - setIsRegistering(true); - setErrors([]); - try { - await ApiSingleton.coursesApi.coursesInviteStudent({ - courseId: courseId, - email: email, - name: name, - surname: surname, - middleName: middleName - }); - enqueueSnackbar("Студент успешно зарегистрирован и приглашен", {variant: "success"}); - onClose(); - await onStudentRegistered(); - } catch (error) { - const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); - if (responseErrors.length > 0) { - setErrors(responseErrors); - } else { - setErrors(['Не удалось зарегистрировать студента']); - } - } finally { - setIsRegistering(false); - } - }; - - return ( - !isRegistering && onClose()} - maxWidth="sm" - fullWidth - > - - - - - - - - - - Зарегистрировать студента - - - - - - {errors.length > 0 && ( - - {errors[0]} - - )} - - - - setEmail(e.target.value)} - InputProps={{ - autoComplete: "new-email" - }} - /> - - - setName(e.target.value)} - InputProps={{ - autoComplete: "new-name" - }} - /> - - - setSurname(e.target.value)} - InputProps={{ - autoComplete: "new-surname" - }} - /> - - - setMiddleName(e.target.value)} - InputProps={{ - autoComplete: "new-middlename" - }} - /> - - - - - - - - - - - - - - ); -}; - -const InviteStudentDialog: FC = ({courseId, open, onClose, onStudentInvited, email: initialEmail}) => { - const classes = useStyles(); - const {enqueueSnackbar} = useSnackbar(); - const [email, setEmail] = useState(initialEmail || ""); - const [errors, setErrors] = useState([]); - const [isInviting, setIsInviting] = useState(false); - const [showRegisterDialog, setShowRegisterDialog] = useState(false); - const [students, setStudents] = useState([]); - - const getStudents = async () => { - try { - const data = await ApiSingleton.accountApi.accountGetAllStudents(); - setStudents(data); - } catch (error) { - console.error("Error fetching students:", error); - } - }; - - useEffect(() => { - getStudents(); - }, []); - - const getCleanEmail = (input: string) => { - return input.split(' / ')[0].trim(); - }; - - const inviteStudent = async () => { - setIsInviting(true); - setErrors([]); - try { - const cleanEmail = getCleanEmail(email); - await ApiSingleton.coursesApi.coursesInviteStudent({ - courseId: courseId, - email: cleanEmail, - name: "", - surname: "", - middleName: "" - }); - enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); - setEmail(""); - onClose(); - await onStudentInvited(); - } catch (error) { - const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); - if (responseErrors.length > 0) { - setErrors(responseErrors); - } else { - setErrors(['Студент с такой почтой не найден']); - } - } finally { - setIsInviting(false); - } - }; - - const hasMatchingStudent = () => { - const cleanEmail = getCleanEmail(email); - return students.some(student => - student.email === cleanEmail || - `${student.surname} ${student.name}`.includes(cleanEmail) - ); - }; - - return ( - <> - !isInviting && onClose()} - maxWidth="sm" - fullWidth - > - - - - - - - - - - Пригласить студента - - - - - - {errors.length > 0 && ( - - {errors[0]} - - )} -
    - - - - typeof option === 'string' - ? option - : `${option.email} / ${option.surname} ${option.name}` - } - inputValue={email} - onInputChange={(event, newInputValue) => { - setEmail(newInputValue); - }} - renderOption={(props, option) => ( -
  • - - - - {option.email} / - - - - - {option.surname} {option.name} - - - -
  • - )} - renderInput={(params) => ( - - )} - /> -
    -
    - - - - - - - - - - - -
    -
    -
    - - setShowRegisterDialog(false)} - onStudentRegistered={onStudentInvited} - initialEmail={getCleanEmail(email)} - /> - - ); -}; - const useStyles = makeStyles((theme) => ({ paper: { marginTop: theme.spacing(3), @@ -486,7 +73,7 @@ const useStyles = makeStyles((theme) => ({ button: { marginTop: theme.spacing(1) }, -})) +})); const Course: React.FC = () => { const {courseId, tab} = useParams() @@ -576,6 +163,8 @@ const Course: React.FC = () => { } const getCourseFilesInfo = async () => { + // В случае, если сервис файлов недоступен, показываем пользователю сообщение + // и не блокируем остальную функциональность системы let courseFilesInfo = [] as FileInfoDTO[] try { courseFilesInfo = await ApiSingleton.filesApi.filesGetFilesInfo(+courseId!) @@ -612,7 +201,7 @@ const Course: React.FC = () => { const unratedSolutionsCount = studentSolutions .flatMap(x => x.homeworks) .flatMap(x => x!.tasks) - .filter(t => t!.solution!.slice(-1)[0]?.state === 0) + .filter(t => t!.solution!.slice(-1)[0]?.state === 0) //last solution .length const [lecturerStatsState, setLecturerStatsState] = useState(false); @@ -662,7 +251,7 @@ const Course: React.FC = () => {
    Поделиться
    - {isCourseMentor && + {isCourseMentor && { setShowInviteDialog(true) }}> diff --git a/hwproj.front/src/components/Courses/InviteStudentDialog.tsx b/hwproj.front/src/components/Courses/InviteStudentDialog.tsx new file mode 100644 index 000000000..250c0df4a --- /dev/null +++ b/hwproj.front/src/components/Courses/InviteStudentDialog.tsx @@ -0,0 +1,264 @@ +import * as React from "react"; +import {FC, useEffect, useState} from "react"; +import { + Dialog, + DialogContent, + DialogTitle, + Grid, + Typography, + TextField, + Button, + Box, + Avatar, + Autocomplete +} from "@mui/material"; +import MailOutlineIcon from '@mui/icons-material/MailOutline'; +import ApiSingleton from "../../api/ApiSingleton"; +import {AccountDataDto} from "@/api"; +import ErrorsHandler from "components/Utils/ErrorsHandler"; +import {useSnackbar} from 'notistack'; +import {makeStyles} from '@material-ui/core/styles'; +import RegisterStudentDialog from "./RegisterStudentDialog"; + +const useStyles = makeStyles((theme) => ({ + paper: { + marginTop: theme.spacing(3), + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + }, + avatar: { + margin: theme.spacing(1), + }, + form: { + marginTop: theme.spacing(3), + width: '100%' + }, + button: { + marginTop: theme.spacing(1) + }, +})) + +interface InviteStudentDialogProps { + courseId: number; + open: boolean; + onClose: () => void; + onStudentInvited: () => Promise; + email?: string; +} + +const InviteStudentDialog: FC = ({courseId, open, onClose, onStudentInvited, email: initialEmail}) => { + const classes = useStyles(); + const {enqueueSnackbar} = useSnackbar(); + const [email, setEmail] = useState(initialEmail || ""); + const [errors, setErrors] = useState([]); + const [isInviting, setIsInviting] = useState(false); + const [showRegisterDialog, setShowRegisterDialog] = useState(false); + const [students, setStudents] = useState([]); + + const getStudents = async () => { + try { + const data = await ApiSingleton.accountApi.accountGetAllStudents(); + setStudents(data); + } catch (error) { + console.error("Error fetching students:", error); + } + }; + + useEffect(() => { + getStudents(); + }, []); + + const getCleanEmail = (input: string) => { + return input.split(' / ')[0].trim(); + }; + + const inviteStudent = async () => { + setIsInviting(true); + setErrors([]); + try { + const cleanEmail = getCleanEmail(email); + await ApiSingleton.coursesApi.coursesInviteStudent({ + courseId: courseId, + email: cleanEmail, + name: "", + surname: "", + middleName: "" + }); + enqueueSnackbar("Студент успешно приглашен", {variant: "success"}); + setEmail(""); + onClose(); + await onStudentInvited(); + } catch (error) { + const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); + if (responseErrors.length > 0) { + setErrors(responseErrors); + } else { + setErrors(['Студент с такой почтой не найден']); + } + } finally { + setIsInviting(false); + } + }; + + const hasMatchingStudent = () => { + const cleanEmail = getCleanEmail(email); + return students.some(student => + student.email === cleanEmail || + `${student.surname} ${student.name}`.includes(cleanEmail) + ); + }; + + return ( + <> + !isInviting && onClose()} + maxWidth="sm" + fullWidth + > + + + + + + + + + + Пригласить студента + + + + + + {errors.length > 0 && ( + + {errors[0]} + + )} +
    + + + + typeof option === 'string' + ? option + : `${option.email} / ${option.surname} ${option.name}` + } + inputValue={email} + onInputChange={(event, newInputValue) => { + setEmail(newInputValue); + }} + renderOption={(props, option) => ( +
  • + + + + {option.email} / + + + + + {option.surname} {option.name} + + + +
  • + )} + renderInput={(params) => ( + + )} + /> +
    +
    + + + + + + + + + + + +
    +
    +
    + + setShowRegisterDialog(false)} + onStudentRegistered={onStudentInvited} + initialEmail={getCleanEmail(email)} + /> + + ); +}; + +export default InviteStudentDialog; \ No newline at end of file diff --git a/hwproj.front/src/components/Courses/RegisterStudentDialog.tsx b/hwproj.front/src/components/Courses/RegisterStudentDialog.tsx new file mode 100644 index 000000000..b58de3eb6 --- /dev/null +++ b/hwproj.front/src/components/Courses/RegisterStudentDialog.tsx @@ -0,0 +1,225 @@ +import * as React from "react"; +import {FC, useEffect, useState} from "react"; +import { + Dialog, + DialogContent, + DialogTitle, + Grid, + Typography, + TextField, + Button, + Avatar +} from "@mui/material"; +import MailOutlineIcon from '@mui/icons-material/MailOutline'; +import ApiSingleton from "../../api/ApiSingleton"; +import ErrorsHandler from "components/Utils/ErrorsHandler"; +import {useSnackbar} from 'notistack'; +import {makeStyles} from '@material-ui/core/styles'; + +const useStyles = makeStyles((theme) => ({ + paper: { + marginTop: theme.spacing(3), + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + }, + avatar: { + margin: theme.spacing(1), + }, + form: { + marginTop: theme.spacing(3), + width: '100%' + }, + button: { + marginTop: theme.spacing(1) + }, +})) + +interface RegisterStudentDialogProps { + courseId: number; + open: boolean; + onClose: () => void; + onStudentRegistered: () => Promise; + initialEmail?: string; +} + +const RegisterStudentDialog: FC = ({courseId, open, onClose, onStudentRegistered, initialEmail}) => { + const classes = useStyles(); + const {enqueueSnackbar} = useSnackbar(); + const [email, setEmail] = useState(initialEmail || ""); + const [name, setName] = useState(""); + const [surname, setSurname] = useState(""); + const [middleName, setMiddleName] = useState(""); + const [errors, setErrors] = useState([]); + const [isRegistering, setIsRegistering] = useState(false); + + useEffect(() => { + if (initialEmail) { + setEmail(initialEmail); + } + }, [initialEmail]); + + const registerStudent = async () => { + setIsRegistering(true); + setErrors([]); + try { + await ApiSingleton.coursesApi.coursesInviteStudent({ + courseId: courseId, + email: email, + name: name, + surname: surname, + middleName: middleName + }); + enqueueSnackbar("Студент успешно зарегистрирован и приглашен", {variant: "success"}); + onClose(); + await onStudentRegistered(); + } catch (error) { + const responseErrors = await ErrorsHandler.getErrorMessages(error as Response); + if (responseErrors.length > 0) { + setErrors(responseErrors); + } else { + setErrors(['Не удалось зарегистрировать студента']); + } + } finally { + setIsRegistering(false); + } + }; + + return ( + !isRegistering && onClose()} + maxWidth="sm" + fullWidth + > + + + + + + + + + + Зарегистрировать студента + + + + + + {errors.length > 0 && ( + + {errors[0]} + + )} +
    + + + setEmail(e.target.value)} + InputProps={{ + autoComplete: "new-email" + }} + /> + + + setName(e.target.value)} + InputProps={{ + autoComplete: "new-name" + }} + /> + + + setSurname(e.target.value)} + InputProps={{ + autoComplete: "new-surname" + }} + /> + + + setMiddleName(e.target.value)} + InputProps={{ + autoComplete: "new-middlename" + }} + /> + + + + + + + + + + +
    +
    +
    + ); +}; + +export default RegisterStudentDialog; \ No newline at end of file From 459d9546cda096dce01fea9dc692288aee0b6df1 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Thu, 29 May 2025 05:28:25 +0300 Subject: [PATCH 38/44] refactor: use ID instead of email --- .../HwProj.AuthService.API/Services/ExpertsService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs index 0fe270c63..2d70a7b7d 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs @@ -181,9 +181,9 @@ public async Task LoginWithTokenAsync(TokenCredentials tokenCredentials) { var tokenClaims = _tokenService.GetTokenClaims(tokenCredentials); - if (string.IsNullOrEmpty(tokenClaims.Email)) + if (string.IsNullOrEmpty(tokenClaims.Id)) { - return Result.Failed("Невалидный токен: email не найден"); + return Result.Failed("Невалидный токен: id не найден"); } var user = await _userManager.FindByEmailAsync(tokenClaims.Email); From a4ed92ec83492a0b80fbe150e48baa0f174cd375 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 6 Jun 2025 18:17:37 +0300 Subject: [PATCH 39/44] feat: remove extra request to AuthServiceClient --- .../Controllers/CoursesController.cs | 12 ++++-------- .../Services/AccountService.cs | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs index fed9c3ade..7b9fad39b 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/CoursesController.cs @@ -329,21 +329,17 @@ public async Task InviteStudent([FromBody] InviteStudentViewModel }; var registrationResult = await AuthServiceClient.RegisterInvitedStudent(registerModel); - + if (!registrationResult.Succeeded) { return BadRequest(new { error = "Не удалось зарегистрировать студента", details = registrationResult.Errors }); } - student = await AuthServiceClient.FindByEmailAsync(model.Email); - if (student == null) - { - return BadRequest(new { error = "Студент зарегистрирован, но не найден в системе" }); - } + student = registrationResult.Value; } - - var invitationResult = await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); + var invitationResult = await _coursesClient.SignInAndAcceptStudent(model.CourseId, student); + if (!invitationResult.Succeeded) { return BadRequest(new { error = invitationResult.Errors }); diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index 23d446954..39e326638 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -396,7 +396,7 @@ private async Task> RegisterInvitedStudentInternal(RegisterDataDT AuthToken = token.AccessToken }; _eventBus.Publish(registerEvent); - return Result.Success(user.Id); + return Result.Success(newUser.Id); } return Result.Failed(result.Errors.Select(errors => errors.Description).ToArray()); From 4110a536043394269792c36a667120017c0af6c0 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 6 Jun 2025 19:14:04 +0300 Subject: [PATCH 40/44] feat: make sending notification optional --- .../Controllers/CoursesController.cs | 2 +- .../Services/CoursesService.cs | 23 +++++++++++++------ .../Services/ICoursesService.cs | 1 + 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs b/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs index ef6d9d407..f5aa89d7c 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.API/Controllers/CoursesController.cs @@ -278,7 +278,7 @@ public async Task GetMentorsToAssignedStudents(long courseId) [ServiceFilter(typeof(CourseMentorOnlyAttribute))] public async Task SignInAndAcceptStudent(long courseId, [FromQuery] string studentId) { - var signInResult = await _coursesService.AddStudentAsync(courseId, studentId); + var signInResult = await _coursesService.AddStudentAsync(courseId, studentId, false); if (!signInResult) return NotFound(); var acceptResult = await _coursesService.AcceptCourseMateAsync(courseId, studentId); diff --git a/HwProj.CoursesService/HwProj.CoursesService.API/Services/CoursesService.cs b/HwProj.CoursesService/HwProj.CoursesService.API/Services/CoursesService.cs index 7fd03cdb0..79509060a 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.API/Services/CoursesService.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.API/Services/CoursesService.cs @@ -168,6 +168,11 @@ public async Task UpdateAsync(long courseId, Course updated) } public async Task AddStudentAsync(long courseId, string studentId) + { + return await AddStudentAsync(courseId, studentId, true); + } + + public async Task AddStudentAsync(long courseId, string studentId, bool sendNotification) { var course = await _coursesRepository.GetAsync(courseId); var cm = await _courseMatesRepository.FindAsync(cm => cm.CourseId == courseId && cm.StudentId == studentId); @@ -183,14 +188,18 @@ public async Task AddStudentAsync(long courseId, string studentId) }; await _courseMatesRepository.AddAsync(courseMate); - _eventBus.Publish(new NewCourseMateEvent + + if (sendNotification) { - CourseId = courseId, - CourseName = course.Name, - MentorIds = course.MentorIds, - StudentId = studentId, - IsAccepted = false - }); + _eventBus.Publish(new NewCourseMateEvent + { + CourseId = courseId, + CourseName = course.Name, + MentorIds = course.MentorIds, + StudentId = studentId, + IsAccepted = false + }); + } return true; } diff --git a/HwProj.CoursesService/HwProj.CoursesService.API/Services/ICoursesService.cs b/HwProj.CoursesService/HwProj.CoursesService.API/Services/ICoursesService.cs index 57ae4c023..08e0503f9 100644 --- a/HwProj.CoursesService/HwProj.CoursesService.API/Services/ICoursesService.cs +++ b/HwProj.CoursesService/HwProj.CoursesService.API/Services/ICoursesService.cs @@ -16,6 +16,7 @@ public interface ICoursesService Task DeleteAsync(long id); Task UpdateAsync(long courseId, Course updated); Task AddStudentAsync(long courseId, string studentId); + Task AddStudentAsync(long courseId, string studentId, bool sendNotification); Task AcceptCourseMateAsync(long courseId, string studentId); Task RejectCourseMateAsync(long courseId, string studentId); Task GetUserCoursesAsync(string userId, string role); From fd527d2d4404a3c5cc8c26c1b77b18afe96346fe Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 6 Jun 2025 21:23:31 +0300 Subject: [PATCH 41/44] feat: move student related code to account controller in api gateway --- hwproj.front/src/api/api.ts | 292 +++++++++--------- .../src/components/Experts/AuthLayout.tsx | 2 +- 2 files changed, 147 insertions(+), 147 deletions(-) diff --git a/hwproj.front/src/api/api.ts b/hwproj.front/src/api/api.ts index e5c06e082..73388259d 100644 --- a/hwproj.front/src/api/api.ts +++ b/hwproj.front/src/api/api.ts @@ -2801,6 +2801,41 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, + /** + * + * @param {string} [email] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountGetStudentToken(email?: string, options: any = {}): FetchArgs { + const localVarPath = `/api/Account/getStudentToken`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'GET' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + + if (email !== undefined) { + localVarQueryParameter['email'] = email; + } + + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @param {*} [options] Override http request option. @@ -2937,6 +2972,41 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, + /** + * + * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountLoginWithToken(body?: TokenCredentials, options: any = {}): FetchArgs { + const localVarPath = `/api/Account/loginWithToken`; + const localVarUrlObj = url.parse(localVarPath, true); + const localVarRequestOptions = Object.assign({ method: 'POST' }, options); + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? configuration.apiKey("Authorization") + : configuration.apiKey; + localVarHeaderParameter["Authorization"] = localVarApiKeyValue; + } + + localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; + + localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + localVarUrlObj.search = null; + localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); + const needsSerialization = ("TokenCredentials" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); + + return { + url: url.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @param {*} [options] Override http request option. @@ -3152,6 +3222,24 @@ export const AccountApiFp = function(configuration?: Configuration) { }); }; }, + /** + * + * @param {string} [email] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountGetStudentToken(email?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountGetStudentToken(email, options); + return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { + return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { + if (response.status >= 200 && response.status < 300) { + return response.json(); + } else { + throw response; + } + }); + }; + }, /** * * @param {*} [options] Override http request option. @@ -3223,6 +3311,24 @@ export const AccountApiFp = function(configuration?: Configuration) { }); }; }, + /** + * + * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountLoginWithToken(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { + const localVarFetchArgs = AccountApiFetchParamCreator(configuration).accountLoginWithToken(body, options); + return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { + return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { + if (response.status >= 200 && response.status < 300) { + return response.json(); + } else { + throw response; + } + }); + }; + }, /** * * @param {*} [options] Override http request option. @@ -3338,6 +3444,15 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? accountGetGithubLoginUrl(body?: UrlDto, options?: any) { return AccountApiFp(configuration).accountGetGithubLoginUrl(body, options)(fetch, basePath); }, + /** + * + * @param {string} [email] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountGetStudentToken(email?: string, options?: any) { + return AccountApiFp(configuration).accountGetStudentToken(email, options)(fetch, basePath); + }, /** * * @param {*} [options] Override http request option. @@ -3373,6 +3488,15 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch? accountLogin(body?: LoginViewModel, options?: any) { return AccountApiFp(configuration).accountLogin(body, options)(fetch, basePath); }, + /** + * + * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountLoginWithToken(body?: TokenCredentials, options?: any) { + return AccountApiFp(configuration).accountLoginWithToken(body, options)(fetch, basePath); + }, /** * * @param {*} [options] Override http request option. @@ -3461,6 +3585,17 @@ export class AccountApi extends BaseAPI { return AccountApiFp(this.configuration).accountGetGithubLoginUrl(body, options)(this.fetch, this.basePath); } + /** + * + * @param {string} [email] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi + */ + public accountGetStudentToken(email?: string, options?: any) { + return AccountApiFp(this.configuration).accountGetStudentToken(email, options)(this.fetch, this.basePath); + } + /** * * @param {*} [options] Override http request option. @@ -3504,6 +3639,17 @@ export class AccountApi extends BaseAPI { return AccountApiFp(this.configuration).accountLogin(body, options)(this.fetch, this.basePath); } + /** + * + * @param {TokenCredentials} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi + */ + public accountLoginWithToken(body?: TokenCredentials, options?: any) { + return AccountApiFp(this.configuration).accountLoginWithToken(body, options)(this.fetch, this.basePath); + } + /** * * @param {*} [options] Override http request option. @@ -5872,41 +6018,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, - /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsGetStudentToken(expertEmail?: string, options: any = {}): FetchArgs { - const localVarPath = `/api/Experts/getStudentToken`; - const localVarUrlObj = url.parse(localVarPath, true); - const localVarRequestOptions = Object.assign({ method: 'GET' }, options); - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication Bearer required - if (configuration && configuration.apiKey) { - const localVarApiKeyValue = typeof configuration.apiKey === 'function' - ? configuration.apiKey("Authorization") - : configuration.apiKey; - localVarHeaderParameter["Authorization"] = localVarApiKeyValue; - } - - if (expertEmail !== undefined) { - localVarQueryParameter['expertEmail'] = expertEmail; - } - - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); - // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 - localVarUrlObj.search = null; - localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - - return { - url: url.format(localVarUrlObj), - options: localVarRequestOptions, - }; - }, /** * * @param {string} [expertEmail] @@ -6012,41 +6123,6 @@ export const ExpertsApiFetchParamCreator = function (configuration?: Configurati options: localVarRequestOptions, }; }, - /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsLoginWithToken(body?: TokenCredentials, options: any = {}): FetchArgs { - const localVarPath = `/api/Experts/loginWithToken`; - const localVarUrlObj = url.parse(localVarPath, true); - const localVarRequestOptions = Object.assign({ method: 'POST' }, options); - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication Bearer required - if (configuration && configuration.apiKey) { - const localVarApiKeyValue = typeof configuration.apiKey === 'function' - ? configuration.apiKey("Authorization") - : configuration.apiKey; - localVarHeaderParameter["Authorization"] = localVarApiKeyValue; - } - - localVarHeaderParameter['Content-Type'] = 'application/json-patch+json'; - - localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query); - // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 - localVarUrlObj.search = null; - localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers); - const needsSerialization = ("TokenCredentials" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; - localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || ""); - - return { - url: url.format(localVarUrlObj), - options: localVarRequestOptions, - }; - }, /** * * @param {RegisterExpertViewModel} [body] @@ -6190,24 +6266,6 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }); }; }, - /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsGetStudentToken(expertEmail?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsGetStudentToken(expertEmail, options); - return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { - return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { - if (response.status >= 200 && response.status < 300) { - return response.json(); - } else { - throw response; - } - }); - }; - }, /** * * @param {string} [expertEmail] @@ -6262,24 +6320,6 @@ export const ExpertsApiFp = function(configuration?: Configuration) { }); }; }, - /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsLoginWithToken(body?: TokenCredentials, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise { - const localVarFetchArgs = ExpertsApiFetchParamCreator(configuration).expertsLoginWithToken(body, options); - return (fetch: FetchAPI = isomorphicFetch, basePath: string = BASE_PATH) => { - return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => { - if (response.status >= 200 && response.status < 300) { - return response.json(); - } else { - throw response; - } - }); - }; - }, /** * * @param {RegisterExpertViewModel} [body] @@ -6358,15 +6398,6 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? expertsGetIsProfileEdited(options?: any) { return ExpertsApiFp(configuration).expertsGetIsProfileEdited(options)(fetch, basePath); }, - /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsGetStudentToken(expertEmail?: string, options?: any) { - return ExpertsApiFp(configuration).expertsGetStudentToken(expertEmail, options)(fetch, basePath); - }, /** * * @param {string} [expertEmail] @@ -6394,15 +6425,6 @@ export const ExpertsApiFactory = function (configuration?: Configuration, fetch? expertsLogin(body?: TokenCredentials, options?: any) { return ExpertsApiFp(configuration).expertsLogin(body, options)(fetch, basePath); }, - /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - expertsLoginWithToken(body?: TokenCredentials, options?: any) { - return ExpertsApiFp(configuration).expertsLoginWithToken(body, options)(fetch, basePath); - }, /** * * @param {RegisterExpertViewModel} [body] @@ -6459,17 +6481,6 @@ export class ExpertsApi extends BaseAPI { return ExpertsApiFp(this.configuration).expertsGetIsProfileEdited(options)(this.fetch, this.basePath); } - /** - * - * @param {string} [expertEmail] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi - */ - public expertsGetStudentToken(expertEmail?: string, options?: any) { - return ExpertsApiFp(this.configuration).expertsGetStudentToken(expertEmail, options)(this.fetch, this.basePath); - } - /** * * @param {string} [expertEmail] @@ -6503,17 +6514,6 @@ export class ExpertsApi extends BaseAPI { return ExpertsApiFp(this.configuration).expertsLogin(body, options)(this.fetch, this.basePath); } - /** - * - * @param {TokenCredentials} [body] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof ExpertsApi - */ - public expertsLoginWithToken(body?: TokenCredentials, options?: any) { - return ExpertsApiFp(this.configuration).expertsLoginWithToken(body, options)(this.fetch, this.basePath); - } - /** * * @param {RegisterExpertViewModel} [body] diff --git a/hwproj.front/src/components/Experts/AuthLayout.tsx b/hwproj.front/src/components/Experts/AuthLayout.tsx index 07bb15b7d..db65f379e 100644 --- a/hwproj.front/src/components/Experts/AuthLayout.tsx +++ b/hwproj.front/src/components/Experts/AuthLayout.tsx @@ -41,7 +41,7 @@ const ExpertAuthLayout: FC = (props: IExpertAuthLayoutPr return; } - const loginResult = await ApiSingleton.expertsApi.expertsLoginWithToken(credentials); + const loginResult = await ApiSingleton.accountApi.accountLoginWithToken(credentials); if (loginResult.succeeded) { ApiSingleton.authService.setToken(token!); From 892ae521539ca740f1f5cd452c8455a3782142ae Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Fri, 6 Jun 2025 21:45:50 +0300 Subject: [PATCH 42/44] feat: move code for creating student tokens to other account controller --- .../Controllers/AccountController.cs | 17 +++++++++++ .../Controllers/ExpertsController.cs | 17 ----------- .../Controllers/AccountController.cs | 30 ++++++++++++++++++- .../Controllers/ExpertsController.cs | 22 -------------- .../Services/AccountService.cs | 20 +++++++++++++ .../Services/ExpertsService.cs | 20 ------------- .../Services/IAccountService.cs | 1 + .../Services/IExpertsService.cs | 1 - .../AuthServiceClient.cs | 4 +-- 9 files changed, 69 insertions(+), 63 deletions(-) diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs index ddc60b9ce..db798abb5 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs @@ -180,5 +180,22 @@ public async Task AuthorizeGithub( return Ok(result); } + + [HttpGet("getStudentToken")] + [Authorize(Roles = Roles.LecturerRole)] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task GetStudentToken(string email) + { + var tokenMeta = await AuthServiceClient.GetStudentToken(email); + return Ok(tokenMeta); + } + + [HttpPost("loginWithToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task LoginWithToken([FromBody] TokenCredentials credentials) + { + var result = await AuthServiceClient.LoginWithToken(credentials); + return Ok(result); + } } } diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs index a6941904e..9d5c39049 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/ExpertsController.cs @@ -115,22 +115,5 @@ public async Task UpdateTags(UpdateExpertTagsDTO updateExpertTags var result = await AuthServiceClient.UpdateExpertTags(UserId, updateExpertTagsDto); return Ok(result); } - - [HttpGet("getStudentToken")] - [Authorize(Roles = Roles.LecturerRole)] - [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task GetStudentToken(string email) - { - var tokenMeta = await AuthServiceClient.GetStudentToken(email); - return Ok(tokenMeta); - } - - [HttpPost("loginWithToken")] - [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task LoginWithToken([FromBody] TokenCredentials credentials) - { - var result = await AuthServiceClient.LoginWithToken(credentials); - return Ok(result); - } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs index c97c572eb..7557b4d5a 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs @@ -20,6 +20,8 @@ namespace HwProj.AuthService.API.Controllers public class AccountController : ControllerBase { private readonly IAccountService _accountService; + private readonly IExpertsService _expertsService; + private readonly IAuthTokenService _tokenService; private readonly IUserManager _userManager; private readonly IConfiguration _configuration; private readonly IMapper _mapper; @@ -27,10 +29,14 @@ public class AccountController : ControllerBase public AccountController( IAccountService accountService, IUserManager userManager, + IExpertsService expertsService, + IAuthTokenService authTokenService, IMapper mapper) { _accountService = accountService; _userManager = userManager; + _expertsService = expertsService; + _tokenService = authTokenService; _mapper = mapper; } @@ -198,5 +204,27 @@ public async Task RegisterInvitedStudent([FromBody] RegisterViewM var result = await _accountService.RegisterInvitedStudentAsync(newModel); return Ok(result); } + + [HttpGet("getStudentToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task GetStudentToken(string email) + { + var user = await _userManager.FindByEmailAsync(email); + if (user == null) + { + return Ok(Result.Failed("Пользователь не найден")); + } + + var token = await _tokenService.GetTokenAsync(user); + return Ok(Result.Success(token)); + } + + [HttpPost("loginWithToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task LoginWithToken([FromBody] TokenCredentials credentials) + { + var result = await _accountService.LoginWithTokenAsync(credentials); + return Ok(result); + } } -} +} \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs index 286f82ac3..80cef9d83 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/ExpertsController.cs @@ -84,27 +84,5 @@ public async Task UpdateTags(string lecturerId, [FromBody] Update return Ok(experts); } - - [HttpGet("getStudentToken")] - [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task GetStudentToken(string email) - { - var user = await _userManager.FindByEmailAsync(email); - if (user == null) - { - return Ok(Result.Failed("Пользователь не найден")); - } - - var token = await _tokenService.GetTokenAsync(user); - return Ok(Result.Success(token)); - } - - [HttpPost("loginWithToken")] - [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] - public async Task LoginWithToken([FromBody] TokenCredentials credentials) - { - var result = await _expertsService.LoginWithTokenAsync(credentials); - return Ok(result); - } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index 39e326638..5dfdce630 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -409,5 +409,25 @@ public async Task> RegisterInvitedStudentAsync(RegisterDataDTO mo return await RegisterInvitedStudentInternal(model); } + + public async Task LoginWithTokenAsync(TokenCredentials tokenCredentials) + { + var tokenClaims = _tokenService.GetTokenClaims(tokenCredentials); + + if (string.IsNullOrEmpty(tokenClaims.Id)) + { + return Result.Failed("Невалидный токен: id не найден"); + } + + var user = await _userManager.FindByEmailAsync(tokenClaims.Email); + + if (user == null || user.Id != tokenClaims.Id) + { + return Result.Failed("Невалидный токен: пользователь не найден"); + } + + await _signInManager.SignInAsync(user, isPersistent: false); + return Result.Success(); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs index 2d70a7b7d..b17d402e0 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/ExpertsService.cs @@ -176,25 +176,5 @@ public async Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDT return Result.Success(); } - - public async Task LoginWithTokenAsync(TokenCredentials tokenCredentials) - { - var tokenClaims = _tokenService.GetTokenClaims(tokenCredentials); - - if (string.IsNullOrEmpty(tokenClaims.Id)) - { - return Result.Failed("Невалидный токен: id не найден"); - } - - var user = await _userManager.FindByEmailAsync(tokenClaims.Email); - - if (user == null || user.Id != tokenClaims.Id) - { - return Result.Failed("Невалидный токен: пользователь не найден"); - } - - await _signInManager.SignInAsync(user, isPersistent: false); - return Result.Success(); - } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs index 5d6e1fcb9..9d01aa147 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs @@ -23,5 +23,6 @@ public interface IAccountService Task AuthorizeGithub(string code, string userId); Task[]> GetOrRegisterStudentsBatchAsync(IEnumerable models); Task> RegisterInvitedStudentAsync(RegisterDataDTO model); + Task LoginWithTokenAsync(TokenCredentials tokenCredentials); } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs index 3f70ecd83..cafdd094a 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IExpertsService.cs @@ -13,6 +13,5 @@ public interface IExpertsService Task LoginExpertAsync(TokenCredentials tokenCredentials); Task GetAllExperts(); Task UpdateExpertTags(string lecturerId, UpdateExpertTagsDTO updateExpertTagsDto); - Task LoginWithTokenAsync(TokenCredentials tokenCredentials); } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs index ba917754c..360ef43db 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs @@ -358,7 +358,7 @@ public async Task> GetStudentToken(string email) { using var httpRequest = new HttpRequestMessage( HttpMethod.Get, - _authServiceUri + $"api/Experts/getStudentToken?email={email}"); + _authServiceUri + $"api/account/getStudentToken?email={email}"); var response = await _httpClient.SendAsync(httpRequest); return await response.DeserializeAsync>(); @@ -368,7 +368,7 @@ public async Task LoginWithToken(TokenCredentials credentials) { using var httpRequest = new HttpRequestMessage( HttpMethod.Post, - _authServiceUri + "api/Experts/loginWithToken") + _authServiceUri + "api/account/loginWithToken") { Content = new StringContent( JsonConvert.SerializeObject(credentials), From 681086e9143988b57ca330ce56d2b6395be055b0 Mon Sep 17 00:00:00 2001 From: Pavel Averin Date: Sun, 8 Jun 2025 20:24:10 +0300 Subject: [PATCH 43/44] feat: add token validation on backend --- .../Controllers/AccountController.cs | 8 ++++++ .../Controllers/AccountController.cs | 8 ++++++ .../Services/AccountService.cs | 26 +++++++++++++++++++ .../Services/IAccountService.cs | 1 + .../AuthServiceClient.cs | 16 ++++++++++++ .../IAuthServiceClient.cs | 1 + .../AuthService/DTO/TokenValidationResult.cs | 9 +++++++ 7 files changed, 69 insertions(+) create mode 100644 HwProj.Common/HwProj.Models/AuthService/DTO/TokenValidationResult.cs diff --git a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs index db798abb5..0b0c9df04 100644 --- a/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs +++ b/HwProj.APIGateway/HwProj.APIGateway.API/Controllers/AccountController.cs @@ -197,5 +197,13 @@ public async Task LoginWithToken([FromBody] TokenCredentials cred var result = await AuthServiceClient.LoginWithToken(credentials); return Ok(result); } + + [HttpPost("validateToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task ValidateToken([FromBody] TokenCredentials tokenCredentials) + { + var result = await AuthServiceClient.ValidateToken(tokenCredentials); + return Ok(result); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs index 7557b4d5a..d4b59dc07 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Controllers/AccountController.cs @@ -226,5 +226,13 @@ public async Task LoginWithToken([FromBody] TokenCredentials cred var result = await _accountService.LoginWithTokenAsync(credentials); return Ok(result); } + + [HttpPost("validateToken")] + [ProducesResponseType(typeof(Result), (int)HttpStatusCode.OK)] + public async Task ValidateToken([FromBody] TokenCredentials tokenCredentials) + { + var result = await _accountService.ValidateTokenAsync(tokenCredentials); + return Ok(result); + } } } \ No newline at end of file diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs index 5dfdce630..3db93faea 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/AccountService.cs @@ -429,5 +429,31 @@ public async Task LoginWithTokenAsync(TokenCredentials tokenCredentials) await _signInManager.SignInAsync(user, isPersistent: false); return Result.Success(); } + + public async Task> ValidateTokenAsync(TokenCredentials tokenCredentials) + { + var tokenClaims = _tokenService.GetTokenClaims(tokenCredentials); + + if (string.IsNullOrEmpty(tokenClaims.Id)) + { + return Result.Failed("Невалидный токен: id не найден"); + } + + var user = await _userManager.FindByIdAsync(tokenClaims.Id); + if (user == null) + { + return Result.Failed("Невалидный токен: пользователь не найден"); + } + + var roles = await _userManager.GetRolesAsync(user); + var role = roles.FirstOrDefault() ?? Roles.StudentRole; + + return Result.Success(new TokenValidationResult + { + IsValid = true, + Role = role, + UserId = user.Id + }); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs index 9d01aa147..2e3cc8626 100644 --- a/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs +++ b/HwProj.AuthService/HwProj.AuthService.API/Services/IAccountService.cs @@ -24,5 +24,6 @@ public interface IAccountService Task[]> GetOrRegisterStudentsBatchAsync(IEnumerable models); Task> RegisterInvitedStudentAsync(RegisterDataDTO model); Task LoginWithTokenAsync(TokenCredentials tokenCredentials); + Task> ValidateTokenAsync(TokenCredentials tokenCredentials); } } diff --git a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs index 360ef43db..ae68c810f 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/AuthServiceClient.cs @@ -395,5 +395,21 @@ public async Task> RegisterInvitedStudent(RegisterViewModel model var response = await _httpClient.SendAsync(httpRequest); return await response.DeserializeAsync>(); } + + public async Task> ValidateToken(TokenCredentials credentials) + { + using var httpRequest = new HttpRequestMessage( + HttpMethod.Post, + _authServiceUri + "api/account/validateToken") + { + Content = new StringContent( + JsonConvert.SerializeObject(credentials), + Encoding.UTF8, + "application/json") + }; + + var response = await _httpClient.SendAsync(httpRequest); + return await response.DeserializeAsync>(); + } } } diff --git a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs index 36cd4f4c0..7e749dc33 100644 --- a/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs +++ b/HwProj.AuthService/HwProj.AuthService.Client/IAuthServiceClient.cs @@ -35,5 +35,6 @@ public interface IAuthServiceClient Task> GetStudentToken(string email); Task LoginWithToken(TokenCredentials credentials); Task> RegisterInvitedStudent(RegisterViewModel model); + Task> ValidateToken(TokenCredentials credentials); } } diff --git a/HwProj.Common/HwProj.Models/AuthService/DTO/TokenValidationResult.cs b/HwProj.Common/HwProj.Models/AuthService/DTO/TokenValidationResult.cs new file mode 100644 index 000000000..67e090767 --- /dev/null +++ b/HwProj.Common/HwProj.Models/AuthService/DTO/TokenValidationResult.cs @@ -0,0 +1,9 @@ +namespace HwProj.Models.AuthService.DTO +{ + public class TokenValidationResult + { + public bool IsValid { get; set; } + public string Role { get; set; } + public string UserId { get; set; } + } +} \ No newline at end of file From 73f8c83fdd966aa0ecb6d70a0e73d9112f0c11ab Mon Sep 17 00:00:00 2001 From: Pavel Averin <113641510+Salvatore112@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:36:02 +0300 Subject: [PATCH 44/44] feat: add new AuthLayout.tsx with token validation --- .../src/components/Experts/AuthLayout.tsx | 40 +++++++------------ 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/hwproj.front/src/components/Experts/AuthLayout.tsx b/hwproj.front/src/components/Experts/AuthLayout.tsx index db65f379e..49f29dd57 100644 --- a/hwproj.front/src/components/Experts/AuthLayout.tsx +++ b/hwproj.front/src/components/Experts/AuthLayout.tsx @@ -1,4 +1,4 @@ -import {Navigate, useParams} from 'react-router-dom'; +import {Navigate, useParams} from 'react-router-dom'; import React, {FC, useEffect, useState} from "react"; import ApiSingleton from "./../../api/ApiSingleton"; import {Box, Typography} from "@material-ui/core"; @@ -24,50 +24,40 @@ const ExpertAuthLayout: FC = (props: IExpertAuthLayoutPr const isExpired = ApiSingleton.authService.isTokenExpired(token); if (!isExpired) { try { - const expertLoginResult = await ApiSingleton.expertsApi.expertsLogin(credentials); + const validationResult = await ApiSingleton.accountApi.accountValidateToken(credentials); - if (expertLoginResult.succeeded) { + if (validationResult.succeeded && validationResult.value?.isValid) { ApiSingleton.authService.setToken(token!); setIsTokenValid(true); - setIsExpert(true); + setIsExpert(validationResult.value.role === "Expert"); props.onLogin(); - - const isEdited = await ApiSingleton.authService.isExpertProfileEdited(); - if (isEdited.succeeded && isEdited.value) { - setIsProfileAlreadyEdited(true); + + if (validationResult.value.role === "Expert") { + const isEdited = await ApiSingleton.authService.isExpertProfileEdited(); + if (isEdited.succeeded && isEdited.value) { + setIsProfileAlreadyEdited(true); + } } - - setIsLoading(false); - return; - } - - const loginResult = await ApiSingleton.accountApi.accountLoginWithToken(credentials); - - if (loginResult.succeeded) { - ApiSingleton.authService.setToken(token!); - setIsTokenValid(true); - setIsExpert(false); - props.onLogin(); - + setIsLoading(false); return; } } catch (error) { - console.error("Login error:", error); + console.error("Token validation error:", error); } } setIsTokenValid(false); setIsLoading(false); }; - + checkToken(); }, [token]); if (isLoading) { return (
    -

    Checking token...

    +

    Проверка токена...

    = (props: IExpertAuthLayoutPr } } -export default ExpertAuthLayout; \ No newline at end of file +export default ExpertAuthLayout;