@itutoring/itutoring_application_js_api 1.6.14 → 1.6.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.
package/modules/Models.js CHANGED
@@ -18,7 +18,7 @@ class Models
18
18
  static #DELETE_EVENT = 'DeleteEvent';
19
19
  static #SET_INQUIRY = 'SetInquiry';
20
20
  static #GET_INQUIRY = 'GetInquiry';
21
- static #DELETE_INQUIRY = 'DeleteInquiry';
21
+ static #DELETE_INQUIRY = 'DeleteInquiry';
22
22
  static #SET_OFFER = 'SetOffer';
23
23
  static #GET_OFFER = 'GetOffer';
24
24
  static #DELETE_OFFER = 'DeleteOffer';
@@ -41,7 +41,7 @@ class Models
41
41
 
42
42
  static async setEvent(event)
43
43
  {
44
- await APIController.Post(this.#MODULE, this.#SET_EVENT, {
44
+ return await APIController.Post(this.#MODULE, this.#SET_EVENT, {
45
45
  'model': JSON.stringify(event),
46
46
  });
47
47
  }
@@ -65,7 +65,7 @@ class Models
65
65
 
66
66
  static async setInquiry(inquiry)
67
67
  {
68
- await APIController.Post(this.#MODULE, this.#SET_INQUIRY, {
68
+ return await APIController.Post(this.#MODULE, this.#SET_INQUIRY, {
69
69
  'model': JSON.stringify(inquiry),
70
70
  });
71
71
  }
@@ -89,7 +89,7 @@ class Models
89
89
 
90
90
  static async setOffer(offer)
91
91
  {
92
- await APIController.Post(this.#MODULE, this.#SET_OFFER, {
92
+ return await APIController.Post(this.#MODULE, this.#SET_OFFER, {
93
93
  'model': JSON.stringify(offer),
94
94
  });
95
95
  }
@@ -113,7 +113,7 @@ class Models
113
113
 
114
114
  static async setCustomer(customer)
115
115
  {
116
- await APIController.Post(this.#MODULE, this.#SET_CUSTOMER, {
116
+ return await APIController.Post(this.#MODULE, this.#SET_CUSTOMER, {
117
117
  'model': JSON.stringify(customer),
118
118
  });
119
119
  }
@@ -137,7 +137,7 @@ class Models
137
137
 
138
138
  static async setStudent(student)
139
139
  {
140
- await APIController.Post(this.#MODULE, this.#SET_STUDENT, {
140
+ return await APIController.Post(this.#MODULE, this.#SET_STUDENT, {
141
141
  'model': JSON.stringify(student),
142
142
  });
143
143
  }
@@ -161,7 +161,7 @@ class Models
161
161
 
162
162
  static async setLecture(lecture)
163
163
  {
164
- await APIController.Post(this.#MODULE, this.#SET_LECTURE, {
164
+ return await APIController.Post(this.#MODULE, this.#SET_LECTURE, {
165
165
  'model': JSON.stringify(lecture),
166
166
  });
167
167
  }
@@ -185,7 +185,7 @@ class Models
185
185
 
186
186
  static async setLectureAttendance(attendance)
187
187
  {
188
- await APIController.Post(this.#MODULE, this.#SET_LECTURE_ATTENDANCE, {
188
+ return await APIController.Post(this.#MODULE, this.#SET_LECTURE_ATTENDANCE, {
189
189
  'model': JSON.stringify(attendance),
190
190
  });
191
191
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",