iptdevs-design-system 3.2.153 → 3.2.155
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/course/courses.model.mjs +1 -1
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +11 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/course/courses.model.d.ts +82 -0
- package/lib/core/services/course-service/course-service.model.d.ts +3 -1
- package/package.json +1 -1
|
@@ -370,3 +370,85 @@ export interface IObtainOldCourseUserCourseRs {
|
|
|
370
370
|
deleted_notes: any[];
|
|
371
371
|
deleted_user_course: any[];
|
|
372
372
|
}
|
|
373
|
+
export interface IGetCourseTypeByPlanAndCampusRq {
|
|
374
|
+
campus: number;
|
|
375
|
+
academic_plan: number;
|
|
376
|
+
}
|
|
377
|
+
export interface IGetCourseTypeByPlanAndCampusRs {
|
|
378
|
+
code: number;
|
|
379
|
+
name: string;
|
|
380
|
+
label: string;
|
|
381
|
+
number_class: number;
|
|
382
|
+
number_class_club: number;
|
|
383
|
+
academic_plan: number;
|
|
384
|
+
theory_classes: number;
|
|
385
|
+
club_classes: number;
|
|
386
|
+
campus: number;
|
|
387
|
+
category: number;
|
|
388
|
+
}
|
|
389
|
+
export interface IGetCoursesByAcademicPlanAndCampusRq {
|
|
390
|
+
token: string;
|
|
391
|
+
academic_plan_code: number;
|
|
392
|
+
campus_code: number;
|
|
393
|
+
}
|
|
394
|
+
export interface IGetCoursesByAcademicPlanAndCampusRs {
|
|
395
|
+
code: number;
|
|
396
|
+
course_schedule: string[];
|
|
397
|
+
teacher: string;
|
|
398
|
+
course_type: ICourseTypeAndCategoryRs;
|
|
399
|
+
to_start: Date;
|
|
400
|
+
start_date: null;
|
|
401
|
+
finish_date: null;
|
|
402
|
+
capacity: number;
|
|
403
|
+
more_days: null;
|
|
404
|
+
english_level: string;
|
|
405
|
+
agreement: string;
|
|
406
|
+
course_modality: ICourseModalityRs;
|
|
407
|
+
is_renovation: number;
|
|
408
|
+
is_from: null;
|
|
409
|
+
is_club: number;
|
|
410
|
+
is_visible: number;
|
|
411
|
+
campus: number;
|
|
412
|
+
created_at: Date;
|
|
413
|
+
status: number;
|
|
414
|
+
course_enable: boolean;
|
|
415
|
+
available_capacity: number;
|
|
416
|
+
cods: number;
|
|
417
|
+
course_club: ICourseClubRs;
|
|
418
|
+
is_renovation_mismatch: boolean;
|
|
419
|
+
}
|
|
420
|
+
export interface ICourseClubRs {
|
|
421
|
+
code: number;
|
|
422
|
+
course_schedule: string[];
|
|
423
|
+
teacher: string;
|
|
424
|
+
course_type: ICourseTypeAndCategoryRs;
|
|
425
|
+
to_start: Date;
|
|
426
|
+
start_date: null;
|
|
427
|
+
finish_date: null;
|
|
428
|
+
capacity: number;
|
|
429
|
+
more_days: null;
|
|
430
|
+
english_level: string;
|
|
431
|
+
agreement: string;
|
|
432
|
+
course_modality: ICourseModalityRs;
|
|
433
|
+
is_renovation: number;
|
|
434
|
+
is_from: null;
|
|
435
|
+
is_club: number;
|
|
436
|
+
is_visible: number;
|
|
437
|
+
campus: number;
|
|
438
|
+
course_scheduleDetails: null;
|
|
439
|
+
}
|
|
440
|
+
export interface ICourseModalityRs {
|
|
441
|
+
code: number;
|
|
442
|
+
name: string;
|
|
443
|
+
}
|
|
444
|
+
export interface ICourseTypeAndCategoryRs {
|
|
445
|
+
code: number;
|
|
446
|
+
name: string;
|
|
447
|
+
label: string;
|
|
448
|
+
number_class: number;
|
|
449
|
+
number_class_club: number;
|
|
450
|
+
academic_plan: string;
|
|
451
|
+
theory_classes: number;
|
|
452
|
+
club_classes: number;
|
|
453
|
+
category: number;
|
|
454
|
+
}
|
|
@@ -4,7 +4,7 @@ import { IPTGeneralService } from '../service-enviroments';
|
|
|
4
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
|
-
import { ICourseChangeAuditRq } from '../../models/course/courses.model';
|
|
7
|
+
import { ICourseChangeAuditRq, IGetCoursesByAcademicPlanAndCampusRq, IGetCourseTypeByPlanAndCampusRq } from '../../models/course/courses.model';
|
|
8
8
|
import { ITransferGetAllRq } from '../../models/payment/payment-rq.model';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class CourseService extends IPTGeneralService {
|
|
@@ -50,6 +50,8 @@ export declare class CourseService extends IPTGeneralService {
|
|
|
50
50
|
getAllCourseTypes(request: ITokenRq): Observable<any>;
|
|
51
51
|
getAvailableCoursesTheRenovationByCourse(params: any): Observable<any>;
|
|
52
52
|
obtainStudentHasCourseChanges(params: IObtainStudentHasCourseChangesRq): Observable<any>;
|
|
53
|
+
getCourseTypeByPlanAndCampus(params: IGetCourseTypeByPlanAndCampusRq): Observable<any>;
|
|
54
|
+
getCoursesByAcademicPlanAndCampus(params: IGetCoursesByAcademicPlanAndCampusRq): Observable<any>;
|
|
53
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<CourseService, never>;
|
|
54
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<CourseService>;
|
|
55
57
|
}
|