iptdevs-design-system 2.6.37 → 2.6.38
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/cronogram/cronogram.models.mjs +1 -1
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +21 -1
- package/fesm2015/iptdevs-design-system.mjs +20 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +20 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/cronogram/cronogram.models.d.ts +79 -0
- package/lib/core/services/calendar-service/calendar.service.d.ts +5 -1
- package/package.json +1 -1
|
@@ -93,3 +93,82 @@ export interface CreateCourse2Rq {
|
|
|
93
93
|
time_end_saturday?: string;
|
|
94
94
|
classroom_saturday?: string;
|
|
95
95
|
}
|
|
96
|
+
export interface weekDaysRq {
|
|
97
|
+
code: number;
|
|
98
|
+
name: string;
|
|
99
|
+
}
|
|
100
|
+
export interface AvailabilityQueryRqs {
|
|
101
|
+
course_modality: number;
|
|
102
|
+
startDate: string;
|
|
103
|
+
numClass: number;
|
|
104
|
+
weekDays: string[];
|
|
105
|
+
startTime: string;
|
|
106
|
+
endTime: string;
|
|
107
|
+
}
|
|
108
|
+
export interface RespAvailabilityQueryRq {
|
|
109
|
+
Teachers: CommonDataRq[];
|
|
110
|
+
ClassRoom: CommonDataRq[];
|
|
111
|
+
schoolDays: SchoolDayRq[];
|
|
112
|
+
ShortDateSchoolDays: Date[];
|
|
113
|
+
weeksClass: number;
|
|
114
|
+
completionClass: Date;
|
|
115
|
+
}
|
|
116
|
+
export interface CommonDataRq {
|
|
117
|
+
code: number;
|
|
118
|
+
name: string;
|
|
119
|
+
idCalendar: string;
|
|
120
|
+
}
|
|
121
|
+
export interface SchoolDayRq {
|
|
122
|
+
shortDate: Date;
|
|
123
|
+
longDate: string;
|
|
124
|
+
}
|
|
125
|
+
export interface AddNewEventRq {
|
|
126
|
+
codeClassRoom: string;
|
|
127
|
+
codeTeacher: string;
|
|
128
|
+
color: string;
|
|
129
|
+
descriptionEvent: string;
|
|
130
|
+
startTime: string;
|
|
131
|
+
endTime: string;
|
|
132
|
+
conferenceDataName: string;
|
|
133
|
+
hangoutLink: string;
|
|
134
|
+
SchoolDayShort: any[];
|
|
135
|
+
weekDays: string[];
|
|
136
|
+
}
|
|
137
|
+
export interface GetEventByDateTimeRq {
|
|
138
|
+
idCalendar: string;
|
|
139
|
+
startTime: string;
|
|
140
|
+
endTime: string;
|
|
141
|
+
}
|
|
142
|
+
export interface GetEventsByCourseRq {
|
|
143
|
+
idCalendar: string;
|
|
144
|
+
courseCode: number;
|
|
145
|
+
}
|
|
146
|
+
export interface Events {
|
|
147
|
+
nameCalendar: any;
|
|
148
|
+
title: string;
|
|
149
|
+
descriptionEvent: string;
|
|
150
|
+
locationEvent: any;
|
|
151
|
+
dateCreation: Date;
|
|
152
|
+
colorEvent: any;
|
|
153
|
+
start: Date;
|
|
154
|
+
end: Date;
|
|
155
|
+
}
|
|
156
|
+
export interface DatabaseEvent {
|
|
157
|
+
code: number;
|
|
158
|
+
course_code: number;
|
|
159
|
+
date_event: Date;
|
|
160
|
+
name_event: string;
|
|
161
|
+
description_event: string;
|
|
162
|
+
unit?: string;
|
|
163
|
+
longDate: string;
|
|
164
|
+
}
|
|
165
|
+
export interface UpdateCourseRq {
|
|
166
|
+
CourseCode: number;
|
|
167
|
+
TeacherCode: number;
|
|
168
|
+
ClassroomCode: number;
|
|
169
|
+
weekDays: string[];
|
|
170
|
+
StartDate: string;
|
|
171
|
+
EndDate: string;
|
|
172
|
+
startTime: string;
|
|
173
|
+
endTime: string;
|
|
174
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { eventqueryRq } from '../../models/calendar/calendar-rq.models';
|
|
4
|
-
import { AvailabilityQueryRq } from '../../models/cronogram/cronogram.models';
|
|
4
|
+
import { AddNewEventRq, AvailabilityQueryRq, GetEventByDateTimeRq, GetEventsByCourseRq } from '../../models/cronogram/cronogram.models';
|
|
5
5
|
import { Response } from '../../models/response/response.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CalendarService {
|
|
@@ -12,6 +12,10 @@ export declare class CalendarService {
|
|
|
12
12
|
postCreateQueryEvent(params: AvailabilityQueryRq): Observable<Response>;
|
|
13
13
|
getEventByIdCalendar(idCalendar: string): Observable<any>;
|
|
14
14
|
postEventByDayTime(params: eventqueryRq): Observable<any>;
|
|
15
|
+
getEventsByCourse(params: GetEventsByCourseRq): Observable<any>;
|
|
16
|
+
getEventByDateTime(params: GetEventByDateTimeRq): Observable<any>;
|
|
17
|
+
getAvailability(params: AvailabilityQueryRq): Observable<any>;
|
|
18
|
+
addNewEvent(params: AddNewEventRq): Observable<any>;
|
|
15
19
|
private generateRequestParams;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
17
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
|