@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
@@ -17,8 +17,11 @@ exports.PutQuizAnswerAnswerFromJSON = PutQuizAnswerAnswerFromJSON;
17
17
  exports.PutQuizAnswerAnswerFromJSONTyped = PutQuizAnswerAnswerFromJSONTyped;
18
18
  exports.PutQuizAnswerAnswerToJSON = PutQuizAnswerAnswerToJSON;
19
19
  exports.PutQuizAnswerAnswerToJSONTyped = PutQuizAnswerAnswerToJSONTyped;
20
+ const Essay_1 = require("./Essay");
20
21
  const FillInBlank_1 = require("./FillInBlank");
22
+ const Matching_1 = require("./Matching");
21
23
  const MultipleAnswer_1 = require("./MultipleAnswer");
24
+ const ShortAnswer_1 = require("./ShortAnswer");
22
25
  const SingleAnswer_1 = require("./SingleAnswer");
23
26
  function PutQuizAnswerAnswerFromJSON(json) {
24
27
  return PutQuizAnswerAnswerFromJSONTyped(json, false);
@@ -30,12 +33,21 @@ function PutQuizAnswerAnswerFromJSONTyped(json, ignoreDiscriminator) {
30
33
  if (typeof json !== 'object') {
31
34
  return json;
32
35
  }
36
+ if ((0, Essay_1.instanceOfEssay)(json)) {
37
+ return (0, Essay_1.EssayFromJSONTyped)(json, true);
38
+ }
33
39
  if ((0, FillInBlank_1.instanceOfFillInBlank)(json)) {
34
40
  return (0, FillInBlank_1.FillInBlankFromJSONTyped)(json, true);
35
41
  }
42
+ if ((0, Matching_1.instanceOfMatching)(json)) {
43
+ return (0, Matching_1.MatchingFromJSONTyped)(json, true);
44
+ }
36
45
  if ((0, MultipleAnswer_1.instanceOfMultipleAnswer)(json)) {
37
46
  return (0, MultipleAnswer_1.MultipleAnswerFromJSONTyped)(json, true);
38
47
  }
48
+ if ((0, ShortAnswer_1.instanceOfShortAnswer)(json)) {
49
+ return (0, ShortAnswer_1.ShortAnswerFromJSONTyped)(json, true);
50
+ }
39
51
  if ((0, SingleAnswer_1.instanceOfSingleAnswer)(json)) {
40
52
  return (0, SingleAnswer_1.SingleAnswerFromJSONTyped)(json, true);
41
53
  }
@@ -51,12 +63,21 @@ function PutQuizAnswerAnswerToJSONTyped(value, ignoreDiscriminator = false) {
51
63
  if (typeof value !== 'object') {
52
64
  return value;
53
65
  }
66
+ if ((0, Essay_1.instanceOfEssay)(value)) {
67
+ return (0, Essay_1.EssayToJSON)(value);
68
+ }
54
69
  if ((0, FillInBlank_1.instanceOfFillInBlank)(value)) {
55
70
  return (0, FillInBlank_1.FillInBlankToJSON)(value);
56
71
  }
72
+ if ((0, Matching_1.instanceOfMatching)(value)) {
73
+ return (0, Matching_1.MatchingToJSON)(value);
74
+ }
57
75
  if ((0, MultipleAnswer_1.instanceOfMultipleAnswer)(value)) {
58
76
  return (0, MultipleAnswer_1.MultipleAnswerToJSON)(value);
59
77
  }
78
+ if ((0, ShortAnswer_1.instanceOfShortAnswer)(value)) {
79
+ return (0, ShortAnswer_1.ShortAnswerToJSON)(value);
80
+ }
60
81
  if ((0, SingleAnswer_1.instanceOfSingleAnswer)(value)) {
61
82
  return (0, SingleAnswer_1.SingleAnswerToJSON)(value);
62
83
  }
@@ -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 PutQuizAnswerGrade
16
+ */
17
+ export interface PutQuizAnswerGrade {
18
+ /**
19
+ * Points to award for this answer (0 to max points for the question)
20
+ * @type {number}
21
+ * @memberof PutQuizAnswerGrade
22
+ */
23
+ pointsEarned: number;
24
+ /**
25
+ * Optional instructor feedback or comments
26
+ * @type {string}
27
+ * @memberof PutQuizAnswerGrade
28
+ */
29
+ feedback?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PutQuizAnswerGrade interface.
33
+ */
34
+ export declare function instanceOfPutQuizAnswerGrade(value: object): value is PutQuizAnswerGrade;
35
+ export declare function PutQuizAnswerGradeFromJSON(json: any): PutQuizAnswerGrade;
36
+ export declare function PutQuizAnswerGradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutQuizAnswerGrade;
37
+ export declare function PutQuizAnswerGradeToJSON(json: any): PutQuizAnswerGrade;
38
+ export declare function PutQuizAnswerGradeToJSONTyped(value?: PutQuizAnswerGrade | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfPutQuizAnswerGrade = instanceOfPutQuizAnswerGrade;
17
+ exports.PutQuizAnswerGradeFromJSON = PutQuizAnswerGradeFromJSON;
18
+ exports.PutQuizAnswerGradeFromJSONTyped = PutQuizAnswerGradeFromJSONTyped;
19
+ exports.PutQuizAnswerGradeToJSON = PutQuizAnswerGradeToJSON;
20
+ exports.PutQuizAnswerGradeToJSONTyped = PutQuizAnswerGradeToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PutQuizAnswerGrade interface.
23
+ */
24
+ function instanceOfPutQuizAnswerGrade(value) {
25
+ if (!('pointsEarned' in value) || value['pointsEarned'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PutQuizAnswerGradeFromJSON(json) {
30
+ return PutQuizAnswerGradeFromJSONTyped(json, false);
31
+ }
32
+ function PutQuizAnswerGradeFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pointsEarned': json['points_earned'],
38
+ 'feedback': json['feedback'] == null ? undefined : json['feedback'],
39
+ };
40
+ }
41
+ function PutQuizAnswerGradeToJSON(json) {
42
+ return PutQuizAnswerGradeToJSONTyped(json, false);
43
+ }
44
+ function PutQuizAnswerGradeToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'points_earned': value['pointsEarned'],
50
+ 'feedback': value['feedback'],
51
+ };
52
+ }
@@ -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 ShortAnswer
16
+ */
17
+ export interface ShortAnswer {
18
+ /**
19
+ *
20
+ * @type {ShortAnswerTypeEnum}
21
+ * @memberof ShortAnswer
22
+ */
23
+ type: ShortAnswerTypeEnum;
24
+ /**
25
+ * Short text answer
26
+ * @type {string}
27
+ * @memberof ShortAnswer
28
+ */
29
+ textAnswer: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ShortAnswerTypeEnum: {
35
+ readonly ShortAnswer: "short_answer";
36
+ };
37
+ export type ShortAnswerTypeEnum = typeof ShortAnswerTypeEnum[keyof typeof ShortAnswerTypeEnum];
38
+ /**
39
+ * Check if a given object implements the ShortAnswer interface.
40
+ */
41
+ export declare function instanceOfShortAnswer(value: object): value is ShortAnswer;
42
+ export declare function ShortAnswerFromJSON(json: any): ShortAnswer;
43
+ export declare function ShortAnswerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShortAnswer;
44
+ export declare function ShortAnswerToJSON(json: any): ShortAnswer;
45
+ export declare function ShortAnswerToJSONTyped(value?: ShortAnswer | 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.ShortAnswerTypeEnum = void 0;
17
+ exports.instanceOfShortAnswer = instanceOfShortAnswer;
18
+ exports.ShortAnswerFromJSON = ShortAnswerFromJSON;
19
+ exports.ShortAnswerFromJSONTyped = ShortAnswerFromJSONTyped;
20
+ exports.ShortAnswerToJSON = ShortAnswerToJSON;
21
+ exports.ShortAnswerToJSONTyped = ShortAnswerToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ShortAnswerTypeEnum = {
26
+ ShortAnswer: 'short_answer'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ShortAnswer interface.
30
+ */
31
+ function instanceOfShortAnswer(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 ShortAnswerFromJSON(json) {
39
+ return ShortAnswerFromJSONTyped(json, false);
40
+ }
41
+ function ShortAnswerFromJSONTyped(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 ShortAnswerToJSON(json) {
51
+ return ShortAnswerToJSONTyped(json, false);
52
+ }
53
+ function ShortAnswerToJSONTyped(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 ShortAnswer1
16
+ */
17
+ export interface ShortAnswer1 {
18
+ /**
19
+ *
20
+ * @type {ShortAnswer1TypeEnum}
21
+ * @memberof ShortAnswer1
22
+ */
23
+ type: ShortAnswer1TypeEnum;
24
+ /**
25
+ * Short text answer
26
+ * @type {string}
27
+ * @memberof ShortAnswer1
28
+ */
29
+ textAnswer: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ShortAnswer1TypeEnum: {
35
+ readonly ShortAnswer: "short_answer";
36
+ };
37
+ export type ShortAnswer1TypeEnum = typeof ShortAnswer1TypeEnum[keyof typeof ShortAnswer1TypeEnum];
38
+ /**
39
+ * Check if a given object implements the ShortAnswer1 interface.
40
+ */
41
+ export declare function instanceOfShortAnswer1(value: object): value is ShortAnswer1;
42
+ export declare function ShortAnswer1FromJSON(json: any): ShortAnswer1;
43
+ export declare function ShortAnswer1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ShortAnswer1;
44
+ export declare function ShortAnswer1ToJSON(json: any): ShortAnswer1;
45
+ export declare function ShortAnswer1ToJSONTyped(value?: ShortAnswer1 | 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.ShortAnswer1TypeEnum = void 0;
17
+ exports.instanceOfShortAnswer1 = instanceOfShortAnswer1;
18
+ exports.ShortAnswer1FromJSON = ShortAnswer1FromJSON;
19
+ exports.ShortAnswer1FromJSONTyped = ShortAnswer1FromJSONTyped;
20
+ exports.ShortAnswer1ToJSON = ShortAnswer1ToJSON;
21
+ exports.ShortAnswer1ToJSONTyped = ShortAnswer1ToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ShortAnswer1TypeEnum = {
26
+ ShortAnswer: 'short_answer'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ShortAnswer1 interface.
30
+ */
31
+ function instanceOfShortAnswer1(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 ShortAnswer1FromJSON(json) {
39
+ return ShortAnswer1FromJSONTyped(json, false);
40
+ }
41
+ function ShortAnswer1FromJSONTyped(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 ShortAnswer1ToJSON(json) {
51
+ return ShortAnswer1ToJSONTyped(json, false);
52
+ }
53
+ function ShortAnswer1ToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'type': value['type'],
59
+ 'text_answer': value['textAnswer'],
60
+ };
61
+ }
@@ -1,6 +1,8 @@
1
1
  export * from './CriteriaBasedSelection';
2
2
  export * from './CriteriaBasedSelectionCriteria';
3
3
  export * from './CriteriaBasedSelectionDistribution';
4
+ export * from './Essay';
5
+ export * from './Essay1';
4
6
  export * from './FillInBlank';
5
7
  export * from './FillInBlank1';
6
8
  export * from './GetContent';
@@ -128,6 +130,10 @@ export * from './LoginResAuthData';
128
130
  export * from './LoginResUserData';
129
131
  export * from './LoginResUserDataSelectedPortal';
130
132
  export * from './ManualSelection';
133
+ export * from './Matching';
134
+ export * from './Matching1';
135
+ export * from './Matching1PairsInner';
136
+ export * from './MatchingPairsInner';
131
137
  export * from './MediaContent';
132
138
  export * from './MultipleAnswer';
133
139
  export * from './MultipleAnswer1';
@@ -180,6 +186,7 @@ export * from './PutQuestionAnswerChoicesInner';
180
186
  export * from './PutQuiz';
181
187
  export * from './PutQuizAnswer';
182
188
  export * from './PutQuizAnswerAnswer';
189
+ export * from './PutQuizAnswerGrade';
183
190
  export * from './PutQuizSettings';
184
191
  export * from './PutRole';
185
192
  export * from './PutRolePermissions';
@@ -197,4 +204,6 @@ export * from './ScormSessionDataStatus';
197
204
  export * from './ScormSessionDataTime';
198
205
  export * from './ScormSetValueRequest';
199
206
  export * from './ScormSetValueResponse';
207
+ export * from './ShortAnswer';
208
+ export * from './ShortAnswer1';
200
209
  export * from './SingleAnswer';
@@ -19,6 +19,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  __exportStar(require("./CriteriaBasedSelection"), exports);
20
20
  __exportStar(require("./CriteriaBasedSelectionCriteria"), exports);
21
21
  __exportStar(require("./CriteriaBasedSelectionDistribution"), exports);
22
+ __exportStar(require("./Essay"), exports);
23
+ __exportStar(require("./Essay1"), exports);
22
24
  __exportStar(require("./FillInBlank"), exports);
23
25
  __exportStar(require("./FillInBlank1"), exports);
24
26
  __exportStar(require("./GetContent"), exports);
@@ -146,6 +148,10 @@ __exportStar(require("./LoginResAuthData"), exports);
146
148
  __exportStar(require("./LoginResUserData"), exports);
147
149
  __exportStar(require("./LoginResUserDataSelectedPortal"), exports);
148
150
  __exportStar(require("./ManualSelection"), exports);
151
+ __exportStar(require("./Matching"), exports);
152
+ __exportStar(require("./Matching1"), exports);
153
+ __exportStar(require("./Matching1PairsInner"), exports);
154
+ __exportStar(require("./MatchingPairsInner"), exports);
149
155
  __exportStar(require("./MediaContent"), exports);
150
156
  __exportStar(require("./MultipleAnswer"), exports);
151
157
  __exportStar(require("./MultipleAnswer1"), exports);
@@ -198,6 +204,7 @@ __exportStar(require("./PutQuestionAnswerChoicesInner"), exports);
198
204
  __exportStar(require("./PutQuiz"), exports);
199
205
  __exportStar(require("./PutQuizAnswer"), exports);
200
206
  __exportStar(require("./PutQuizAnswerAnswer"), exports);
207
+ __exportStar(require("./PutQuizAnswerGrade"), exports);
201
208
  __exportStar(require("./PutQuizSettings"), exports);
202
209
  __exportStar(require("./PutRole"), exports);
203
210
  __exportStar(require("./PutRolePermissions"), exports);
@@ -215,4 +222,6 @@ __exportStar(require("./ScormSessionDataStatus"), exports);
215
222
  __exportStar(require("./ScormSessionDataTime"), exports);
216
223
  __exportStar(require("./ScormSetValueRequest"), exports);
217
224
  __exportStar(require("./ScormSetValueResponse"), exports);
225
+ __exportStar(require("./ShortAnswer"), exports);
226
+ __exportStar(require("./ShortAnswer1"), exports);
218
227
  __exportStar(require("./SingleAnswer"), exports);
package/docs/Essay.md ADDED
@@ -0,0 +1,36 @@
1
+
2
+ # Essay
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `type` | string
10
+ `textAnswer` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Essay } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "type": null,
20
+ "textAnswer": null,
21
+ } satisfies Essay
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Essay
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
package/docs/Essay1.md ADDED
@@ -0,0 +1,36 @@
1
+
2
+ # Essay1
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `type` | string
10
+ `textAnswer` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Essay1 } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "type": null,
20
+ "textAnswer": null,
21
+ } satisfies Essay1
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Essay1
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -1,7 +1,7 @@
1
1
 
2
2
  # GetCourseExport
3
3
 
4
- Details of a course SCORM export
4
+ Details of a course export
5
5
 
6
6
  ## Properties
7
7
 
@@ -9,7 +9,9 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `id` | string
11
11
  `courseId` | string
12
- `scormVersion` | string
12
+ `exportType` | string
13
+ `moduleIds` | Array<string>
14
+ `createdBy` | number
13
15
  `status` | string
14
16
  `downloadUrl` | string
15
17
  `fileSize` | number
@@ -25,7 +27,9 @@ import type { GetCourseExport } from '@easyedu/js-lsm-api'
25
27
  const example = {
26
28
  "id": null,
27
29
  "courseId": null,
28
- "scormVersion": null,
30
+ "exportType": null,
31
+ "moduleIds": null,
32
+ "createdBy": null,
29
33
  "status": null,
30
34
  "downloadUrl": null,
31
35
  "fileSize": null,
@@ -0,0 +1,36 @@
1
+
2
+ # Matching
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `type` | string
10
+ `pairs` | [Array<MatchingPairsInner>](MatchingPairsInner.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Matching } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "type": null,
20
+ "pairs": null,
21
+ } satisfies Matching
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Matching
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # Matching1
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `type` | string
10
+ `pairs` | [Array<Matching1PairsInner>](Matching1PairsInner.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Matching1 } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "type": null,
20
+ "pairs": null,
21
+ } satisfies Matching1
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Matching1
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # Matching1PairsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `premiseId` | number
10
+ `responseId` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Matching1PairsInner } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "premiseId": null,
20
+ "responseId": null,
21
+ } satisfies Matching1PairsInner
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Matching1PairsInner
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # MatchingPairsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `premiseId` | number
10
+ `responseId` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { MatchingPairsInner } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "premiseId": null,
20
+ "responseId": null,
21
+ } satisfies MatchingPairsInner
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as MatchingPairsInner
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+