@itutoring/itutoring_application_js_api 1.6.49 → 1.6.51

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
@@ -43,6 +43,14 @@ class Models
43
43
  static #GET_PLANNED_LECTURE_COUNT = 'GetPlannedLectureCount';
44
44
  static #CREATE_EVENT_FROM_INQUIRY = 'CreateEventFromInquiry';
45
45
  static #GET_FIRST_PLANNED_LECTURE = 'GetFirstPlannedLecture';
46
+ static #MARK_INQUIRY_ALL_INFO_SET = 'MarkInquiryAllInfoSet';
47
+
48
+ static async markInquiryAllInfoSet(inquiryId)
49
+ {
50
+ await APIController.Post(this.#MODULE, this.#MARK_INQUIRY_ALL_INFO_SET, {
51
+ 'id': inquiryId,
52
+ });
53
+ }
46
54
 
47
55
  static async getFirstPlannedLecture(eventId, includeToday)
48
56
  {
@@ -48,6 +48,19 @@ class TeacherProfileModule
48
48
  static #IS_PROFILE_COMPLETED = "IsProfileCompleted";
49
49
  static #SET_PROFILE_COMPLETE = "SetProfileCompleted";
50
50
  static #GET_AVAILABLE_MODULES = "GetAvailableModules";
51
+ static #CHECK_PROFILE ="CheckProfile";
52
+ static #IS_PROFILE_CHECKED = "IsProfileChecked";
53
+
54
+ static async isProfileChecked()
55
+ {
56
+ var data = await APIController.Get(this.#MODULE, this.#IS_PROFILE_CHECKED);
57
+ return data;
58
+ }
59
+
60
+ static async checkProfile()
61
+ {
62
+ await APIController.Post(this.#MODULE, this.#CHECK_PROFILE);
63
+ }
51
64
 
52
65
  static async getAvailableModules()
53
66
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.49",
3
+ "version": "1.6.51",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",