@easyedu/js-lsm-api 1.110.0 → 1.112.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 +42 -0
- package/README.md +33 -2
- package/dist/apis/LearnerExperienceApi.d.ts +153 -0
- package/dist/apis/LearnerExperienceApi.js +401 -0
- package/dist/apis/QuestionImportApi.d.ts +51 -0
- package/dist/apis/QuestionImportApi.js +135 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/LearnerExperienceApi.d.ts +153 -0
- package/dist/esm/apis/LearnerExperienceApi.js +397 -0
- package/dist/esm/apis/QuestionImportApi.d.ts +51 -0
- package/dist/esm/apis/QuestionImportApi.js +131 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/GetEffectiveLearnerExperience.d.ts +62 -0
- package/dist/esm/models/GetEffectiveLearnerExperience.js +62 -0
- package/dist/esm/models/GetLearnerDashboard.d.ts +47 -0
- package/dist/esm/models/GetLearnerDashboard.js +54 -0
- package/dist/esm/models/GetLearnerDashboardCourseList.d.ts +39 -0
- package/dist/esm/models/GetLearnerDashboardCourseList.js +48 -0
- package/dist/esm/models/GetLearnerDashboardSummary.d.ts +56 -0
- package/dist/esm/models/GetLearnerDashboardSummary.js +59 -0
- package/dist/esm/models/GetLearnerExperience.d.ts +67 -0
- package/dist/esm/models/GetLearnerExperience.js +65 -0
- package/dist/esm/models/GetLearnerExperiencePreview.d.ts +40 -0
- package/dist/esm/models/GetLearnerExperiencePreview.js +47 -0
- package/dist/esm/models/GetQuestion.d.ts +7 -0
- package/dist/esm/models/GetQuestion.js +3 -0
- package/dist/esm/models/LearnerExperienceVersion.d.ts +86 -0
- package/dist/esm/models/LearnerExperienceVersion.js +76 -0
- package/dist/esm/models/PostLearnerExperiencePreview.d.ts +40 -0
- package/dist/esm/models/PostLearnerExperiencePreview.js +45 -0
- package/dist/esm/models/PostQuestionImportCommit.d.ts +58 -0
- package/dist/esm/models/PostQuestionImportCommit.js +59 -0
- package/dist/esm/models/PostQuestionImportCommitItem.d.ts +72 -0
- package/dist/esm/models/PostQuestionImportCommitItem.js +66 -0
- package/dist/esm/models/PostQuestionImportCommitResponse.d.ts +51 -0
- package/dist/esm/models/PostQuestionImportCommitResponse.js +56 -0
- package/dist/esm/models/PostQuestionImportParseResponse.d.ts +71 -0
- package/dist/esm/models/PostQuestionImportParseResponse.js +70 -0
- package/dist/esm/models/PutLearnerExperienceDraft.d.ts +40 -0
- package/dist/esm/models/PutLearnerExperienceDraft.js +45 -0
- package/dist/esm/models/QuestionImportCommitResult.d.ts +53 -0
- package/dist/esm/models/QuestionImportCommitResult.js +57 -0
- package/dist/esm/models/QuestionImportDraft.d.ts +76 -0
- package/dist/esm/models/QuestionImportDraft.js +69 -0
- package/dist/esm/models/QuestionImportDuplicate.d.ts +66 -0
- package/dist/esm/models/QuestionImportDuplicate.js +62 -0
- package/dist/esm/models/QuestionImportPreviewImage.d.ts +84 -0
- package/dist/esm/models/QuestionImportPreviewImage.js +76 -0
- package/dist/esm/models/QuestionImportSource.d.ts +56 -0
- package/dist/esm/models/QuestionImportSource.js +57 -0
- package/dist/esm/models/QuestionImportSourceSummary.d.ts +50 -0
- package/dist/esm/models/QuestionImportSourceSummary.js +53 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/models/GetEffectiveLearnerExperience.d.ts +62 -0
- package/dist/models/GetEffectiveLearnerExperience.js +70 -0
- package/dist/models/GetLearnerDashboard.d.ts +47 -0
- package/dist/models/GetLearnerDashboard.js +61 -0
- package/dist/models/GetLearnerDashboardCourseList.d.ts +39 -0
- package/dist/models/GetLearnerDashboardCourseList.js +55 -0
- package/dist/models/GetLearnerDashboardSummary.d.ts +56 -0
- package/dist/models/GetLearnerDashboardSummary.js +66 -0
- package/dist/models/GetLearnerExperience.d.ts +67 -0
- package/dist/models/GetLearnerExperience.js +73 -0
- package/dist/models/GetLearnerExperiencePreview.d.ts +40 -0
- package/dist/models/GetLearnerExperiencePreview.js +54 -0
- package/dist/models/GetQuestion.d.ts +7 -0
- package/dist/models/GetQuestion.js +3 -0
- package/dist/models/LearnerExperienceVersion.d.ts +86 -0
- package/dist/models/LearnerExperienceVersion.js +84 -0
- package/dist/models/PostLearnerExperiencePreview.d.ts +40 -0
- package/dist/models/PostLearnerExperiencePreview.js +52 -0
- package/dist/models/PostQuestionImportCommit.d.ts +58 -0
- package/dist/models/PostQuestionImportCommit.js +66 -0
- package/dist/models/PostQuestionImportCommitItem.d.ts +72 -0
- package/dist/models/PostQuestionImportCommitItem.js +74 -0
- package/dist/models/PostQuestionImportCommitResponse.d.ts +51 -0
- package/dist/models/PostQuestionImportCommitResponse.js +63 -0
- package/dist/models/PostQuestionImportParseResponse.d.ts +71 -0
- package/dist/models/PostQuestionImportParseResponse.js +77 -0
- package/dist/models/PutLearnerExperienceDraft.d.ts +40 -0
- package/dist/models/PutLearnerExperienceDraft.js +52 -0
- package/dist/models/QuestionImportCommitResult.d.ts +53 -0
- package/dist/models/QuestionImportCommitResult.js +65 -0
- package/dist/models/QuestionImportDraft.d.ts +76 -0
- package/dist/models/QuestionImportDraft.js +76 -0
- package/dist/models/QuestionImportDuplicate.d.ts +66 -0
- package/dist/models/QuestionImportDuplicate.js +70 -0
- package/dist/models/QuestionImportPreviewImage.d.ts +84 -0
- package/dist/models/QuestionImportPreviewImage.js +84 -0
- package/dist/models/QuestionImportSource.d.ts +56 -0
- package/dist/models/QuestionImportSource.js +64 -0
- package/dist/models/QuestionImportSourceSummary.d.ts +50 -0
- package/dist/models/QuestionImportSourceSummary.js +60 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/docs/GetEffectiveLearnerExperience.md +40 -0
- package/docs/GetLearnerDashboard.md +38 -0
- package/docs/GetLearnerDashboardCourseList.md +36 -0
- package/docs/GetLearnerDashboardSummary.md +42 -0
- package/docs/GetLearnerExperience.md +42 -0
- package/docs/GetLearnerExperiencePreview.md +36 -0
- package/docs/GetQuestion.md +2 -0
- package/docs/LearnerExperienceApi.md +622 -0
- package/docs/LearnerExperienceVersion.md +48 -0
- package/docs/PostLearnerExperiencePreview.md +36 -0
- package/docs/PostQuestionImportCommit.md +42 -0
- package/docs/PostQuestionImportCommitItem.md +44 -0
- package/docs/PostQuestionImportCommitResponse.md +40 -0
- package/docs/PostQuestionImportParseResponse.md +46 -0
- package/docs/PutLearnerExperienceDraft.md +36 -0
- package/docs/QuestionImportApi.md +149 -0
- package/docs/QuestionImportCommitResult.md +38 -0
- package/docs/QuestionImportDraft.md +48 -0
- package/docs/QuestionImportDuplicate.md +42 -0
- package/docs/QuestionImportPreviewImage.md +48 -0
- package/docs/QuestionImportSource.md +42 -0
- package/docs/QuestionImportSourceSummary.md +40 -0
- package/package.json +1 -1
- package/src/apis/LearnerExperienceApi.ts +465 -0
- package/src/apis/QuestionImportApi.ts +162 -0
- package/src/apis/index.ts +2 -0
- package/src/models/GetEffectiveLearnerExperience.ts +105 -0
- package/src/models/GetLearnerDashboard.ts +106 -0
- package/src/models/GetLearnerDashboardCourseList.ts +83 -0
- package/src/models/GetLearnerDashboardSummary.ts +102 -0
- package/src/models/GetLearnerExperience.ts +121 -0
- package/src/models/GetLearnerExperiencePreview.ts +75 -0
- package/src/models/GetQuestion.ts +15 -0
- package/src/models/LearnerExperienceVersion.ts +140 -0
- package/src/models/PostLearnerExperiencePreview.ts +74 -0
- package/src/models/PostQuestionImportCommit.ts +116 -0
- package/src/models/PostQuestionImportCommitItem.ts +128 -0
- package/src/models/PostQuestionImportCommitResponse.ts +101 -0
- package/src/models/PostQuestionImportParseResponse.ts +142 -0
- package/src/models/PutLearnerExperienceDraft.ts +74 -0
- package/src/models/QuestionImportCommitResult.ts +95 -0
- package/src/models/QuestionImportDraft.ts +142 -0
- package/src/models/QuestionImportDuplicate.ts +112 -0
- package/src/models/QuestionImportPreviewImage.ts +140 -0
- package/src/models/QuestionImportSource.ts +101 -0
- package/src/models/QuestionImportSourceSummary.ts +92 -0
- package/src/models/index.ts +19 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QuestionImportDuplicate
|
|
16
|
+
*/
|
|
17
|
+
export interface QuestionImportDuplicate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {QuestionImportDuplicateStatusEnum}
|
|
21
|
+
* @memberof QuestionImportDuplicate
|
|
22
|
+
*/
|
|
23
|
+
status: QuestionImportDuplicateStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuestionImportDuplicate
|
|
28
|
+
*/
|
|
29
|
+
matchedQuestionId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QuestionImportDuplicate
|
|
34
|
+
*/
|
|
35
|
+
matchedDraftId?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof QuestionImportDuplicate
|
|
40
|
+
*/
|
|
41
|
+
matchedQuestionText?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof QuestionImportDuplicate
|
|
46
|
+
*/
|
|
47
|
+
similarity: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const QuestionImportDuplicateStatusEnum: {
|
|
53
|
+
readonly New: "new";
|
|
54
|
+
readonly Exact: "exact";
|
|
55
|
+
readonly Possible: "possible";
|
|
56
|
+
readonly WithinUpload: "within_upload";
|
|
57
|
+
};
|
|
58
|
+
export type QuestionImportDuplicateStatusEnum = typeof QuestionImportDuplicateStatusEnum[keyof typeof QuestionImportDuplicateStatusEnum];
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the QuestionImportDuplicate interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfQuestionImportDuplicate(value: object): value is QuestionImportDuplicate;
|
|
63
|
+
export declare function QuestionImportDuplicateFromJSON(json: any): QuestionImportDuplicate;
|
|
64
|
+
export declare function QuestionImportDuplicateFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionImportDuplicate;
|
|
65
|
+
export declare function QuestionImportDuplicateToJSON(json: any): QuestionImportDuplicate;
|
|
66
|
+
export declare function QuestionImportDuplicateToJSONTyped(value?: QuestionImportDuplicate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const QuestionImportDuplicateStatusEnum = {
|
|
18
|
+
New: 'new',
|
|
19
|
+
Exact: 'exact',
|
|
20
|
+
Possible: 'possible',
|
|
21
|
+
WithinUpload: 'within_upload'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the QuestionImportDuplicate interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfQuestionImportDuplicate(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('similarity' in value) || value['similarity'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function QuestionImportDuplicateFromJSON(json) {
|
|
34
|
+
return QuestionImportDuplicateFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function QuestionImportDuplicateFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': json['status'],
|
|
42
|
+
'matchedQuestionId': json['matched_question_id'] == null ? undefined : json['matched_question_id'],
|
|
43
|
+
'matchedDraftId': json['matched_draft_id'] == null ? undefined : json['matched_draft_id'],
|
|
44
|
+
'matchedQuestionText': json['matched_question_text'] == null ? undefined : json['matched_question_text'],
|
|
45
|
+
'similarity': json['similarity'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function QuestionImportDuplicateToJSON(json) {
|
|
49
|
+
return QuestionImportDuplicateToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function QuestionImportDuplicateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'status': value['status'],
|
|
57
|
+
'matched_question_id': value['matchedQuestionId'],
|
|
58
|
+
'matched_draft_id': value['matchedDraftId'],
|
|
59
|
+
'matched_question_text': value['matchedQuestionText'],
|
|
60
|
+
'similarity': value['similarity'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QuestionImportPreviewImage
|
|
16
|
+
*/
|
|
17
|
+
export interface QuestionImportPreviewImage {
|
|
18
|
+
/**
|
|
19
|
+
* Import-scoped image identifier used by source: image placeholders
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QuestionImportPreviewImage
|
|
22
|
+
*/
|
|
23
|
+
sourceId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuestionImportPreviewImage
|
|
28
|
+
*/
|
|
29
|
+
filename: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {QuestionImportPreviewImageMimeTypeEnum}
|
|
33
|
+
* @memberof QuestionImportPreviewImage
|
|
34
|
+
*/
|
|
35
|
+
mimeType: QuestionImportPreviewImageMimeTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof QuestionImportPreviewImage
|
|
40
|
+
*/
|
|
41
|
+
byteSize: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof QuestionImportPreviewImage
|
|
46
|
+
*/
|
|
47
|
+
width?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof QuestionImportPreviewImage
|
|
52
|
+
*/
|
|
53
|
+
height?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof QuestionImportPreviewImage
|
|
58
|
+
*/
|
|
59
|
+
sha256: string;
|
|
60
|
+
/**
|
|
61
|
+
* Base64 image bytes for stateless review; reposted unchanged when committing
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof QuestionImportPreviewImage
|
|
64
|
+
*/
|
|
65
|
+
dataBase64: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const QuestionImportPreviewImageMimeTypeEnum: {
|
|
71
|
+
readonly ImagePng: "image/png";
|
|
72
|
+
readonly ImageJpeg: "image/jpeg";
|
|
73
|
+
readonly ImageWebp: "image/webp";
|
|
74
|
+
readonly ImageGif: "image/gif";
|
|
75
|
+
};
|
|
76
|
+
export type QuestionImportPreviewImageMimeTypeEnum = typeof QuestionImportPreviewImageMimeTypeEnum[keyof typeof QuestionImportPreviewImageMimeTypeEnum];
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the QuestionImportPreviewImage interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfQuestionImportPreviewImage(value: object): value is QuestionImportPreviewImage;
|
|
81
|
+
export declare function QuestionImportPreviewImageFromJSON(json: any): QuestionImportPreviewImage;
|
|
82
|
+
export declare function QuestionImportPreviewImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionImportPreviewImage;
|
|
83
|
+
export declare function QuestionImportPreviewImageToJSON(json: any): QuestionImportPreviewImage;
|
|
84
|
+
export declare function QuestionImportPreviewImageToJSONTyped(value?: QuestionImportPreviewImage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const QuestionImportPreviewImageMimeTypeEnum = {
|
|
18
|
+
ImagePng: 'image/png',
|
|
19
|
+
ImageJpeg: 'image/jpeg',
|
|
20
|
+
ImageWebp: 'image/webp',
|
|
21
|
+
ImageGif: 'image/gif'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the QuestionImportPreviewImage interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfQuestionImportPreviewImage(value) {
|
|
27
|
+
if (!('sourceId' in value) || value['sourceId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('byteSize' in value) || value['byteSize'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('sha256' in value) || value['sha256'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('dataBase64' in value) || value['dataBase64'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
export function QuestionImportPreviewImageFromJSON(json) {
|
|
42
|
+
return QuestionImportPreviewImageFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function QuestionImportPreviewImageFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'sourceId': json['source_id'],
|
|
50
|
+
'filename': json['filename'],
|
|
51
|
+
'mimeType': json['mime_type'],
|
|
52
|
+
'byteSize': json['byte_size'],
|
|
53
|
+
'width': json['width'] == null ? undefined : json['width'],
|
|
54
|
+
'height': json['height'] == null ? undefined : json['height'],
|
|
55
|
+
'sha256': json['sha256'],
|
|
56
|
+
'dataBase64': json['data_base64'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export function QuestionImportPreviewImageToJSON(json) {
|
|
60
|
+
return QuestionImportPreviewImageToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
export function QuestionImportPreviewImageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'source_id': value['sourceId'],
|
|
68
|
+
'filename': value['filename'],
|
|
69
|
+
'mime_type': value['mimeType'],
|
|
70
|
+
'byte_size': value['byteSize'],
|
|
71
|
+
'width': value['width'],
|
|
72
|
+
'height': value['height'],
|
|
73
|
+
'sha256': value['sha256'],
|
|
74
|
+
'data_base64': value['dataBase64'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QuestionImportSource
|
|
16
|
+
*/
|
|
17
|
+
export interface QuestionImportSource {
|
|
18
|
+
/**
|
|
19
|
+
* Editable source label proposed from the detected quiz title or filename
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QuestionImportSource
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuestionImportSource
|
|
28
|
+
*/
|
|
29
|
+
detectedTitle?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QuestionImportSource
|
|
34
|
+
*/
|
|
35
|
+
originalFilename: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof QuestionImportSource
|
|
40
|
+
*/
|
|
41
|
+
mediaType: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof QuestionImportSource
|
|
46
|
+
*/
|
|
47
|
+
fileSha256: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the QuestionImportSource interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfQuestionImportSource(value: object): value is QuestionImportSource;
|
|
53
|
+
export declare function QuestionImportSourceFromJSON(json: any): QuestionImportSource;
|
|
54
|
+
export declare function QuestionImportSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionImportSource;
|
|
55
|
+
export declare function QuestionImportSourceToJSON(json: any): QuestionImportSource;
|
|
56
|
+
export declare function QuestionImportSourceToJSONTyped(value?: QuestionImportSource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* Check if a given object implements the QuestionImportSource interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfQuestionImportSource(value) {
|
|
18
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('originalFilename' in value) || value['originalFilename'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('mediaType' in value) || value['mediaType'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('fileSha256' in value) || value['fileSha256'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function QuestionImportSourceFromJSON(json) {
|
|
29
|
+
return QuestionImportSourceFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function QuestionImportSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'label': json['label'],
|
|
37
|
+
'detectedTitle': json['detected_title'] == null ? undefined : json['detected_title'],
|
|
38
|
+
'originalFilename': json['original_filename'],
|
|
39
|
+
'mediaType': json['media_type'],
|
|
40
|
+
'fileSha256': json['file_sha256'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function QuestionImportSourceToJSON(json) {
|
|
44
|
+
return QuestionImportSourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function QuestionImportSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'label': value['label'],
|
|
52
|
+
'detected_title': value['detectedTitle'],
|
|
53
|
+
'original_filename': value['originalFilename'],
|
|
54
|
+
'media_type': value['mediaType'],
|
|
55
|
+
'file_sha256': value['fileSha256'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QuestionImportSourceSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface QuestionImportSourceSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QuestionImportSourceSummary
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuestionImportSourceSummary
|
|
28
|
+
*/
|
|
29
|
+
originalFilename: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QuestionImportSourceSummary
|
|
34
|
+
*/
|
|
35
|
+
sourceKey?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof QuestionImportSourceSummary
|
|
40
|
+
*/
|
|
41
|
+
importedAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the QuestionImportSourceSummary interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfQuestionImportSourceSummary(value: object): value is QuestionImportSourceSummary;
|
|
47
|
+
export declare function QuestionImportSourceSummaryFromJSON(json: any): QuestionImportSourceSummary;
|
|
48
|
+
export declare function QuestionImportSourceSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionImportSourceSummary;
|
|
49
|
+
export declare function QuestionImportSourceSummaryToJSON(json: any): QuestionImportSourceSummary;
|
|
50
|
+
export declare function QuestionImportSourceSummaryToJSONTyped(value?: QuestionImportSourceSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* Check if a given object implements the QuestionImportSourceSummary interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfQuestionImportSourceSummary(value) {
|
|
18
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('originalFilename' in value) || value['originalFilename'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('importedAt' in value) || value['importedAt'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function QuestionImportSourceSummaryFromJSON(json) {
|
|
27
|
+
return QuestionImportSourceSummaryFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function QuestionImportSourceSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'label': json['label'],
|
|
35
|
+
'originalFilename': json['original_filename'],
|
|
36
|
+
'sourceKey': json['source_key'] == null ? undefined : json['source_key'],
|
|
37
|
+
'importedAt': (new Date(json['imported_at'])),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function QuestionImportSourceSummaryToJSON(json) {
|
|
41
|
+
return QuestionImportSourceSummaryToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function QuestionImportSourceSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'label': value['label'],
|
|
49
|
+
'original_filename': value['originalFilename'],
|
|
50
|
+
'source_key': value['sourceKey'],
|
|
51
|
+
'imported_at': value['importedAt'].toISOString(),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -83,12 +83,18 @@ export * from './GetCourseVersionSection';
|
|
|
83
83
|
export * from './GetCourseVersionSectionChild';
|
|
84
84
|
export * from './GetCourseVersionSectionProgression';
|
|
85
85
|
export * from './GetCourseVersionSectionReporting';
|
|
86
|
+
export * from './GetEffectiveLearnerExperience';
|
|
86
87
|
export * from './GetEmailAssetUpload';
|
|
87
88
|
export * from './GetEmailDelivery';
|
|
88
89
|
export * from './GetEmailDeliveryList';
|
|
89
90
|
export * from './GetEmailTemplate';
|
|
90
91
|
export * from './GetEmailTemplateList';
|
|
91
92
|
export * from './GetEmailTemplatePreview';
|
|
93
|
+
export * from './GetLearnerDashboard';
|
|
94
|
+
export * from './GetLearnerDashboardCourseList';
|
|
95
|
+
export * from './GetLearnerDashboardSummary';
|
|
96
|
+
export * from './GetLearnerExperience';
|
|
97
|
+
export * from './GetLearnerExperiencePreview';
|
|
92
98
|
export * from './GetLibraryQuiz';
|
|
93
99
|
export * from './GetLibraryQuizAnalytics';
|
|
94
100
|
export * from './GetLibraryQuizCriteriaPreview';
|
|
@@ -152,6 +158,7 @@ export * from './GetUserCourseListItemCourse';
|
|
|
152
158
|
export * from './GetUserCourseListItemEnrollment';
|
|
153
159
|
export * from './GetUserCourseListItemProgress';
|
|
154
160
|
export * from './GetUserRole';
|
|
161
|
+
export * from './LearnerExperienceVersion';
|
|
155
162
|
export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
156
163
|
export * from './LibraryQuizCriterion';
|
|
157
164
|
export * from './LibraryQuizCriterionPreview';
|
|
@@ -207,6 +214,7 @@ export * from './PostEmailAssetComplete';
|
|
|
207
214
|
export * from './PostEmailAssetUpload';
|
|
208
215
|
export * from './PostEmailTemplatePreview';
|
|
209
216
|
export * from './PostEmailTemplateTestSend';
|
|
217
|
+
export * from './PostLearnerExperiencePreview';
|
|
210
218
|
export * from './PostLibraryQuiz';
|
|
211
219
|
export * from './PostLibraryQuizSession';
|
|
212
220
|
export * from './PostLibraryQuizVersion';
|
|
@@ -221,6 +229,10 @@ export * from './PostPortal';
|
|
|
221
229
|
export * from './PostPortalInvite';
|
|
222
230
|
export * from './PostQuestion';
|
|
223
231
|
export * from './PostQuestionAnswerChoicesInner';
|
|
232
|
+
export * from './PostQuestionImportCommit';
|
|
233
|
+
export * from './PostQuestionImportCommitItem';
|
|
234
|
+
export * from './PostQuestionImportCommitResponse';
|
|
235
|
+
export * from './PostQuestionImportParseResponse';
|
|
224
236
|
export * from './PostResetPassword';
|
|
225
237
|
export * from './PostResource';
|
|
226
238
|
export * from './PostResourceSessionActivityEvent';
|
|
@@ -254,6 +266,7 @@ export * from './PutCourseVersionItem';
|
|
|
254
266
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
255
267
|
export * from './PutCourseVersionSection';
|
|
256
268
|
export * from './PutEmailTemplateDraft';
|
|
269
|
+
export * from './PutLearnerExperienceDraft';
|
|
257
270
|
export * from './PutLibraryQuiz';
|
|
258
271
|
export * from './PutLibraryQuizCriteria';
|
|
259
272
|
export * from './PutLibraryQuizQuestions';
|
|
@@ -273,6 +286,12 @@ export * from './PutRole';
|
|
|
273
286
|
export * from './PutRolePermissions';
|
|
274
287
|
export * from './PutSupportTicket';
|
|
275
288
|
export * from './PutUser';
|
|
289
|
+
export * from './QuestionImportCommitResult';
|
|
290
|
+
export * from './QuestionImportDraft';
|
|
291
|
+
export * from './QuestionImportDuplicate';
|
|
292
|
+
export * from './QuestionImportPreviewImage';
|
|
293
|
+
export * from './QuestionImportSource';
|
|
294
|
+
export * from './QuestionImportSourceSummary';
|
|
276
295
|
export * from './QuestionSelectionMethod';
|
|
277
296
|
export * from './ResourceSessionEnvironment';
|
|
278
297
|
export * from './ResourceSessionScormApiLogItem';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -85,12 +85,18 @@ export * from './GetCourseVersionSection';
|
|
|
85
85
|
export * from './GetCourseVersionSectionChild';
|
|
86
86
|
export * from './GetCourseVersionSectionProgression';
|
|
87
87
|
export * from './GetCourseVersionSectionReporting';
|
|
88
|
+
export * from './GetEffectiveLearnerExperience';
|
|
88
89
|
export * from './GetEmailAssetUpload';
|
|
89
90
|
export * from './GetEmailDelivery';
|
|
90
91
|
export * from './GetEmailDeliveryList';
|
|
91
92
|
export * from './GetEmailTemplate';
|
|
92
93
|
export * from './GetEmailTemplateList';
|
|
93
94
|
export * from './GetEmailTemplatePreview';
|
|
95
|
+
export * from './GetLearnerDashboard';
|
|
96
|
+
export * from './GetLearnerDashboardCourseList';
|
|
97
|
+
export * from './GetLearnerDashboardSummary';
|
|
98
|
+
export * from './GetLearnerExperience';
|
|
99
|
+
export * from './GetLearnerExperiencePreview';
|
|
94
100
|
export * from './GetLibraryQuiz';
|
|
95
101
|
export * from './GetLibraryQuizAnalytics';
|
|
96
102
|
export * from './GetLibraryQuizCriteriaPreview';
|
|
@@ -154,6 +160,7 @@ export * from './GetUserCourseListItemCourse';
|
|
|
154
160
|
export * from './GetUserCourseListItemEnrollment';
|
|
155
161
|
export * from './GetUserCourseListItemProgress';
|
|
156
162
|
export * from './GetUserRole';
|
|
163
|
+
export * from './LearnerExperienceVersion';
|
|
157
164
|
export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
158
165
|
export * from './LibraryQuizCriterion';
|
|
159
166
|
export * from './LibraryQuizCriterionPreview';
|
|
@@ -209,6 +216,7 @@ export * from './PostEmailAssetComplete';
|
|
|
209
216
|
export * from './PostEmailAssetUpload';
|
|
210
217
|
export * from './PostEmailTemplatePreview';
|
|
211
218
|
export * from './PostEmailTemplateTestSend';
|
|
219
|
+
export * from './PostLearnerExperiencePreview';
|
|
212
220
|
export * from './PostLibraryQuiz';
|
|
213
221
|
export * from './PostLibraryQuizSession';
|
|
214
222
|
export * from './PostLibraryQuizVersion';
|
|
@@ -223,6 +231,10 @@ export * from './PostPortal';
|
|
|
223
231
|
export * from './PostPortalInvite';
|
|
224
232
|
export * from './PostQuestion';
|
|
225
233
|
export * from './PostQuestionAnswerChoicesInner';
|
|
234
|
+
export * from './PostQuestionImportCommit';
|
|
235
|
+
export * from './PostQuestionImportCommitItem';
|
|
236
|
+
export * from './PostQuestionImportCommitResponse';
|
|
237
|
+
export * from './PostQuestionImportParseResponse';
|
|
226
238
|
export * from './PostResetPassword';
|
|
227
239
|
export * from './PostResource';
|
|
228
240
|
export * from './PostResourceSessionActivityEvent';
|
|
@@ -256,6 +268,7 @@ export * from './PutCourseVersionItem';
|
|
|
256
268
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
257
269
|
export * from './PutCourseVersionSection';
|
|
258
270
|
export * from './PutEmailTemplateDraft';
|
|
271
|
+
export * from './PutLearnerExperienceDraft';
|
|
259
272
|
export * from './PutLibraryQuiz';
|
|
260
273
|
export * from './PutLibraryQuizCriteria';
|
|
261
274
|
export * from './PutLibraryQuizQuestions';
|
|
@@ -275,6 +288,12 @@ export * from './PutRole';
|
|
|
275
288
|
export * from './PutRolePermissions';
|
|
276
289
|
export * from './PutSupportTicket';
|
|
277
290
|
export * from './PutUser';
|
|
291
|
+
export * from './QuestionImportCommitResult';
|
|
292
|
+
export * from './QuestionImportDraft';
|
|
293
|
+
export * from './QuestionImportDuplicate';
|
|
294
|
+
export * from './QuestionImportPreviewImage';
|
|
295
|
+
export * from './QuestionImportSource';
|
|
296
|
+
export * from './QuestionImportSourceSummary';
|
|
278
297
|
export * from './QuestionSelectionMethod';
|
|
279
298
|
export * from './ResourceSessionEnvironment';
|
|
280
299
|
export * from './ResourceSessionScormApiLogItem';
|