@itutoring/itutoring_application_js_api 1.6.32 → 1.6.33

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 +13 -0
  2. package/package.json +1 -1
package/modules/Models.js CHANGED
@@ -40,6 +40,19 @@ class Models
40
40
  static #GET_STUDENTS_FOR_CUSTOMER = 'GetStudentsForCustomer';
41
41
  static #GET_LECTURES_FOR_EVENT = 'GetLecturesForEvent';
42
42
  static #GET_ATTENDANCE_FOR_LECTURE = 'GetAttendanceForLecture';
43
+ static #GET_PLANNED_LECTURE_COUNT = 'GetPlannedLectureCount';
44
+
45
+ static async getPlannedLectureCount(customerId, lessonType, lessonLength)
46
+ {
47
+ var data = await APIController.Get(this.#MODULE, this.#GET_PLANNED_LECTURE_COUNT, {
48
+ 'customerId': customerId,
49
+ 'lessonType': lessonType,
50
+ 'lessonLength': lessonLength,
51
+ }
52
+ );
53
+
54
+ return data;
55
+ }
43
56
 
44
57
  static async setInquiryFlag(id, flag)
45
58
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.32",
3
+ "version": "1.6.33",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",