@itutoring/itutoring_application_js_api 1.6.9 → 1.6.10

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 (46) hide show
  1. package/CookiesManager.js +9 -0
  2. package/apiController.js +9 -0
  3. package/cache.js +9 -0
  4. package/index.d.ts +9 -0
  5. package/index.js +9 -0
  6. package/modules/AttendanceManager.js +9 -0
  7. package/modules/Authentication.js +9 -0
  8. package/modules/CustomerAuth.js +9 -0
  9. package/modules/CustomerEduPortal.js +9 -0
  10. package/modules/CustomerPortal.js +8 -0
  11. package/modules/Email.js +9 -0
  12. package/modules/EventManager.js +9 -0
  13. package/modules/FAQ.js +9 -0
  14. package/modules/GoogleReviews.js +10 -0
  15. package/modules/Inventory.js +9 -1
  16. package/modules/LectorDatabase.js +9 -0
  17. package/modules/LessonManager.js +9 -0
  18. package/modules/Models.js +9 -0
  19. package/modules/Newsletters.js +9 -0
  20. package/modules/Payments.js +9 -0
  21. package/modules/Pricing.js +9 -0
  22. package/modules/ReservationSystem.js +9 -0
  23. package/modules/Reviews.js +9 -0
  24. package/modules/SubjectManager.js +9 -0
  25. package/modules/TableExplorer.js +12 -3
  26. package/modules/TeacherAuth.js +9 -0
  27. package/modules/TeacherManager.js +9 -1
  28. package/modules/TeacherPortal.js +9 -1
  29. package/modules/TeacherProfileModule.js +9 -0
  30. package/modules/TeacherProfiles.js +9 -0
  31. package/modules/Version.js +9 -0
  32. package/modules/WebinarsSystem.js +9 -0
  33. package/objects/AttendanceEvent.js +9 -0
  34. package/objects/AuthUser.js +9 -0
  35. package/objects/Course.js +8 -0
  36. package/objects/CourseReservation.js +8 -0
  37. package/objects/Customer.js +11 -0
  38. package/objects/Enums.js +9 -0
  39. package/objects/Event.js +11 -1
  40. package/objects/Reservation.js +9 -0
  41. package/objects/Subject.js +9 -0
  42. package/objects/Teacher.js +9 -0
  43. package/objects/TeacherProfile.js +9 -0
  44. package/objects/Webinar.js +9 -0
  45. package/objects/billingInfo.js +9 -0
  46. package/package.json +1 -1
