@itutoring/itutoring_application_js_api 1.1.45 → 1.1.47

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.
@@ -12,6 +12,8 @@ class SubjectManager
12
12
  // All method names
13
13
  static #GET_ALL_AVAILABLE_SUBJECTS = "GetAllAvailableSubjects";
14
14
  static #GET_ALL_AVAILABLE_COURSES = "GetAllAvailableCourses";
15
+ static #GET_ALL_AVAILABLE_PLACES = "GetAllAvailablePlaces";
16
+ static #GET_ALL_AVAILABLE_CLASSES = "GetAllAvailableClasses";
15
17
 
16
18
  // Cache keys
17
19
  static #SUBJECTS_CACHE_KEY = "json_subjects_c_k";
@@ -107,6 +109,22 @@ class SubjectManager
107
109
 
108
110
  return availableCourses;
109
111
  }
112
+
113
+ static async GetAllAvailablePlaces()
114
+ {
115
+ var data = await APIController.Get(this.#MODULE, this.#GET_ALL_AVAILABLE_PLACES);
116
+
117
+ var arr = JSON.parse(data);
118
+
119
+ return arr;
120
+ }
121
+
122
+ static async GetAllAvailableClasses()
123
+ {
124
+ var data = await APIController.Get(this.#MODULE, this.#GET_ALL_AVAILABLE_CLASSES);
125
+ var arr = JSON.parse(data);
126
+ return arr;
127
+ }
110
128
  }
111
129
 
112
130
  export default SubjectManager;
package/objects/Event.js CHANGED
@@ -80,6 +80,8 @@ class iEvent
80
80
  ReadOnly;
81
81
 
82
82
  State;
83
+ Place;
84
+ Class;
83
85
 
84
86
 
85
87
  CreateFromJSON(json)
@@ -102,6 +104,8 @@ class iEvent
102
104
  this.IsVideoConference = json['IsVideoConference'];
103
105
  this.ReadOnly = json['ReadOnly'];
104
106
  this.State = json['State'];
107
+ this.Class = json['Class'];
108
+ this.Place = json['Place'];
105
109
  }
106
110
  }
107
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.1.45",
3
+ "version": "1.1.47",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",