@itutoring/itutoring_application_js_api 1.11.0 → 1.11.2
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/.idea/iTutoring_Application_API-js.iml +11 -11
- package/.idea/modules.xml +7 -7
- package/.idea/vcs.xml +5 -5
- package/CookiesManager.js +47 -47
- package/LICENSE +21 -21
- package/README.md +6 -6
- package/apiController.js +436 -436
- package/cache.js +31 -31
- package/index.d.ts +116 -116
- package/index.js +114 -114
- package/modules/AiAssist.js +31 -31
- package/modules/Authentication.js +86 -86
- package/modules/Cart.js +83 -81
- package/modules/Checkout.js +60 -50
- package/modules/CustomerAuth.js +57 -57
- package/modules/CustomerLessonManager.js +29 -29
- package/modules/CustomerPortal.js +31 -31
- package/modules/FAQ.js +39 -39
- package/modules/GoogleReviews.js +36 -36
- package/modules/Inventory.js +51 -51
- package/modules/LectorDatabase.js +185 -185
- package/modules/LectorsCalendar.js +67 -67
- package/modules/LessonInventory.js +47 -47
- package/modules/MarketplaceController.js +86 -86
- package/modules/Models.js +380 -380
- package/modules/Payments.js +75 -75
- package/modules/Pricing.js +70 -70
- package/modules/ReservationSystem.js +48 -48
- package/modules/Reviews.js +53 -53
- package/modules/SubjectManager.js +139 -139
- package/modules/TableExplorer.js +246 -246
- package/modules/TeacherAuth.js +57 -57
- package/modules/TeacherProfileModule.js +299 -299
- package/modules/TeacherProfiles.js +60 -60
- package/modules/Version.js +24 -24
- package/modules/WebController.js +37 -37
- package/objects/AttendanceEvent.js +39 -39
- package/objects/AuthUser.js +24 -24
- package/objects/Course.js +38 -38
- package/objects/CourseReservation.js +22 -22
- package/objects/Customer.js +20 -20
- package/objects/Enums.js +62 -62
- package/objects/Event.js +125 -125
- package/objects/Reservation.js +42 -42
- package/objects/Subject.js +24 -24
- package/objects/Teacher.js +18 -18
- package/objects/TeacherProfile.js +17 -17
- package/objects/Webinar.js +25 -25
- package/objects/billingInfo.js +29 -29
- package/package.json +1 -1
- package/toolkit/Toolkit.jsx +51 -51
package/cache.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class APICache
|
|
11
|
-
{
|
|
12
|
-
static CacheStorage = {}
|
|
13
|
-
|
|
14
|
-
static Cache(key, data)
|
|
15
|
-
{
|
|
16
|
-
this.CacheStorage[key] = data;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static Retrive(key)
|
|
20
|
-
{
|
|
21
|
-
if (!this.IsCached(key))
|
|
22
|
-
return null;
|
|
23
|
-
return this.CacheStorage[key];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
static IsCached(key)
|
|
27
|
-
{
|
|
28
|
-
return this.CacheStorage[key] !== undefined;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class APICache
|
|
11
|
+
{
|
|
12
|
+
static CacheStorage = {}
|
|
13
|
+
|
|
14
|
+
static Cache(key, data)
|
|
15
|
+
{
|
|
16
|
+
this.CacheStorage[key] = data;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static Retrive(key)
|
|
20
|
+
{
|
|
21
|
+
if (!this.IsCached(key))
|
|
22
|
+
return null;
|
|
23
|
+
return this.CacheStorage[key];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static IsCached(key)
|
|
27
|
+
{
|
|
28
|
+
return this.CacheStorage[key] !== undefined;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
32
|
export default APICache;
|
package/index.d.ts
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare module 'iTutoring Application JS API';
|
|
11
|
-
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
import APIController from "./apiController";
|
|
15
|
-
import CookiesManager from "./CookiesManager";
|
|
16
|
-
|
|
17
|
-
import CustomerAuth from "./modules/CustomerAuth";
|
|
18
|
-
import CustomerPortal from "./modules/CustomerPortal";
|
|
19
|
-
import Payments from "./modules/Payments";
|
|
20
|
-
import ReservationSystem from "./modules/ReservationSystem";
|
|
21
|
-
import SubjectManager from "./modules/SubjectManager";
|
|
22
|
-
import TeacherAuth from "./modules/TeacherAuth";
|
|
23
|
-
import TeacherProfiles from "./modules/TeacherProfiles";
|
|
24
|
-
import GoogleReviews from "./modules/GoogleReviews";
|
|
25
|
-
import iTutoringApplicationVersion from "./modules/Version";
|
|
26
|
-
import TeacherProfileModule from "./modules/TeacherProfileModule";
|
|
27
|
-
import LectorDatabase from "./modules/LectorDatabase";
|
|
28
|
-
import LectorsCalendar from "./modules/LectorsCalendar";
|
|
29
|
-
import AiAssist from "./modules/AiAssist";
|
|
30
|
-
import CustomerLessonManager from "./modules/CustomerLessonManager";
|
|
31
|
-
import WebController from "./modules/WebController";
|
|
32
|
-
import MarketplaceController from "./modules/MarketplaceController";
|
|
33
|
-
import LessonInventory from "./modules/LessonInventory";
|
|
34
|
-
import Cart from "./modules/Cart";
|
|
35
|
-
import Checkout from "./modules/Checkout";
|
|
36
|
-
|
|
37
|
-
import Course from "./objects/Course";
|
|
38
|
-
import CourseReservation from "./objects/CourseReservation";
|
|
39
|
-
import Customer from "./objects/Customer";
|
|
40
|
-
import Reservation from "./objects/Reservation";
|
|
41
|
-
import Subject from "./objects/Subject";
|
|
42
|
-
import Teacher from "./objects/Teacher";
|
|
43
|
-
import TeacherProfile from "./objects/TeacherProfile";
|
|
44
|
-
import iEvent from "./objects/Event";
|
|
45
|
-
import AuthUser from "./objects/AuthUser";
|
|
46
|
-
import Authentication from "./modules/Authentication";
|
|
47
|
-
import AttendanceEvent from "./objects/AttendanceEvent";
|
|
48
|
-
import Toolkit from "./toolkit/Toolkit";
|
|
49
|
-
import Pricing from "./modules/Pricing";
|
|
50
|
-
import Reviews from "./modules/Reviews";
|
|
51
|
-
import FAQ from "./modules/FAQ";
|
|
52
|
-
import Inventory from "./modules/Inventory";
|
|
53
|
-
import BillingInfo from "./objects/billingInfo";
|
|
54
|
-
|
|
55
|
-
import
|
|
56
|
-
{
|
|
57
|
-
BookReturn,
|
|
58
|
-
AuthResult,
|
|
59
|
-
PaymentType,
|
|
60
|
-
DeviceOS,
|
|
61
|
-
PasswordChange,
|
|
62
|
-
R_KEYs,
|
|
63
|
-
AuthType,
|
|
64
|
-
} from "./objects/Enums";
|
|
65
|
-
|
|
66
|
-
export
|
|
67
|
-
{
|
|
68
|
-
APIController,
|
|
69
|
-
CookiesManager,
|
|
70
|
-
|
|
71
|
-
CustomerAuth,
|
|
72
|
-
CustomerPortal,
|
|
73
|
-
Payments,
|
|
74
|
-
ReservationSystem,
|
|
75
|
-
SubjectManager,
|
|
76
|
-
TeacherAuth,
|
|
77
|
-
TeacherProfiles,
|
|
78
|
-
GoogleReviews,
|
|
79
|
-
iTutoringApplicationVersion,
|
|
80
|
-
Authentication,
|
|
81
|
-
Toolkit,
|
|
82
|
-
TeacherProfileModule,
|
|
83
|
-
LectorDatabase,
|
|
84
|
-
Pricing,
|
|
85
|
-
Reviews,
|
|
86
|
-
FAQ,
|
|
87
|
-
Inventory,
|
|
88
|
-
LectorsCalendar,
|
|
89
|
-
AiAssist,
|
|
90
|
-
CustomerLessonManager,
|
|
91
|
-
WebController,
|
|
92
|
-
MarketplaceController,
|
|
93
|
-
LessonInventory,
|
|
94
|
-
Cart,
|
|
95
|
-
Checkout,
|
|
96
|
-
|
|
97
|
-
Course,
|
|
98
|
-
CourseReservation,
|
|
99
|
-
Customer,
|
|
100
|
-
Reservation,
|
|
101
|
-
Subject,
|
|
102
|
-
Teacher,
|
|
103
|
-
TeacherProfile,
|
|
104
|
-
iEvent,
|
|
105
|
-
AuthUser,
|
|
106
|
-
AttendanceEvent,
|
|
107
|
-
BillingInfo,
|
|
108
|
-
|
|
109
|
-
BookReturn,
|
|
110
|
-
AuthResult,
|
|
111
|
-
PaymentType,
|
|
112
|
-
DeviceOS,
|
|
113
|
-
PasswordChange,
|
|
114
|
-
R_KEYs,
|
|
115
|
-
AuthType
|
|
116
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
declare module 'iTutoring Application JS API';
|
|
11
|
+
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
import APIController from "./apiController";
|
|
15
|
+
import CookiesManager from "./CookiesManager";
|
|
16
|
+
|
|
17
|
+
import CustomerAuth from "./modules/CustomerAuth";
|
|
18
|
+
import CustomerPortal from "./modules/CustomerPortal";
|
|
19
|
+
import Payments from "./modules/Payments";
|
|
20
|
+
import ReservationSystem from "./modules/ReservationSystem";
|
|
21
|
+
import SubjectManager from "./modules/SubjectManager";
|
|
22
|
+
import TeacherAuth from "./modules/TeacherAuth";
|
|
23
|
+
import TeacherProfiles from "./modules/TeacherProfiles";
|
|
24
|
+
import GoogleReviews from "./modules/GoogleReviews";
|
|
25
|
+
import iTutoringApplicationVersion from "./modules/Version";
|
|
26
|
+
import TeacherProfileModule from "./modules/TeacherProfileModule";
|
|
27
|
+
import LectorDatabase from "./modules/LectorDatabase";
|
|
28
|
+
import LectorsCalendar from "./modules/LectorsCalendar";
|
|
29
|
+
import AiAssist from "./modules/AiAssist";
|
|
30
|
+
import CustomerLessonManager from "./modules/CustomerLessonManager";
|
|
31
|
+
import WebController from "./modules/WebController";
|
|
32
|
+
import MarketplaceController from "./modules/MarketplaceController";
|
|
33
|
+
import LessonInventory from "./modules/LessonInventory";
|
|
34
|
+
import Cart from "./modules/Cart";
|
|
35
|
+
import Checkout from "./modules/Checkout";
|
|
36
|
+
|
|
37
|
+
import Course from "./objects/Course";
|
|
38
|
+
import CourseReservation from "./objects/CourseReservation";
|
|
39
|
+
import Customer from "./objects/Customer";
|
|
40
|
+
import Reservation from "./objects/Reservation";
|
|
41
|
+
import Subject from "./objects/Subject";
|
|
42
|
+
import Teacher from "./objects/Teacher";
|
|
43
|
+
import TeacherProfile from "./objects/TeacherProfile";
|
|
44
|
+
import iEvent from "./objects/Event";
|
|
45
|
+
import AuthUser from "./objects/AuthUser";
|
|
46
|
+
import Authentication from "./modules/Authentication";
|
|
47
|
+
import AttendanceEvent from "./objects/AttendanceEvent";
|
|
48
|
+
import Toolkit from "./toolkit/Toolkit";
|
|
49
|
+
import Pricing from "./modules/Pricing";
|
|
50
|
+
import Reviews from "./modules/Reviews";
|
|
51
|
+
import FAQ from "./modules/FAQ";
|
|
52
|
+
import Inventory from "./modules/Inventory";
|
|
53
|
+
import BillingInfo from "./objects/billingInfo";
|
|
54
|
+
|
|
55
|
+
import
|
|
56
|
+
{
|
|
57
|
+
BookReturn,
|
|
58
|
+
AuthResult,
|
|
59
|
+
PaymentType,
|
|
60
|
+
DeviceOS,
|
|
61
|
+
PasswordChange,
|
|
62
|
+
R_KEYs,
|
|
63
|
+
AuthType,
|
|
64
|
+
} from "./objects/Enums";
|
|
65
|
+
|
|
66
|
+
export
|
|
67
|
+
{
|
|
68
|
+
APIController,
|
|
69
|
+
CookiesManager,
|
|
70
|
+
|
|
71
|
+
CustomerAuth,
|
|
72
|
+
CustomerPortal,
|
|
73
|
+
Payments,
|
|
74
|
+
ReservationSystem,
|
|
75
|
+
SubjectManager,
|
|
76
|
+
TeacherAuth,
|
|
77
|
+
TeacherProfiles,
|
|
78
|
+
GoogleReviews,
|
|
79
|
+
iTutoringApplicationVersion,
|
|
80
|
+
Authentication,
|
|
81
|
+
Toolkit,
|
|
82
|
+
TeacherProfileModule,
|
|
83
|
+
LectorDatabase,
|
|
84
|
+
Pricing,
|
|
85
|
+
Reviews,
|
|
86
|
+
FAQ,
|
|
87
|
+
Inventory,
|
|
88
|
+
LectorsCalendar,
|
|
89
|
+
AiAssist,
|
|
90
|
+
CustomerLessonManager,
|
|
91
|
+
WebController,
|
|
92
|
+
MarketplaceController,
|
|
93
|
+
LessonInventory,
|
|
94
|
+
Cart,
|
|
95
|
+
Checkout,
|
|
96
|
+
|
|
97
|
+
Course,
|
|
98
|
+
CourseReservation,
|
|
99
|
+
Customer,
|
|
100
|
+
Reservation,
|
|
101
|
+
Subject,
|
|
102
|
+
Teacher,
|
|
103
|
+
TeacherProfile,
|
|
104
|
+
iEvent,
|
|
105
|
+
AuthUser,
|
|
106
|
+
AttendanceEvent,
|
|
107
|
+
BillingInfo,
|
|
108
|
+
|
|
109
|
+
BookReturn,
|
|
110
|
+
AuthResult,
|
|
111
|
+
PaymentType,
|
|
112
|
+
DeviceOS,
|
|
113
|
+
PasswordChange,
|
|
114
|
+
R_KEYs,
|
|
115
|
+
AuthType
|
|
116
|
+
}
|
package/index.js
CHANGED
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
|
|
12
|
-
import APIController from "./apiController";
|
|
13
|
-
import CookiesManager from "./CookiesManager";
|
|
14
|
-
|
|
15
|
-
import CustomerAuth from "./modules/CustomerAuth";
|
|
16
|
-
import CustomerPortal from "./modules/CustomerPortal";
|
|
17
|
-
import Payments from "./modules/Payments";
|
|
18
|
-
import ReservationSystem from "./modules/ReservationSystem";
|
|
19
|
-
import SubjectManager from "./modules/SubjectManager";
|
|
20
|
-
import TeacherAuth from "./modules/TeacherAuth";
|
|
21
|
-
import TeacherProfiles from "./modules/TeacherProfiles";
|
|
22
|
-
import GoogleReviews from "./modules/GoogleReviews";
|
|
23
|
-
import iTutoringApplicationVersion from "./modules/Version";
|
|
24
|
-
import LectorDatabase from "./modules/LectorDatabase";
|
|
25
|
-
import LectorsCalendar from "./modules/LectorsCalendar";
|
|
26
|
-
import AiAssist from "./modules/AiAssist";
|
|
27
|
-
import CustomerLessonManager from "./modules/CustomerLessonManager";
|
|
28
|
-
import WebController from "./modules/WebController";
|
|
29
|
-
import MarketplaceController from "./modules/MarketplaceController";
|
|
30
|
-
import LessonInventory from "./modules/LessonInventory";
|
|
31
|
-
import Cart from "./modules/Cart";
|
|
32
|
-
import Checkout from "./modules/Checkout";
|
|
33
|
-
|
|
34
|
-
import Course from "./objects/Course";
|
|
35
|
-
import CourseReservation from "./objects/CourseReservation";
|
|
36
|
-
import Customer from "./objects/Customer";
|
|
37
|
-
import Reservation from "./objects/Reservation";
|
|
38
|
-
import Subject from "./objects/Subject";
|
|
39
|
-
import Teacher from "./objects/Teacher";
|
|
40
|
-
import TeacherProfile from "./objects/TeacherProfile";
|
|
41
|
-
import iEvent from "./objects/Event";
|
|
42
|
-
import AuthUser from "./objects/AuthUser";
|
|
43
|
-
import Authentication from "./modules/Authentication";
|
|
44
|
-
import AttendanceEvent from "./objects/AttendanceEvent";
|
|
45
|
-
import Toolkit from "./toolkit/Toolkit";
|
|
46
|
-
import TeacherProfileModule from "./modules/TeacherProfileModule";
|
|
47
|
-
import Pricing from "./modules/Pricing";
|
|
48
|
-
import Reviews from "./modules/Reviews";
|
|
49
|
-
import FAQ from "./modules/FAQ";
|
|
50
|
-
import Inventory from "./modules/Inventory";
|
|
51
|
-
import BillingInfo from "./objects/billingInfo";
|
|
52
|
-
|
|
53
|
-
import
|
|
54
|
-
{
|
|
55
|
-
BookReturn,
|
|
56
|
-
AuthResult,
|
|
57
|
-
PaymentType,
|
|
58
|
-
DeviceOS,
|
|
59
|
-
PasswordChange,
|
|
60
|
-
R_KEYs,
|
|
61
|
-
AuthType
|
|
62
|
-
} from "./objects/Enums";
|
|
63
|
-
|
|
64
|
-
export
|
|
65
|
-
{
|
|
66
|
-
APIController,
|
|
67
|
-
CookiesManager,
|
|
68
|
-
|
|
69
|
-
CustomerAuth,
|
|
70
|
-
CustomerPortal,
|
|
71
|
-
Payments,
|
|
72
|
-
ReservationSystem,
|
|
73
|
-
SubjectManager,
|
|
74
|
-
TeacherAuth,
|
|
75
|
-
TeacherProfiles,
|
|
76
|
-
GoogleReviews,
|
|
77
|
-
iTutoringApplicationVersion,
|
|
78
|
-
Authentication,
|
|
79
|
-
Toolkit,
|
|
80
|
-
TeacherProfileModule,
|
|
81
|
-
LectorDatabase,
|
|
82
|
-
Pricing,
|
|
83
|
-
Reviews,
|
|
84
|
-
FAQ,
|
|
85
|
-
Inventory,
|
|
86
|
-
LectorsCalendar,
|
|
87
|
-
AiAssist,
|
|
88
|
-
CustomerLessonManager,
|
|
89
|
-
WebController,
|
|
90
|
-
MarketplaceController,
|
|
91
|
-
LessonInventory,
|
|
92
|
-
Cart,
|
|
93
|
-
Checkout,
|
|
94
|
-
|
|
95
|
-
Course,
|
|
96
|
-
CourseReservation,
|
|
97
|
-
Customer,
|
|
98
|
-
Reservation,
|
|
99
|
-
Subject,
|
|
100
|
-
Teacher,
|
|
101
|
-
TeacherProfile,
|
|
102
|
-
iEvent,
|
|
103
|
-
AuthUser,
|
|
104
|
-
AttendanceEvent,
|
|
105
|
-
BillingInfo,
|
|
106
|
-
|
|
107
|
-
BookReturn,
|
|
108
|
-
AuthResult,
|
|
109
|
-
PaymentType,
|
|
110
|
-
DeviceOS,
|
|
111
|
-
PasswordChange,
|
|
112
|
-
R_KEYs,
|
|
113
|
-
AuthType
|
|
114
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
import APIController from "./apiController";
|
|
13
|
+
import CookiesManager from "./CookiesManager";
|
|
14
|
+
|
|
15
|
+
import CustomerAuth from "./modules/CustomerAuth";
|
|
16
|
+
import CustomerPortal from "./modules/CustomerPortal";
|
|
17
|
+
import Payments from "./modules/Payments";
|
|
18
|
+
import ReservationSystem from "./modules/ReservationSystem";
|
|
19
|
+
import SubjectManager from "./modules/SubjectManager";
|
|
20
|
+
import TeacherAuth from "./modules/TeacherAuth";
|
|
21
|
+
import TeacherProfiles from "./modules/TeacherProfiles";
|
|
22
|
+
import GoogleReviews from "./modules/GoogleReviews";
|
|
23
|
+
import iTutoringApplicationVersion from "./modules/Version";
|
|
24
|
+
import LectorDatabase from "./modules/LectorDatabase";
|
|
25
|
+
import LectorsCalendar from "./modules/LectorsCalendar";
|
|
26
|
+
import AiAssist from "./modules/AiAssist";
|
|
27
|
+
import CustomerLessonManager from "./modules/CustomerLessonManager";
|
|
28
|
+
import WebController from "./modules/WebController";
|
|
29
|
+
import MarketplaceController from "./modules/MarketplaceController";
|
|
30
|
+
import LessonInventory from "./modules/LessonInventory";
|
|
31
|
+
import Cart from "./modules/Cart";
|
|
32
|
+
import Checkout from "./modules/Checkout";
|
|
33
|
+
|
|
34
|
+
import Course from "./objects/Course";
|
|
35
|
+
import CourseReservation from "./objects/CourseReservation";
|
|
36
|
+
import Customer from "./objects/Customer";
|
|
37
|
+
import Reservation from "./objects/Reservation";
|
|
38
|
+
import Subject from "./objects/Subject";
|
|
39
|
+
import Teacher from "./objects/Teacher";
|
|
40
|
+
import TeacherProfile from "./objects/TeacherProfile";
|
|
41
|
+
import iEvent from "./objects/Event";
|
|
42
|
+
import AuthUser from "./objects/AuthUser";
|
|
43
|
+
import Authentication from "./modules/Authentication";
|
|
44
|
+
import AttendanceEvent from "./objects/AttendanceEvent";
|
|
45
|
+
import Toolkit from "./toolkit/Toolkit";
|
|
46
|
+
import TeacherProfileModule from "./modules/TeacherProfileModule";
|
|
47
|
+
import Pricing from "./modules/Pricing";
|
|
48
|
+
import Reviews from "./modules/Reviews";
|
|
49
|
+
import FAQ from "./modules/FAQ";
|
|
50
|
+
import Inventory from "./modules/Inventory";
|
|
51
|
+
import BillingInfo from "./objects/billingInfo";
|
|
52
|
+
|
|
53
|
+
import
|
|
54
|
+
{
|
|
55
|
+
BookReturn,
|
|
56
|
+
AuthResult,
|
|
57
|
+
PaymentType,
|
|
58
|
+
DeviceOS,
|
|
59
|
+
PasswordChange,
|
|
60
|
+
R_KEYs,
|
|
61
|
+
AuthType
|
|
62
|
+
} from "./objects/Enums";
|
|
63
|
+
|
|
64
|
+
export
|
|
65
|
+
{
|
|
66
|
+
APIController,
|
|
67
|
+
CookiesManager,
|
|
68
|
+
|
|
69
|
+
CustomerAuth,
|
|
70
|
+
CustomerPortal,
|
|
71
|
+
Payments,
|
|
72
|
+
ReservationSystem,
|
|
73
|
+
SubjectManager,
|
|
74
|
+
TeacherAuth,
|
|
75
|
+
TeacherProfiles,
|
|
76
|
+
GoogleReviews,
|
|
77
|
+
iTutoringApplicationVersion,
|
|
78
|
+
Authentication,
|
|
79
|
+
Toolkit,
|
|
80
|
+
TeacherProfileModule,
|
|
81
|
+
LectorDatabase,
|
|
82
|
+
Pricing,
|
|
83
|
+
Reviews,
|
|
84
|
+
FAQ,
|
|
85
|
+
Inventory,
|
|
86
|
+
LectorsCalendar,
|
|
87
|
+
AiAssist,
|
|
88
|
+
CustomerLessonManager,
|
|
89
|
+
WebController,
|
|
90
|
+
MarketplaceController,
|
|
91
|
+
LessonInventory,
|
|
92
|
+
Cart,
|
|
93
|
+
Checkout,
|
|
94
|
+
|
|
95
|
+
Course,
|
|
96
|
+
CourseReservation,
|
|
97
|
+
Customer,
|
|
98
|
+
Reservation,
|
|
99
|
+
Subject,
|
|
100
|
+
Teacher,
|
|
101
|
+
TeacherProfile,
|
|
102
|
+
iEvent,
|
|
103
|
+
AuthUser,
|
|
104
|
+
AttendanceEvent,
|
|
105
|
+
BillingInfo,
|
|
106
|
+
|
|
107
|
+
BookReturn,
|
|
108
|
+
AuthResult,
|
|
109
|
+
PaymentType,
|
|
110
|
+
DeviceOS,
|
|
111
|
+
PasswordChange,
|
|
112
|
+
R_KEYs,
|
|
113
|
+
AuthType
|
|
114
|
+
}
|
package/modules/AiAssist.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import APIController from "../apiController";
|
|
11
|
-
|
|
12
|
-
class AiAssist
|
|
13
|
-
{
|
|
14
|
-
static #MODULE = 'AiAssist';
|
|
15
|
-
|
|
16
|
-
static #FIX_LECTURE_REPORT = 'FixLectureReport';
|
|
17
|
-
|
|
18
|
-
static async fixLectureReport(topic, report, review, homework, language)
|
|
19
|
-
{
|
|
20
|
-
var data = await APIController.Post(this.#MODULE, this.#FIX_LECTURE_REPORT, {
|
|
21
|
-
'topic': topic,
|
|
22
|
-
'report': report,
|
|
23
|
-
'review': review,
|
|
24
|
-
'homework': homework,
|
|
25
|
-
'language': language
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 iTutoring s.r.o.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import APIController from "../apiController";
|
|
11
|
+
|
|
12
|
+
class AiAssist
|
|
13
|
+
{
|
|
14
|
+
static #MODULE = 'AiAssist';
|
|
15
|
+
|
|
16
|
+
static #FIX_LECTURE_REPORT = 'FixLectureReport';
|
|
17
|
+
|
|
18
|
+
static async fixLectureReport(topic, report, review, homework, language)
|
|
19
|
+
{
|
|
20
|
+
var data = await APIController.Post(this.#MODULE, this.#FIX_LECTURE_REPORT, {
|
|
21
|
+
'topic': topic,
|
|
22
|
+
'report': report,
|
|
23
|
+
'review': review,
|
|
24
|
+
'homework': homework,
|
|
25
|
+
'language': language
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
return data;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
32
|
export default AiAssist;
|