@itutoring/itutoring_application_js_api 1.15.0 → 1.15.2

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,15 @@ class Checkout
18
18
  static #GET_TRANSACTION_STATUS = "GetTransactionStatus";
19
19
  static #UPDATE_PAYMENT_STATUS_EXTERNAL = "UpdatePaymentStatusExternal";
20
20
  static #GET_BILLING_INFO = "GetBillingInfo";
21
+ static #CONVERT_ORDER_VARIABLE_SYMBOL_TO_ID = "ConvertOrderVariableSymbolToId";
22
+
23
+ static async convertOrderVariableSymbolToId(variableSymbol)
24
+ {
25
+ var res = await APIController.Get(this.#MODULE, this.#CONVERT_ORDER_VARIABLE_SYMBOL_TO_ID, {
26
+ "variableSymbol": variableSymbol
27
+ });
28
+ return res;
29
+ }
21
30
 
22
31
  static async getBillingInfo()
23
32
  {
package/modules/Models.js CHANGED
@@ -51,6 +51,16 @@ class Models
51
51
  static #GET_LECTORS_FOR_INQUIRY = 'GetLectorsForInquiry';
52
52
  static #GENERATE_LECTURE_REPORT = 'GenerateLectureReport';
53
53
  static #GET_LECTURE_REPORT = 'GetLectureReport';
54
+ static #SEND_INQUIRY_ACCEPT_LINK = 'SendInquiryAcceptLink';
55
+
56
+ static async sendInquiryAcceptLink(inquiryId)
57
+ {
58
+ var res = await APIController.Post(this.#MODULE, this.#SEND_INQUIRY_ACCEPT_LINK, {
59
+ 'inquiryId': inquiryId,
60
+ });
61
+
62
+ return res;
63
+ }
54
64
 
55
65
  static async getLectureReport(id)
56
66
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",