@itutoring/itutoring_application_js_api 1.22.6 → 1.22.7

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2025 iTutoring s.r.o.
2
+ * Copyright (C) 2026 iTutoring s.r.o.
3
3
  * All rights reserved.
4
4
  *
5
5
  *
@@ -16,6 +16,7 @@ class MarketplaceController
16
16
  static #GET_PZK = "GetPzk";
17
17
  static #GET_VS_EXAMS = "GetVsExams";
18
18
  static #GET_KROUZKY = "GetKrouzky";
19
+ static #GET_TABORY = "GetTabory";
19
20
  static #SEARCH = "Search";
20
21
  static #GET_PRODUCT_PAGE = "GetProductPage";
21
22
  static #GET_ORDER_DETAIL = "GetOrderDetail";
@@ -23,6 +24,15 @@ class MarketplaceController
23
24
  static #GET_LECTURE_PACKAGE_SELECT_PAGE = "GetLecturePackageSelectPage";
24
25
  static $GET_OFFER_STATUS_PAGE = "GetOfferStatusPage";
25
26
 
27
+ static async getTabory(place = null, turnus = -1)
28
+ {
29
+ var res = await APIController.Get(this.#MODULE, this.#GET_TABORY, {
30
+ 'place': place,
31
+ 'turnus': turnus
32
+ });
33
+ return JSON.parse(res);
34
+ }
35
+
26
36
  static async getOfferStatusPage(inquiryId, orderId = null)
27
37
  {
28
38
  var res = await APIController.Get(this.#MODULE, this.$GET_OFFER_STATUS_PAGE, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.22.6",
3
+ "version": "1.22.7",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",