package/CookiesManager.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class CookiesManager
2
11
  {
3
12
  static SetCookie(name, value, expiracy)
package/apiController.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import CookiesManager from "./CookiesManager";
2
11
  import APICache from "./cache";
3
12
  import { R_KEYs } from "./objects/Enums";
package/cache.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class APICache
2
11
  {
3
12
  static CacheStorage = {}
package/index.d.ts CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  declare module 'iTutoring Application JS API';
2
11
 
3
12
  "use strict";
package/index.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  "use strict";
2
11
 
3
12
  import APIController from "./apiController";
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
  import AttendanceEvent from "../objects/AttendanceEvent";
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
  import AuthUser from "../objects/AuthUser";
3
12
  import TeacherProfile from "../objects/TeacherProfile";
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
  //import EventHandling from "./EventHandling";
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
  import iEvent from "../objects/Event";
3
12
 
@@ -1,3 +1,11 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
1
9
  import APIController from "./../apiController";
2
10
  import Customer from "./../objects/Customer";
3
11
 
package/modules/Email.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
 
3
12
  class Email
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class EventManager
package/modules/FAQ.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class FAQ
@@ -1,5 +1,15 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
12
+
3
13
  /**
4
14
  * @deprecated Use general Reviews class instead.
5
15
  */
@@ -1,5 +1,13 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
- import APICache from "../cache";
3
11
 
4
12
  class Inventory
5
13
  {
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class LectorDatabase
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
  import iEvent from "../objects/Event";
3
12
 
package/modules/Models.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class Models
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
 
3
12
  class Newsletters
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
 
3
12
  class Payments
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class Pricing
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import BillingInfo from "../objects/billingInfo";
2
11
  import APIController from "./../apiController";
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class Reviews
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import Subject from "./../objects/Subject";
2
11
  import APIController from "./../apiController";
3
12
  import Course from "./../objects/Course";
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class TableExplorer
@@ -7,7 +16,7 @@ class TableExplorer
7
16
  static #CREATE_INQUIRY_EXPLORER = "CreateInquiryExplorer";
8
17
  static #CREATE_EVENT_EXPLORER = "CreateEventExplorer";
9
18
  static #CREATE_OFFER_EXPLORER = "CreateOfferExplorer";
10
- static #CREATE_CUSTUMER_EXPLORER = "CreateCustumerExplorer";
19
+ static #CREATE_CUSTOMER_EXPLORER = "CreateCustomerExplorer";
11
20
  static #CREATE_LECTURE_EXPLORER = "CreateLectureExplorer";
12
21
  static #CREATE_LECTURE_ATTENDANCE_EXPLORER = "CreateLectureAttendanceExplorer";
13
22
  static #CREATE_STUDENT_EXPLORER = "CreateStudentExplorer";
@@ -47,9 +56,9 @@ class TableExplorer
47
56
  return data['token'];
48
57
  }
49
58
 
50
- static async createCustumerExplorer()
59
+ static async createCustomerExplorer()
51
60
  {
52
- var data = await APIController.Get(this.#MODULE, this.#CREATE_CUSTUMER_EXPLORER);
61
+ var data = await APIController.Get(this.#MODULE, this.#CREATE_CUSTOMER_EXPLORER);
53
62
 
54
63
  return data['token'];
55
64
  }
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
 
3
12
  class TeacherAuth
@@ -1,4 +1,12 @@
1
- import TeacherProfile from "../objects/TeacherProfile";
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
2
10
  import APIController from "./../apiController";
3
11
  import Teacher from "./../objects/Teacher";
4
12
 
@@ -1,4 +1,12 @@
1
- import TeacherProfile from "../objects/TeacherProfile";
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
2
10
  import APIController from "./../apiController";
3
11
  import Reservation from "./../objects/Reservation";
4
12
  import Teacher from "./../objects/Teacher";
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class TeacherProfileModule
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "./../apiController";
2
11
  import TeacherProfile from "./../objects/TeacherProfile";
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController";
2
11
 
3
12
  class iTutoringApplicationVersion
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  import APIController from "../apiController"
2
11
  import Webinar from "../objects/Webinar";
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class AttendanceEvent
2
11
  {
3
12
  Date;
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class AuthUser
2
11
  {
3
12
  AuthenticationMethod;
package/objects/Course.js CHANGED
@@ -1,3 +1,11 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
1
9
 
2
10
  /**
3
11
  * @deprecated do not use
@@ -1,3 +1,11 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
1
9
 
2
10
  /**
3
11
  * @deprecated do not use
@@ -1,3 +1,14 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+ /**
10
+ * @deprecated
11
+ */
1
12
  class Customer
2
13
  {
3
14
  FirstName;
package/objects/Enums.js CHANGED
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  const BookReturn = {
2
11
  SUCCESS: 0,
3
12
  NO_TEACHER_AVAILABLE: 1,
package/objects/Event.js CHANGED
@@ -1,4 +1,14 @@
1
-
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+ /**
10
+ * @deprecated
11
+ */
2
12
  class iEvent
3
13
  {
4
14
  /**
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  /**
2
11
  * @deprecated do not use
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class Subject
2
11
  {
3
12
  Name;
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class Teacher
2
11
  {
3
12
  Name;
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class TeacherProfile
2
11
  {
3
12
  Name;
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  class Webinar
2
11
  {
3
12
  Name;
@@ -1,3 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2024 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+
6
+ *
7
+ */
8
+
9
+
1
10
  /**
2
11
  * BillingInfo API model representation.
3
12
  * See documentation: https://zabesstudio.atlassian.net/wiki/spaces/ITUTAPP/pages/70549505/BillingInfo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.9",
3
+ "version": "1.6.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",