@itutoring/itutoring_application_js_api 1.28.0 → 1.28.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.
package/modules/Accounting.js
CHANGED
|
@@ -14,7 +14,6 @@ class Accounting
|
|
|
14
14
|
static #ADD_TAX_SALE_INTERVAL_TO_LECTOR = "AddTaxSaleIntervalToLector";
|
|
15
15
|
static #REMOVE_TAX_SALE_INTERVAL_FROM_LECTOR = "RemoveTaxSaleIntervalFromLector";
|
|
16
16
|
static #UPDATE_TAX_SALE_INTERVAL_FOR_LECTOR = "UpdateTaxSaleIntervalForLector";
|
|
17
|
-
static #GET_TAX_SALE_INTERVALS_FOR_LECTOR = "GetTaxSaleIntervalsForLector";
|
|
18
17
|
|
|
19
18
|
static async addTaxSaleIntervalToLector(lectorId, start, end = 0, sale = 15000)
|
|
20
19
|
{
|
|
@@ -44,14 +43,6 @@ class Accounting
|
|
|
44
43
|
});
|
|
45
44
|
return res;
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
static async getTaxSaleIntervalsForLector(lectorId)
|
|
49
|
-
{
|
|
50
|
-
var res = await APIController.Get(this.#MODULE, this.#GET_TAX_SALE_INTERVALS_FOR_LECTOR, {
|
|
51
|
-
lectorId: lectorId
|
|
52
|
-
});
|
|
53
|
-
return res;
|
|
54
|
-
}
|
|
55
46
|
}
|
|
56
47
|
|
|
57
48
|
export default Accounting;
|
|
@@ -27,6 +27,15 @@ class InquiryCheckout
|
|
|
27
27
|
static #AGREE_OFFER = "AgreeOffer";
|
|
28
28
|
static #GET_INQUIRY_TYPE = "GetInquiryType";
|
|
29
29
|
static #SEND_PLAIN_INQUIRY = "SendPlainInquiry";
|
|
30
|
+
static #GET_INQUIRY_DETAILS = "GetInquiryDetails";
|
|
31
|
+
|
|
32
|
+
static async getInquiryDetails(inquiryId)
|
|
33
|
+
{
|
|
34
|
+
var res = await APIController.Get(this.#MODULE, this.#GET_INQUIRY_DETAILS, {
|
|
35
|
+
'inquiryId': inquiryId
|
|
36
|
+
});
|
|
37
|
+
return res;
|
|
38
|
+
}
|
|
30
39
|
|
|
31
40
|
static async sendPlainInquiry(inquiryInfo = new PlainInquiryInfo())
|
|
32
41
|
{
|