@itutoring/itutoring_application_js_api 1.29.2 → 1.30.0
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/index.d.ts +2 -0
- package/index.js +2 -0
- package/modules/Legal.js +25 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ import Hr from "./modules/Hr";
|
|
|
39
39
|
import SaleEvents from "./modules/SaleEvents";
|
|
40
40
|
import Accounting from "./modules/Accounting";
|
|
41
41
|
import WebConfig from "./modules/WebConfig";
|
|
42
|
+
import Legal from "./modules/Legal";
|
|
42
43
|
|
|
43
44
|
import Course from "./objects/Course";
|
|
44
45
|
import CourseReservation from "./objects/CourseReservation";
|
|
@@ -115,6 +116,7 @@ export
|
|
|
115
116
|
SaleEvents,
|
|
116
117
|
Accounting,
|
|
117
118
|
WebConfig,
|
|
119
|
+
Legal,
|
|
118
120
|
|
|
119
121
|
Course,
|
|
120
122
|
CourseReservation,
|
package/index.js
CHANGED
|
@@ -35,6 +35,7 @@ import Hr from "./modules/Hr";
|
|
|
35
35
|
import SaleEvents from "./modules/SaleEvents";
|
|
36
36
|
import Accounting from "./modules/Accounting";
|
|
37
37
|
import WebConfig from "./modules/WebConfig";
|
|
38
|
+
import Legal from "./modules/Legal";
|
|
38
39
|
|
|
39
40
|
import Course from "./objects/Course";
|
|
40
41
|
import CourseReservation from "./objects/CourseReservation";
|
|
@@ -114,6 +115,7 @@ export
|
|
|
114
115
|
SaleEvents,
|
|
115
116
|
Accounting,
|
|
116
117
|
WebConfig,
|
|
118
|
+
Legal,
|
|
117
119
|
|
|
118
120
|
Course,
|
|
119
121
|
CourseReservation,
|
package/modules/Legal.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2026 iTutoring s.r.o.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import APIController from "../apiController";
|
|
9
|
+
|
|
10
|
+
class Legal
|
|
11
|
+
{
|
|
12
|
+
static #MODULE = "Legal";
|
|
13
|
+
|
|
14
|
+
static #GET_CONSENT_SNAPSHOT = "GetConsentSnapshot";
|
|
15
|
+
|
|
16
|
+
static async getConsentSnapshot(consentId)
|
|
17
|
+
{
|
|
18
|
+
var res = await APIController.Get(this.#MODULE, this.#GET_CONSENT_SNAPSHOT, {
|
|
19
|
+
"consentId": consentId
|
|
20
|
+
});
|
|
21
|
+
return JSON.parse(res);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default Legal;
|