import 'package:baseproject/features/model/index.dart'; import 'hra_repository_models.dart'; import 'package:dio/dio.dart'; import 'package:retrofit/retrofit.dart'; import 'hra_repository_enums.dart'; export 'hra_repository_enums.dart'; export 'hra_repository_models.dart'; part 'hra_repository.g.dart'; // ************************************************************************** // The file is generated automatically. Do not edit files // ************************************************************************** @RestApi() abstract class HraRepository { factory HraRepository( Dio dio, { String baseUrl, }) = _HraRepository; /// ///@param id @GET('/api/v1/academic-year/get-by-id') Future academicYearGetById( @Query('id') int id); /// @POST('/api/v1/academic-year/save') Future academicYearSave( @Body() AcademicYearEntity body); /// @GET('/api/v1/academic-year/get-all') Future academicYearGetAll(); /// ///@param id @DELETE('/api/v1/academic-year/delete') Future academicYearDelete(@Query('id') int id); /// @POST('/api/v1/account/register') Future accountRegister(@Body() RegisterDto body); /// @POST('/api/v1/account/login-mobile') Future accountLoginMobile(@Body() LoginDto body); /// @POST('/api/v1/account/login') @MultiPart() Future accountLogin( @Part() Map body); /// @POST('/api/v1/account/login-with-google') Future accountLoginWithGoogle( @Body() GoogleLoginDto body); /// @POST('/api/v1/account/login-with-facebook') Future accountLoginWithFacebook( @Body() FacebookLoginDto body); /// @GET('/api/v1/account/captcha') Future accountCaptcha(); /// @POST('/api/v1/account/refresh-token') Future accountRefreshToken(); /// @POST('/api/v1/account/login-with-2fa') Future accountLoginWith2fa( @Body() LoginWith2FADto body); /// @GET('/api/v1/account/user-info') Future accountUserInfo(); /// @POST('/api/v1/account/change-password') Future accountChangePassword(@Body() ChangePasswordDto body); /// @POST('/api/v1/account/setup-2fa') Future accountSetup2fa(); /// @POST('/api/v1/account/enable-2fa') Future accountEnable2fa(@Body() Enable2FADto body); /// @GET('/api/v1/account/get-2fa-status') Future accountGet2faStatus(); /// @POST('/api/v1/account/disable-2fa') Future accountDisable2fa(@Body() Disable2FADto body); /// @POST('/api/v1/account/update-avatar') Future accountUpdateAvatar(@Body() UpdateAvatarDto body); /// @POST('/api/v1/account/update-info') Future accountUpdateInfo(@Body() UpdateInfoDto body); /// @POST('/api/v1/account/logout') Future accountLogout(); /// ///@param token @GET('/api/v1/account/token/validate') Future accountTokenValidate(@Query('token') String token); /// @GET('/api/v1/account/check-session') Future accountCheckSession(); /// ///@param userName @GET('/api/v1/account/check-username') Future accountCheckUsername( @Query('userName') String userName); /// @POST('/api/v1/account/check-fogot-password-otp') Future accountCheckFogotPasswordOtp( @Body() ForgotPasswordCheckOTPResource body); /// ///@param userName ///@param captcha @GET('/api/v1/account/resend-otp') Future accountResendOtp( @Query('userName') String userName, @Query('captcha') String captcha, ); /// @POST('/api/v1/account/forgot-password') Future accountForgotPassword( @Body() ResetPasswordByUserNameResource body); /// @POST('/api/v1/account/get-list') Future accountGetList( @Body() UserGetListQuery body); /// ///@param id @GET('/api/v1/account/get-by-id') Future accountGetById(@Query('id') int id); /// ///@param userId @GET('/api/v1/account/get-permission') Future accountGetPermission( @Query('userId') int userId); /// ///@param isRessPass @POST('/api/v1/account/update') Future accountUpdate( @Query('isRessPass') bool isRessPass, @Body() RegisterDto body, ); /// ///@param userId @POST('/api/v1/account/update-permission') Future accountUpdatePermission( @Query('userId') int userId, @Body() List body, ); /// @PUT('/api/v1/account/update-email') Future accountUpdateEmail(@Body() ChangeEmailDto body); /// ///@param id @DELETE('/api/v1/account/delete/{id}') Future accountDeleteId(@Path('id') int id); /// ///@param type @POST('/api/v1/account/get-list-by-type') Future accountGetListByType( @Query('type') int type); /// ///@param id @GET('/api/v1/activity/{id}') Future activityId(@Path('id') int id); /// @POST('/api/v1/activity') Future activity(@Body() ActivitySaveDto body); /// @POST('/api/v1/activity/list') Future activityList( @Body() ActivityGetListQuery body); /// ///@param id @DELETE('/api/v1/activity/delete/{id}') Future activityDeleteId(@Path('id') int id); /// @POST('/api/v1/activity-log') Future activityLog( @Body() ActivityLogEntity body); /// @POST('/api/v1/activity-log/list') Future activityLogList( @Body() GetListLogQuery body); /// @POST('/api/v1/ai/chat-with-prompt') Future aiChatWithPrompt(@Body() AiPromptRequest body); /// @POST('/api/v1/ai/chat') Future aiChat(@Body() AiChatRequest body); /// @POST('/api/v1/ai/chat-simple') Future aiChatSimple(@Body() SimpleChatRequest body); /// ///@param id @GET('/api/v1/ai-prompt/{id}') Future aiPromptId(@Path('id') int id); /// ///@param code ///@param grade ///@param categoryId @GET('/api/v1/ai-prompt/by-code/{code}') Future aiPromptByCodeCode( @Queries() AiPromptByCodeCodeRequest aiPromptByCodeCodeRequest); /// @POST('/api/v1/ai-prompt') Future aiPrompt(@Body() AiPromptEntity body); /// @POST('/api/v1/ai-prompt/list') Future aiPromptList( @Body() AiPromptGetListQuery body); /// ///@param id @DELETE('/api/v1/ai-prompt/delete/{id}') Future aiPromptDeleteId(@Path('id') int id); /// @POST('/api/v1/assign-exam/list-exam-of-user') Future assignExamListExamOfUser( @Body() AssignExamListExamFilterDto body); /// @POST('/api/v1/assign-exam/assign-exam-update') Future assignExamAssignExamUpdate( @Body() AssignExamEntity body); /// @POST('/api/v1/assign-exam/assign-exam-add-multiple') Future assignExamAssignExamAddMultiple( @Body() AssignExamAddMultipleDto body); /// @POST('/api/v1/assign-exam/assign-exam-check-do-exam') Future assignExamAssignExamCheckDoExam( @Body() int body); /// ///@param classId @GET('/api/v1/assign-exam/assign-exam-user-count') Future assignExamAssignExamUserCount( @Query('classId') int classId); /// ///@param pageSize @GET('/api/v1/assign-exam/assign-exam-done') Future assignExamAssignExamDone( @Query('pageSize') int pageSize); /// ///@param pageSize @GET('/api/v1/assign-exam/assign-exam-need-do') Future assignExamAssignExamNeedDo( @Query('pageSize') int pageSize); /// ///@param assignExamId @DELETE('/api/v1/assign-exam/assign-exam-delete') Future assignExamAssignExamDelete( @Query('assignExamId') int assignExamId); /// ///@param assignExamId @GET('/api/v1/assign-exam/assign-exam-top-difficult-question') Future assignExamAssignExamTopDifficultQuestion( @Query('assignExamId') int assignExamId); /// ///@param assignExamId @GET('/api/v1/assign-exam/assign-exam-score-distribution') Future assignExamAssignExamScoreDistribution( @Query('assignExamId') int assignExamId); /// @POST('/api/v1/assign-exam/assign-exam-list-by-exam-id') Future assignExamAssignExamListByExamId( @Body() AssignExamListByExamIdFilterDto body); /// @GET('/api/v1/cart/my') Future cartMy(); /// @POST('/api/v1/cart/add-item') Future cartAddItem(@Body() CartAddItemDto body); /// @PUT('/api/v1/cart/update-item') Future cartUpdateItem(@Body() CartUpdateItemDto body); /// ///@param cartItemId @DELETE('/api/v1/cart/remove-item/{cartItemId}') Future cartRemoveItemCartItemId( @Path('cartItemId') int cartItemId); /// @POST('/api/v1/cart/clear') Future cartClear(); /// ///@param id @GET('/api/v1/category/{id}') Future categoryId(@Path('id') int id); /// @POST('/api/v1/category') Future category(@Body() CategoryEntity body); /// @POST('/api/v1/category/list') Future categoryList( @Body() CategoryGetListQuery body); /// @POST('/api/v1/category/list-with-news-count') Future categoryListWithNewsCount( @Body() CategoryGetListWithNewsCountQuery body); /// @POST('/api/v1/category/list-with-gallery-count') Future categoryListWithGalleryCount( @Body() CategoryGetListWithGalleryCountQuery body); /// ///@param id @DELETE('/api/v1/category/delete/{id}') Future categoryDeleteId(@Path('id') int id); /// ///@param keyword ///@param pageIndex ///@param pageSize @POST('/api/v1/chat/list-chat-group-of-user') Future chatListChatGroupOfUser( @Queries() ChatListChatGroupOfUserRequest chatListChatGroupOfUserRequest); /// @POST('/api/v1/chat/create-chat-group') Future chatCreateChatGroup( @Body() CreateChatGroupDto body); /// ///@param chatGroupId @POST('/api/v1/chat/get-detail-chat-group') Future chatGetDetailChatGroup( @Query('chatGroupId') int chatGroupId); /// ///@param chatGroupId ///@param skipSize ///@param pageSize @POST('/api/v1/chat/get-list-message-by-groupid') Future chatGetListMessageByGroupid( @Queries() ChatGetListMessageByGroupidRequest chatGetListMessageByGroupidRequest); /// @POST('/api/v1/chat/get-list-user-for-create-chat') Future chatGetListUserForCreateChat( @Body() GetListUserForCreateChatGroupQuery body); /// ///@param documentId @POST('/api/v1/chat/create-chat-group-of-document') Future chatCreateChatGroupOfDocument( @Query('documentId') int documentId); /// ///@param chatGroupId @POST('/api/v1/chat/add-user-to-chat-group') Future chatAddUserToChatGroup( @Query('chatGroupId') int chatGroupId); /// ///@param chatGroupId @POST('/api/v1/chat/update-message-un-read') Future chatUpdateMessageUnRead( @Query('chatGroupId') int chatGroupId); /// @POST('/api/v1/class/list') Future classList(@Body() ClassGetListFilter body); /// ///@param id @GET('/api/v1/class/get-by-id') Future classGetById(@Query('id') int id); /// @POST('/api/v1/class/save') Future classSave(@Body() ClassEntity body); /// ///@param id @DELETE('/api/v1/class/delete') Future classDelete(@Query('id') int id); /// @POST('/api/v1/class/change-class') Future classChangeClass(@Body() ClassChangeClassCommand body); /// @POST('/api/v1/class/add-list-user') Future classAddListUser(@Body() ClassAddListUserCommand body); /// @POST('/api/v1/class/add-teacher') Future classAddTeacher(@Body() List body); /// @POST('/api/v1/class/update-manager') Future classUpdateManager(@Body() TeacherUpdateManagerCommand body); /// @POST('/api/v1/class/remove-user') Future classRemoveUser(@Body() ClassRemoveUserCommand body); /// @POST('/api/v1/class/get-pupil-in-class') Future classGetPupilInClass( @Body() PupilFilterDto body); /// ///@param classId @GET('/api/v1/class/pupil-export') Future classPupilExport(@Query('classId') int classId); /// @POST('/api/v1/class/get-teacher-in-class') Future classGetTeacherInClass( @Body() TeacherFilterDto body); /// ///@param classId @GET('/api/v1/class/teacher-export') Future classTeacherExport(@Query('classId') int classId); /// @POST('/api/v1/class/teacher-update-subjects') Future classTeacherUpdateSubjects( @Body() TeacherUpdateSubjectsCommand body); /// @GET('/api/v1/class/template-import-teacher') Future classTemplateImportTeacher(); /// ///@param classId @PUT('/api/v1/class/import-teacher') Future classImportTeacher( @Query('classId') int classId, @Body() Object body, ); /// @GET('/api/v1/class/template-import-pupil') Future classTemplateImportPupil(); /// ///@param classId @PUT('/api/v1/class/import-pupil') Future classImportPupil( @Query('classId') int classId, @Body() Object body, ); /// ///@param classId @GET('/api/v1/class/class-statistical') Future classClassStatistical( @Query('classId') int classId); /// ///@param classId ///@param pageSize @GET('/api/v1/class/assign-exam-top-average-scores') Future> classAssignExamTopAverageScores( @Query('classId') int classId, @Query('pageSize') int pageSize, ); /// @POST('/api/v1/class/assign-exam-result') Future classAssignExamResult( @Body() ExamResultFilterDto body); /// ///@param classId ///@param pageSize @GET('/api/v1/class/assign-exam-top-needs-to-do-homework') Future> classAssignExamTopNeedsToDoHomework( @Query('classId') int classId, @Query('pageSize') int pageSize, ); /// ///@param classId @GET('/api/v1/class/assign-exam-result-export') Future classAssignExamResultExport(@Query('classId') int classId); /// @POST('/api/v1/class/assign-exam-list-by-class') Future classAssignExamListByClass( @Body() AssignExamListByClassQuery body); /// @POST('/api/v1/class/assign-exam-add') Future classAssignExamAdd(@Body() AssignExamAddDto body); /// @POST('/api/v1/class/assign-exam-list-users') Future> classAssignExamListUsers( @Body() AssignExamListUserFilterDto body); /// @PUT('/api/v1/class/assign-exam-update-time') Future classAssignExamUpdateTime(@Body() AssignExamUpdateTimeDto body); /// ///@param id @GET('/api/v1/class/assign-exam-get-by-id') Future classAssignExamGetById(@Query('id') int id); /// ///@param id @GET('/api/v1/class/assign-exam-get-detail') Future classAssignExamGetDetail(@Query('id') int id); /// @PUT('/api/v1/class/assign-exam-update-note') Future classAssignExamUpdateNote(@Body() AssignExamUpdateNoteDto body); /// ///@param assignExamId ///@param userId @GET('/api/v1/class/assign-exam-user-get-note') Future classAssignExamUserGetNote( @Query('assignExamId') int assignExamId, @Query('userId') int userId, ); /// ///@param classId @GET('/api/v1/class/class-with-pupils') Future> classClassWithPupils( @Query('classId') int classId); /// @POST('/api/v1/class/pupil-change-password') Future classPupilChangePassword( @Body() PupilChangePasswordCommand body); /// @POST('/api/v1/class/pupil-add-multi') Future classPupilAddMulti(@Body() PupilAddMultiCommand body); /// ///@param pageSize @GET('/api/v1/class/class-of-pupil') Future> classClassOfPupil( @Query('pageSize') int pageSize); /// ///@param classId ///@param userId @GET('/api/v1/class/teacher-get-subject') Future> classTeacherGetSubject( @Query('classId') int classId, @Query('userId') int userId, ); /// ///@param schoolId ///@param userId @GET('/api/v1/class/class-get-by-user') Future> classClassGetByUser( @Query('schoolId') int schoolId, @Query('userId') int userId, ); /// @POST('/api/v1/class/class-list-of-school') Future classClassListOfSchool( @Body() ClassListOfSchoolFilter body); /// @POST('/api/v1/class/pupil-copy-from-class') Future classPupilCopyFromClass(@Body() PupilCopyFromClassCommand body); /// ///@param classId @GET('/api/v1/class/pupil-check-go-to-class') Future classPupilCheckGoToClass( @Query('classId') int classId); /// @POST('/api/v1/class/pupil-go-to-class') Future classPupilGoToClass(@Body() PupilGoToClassCommand body); /// ///@param classId ///@param userId @GET('/api/v1/class/class-analysis-data') Future classClassAnalysisData( @Query('classId') int classId, @Query('userId') int userId, ); /// @POST('/api/v1/consultation-registration') Future consultationRegistration( @Body() ConsultationRegistrationSaveDto body); /// @POST('/api/v1/consultation-registration/list') Future consultationRegistrationList( @Body() ConsultationRegistrationGetListQuery body); /// ///@param id @PUT('/api/v1/consultation-registration/update-status/{id}') Future consultationRegistrationUpdateStatusId( @Path('id') int id, @Body() ConsultationRegistrationUpdateStatusRequest body, ); /// @POST('/api/v1/contact') Future contact(@Body() ContactSaveDto body); /// @POST('/api/v1/contact/list') Future contactList( @Body() ContactGetListQuery body); /// ///@param id @PUT('/api/v1/contact/update-status/{id}') Future contactUpdateStatusId( @Path('id') int id, @Body() ContactUpdateStatusRequest body, ); /// @POST('/api/v1/department/list') Future departmentList( @Body() DepartmentGetListQuery body); /// @POST('/api/v1/department/schools') Future departmentSchools( @Body() DepartmentSchoolFilterDto body); /// @POST('/api/v1/department/count') Future departmentCount( @Body() DepartmentCountQuery body); /// @GET('/api/v1/department/manager-position') Future departmentManagerPosition(); /// @GET('/api/v1/documents/status') Future documentsStatus(); /// @GET('/api/v1/documents/export/srs-word') Future documentsExportSrsWord(); /// @GET('/api/v1/documents/export/brd-word') Future documentsExportBrdWord(); /// @GET('/api/v1/documents/brd/info') Future documentsBrdInfo(); /// @GET('/api/v1/documents/srs/info') Future documentsSrsInfo(); /// ///@param fileName @GET('/api/v1/documents/brd/preview/{fileName}') Future documentsBrdPreviewFileName( @Path('fileName') String fileName); /// ///@param fileName @GET('/api/v1/documents/srs/preview/{fileName}') Future documentsSrsPreviewFileName( @Path('fileName') String fileName); /// @POST('/api/v1/exam/list') Future examList( @Body() ExamGetListQuery body); /// ///@param id @GET('/api/v1/exam/get-by-id') Future examGetById(@Query('id') int id); /// ///@param id @GET('/api/v1/exam/get-detail') Future examGetDetail(@Query('id') int id); /// ///@param id @GET('/api/v1/exam/get-by-learn') Future examGetByLearn(@Query('id') int id); /// ///@param byImport @POST('/api/v1/exam/save') Future examSave( @Query('byImport') bool byImport, @Body() Object body, ); /// ///@param id @DELETE('/api/v1/exam/delete') Future examDelete(@Query('id') int id); /// ///@param id @GET('/api/v1/exam/ckeck-data-delete') Future examCkeckDataDelete( @Query('id') int id); /// @POST('/api/v1/exam/save-file') Future examSaveFile(@Body() ExamFileSaveDto body); /// @PUT('/api/v1/exam/import') Future examImport(@Body() Object body); /// ///@param Id ///@param id @GET('/api/v1/file/{id}') Future fileId( @Query('Id') int id, @Path('id') String id$, ); /// ///@param id @GET('/api/v1/file/get-meta') Future fileGetMeta(@Query('id') int id); /// @POST('/api/v1/file') Future file(@Body() FileUpdateCommand body); /// @POST('/api/v1/file/avatar') Future fileAvatar(@Body() FileUpdateAvatarCommand body); /// @POST('/api/v1/file/name') Future fileName(@Body() FileUpdateNameCommand body); /// @POST('/api/v1/file/status') Future fileStatus(@Body() FileUpdateStatusCommand body); /// @POST('/api/v1/file/list') Future fileList( @Body() FileGetListQuery body); /// ///@param request @GET('/api/v1/file/folder-all') Future> fileFolderAll( @Query('request') FolderGetAllQuery request); /// ///@param Id ///@param id @GET('/api/v1/file/folder/{id}') Future fileFolderId( @Query('Id') int id, @Path('id') String id$, ); /// @POST('/api/v1/file/folder') Future fileFolder(@Body() FolderUpdateCommand body); /// @POST('/api/v1/file/folder/list') Future fileFolderList( @Body() FolderGetListQuery body); /// @POST('/api/v1/file/folder/delete') Future fileFolderDelete(@Body() FolderDeleteCommand body); /// ///@param url @POST('/api/v1/file/file/upload-by-url') Future fileFileUploadByUrl( @Query('url') String url); /// ///@param id @GET('/api/v1/gallery/{id}') Future galleryId(@Path('id') int id); /// @POST('/api/v1/gallery') Future gallery(@Body() GallerySaveDto body); /// @POST('/api/v1/gallery/list') Future galleryList( @Body() GalleryGetListQuery body); /// ///@param id @DELETE('/api/v1/gallery/delete/{id}') Future galleryDeleteId(@Path('id') int id); /// @GET('/api/v1/locality/ids') Future localityIds(); /// @POST('/api/v1/locality/list') Future localityList( @Body() LocalityGetListQuery body); /// ///@param id @GET('/api/v1/news/{id}') Future newsId(@Path('id') int id); /// @POST('/api/v1/news') Future news(@Body() NewsSaveDto body); /// @POST('/api/v1/news/list') Future newsList( @Body() NewsGetListQuery body); /// ///@param id @DELETE('/api/v1/news/delete/{id}') Future newsDeleteId(@Path('id') int id); /// ///@param page ///@param pageSize @POST('/api/v1/notification/list') Future notificationList( @Query('page') int page, @Query('pageSize') int pageSize, ); /// ///@param notificationId @POST('/api/v1/notification/{notificationId}/mark-as-read') Future notificationNotificationIdMarkAsRead( @Path('notificationId') int notificationId); /// @POST('/api/v1/notification/mark-all-as-read') Future notificationMarkAllAsRead(); /// @GET('/api/v1/notification/count-un-read') Future notificationCountUnRead(); /// @POST('/api/v1/objectlike/object-like-save') Future objectlikeObjectLikeSave(@Body() ObjectLikeSaveCommand body); /// @POST('/api/v1/office/list') Future officeList( @Body() OfficeGetListQuery body); /// @POST('/api/v1/order/create') Future orderCreate(@Body() OrderCreateDto body); /// @POST('/api/v1/order/list') Future orderList( @Body() OrderGetListQuery body); /// @POST('/api/v1/order/list-my') Future orderListMy( @Body() OrderGetListQuery body); /// ///@param id @GET('/api/v1/order/{id}') Future orderId(@Path('id') int id); /// ///@param id @PUT('/api/v1/order/{id}') Future putOrderId( @Path('id') int id, @Body() OrderUpdateDto body, ); /// ///@param id @PUT('/api/v1/order/{id}/status') Future orderIdStatus( @Path('id') int id, @Body() Object body, ); /// ///@param id @PUT('/api/v1/order/{id}/notes') Future orderIdNotes( @Path('id') int id, @Body() String body, ); /// @POST('/api/v1/order/create-with-class') Future orderCreateWithClass( @Body() OrderCreateWithClassDto body); /// ///@param id @GET('/api/v1/product/{id}') Future productId(@Path('id') int id); /// ///@param id @GET('/api/v1/product/detail/{id}') Future productDetailId(@Path('id') int id); /// @POST('/api/v1/product') Future product(@Body() ProductSaveDto body); /// @POST('/api/v1/product/list') Future productList( @Body() ProductGetListQuery body); /// ///@param id @DELETE('/api/v1/product/delete/{id}') Future productDeleteId(@Path('id') int id); /// ///@param id @POST('/api/v1/product/{id}/reviews') Future productIdReviews( @Path('id') int id, @Body() ProductReviewCreateDto body, ); /// ///@param id @POST('/api/v1/product/{id}/reviews/list') Future productIdReviewsList( @Path('id') int id, @Body() ProductReviewGetListQuery body, ); /// ///@param id @POST('/api/v1/product/reviews/{id}/approve') Future productReviewsIdApprove( @Path('id') int id, @Body() ProductReviewApproveCommand body, ); /// @POST('/api/v1/product/reviews/admin-list') Future productReviewsAdminList( @Body() ProductReviewGetListQuery body); /// ///@param id @POST('/api/v1/product/{id}/reviews/generate-ai') Future productIdReviewsGenerateAi( @Path('id') int id, @Body() ProductReviewGenerateAiRequest body, ); /// @POST('/api/v1/product/by-ids') Future productByIds( @Body() ProductGetByIdsQuery body); /// @GET('/api/v1/product/purchase-config') Future productPurchaseConfig(); /// ///@param id ///@param onlyAvailable @GET('/api/v1/product/{id}/classes') Future productIdClasses( @Path('id') int id, @Query('onlyAvailable') bool onlyAvailable, ); /// ///@param classId ///@param userId ///@param subjectId @GET('/api/v1/pupil/pupil-static') Future pupilPupilStatic( @Queries() PupilPupilStaticRequest pupilPupilStaticRequest); /// @POST('/api/v1/pupil/pupil-history-do-exam') Future pupilPupilHistoryDoExam( @Body() PupilHistoryDoExamFilterDto body); /// ///@param classId ///@param userId ///@param subjectId @GET('/api/v1/pupil/pupil-static-by-type-exam') Future pupilPupilStaticByTypeExam( @Queries() PupilPupilStaticByTypeExamRequest pupilPupilStaticByTypeExamRequest); /// @POST('/api/v1/pupil/pupil-statistical-of-class') Future pupilPupilStatisticalOfClass( @Body() ClassPupilStatisticalFilter body); /// @POST('/api/v1/question/list') Future questionList( @Body() QuestionGetListQuery body); /// ///@param id @GET('/api/v1/question/get-by-id') Future questionGetById(@Query('id') int id); /// @POST('/api/v1/question/get-by-ids') Future> questionGetByIds(); /// @POST('/api/v1/question/save') Future questionSave(@Body() Object body); /// ///@param id @DELETE('/api/v1/question/delete') Future questionDelete(@Query('id') int id); /// @PUT('/api/v1/question/import') Future questionImport(@Body() Object body); /// @POST('/api/v1/role/save') Future roleSave(@Body() RoleDto body); /// ///@param id @GET('/api/v1/role/{id}') Future roleId(@Path('id') int id); /// ///@param keyword @GET('/api/v1/role/list') Future roleList(@Query('keyword') String keyword); /// @GET('/api/v1/role/list-module') Future roleListModule(); /// ///@param id @DELETE('/api/v1/role/delete') Future roleDelete(@Query('id') String id); /// ///@param id @GET('/api/v1/safety-skill/{id}') Future safetySkillId(@Path('id') int id); /// @POST('/api/v1/safety-skill') Future safetySkill( @Body() SafetySkillEntity body); /// @POST('/api/v1/safety-skill/list') Future safetySkillList( @Body() SafetySkillGetListQuery body); /// ///@param id @DELETE('/api/v1/safety-skill/delete/{id}') Future safetySkillDeleteId(@Path('id') int id); /// @POST('/api/v1/school/list') Future schoolList( @Body() SchoolGetListQuery body); /// ///@param id @GET('/api/v1/school/get-by-id') Future schoolGetById(@Query('id') int id); /// @POST('/api/v1/school/save') Future schoolSave(@Body() SchoolEntity body); /// ///@param id @DELETE('/api/v1/school/delete') Future schoolDelete(@Query('id') int id); /// ///@param schoolId @PUT('/api/v1/school/quylx-school-import-pupil') Future schoolQuylxSchoolImportPupil( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @PUT('/api/v1/school/quylx-school-import-teacher') Future schoolQuylxSchoolImportTeacher( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @PUT('/api/v1/school/school-import-pupil') Future schoolSchoolImportPupil( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @PUT('/api/v1/school/school-import-pupil-preview') Future> schoolSchoolImportPupilPreview( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @PUT('/api/v1/school/school-import-teacher') Future schoolSchoolImportTeacher( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @PUT('/api/v1/school/school-import-teacher-preview') Future> schoolSchoolImportTeacherPreview( @Query('schoolId') int schoolId, @Body() Object body, ); /// ///@param schoolId @POST('/api/v1/school/teacher-create') Future schoolTeacherCreate( @Query('schoolId') int schoolId, @Body() TeacherCreateDto body, ); /// @POST('/api/v1/school/teacher-assign-existing') Future schoolTeacherAssignExisting( @Body() AssignExistingTeacherDto body); /// @GET('/api/v1/school/list-by-user') Future schoolListByUser(); /// @POST('/api/v1/school/teacher-get-by-school') Future schoolTeacherGetBySchool( @Body() TeacherGetBySchoolFilterDto body); /// ///@param schoolId @GET('/api/v1/school/static-count') Future schoolStaticCount( @Query('schoolId') int schoolId); /// ///@param schoolId @GET('/api/v1/school/class-program-types') Future schoolClassProgramTypes( @Query('schoolId') int schoolId); /// @POST('/api/v1/school/class-program-types') Future postSchoolClassProgramTypes( @Body() ClassProgramTypeEntity body); /// ///@param id @DELETE('/api/v1/school/class-program-types') Future deleteSchoolClassProgramTypes(@Query('id') int id); /// @GET('/api/v1/statistical/static-number') Future statisticalStaticNumber(); /// @GET('/api/v1/statistical/class') Future statisticalClass(); /// @GET('/api/v1/statistical/exam') Future statisticalExam(); /// @GET('/api/v1/statistical/question') Future statisticalQuestion(); /// @GET('/api/v1/statistical/pupil') Future statisticalPupil(); /// @GET('/api/v1/statistical/pupil-number') Future statisticalPupilNumber(); /// @GET('/api/v1/system/init') Future systemInit(); /// ///@param id @GET('/api/v1/tag/{id}') Future tagId(@Path('id') int id); /// @POST('/api/v1/tag') Future tag(@Body() TagDto body); /// @POST('/api/v1/tag/list') Future tagList( @Body() TagGetListQuery body); /// @POST('/api/v1/tag/list-by-ids') Future tagListByIds(); /// ///@param id @DELETE('/api/v1/tag/delete/{id}') Future tagDeleteId(@Path('id') int id); /// ///@param id ///@param IsHot @PUT('/api/v1/tag/update-hot') Future tagUpdateHot( @Query('id') int id, @Query('IsHot') bool isHot, ); /// ///@param id ///@param newsId @PUT('/api/v1/tag/remove-news') Future tagRemoveNews( @Query('id') int id, @Query('newsId') int newsId, ); /// @PUT('/api/v1/tag/add-news') Future tagAddNews(@Body() TagAddNewsDto body); /// @POST('/api/v1/tag/list-with-news-count') Future tagListWithNewsCount( @Body() TagGetListWithNewsCountQuery body); /// ///@param classId ///@param userId ///@param subjectId @GET('/api/v1/teacher/static-by-type-exam') Future teacherStaticByTypeExam( @Queries() TeacherStaticByTypeExamRequest teacherStaticByTypeExamRequest); /// @GET('/api/v1/test/test-kafka') Future testTestKafka(); /// @GET('/api/v1/test/test-parsejson') Future testTestParsejson(); /// @GET('/api/v1/test/test-log') Future testTestLog(); /// ///@param email ///@param classId @POST('/api/v1/user/get-by-email') Future userGetByEmail( @Query('email') String email, @Query('classId') int classId, ); /// @GET('/api/v1/user/template-import') Future userTemplateImport(); /// @POST('/api/v1/user/import-user') Future userImportUser(@Body() Object body); /// ///@param id @GET('/api/v1/user-exam-result/get-by-id') Future userExamResultGetById( @Query('id') int id); /// @POST('/api/v1/user-exam-result/save') Future userExamResultSave( @Body() UserExamResultDto body); /// @POST('/api/v1/user-exam-result/comment') Future userExamResultComment( @Body() UserAnswerEntity body); /// ///@param userExamResultId ///@param comment @POST('/api/v1/user-exam-result/change-mark') Future userExamResultChangeMark( @Queries() UserExamResultChangeMarkRequest userExamResultChangeMarkRequest); /// @POST('/api/v1/user-exam-result/essay-suggestion-mark') Future userExamResultEssaySuggestionMark( @Body() EssaySuggestionMarkDto body); /// @POST('/api/v1/user-mobile-token/save') Future userMobileTokenSave( @Body() UserMobileTokenUpdateCommand body); /// ///@param UserId ///@param id @GET('/api/v1/user-permission/{id}') Future userPermissionId( @Query('UserId') int userId, @Path('id') String id, ); /// @POST('/api/v1/user-web-token/save') Future userWebTokenSave( @Body() UserWebTokenUpdateCommand body); /// @DELETE('/api/v1/user-web-token/delete') Future userWebTokenDelete( @Body() UserWebTokenDeleteCommand body); /// @GET('/api/v1/user-web-token/generate') Future userWebTokenGenerate(); /// @POST('/api/zoom-webhook') Future zoomWebhook(); }