iptdevs-design-system 3.1.707 → 3.1.712
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/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/attendance/attendance.interface.d.ts +21 -0
- package/lib/core/models/notes/notes.interface.d.ts +6 -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;
|
|
@@ -135,3 +136,23 @@ export interface IAttendanceCodRq {
|
|
|
135
136
|
token: string;
|
|
136
137
|
cod_code: number;
|
|
137
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
|
+
}
|
|
@@ -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;
|
|
@@ -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<any>;
|
|
18
19
|
getNotesByCourseExcel(params: GetNotesByGroupRq): Observable<any>;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, never>;
|
|
20
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|