@itutoring/itutoring_application_js_api 1.5.20 → 1.5.21

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.
@@ -36,6 +36,13 @@ class ReservationSystem
36
36
  static #GET_SALE_AMOUNTS = "GetSaleAmounts";
37
37
  static #GET_CART_ITEMS_COUNT = "GetCartItemsCount";
38
38
  static #REMOVE_ITEM_FROM_CART = "RemoveItemFromCart";
39
+ static #GET_AVAILABLE_STATES = "GetAvailableStates";
40
+
41
+ static async getAvailableStates()
42
+ {
43
+ var states = await APIController.Get(this.#MODULE, this.#GET_AVAILABLE_STATES);
44
+ return states;
45
+ }
39
46
 
40
47
  static async removeItemFromCart(itemSku)
41
48
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.5.20",
3
+ "version": "1.5.21",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",