@itutoring/itutoring_application_js_api 1.4.13 → 1.4.15

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.
@@ -29,6 +29,14 @@ class TeacherProfileModule
29
29
  static #GET_TEACHER_INFO = "GetTeacherInfo";
30
30
  static #IS_TEACHING_ONSITE = "IsTeachingOnsite";
31
31
  static #SET_TEACHING_ONSITE = "SetTeachingOnsite";
32
+ static #REMOVE_UNAVAILABLE_DATE = "RemoveUnavailableDate";
33
+
34
+ static async removeUnavailableDate(date)
35
+ {
36
+ await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_DATE, {
37
+ 'date': date,
38
+ });
39
+ }
32
40
 
33
41
  static async isTeachingOnsite()
34
42
  {
@@ -115,7 +123,7 @@ class TeacherProfileModule
115
123
  static async addUnavailableTimeInterval(date, from, to, id)
116
124
  {
117
125
  await APIController.Post(this.#MODULE, this.#ADD_UNAVAILABLE_TIME_INTERVAL, {
118
- 'day': date,
126
+ 'date': date,
119
127
  'from': from,
120
128
  'to': to,
121
129
  'id': id,
@@ -125,7 +133,7 @@ class TeacherProfileModule
125
133
  static async removeUnavailableTimeInterval(date, id)
126
134
  {
127
135
  await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_TIME_INTERVAL, {
128
- 'day': date,
136
+ 'date': date,
129
137
  'id': id,
130
138
  });
131
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.13",
3
+ "version": "1.4.15",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",