@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
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.MatchingTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfMatching = instanceOfMatching;
|
|
18
|
+
exports.MatchingFromJSON = MatchingFromJSON;
|
|
19
|
+
exports.MatchingFromJSONTyped = MatchingFromJSONTyped;
|
|
20
|
+
exports.MatchingToJSON = MatchingToJSON;
|
|
21
|
+
exports.MatchingToJSONTyped = MatchingToJSONTyped;
|
|
22
|
+
const MatchingPairsInner_1 = require("./MatchingPairsInner");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.MatchingTypeEnum = {
|
|
27
|
+
Matching: 'matching'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the Matching interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfMatching(value) {
|
|
33
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function MatchingFromJSON(json) {
|
|
40
|
+
return MatchingFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function MatchingFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'pairs': (json['pairs'].map(MatchingPairsInner_1.MatchingPairsInnerFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function MatchingToJSON(json) {
|
|
52
|
+
return MatchingToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function MatchingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'type': value['type'],
|
|
60
|
+
'pairs': (value['pairs'].map(MatchingPairsInner_1.MatchingPairsInnerToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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,62 @@
|
|
|
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.Matching1TypeEnum = void 0;
|
|
17
|
+
exports.instanceOfMatching1 = instanceOfMatching1;
|
|
18
|
+
exports.Matching1FromJSON = Matching1FromJSON;
|
|
19
|
+
exports.Matching1FromJSONTyped = Matching1FromJSONTyped;
|
|
20
|
+
exports.Matching1ToJSON = Matching1ToJSON;
|
|
21
|
+
exports.Matching1ToJSONTyped = Matching1ToJSONTyped;
|
|
22
|
+
const Matching1PairsInner_1 = require("./Matching1PairsInner");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.Matching1TypeEnum = {
|
|
27
|
+
Matching: 'matching'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the Matching1 interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfMatching1(value) {
|
|
33
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function Matching1FromJSON(json) {
|
|
40
|
+
return Matching1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function Matching1FromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'pairs': (json['pairs'].map(Matching1PairsInner_1.Matching1PairsInnerFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function Matching1ToJSON(json) {
|
|
52
|
+
return Matching1ToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function Matching1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'type': value['type'],
|
|
60
|
+
'pairs': (value['pairs'].map(Matching1PairsInner_1.Matching1PairsInnerToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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,54 @@
|
|
|
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.instanceOfMatching1PairsInner = instanceOfMatching1PairsInner;
|
|
17
|
+
exports.Matching1PairsInnerFromJSON = Matching1PairsInnerFromJSON;
|
|
18
|
+
exports.Matching1PairsInnerFromJSONTyped = Matching1PairsInnerFromJSONTyped;
|
|
19
|
+
exports.Matching1PairsInnerToJSON = Matching1PairsInnerToJSON;
|
|
20
|
+
exports.Matching1PairsInnerToJSONTyped = Matching1PairsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Matching1PairsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMatching1PairsInner(value) {
|
|
25
|
+
if (!('premiseId' in value) || value['premiseId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('responseId' in value) || value['responseId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function Matching1PairsInnerFromJSON(json) {
|
|
32
|
+
return Matching1PairsInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function Matching1PairsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'premiseId': json['premise_id'],
|
|
40
|
+
'responseId': json['response_id'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function Matching1PairsInnerToJSON(json) {
|
|
44
|
+
return Matching1PairsInnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function Matching1PairsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'premise_id': value['premiseId'],
|
|
52
|
+
'response_id': value['responseId'],
|
|
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 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;
|