@itutoring/itutoring_application_js_api 1.20.9 → 1.20.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.
package/index.d.ts CHANGED
@@ -32,6 +32,7 @@ import LessonInventory from "./modules/LessonInventory";
32
32
  import Cart from "./modules/Cart";
33
33
  import Checkout from "./modules/Checkout";
34
34
  import InquiryCheckout from "./modules/InquiryCheckout";
35
+ import DbTags from "./modules/DbTags";
35
36
 
36
37
  import Course from "./objects/Course";
37
38
  import CourseReservation from "./objects/CourseReservation";
@@ -98,6 +99,7 @@ export
98
99
  Cart,
99
100
  Checkout,
100
101
  InquiryCheckout,
102
+ DbTags,
101
103
 
102
104
  Course,
103
105
  CourseReservation,
package/index.js CHANGED
@@ -29,6 +29,7 @@ import LessonInventory from "./modules/LessonInventory";
29
29
  import Cart from "./modules/Cart";
30
30
  import Checkout from "./modules/Checkout";
31
31
  import InquiryCheckout from "./modules/InquiryCheckout";
32
+ import DbTags from "./modules/DbTags";
32
33
 
33
34
  import Course from "./objects/Course";
34
35
  import CourseReservation from "./objects/CourseReservation";
@@ -96,6 +97,7 @@ export
96
97
  Cart,
97
98
  Checkout,
98
99
  InquiryCheckout,
100
+ DbTags,
99
101
 
100
102
  Course,
101
103
  CourseReservation,
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (C) 2025 iTutoring s.r.o.
3
+ * All rights reserved.
4
+ *
5
+ *
6
+ */
7
+
8
+ class DbTags
9
+ {
10
+ static #MODULE = "DbTags";
11
+
12
+ static #GET_AVAILABLE_TAGS = "GetAvailableTags";
13
+
14
+ /**
15
+ * @returns Array of available database tags.
16
+ */
17
+ static async getAvailableTags()
18
+ {
19
+ var data = await APIController.Get(this.#MODULE, this.#GET_AVAILABLE_TAGS, {}, true);
20
+ return data;
21
+ }
22
+ }
23
+
24
+ export default DbTags;
@@ -29,6 +29,10 @@ class SubjectManager
29
29
  static #SUBJECTS_CACHE_KEY = "json_subjects_c_k";
30
30
  static #COURSES_CACHE_KEY = "json_courses_c_k";
31
31
 
32
+ /**
33
+ * @deprecated
34
+ * @returns
35
+ */
32
36
  static async getAllAvailableLocations()
33
37
  {
34
38
  var data = await APIController.Get(this.#MODULE, this.#GET_ALL_AVAILABLE_LOCATIONS, {}, true);
@@ -37,7 +41,7 @@ class SubjectManager
37
41
  }
38
42
 
39
43
  /**
40
- *
44
+ * @deprecated
41
45
  * @returns Array (Subject[id]) of all available subjects as array of Subject objects. Key is id of subject.
42
46
  */
43
47
  static async GetAllAvailableSubjects()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.20.9",
3
+ "version": "1.20.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",