@easyedu/js-lsm-api 1.19.0 → 1.20.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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @easyedu/js-lsm-api@1.
|
|
1
|
+
## @easyedu/js-lsm-api@1.20.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @easyedu/js-lsm-api@1.
|
|
39
|
+
npm install @easyedu/js-lsm-api@1.20.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -89,10 +89,12 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
89
89
|
postContentProcess(requestParameters: PostContentProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
90
90
|
/**
|
|
91
91
|
* Create a new quiz content
|
|
92
|
+
* @deprecated
|
|
92
93
|
*/
|
|
93
94
|
postContentQuizRaw(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContent>>;
|
|
94
95
|
/**
|
|
95
96
|
* Create a new quiz content
|
|
97
|
+
* @deprecated
|
|
96
98
|
*/
|
|
97
99
|
postContentQuiz(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
98
100
|
/**
|
package/dist/apis/ContentApi.js
CHANGED
|
@@ -164,6 +164,7 @@ class ContentApi extends runtime.BaseAPI {
|
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
166
|
* Create a new quiz content
|
|
167
|
+
* @deprecated
|
|
167
168
|
*/
|
|
168
169
|
postContentQuizRaw(requestParameters, initOverrides) {
|
|
169
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -191,6 +192,7 @@ class ContentApi extends runtime.BaseAPI {
|
|
|
191
192
|
}
|
|
192
193
|
/**
|
|
193
194
|
* Create a new quiz content
|
|
195
|
+
* @deprecated
|
|
194
196
|
*/
|
|
195
197
|
postContentQuiz(requestParameters, initOverrides) {
|
|
196
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -89,10 +89,12 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
89
89
|
postContentProcess(requestParameters: PostContentProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
90
90
|
/**
|
|
91
91
|
* Create a new quiz content
|
|
92
|
+
* @deprecated
|
|
92
93
|
*/
|
|
93
94
|
postContentQuizRaw(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContent>>;
|
|
94
95
|
/**
|
|
95
96
|
* Create a new quiz content
|
|
97
|
+
* @deprecated
|
|
96
98
|
*/
|
|
97
99
|
postContentQuiz(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
98
100
|
/**
|
|
@@ -161,6 +161,7 @@ export class ContentApi extends runtime.BaseAPI {
|
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* Create a new quiz content
|
|
164
|
+
* @deprecated
|
|
164
165
|
*/
|
|
165
166
|
postContentQuizRaw(requestParameters, initOverrides) {
|
|
166
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -188,6 +189,7 @@ export class ContentApi extends runtime.BaseAPI {
|
|
|
188
189
|
}
|
|
189
190
|
/**
|
|
190
191
|
* Create a new quiz content
|
|
192
|
+
* @deprecated
|
|
191
193
|
*/
|
|
192
194
|
postContentQuiz(requestParameters, initOverrides) {
|
|
193
195
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
package/src/apis/ContentApi.ts
CHANGED
|
@@ -279,6 +279,7 @@ export class ContentApi extends runtime.BaseAPI {
|
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* Create a new quiz content
|
|
282
|
+
* @deprecated
|
|
282
283
|
*/
|
|
283
284
|
async postContentQuizRaw(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContent>> {
|
|
284
285
|
if (requestParameters['moduleId'] == null) {
|
|
@@ -321,6 +322,7 @@ export class ContentApi extends runtime.BaseAPI {
|
|
|
321
322
|
|
|
322
323
|
/**
|
|
323
324
|
* Create a new quiz content
|
|
325
|
+
* @deprecated
|
|
324
326
|
*/
|
|
325
327
|
async postContentQuiz(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent> {
|
|
326
328
|
const response = await this.postContentQuizRaw(requestParameters, initOverrides);
|