iptdevs-design-system 3.2.127 → 3.2.129

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.
@@ -515,3 +515,7 @@ export interface IObtainCourseChangeAuditByCodCodeRq {
515
515
  token: string;
516
516
  cod_code: number;
517
517
  }
518
+ export interface IobtainCourseChangeAuditByStudentCodeRq {
519
+ token: string;
520
+ code_student: number;
521
+ }
@@ -1,5 +1,6 @@
1
1
  import { ICourseModalityRq } from "../budget/budget.model";
2
2
  import { AgreementCodRq } from "../cod/cod-rq.model";
3
+ import { INewCourseRs, IStatusRs, ICourseAssignedRs, ICapacityRs, ICronogramRs } from "./course-rq.model";
3
4
  export interface Courses {
4
5
  code: string;
5
6
  teacher: number;
@@ -151,10 +152,10 @@ export interface ICourseTypeAllFieldsRs {
151
152
  }
152
153
  export interface IObtainCourseChangeAuditByCodCodeRs {
153
154
  code: number;
154
- made_by: number;
155
- requested_by: string;
156
- old_course: number;
157
- new_course: number;
155
+ made_by: IObtainByRs;
156
+ requested_by: IObtainByRs;
157
+ old_course: IObtainCourseRs;
158
+ new_course: IObtainCourseRs;
158
159
  type_action: number;
159
160
  type_reason: number;
160
161
  cod_code: number;
@@ -202,3 +203,170 @@ export interface IObtainStudentHasCourseChangesRs {
202
203
  code: number;
203
204
  has_audit: number;
204
205
  }
206
+ export interface IobtainCourseChangeAuditByStudentCodeRs {
207
+ cods: IObtainCodRs[];
208
+ student: IObtainStudentForAuditRs;
209
+ }
210
+ export interface IObtainCodRs {
211
+ code: number;
212
+ course: IObtainCourseRs;
213
+ course_type: ICourseTypeAllFieldsRs;
214
+ agreement: number;
215
+ english_level: IObtainLevelAuditRs[];
216
+ student: number;
217
+ parent: number;
218
+ aditional_information: number;
219
+ adviser: number;
220
+ cod_status: number;
221
+ cod_price: number;
222
+ cod_paid: number;
223
+ accept_terms_code: null;
224
+ updated_at: Date;
225
+ created_at: Date;
226
+ dataAudit: IObtainCourseChangeAuditByCodCodeRs[];
227
+ first_course: ICourseTypeAllFieldsRs | null;
228
+ first_level: IObtainLevelAuditRs[] | null;
229
+ }
230
+ export interface IObtainCourseRs {
231
+ code: number;
232
+ course_schedule: number;
233
+ teacher: number;
234
+ course_type: ICourseTypeAllFieldsRs;
235
+ to_start: Date;
236
+ start_date: Date;
237
+ finish_date: Date;
238
+ capacity: number;
239
+ more_days: null;
240
+ english_level: IObtainLevelAuditRs[];
241
+ agreement: number;
242
+ course_modality: number;
243
+ is_renovation: number;
244
+ is_from: number | null;
245
+ is_club: number;
246
+ is_visible: number;
247
+ campus: number;
248
+ created_at: Date;
249
+ }
250
+ export interface IObtainLevelAuditRs {
251
+ code: number;
252
+ name: string;
253
+ }
254
+ export interface IObtainByRs {
255
+ name: string;
256
+ }
257
+ export interface IObtainStudentForAuditRs {
258
+ student_code: number;
259
+ student_name: string;
260
+ student_last_name: string;
261
+ student_id_card: string;
262
+ student_phone_number: string;
263
+ }
264
+ export interface IobtainCourseChangeAuditByStudentCodeRs {
265
+ old_course: IObtainOldCourseRs;
266
+ new_course: IObtainNewCourseRs;
267
+ }
268
+ export interface IObtainNewCourseRs extends INewCourseRs {
269
+ course_type: IObtainCourseTypeRs;
270
+ english_level: IObtainEnglishLevelRs[];
271
+ cod_status: IObtainCodStatusRs;
272
+ user_status: number | null;
273
+ }
274
+ export interface IObtainCodStatusRs {
275
+ code: number;
276
+ status: string;
277
+ color_status: string;
278
+ }
279
+ export interface IObtainCourseTypeRs {
280
+ code: number;
281
+ name: string;
282
+ label: string;
283
+ number_class: number;
284
+ number_class_club: number;
285
+ academic_plan: number;
286
+ theory_classes: number;
287
+ club_classes: number;
288
+ category: number;
289
+ }
290
+ export interface IObtainEnglishLevelRs {
291
+ code: number;
292
+ name: string;
293
+ }
294
+ export interface IObtainOldCourseRs {
295
+ status: IStatusRs;
296
+ courseAssigned: ICourseAssignedRs;
297
+ capacity: ICapacityRs;
298
+ user_course: IObtainOldCourseUserCourseRs;
299
+ cronogram: ICronogramRs;
300
+ attendance: IObtainOldCourseAttendanceRs;
301
+ evaluations: IObtainOldCourseEvaluationsRs;
302
+ course_type: IObtainCourseTypeRs;
303
+ english_level: IObtainEnglishLevelRs[];
304
+ cod_status: IObtainCodStatusRs;
305
+ user_status: number | null;
306
+ }
307
+ export interface IObtainOldCourseAttendanceRs {
308
+ result: IObtainResultRs;
309
+ attendance: IObtainAttendanceAttendanceRs;
310
+ }
311
+ export interface IObtainAttendanceAttendanceRs {
312
+ club: IObtainTheoryRs[];
313
+ theory: IObtainTheoryRs[];
314
+ }
315
+ export interface IObtainTheoryRs {
316
+ attendance: number;
317
+ is_attended: number;
318
+ course_event: number;
319
+ name_event: string;
320
+ date_event: Date;
321
+ cod: number;
322
+ course: number;
323
+ }
324
+ export interface IObtainResultRs {
325
+ club: IObtainResultClubRs;
326
+ theory: IObtainResultClubRs;
327
+ }
328
+ export interface IObtainResultClubRs {
329
+ has_duplicates: boolean;
330
+ unique_classes: IObtainTheoryRs[];
331
+ duplicates_found: any[];
332
+ delete_result?: null;
333
+ }
334
+ export interface IObtainOldCourseEvaluationsRs {
335
+ note_details: IObtainNoteDetailsRs;
336
+ note_scores: IObtainNoteScoreRs[];
337
+ }
338
+ export interface IObtainNoteDetailsRs {
339
+ code: number;
340
+ student_code: number;
341
+ cod_code: number;
342
+ final_score: number;
343
+ user_course: IObtainNoteDetailsUserCourseRs;
344
+ note_scores: IObtainNoteScoreRs[];
345
+ }
346
+ export interface IObtainNoteScoreRs {
347
+ code: number;
348
+ note_code: number;
349
+ note_type: number;
350
+ note_value: number;
351
+ observation: string;
352
+ created_at: Date;
353
+ }
354
+ export interface IObtainNoteDetailsUserCourseRs {
355
+ code: number;
356
+ student_code: number;
357
+ course_code: number;
358
+ notes: number;
359
+ }
360
+ export interface IObtainOldCourseUserCourseRs {
361
+ success: boolean;
362
+ message: string;
363
+ duplicates: boolean;
364
+ kept_note: number;
365
+ kept_user_course: number;
366
+ note_details: IObtainNoteDetailsRs;
367
+ note_scores: IObtainNoteScoreRs[];
368
+ duplicate_notes: number[];
369
+ duplicate_user_course: number[];
370
+ deleted_notes: any[];
371
+ deleted_user_course: any[];
372
+ }
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { IPTGeneralService } from '../service-enviroments';
4
- import { IObtainCourseChangeAuditByCodCodeRq, IObtainStudentHasCourseChangesRq, CreateCourseRq, EditCourseRq, GetAvailibleCoursesRq, GetCourseByCodeRq, GetCoursesByTeacherRq, GetCoursesRq, IChangeCourseStudentNotStartedRq, IUpdateCourseEventByCodeRq, ICourse, GetCoursesFilterRq, CreateCourseEventRq, IUpdateCourseEventByCodeNewRq, DeleteCourseEventRq, GetEventEditDataRq, GetCourseScheduleRq, GetLastEventByCourseCodeRq, GetCourseAssignedByCourseCodeRq, EnableCourseByRequestAndCodeRq, ICourseDisableByCodeRq } from '../../models/course/course-rq.model';
4
+ import { IObtainCourseChangeAuditByCodCodeRq, IobtainCourseChangeAuditByStudentCodeRq, IObtainStudentHasCourseChangesRq, CreateCourseRq, EditCourseRq, GetAvailibleCoursesRq, GetCourseByCodeRq, GetCoursesByTeacherRq, GetCoursesRq, IChangeCourseStudentNotStartedRq, IUpdateCourseEventByCodeRq, ICourse, GetCoursesFilterRq, CreateCourseEventRq, IUpdateCourseEventByCodeNewRq, DeleteCourseEventRq, GetEventEditDataRq, GetCourseScheduleRq, GetLastEventByCourseCodeRq, GetCourseAssignedByCourseCodeRq, EnableCourseByRequestAndCodeRq, ICourseDisableByCodeRq } from '../../models/course/course-rq.model';
5
5
  import { CourseStartDateRq } from '../../models/cronogram/cronogram.models';
6
6
  import { ITokenRq } from '../../models/commercial/commercial.model';
7
7
  import { ICourseChangeAuditRq } from '../../models/course/courses.model';
@@ -43,6 +43,7 @@ export declare class CourseService extends IPTGeneralService {
43
43
  confirmationOfStudentCourseChange(params: any): Observable<any>;
44
44
  acceptanceOfStudentCourseChange(params: any): Observable<any>;
45
45
  obtainCourseChangeAuditByCodCode(params: IObtainCourseChangeAuditByCodCodeRq): Observable<any>;
46
+ obtainCourseChangeAuditByStudentCode(params: IobtainCourseChangeAuditByStudentCodeRq): Observable<any>;
46
47
  getCoursesByStateRefactor(params: GetCoursesFilterRq): Observable<any>;
47
48
  postEnableCourseByRequestAndCode(params: EnableCourseByRequestAndCodeRq): Observable<any>;
48
49
  postDisableCourseByCode(params: ICourseDisableByCodeRq): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.2.127",
3
+ "version": "3.2.129",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",