iptdevs-design-system 2.4.3 → 5.0.0
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/README.md +24 -24
- package/esm2020/iptdevs-design-system.mjs +4 -4
- package/esm2020/lib/components/atoms/aside-button/aside-button.component.mjs +50 -50
- package/esm2020/lib/components/atoms/button/button.component.mjs +64 -64
- package/esm2020/lib/components/atoms/checkbox/checkbox.component.mjs +47 -47
- package/esm2020/lib/components/atoms/datalist/datalist.component.mjs +94 -94
- package/esm2020/lib/components/atoms/input/input.component.mjs +137 -137
- package/esm2020/lib/components/atoms/level-button/level-button.component.mjs +64 -64
- package/esm2020/lib/components/atoms/level-text/level-text.component.mjs +19 -19
- package/esm2020/lib/components/atoms/radio/radio.component.mjs +47 -47
- package/esm2020/lib/components/atoms/select/select.component.mjs +92 -92
- package/esm2020/lib/components/atoms/text-link/text-link.component.mjs +39 -39
- package/esm2020/lib/components/components.module.mjs +108 -108
- package/esm2020/lib/components/forms/login-form/login-form.component.mjs +93 -93
- package/esm2020/lib/components/material.module.mjs +18 -18
- package/esm2020/lib/components/molecules/sidenav/sidenav.component.mjs +146 -146
- package/esm2020/lib/core/core.module.mjs +46 -46
- package/esm2020/lib/core/models/activities/activities.interface.mjs +2 -0
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +2 -0
- package/esm2020/lib/core/models/budget/budget.model.mjs +2 -2
- package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +2 -0
- package/esm2020/lib/core/models/cod/cod-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/course/course-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/cronogram/cronogram.models.mjs +2 -0
- package/esm2020/lib/core/models/marketing/marketing.model.mjs +2 -2
- package/esm2020/lib/core/models/notes/notes.interface.mjs +2 -0
- package/esm2020/lib/core/models/response/response.interface.mjs +2 -0
- package/esm2020/lib/core/models/session/session.model.mjs +3 -3
- package/esm2020/lib/core/models/student/student.interface.mjs +2 -0
- package/esm2020/lib/core/models/table/table-rs.model.mjs +2 -2
- package/esm2020/lib/core/models/test/test.model.mjs +2 -2
- package/esm2020/lib/core/models/url/url.model.mjs +2 -2
- package/esm2020/lib/core/models/user/user-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/user/user-rs.model.mjs +5 -5
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +17 -0
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +41 -41
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +34 -0
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +75 -56
- package/esm2020/lib/core/services/marketing-service/marketing-service.mjs +57 -57
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +40 -0
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +110 -110
- package/esm2020/lib/core/services/storage-service/storage-service.mjs +50 -50
- package/esm2020/lib/core/services/student-service/student.service.mjs +30 -0
- package/esm2020/lib/core/services/switch-service/switch.service.mjs +16 -16
- package/esm2020/lib/core/services/test-service/test.service.mjs +136 -136
- package/esm2020/lib/core/services/user-service/user-service.mjs +84 -84
- package/esm2020/lib/core/utils/base-service/base.service.mjs +153 -153
- package/esm2020/lib/core/utils/route-service/route.service.mjs +18 -18
- package/esm2020/lib/design-system.module.mjs +36 -36
- package/esm2020/public-api.mjs +56 -45
- package/fesm2015/iptdevs-design-system.mjs +1782 -1657
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +1779 -1654
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/iptdevs-design-system.d.ts +5 -5
- package/lib/components/atoms/aside-button/aside-button.component.d.ts +11 -11
- package/lib/components/atoms/button/button.component.d.ts +13 -13
- package/lib/components/atoms/checkbox/checkbox.component.d.ts +11 -11
- package/lib/components/atoms/datalist/datalist.component.d.ts +20 -20
- package/lib/components/atoms/input/input.component.d.ts +24 -24
- package/lib/components/atoms/level-button/level-button.component.d.ts +11 -11
- package/lib/components/atoms/level-text/level-text.component.d.ts +7 -7
- package/lib/components/atoms/radio/radio.component.d.ts +11 -11
- package/lib/components/atoms/select/select.component.d.ts +24 -24
- package/lib/components/atoms/text-link/text-link.component.d.ts +12 -12
- package/lib/components/components.module.d.ts +22 -22
- package/lib/components/forms/login-form/login-form.component.d.ts +13 -13
- package/lib/components/material.module.d.ts +10 -10
- package/lib/components/molecules/sidenav/sidenav.component.d.ts +22 -22
- package/lib/core/core.module.d.ts +6 -6
- package/lib/core/models/activities/activities.interface.d.ts +6 -0
- package/lib/core/models/attendance/attendance.interface.d.ts +44 -0
- package/lib/core/models/budget/budget.model.d.ts +69 -69
- package/lib/core/models/calendar/calendar-rq.models.d.ts +27 -0
- package/lib/core/models/cod/cod-rq.model.d.ts +51 -51
- package/lib/core/models/course/course-rq.model.d.ts +86 -78
- package/lib/core/models/cronogram/cronogram.models.d.ts +71 -0
- package/lib/core/models/marketing/marketing.model.d.ts +104 -104
- package/lib/core/models/notes/notes.interface.d.ts +59 -0
- package/lib/core/models/response/response.interface.d.ts +10 -0
- package/lib/core/models/session/session.model.d.ts +5 -5
- package/lib/core/models/student/student.interface.d.ts +4 -0
- package/lib/core/models/table/table-rs.model.d.ts +7 -7
- package/lib/core/models/test/test.model.d.ts +219 -219
- package/lib/core/models/url/url.model.d.ts +8 -8
- package/lib/core/models/user/user-rq.model.d.ts +91 -72
- package/lib/core/models/user/user-rs.model.d.ts +35 -35
- package/lib/core/services/attendance-service/attendance.service.d.ts +8 -0
- package/lib/core/services/budget-service/budget-service.d.ts +16 -16
- package/lib/core/services/calendar-service/calendar.service.d.ts +15 -0
- package/lib/core/services/course-service/course-service.model.d.ts +24 -19
- package/lib/core/services/marketing-service/marketing-service.d.ts +20 -20
- package/lib/core/services/notes-service/notes.service.d.ts +17 -0
- package/lib/core/services/parameters-service/parameters.service.d.ts +33 -33
- package/lib/core/services/storage-service/storage-service.d.ts +18 -18
- package/lib/core/services/student-service/student.service.d.ts +14 -0
- package/lib/core/services/switch-service/switch.service.d.ts +8 -8
- package/lib/core/services/test-service/test.service.d.ts +35 -35
- package/lib/core/services/user-service/user-service.d.ts +26 -26
- package/lib/core/utils/base-service/base.service.d.ts +18 -18
- package/lib/core/utils/route-service/route.service.d.ts +9 -9
- package/lib/design-system.module.d.ts +9 -9
- package/package.json +3 -3
- package/public-api.d.ts +47 -36
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
export interface getdiscountAllRq {
|
|
2
|
-
token: string;
|
|
3
|
-
}
|
|
4
|
-
export interface Coupon {
|
|
5
|
-
code?: number;
|
|
6
|
-
discount_ref: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: number;
|
|
9
|
-
discount_type: string;
|
|
10
|
-
percentage: number;
|
|
11
|
-
start_date: Date;
|
|
12
|
-
end_date: Date;
|
|
13
|
-
state: number;
|
|
14
|
-
description: string;
|
|
15
|
-
discount_academic_plan: DiscountAcademicPlan[];
|
|
16
|
-
}
|
|
17
|
-
export interface DiscountAcademicPlan {
|
|
18
|
-
code: number;
|
|
19
|
-
name: string;
|
|
20
|
-
}
|
|
21
|
-
export interface DiscountRq {
|
|
22
|
-
token: string;
|
|
23
|
-
discount_ref: string;
|
|
24
|
-
name: string;
|
|
25
|
-
type: number;
|
|
26
|
-
discount_type: number;
|
|
27
|
-
percentage: number;
|
|
28
|
-
start_date: Date;
|
|
29
|
-
end_date: Date;
|
|
30
|
-
state: number;
|
|
31
|
-
description: string;
|
|
32
|
-
plan: number[];
|
|
33
|
-
}
|
|
34
|
-
export interface DiscountUpdateRq {
|
|
35
|
-
token: string;
|
|
36
|
-
code?: number;
|
|
37
|
-
start_date: Date;
|
|
38
|
-
end_date: Date;
|
|
39
|
-
state: number;
|
|
40
|
-
description: string;
|
|
41
|
-
plan: number[];
|
|
42
|
-
}
|
|
43
|
-
export interface TypeCoupon {
|
|
44
|
-
code?: number;
|
|
45
|
-
name?: string;
|
|
46
|
-
}
|
|
47
|
-
export interface TypeDiscount {
|
|
48
|
-
code?: number;
|
|
49
|
-
name?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface TypeState {
|
|
52
|
-
code?: number;
|
|
53
|
-
name?: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Student {
|
|
56
|
-
name: string;
|
|
57
|
-
document: number;
|
|
58
|
-
phone: number;
|
|
59
|
-
plan: string;
|
|
60
|
-
state: number;
|
|
61
|
-
}
|
|
62
|
-
export interface State {
|
|
63
|
-
code?: number;
|
|
64
|
-
name?: string;
|
|
65
|
-
}
|
|
66
|
-
export interface Plan {
|
|
67
|
-
code?: number;
|
|
68
|
-
name?: string;
|
|
69
|
-
}
|
|
1
|
+
export interface getdiscountAllRq {
|
|
2
|
+
token: string;
|
|
3
|
+
}
|
|
4
|
+
export interface Coupon {
|
|
5
|
+
code?: number;
|
|
6
|
+
discount_ref: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: number;
|
|
9
|
+
discount_type: string;
|
|
10
|
+
percentage: number;
|
|
11
|
+
start_date: Date;
|
|
12
|
+
end_date: Date;
|
|
13
|
+
state: number;
|
|
14
|
+
description: string;
|
|
15
|
+
discount_academic_plan: DiscountAcademicPlan[];
|
|
16
|
+
}
|
|
17
|
+
export interface DiscountAcademicPlan {
|
|
18
|
+
code: number;
|
|
19
|
+
name: string;
|
|
20
|
+
}
|
|
21
|
+
export interface DiscountRq {
|
|
22
|
+
token: string;
|
|
23
|
+
discount_ref: string;
|
|
24
|
+
name: string;
|
|
25
|
+
type: number;
|
|
26
|
+
discount_type: number;
|
|
27
|
+
percentage: number;
|
|
28
|
+
start_date: Date;
|
|
29
|
+
end_date: Date;
|
|
30
|
+
state: number;
|
|
31
|
+
description: string;
|
|
32
|
+
plan: number[];
|
|
33
|
+
}
|
|
34
|
+
export interface DiscountUpdateRq {
|
|
35
|
+
token: string;
|
|
36
|
+
code?: number;
|
|
37
|
+
start_date: Date;
|
|
38
|
+
end_date: Date;
|
|
39
|
+
state: number;
|
|
40
|
+
description: string;
|
|
41
|
+
plan: number[];
|
|
42
|
+
}
|
|
43
|
+
export interface TypeCoupon {
|
|
44
|
+
code?: number;
|
|
45
|
+
name?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface TypeDiscount {
|
|
48
|
+
code?: number;
|
|
49
|
+
name?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface TypeState {
|
|
52
|
+
code?: number;
|
|
53
|
+
name?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface Student {
|
|
56
|
+
name: string;
|
|
57
|
+
document: number;
|
|
58
|
+
phone: number;
|
|
59
|
+
plan: string;
|
|
60
|
+
state: number;
|
|
61
|
+
}
|
|
62
|
+
export interface State {
|
|
63
|
+
code?: number;
|
|
64
|
+
name?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface Plan {
|
|
67
|
+
code?: number;
|
|
68
|
+
name?: string;
|
|
69
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface eventqueryRq {
|
|
2
|
+
idCalendar: string;
|
|
3
|
+
startTime: string;
|
|
4
|
+
endTime: string;
|
|
5
|
+
}
|
|
6
|
+
export interface GoogleEventRq {
|
|
7
|
+
title: string;
|
|
8
|
+
start: string;
|
|
9
|
+
end: string;
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
nameCalendar: string;
|
|
13
|
+
descriptionEvent: string;
|
|
14
|
+
colorEvent: number;
|
|
15
|
+
locationEvent: string;
|
|
16
|
+
dateCreation: string;
|
|
17
|
+
}
|
|
18
|
+
export interface GoogleEvent2Rq {
|
|
19
|
+
nameCalendar: null | string;
|
|
20
|
+
title: string;
|
|
21
|
+
descriptionEvent: null | string;
|
|
22
|
+
locationEvent: null | string;
|
|
23
|
+
dateCreation: Date;
|
|
24
|
+
colorEvent: null | string;
|
|
25
|
+
start: Date;
|
|
26
|
+
end: Date;
|
|
27
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export interface CodRq {
|
|
2
|
-
course: CourseInformationCOD;
|
|
3
|
-
student: StudentCOD;
|
|
4
|
-
payment: PaymentCOD;
|
|
5
|
-
aditionalInformation: AdiotionalInformationCOD;
|
|
6
|
-
}
|
|
7
|
-
export interface StudentCOD {
|
|
8
|
-
name: string;
|
|
9
|
-
last_name: string;
|
|
10
|
-
nick_name: string;
|
|
11
|
-
email: string;
|
|
12
|
-
agreement_email: string;
|
|
13
|
-
phone_indicative: number;
|
|
14
|
-
phone_number: string;
|
|
15
|
-
birthdate: string;
|
|
16
|
-
city: string;
|
|
17
|
-
id_card_type: number;
|
|
18
|
-
id_card: string;
|
|
19
|
-
password: string;
|
|
20
|
-
parent: Parent;
|
|
21
|
-
}
|
|
22
|
-
export interface CourseInformationCOD {
|
|
23
|
-
course_type: number;
|
|
24
|
-
agreement: number;
|
|
25
|
-
english_level: number;
|
|
26
|
-
course: number;
|
|
27
|
-
}
|
|
28
|
-
export interface Parent {
|
|
29
|
-
name: string;
|
|
30
|
-
last_name: string;
|
|
31
|
-
id_card_type: number;
|
|
32
|
-
id_card: string;
|
|
33
|
-
phone_indicative: number;
|
|
34
|
-
phone_number: string;
|
|
35
|
-
}
|
|
36
|
-
export interface AdiotionalInformationCOD {
|
|
37
|
-
grade: string;
|
|
38
|
-
program_name: string;
|
|
39
|
-
institution_name: string;
|
|
40
|
-
occupation: string;
|
|
41
|
-
marketing_reasons: string;
|
|
42
|
-
study_reasons: string;
|
|
43
|
-
observation: string;
|
|
44
|
-
}
|
|
45
|
-
export interface PaymentCOD {
|
|
46
|
-
payment_method: number;
|
|
47
|
-
value: string;
|
|
48
|
-
fee_numbers: string;
|
|
49
|
-
payment_date: string;
|
|
50
|
-
first_fee: string;
|
|
51
|
-
}
|
|
1
|
+
export interface CodRq {
|
|
2
|
+
course: CourseInformationCOD;
|
|
3
|
+
student: StudentCOD;
|
|
4
|
+
payment: PaymentCOD;
|
|
5
|
+
aditionalInformation: AdiotionalInformationCOD;
|
|
6
|
+
}
|
|
7
|
+
export interface StudentCOD {
|
|
8
|
+
name: string;
|
|
9
|
+
last_name: string;
|
|
10
|
+
nick_name: string;
|
|
11
|
+
email: string;
|
|
12
|
+
agreement_email: string;
|
|
13
|
+
phone_indicative: number;
|
|
14
|
+
phone_number: string;
|
|
15
|
+
birthdate: string;
|
|
16
|
+
city: string;
|
|
17
|
+
id_card_type: number;
|
|
18
|
+
id_card: string;
|
|
19
|
+
password: string;
|
|
20
|
+
parent: Parent;
|
|
21
|
+
}
|
|
22
|
+
export interface CourseInformationCOD {
|
|
23
|
+
course_type: number;
|
|
24
|
+
agreement: number;
|
|
25
|
+
english_level: number;
|
|
26
|
+
course: number;
|
|
27
|
+
}
|
|
28
|
+
export interface Parent {
|
|
29
|
+
name: string;
|
|
30
|
+
last_name: string;
|
|
31
|
+
id_card_type: number;
|
|
32
|
+
id_card: string;
|
|
33
|
+
phone_indicative: number;
|
|
34
|
+
phone_number: string;
|
|
35
|
+
}
|
|
36
|
+
export interface AdiotionalInformationCOD {
|
|
37
|
+
grade: string;
|
|
38
|
+
program_name: string;
|
|
39
|
+
institution_name: string;
|
|
40
|
+
occupation: string;
|
|
41
|
+
marketing_reasons: string;
|
|
42
|
+
study_reasons: string;
|
|
43
|
+
observation: string;
|
|
44
|
+
}
|
|
45
|
+
export interface PaymentCOD {
|
|
46
|
+
payment_method: number;
|
|
47
|
+
value: string;
|
|
48
|
+
fee_numbers: string;
|
|
49
|
+
payment_date: string;
|
|
50
|
+
first_fee: string;
|
|
51
|
+
}
|
|
@@ -1,78 +1,86 @@
|
|
|
1
|
-
export interface CreateCourseRq {
|
|
2
|
-
token?: string;
|
|
3
|
-
teacher?: any;
|
|
4
|
-
academic_plan?: string;
|
|
5
|
-
course_type?: string;
|
|
6
|
-
to_start?: string;
|
|
7
|
-
start_date?: string;
|
|
8
|
-
finish_date?: string;
|
|
9
|
-
capacity?: string;
|
|
10
|
-
more_days?: string;
|
|
11
|
-
english_level?: string;
|
|
12
|
-
agreement?: string;
|
|
13
|
-
time_start_monday: string;
|
|
14
|
-
time_end_monday: string;
|
|
15
|
-
classroom_monday: string;
|
|
16
|
-
time_start_tuesday: string;
|
|
17
|
-
time_end_tuesday: string;
|
|
18
|
-
classroom_tuesday: string;
|
|
19
|
-
time_start_wednesday: string;
|
|
20
|
-
time_end_wednesday: string;
|
|
21
|
-
classroom_wednesday: string;
|
|
22
|
-
time_start_thursday: string;
|
|
23
|
-
time_end_thursday: string;
|
|
24
|
-
classroom_thursday: string;
|
|
25
|
-
time_start_friday: string;
|
|
26
|
-
time_end_friday: string;
|
|
27
|
-
classroom_friday: string;
|
|
28
|
-
time_start_saturday?: string;
|
|
29
|
-
time_end_saturday?: string;
|
|
30
|
-
classroom_saturday?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface EditCourseRq {
|
|
33
|
-
token: string;
|
|
34
|
-
course_code: number;
|
|
35
|
-
teacher: any;
|
|
36
|
-
capacity: string;
|
|
37
|
-
more_days: string;
|
|
38
|
-
time_start_monday: string;
|
|
39
|
-
time_end_monday: string;
|
|
40
|
-
classroom_monday: string;
|
|
41
|
-
time_start_tuesday: string;
|
|
42
|
-
time_end_tuesday: string;
|
|
43
|
-
classroom_tuesday: string;
|
|
44
|
-
time_start_wednesday: string;
|
|
45
|
-
time_end_wednesday: string;
|
|
46
|
-
classroom_wednesday: string;
|
|
47
|
-
time_start_thursday: string;
|
|
48
|
-
time_end_thursday: string;
|
|
49
|
-
classroom_thursday: string;
|
|
50
|
-
time_start_friday: string;
|
|
51
|
-
time_end_friday: string;
|
|
52
|
-
classroom_friday: string;
|
|
53
|
-
time_start_saturday: string;
|
|
54
|
-
time_end_saturday: string;
|
|
55
|
-
classroom_saturday: string;
|
|
56
|
-
}
|
|
57
|
-
export interface GetCoursesRq {
|
|
58
|
-
token: string;
|
|
59
|
-
record: number;
|
|
60
|
-
page: number;
|
|
61
|
-
english_level?: number;
|
|
62
|
-
}
|
|
63
|
-
export interface GetCourseByCodeRq {
|
|
64
|
-
token: string;
|
|
65
|
-
course_code: number;
|
|
66
|
-
}
|
|
67
|
-
export interface GetCoursesByLevelRq {
|
|
68
|
-
token: string;
|
|
69
|
-
record: number;
|
|
70
|
-
page: number;
|
|
71
|
-
english_level: number;
|
|
72
|
-
}
|
|
73
|
-
export interface GetAvailibleCoursesRq {
|
|
74
|
-
token: string;
|
|
75
|
-
english_level: number;
|
|
76
|
-
agreement: number;
|
|
77
|
-
course_type: number;
|
|
78
|
-
}
|
|
1
|
+
export interface CreateCourseRq {
|
|
2
|
+
token?: string;
|
|
3
|
+
teacher?: any;
|
|
4
|
+
academic_plan?: string;
|
|
5
|
+
course_type?: string;
|
|
6
|
+
to_start?: string;
|
|
7
|
+
start_date?: string;
|
|
8
|
+
finish_date?: string;
|
|
9
|
+
capacity?: string;
|
|
10
|
+
more_days?: string;
|
|
11
|
+
english_level?: string;
|
|
12
|
+
agreement?: string;
|
|
13
|
+
time_start_monday: string;
|
|
14
|
+
time_end_monday: string;
|
|
15
|
+
classroom_monday: string;
|
|
16
|
+
time_start_tuesday: string;
|
|
17
|
+
time_end_tuesday: string;
|
|
18
|
+
classroom_tuesday: string;
|
|
19
|
+
time_start_wednesday: string;
|
|
20
|
+
time_end_wednesday: string;
|
|
21
|
+
classroom_wednesday: string;
|
|
22
|
+
time_start_thursday: string;
|
|
23
|
+
time_end_thursday: string;
|
|
24
|
+
classroom_thursday: string;
|
|
25
|
+
time_start_friday: string;
|
|
26
|
+
time_end_friday: string;
|
|
27
|
+
classroom_friday: string;
|
|
28
|
+
time_start_saturday?: string;
|
|
29
|
+
time_end_saturday?: string;
|
|
30
|
+
classroom_saturday?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface EditCourseRq {
|
|
33
|
+
token: string;
|
|
34
|
+
course_code: number;
|
|
35
|
+
teacher: any;
|
|
36
|
+
capacity: string;
|
|
37
|
+
more_days: string;
|
|
38
|
+
time_start_monday: string;
|
|
39
|
+
time_end_monday: string;
|
|
40
|
+
classroom_monday: string;
|
|
41
|
+
time_start_tuesday: string;
|
|
42
|
+
time_end_tuesday: string;
|
|
43
|
+
classroom_tuesday: string;
|
|
44
|
+
time_start_wednesday: string;
|
|
45
|
+
time_end_wednesday: string;
|
|
46
|
+
classroom_wednesday: string;
|
|
47
|
+
time_start_thursday: string;
|
|
48
|
+
time_end_thursday: string;
|
|
49
|
+
classroom_thursday: string;
|
|
50
|
+
time_start_friday: string;
|
|
51
|
+
time_end_friday: string;
|
|
52
|
+
classroom_friday: string;
|
|
53
|
+
time_start_saturday: string;
|
|
54
|
+
time_end_saturday: string;
|
|
55
|
+
classroom_saturday: string;
|
|
56
|
+
}
|
|
57
|
+
export interface GetCoursesRq {
|
|
58
|
+
token: string;
|
|
59
|
+
record: number;
|
|
60
|
+
page: number;
|
|
61
|
+
english_level?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface GetCourseByCodeRq {
|
|
64
|
+
token: string;
|
|
65
|
+
course_code: number;
|
|
66
|
+
}
|
|
67
|
+
export interface GetCoursesByLevelRq {
|
|
68
|
+
token: string;
|
|
69
|
+
record: number;
|
|
70
|
+
page: number;
|
|
71
|
+
english_level: number;
|
|
72
|
+
}
|
|
73
|
+
export interface GetAvailibleCoursesRq {
|
|
74
|
+
token: string;
|
|
75
|
+
english_level: number;
|
|
76
|
+
agreement: number;
|
|
77
|
+
course_type: number;
|
|
78
|
+
}
|
|
79
|
+
export interface GetCoursesByTeacherRq {
|
|
80
|
+
token: string;
|
|
81
|
+
page: number;
|
|
82
|
+
record: number;
|
|
83
|
+
teacher_code: number;
|
|
84
|
+
filter_type?: number;
|
|
85
|
+
filter?: number;
|
|
86
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export interface DataCourseRq {
|
|
2
|
+
code: number;
|
|
3
|
+
course_schedule: string[];
|
|
4
|
+
teacher: string;
|
|
5
|
+
course_type: CourseType;
|
|
6
|
+
to_start: Date;
|
|
7
|
+
start_date: null;
|
|
8
|
+
finish_date: null;
|
|
9
|
+
capacity: number;
|
|
10
|
+
more_days: null;
|
|
11
|
+
english_level: string;
|
|
12
|
+
agreement: string;
|
|
13
|
+
}
|
|
14
|
+
export interface CourseType {
|
|
15
|
+
code: number;
|
|
16
|
+
name: string;
|
|
17
|
+
number_class: number;
|
|
18
|
+
academic_plan: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DataUserRq {
|
|
21
|
+
code: number;
|
|
22
|
+
id_card: string;
|
|
23
|
+
name: string;
|
|
24
|
+
last_name: string;
|
|
25
|
+
nick_name: null;
|
|
26
|
+
email: string;
|
|
27
|
+
phone_number: string;
|
|
28
|
+
gender: number;
|
|
29
|
+
city: string;
|
|
30
|
+
birthdate: null;
|
|
31
|
+
role: string;
|
|
32
|
+
service_hour: number;
|
|
33
|
+
email_ipt: null;
|
|
34
|
+
updated_at: Date;
|
|
35
|
+
id_card_type: string;
|
|
36
|
+
}
|
|
37
|
+
export interface CourseStartDateRq {
|
|
38
|
+
token: string;
|
|
39
|
+
coursetype: number;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateCourse2Rq {
|
|
42
|
+
token?: string;
|
|
43
|
+
teacher?: any;
|
|
44
|
+
academic_plan?: string;
|
|
45
|
+
course_type?: string;
|
|
46
|
+
to_start?: string;
|
|
47
|
+
start_date?: string;
|
|
48
|
+
finish_date?: string;
|
|
49
|
+
capacity?: string;
|
|
50
|
+
more_days?: string;
|
|
51
|
+
english_level?: string;
|
|
52
|
+
agreement?: string;
|
|
53
|
+
time_start_monday: string;
|
|
54
|
+
time_end_monday: string;
|
|
55
|
+
classroom_monday: string;
|
|
56
|
+
time_start_tuesday: string;
|
|
57
|
+
time_end_tuesday: string;
|
|
58
|
+
classroom_tuesday: string;
|
|
59
|
+
time_start_wednesday: string;
|
|
60
|
+
time_end_wednesday: string;
|
|
61
|
+
classroom_wednesday: string;
|
|
62
|
+
time_start_thursday: string;
|
|
63
|
+
time_end_thursday: string;
|
|
64
|
+
classroom_thursday: string;
|
|
65
|
+
time_start_friday: string;
|
|
66
|
+
time_end_friday: string;
|
|
67
|
+
classroom_friday: string;
|
|
68
|
+
time_start_saturday?: string;
|
|
69
|
+
time_end_saturday?: string;
|
|
70
|
+
classroom_saturday?: string;
|
|
71
|
+
}
|