@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.
Files changed (162) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +12 -2
  3. package/dist/apis/QuizApi.d.ts +20 -1
  4. package/dist/apis/QuizApi.js +49 -0
  5. package/dist/esm/apis/QuizApi.d.ts +20 -1
  6. package/dist/esm/apis/QuizApi.js +50 -1
  7. package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +3 -0
  8. package/dist/esm/models/CriteriaBasedSelectionCriteria.js +4 -1
  9. package/dist/esm/models/Essay.d.ts +45 -0
  10. package/dist/esm/models/Essay.js +53 -0
  11. package/dist/esm/models/Essay1.d.ts +45 -0
  12. package/dist/esm/models/Essay1.js +53 -0
  13. package/dist/esm/models/GetCourseExport.d.ts +19 -7
  14. package/dist/esm/models/GetCourseExport.js +12 -4
  15. package/dist/esm/models/GetQuestion.d.ts +4 -1
  16. package/dist/esm/models/GetQuestion.js +4 -1
  17. package/dist/esm/models/GetQuestionListFilters.d.ts +3 -0
  18. package/dist/esm/models/GetQuestionListFilters.js +4 -1
  19. package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +3 -0
  20. package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +4 -1
  21. package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +3 -0
  22. package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +4 -1
  23. package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +3 -0
  24. package/dist/esm/models/GetQuizAttemptQuestionsInner.js +4 -1
  25. package/dist/esm/models/GetQuizCriteriaItem.d.ts +3 -0
  26. package/dist/esm/models/GetQuizCriteriaItem.js +4 -1
  27. package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +3 -0
  28. package/dist/esm/models/GetQuizCriteriaListItemsInner.js +4 -1
  29. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +3 -0
  30. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +4 -1
  31. package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +3 -0
  32. package/dist/esm/models/GetQuizResultsQuestionsInner.js +4 -1
  33. package/dist/esm/models/Matching.d.ts +46 -0
  34. package/dist/esm/models/Matching.js +54 -0
  35. package/dist/esm/models/Matching1.d.ts +46 -0
  36. package/dist/esm/models/Matching1.js +54 -0
  37. package/dist/esm/models/Matching1PairsInner.d.ts +38 -0
  38. package/dist/esm/models/Matching1PairsInner.js +47 -0
  39. package/dist/esm/models/MatchingPairsInner.d.ts +38 -0
  40. package/dist/esm/models/MatchingPairsInner.js +47 -0
  41. package/dist/esm/models/PostCourseExport.d.ts +12 -6
  42. package/dist/esm/models/PostCourseExport.js +8 -4
  43. package/dist/esm/models/PostQuestion.d.ts +4 -1
  44. package/dist/esm/models/PostQuestion.js +4 -1
  45. package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +3 -0
  46. package/dist/esm/models/PostQuizAttemptQuestionsInner.js +4 -1
  47. package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +4 -1
  48. package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +21 -0
  49. package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +3 -0
  50. package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +4 -1
  51. package/dist/esm/models/PutQuestion.d.ts +4 -1
  52. package/dist/esm/models/PutQuestion.js +4 -1
  53. package/dist/esm/models/PutQuizAnswerAnswer.d.ts +4 -1
  54. package/dist/esm/models/PutQuizAnswerAnswer.js +21 -0
  55. package/dist/esm/models/PutQuizAnswerGrade.d.ts +38 -0
  56. package/dist/esm/models/PutQuizAnswerGrade.js +45 -0
  57. package/dist/esm/models/ShortAnswer.d.ts +45 -0
  58. package/dist/esm/models/ShortAnswer.js +53 -0
  59. package/dist/esm/models/ShortAnswer1.d.ts +45 -0
  60. package/dist/esm/models/ShortAnswer1.js +53 -0
  61. package/dist/esm/models/index.d.ts +9 -0
  62. package/dist/esm/models/index.js +9 -0
  63. package/dist/models/CriteriaBasedSelectionCriteria.d.ts +3 -0
  64. package/dist/models/CriteriaBasedSelectionCriteria.js +4 -1
  65. package/dist/models/Essay.d.ts +45 -0
  66. package/dist/models/Essay.js +61 -0
  67. package/dist/models/Essay1.d.ts +45 -0
  68. package/dist/models/Essay1.js +61 -0
  69. package/dist/models/GetCourseExport.d.ts +19 -7
  70. package/dist/models/GetCourseExport.js +13 -5
  71. package/dist/models/GetQuestion.d.ts +4 -1
  72. package/dist/models/GetQuestion.js +4 -1
  73. package/dist/models/GetQuestionListFilters.d.ts +3 -0
  74. package/dist/models/GetQuestionListFilters.js +4 -1
  75. package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +3 -0
  76. package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +4 -1
  77. package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +3 -0
  78. package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +4 -1
  79. package/dist/models/GetQuizAttemptQuestionsInner.d.ts +3 -0
  80. package/dist/models/GetQuizAttemptQuestionsInner.js +4 -1
  81. package/dist/models/GetQuizCriteriaItem.d.ts +3 -0
  82. package/dist/models/GetQuizCriteriaItem.js +4 -1
  83. package/dist/models/GetQuizCriteriaListItemsInner.d.ts +3 -0
  84. package/dist/models/GetQuizCriteriaListItemsInner.js +4 -1
  85. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +3 -0
  86. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +4 -1
  87. package/dist/models/GetQuizResultsQuestionsInner.d.ts +3 -0
  88. package/dist/models/GetQuizResultsQuestionsInner.js +4 -1
  89. package/dist/models/Matching.d.ts +46 -0
  90. package/dist/models/Matching.js +62 -0
  91. package/dist/models/Matching1.d.ts +46 -0
  92. package/dist/models/Matching1.js +62 -0
  93. package/dist/models/Matching1PairsInner.d.ts +38 -0
  94. package/dist/models/Matching1PairsInner.js +54 -0
  95. package/dist/models/MatchingPairsInner.d.ts +38 -0
  96. package/dist/models/MatchingPairsInner.js +54 -0
  97. package/dist/models/PostCourseExport.d.ts +12 -6
  98. package/dist/models/PostCourseExport.js +9 -5
  99. package/dist/models/PostQuestion.d.ts +4 -1
  100. package/dist/models/PostQuestion.js +4 -1
  101. package/dist/models/PostQuizAttemptQuestionsInner.d.ts +3 -0
  102. package/dist/models/PostQuizAttemptQuestionsInner.js +4 -1
  103. package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +4 -1
  104. package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +21 -0
  105. package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +3 -0
  106. package/dist/models/PostQuizCriteriaCriteriaInner.js +4 -1
  107. package/dist/models/PutQuestion.d.ts +4 -1
  108. package/dist/models/PutQuestion.js +4 -1
  109. package/dist/models/PutQuizAnswerAnswer.d.ts +4 -1
  110. package/dist/models/PutQuizAnswerAnswer.js +21 -0
  111. package/dist/models/PutQuizAnswerGrade.d.ts +38 -0
  112. package/dist/models/PutQuizAnswerGrade.js +52 -0
  113. package/dist/models/ShortAnswer.d.ts +45 -0
  114. package/dist/models/ShortAnswer.js +61 -0
  115. package/dist/models/ShortAnswer1.d.ts +45 -0
  116. package/dist/models/ShortAnswer1.js +61 -0
  117. package/dist/models/index.d.ts +9 -0
  118. package/dist/models/index.js +9 -0
  119. package/docs/Essay.md +36 -0
  120. package/docs/Essay1.md +36 -0
  121. package/docs/GetCourseExport.md +7 -3
  122. package/docs/Matching.md +36 -0
  123. package/docs/Matching1.md +36 -0
  124. package/docs/Matching1PairsInner.md +36 -0
  125. package/docs/MatchingPairsInner.md +36 -0
  126. package/docs/PostCourseExport.md +5 -3
  127. package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +2 -0
  128. package/docs/PutQuizAnswerAnswer.md +2 -0
  129. package/docs/PutQuizAnswerGrade.md +36 -0
  130. package/docs/QuizApi.md +77 -0
  131. package/docs/ShortAnswer.md +36 -0
  132. package/docs/ShortAnswer1.md +36 -0
  133. package/package.json +1 -1
  134. package/src/apis/QuizApi.ts +73 -0
  135. package/src/models/CriteriaBasedSelectionCriteria.ts +4 -1
  136. package/src/models/Essay.ts +85 -0
  137. package/src/models/Essay1.ts +85 -0
  138. package/src/models/GetCourseExport.ts +28 -10
  139. package/src/models/GetQuestion.ts +5 -2
  140. package/src/models/GetQuestionListFilters.ts +4 -1
  141. package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.ts +4 -1
  142. package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +4 -1
  143. package/src/models/GetQuizAttemptQuestionsInner.ts +4 -1
  144. package/src/models/GetQuizCriteriaItem.ts +4 -1
  145. package/src/models/GetQuizCriteriaListItemsInner.ts +4 -1
  146. package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +4 -1
  147. package/src/models/GetQuizResultsQuestionsInner.ts +4 -1
  148. package/src/models/Matching.ts +93 -0
  149. package/src/models/Matching1.ts +93 -0
  150. package/src/models/Matching1PairsInner.ts +75 -0
  151. package/src/models/MatchingPairsInner.ts +75 -0
  152. package/src/models/PostCourseExport.ts +18 -9
  153. package/src/models/PostQuestion.ts +5 -2
  154. package/src/models/PostQuizAttemptQuestionsInner.ts +4 -1
  155. package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +40 -1
  156. package/src/models/PostQuizCriteriaCriteriaInner.ts +4 -1
  157. package/src/models/PutQuestion.ts +5 -2
  158. package/src/models/PutQuizAnswerAnswer.ts +40 -1
  159. package/src/models/PutQuizAnswerGrade.ts +74 -0
  160. package/src/models/ShortAnswer.ts +85 -0
  161. package/src/models/ShortAnswer1.ts +85 -0
  162. package/src/models/index.ts +9 -0
