iptdevs-design-system 3.1.926 → 3.1.927
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/services/attendance-service/attendance.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 +35 -0
- package/lib/core/services/attendance-service/attendance.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -156,3 +156,38 @@ export interface CourseEvent {
|
|
|
156
156
|
name_event: string;
|
|
157
157
|
description_event: string;
|
|
158
158
|
}
|
|
159
|
+
export interface Event2 {
|
|
160
|
+
code: number;
|
|
161
|
+
course_code: number;
|
|
162
|
+
date_event: Date;
|
|
163
|
+
name_event: string;
|
|
164
|
+
description_event: string;
|
|
165
|
+
attendances_report: AttendancesReport2[] | null;
|
|
166
|
+
}
|
|
167
|
+
export interface AttendancesReport2 {
|
|
168
|
+
code?: number;
|
|
169
|
+
cod_code: number;
|
|
170
|
+
course_event?: number;
|
|
171
|
+
student_name: string;
|
|
172
|
+
is_attended: number;
|
|
173
|
+
observation: string;
|
|
174
|
+
}
|
|
175
|
+
export interface CourseAttendance2 {
|
|
176
|
+
events: Event2[] | null;
|
|
177
|
+
}
|
|
178
|
+
export interface IAttendanceTakenRq {
|
|
179
|
+
student_code: string;
|
|
180
|
+
attended: string;
|
|
181
|
+
observation: string;
|
|
182
|
+
}
|
|
183
|
+
export interface IRegisterNewAttendanceRq {
|
|
184
|
+
token: string;
|
|
185
|
+
attendance_taken: IAttendanceTakenRq[];
|
|
186
|
+
course_code: number;
|
|
187
|
+
course_event: number;
|
|
188
|
+
}
|
|
189
|
+
export interface ApiResponse {
|
|
190
|
+
status: number;
|
|
191
|
+
message?: string;
|
|
192
|
+
data?: any;
|
|
193
|
+
}
|
|
@@ -27,6 +27,7 @@ export declare class AttendanceService extends IPTGeneralService {
|
|
|
27
27
|
obtainFullDataAttendanceByCode(code: number): Observable<IServiceAllDataAttendanceRq>;
|
|
28
28
|
UpdateIndividualAttendance(params: IUpdateAttendacenByCodeRq): Observable<Response>;
|
|
29
29
|
exportExcelAttendance(codeStudent: number): Observable<any>;
|
|
30
|
+
updateAttendanceByEvent(params: IRegisterNewAttendanceRq): Observable<Response>;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceService, never>;
|
|
31
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<AttendanceService>;
|
|
32
33
|
}
|