@easyedu/js-lsm-api 1.35.0 → 1.36.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/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/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/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/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/Matching.md +36 -0
- package/docs/Matching1.md +36 -0
- package/docs/Matching1PairsInner.md +36 -0
- package/docs/MatchingPairsInner.md +36 -0
- 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/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/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
|
@@ -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
|
/**
|
|
@@ -19,7 +19,10 @@ import { GetQuizAttemptQuestionsInnerAnswerChoicesInnerFromJSON, GetQuizAttemptQ
|
|
|
19
19
|
export const GetQuizAttemptQuestionsInnerQuestionTypeEnum = {
|
|
20
20
|
SingleAnswer: 'single_answer',
|
|
21
21
|
MultipleAnswer: 'multiple_answer',
|
|
22
|
-
FillInBlank: 'fill_in_blank'
|
|
22
|
+
FillInBlank: 'fill_in_blank',
|
|
23
|
+
ShortAnswer: 'short_answer',
|
|
24
|
+
Matching: 'matching',
|
|
25
|
+
Essay: 'essay'
|
|
23
26
|
};
|
|
24
27
|
/**
|
|
25
28
|
* 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
|
/**
|
|
@@ -25,7 +25,10 @@ export const GetQuizCriteriaItemDifficultyLevelEnum = {
|
|
|
25
25
|
export const GetQuizCriteriaItemQuestionTypeEnum = {
|
|
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 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
|
/**
|
|
@@ -25,7 +25,10 @@ export const GetQuizCriteriaListItemsInnerDifficultyLevelEnum = {
|
|
|
25
25
|
export const GetQuizCriteriaListItemsInnerQuestionTypeEnum = {
|
|
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 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
|
/**
|
|
@@ -18,7 +18,10 @@ import { GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInnerFromJSON, Ge
|
|
|
18
18
|
export const GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum = {
|
|
19
19
|
SingleAnswer: 'single_answer',
|
|
20
20
|
MultipleAnswer: 'multiple_answer',
|
|
21
|
-
FillInBlank: 'fill_in_blank'
|
|
21
|
+
FillInBlank: 'fill_in_blank',
|
|
22
|
+
ShortAnswer: 'short_answer',
|
|
23
|
+
Matching: 'matching',
|
|
24
|
+
Essay: 'essay'
|
|
22
25
|
};
|
|
23
26
|
/**
|
|
24
27
|
* @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
|
/**
|
|
@@ -19,7 +19,10 @@ import { GetQuizResultsQuestionsInnerStudentAnswerFromJSON, GetQuizResultsQuesti
|
|
|
19
19
|
export const GetQuizResultsQuestionsInnerQuestionTypeEnum = {
|
|
20
20
|
SingleAnswer: 'single_answer',
|
|
21
21
|
MultipleAnswer: 'multiple_answer',
|
|
22
|
-
FillInBlank: 'fill_in_blank'
|
|
22
|
+
FillInBlank: 'fill_in_blank',
|
|
23
|
+
ShortAnswer: 'short_answer',
|
|
24
|
+
Matching: 'matching',
|
|
25
|
+
Essay: 'essay'
|
|
23
26
|
};
|
|
24
27
|
/**
|
|
25
28
|
* 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;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
import { MatchingPairsInnerFromJSON, MatchingPairsInnerToJSON, } from './MatchingPairsInner';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const MatchingTypeEnum = {
|
|
19
|
+
Matching: 'matching'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Matching interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfMatching(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function MatchingFromJSON(json) {
|
|
32
|
+
return MatchingFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function MatchingFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'type': json['type'],
|
|
40
|
+
'pairs': (json['pairs'].map(MatchingPairsInnerFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function MatchingToJSON(json) {
|
|
44
|
+
return MatchingToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function MatchingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'pairs': (value['pairs'].map(MatchingPairsInnerToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 { Matching1PairsInner } from './Matching1PairsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Matching1
|
|
17
|
+
*/
|
|
18
|
+
export interface Matching1 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Matching1TypeEnum}
|
|
22
|
+
* @memberof Matching1
|
|
23
|
+
*/
|
|
24
|
+
type: Matching1TypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Matching pair selections
|
|
27
|
+
* @type {Array<Matching1PairsInner>}
|
|
28
|
+
* @memberof Matching1
|
|
29
|
+
*/
|
|
30
|
+
pairs: Array<Matching1PairsInner>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const Matching1TypeEnum: {
|
|
36
|
+
readonly Matching: "matching";
|
|
37
|
+
};
|
|
38
|
+
export type Matching1TypeEnum = typeof Matching1TypeEnum[keyof typeof Matching1TypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the Matching1 interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfMatching1(value: object): value is Matching1;
|
|
43
|
+
export declare function Matching1FromJSON(json: any): Matching1;
|
|
44
|
+
export declare function Matching1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Matching1;
|
|
45
|
+
export declare function Matching1ToJSON(json: any): Matching1;
|
|
46
|
+
export declare function Matching1ToJSONTyped(value?: Matching1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
import { Matching1PairsInnerFromJSON, Matching1PairsInnerToJSON, } from './Matching1PairsInner';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const Matching1TypeEnum = {
|
|
19
|
+
Matching: 'matching'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Matching1 interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfMatching1(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function Matching1FromJSON(json) {
|
|
32
|
+
return Matching1FromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function Matching1FromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'type': json['type'],
|
|
40
|
+
'pairs': (json['pairs'].map(Matching1PairsInnerFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function Matching1ToJSON(json) {
|
|
44
|
+
return Matching1ToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function Matching1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'pairs': (value['pairs'].map(Matching1PairsInnerToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 Matching1PairsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface Matching1PairsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Matching1PairsInner
|
|
22
|
+
*/
|
|
23
|
+
premiseId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Matching1PairsInner
|
|
28
|
+
*/
|
|
29
|
+
responseId: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Matching1PairsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMatching1PairsInner(value: object): value is Matching1PairsInner;
|
|
35
|
+
export declare function Matching1PairsInnerFromJSON(json: any): Matching1PairsInner;
|
|
36
|
+
export declare function Matching1PairsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Matching1PairsInner;
|
|
37
|
+
export declare function Matching1PairsInnerToJSON(json: any): Matching1PairsInner;
|
|
38
|
+
export declare function Matching1PairsInnerToJSONTyped(value?: Matching1PairsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 Matching1PairsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMatching1PairsInner(value) {
|
|
18
|
+
if (!('premiseId' in value) || value['premiseId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('responseId' in value) || value['responseId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function Matching1PairsInnerFromJSON(json) {
|
|
25
|
+
return Matching1PairsInnerFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function Matching1PairsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'premiseId': json['premise_id'],
|
|
33
|
+
'responseId': json['response_id'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function Matching1PairsInnerToJSON(json) {
|
|
37
|
+
return Matching1PairsInnerToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function Matching1PairsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'premise_id': value['premiseId'],
|
|
45
|
+
'response_id': value['responseId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 MatchingPairsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface MatchingPairsInner {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the premise (left side)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MatchingPairsInner
|
|
22
|
+
*/
|
|
23
|
+
premiseId: number;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the response (right side)
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MatchingPairsInner
|
|
28
|
+
*/
|
|
29
|
+
responseId: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MatchingPairsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMatchingPairsInner(value: object): value is MatchingPairsInner;
|
|
35
|
+
export declare function MatchingPairsInnerFromJSON(json: any): MatchingPairsInner;
|
|
36
|
+
export declare function MatchingPairsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchingPairsInner;
|
|
37
|
+
export declare function MatchingPairsInnerToJSON(json: any): MatchingPairsInner;
|
|
38
|
+
export declare function MatchingPairsInnerToJSONTyped(value?: MatchingPairsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 MatchingPairsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMatchingPairsInner(value) {
|
|
18
|
+
if (!('premiseId' in value) || value['premiseId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('responseId' in value) || value['responseId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function MatchingPairsInnerFromJSON(json) {
|
|
25
|
+
return MatchingPairsInnerFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function MatchingPairsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'premiseId': json['premise_id'],
|
|
33
|
+
'responseId': json['response_id'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function MatchingPairsInnerToJSON(json) {
|
|
37
|
+
return MatchingPairsInnerToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function MatchingPairsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'premise_id': value['premiseId'],
|
|
45
|
+
'response_id': value['responseId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface PostQuestion {
|
|
|
23
23
|
*/
|
|
24
24
|
questionText: string;
|
|
25
25
|
/**
|
|
26
|
-
* Type of question
|
|
26
|
+
* Type of question
|
|
27
27
|
* @type {PostQuestionQuestionTypeEnum}
|
|
28
28
|
* @memberof PostQuestion
|
|
29
29
|
*/
|
|
@@ -84,6 +84,9 @@ export declare const PostQuestionQuestionTypeEnum: {
|
|
|
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 PostQuestionQuestionTypeEnum = typeof PostQuestionQuestionTypeEnum[keyof typeof PostQuestionQuestionTypeEnum];
|
|
89
92
|
/**
|
|
@@ -18,7 +18,10 @@ import { PostQuestionAnswerChoicesInnerFromJSON, PostQuestionAnswerChoicesInnerT
|
|
|
18
18
|
export const PostQuestionQuestionTypeEnum = {
|
|
19
19
|
SingleAnswer: 'single_answer',
|
|
20
20
|
MultipleAnswer: 'multiple_answer',
|
|
21
|
-
FillInBlank: 'fill_in_blank'
|
|
21
|
+
FillInBlank: 'fill_in_blank',
|
|
22
|
+
ShortAnswer: 'short_answer',
|
|
23
|
+
Matching: 'matching',
|
|
24
|
+
Essay: 'essay'
|
|
22
25
|
};
|
|
23
26
|
/**
|
|
24
27
|
* @export
|
|
@@ -72,6 +72,9 @@ export declare const PostQuizAttemptQuestionsInnerQuestionTypeEnum: {
|
|
|
72
72
|
readonly SingleAnswer: "single_answer";
|
|
73
73
|
readonly MultipleAnswer: "multiple_answer";
|
|
74
74
|
readonly FillInBlank: "fill_in_blank";
|
|
75
|
+
readonly ShortAnswer: "short_answer";
|
|
76
|
+
readonly Matching: "matching";
|
|
77
|
+
readonly Essay: "essay";
|
|
75
78
|
};
|
|
76
79
|
export type PostQuizAttemptQuestionsInnerQuestionTypeEnum = typeof PostQuizAttemptQuestionsInnerQuestionTypeEnum[keyof typeof PostQuizAttemptQuestionsInnerQuestionTypeEnum];
|
|
77
80
|
/**
|
|
@@ -18,7 +18,10 @@ import { PostQuizAttemptQuestionsInnerAnswerChoicesInnerFromJSON, PostQuizAttemp
|
|
|
18
18
|
export const PostQuizAttemptQuestionsInnerQuestionTypeEnum = {
|
|
19
19
|
SingleAnswer: 'single_answer',
|
|
20
20
|
MultipleAnswer: 'multiple_answer',
|
|
21
|
-
FillInBlank: 'fill_in_blank'
|
|
21
|
+
FillInBlank: 'fill_in_blank',
|
|
22
|
+
ShortAnswer: 'short_answer',
|
|
23
|
+
Matching: 'matching',
|
|
24
|
+
Essay: 'essay'
|
|
22
25
|
};
|
|
23
26
|
/**
|
|
24
27
|
* Check if a given object implements the PostQuizAttemptQuestionsInner interface.
|
|
@@ -9,16 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Essay1 } from './Essay1';
|
|
12
13
|
import type { FillInBlank1 } from './FillInBlank1';
|
|
14
|
+
import type { Matching1 } from './Matching1';
|
|
13
15
|
import type { MultipleAnswer1 } from './MultipleAnswer1';
|
|
14
16
|
import type { NoAnswer } from './NoAnswer';
|
|
17
|
+
import type { ShortAnswer1 } from './ShortAnswer1';
|
|
15
18
|
import type { SingleAnswer } from './SingleAnswer';
|
|
16
19
|
/**
|
|
17
20
|
* @type PostQuizAttemptSubmitFinalAnswersInnerAnswer
|
|
18
21
|
* Final answer for this question
|
|
19
22
|
* @export
|
|
20
23
|
*/
|
|
21
|
-
export type PostQuizAttemptSubmitFinalAnswersInnerAnswer = FillInBlank1 | MultipleAnswer1 | NoAnswer | SingleAnswer;
|
|
24
|
+
export type PostQuizAttemptSubmitFinalAnswersInnerAnswer = Essay1 | FillInBlank1 | Matching1 | MultipleAnswer1 | NoAnswer | ShortAnswer1 | SingleAnswer;
|
|
22
25
|
export declare function PostQuizAttemptSubmitFinalAnswersInnerAnswerFromJSON(json: any): PostQuizAttemptSubmitFinalAnswersInnerAnswer;
|
|
23
26
|
export declare function PostQuizAttemptSubmitFinalAnswersInnerAnswerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostQuizAttemptSubmitFinalAnswersInnerAnswer;
|
|
24
27
|
export declare function PostQuizAttemptSubmitFinalAnswersInnerAnswerToJSON(json: any): any;
|
|
@@ -11,9 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { instanceOfEssay1, Essay1FromJSONTyped, Essay1ToJSON, } from './Essay1';
|
|
14
15
|
import { instanceOfFillInBlank1, FillInBlank1FromJSONTyped, FillInBlank1ToJSON, } from './FillInBlank1';
|
|
16
|
+
import { instanceOfMatching1, Matching1FromJSONTyped, Matching1ToJSON, } from './Matching1';
|
|
15
17
|
import { instanceOfMultipleAnswer1, MultipleAnswer1FromJSONTyped, MultipleAnswer1ToJSON, } from './MultipleAnswer1';
|
|
16
18
|
import { instanceOfNoAnswer, NoAnswerFromJSONTyped, NoAnswerToJSON, } from './NoAnswer';
|
|
19
|
+
import { instanceOfShortAnswer1, ShortAnswer1FromJSONTyped, ShortAnswer1ToJSON, } from './ShortAnswer1';
|
|
17
20
|
import { instanceOfSingleAnswer, SingleAnswerFromJSONTyped, SingleAnswerToJSON, } from './SingleAnswer';
|
|
18
21
|
export function PostQuizAttemptSubmitFinalAnswersInnerAnswerFromJSON(json) {
|
|
19
22
|
return PostQuizAttemptSubmitFinalAnswersInnerAnswerFromJSONTyped(json, false);
|
|
@@ -25,15 +28,24 @@ export function PostQuizAttemptSubmitFinalAnswersInnerAnswerFromJSONTyped(json,
|
|
|
25
28
|
if (typeof json !== 'object') {
|
|
26
29
|
return json;
|
|
27
30
|
}
|
|
31
|
+
if (instanceOfEssay1(json)) {
|
|
32
|
+
return Essay1FromJSONTyped(json, true);
|
|
33
|
+
}
|
|
28
34
|
if (instanceOfFillInBlank1(json)) {
|
|
29
35
|
return FillInBlank1FromJSONTyped(json, true);
|
|
30
36
|
}
|
|
37
|
+
if (instanceOfMatching1(json)) {
|
|
38
|
+
return Matching1FromJSONTyped(json, true);
|
|
39
|
+
}
|
|
31
40
|
if (instanceOfMultipleAnswer1(json)) {
|
|
32
41
|
return MultipleAnswer1FromJSONTyped(json, true);
|
|
33
42
|
}
|
|
34
43
|
if (instanceOfNoAnswer(json)) {
|
|
35
44
|
return NoAnswerFromJSONTyped(json, true);
|
|
36
45
|
}
|
|
46
|
+
if (instanceOfShortAnswer1(json)) {
|
|
47
|
+
return ShortAnswer1FromJSONTyped(json, true);
|
|
48
|
+
}
|
|
37
49
|
if (instanceOfSingleAnswer(json)) {
|
|
38
50
|
return SingleAnswerFromJSONTyped(json, true);
|
|
39
51
|
}
|
|
@@ -49,15 +61,24 @@ export function PostQuizAttemptSubmitFinalAnswersInnerAnswerToJSONTyped(value, i
|
|
|
49
61
|
if (typeof value !== 'object') {
|
|
50
62
|
return value;
|
|
51
63
|
}
|
|
64
|
+
if (instanceOfEssay1(value)) {
|
|
65
|
+
return Essay1ToJSON(value);
|
|
66
|
+
}
|
|
52
67
|
if (instanceOfFillInBlank1(value)) {
|
|
53
68
|
return FillInBlank1ToJSON(value);
|
|
54
69
|
}
|
|
70
|
+
if (instanceOfMatching1(value)) {
|
|
71
|
+
return Matching1ToJSON(value);
|
|
72
|
+
}
|
|
55
73
|
if (instanceOfMultipleAnswer1(value)) {
|
|
56
74
|
return MultipleAnswer1ToJSON(value);
|
|
57
75
|
}
|
|
58
76
|
if (instanceOfNoAnswer(value)) {
|
|
59
77
|
return NoAnswerToJSON(value);
|
|
60
78
|
}
|
|
79
|
+
if (instanceOfShortAnswer1(value)) {
|
|
80
|
+
return ShortAnswer1ToJSON(value);
|
|
81
|
+
}
|
|
61
82
|
if (instanceOfSingleAnswer(value)) {
|
|
62
83
|
return SingleAnswerToJSON(value);
|
|
63
84
|
}
|
|
@@ -80,6 +80,9 @@ export declare const PostQuizCriteriaCriteriaInnerQuestionTypeEnum: {
|
|
|
80
80
|
readonly SingleAnswer: "single_answer";
|
|
81
81
|
readonly MultipleAnswer: "multiple_answer";
|
|
82
82
|
readonly FillInBlank: "fill_in_blank";
|
|
83
|
+
readonly ShortAnswer: "short_answer";
|
|
84
|
+
readonly Matching: "matching";
|
|
85
|
+
readonly Essay: "essay";
|
|
83
86
|
};
|
|
84
87
|
export type PostQuizCriteriaCriteriaInnerQuestionTypeEnum = typeof PostQuizCriteriaCriteriaInnerQuestionTypeEnum[keyof typeof PostQuizCriteriaCriteriaInnerQuestionTypeEnum];
|
|
85
88
|
/**
|
|
@@ -25,7 +25,10 @@ export const PostQuizCriteriaCriteriaInnerDifficultyLevelEnum = {
|
|
|
25
25
|
export const PostQuizCriteriaCriteriaInnerQuestionTypeEnum = {
|
|
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 PostQuizCriteriaCriteriaInner interface.
|