iptdevs-design-system 3.1.706 → 3.1.710
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +1 -1
- package/esm2020/lib/core/models/course/courses.model.mjs +1 -1
- package/esm2020/lib/core/models/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +11 -1
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +15 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/attendance/attendance.interface.d.ts +25 -0
- package/lib/core/models/course/courses.model.d.ts +11 -0
- package/lib/core/models/notes/notes.interface.d.ts +6 -0
- package/lib/core/services/academic-service/academic.service.d.ts +3 -0
- package/lib/core/services/notes-service/notes.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IMessageServiceRs } from "../activities/activities.interface";
|
|
1
2
|
export interface RegisterNewAttendanceByEventRq {
|
|
2
3
|
token: string;
|
|
3
4
|
course_event: number;
|
|
@@ -131,3 +132,27 @@ export interface IUpdateAttendacenByCodeRq {
|
|
|
131
132
|
new_attendance: number;
|
|
132
133
|
new_observation: string;
|
|
133
134
|
}
|
|
135
|
+
export interface IAttendanceCodRq {
|
|
136
|
+
token: string;
|
|
137
|
+
cod_code: number;
|
|
138
|
+
}
|
|
139
|
+
export interface IGetAttendanceHistoryByStudentRs {
|
|
140
|
+
ip_applicant: string;
|
|
141
|
+
status: number;
|
|
142
|
+
message: IMessageServiceRs;
|
|
143
|
+
data: IGetDatumAttendanceHistoryByStudentRs[];
|
|
144
|
+
}
|
|
145
|
+
export interface IGetDatumAttendanceHistoryByStudentRs {
|
|
146
|
+
code: number;
|
|
147
|
+
course_event: CourseEvent;
|
|
148
|
+
cod_code: number;
|
|
149
|
+
is_attended: number;
|
|
150
|
+
observation: string;
|
|
151
|
+
}
|
|
152
|
+
export interface CourseEvent {
|
|
153
|
+
code: number;
|
|
154
|
+
course_code: number;
|
|
155
|
+
date_event: Date;
|
|
156
|
+
name_event: string;
|
|
157
|
+
description_event: string;
|
|
158
|
+
}
|
|
@@ -74,3 +74,14 @@ export interface ICourseTRq {
|
|
|
74
74
|
number_class: number;
|
|
75
75
|
academic_plan: ICourseModalityRq;
|
|
76
76
|
}
|
|
77
|
+
export interface InfoCourseRs {
|
|
78
|
+
english_level_name: string;
|
|
79
|
+
course_type_name: string;
|
|
80
|
+
teacher_name: string;
|
|
81
|
+
teacher_last_name: string;
|
|
82
|
+
course_modality: number;
|
|
83
|
+
name: string;
|
|
84
|
+
total_asistencias: number;
|
|
85
|
+
total_inasistencias: number;
|
|
86
|
+
academic_plan: string;
|
|
87
|
+
}
|
|
@@ -178,6 +178,12 @@ export interface IServiceUpdateNoteRq {
|
|
|
178
178
|
notes: INote[];
|
|
179
179
|
student: IStudentResum;
|
|
180
180
|
}
|
|
181
|
+
export interface IServiceDeleteNoteRq {
|
|
182
|
+
token: string;
|
|
183
|
+
note_type: INoteTypeStudentRq;
|
|
184
|
+
notes: INote[];
|
|
185
|
+
student: IStudentResum;
|
|
186
|
+
}
|
|
181
187
|
export interface INote {
|
|
182
188
|
note_code: string;
|
|
183
189
|
note_value: string;
|
|
@@ -8,6 +8,7 @@ import { GetCodByStudentCourseRq } from '../../models/cod/cod-rq.model';
|
|
|
8
8
|
import { IgetCodBcourseByModalityAndDisponibilityRq, IgetCodBcourseByModalityAndLevelAndCourseTypeRq } from '../../models/course/course-rq.model';
|
|
9
9
|
import { IObtainCoursesByDifferentParametersRq, IObtainCoursesStatusByDifferentParametersRq, IgetCodBcourseByModalityAndStatusAndLevelInglishRq } from '../../models/course/courses.model';
|
|
10
10
|
import { INotesStudentRq, NotesStudents } from '../../models/notes/INotesTemplate';
|
|
11
|
+
import { IAttendanceCodRq } from '../../models/attendance/attendance.interface';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class AcademicService extends IPTGeneralService {
|
|
13
14
|
private http;
|
|
@@ -40,6 +41,8 @@ export declare class AcademicService extends IPTGeneralService {
|
|
|
40
41
|
obtainPlansCourseAvalaibleForPosibleStudentByAgeAndGrade(params: any): Observable<any>;
|
|
41
42
|
ObtainGradesByStudent(param: INotesStudentRq): Observable<any>;
|
|
42
43
|
ObtainLevelsCodsByStudent(param: NotesStudents): Observable<any>;
|
|
44
|
+
getAttendanceByCod(param: IAttendanceCodRq): Observable<any>;
|
|
45
|
+
getInfoStudentCourseByCod(param: IAttendanceCodRq): Observable<any>;
|
|
43
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcademicService, never>;
|
|
44
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<AcademicService>;
|
|
45
48
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { GetNotesByGroupRq, GetNotesByStudentRq, INotesByUCourseAndStudentRq, IServiceCreateNewNoteRq, IServiceUpdateNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
2
|
+
import { GetNotesByGroupRq, GetNotesByStudentRq, INotesByUCourseAndStudentRq, IServiceCreateNewNoteRq, IServiceDeleteNoteRq, IServiceUpdateNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { Response } from '../../models/response/response.interface';
|
|
5
5
|
import { IPTGeneralService } from '../service-enviroments';
|
|
@@ -15,6 +15,7 @@ export declare class NotesService extends IPTGeneralService {
|
|
|
15
15
|
calculateFinalNote(params: calculateFinalNoteRq): Observable<Response>;
|
|
16
16
|
getNotesByUserCourseStudent(params: INotesByUCourseAndStudentRq): Observable<Response>;
|
|
17
17
|
updateNoteByTypeAndStudent(params: IServiceUpdateNoteRq): Observable<Response>;
|
|
18
|
+
deleteNoteByTypeAndStudent(params: IServiceDeleteNoteRq): Observable<Response>;
|
|
18
19
|
getNotesByCourseExcel(params: GetNotesByGroupRq): Observable<any>;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, never>;
|
|
20
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|