@itutoring/itutoring_application_js_api 1.1.32 → 1.1.33

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.
@@ -22,6 +22,7 @@ class CustomerEduPortal
22
22
  static #SET_DATE_AND_TIME = "SetDateAndTime";
23
23
  static #SET_DAY = "SetDay";
24
24
  static #SET_RECURSIVITY = "SetRecursivity";
25
+ static #DELETE_EVENT = "DeleteEvent";
25
26
 
26
27
  static async GetAllEvents()
27
28
  {
@@ -212,6 +213,13 @@ class CustomerEduPortal
212
213
  eventObj.CreateFromJSON(JSON.parse(event));
213
214
  return eventObj;
214
215
  }
216
+
217
+ static async DeleteEvent(eventId)
218
+ {
219
+ await APIController.Post(this.#MODULE, this.#DELETE_EVENT, {
220
+ 'eventId': eventId,
221
+ });
222
+ }
215
223
  }
216
224
 
217
225
  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.32",
3
+ "version": "1.1.33",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",