UNPKG

iptdevs-design-system

Version:

Library common elements into IPT Plattform.

247 lines (246 loc) 5.7 kB
import { CodStatusRq } from "../cod/cod-rq.model"; import { UserRs } from "../user/user-rs.model"; export interface Activity { name: string; unit: string; english_level: string; activiti: string; } export interface NoteActivity { token: string; tempelement_code: number; course: number; note: number; } export interface IServiceCourseByTokenRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: ICourseByTokenRs[]; } export interface IServiceUnitsActivityByCodeRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IUnitsActivityByCodeDataRs[]; } export interface IServiceActivityByCourseCodeRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IActivityByCourseCodeRs | null; } export interface IServiceAllCourseInitializedRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: ICourseByTokenRs[] | null; } export interface IServiceObtainLastStudentCodRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: ICodIncompleteDataRq; } export interface IServiceAllTypeResourceRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IAllTypeResourceRs[]; } export interface IServiceAllTypeElementRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IAllTypeElementRs[]; } export interface IActivityByCourseCodeRs { code: number; english_level: number; name: string; description: string; url: string; } export interface ICourseByTokenRs { code: number; course_schedule: string[]; teacher: string; course_type: ICourseType; to_start: string; start_date: string; finish_date: string; capacity: 20; more_days: null; english_level: string; agreement: string; course_modality: ICourseModality; } export interface IUnitsActivityByCodeDataRs { code: number; template_activity: number; number: number; name: string; } export interface IMessageServiceRs { code: number; message: string; } export interface ICourseType { code: number; name: string; number_class: number; academic_plan: string; } export interface ICourseModality { code: number; name: string; } export interface ITokenAndActivityCodeRq { token: string; activity_code: number; } export interface IActivityByCourseCodeRq { token: string; course_code: number; } export interface IElemtsByUnitNewRq { token: string; unit_code: number; } export interface ICodIncompleteDataRq { code: number; course: ICourseByTokenRs; course_type: string; agreement: string; english_level: string; student: UserRs; parent: number; aditional_information: number; adviser: string; cod_status: CodStatusRq; cod_price: number; updated_at: Date; created_at: Date; } export interface IAllTypeResourceRs { code: number; name: string; } export interface IAllTypeElementRs { code: number; name: string; } export interface IServiceElementByUnitNewRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IElementByUnitNewRs[]; } export interface IElementByUnitNewRs { code: number; label: string; expandedIcon: string; collapsedIcon: string; children: IChildrenRq[]; } export interface IChildrenRq { code: number; icon: string; label: string; type_element: string; type: string; data: string; } export interface IChildrenFullRq { code: number; icon: string; label: string; type_element: string; type: string; data: string; parent: IparentRq; } export interface IparentRq { children: IChildrenRq[]; code: number; collapsedIcon: string; expanded: boolean; expandedIcon: string; label: string; } export interface IServiceSaveManageActivityRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: ISaveManageActivityRs; } export interface ISaveManageActivityRs { code: number; template_element: number; template_course: number; required: number; active: number; start_date: Date; finish_date: Date; } export interface ISaveManageActivityRq { token: string; tempelement_code: number; tempcourse_code: number; required: number; active: number; start_date: Date; finish_date: Date; } export interface IMagnagetActivityRq { token: string; tempelement_code: number; tempcourse_code: number; } export interface IServiceManageActivityRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: IManageActivityRs; } export interface IManageActivityRs { code: number; template_element: number; template_course: number; required: number; active: number; start_date: Date; finish_date: Date; } export interface INoteActivityH5PRq { token: string; tempelement_code: number; course: number; } export interface IServiceNoteActivityH5PRs { ip_applicant: string; status: number; message: IMessageServiceRs; data: INoteActivityH5PRs; } export interface INoteActivityH5PRs { code: number; template_admin: number; user_course: number; score: number; } export interface IScroreH5PRq { completion: boolean; duration: string; score: IScoreObtainRq; } export interface IScoreObtainRq { max: number; min: number; raw: number; scaled: number; } export interface IStateOptionsActivityRq { label: string; value: boolean; }