UNPKG

iptdevs-design-system

Version:

Library common elements into IPT Plattform.

34 lines (33 loc) 2.14 kB
import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CopyExamRq, CreateAnswerRq, CreateQuestionRq, CreateSectionRq, CreateSectionWithAllRq, Exam, GetAllExamsRq, GetAllSectionsRq, GetQuestionsBySectionRq, getQuestionsBySectionsRq, UpdateAnswerRq, UpdateExamRq, UpdateExamStatusRq, UpdateQuestionRq, UpdateQuestionStateRq, UpdateSectionMediaRq, UpdateSectionRq, UpdateSectionStateRq } from '../../models/test/test.model'; import { IPTGeneralService } from '../service-enviroments'; import * as i0 from "@angular/core"; export declare class TestService extends IPTGeneralService { private http; private SERVICE_URL; constructor(http: HttpClient); createExam(exam: Exam): Observable<any>; getAllExams(params: GetAllExamsRq): Observable<any>; updateExam(params: UpdateExamRq): Observable<any>; updateExamStatus(params: UpdateExamStatusRq): Observable<any>; copyExam(params: CopyExamRq): Observable<any>; getExamByCode(code: number): Observable<any>; createSectionWithAll(params: CreateSectionWithAllRq): Observable<any>; createSection(params: CreateSectionRq): Observable<any>; getAllSections(params: GetAllSectionsRq): Observable<any>; updateSection(params: UpdateSectionRq): Observable<any>; updateSectionMedia(params: UpdateSectionMediaRq): Observable<any>; updateSectionState(params: UpdateSectionStateRq): Observable<any>; getSectionsByExam(code: number): Observable<any>; createQuestion(params: CreateQuestionRq): Observable<any>; updateQuestion(params: UpdateQuestionRq): Observable<any>; getQuestionsBySections(params: getQuestionsBySectionsRq): Observable<any>; getQuestionsBySection(params: GetQuestionsBySectionRq): Observable<any>; createAnswer(params: CreateAnswerRq): Observable<any>; updateAnswer(params: UpdateAnswerRq): Observable<any>; getAnswersByQuestion(code: number): Observable<any>; updateQuestionState(params: UpdateQuestionStateRq): Observable<any>; static ɵfac: i0.ɵɵFactoryDeclaration<TestService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TestService>; }