@easyedu/js-lsm-api 1.35.0 → 1.37.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 +18 -0
- package/README.md +12 -2
- package/dist/apis/QuizApi.d.ts +20 -1
- package/dist/apis/QuizApi.js +49 -0
- package/dist/esm/apis/QuizApi.d.ts +20 -1
- package/dist/esm/apis/QuizApi.js +50 -1
- package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +3 -0
- package/dist/esm/models/CriteriaBasedSelectionCriteria.js +4 -1
- package/dist/esm/models/Essay.d.ts +45 -0
- package/dist/esm/models/Essay.js +53 -0
- package/dist/esm/models/Essay1.d.ts +45 -0
- package/dist/esm/models/Essay1.js +53 -0
- package/dist/esm/models/GetCourseExport.d.ts +19 -7
- package/dist/esm/models/GetCourseExport.js +12 -4
- package/dist/esm/models/GetQuestion.d.ts +4 -1
- package/dist/esm/models/GetQuestion.js +4 -1
- package/dist/esm/models/GetQuestionListFilters.d.ts +3 -0
- package/dist/esm/models/GetQuestionListFilters.js +4 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +3 -0
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +4 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +3 -0
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +4 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +3 -0
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +4 -1
- package/dist/esm/models/GetQuizCriteriaItem.d.ts +3 -0
- package/dist/esm/models/GetQuizCriteriaItem.js +4 -1
- package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +3 -0
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +4 -1
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +3 -0
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +4 -1
- package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +3 -0
- package/dist/esm/models/GetQuizResultsQuestionsInner.js +4 -1
- package/dist/esm/models/Matching.d.ts +46 -0
- package/dist/esm/models/Matching.js +54 -0
- package/dist/esm/models/Matching1.d.ts +46 -0
- package/dist/esm/models/Matching1.js +54 -0
- package/dist/esm/models/Matching1PairsInner.d.ts +38 -0
- package/dist/esm/models/Matching1PairsInner.js +47 -0
- package/dist/esm/models/MatchingPairsInner.d.ts +38 -0
- package/dist/esm/models/MatchingPairsInner.js +47 -0
- package/dist/esm/models/PostCourseExport.d.ts +12 -6
- package/dist/esm/models/PostCourseExport.js +8 -4
- package/dist/esm/models/PostQuestion.d.ts +4 -1
- package/dist/esm/models/PostQuestion.js +4 -1
- package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +3 -0
- package/dist/esm/models/PostQuizAttemptQuestionsInner.js +4 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +4 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +21 -0
- package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +3 -0
- package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +4 -1
- package/dist/esm/models/PutQuestion.d.ts +4 -1
- package/dist/esm/models/PutQuestion.js +4 -1
- package/dist/esm/models/PutQuizAnswerAnswer.d.ts +4 -1
- package/dist/esm/models/PutQuizAnswerAnswer.js +21 -0
- package/dist/esm/models/PutQuizAnswerGrade.d.ts +38 -0
- package/dist/esm/models/PutQuizAnswerGrade.js +45 -0
- package/dist/esm/models/ShortAnswer.d.ts +45 -0
- package/dist/esm/models/ShortAnswer.js +53 -0
- package/dist/esm/models/ShortAnswer1.d.ts +45 -0
- package/dist/esm/models/ShortAnswer1.js +53 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/CriteriaBasedSelectionCriteria.d.ts +3 -0
- package/dist/models/CriteriaBasedSelectionCriteria.js +4 -1
- package/dist/models/Essay.d.ts +45 -0
- package/dist/models/Essay.js +61 -0
- package/dist/models/Essay1.d.ts +45 -0
- package/dist/models/Essay1.js +61 -0
- package/dist/models/GetCourseExport.d.ts +19 -7
- package/dist/models/GetCourseExport.js +13 -5
- package/dist/models/GetQuestion.d.ts +4 -1
- package/dist/models/GetQuestion.js +4 -1
- package/dist/models/GetQuestionListFilters.d.ts +3 -0
- package/dist/models/GetQuestionListFilters.js +4 -1
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +3 -0
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +4 -1
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +3 -0
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +4 -1
- package/dist/models/GetQuizAttemptQuestionsInner.d.ts +3 -0
- package/dist/models/GetQuizAttemptQuestionsInner.js +4 -1
- package/dist/models/GetQuizCriteriaItem.d.ts +3 -0
- package/dist/models/GetQuizCriteriaItem.js +4 -1
- package/dist/models/GetQuizCriteriaListItemsInner.d.ts +3 -0
- package/dist/models/GetQuizCriteriaListItemsInner.js +4 -1
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +3 -0
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +4 -1
- package/dist/models/GetQuizResultsQuestionsInner.d.ts +3 -0
- package/dist/models/GetQuizResultsQuestionsInner.js +4 -1
- package/dist/models/Matching.d.ts +46 -0
- package/dist/models/Matching.js +62 -0
- package/dist/models/Matching1.d.ts +46 -0
- package/dist/models/Matching1.js +62 -0
- package/dist/models/Matching1PairsInner.d.ts +38 -0
- package/dist/models/Matching1PairsInner.js +54 -0
- package/dist/models/MatchingPairsInner.d.ts +38 -0
- package/dist/models/MatchingPairsInner.js +54 -0
- package/dist/models/PostCourseExport.d.ts +12 -6
- package/dist/models/PostCourseExport.js +9 -5
- package/dist/models/PostQuestion.d.ts +4 -1
- package/dist/models/PostQuestion.js +4 -1
- package/dist/models/PostQuizAttemptQuestionsInner.d.ts +3 -0
- package/dist/models/PostQuizAttemptQuestionsInner.js +4 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +4 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +21 -0
- package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +3 -0
- package/dist/models/PostQuizCriteriaCriteriaInner.js +4 -1
- package/dist/models/PutQuestion.d.ts +4 -1
- package/dist/models/PutQuestion.js +4 -1
- package/dist/models/PutQuizAnswerAnswer.d.ts +4 -1
- package/dist/models/PutQuizAnswerAnswer.js +21 -0
- package/dist/models/PutQuizAnswerGrade.d.ts +38 -0
- package/dist/models/PutQuizAnswerGrade.js +52 -0
- package/dist/models/ShortAnswer.d.ts +45 -0
- package/dist/models/ShortAnswer.js +61 -0
- package/dist/models/ShortAnswer1.d.ts +45 -0
- package/dist/models/ShortAnswer1.js +61 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/Essay.md +36 -0
- package/docs/Essay1.md +36 -0
- package/docs/GetCourseExport.md +7 -3
- package/docs/Matching.md +36 -0
- package/docs/Matching1.md +36 -0
- package/docs/Matching1PairsInner.md +36 -0
- package/docs/MatchingPairsInner.md +36 -0
- package/docs/PostCourseExport.md +5 -3
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +2 -0
- package/docs/PutQuizAnswerAnswer.md +2 -0
- package/docs/PutQuizAnswerGrade.md +36 -0
- package/docs/QuizApi.md +77 -0
- package/docs/ShortAnswer.md +36 -0
- package/docs/ShortAnswer1.md +36 -0
- package/package.json +1 -1
- package/src/apis/QuizApi.ts +73 -0
- package/src/models/CriteriaBasedSelectionCriteria.ts +4 -1
- package/src/models/Essay.ts +85 -0
- package/src/models/Essay1.ts +85 -0
- package/src/models/GetCourseExport.ts +28 -10
- package/src/models/GetQuestion.ts +5 -2
- package/src/models/GetQuestionListFilters.ts +4 -1
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.ts +4 -1
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +4 -1
- package/src/models/GetQuizAttemptQuestionsInner.ts +4 -1
- package/src/models/GetQuizCriteriaItem.ts +4 -1
- package/src/models/GetQuizCriteriaListItemsInner.ts +4 -1
- package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +4 -1
- package/src/models/GetQuizResultsQuestionsInner.ts +4 -1
- package/src/models/Matching.ts +93 -0
- package/src/models/Matching1.ts +93 -0
- package/src/models/Matching1PairsInner.ts +75 -0
- package/src/models/MatchingPairsInner.ts +75 -0
- package/src/models/PostCourseExport.ts +18 -9
- package/src/models/PostQuestion.ts +5 -2
- package/src/models/PostQuizAttemptQuestionsInner.ts +4 -1
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +40 -1
- package/src/models/PostQuizCriteriaCriteriaInner.ts +4 -1
- package/src/models/PutQuestion.ts +5 -2
- package/src/models/PutQuizAnswerAnswer.ts +40 -1
- package/src/models/PutQuizAnswerGrade.ts +74 -0
- package/src/models/ShortAnswer.ts +85 -0
- package/src/models/ShortAnswer1.ts +85 -0
- package/src/models/index.ts +9 -0
|
@@ -62,6 +62,9 @@ export declare const CriteriaBasedSelectionCriteriaQuestionTypesEnum: {
|
|
|
62
62
|
readonly SingleAnswer: "single_answer";
|
|
63
63
|
readonly MultipleAnswer: "multiple_answer";
|
|
64
64
|
readonly FillInBlank: "fill_in_blank";
|
|
65
|
+
readonly ShortAnswer: "short_answer";
|
|
66
|
+
readonly Matching: "matching";
|
|
67
|
+
readonly Essay: "essay";
|
|
65
68
|
};
|
|
66
69
|
export type CriteriaBasedSelectionCriteriaQuestionTypesEnum = typeof CriteriaBasedSelectionCriteriaQuestionTypesEnum[keyof typeof CriteriaBasedSelectionCriteriaQuestionTypesEnum];
|
|
67
70
|
/**
|
|
@@ -33,7 +33,10 @@ exports.CriteriaBasedSelectionCriteriaDifficultyLevelsEnum = {
|
|
|
33
33
|
exports.CriteriaBasedSelectionCriteriaQuestionTypesEnum = {
|
|
34
34
|
SingleAnswer: 'single_answer',
|
|
35
35
|
MultipleAnswer: 'multiple_answer',
|
|
36
|
-
FillInBlank: 'fill_in_blank'
|
|
36
|
+
FillInBlank: 'fill_in_blank',
|
|
37
|
+
ShortAnswer: 'short_answer',
|
|
38
|
+
Matching: 'matching',
|
|
39
|
+
Essay: 'essay'
|
|
37
40
|
};
|
|
38
41
|
/**
|
|
39
42
|
* Check if a given object implements the CriteriaBasedSelectionCriteria interface.
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Essay
|
|
16
|
+
*/
|
|
17
|
+
export interface Essay {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {EssayTypeEnum}
|
|
21
|
+
* @memberof Essay
|
|
22
|
+
*/
|
|
23
|
+
type: EssayTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Essay response text
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Essay
|
|
28
|
+
*/
|
|
29
|
+
textAnswer: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const EssayTypeEnum: {
|
|
35
|
+
readonly Essay: "essay";
|
|
36
|
+
};
|
|
37
|
+
export type EssayTypeEnum = typeof EssayTypeEnum[keyof typeof EssayTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Essay interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEssay(value: object): value is Essay;
|
|
42
|
+
export declare function EssayFromJSON(json: any): Essay;
|
|
43
|
+
export declare function EssayFromJSONTyped(json: any, ignoreDiscriminator: boolean): Essay;
|
|
44
|
+
export declare function EssayToJSON(json: any): Essay;
|
|
45
|
+
export declare function EssayToJSONTyped(value?: Essay | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EssayTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfEssay = instanceOfEssay;
|
|
18
|
+
exports.EssayFromJSON = EssayFromJSON;
|
|
19
|
+
exports.EssayFromJSONTyped = EssayFromJSONTyped;
|
|
20
|
+
exports.EssayToJSON = EssayToJSON;
|
|
21
|
+
exports.EssayToJSONTyped = EssayToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EssayTypeEnum = {
|
|
26
|
+
Essay: 'essay'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the Essay interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfEssay(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('textAnswer' in value) || value['textAnswer'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function EssayFromJSON(json) {
|
|
39
|
+
return EssayFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function EssayFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'textAnswer': json['text_answer'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function EssayToJSON(json) {
|
|
51
|
+
return EssayToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function EssayToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'text_answer': value['textAnswer'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Essay1
|
|
16
|
+
*/
|
|
17
|
+
export interface Essay1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Essay1TypeEnum}
|
|
21
|
+
* @memberof Essay1
|
|
22
|
+
*/
|
|
23
|
+
type: Essay1TypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Essay response text
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Essay1
|
|
28
|
+
*/
|
|
29
|
+
textAnswer: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const Essay1TypeEnum: {
|
|
35
|
+
readonly Essay: "essay";
|
|
36
|
+
};
|
|
37
|
+
export type Essay1TypeEnum = typeof Essay1TypeEnum[keyof typeof Essay1TypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Essay1 interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEssay1(value: object): value is Essay1;
|
|
42
|
+
export declare function Essay1FromJSON(json: any): Essay1;
|
|
43
|
+
export declare function Essay1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Essay1;
|
|
44
|
+
export declare function Essay1ToJSON(json: any): Essay1;
|
|
45
|
+
export declare function Essay1ToJSONTyped(value?: Essay1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Essay1TypeEnum = void 0;
|
|
17
|
+
exports.instanceOfEssay1 = instanceOfEssay1;
|
|
18
|
+
exports.Essay1FromJSON = Essay1FromJSON;
|
|
19
|
+
exports.Essay1FromJSONTyped = Essay1FromJSONTyped;
|
|
20
|
+
exports.Essay1ToJSON = Essay1ToJSON;
|
|
21
|
+
exports.Essay1ToJSONTyped = Essay1ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.Essay1TypeEnum = {
|
|
26
|
+
Essay: 'essay'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the Essay1 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfEssay1(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('textAnswer' in value) || value['textAnswer'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function Essay1FromJSON(json) {
|
|
39
|
+
return Essay1FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function Essay1FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'textAnswer': json['text_answer'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function Essay1ToJSON(json) {
|
|
51
|
+
return Essay1ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function Essay1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'text_answer': value['textAnswer'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Details of a course
|
|
13
|
+
* Details of a course export
|
|
14
14
|
* @export
|
|
15
15
|
* @interface GetCourseExport
|
|
16
16
|
*/
|
|
@@ -28,11 +28,23 @@ export interface GetCourseExport {
|
|
|
28
28
|
*/
|
|
29
29
|
courseId: string;
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @type {
|
|
31
|
+
* The export format type
|
|
32
|
+
* @type {GetCourseExportExportTypeEnum}
|
|
33
33
|
* @memberof GetCourseExport
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
exportType: GetCourseExportExportTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* IDs of the modules included in the export
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof GetCourseExport
|
|
40
|
+
*/
|
|
41
|
+
moduleIds: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the user who requested the export
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetCourseExport
|
|
46
|
+
*/
|
|
47
|
+
createdBy: number;
|
|
36
48
|
/**
|
|
37
49
|
* Current status of the export generation
|
|
38
50
|
* @type {GetCourseExportStatusEnum}
|
|
@@ -40,7 +52,7 @@ export interface GetCourseExport {
|
|
|
40
52
|
*/
|
|
41
53
|
status: GetCourseExportStatusEnum;
|
|
42
54
|
/**
|
|
43
|
-
* URL to download the export
|
|
55
|
+
* URL to download the export file (null if not yet completed)
|
|
44
56
|
* @type {string}
|
|
45
57
|
* @memberof GetCourseExport
|
|
46
58
|
*/
|
|
@@ -67,12 +79,12 @@ export interface GetCourseExport {
|
|
|
67
79
|
/**
|
|
68
80
|
* @export
|
|
69
81
|
*/
|
|
70
|
-
export declare const
|
|
82
|
+
export declare const GetCourseExportExportTypeEnum: {
|
|
71
83
|
readonly Scorm12: "SCORM_1_2";
|
|
72
84
|
readonly Scorm20043RdEdition: "SCORM_2004_3RD_EDITION";
|
|
73
85
|
readonly Scorm20044ThEdition: "SCORM_2004_4TH_EDITION";
|
|
74
86
|
};
|
|
75
|
-
export type
|
|
87
|
+
export type GetCourseExportExportTypeEnum = typeof GetCourseExportExportTypeEnum[keyof typeof GetCourseExportExportTypeEnum];
|
|
76
88
|
/**
|
|
77
89
|
* @export
|
|
78
90
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetCourseExportStatusEnum = exports.
|
|
16
|
+
exports.GetCourseExportStatusEnum = exports.GetCourseExportExportTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfGetCourseExport = instanceOfGetCourseExport;
|
|
18
18
|
exports.GetCourseExportFromJSON = GetCourseExportFromJSON;
|
|
19
19
|
exports.GetCourseExportFromJSONTyped = GetCourseExportFromJSONTyped;
|
|
@@ -22,7 +22,7 @@ exports.GetCourseExportToJSONTyped = GetCourseExportToJSONTyped;
|
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.GetCourseExportExportTypeEnum = {
|
|
26
26
|
Scorm12: 'SCORM_1_2',
|
|
27
27
|
Scorm20043RdEdition: 'SCORM_2004_3RD_EDITION',
|
|
28
28
|
Scorm20044ThEdition: 'SCORM_2004_4TH_EDITION'
|
|
@@ -44,7 +44,11 @@ function instanceOfGetCourseExport(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
-
if (!('
|
|
47
|
+
if (!('exportType' in value) || value['exportType'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('moduleIds' in value) || value['moduleIds'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
48
52
|
return false;
|
|
49
53
|
if (!('status' in value) || value['status'] === undefined)
|
|
50
54
|
return false;
|
|
@@ -62,7 +66,9 @@ function GetCourseExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
66
|
return {
|
|
63
67
|
'id': json['id'],
|
|
64
68
|
'courseId': json['course_id'],
|
|
65
|
-
'
|
|
69
|
+
'exportType': json['export_type'],
|
|
70
|
+
'moduleIds': json['module_ids'],
|
|
71
|
+
'createdBy': json['created_by'],
|
|
66
72
|
'status': json['status'],
|
|
67
73
|
'downloadUrl': json['download_url'] == null ? undefined : json['download_url'],
|
|
68
74
|
'fileSize': json['file_size'] == null ? undefined : json['file_size'],
|
|
@@ -80,7 +86,9 @@ function GetCourseExportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
86
|
return {
|
|
81
87
|
'id': value['id'],
|
|
82
88
|
'course_id': value['courseId'],
|
|
83
|
-
'
|
|
89
|
+
'export_type': value['exportType'],
|
|
90
|
+
'module_ids': value['moduleIds'],
|
|
91
|
+
'created_by': value['createdBy'],
|
|
84
92
|
'status': value['status'],
|
|
85
93
|
'download_url': value['downloadUrl'],
|
|
86
94
|
'file_size': value['fileSize'],
|
|
@@ -29,7 +29,7 @@ export interface GetQuestion {
|
|
|
29
29
|
*/
|
|
30
30
|
questionText: string;
|
|
31
31
|
/**
|
|
32
|
-
* Type of question
|
|
32
|
+
* Type of question
|
|
33
33
|
* @type {GetQuestionQuestionTypeEnum}
|
|
34
34
|
* @memberof GetQuestion
|
|
35
35
|
*/
|
|
@@ -114,6 +114,9 @@ export declare const GetQuestionQuestionTypeEnum: {
|
|
|
114
114
|
readonly SingleAnswer: "single_answer";
|
|
115
115
|
readonly MultipleAnswer: "multiple_answer";
|
|
116
116
|
readonly FillInBlank: "fill_in_blank";
|
|
117
|
+
readonly ShortAnswer: "short_answer";
|
|
118
|
+
readonly Matching: "matching";
|
|
119
|
+
readonly Essay: "essay";
|
|
117
120
|
};
|
|
118
121
|
export type GetQuestionQuestionTypeEnum = typeof GetQuestionQuestionTypeEnum[keyof typeof GetQuestionQuestionTypeEnum];
|
|
119
122
|
/**
|
|
@@ -26,7 +26,10 @@ const GetQuestionAnswerChoicesInner_1 = require("./GetQuestionAnswerChoicesInner
|
|
|
26
26
|
exports.GetQuestionQuestionTypeEnum = {
|
|
27
27
|
SingleAnswer: 'single_answer',
|
|
28
28
|
MultipleAnswer: 'multiple_answer',
|
|
29
|
-
FillInBlank: 'fill_in_blank'
|
|
29
|
+
FillInBlank: 'fill_in_blank',
|
|
30
|
+
ShortAnswer: 'short_answer',
|
|
31
|
+
Matching: 'matching',
|
|
32
|
+
Essay: 'essay'
|
|
30
33
|
};
|
|
31
34
|
/**
|
|
32
35
|
* @export
|
|
@@ -71,6 +71,9 @@ export declare const GetQuestionListFiltersQuestionTypeEnum: {
|
|
|
71
71
|
readonly SingleAnswer: "single_answer";
|
|
72
72
|
readonly MultipleAnswer: "multiple_answer";
|
|
73
73
|
readonly FillInBlank: "fill_in_blank";
|
|
74
|
+
readonly ShortAnswer: "short_answer";
|
|
75
|
+
readonly Matching: "matching";
|
|
76
|
+
readonly Essay: "essay";
|
|
74
77
|
};
|
|
75
78
|
export type GetQuestionListFiltersQuestionTypeEnum = typeof GetQuestionListFiltersQuestionTypeEnum[keyof typeof GetQuestionListFiltersQuestionTypeEnum];
|
|
76
79
|
/**
|
|
@@ -25,7 +25,10 @@ exports.GetQuestionListFiltersToJSONTyped = GetQuestionListFiltersToJSONTyped;
|
|
|
25
25
|
exports.GetQuestionListFiltersQuestionTypeEnum = {
|
|
26
26
|
SingleAnswer: 'single_answer',
|
|
27
27
|
MultipleAnswer: 'multiple_answer',
|
|
28
|
-
FillInBlank: 'fill_in_blank'
|
|
28
|
+
FillInBlank: 'fill_in_blank',
|
|
29
|
+
ShortAnswer: 'short_answer',
|
|
30
|
+
Matching: 'matching',
|
|
31
|
+
Essay: 'essay'
|
|
29
32
|
};
|
|
30
33
|
/**
|
|
31
34
|
* @export
|
|
@@ -59,6 +59,9 @@ export declare const GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeIn
|
|
|
59
59
|
readonly SingleAnswer: "single_answer";
|
|
60
60
|
readonly MultipleAnswer: "multiple_answer";
|
|
61
61
|
readonly FillInBlank: "fill_in_blank";
|
|
62
|
+
readonly ShortAnswer: "short_answer";
|
|
63
|
+
readonly Matching: "matching";
|
|
64
|
+
readonly Essay: "essay";
|
|
62
65
|
};
|
|
63
66
|
export type GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum = typeof GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum[keyof typeof GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum];
|
|
64
67
|
/**
|
|
@@ -25,7 +25,10 @@ exports.GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerToJSONType
|
|
|
25
25
|
exports.GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum = {
|
|
26
26
|
SingleAnswer: 'single_answer',
|
|
27
27
|
MultipleAnswer: 'multiple_answer',
|
|
28
|
-
FillInBlank: 'fill_in_blank'
|
|
28
|
+
FillInBlank: 'fill_in_blank',
|
|
29
|
+
ShortAnswer: 'short_answer',
|
|
30
|
+
Matching: 'matching',
|
|
31
|
+
Essay: 'essay'
|
|
29
32
|
};
|
|
30
33
|
/**
|
|
31
34
|
* Check if a given object implements the GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner interface.
|
|
@@ -103,6 +103,9 @@ export declare const GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnu
|
|
|
103
103
|
readonly SingleAnswer: "single_answer";
|
|
104
104
|
readonly MultipleAnswer: "multiple_answer";
|
|
105
105
|
readonly FillInBlank: "fill_in_blank";
|
|
106
|
+
readonly ShortAnswer: "short_answer";
|
|
107
|
+
readonly Matching: "matching";
|
|
108
|
+
readonly Essay: "essay";
|
|
106
109
|
};
|
|
107
110
|
export type GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum = typeof GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum[keyof typeof GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum];
|
|
108
111
|
/**
|
|
@@ -27,7 +27,10 @@ const GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer_1 = require("./GetQ
|
|
|
27
27
|
exports.GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum = {
|
|
28
28
|
SingleAnswer: 'single_answer',
|
|
29
29
|
MultipleAnswer: 'multiple_answer',
|
|
30
|
-
FillInBlank: 'fill_in_blank'
|
|
30
|
+
FillInBlank: 'fill_in_blank',
|
|
31
|
+
ShortAnswer: 'short_answer',
|
|
32
|
+
Matching: 'matching',
|
|
33
|
+
Essay: 'essay'
|
|
31
34
|
};
|
|
32
35
|
/**
|
|
33
36
|
* @export
|
|
@@ -85,6 +85,9 @@ export declare const GetQuizAttemptQuestionsInnerQuestionTypeEnum: {
|
|
|
85
85
|
readonly SingleAnswer: "single_answer";
|
|
86
86
|
readonly MultipleAnswer: "multiple_answer";
|
|
87
87
|
readonly FillInBlank: "fill_in_blank";
|
|
88
|
+
readonly ShortAnswer: "short_answer";
|
|
89
|
+
readonly Matching: "matching";
|
|
90
|
+
readonly Essay: "essay";
|
|
88
91
|
};
|
|
89
92
|
export type GetQuizAttemptQuestionsInnerQuestionTypeEnum = typeof GetQuizAttemptQuestionsInnerQuestionTypeEnum[keyof typeof GetQuizAttemptQuestionsInnerQuestionTypeEnum];
|
|
90
93
|
/**
|
|
@@ -27,7 +27,10 @@ const GetQuizAttemptQuestionsInnerAnswerChoicesInner_1 = require("./GetQuizAttem
|
|
|
27
27
|
exports.GetQuizAttemptQuestionsInnerQuestionTypeEnum = {
|
|
28
28
|
SingleAnswer: 'single_answer',
|
|
29
29
|
MultipleAnswer: 'multiple_answer',
|
|
30
|
-
FillInBlank: 'fill_in_blank'
|
|
30
|
+
FillInBlank: 'fill_in_blank',
|
|
31
|
+
ShortAnswer: 'short_answer',
|
|
32
|
+
Matching: 'matching',
|
|
33
|
+
Essay: 'essay'
|
|
31
34
|
};
|
|
32
35
|
/**
|
|
33
36
|
* Check if a given object implements the GetQuizAttemptQuestionsInner interface.
|
|
@@ -110,6 +110,9 @@ export declare const GetQuizCriteriaItemQuestionTypeEnum: {
|
|
|
110
110
|
readonly SingleAnswer: "single_answer";
|
|
111
111
|
readonly MultipleAnswer: "multiple_answer";
|
|
112
112
|
readonly FillInBlank: "fill_in_blank";
|
|
113
|
+
readonly ShortAnswer: "short_answer";
|
|
114
|
+
readonly Matching: "matching";
|
|
115
|
+
readonly Essay: "essay";
|
|
113
116
|
};
|
|
114
117
|
export type GetQuizCriteriaItemQuestionTypeEnum = typeof GetQuizCriteriaItemQuestionTypeEnum[keyof typeof GetQuizCriteriaItemQuestionTypeEnum];
|
|
115
118
|
/**
|
|
@@ -33,7 +33,10 @@ exports.GetQuizCriteriaItemDifficultyLevelEnum = {
|
|
|
33
33
|
exports.GetQuizCriteriaItemQuestionTypeEnum = {
|
|
34
34
|
SingleAnswer: 'single_answer',
|
|
35
35
|
MultipleAnswer: 'multiple_answer',
|
|
36
|
-
FillInBlank: 'fill_in_blank'
|
|
36
|
+
FillInBlank: 'fill_in_blank',
|
|
37
|
+
ShortAnswer: 'short_answer',
|
|
38
|
+
Matching: 'matching',
|
|
39
|
+
Essay: 'essay'
|
|
37
40
|
};
|
|
38
41
|
/**
|
|
39
42
|
* Check if a given object implements the GetQuizCriteriaItem interface.
|
|
@@ -110,6 +110,9 @@ export declare const GetQuizCriteriaListItemsInnerQuestionTypeEnum: {
|
|
|
110
110
|
readonly SingleAnswer: "single_answer";
|
|
111
111
|
readonly MultipleAnswer: "multiple_answer";
|
|
112
112
|
readonly FillInBlank: "fill_in_blank";
|
|
113
|
+
readonly ShortAnswer: "short_answer";
|
|
114
|
+
readonly Matching: "matching";
|
|
115
|
+
readonly Essay: "essay";
|
|
113
116
|
};
|
|
114
117
|
export type GetQuizCriteriaListItemsInnerQuestionTypeEnum = typeof GetQuizCriteriaListItemsInnerQuestionTypeEnum[keyof typeof GetQuizCriteriaListItemsInnerQuestionTypeEnum];
|
|
115
118
|
/**
|
|
@@ -33,7 +33,10 @@ exports.GetQuizCriteriaListItemsInnerDifficultyLevelEnum = {
|
|
|
33
33
|
exports.GetQuizCriteriaListItemsInnerQuestionTypeEnum = {
|
|
34
34
|
SingleAnswer: 'single_answer',
|
|
35
35
|
MultipleAnswer: 'multiple_answer',
|
|
36
|
-
FillInBlank: 'fill_in_blank'
|
|
36
|
+
FillInBlank: 'fill_in_blank',
|
|
37
|
+
ShortAnswer: 'short_answer',
|
|
38
|
+
Matching: 'matching',
|
|
39
|
+
Essay: 'essay'
|
|
37
40
|
};
|
|
38
41
|
/**
|
|
39
42
|
* Check if a given object implements the GetQuizCriteriaListItemsInner interface.
|
|
@@ -84,6 +84,9 @@ export declare const GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum:
|
|
|
84
84
|
readonly SingleAnswer: "single_answer";
|
|
85
85
|
readonly MultipleAnswer: "multiple_answer";
|
|
86
86
|
readonly FillInBlank: "fill_in_blank";
|
|
87
|
+
readonly ShortAnswer: "short_answer";
|
|
88
|
+
readonly Matching: "matching";
|
|
89
|
+
readonly Essay: "essay";
|
|
87
90
|
};
|
|
88
91
|
export type GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum = typeof GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum[keyof typeof GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum];
|
|
89
92
|
/**
|
|
@@ -26,7 +26,10 @@ const GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner_1 = require(".
|
|
|
26
26
|
exports.GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum = {
|
|
27
27
|
SingleAnswer: 'single_answer',
|
|
28
28
|
MultipleAnswer: 'multiple_answer',
|
|
29
|
-
FillInBlank: 'fill_in_blank'
|
|
29
|
+
FillInBlank: 'fill_in_blank',
|
|
30
|
+
ShortAnswer: 'short_answer',
|
|
31
|
+
Matching: 'matching',
|
|
32
|
+
Essay: 'essay'
|
|
30
33
|
};
|
|
31
34
|
/**
|
|
32
35
|
* @export
|
|
@@ -79,6 +79,9 @@ export declare const GetQuizResultsQuestionsInnerQuestionTypeEnum: {
|
|
|
79
79
|
readonly SingleAnswer: "single_answer";
|
|
80
80
|
readonly MultipleAnswer: "multiple_answer";
|
|
81
81
|
readonly FillInBlank: "fill_in_blank";
|
|
82
|
+
readonly ShortAnswer: "short_answer";
|
|
83
|
+
readonly Matching: "matching";
|
|
84
|
+
readonly Essay: "essay";
|
|
82
85
|
};
|
|
83
86
|
export type GetQuizResultsQuestionsInnerQuestionTypeEnum = typeof GetQuizResultsQuestionsInnerQuestionTypeEnum[keyof typeof GetQuizResultsQuestionsInnerQuestionTypeEnum];
|
|
84
87
|
/**
|
|
@@ -27,7 +27,10 @@ const GetQuizResultsQuestionsInnerStudentAnswer_1 = require("./GetQuizResultsQue
|
|
|
27
27
|
exports.GetQuizResultsQuestionsInnerQuestionTypeEnum = {
|
|
28
28
|
SingleAnswer: 'single_answer',
|
|
29
29
|
MultipleAnswer: 'multiple_answer',
|
|
30
|
-
FillInBlank: 'fill_in_blank'
|
|
30
|
+
FillInBlank: 'fill_in_blank',
|
|
31
|
+
ShortAnswer: 'short_answer',
|
|
32
|
+
Matching: 'matching',
|
|
33
|
+
Essay: 'essay'
|
|
31
34
|
};
|
|
32
35
|
/**
|
|
33
36
|
* Check if a given object implements the GetQuizResultsQuestionsInner interface.
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import type { MatchingPairsInner } from './MatchingPairsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Matching
|
|
17
|
+
*/
|
|
18
|
+
export interface Matching {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MatchingTypeEnum}
|
|
22
|
+
* @memberof Matching
|
|
23
|
+
*/
|
|
24
|
+
type: MatchingTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* User's matching pair selections
|
|
27
|
+
* @type {Array<MatchingPairsInner>}
|
|
28
|
+
* @memberof Matching
|
|
29
|
+
*/
|
|
30
|
+
pairs: Array<MatchingPairsInner>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const MatchingTypeEnum: {
|
|
36
|
+
readonly Matching: "matching";
|
|
37
|
+
};
|
|
38
|
+
export type MatchingTypeEnum = typeof MatchingTypeEnum[keyof typeof MatchingTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the Matching interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfMatching(value: object): value is Matching;
|
|
43
|
+
export declare function MatchingFromJSON(json: any): Matching;
|
|
44
|
+
export declare function MatchingFromJSONTyped(json: any, ignoreDiscriminator: boolean): Matching;
|
|
45
|
+
export declare function MatchingToJSON(json: any): Matching;
|
|
46
|
+
export declare function MatchingToJSONTyped(value?: Matching | null, ignoreDiscriminator?: boolean): any;
|