@itutoring/itutoring_application_js_api 1.1.30 → 1.1.32
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/modules/CustomerEduPortal.js +15 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ class CustomerEduPortal
|
|
|
21
21
|
static #SET_RECURSIVE = "SetRecursive";
|
|
22
22
|
static #SET_DATE_AND_TIME = "SetDateAndTime";
|
|
23
23
|
static #SET_DAY = "SetDay";
|
|
24
|
+
static #SET_RECURSIVITY = "SetRecursivity";
|
|
24
25
|
|
|
25
26
|
static async GetAllEvents()
|
|
26
27
|
{
|
|
@@ -94,10 +95,11 @@ class CustomerEduPortal
|
|
|
94
95
|
return eventObj;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
|
-
static async RequestAccess(eventId)
|
|
98
|
+
static async RequestAccess(eventId, request)
|
|
98
99
|
{
|
|
99
100
|
var event = await APIController.Post(this.#MODULE, this.#REQUEST_ACCESS, {
|
|
100
101
|
"eventId": eventId,
|
|
102
|
+
"request": APIController.BoolToInt(request),
|
|
101
103
|
})
|
|
102
104
|
|
|
103
105
|
var eventObj = new iEvent();
|
|
@@ -198,6 +200,18 @@ class CustomerEduPortal
|
|
|
198
200
|
eventObj.CreateFromJSON(JSON.parse(event));
|
|
199
201
|
return eventObj;
|
|
200
202
|
}
|
|
203
|
+
|
|
204
|
+
static async SetRecursivity(eventId, repeatTime)
|
|
205
|
+
{
|
|
206
|
+
var event = await APIController.Post(this.#MODULE, this.#SET_RECURSIVITY, {
|
|
207
|
+
'eventId': eventId,
|
|
208
|
+
'repeatTime': repeatTime,
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
var eventObj = new iEvent();
|
|
212
|
+
eventObj.CreateFromJSON(JSON.parse(event));
|
|
213
|
+
return eventObj;
|
|
214
|
+
}
|
|
201
215
|
}
|
|
202
216
|
|
|
203
217
|
export default CustomerEduPortal;
|