@itutoring/itutoring_application_js_api 1.10.1 → 1.10.3

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.
@@ -18,6 +18,16 @@ class CustomerAuth
18
18
  // All method names
19
19
  static #SIGN_IN = "SignIn";
20
20
  static #RESEND_CONFIRMATION_EMAIL = 'ResendConfirmationEmail';
21
+ static #REQUEST_PASSWORD_CHANGE = 'RequestPasswordChange';
22
+
23
+ static async RequestPasswordChange(email)
24
+ {
25
+ var result = await APIController.Get(this.#MODULE, this.#REQUEST_PASSWORD_CHANGE, {
26
+ 'email': email
27
+ });
28
+
29
+ return result;
30
+ }
21
31
 
22
32
  static async ResendConfirmationEmail(email)
23
33
  {
@@ -17,6 +17,16 @@ class MarketplaceController
17
17
  static #GET_VS_EXAMS = "GetVsExams";
18
18
  static #GET_KROUZKY = "GetKrouzky";
19
19
  static #SEARCH = "Search";
20
+ static #GET_PRODUCT_PAGE = "GetProductPage";
21
+
22
+ static async getProductPage(sku, instanceId = null)
23
+ {
24
+ var res = await APIController.Get(this.#MODULE, this.#GET_PRODUCT_PAGE, {
25
+ 'sku': sku,
26
+ 'instanceId': instanceId
27
+ });
28
+ return JSON.parse(res);
29
+ }
20
30
 
21
31
  static async getHome()
22
32
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",