@itutoring/itutoring_application_js_api 1.22.7 → 1.22.9
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.
|
@@ -24,7 +24,7 @@ class MarketplaceController
|
|
|
24
24
|
static #GET_LECTURE_PACKAGE_SELECT_PAGE = "GetLecturePackageSelectPage";
|
|
25
25
|
static $GET_OFFER_STATUS_PAGE = "GetOfferStatusPage";
|
|
26
26
|
|
|
27
|
-
static async getTabory(place = null, turnus =
|
|
27
|
+
static async getTabory(place = null, turnus = null)
|
|
28
28
|
{
|
|
29
29
|
var res = await APIController.Get(this.#MODULE, this.#GET_TABORY, {
|
|
30
30
|
'place': place,
|
|
@@ -63,11 +63,12 @@ class MarketplaceController
|
|
|
63
63
|
return JSON.parse(res);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
static async getProductPage(sku, instanceId = null)
|
|
66
|
+
static async getProductPage(sku, instanceId = null, similarTemplatesOnly = false)
|
|
67
67
|
{
|
|
68
68
|
var res = await APIController.Get(this.#MODULE, this.#GET_PRODUCT_PAGE, {
|
|
69
69
|
'sku': sku,
|
|
70
|
-
'instanceId': instanceId
|
|
70
|
+
'instanceId': instanceId,
|
|
71
|
+
'similarTemplatesOnly': similarTemplatesOnly
|
|
71
72
|
});
|
|
72
73
|
return JSON.parse(res);
|
|
73
74
|
}
|