@itutoring/itutoring_application_js_api 1.18.0 → 1.19.0
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/apiController.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/modules/InquiryCheckout.js +9 -0
- package/objects/PlainInquiryInfo.js +15 -0
- package/package.json +1 -1
package/apiController.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ import Inventory from "./modules/Inventory";
|
|
|
52
52
|
import BillingInfo from "./objects/billingInfo";
|
|
53
53
|
import InquiryContactInfo from "./objects/InquiryContactInfo";
|
|
54
54
|
import InquiryAdditionalInfo from "./objects/InquiryAdditionalInfo";
|
|
55
|
+
import PlainInquiryInfo from "./objects/PlainInquiryInfo";
|
|
55
56
|
|
|
56
57
|
import
|
|
57
58
|
{
|
|
@@ -107,6 +108,7 @@ export
|
|
|
107
108
|
BillingInfo,
|
|
108
109
|
InquiryContactInfo,
|
|
109
110
|
InquiryAdditionalInfo,
|
|
111
|
+
PlainInquiryInfo,
|
|
110
112
|
|
|
111
113
|
BookReturn,
|
|
112
114
|
AuthResult,
|
package/index.js
CHANGED
|
@@ -50,6 +50,7 @@ import Inventory from "./modules/Inventory";
|
|
|
50
50
|
import BillingInfo from "./objects/billingInfo";
|
|
51
51
|
import InquiryContactInfo from "./objects/InquiryContactInfo";
|
|
52
52
|
import InquiryAdditionalInfo from "./objects/InquiryAdditionalInfo";
|
|
53
|
+
import PlainInquiryInfo from "./objects/PlainInquiryInfo";
|
|
53
54
|
|
|
54
55
|
import
|
|
55
56
|
{
|
|
@@ -105,6 +106,7 @@ export
|
|
|
105
106
|
BillingInfo,
|
|
106
107
|
InquiryContactInfo,
|
|
107
108
|
InquiryAdditionalInfo,
|
|
109
|
+
PlainInquiryInfo,
|
|
108
110
|
|
|
109
111
|
BookReturn,
|
|
110
112
|
AuthResult,
|
|
@@ -25,6 +25,15 @@ class InquiryCheckout
|
|
|
25
25
|
static #GET_SELECTED_OFFER = "GetSelectedOffer";
|
|
26
26
|
static #AGREE_OFFER = "AgreeOffer";
|
|
27
27
|
static #GET_INQUIRY_TYPE = "GetInquiryType";
|
|
28
|
+
static #SEND_PLAIN_INQUIRY = "SendPlainInquiry";
|
|
29
|
+
|
|
30
|
+
static async sendPlainInquiry(inquiryInfo = new PlainInquiryInfo())
|
|
31
|
+
{
|
|
32
|
+
var res = await APIController.Post(this.#MODULE, this.#SEND_PLAIN_INQUIRY, {
|
|
33
|
+
'inquiryInfo': JSON.stringify(inquiryInfo)
|
|
34
|
+
});
|
|
35
|
+
return res;
|
|
36
|
+
}
|
|
28
37
|
|
|
29
38
|
static async getInquiryType(inquiryId)
|
|
30
39
|
{
|