@itutoring/itutoring_application_js_api 1.6.40 → 1.6.41

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.
Files changed (2) hide show
  1. package/modules/Models.js +11 -0
  2. package/package.json +1 -1
package/modules/Models.js CHANGED
@@ -42,6 +42,17 @@ class Models
42
42
  static #GET_ATTENDANCE_FOR_LECTURE = 'GetAttendanceForLecture';
43
43
  static #GET_PLANNED_LECTURE_COUNT = 'GetPlannedLectureCount';
44
44
  static #CREATE_EVENT_FROM_INQUIRY = 'CreateEventFromInquiry';
45
+ static #GET_FIRST_PLANNED_LECTURE = 'GetFirstPlannedLecture';
46
+
47
+ static async getFirstPlannedLecture(eventId, includeToday)
48
+ {
49
+ var data = await APIController.Get(this.#MODULE, this.#GET_FIRST_PLANNED_LECTURE, {
50
+ 'eventId': eventId,
51
+ 'includeToday': includeToday,
52
+ });
53
+
54
+ return data;
55
+ }
45
56
 
46
57
  static async createEventFromInquiry(inquiryId)
47
58
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.40",
3
+ "version": "1.6.41",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",