@itutoring/itutoring_application_js_api 1.1.36 → 1.1.38

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/apiController.js CHANGED
@@ -95,7 +95,6 @@ class APIController
95
95
  var formData = new FormData();
96
96
  if (file != null)
97
97
  {
98
- console.log("api - U_F");
99
98
  var formData = new FormData();
100
99
  formData.append("file", file);
101
100
 
package/index.d.ts CHANGED
@@ -21,6 +21,7 @@ import WebinarSystem from "./modules/WebinarsSystem";
21
21
  import GoogleReviews from "./modules/GoogleReviews";
22
22
  import CustomerEduPortal from "./modules/CustomerEduPortal";
23
23
  import EventManager from "./modules/EventManager";
24
+ import iTutoringApplicationVersion from "./modules/Version";
24
25
 
25
26
  import Course from "./objects/Course";
26
27
  import CourseReservation from "./objects/CourseReservation";
@@ -62,6 +63,7 @@ export
62
63
  GoogleReviews,
63
64
  CustomerEduPortal,
64
65
  EventManager,
66
+ iTutoringApplicationVersion,
65
67
 
66
68
  Course,
67
69
  CourseReservation,
package/index.js CHANGED
@@ -19,6 +19,7 @@ import WebinarSystem from "./modules/WebinarsSystem";
19
19
  import GoogleReviews from "./modules/GoogleReviews";
20
20
  import CustomerEduPortal from "./modules/CustomerEduPortal";
21
21
  import EventManager from "./modules/EventManager";
22
+ import iTutoringApplicationVersion from "./modules/Version";
22
23
 
23
24
  import Course from "./objects/Course";
24
25
  import CourseReservation from "./objects/CourseReservation";
@@ -60,6 +61,7 @@ export
60
61
  GoogleReviews,
61
62
  CustomerEduPortal,
62
63
  EventManager,
64
+ iTutoringApplicationVersion,
63
65
 
64
66
  Course,
65
67
  CourseReservation,
@@ -13,6 +13,15 @@ class TeacherAuth
13
13
  static #IS_AUTHENTICATED = "IsAuthenticated";
14
14
  static #CHANGE_PASSWOD = "ChangePassword";
15
15
 
16
+ /**
17
+ * This mothod will force default auth dialog
18
+ */
19
+ static async Auth()
20
+ {
21
+ var res = await APIController.Post("Auth", "AuthScreens/tauth");
22
+ return res;
23
+ }
24
+
16
25
  /**
17
26
  *
18
27
  * @param {*} email
@@ -0,0 +1,16 @@
1
+ import APIController from "../apiController";
2
+
3
+ class iTutoringApplicationVersion
4
+ {
5
+ static #MODULE = "Version";
6
+
7
+ static #GET_VERSION = "GetVersion";
8
+
9
+ static async GetVersion()
10
+ {
11
+ var ver = await APIController.Get(this.#MODULE, this.#GET_VERSION);
12
+ return ver;
13
+ }
14
+ }
15
+
16
+ export default iTutoringApplicationVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",