@itutoring/itutoring_application_js_api 1.24.0 → 1.24.1
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/index.d.ts +2 -0
- package/index.js +2 -0
- package/objects/ApiFile.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ import InquiryContactInfo from "./objects/InquiryContactInfo";
|
|
|
57
57
|
import InquiryAdditionalInfo from "./objects/InquiryAdditionalInfo";
|
|
58
58
|
import PlainInquiryInfo from "./objects/PlainInquiryInfo";
|
|
59
59
|
import RegistrationForm from "./objects/RegistrationForm";
|
|
60
|
+
import ApiFile from "./objects/ApiFile";
|
|
60
61
|
|
|
61
62
|
import { InitializeDebugConsole } from "./dist/debugConsole";
|
|
62
63
|
|
|
@@ -121,6 +122,7 @@ export
|
|
|
121
122
|
InquiryAdditionalInfo,
|
|
122
123
|
PlainInquiryInfo,
|
|
123
124
|
RegistrationForm,
|
|
125
|
+
ApiFile,
|
|
124
126
|
|
|
125
127
|
BookReturn,
|
|
126
128
|
AuthResult,
|
package/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import InquiryContactInfo from "./objects/InquiryContactInfo";
|
|
|
55
55
|
import InquiryAdditionalInfo from "./objects/InquiryAdditionalInfo";
|
|
56
56
|
import PlainInquiryInfo from "./objects/PlainInquiryInfo";
|
|
57
57
|
import RegistrationForm from "./objects/RegistrationForm";
|
|
58
|
+
import ApiFile from "./objects/ApiFile";
|
|
58
59
|
|
|
59
60
|
import { InitializeDebugConsole } from "./dist/debugConsole";
|
|
60
61
|
|
|
@@ -103,6 +104,7 @@ export
|
|
|
103
104
|
DbTags,
|
|
104
105
|
ActiveTraining,
|
|
105
106
|
Training,
|
|
107
|
+
ApiFile,
|
|
106
108
|
|
|
107
109
|
Course,
|
|
108
110
|
CourseReservation,
|
package/objects/ApiFile.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ApiFile object can be added to any json data sent to API. It will be automatically converted to FormData and sent as multipart/form-data request.
|
|
12
12
|
* Server API will map this ApiFile to Api/File object
|
|
13
13
|
*/
|
|
14
|
-
class ApiFile
|
|
14
|
+
export default class ApiFile
|
|
15
15
|
{
|
|
16
16
|
/**
|
|
17
17
|
* File object from input type=file
|