@@ -12,6 +12,13 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+ import type { Essay } from './Essay';
16
+ import {
17
+ instanceOfEssay,
18
+ EssayFromJSON,
19
+ EssayFromJSONTyped,
20
+ EssayToJSON,
21
+ } from './Essay';
15
22
  import type { FillInBlank } from './FillInBlank';
16
23
  import {
17
24
  instanceOfFillInBlank,
@@ -19,6 +26,13 @@ import {
19
26
  FillInBlankFromJSONTyped,
20
27
  FillInBlankToJSON,
21
28
  } from './FillInBlank';
29
+ import type { Matching } from './Matching';
30
+ import {
31
+ instanceOfMatching,
32
+ MatchingFromJSON,
33
+ MatchingFromJSONTyped,
34
+ MatchingToJSON,
35
+ } from './Matching';
22
36
  import type { MultipleAnswer } from './MultipleAnswer';
23
37
  import {
24
38
  instanceOfMultipleAnswer,
@@ -26,6 +40,13 @@ import {
26
40
  MultipleAnswerFromJSONTyped,
27
41
  MultipleAnswerToJSON,
28
42
  } from './MultipleAnswer';
43
+ import type { ShortAnswer } from './ShortAnswer';
44
+ import {
45
+ instanceOfShortAnswer,
46
+ ShortAnswerFromJSON,
47
+ ShortAnswerFromJSONTyped,
48
+ ShortAnswerToJSON,
49
+ } from './ShortAnswer';
29
50
  import type { SingleAnswer } from './SingleAnswer';
30
51
  import {
31
52
  instanceOfSingleAnswer,
@@ -39,7 +60,7 @@ import {
39
60
  * Answer based on question type
40
61
  * @export
41
62
  */
42
- export type PutQuizAnswerAnswer = FillInBlank | MultipleAnswer | SingleAnswer;
63
+ export type PutQuizAnswerAnswer = Essay | FillInBlank | Matching | MultipleAnswer | ShortAnswer | SingleAnswer;
43
64
 
44
65
  export function PutQuizAnswerAnswerFromJSON(json: any): PutQuizAnswerAnswer {
45
66
  return PutQuizAnswerAnswerFromJSONTyped(json, false);
@@ -52,12 +73,21 @@ export function PutQuizAnswerAnswerFromJSONTyped(json: any, ignoreDiscriminator:
52
73
  if (typeof json !== 'object') {
53
74
  return json;
54
75
  }
76
+ if (instanceOfEssay(json)) {
77
+ return EssayFromJSONTyped(json, true);
78
+ }
55
79
  if (instanceOfFillInBlank(json)) {
56
80
  return FillInBlankFromJSONTyped(json, true);
57
81
  }
82
+ if (instanceOfMatching(json)) {
83
+ return MatchingFromJSONTyped(json, true);
84
+ }
58
85
  if (instanceOfMultipleAnswer(json)) {
59
86
  return MultipleAnswerFromJSONTyped(json, true);
60
87
  }
88
+ if (instanceOfShortAnswer(json)) {
89
+ return ShortAnswerFromJSONTyped(json, true);
90
+ }
61
91
  if (instanceOfSingleAnswer(json)) {
62
92
  return SingleAnswerFromJSONTyped(json, true);
63
93
  }
@@ -75,12 +105,21 @@ export function PutQuizAnswerAnswerToJSONTyped(value?: PutQuizAnswerAnswer | nul
75
105
  if (typeof value !== 'object') {
76
106
  return value;
77
107
  }
108
+ if (instanceOfEssay(value)) {
109
+ return EssayToJSON(value as Essay);
110
+ }
78
111
  if (instanceOfFillInBlank(value)) {
79
112
  return FillInBlankToJSON(value as FillInBlank);
80
113
  }
114
+ if (instanceOfMatching(value)) {
115
+ return MatchingToJSON(value as Matching);
116
+ }
81
117
  if (instanceOfMultipleAnswer(value)) {
82
118
  return MultipleAnswerToJSON(value as MultipleAnswer);
83
119
  }
120
+ if (instanceOfShortAnswer(value)) {
121
+ return ShortAnswerToJSON(value as ShortAnswer);
122
+ }
84
123
  if (instanceOfSingleAnswer(value)) {
85
124
  return SingleAnswerToJSON(value as SingleAnswer);
86
125
  }
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PutQuizAnswerGrade
20
+ */
21
+ export interface PutQuizAnswerGrade {
22
+ /**
23
+ * Points to award for this answer (0 to max points for the question)
24
+ * @type {number}
25
+ * @memberof PutQuizAnswerGrade
26
+ */
27
+ pointsEarned: number;
28
+ /**
29
+ * Optional instructor feedback or comments
30
+ * @type {string}
31
+ * @memberof PutQuizAnswerGrade
32
+ */
33
+ feedback?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PutQuizAnswerGrade interface.
38
+ */
39
+ export function instanceOfPutQuizAnswerGrade(value: object): value is PutQuizAnswerGrade {
40
+ if (!('pointsEarned' in value) || value['pointsEarned'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function PutQuizAnswerGradeFromJSON(json: any): PutQuizAnswerGrade {
45
+ return PutQuizAnswerGradeFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function PutQuizAnswerGradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutQuizAnswerGrade {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'pointsEarned': json['points_earned'],
55
+ 'feedback': json['feedback'] == null ? undefined : json['feedback'],
56
+ };
57
+ }
58
+
59
+ export function PutQuizAnswerGradeToJSON(json: any): PutQuizAnswerGrade {
60
+ return PutQuizAnswerGradeToJSONTyped(json, false);
61
+ }
62
+
63
+ export function PutQuizAnswerGradeToJSONTyped(value?: PutQuizAnswerGrade | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'points_earned': value['pointsEarned'],
71
+ 'feedback': value['feedback'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ShortAnswer
20
+ */
21
+ export interface ShortAnswer {
22
+ /**
23
+ *
24
+ * @type {ShortAnswerTypeEnum}
25
+ * @memberof ShortAnswer
26
+ */
27
+ type: ShortAnswerTypeEnum;
28
+ /**
29
+ * Short text answer
30
+ * @type {string}
31
+ * @memberof ShortAnswer
32
+ */
33
+ textAnswer: string;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const ShortAnswerTypeEnum = {
41
+ ShortAnswer: 'short_answer'
42
+ } as const;
43
+ export type ShortAnswerTypeEnum = typeof ShortAnswerTypeEnum[keyof typeof ShortAnswerTypeEnum];
44
+
45
+
46
+ /**
47
+ * Check if a given object implements the ShortAnswer interface.
48
+ */
49
+ export function instanceOfShortAnswer(value: object): value is ShortAnswer {
50
+ if (!('type' in value) || value['type'] === undefined) return false;
51
+ if (!('textAnswer' in value) || value['textAnswer'] === undefined) return false;
52
+ return true;
53
+ }
54
+
55
+ export function ShortAnswerFromJSON(json: any): ShortAnswer {
56
+ return ShortAnswerFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function ShortAnswerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShortAnswer {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'type': json['type'],
66
+ 'textAnswer': json['text_answer'],
67
+ };
68
+ }
69
+
70
+ export function ShortAnswerToJSON(json: any): ShortAnswer {
71
+ return ShortAnswerToJSONTyped(json, false);
72
+ }
73
+
74
+ export function ShortAnswerToJSONTyped(value?: ShortAnswer | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'type': value['type'],
82
+ 'text_answer': value['textAnswer'],
83
+ };
84
+ }
85
+
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ShortAnswer1
20
+ */
21
+ export interface ShortAnswer1 {
22
+ /**
23
+ *
24
+ * @type {ShortAnswer1TypeEnum}
25
+ * @memberof ShortAnswer1
26
+ */
27
+ type: ShortAnswer1TypeEnum;
28
+ /**
29
+ * Short text answer
30
+ * @type {string}
31
+ * @memberof ShortAnswer1
32
+ */
33
+ textAnswer: string;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const ShortAnswer1TypeEnum = {
41
+ ShortAnswer: 'short_answer'
42
+ } as const;
43
+ export type ShortAnswer1TypeEnum = typeof ShortAnswer1TypeEnum[keyof typeof ShortAnswer1TypeEnum];
44
+
45
+
46
+ /**
47
+ * Check if a given object implements the ShortAnswer1 interface.
48
+ */
49
+ export function instanceOfShortAnswer1(value: object): value is ShortAnswer1 {
50
+ if (!('type' in value) || value['type'] === undefined) return false;
51
+ if (!('textAnswer' in value) || value['textAnswer'] === undefined) return false;
52
+ return true;
53
+ }
54
+
55
+ export function ShortAnswer1FromJSON(json: any): ShortAnswer1 {
56
+ return ShortAnswer1FromJSONTyped(json, false);
57
+ }
58
+
59
+ export function ShortAnswer1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ShortAnswer1 {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'type': json['type'],
66
+ 'textAnswer': json['text_answer'],
67
+ };
68
+ }
69
+
70
+ export function ShortAnswer1ToJSON(json: any): ShortAnswer1 {
71
+ return ShortAnswer1ToJSONTyped(json, false);
72
+ }
73
+
74
+ export function ShortAnswer1ToJSONTyped(value?: ShortAnswer1 | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'type': value['type'],
82
+ 'text_answer': value['textAnswer'],
83
+ };
84
+ }
85
+
@@ -3,6 +3,8 @@
3
3
  export * from './CriteriaBasedSelection';
4
4
  export * from './CriteriaBasedSelectionCriteria';
5
5
  export * from './CriteriaBasedSelectionDistribution';
6
+ export * from './Essay';
7
+ export * from './Essay1';
6
8
  export * from './FillInBlank';
7
9
  export * from './FillInBlank1';
8
10
  export * from './GetContent';
@@ -130,6 +132,10 @@ export * from './LoginResAuthData';
130
132
  export * from './LoginResUserData';
131
133
  export * from './LoginResUserDataSelectedPortal';
132
134
  export * from './ManualSelection';
135
+ export * from './Matching';
136
+ export * from './Matching1';
137
+ export * from './Matching1PairsInner';
138
+ export * from './MatchingPairsInner';
133
139
  export * from './MediaContent';
134
140
  export * from './MultipleAnswer';
135
141
  export * from './MultipleAnswer1';
@@ -182,6 +188,7 @@ export * from './PutQuestionAnswerChoicesInner';
182
188
  export * from './PutQuiz';
183
189
  export * from './PutQuizAnswer';
184
190
  export * from './PutQuizAnswerAnswer';
191
+ export * from './PutQuizAnswerGrade';
185
192
  export * from './PutQuizSettings';
186
193
  export * from './PutRole';
187
194
  export * from './PutRolePermissions';
@@ -199,4 +206,6 @@ export * from './ScormSessionDataStatus';
199
206
  export * from './ScormSessionDataTime';
200
207
  export * from './ScormSetValueRequest';
201
208
  export * from './ScormSetValueResponse';
209
+ export * from './ShortAnswer';
210
+ export * from './ShortAnswer1';
202
211
  export * from './SingleAnswer';