@easyedu/js-lsm-api 1.45.0 → 1.47.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/.openapi-generator/FILES +4 -0
- package/README.md +6 -2
- package/dist/apis/ContentApi.d.ts +18 -1
- package/dist/apis/ContentApi.js +47 -0
- package/dist/apis/ModuleApi.d.ts +17 -1
- package/dist/apis/ModuleApi.js +43 -0
- package/dist/esm/apis/ContentApi.d.ts +18 -1
- package/dist/esm/apis/ContentApi.js +48 -1
- package/dist/esm/apis/ModuleApi.d.ts +17 -1
- package/dist/esm/apis/ModuleApi.js +44 -1
- package/dist/esm/models/PostContentQuiz.d.ts +6 -0
- package/dist/esm/models/PostContentQuiz.js +2 -0
- package/dist/esm/models/PostContentUpload.d.ts +6 -0
- package/dist/esm/models/PostContentUpload.js +2 -0
- package/dist/esm/models/PostCourse.d.ts +0 -6
- package/dist/esm/models/PostCourse.js +0 -4
- package/dist/esm/models/PostModule.d.ts +1 -1
- package/dist/esm/models/PostModule.js +1 -3
- package/dist/esm/models/PutContentReorder.d.ts +32 -0
- package/dist/esm/models/PutContentReorder.js +43 -0
- package/dist/esm/models/PutCourse.d.ts +0 -6
- package/dist/esm/models/PutCourse.js +0 -2
- package/dist/esm/models/PutModule.d.ts +0 -6
- package/dist/esm/models/PutModule.js +0 -2
- package/dist/esm/models/PutModuleReorder.d.ts +32 -0
- package/dist/esm/models/PutModuleReorder.js +43 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/PostContentQuiz.d.ts +6 -0
- package/dist/models/PostContentQuiz.js +2 -0
- package/dist/models/PostContentUpload.d.ts +6 -0
- package/dist/models/PostContentUpload.js +2 -0
- package/dist/models/PostCourse.d.ts +0 -6
- package/dist/models/PostCourse.js +0 -4
- package/dist/models/PostModule.d.ts +1 -1
- package/dist/models/PostModule.js +1 -3
- package/dist/models/PutContentReorder.d.ts +32 -0
- package/dist/models/PutContentReorder.js +50 -0
- package/dist/models/PutCourse.d.ts +0 -6
- package/dist/models/PutCourse.js +0 -2
- package/dist/models/PutModule.d.ts +0 -6
- package/dist/models/PutModule.js +0 -2
- package/dist/models/PutModuleReorder.d.ts +32 -0
- package/dist/models/PutModuleReorder.js +50 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/ContentApi.md +72 -0
- package/docs/ModuleApi.md +69 -0
- package/docs/PostContentQuiz.md +2 -0
- package/docs/PostContentUpload.md +2 -0
- package/docs/PostCourse.md +0 -2
- package/docs/PutContentReorder.md +34 -0
- package/docs/PutCourse.md +0 -2
- package/docs/PutModule.md +0 -2
- package/docs/PutModuleReorder.md +34 -0
- package/package.json +1 -1
- package/src/apis/ContentApi.ts +71 -0
- package/src/apis/ModuleApi.ts +62 -0
- package/src/models/PostContentQuiz.ts +8 -0
- package/src/models/PostContentUpload.ts +8 -0
- package/src/models/PostCourse.ts +0 -9
- package/src/models/PostModule.ts +2 -3
- package/src/models/PutContentReorder.ts +66 -0
- package/src/models/PutCourse.ts +0 -8
- package/src/models/PutModule.ts +0 -8
- package/src/models/PutModuleReorder.ts +66 -0
- package/src/models/index.ts +2 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PutModuleReorder
|
|
20
|
+
*/
|
|
21
|
+
export interface PutModuleReorder {
|
|
22
|
+
/**
|
|
23
|
+
* Ordered list of module IDs
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof PutModuleReorder
|
|
26
|
+
*/
|
|
27
|
+
ids: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PutModuleReorder interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPutModuleReorder(value: object): value is PutModuleReorder {
|
|
34
|
+
if (!('ids' in value) || value['ids'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function PutModuleReorderFromJSON(json: any): PutModuleReorder {
|
|
39
|
+
return PutModuleReorderFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function PutModuleReorderFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutModuleReorder {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'ids': json['ids'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function PutModuleReorderToJSON(json: any): PutModuleReorder {
|
|
53
|
+
return PutModuleReorderToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function PutModuleReorderToJSONTyped(value?: PutModuleReorder | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'ids': value['ids'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -195,10 +195,12 @@ export * from './PostVerifyManifest';
|
|
|
195
195
|
export * from './PostVerifyManifestItemsInner';
|
|
196
196
|
export * from './PostVerifyManifestResourcesInner';
|
|
197
197
|
export * from './PutContent';
|
|
198
|
+
export * from './PutContentReorder';
|
|
198
199
|
export * from './PutContentVersion';
|
|
199
200
|
export * from './PutCourse';
|
|
200
201
|
export * from './PutCourseEnrollment';
|
|
201
202
|
export * from './PutModule';
|
|
203
|
+
export * from './PutModuleReorder';
|
|
202
204
|
export * from './PutPortalBranding';
|
|
203
205
|
export * from './PutQuestion';
|
|
204
206
|
export * from './PutQuestionAnswerChoicesInner';
|