@itutoring/itutoring_application_js_api 1.4.10 → 1.4.12

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.
@@ -94,39 +94,39 @@ class TeacherProfileModule
94
94
  });
95
95
  }
96
96
 
97
- static async addTimeInterval(day, from, to)
97
+ static async addTimeInterval(day, from, to, id)
98
98
  {
99
99
  await APIController.Post(this.#MODULE, this.#ADD_TIME_INTERVAL, {
100
100
  'day': day,
101
101
  'from': from,
102
102
  'to': to,
103
+ 'id': id,
103
104
  });
104
105
  }
105
106
 
106
- static async removeTimeInterval(day, from, to)
107
+ static async removeTimeInterval(day, id)
107
108
  {
108
109
  await APIController.Post(this.#MODULE, this.#REMOVE_TIME_INTERVAL, {
109
110
  'day': day,
110
- 'from': from,
111
- 'to': to,
111
+ 'id': id,
112
112
  });
113
113
  }
114
114
 
115
- static async addUnavailableTimeInterval(date, from, to)
115
+ static async addUnavailableTimeInterval(date, from, to, id)
116
116
  {
117
117
  await APIController.Post(this.#MODULE, this.#ADD_UNAVAILABLE_TIME_INTERVAL, {
118
118
  'day': date,
119
119
  'from': from,
120
120
  'to': to,
121
+ 'id': id,
121
122
  });
122
123
  }
123
124
 
124
- static async removeUnavailableTimeInterval(date, from, to)
125
+ static async removeUnavailableTimeInterval(date, id)
125
126
  {
126
127
  await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_TIME_INTERVAL, {
127
128
  'day': date,
128
- 'from': from,
129
- 'to': to,
129
+ 'id': id,
130
130
  });
131
131
  }
132
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",