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
|
@@ -841,6 +841,26 @@ class CalendarService {
|
|
|
841
841
|
this.generateRequestParams(params);
|
|
842
842
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
843
843
|
}
|
|
844
|
+
getEventsByCourse(params) {
|
|
845
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/course';
|
|
846
|
+
this.generateRequestParams(params);
|
|
847
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
848
|
+
}
|
|
849
|
+
getEventByDateTime(params) {
|
|
850
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/datetime';
|
|
851
|
+
this.generateRequestParams(params);
|
|
852
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
853
|
+
}
|
|
854
|
+
getAvailability(params) {
|
|
855
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/create/query';
|
|
856
|
+
this.generateRequestParams(params);
|
|
857
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
858
|
+
}
|
|
859
|
+
addNewEvent(params) {
|
|
860
|
+
let serviceUrl = this.SERVICE_URL + 'post/add/event/calendar/by/daytime';
|
|
861
|
+
this.generateRequestParams(params);
|
|
862
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
863
|
+
}
|
|
844
864
|
generateRequestParams(param) {
|
|
845
865
|
this.httpOptions = {
|
|
846
866
|
header: new HttpHeaders(),
|