iptdevs-design-system 3.1.833 → 3.1.835

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.
@@ -289,3 +289,171 @@ export interface GetCoursesFilterRq {
289
289
  token: string;
290
290
  status_filter?: string;
291
291
  }
292
+ export interface IChangeOfStudentGroupRq {
293
+ token: string;
294
+ cod_code: number;
295
+ new_course: number;
296
+ old_course: number;
297
+ user_course: number;
298
+ classes_given_theory: number;
299
+ classes_given_club: number;
300
+ club_classes_viewed: IClassesViewedRq[];
301
+ theory_classes_viewed: IClassesViewedRq[];
302
+ }
303
+ export interface IClassesViewedRq {
304
+ attendance: number;
305
+ cod: number;
306
+ course: number;
307
+ course_event: number;
308
+ date_event: Date;
309
+ is_attended: number;
310
+ name_event: string;
311
+ }
312
+ export interface IChangeOfStudentGroupRs {
313
+ old_course: IOldCourseRs;
314
+ new_course: INewCourseRs;
315
+ }
316
+ export interface INewCourseRs {
317
+ status: IStatusRs;
318
+ courseAssigned: ICourseAssignedRs;
319
+ capacity: ICapacityRs;
320
+ cronogram: ICronogramRs;
321
+ attendance: IFutureEventsClassRs;
322
+ evaluations: INewCourseEvaluationsRs;
323
+ }
324
+ export interface IFutureEventsClassRs {
325
+ theory: IClubElementRs[];
326
+ club: IClubElementRs[];
327
+ }
328
+ export interface IClubElementRs {
329
+ code: number;
330
+ course_code: number;
331
+ date_event: Date;
332
+ name_event: string;
333
+ }
334
+ export interface ICourseAssignedRs {
335
+ course_theory: number;
336
+ course_club: number;
337
+ }
338
+ export interface ICapacityRs {
339
+ total_capacity: number;
340
+ enrolled_students: number;
341
+ available_capacity: number;
342
+ has_classroom: boolean;
343
+ modality: string;
344
+ classroom_code_theory: number | null;
345
+ classroom_code_club: number | null;
346
+ classroom_name_theory: null | string;
347
+ classroom_name_club: null | string;
348
+ }
349
+ export interface ICronogramRs {
350
+ has_events: boolean;
351
+ event_theory: number;
352
+ event_club: number;
353
+ pending_theory: number;
354
+ pending_club: number;
355
+ past_events: IFutureEventsClassRs;
356
+ future_events: IFutureEventsClassRs;
357
+ }
358
+ export interface INewCourseEvaluationsRs {
359
+ course_code: number;
360
+ total_students: number;
361
+ total_evaluations: number;
362
+ evaluations_by_type: IEvaluationsByTypeRs;
363
+ evaluations_above_60_percent: IEvaluationsAbove60PercentRs;
364
+ course_details: ICourseDetailsRs;
365
+ }
366
+ export interface ICourseDetailsRs {
367
+ start_date: Date;
368
+ finish_date: Date;
369
+ capacity: number;
370
+ }
371
+ export interface IEvaluationsAbove60PercentRs {
372
+ [noteType: string]: INoteEvaluationRs;
373
+ }
374
+ export interface INoteEvaluationRs {
375
+ note_name?: string;
376
+ total_notes: number;
377
+ unique_students: number;
378
+ percent_of_students: number;
379
+ average_evaluations: number;
380
+ percent_weight?: number;
381
+ }
382
+ export interface IEvaluationsByTypeRs {
383
+ [noteType: string]: INoteEvaluationRs;
384
+ }
385
+ export interface IStatusRs {
386
+ code_status: number;
387
+ status: string;
388
+ }
389
+ export interface IOldCourseRs {
390
+ status: IStatusRs;
391
+ courseAssigned: ICourseAssignedRs;
392
+ capacity: ICapacityRs;
393
+ user_course: IOldCourseUserCourseRs;
394
+ cronogram: ICronogramRs;
395
+ attendance: IOldCourseAttendanceRs;
396
+ evaluations: IOldCourseEvaluationsRs;
397
+ }
398
+ export interface IOldCourseAttendanceRs {
399
+ club: IPurpleClubRs;
400
+ theory: IPurpleClubRs;
401
+ }
402
+ export interface IPurpleClubRs {
403
+ has_duplicates: boolean;
404
+ unique_classes: IDuplicatesFoundRs[];
405
+ duplicates_found: IDuplicatesFoundRs[];
406
+ delete_result: IDeleteResultRs;
407
+ }
408
+ export interface IDeleteResultRs {
409
+ success: boolean;
410
+ deleted_count: number;
411
+ message: string;
412
+ }
413
+ export interface IDuplicatesFoundRs {
414
+ attendance: number;
415
+ cod: number;
416
+ course: number;
417
+ course_event: number;
418
+ date_event: Date;
419
+ is_attended: number;
420
+ name_event: string;
421
+ }
422
+ export interface INoteScoreRs {
423
+ code: number;
424
+ note_code: number;
425
+ note_type: number;
426
+ note_value: number;
427
+ observation: string;
428
+ }
429
+ export interface IOldCourseEvaluationsRs {
430
+ note_details: INoteDetailsRs;
431
+ note_scores: INoteScoreRs[];
432
+ }
433
+ export interface INoteDetailsRs {
434
+ code: number;
435
+ student_code: number;
436
+ cod_code: number;
437
+ final_score: number;
438
+ user_course: INoteDetailsUserCourseRs;
439
+ note_scores: INoteScoreRs[];
440
+ }
441
+ export interface INoteDetailsUserCourseRs {
442
+ code: number;
443
+ student_code: number;
444
+ course_code: number;
445
+ notes: number;
446
+ }
447
+ export interface IOldCourseUserCourseRs {
448
+ success: boolean;
449
+ message: string;
450
+ duplicates: boolean;
451
+ kept_note: number;
452
+ kept_user_course: number;
453
+ note_details: INoteDetailsRs;
454
+ note_scores: INoteScoreRs[];
455
+ duplicate_notes: number[];
456
+ duplicate_user_course: number[];
457
+ deleted_notes: any[];
458
+ deleted_user_course: any[];
459
+ }
@@ -5,7 +5,7 @@ import { GetCourseByTypeRq, GetStudentByCourse, GetLastStudentCodRq, GetStudentB
5
5
  import { UserTokenRq } from '../../models/user/user-rq.model';
6
6
  import { GetStudentsByCourseRq } from '../../models/student/student.interface';
7
7
  import { GetCodByStudentCourseRq } from '../../models/cod/cod-rq.model';
8
- import { IgetCodBcourseByModalityAndDisponibilityRq, IgetCodBcourseByModalityAndLevelAndCourseTypeRq } from '../../models/course/course-rq.model';
8
+ import { IChangeOfStudentGroupRq, IgetCodBcourseByModalityAndDisponibilityRq, IgetCodBcourseByModalityAndLevelAndCourseTypeRq } from '../../models/course/course-rq.model';
9
9
  import { IObtainCoursesByDifferentParametersRq, IObtainCoursesStatusByAreaRq, IObtainCoursesStatusByDifferentParametersRq, IgetCodBcourseByModalityAndStatusAndLevelInglishRq } from '../../models/course/courses.model';
10
10
  import { INotesStudentRq, NotesStudents } from '../../models/notes/INotesTemplate';
11
11
  import { IAttendanceCodRq } from '../../models/attendance/attendance.interface';
@@ -48,6 +48,7 @@ export declare class AcademicService extends IPTGeneralService {
48
48
  getAvailableCoursesByModalityStatusAndLevel(param: IgetAvailableCoursesByLevStaModalRq): Observable<any>;
49
49
  obtainCoursesAvailableSpacesAndClassesViewed(param: IgetAvailableCoursesByLevStaModalRq): Observable<any>;
50
50
  getCoursesAvailableForStudentChange(param: IGetCoursesAvailableForExchangeRq): Observable<any>;
51
+ changeOfStudentGroup(param: IChangeOfStudentGroupRq): Observable<any>;
51
52
  static ɵfac: i0.ɵɵFactoryDeclaration<AcademicService, never>;
52
53
  static ɵprov: i0.ɵɵInjectableDeclaration<AcademicService>;
53
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.1.833",
3
+ "version": "3.1.835",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",