@itutoring/itutoring_application_js_api 1.6.11 → 1.6.13

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
@@ -42,7 +42,7 @@ class Models
42
42
  static async setEvent(event)
43
43
  {
44
44
  await APIController.Post(this.#MODULE, this.#SET_EVENT, {
45
- 'event': JSON.stringify(event),
45
+ 'model': JSON.stringify(event),
46
46
  });
47
47
  }
48
48
 
@@ -66,7 +66,7 @@ class Models
66
66
  static async setInquiry(inquiry)
67
67
  {
68
68
  await APIController.Post(this.#MODULE, this.#SET_INQUIRY, {
69
- 'inquiry': JSON.stringify(inquiry),
69
+ 'model': JSON.stringify(inquiry),
70
70
  });
71
71
  }
72
72
 
@@ -90,7 +90,7 @@ class Models
90
90
  static async setOffer(offer)
91
91
  {
92
92
  await APIController.Post(this.#MODULE, this.#SET_OFFER, {
93
- 'offer': JSON.stringify(offer),
93
+ 'model': JSON.stringify(offer),
94
94
  });
95
95
  }
96
96
 
@@ -114,7 +114,7 @@ class Models
114
114
  static async setCustomer(customer)
115
115
  {
116
116
  await APIController.Post(this.#MODULE, this.#SET_CUSTOMER, {
117
- 'customer': JSON.stringify(customer),
117
+ 'model': JSON.stringify(customer),
118
118
  });
119
119
  }
120
120
 
@@ -138,7 +138,7 @@ class Models
138
138
  static async setStudent(student)
139
139
  {
140
140
  await APIController.Post(this.#MODULE, this.#SET_STUDENT, {
141
- 'student': JSON.stringify(student),
141
+ 'model': JSON.stringify(student),
142
142
  });
143
143
  }
144
144
 
@@ -162,7 +162,7 @@ class Models
162
162
  static async setLecture(lecture)
163
163
  {
164
164
  await APIController.Post(this.#MODULE, this.#SET_LECTURE, {
165
- 'lecture': JSON.stringify(lecture),
165
+ 'model': JSON.stringify(lecture),
166
166
  });
167
167
  }
168
168
 
@@ -186,7 +186,7 @@ class Models
186
186
  static async setLectureAttendance(attendance)
187
187
  {
188
188
  await APIController.Post(this.#MODULE, this.#SET_LECTURE_ATTENDANCE, {
189
- 'attendance': JSON.stringify(attendance),
189
+ 'model': JSON.stringify(attendance),
190
190
  });
191
191
  }
192
192
 
@@ -165,11 +165,10 @@ class TableExplorer
165
165
  return data;
166
166
  }
167
167
 
168
- static async getFilteredResults(token, filters)
168
+ static async getFilteredResults(token)
169
169
  {
170
170
  var data = await APIController.Get(this.#MODULE, this.#GET_FILTERED_RESULTS, {
171
171
  'token': token,
172
- 'filters': JSON.stringify(filters),
173
172
  });
174
173
 
175
174
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.11",
3
+ "version": "1.6.13",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",