@itutoring/itutoring_application_js_api 1.1.31 → 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.
@@ -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
  {
@@ -199,6 +200,18 @@ class CustomerEduPortal
199
200
  eventObj.CreateFromJSON(JSON.parse(event));
200
201
  return eventObj;
201
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
+ }
202
215
  }
203
216
 
204
217
  export default CustomerEduPortal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.1.31",
3
+ "version": "1.1.32",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",