@itutoring/itutoring_application_js_api 1.4.10 → 1.4.11
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,43 @@ 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, from, to, id)
|
|
107
108
|
{
|
|
108
109
|
await APIController.Post(this.#MODULE, this.#REMOVE_TIME_INTERVAL, {
|
|
109
110
|
'day': day,
|
|
110
111
|
'from': from,
|
|
111
112
|
'to': to,
|
|
113
|
+
'id': id,
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
static async addUnavailableTimeInterval(date, from, to)
|
|
117
|
+
static async addUnavailableTimeInterval(date, from, to, id)
|
|
116
118
|
{
|
|
117
119
|
await APIController.Post(this.#MODULE, this.#ADD_UNAVAILABLE_TIME_INTERVAL, {
|
|
118
120
|
'day': date,
|
|
119
121
|
'from': from,
|
|
120
122
|
'to': to,
|
|
123
|
+
'id': id,
|
|
121
124
|
});
|
|
122
125
|
}
|
|
123
126
|
|
|
124
|
-
static async removeUnavailableTimeInterval(date, from, to)
|
|
127
|
+
static async removeUnavailableTimeInterval(date, from, to, id)
|
|
125
128
|
{
|
|
126
129
|
await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_TIME_INTERVAL, {
|
|
127
130
|
'day': date,
|
|
128
131
|
'from': from,
|
|
129
132
|
'to': to,
|
|
133
|
+
'id': id,
|
|
130
134
|
});
|
|
131
135
|
}
|
|
132
136
|
|