@itutoring/itutoring_application_js_api 1.6.23 → 1.6.25

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.
package/modules/Models.js CHANGED
@@ -41,18 +41,18 @@ class Models
41
41
  static #GET_LECTURES_FOR_EVENT = 'GetLecturesForEvent';
42
42
  static #GET_ATTENDANCE_FOR_LECTURE = 'GetAttendanceForLecture';
43
43
 
44
- static async setInquiryFlag(inquiryId, flag)
44
+ static async setInquiryFlag(id, flag)
45
45
  {
46
46
  await APIController.Post(this.#MODULE, this.#SET_INQUIRY_FLAG, {
47
- 'inquiryId': inquiryId,
47
+ 'id': id,
48
48
  'flag': flag,
49
49
  });
50
50
  }
51
51
 
52
- static async unsetInquiryFlag(inquiryId, flag)
52
+ static async unsetInquiryFlag(id, flag)
53
53
  {
54
54
  await APIController.Post(this.#MODULE, this.#UNSET_INQUIRY_FLAG, {
55
- 'inquiryId': inquiryId,
55
+ 'id': id,
56
56
  'flag': flag,
57
57
  });
58
58
  }
@@ -34,6 +34,15 @@ class TableExplorer
34
34
  static #ADD_FILTER = "AddFilter";
35
35
  static #RESET_FILTER = "ResetFilter";
36
36
  static #SET_SPECIAL_FILTER = "SetSpecialFilter";
37
+ static #REMOVE_FILTER = "RemoveFilter";
38
+
39
+ static async removeFilter(token, filter)
40
+ {
41
+ await APIController.Post(this.#MODULE, this.#REMOVE_FILTER, {
42
+ 'token': token,
43
+ 'filter': filter,
44
+ });
45
+ }
37
46
 
38
47
  static async setSpecialFilter(token, filter)
39
48
  {
@@ -100,7 +109,7 @@ class TableExplorer
100
109
 
101
110
  return data;
102
111
  }
103
-
112
+
104
113
  static async getMaxPages(token)
105
114
  {
106
115
  var data = await APIController.Get(this.#MODULE, this.#GET_MAX_PAGES, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",