@easyedu/js-lsm-api 1.46.0 → 1.48.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 (121) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +6 -2
  3. package/dist/apis/ContentApi.d.ts +18 -1
  4. package/dist/apis/ContentApi.js +47 -0
  5. package/dist/apis/ModuleApi.d.ts +17 -1
  6. package/dist/apis/ModuleApi.js +43 -0
  7. package/dist/apis/QuestionApi.d.ts +0 -1
  8. package/dist/apis/QuestionApi.js +0 -3
  9. package/dist/esm/apis/ContentApi.d.ts +18 -1
  10. package/dist/esm/apis/ContentApi.js +48 -1
  11. package/dist/esm/apis/ModuleApi.d.ts +17 -1
  12. package/dist/esm/apis/ModuleApi.js +44 -1
  13. package/dist/esm/apis/QuestionApi.d.ts +0 -1
  14. package/dist/esm/apis/QuestionApi.js +0 -3
  15. package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +0 -6
  16. package/dist/esm/models/CriteriaBasedSelectionCriteria.js +0 -2
  17. package/dist/esm/models/GetQuestion.d.ts +0 -6
  18. package/dist/esm/models/GetQuestion.js +0 -2
  19. package/dist/esm/models/GetQuestionListFilters.d.ts +0 -6
  20. package/dist/esm/models/GetQuestionListFilters.js +0 -2
  21. package/dist/esm/models/GetQuizCriteriaItem.d.ts +0 -6
  22. package/dist/esm/models/GetQuizCriteriaItem.js +0 -2
  23. package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  24. package/dist/esm/models/GetQuizCriteriaListItemsInner.js +0 -2
  25. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  26. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  27. package/dist/esm/models/PostContentQuiz.d.ts +6 -0
  28. package/dist/esm/models/PostContentQuiz.js +2 -0
  29. package/dist/esm/models/PostContentUpload.d.ts +6 -0
  30. package/dist/esm/models/PostContentUpload.js +2 -0
  31. package/dist/esm/models/PostModule.d.ts +1 -1
  32. package/dist/esm/models/PostModule.js +1 -3
  33. package/dist/esm/models/PostQuestion.d.ts +0 -6
  34. package/dist/esm/models/PostQuestion.js +0 -2
  35. package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  36. package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +0 -2
  37. package/dist/esm/models/PutContentReorder.d.ts +32 -0
  38. package/dist/esm/models/PutContentReorder.js +43 -0
  39. package/dist/esm/models/PutCourse.d.ts +0 -6
  40. package/dist/esm/models/PutCourse.js +0 -2
  41. package/dist/esm/models/PutModule.d.ts +0 -6
  42. package/dist/esm/models/PutModule.js +0 -2
  43. package/dist/esm/models/PutModuleReorder.d.ts +32 -0
  44. package/dist/esm/models/PutModuleReorder.js +43 -0
  45. package/dist/esm/models/PutQuestion.d.ts +0 -6
  46. package/dist/esm/models/PutQuestion.js +0 -2
  47. package/dist/esm/models/index.d.ts +2 -0
  48. package/dist/esm/models/index.js +2 -0
  49. package/dist/models/CriteriaBasedSelectionCriteria.d.ts +0 -6
  50. package/dist/models/CriteriaBasedSelectionCriteria.js +0 -2
  51. package/dist/models/GetQuestion.d.ts +0 -6
  52. package/dist/models/GetQuestion.js +0 -2
  53. package/dist/models/GetQuestionListFilters.d.ts +0 -6
  54. package/dist/models/GetQuestionListFilters.js +0 -2
  55. package/dist/models/GetQuizCriteriaItem.d.ts +0 -6
  56. package/dist/models/GetQuizCriteriaItem.js +0 -2
  57. package/dist/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  58. package/dist/models/GetQuizCriteriaListItemsInner.js +0 -2
  59. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  60. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  61. package/dist/models/PostContentQuiz.d.ts +6 -0
  62. package/dist/models/PostContentQuiz.js +2 -0
  63. package/dist/models/PostContentUpload.d.ts +6 -0
  64. package/dist/models/PostContentUpload.js +2 -0
  65. package/dist/models/PostModule.d.ts +1 -1
  66. package/dist/models/PostModule.js +1 -3
  67. package/dist/models/PostQuestion.d.ts +0 -6
  68. package/dist/models/PostQuestion.js +0 -2
  69. package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  70. package/dist/models/PostQuizCriteriaCriteriaInner.js +0 -2
  71. package/dist/models/PutContentReorder.d.ts +32 -0
  72. package/dist/models/PutContentReorder.js +50 -0
  73. package/dist/models/PutCourse.d.ts +0 -6
  74. package/dist/models/PutCourse.js +0 -2
  75. package/dist/models/PutModule.d.ts +0 -6
  76. package/dist/models/PutModule.js +0 -2
  77. package/dist/models/PutModuleReorder.d.ts +32 -0
  78. package/dist/models/PutModuleReorder.js +50 -0
  79. package/dist/models/PutQuestion.d.ts +0 -6
  80. package/dist/models/PutQuestion.js +0 -2
  81. package/dist/models/index.d.ts +2 -0
  82. package/dist/models/index.js +2 -0
  83. package/docs/ContentApi.md +72 -0
  84. package/docs/CriteriaBasedSelectionCriteria.md +0 -2
  85. package/docs/GetQuestion.md +0 -2
  86. package/docs/GetQuestionListFilters.md +0 -2
  87. package/docs/GetQuizCriteriaItem.md +0 -2
  88. package/docs/GetQuizCriteriaListItemsInner.md +0 -2
  89. package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +0 -2
  90. package/docs/ModuleApi.md +69 -0
  91. package/docs/PostContentQuiz.md +2 -0
  92. package/docs/PostContentUpload.md +2 -0
  93. package/docs/PostQuestion.md +0 -2
  94. package/docs/PostQuizCriteriaCriteriaInner.md +0 -2
  95. package/docs/PutContentReorder.md +34 -0
  96. package/docs/PutCourse.md +0 -2
  97. package/docs/PutModule.md +0 -2
  98. package/docs/PutModuleReorder.md +34 -0
  99. package/docs/PutQuestion.md +0 -2
  100. package/docs/QuestionApi.md +1 -4
  101. package/package.json +1 -1
  102. package/src/apis/ContentApi.ts +71 -0
  103. package/src/apis/ModuleApi.ts +62 -0
  104. package/src/apis/QuestionApi.ts +0 -5
  105. package/src/models/CriteriaBasedSelectionCriteria.ts +0 -8
  106. package/src/models/GetQuestion.ts +0 -8
  107. package/src/models/GetQuestionListFilters.ts +0 -8
  108. package/src/models/GetQuizCriteriaItem.ts +0 -8
  109. package/src/models/GetQuizCriteriaListItemsInner.ts +0 -8
  110. package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +0 -8
  111. package/src/models/PostContentQuiz.ts +8 -0
  112. package/src/models/PostContentUpload.ts +8 -0
  113. package/src/models/PostModule.ts +2 -3
  114. package/src/models/PostQuestion.ts +0 -8
  115. package/src/models/PostQuizCriteriaCriteriaInner.ts +0 -8
  116. package/src/models/PutContentReorder.ts +66 -0
  117. package/src/models/PutCourse.ts +0 -8
  118. package/src/models/PutModule.ts +0 -8
  119. package/src/models/PutModuleReorder.ts +66 -0
  120. package/src/models/PutQuestion.ts +0 -8
  121. package/src/models/index.ts +2 -0
@@ -40,12 +40,6 @@ export interface GetQuizQuestionsItemsInnerQuestionDetails {
40
40
  * @memberof GetQuizQuestionsItemsInnerQuestionDetails
41
41
  */
42
42
  difficultyLevel: GetQuizQuestionsItemsInnerQuestionDetailsDifficultyLevelEnum;
43
- /**
44
- * Course associated with question
45
- * @type {string}
46
- * @memberof GetQuizQuestionsItemsInnerQuestionDetails
47
- */
48
- course?: string;
49
43
  /**
50
44
  * Explanation of correct answer
51
45
  * @type {string}
@@ -57,7 +57,6 @@ export function GetQuizQuestionsItemsInnerQuestionDetailsFromJSONTyped(json, ign
57
57
  'questionType': json['question_type'],
58
58
  'topic': json['topic'],
59
59
  'difficultyLevel': json['difficulty_level'],
60
- 'course': json['course'] == null ? undefined : json['course'],
61
60
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
62
61
  'tags': json['tags'] == null ? undefined : json['tags'],
63
62
  'versionNumber': json['version_number'] == null ? undefined : json['version_number'],
@@ -77,7 +76,6 @@ export function GetQuizQuestionsItemsInnerQuestionDetailsToJSONTyped(value, igno
77
76
  'question_type': value['questionType'],
78
77
  'topic': value['topic'],
79
78
  'difficulty_level': value['difficultyLevel'],
80
- 'course': value['course'],
81
79
  'explanation': value['explanation'],
82
80
  'tags': value['tags'],
83
81
  'version_number': value['versionNumber'],
@@ -42,6 +42,12 @@ export interface PostContentQuiz {
42
42
  * @memberof PostContentQuiz
43
43
  */
44
44
  settings: PostContentQuizSettings;
45
+ /**
46
+ * Display order within the module. Auto-assigned if not provided.
47
+ * @type {number}
48
+ * @memberof PostContentQuiz
49
+ */
50
+ order?: number;
45
51
  /**
46
52
  *
47
53
  * @type {PostContentQuizAssignment}
@@ -38,6 +38,7 @@ export function PostContentQuizFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'description': json['description'] == null ? undefined : json['description'],
39
39
  'questionSelection': PostContentQuizQuestionSelectionFromJSON(json['question_selection']),
40
40
  'settings': PostContentQuizSettingsFromJSON(json['settings']),
41
+ 'order': json['order'] == null ? undefined : json['order'],
41
42
  'assignment': json['assignment'] == null ? undefined : PostContentQuizAssignmentFromJSON(json['assignment']),
42
43
  };
43
44
  }
@@ -53,6 +54,7 @@ export function PostContentQuizToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  'description': value['description'],
54
55
  'question_selection': PostContentQuizQuestionSelectionToJSON(value['questionSelection']),
55
56
  'settings': PostContentQuizSettingsToJSON(value['settings']),
57
+ 'order': value['order'],
56
58
  'assignment': PostContentQuizAssignmentToJSON(value['assignment']),
57
59
  };
58
60
  }
@@ -27,6 +27,12 @@ export interface PostContentUpload {
27
27
  * @memberof PostContentUpload
28
28
  */
29
29
  contentType: PostContentUploadContentTypeEnum;
30
+ /**
31
+ * Display order within the module. Auto-assigned if not provided.
32
+ * @type {number}
33
+ * @memberof PostContentUpload
34
+ */
35
+ order?: number;
30
36
  }
31
37
  /**
32
38
  * @export
@@ -47,6 +47,7 @@ export function PostContentUploadFromJSONTyped(json, ignoreDiscriminator) {
47
47
  return {
48
48
  'name': json['name'],
49
49
  'contentType': json['content_type'],
50
+ 'order': json['order'] == null ? undefined : json['order'],
50
51
  };
51
52
  }
52
53
  export function PostContentUploadToJSON(json) {
@@ -59,5 +60,6 @@ export function PostContentUploadToJSONTyped(value, ignoreDiscriminator = false)
59
60
  return {
60
61
  'name': value['name'],
61
62
  'content_type': value['contentType'],
63
+ 'order': value['order'],
62
64
  };
63
65
  }
@@ -32,7 +32,7 @@ export interface PostModule {
32
32
  * @type {number}
33
33
  * @memberof PostModule
34
34
  */
35
- order: number;
35
+ order?: number;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the PostModule interface.
@@ -19,8 +19,6 @@ export function instanceOfPostModule(value) {
19
19
  return false;
20
20
  if (!('description' in value) || value['description'] === undefined)
21
21
  return false;
22
- if (!('order' in value) || value['order'] === undefined)
23
- return false;
24
22
  return true;
25
23
  }
26
24
  export function PostModuleFromJSON(json) {
@@ -33,7 +31,7 @@ export function PostModuleFromJSONTyped(json, ignoreDiscriminator) {
33
31
  return {
34
32
  'name': json['name'],
35
33
  'description': json['description'],
36
- 'order': json['order'],
34
+ 'order': json['order'] == null ? undefined : json['order'],
37
35
  };
38
36
  }
39
37
  export function PostModuleToJSON(json) {
@@ -52,12 +52,6 @@ export interface PostQuestion {
52
52
  * @memberof PostQuestion
53
53
  */
54
54
  topic: string;
55
- /**
56
- * Associated course identifier (e.g., FA 102 2022)
57
- * @type {string}
58
- * @memberof PostQuestion
59
- */
60
- course?: string;
61
55
  /**
62
56
  * Difficulty level of the question
63
57
  * @type {PostQuestionDifficultyLevelEnum}
@@ -59,7 +59,6 @@ export function PostQuestionFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
60
60
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
61
61
  'topic': json['topic'],
62
- 'course': json['course'] == null ? undefined : json['course'],
63
62
  'difficultyLevel': json['difficulty_level'],
64
63
  'tags': json['tags'] == null ? undefined : json['tags'],
65
64
  'version': json['version'] == null ? undefined : json['version'],
@@ -79,7 +78,6 @@ export function PostQuestionToJSONTyped(value, ignoreDiscriminator = false) {
79
78
  'correct_answer': value['correctAnswer'],
80
79
  'explanation': value['explanation'],
81
80
  'topic': value['topic'],
82
- 'course': value['course'],
83
81
  'difficulty_level': value['difficultyLevel'],
84
82
  'tags': value['tags'],
85
83
  'version': value['version'],
@@ -39,12 +39,6 @@ export interface PostQuizCriteriaCriteriaInner {
39
39
  * @memberof PostQuizCriteriaCriteriaInner
40
40
  */
41
41
  tags?: Array<string>;
42
- /**
43
- * Filter by course (null for any course)
44
- * @type {string}
45
- * @memberof PostQuizCriteriaCriteriaInner
46
- */
47
- course?: string;
48
42
  /**
49
43
  * Minimum questions to select from this criteria
50
44
  * @type {number}
@@ -48,7 +48,6 @@ export function PostQuizCriteriaCriteriaInnerFromJSONTyped(json, ignoreDiscrimin
48
48
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
49
49
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
50
50
  'tags': json['tags'] == null ? undefined : json['tags'],
51
- 'course': json['course'] == null ? undefined : json['course'],
52
51
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
53
52
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
54
53
  'priority': json['priority'] == null ? undefined : json['priority'],
@@ -66,7 +65,6 @@ export function PostQuizCriteriaCriteriaInnerToJSONTyped(value, ignoreDiscrimina
66
65
  'difficulty_level': value['difficultyLevel'],
67
66
  'question_type': value['questionType'],
68
67
  'tags': value['tags'],
69
- 'course': value['course'],
70
68
  'min_questions': value['minQuestions'],
71
69
  'max_questions': value['maxQuestions'],
72
70
  'priority': value['priority'],
@@ -0,0 +1,32 @@
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 PutContentReorder
16
+ */
17
+ export interface PutContentReorder {
18
+ /**
19
+ * Ordered list of content IDs
20
+ * @type {Array<string>}
21
+ * @memberof PutContentReorder
22
+ */
23
+ ids: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PutContentReorder interface.
27
+ */
28
+ export declare function instanceOfPutContentReorder(value: object): value is PutContentReorder;
29
+ export declare function PutContentReorderFromJSON(json: any): PutContentReorder;
30
+ export declare function PutContentReorderFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutContentReorder;
31
+ export declare function PutContentReorderToJSON(json: any): PutContentReorder;
32
+ export declare function PutContentReorderToJSONTyped(value?: PutContentReorder | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 PutContentReorder interface.
16
+ */
17
+ export function instanceOfPutContentReorder(value) {
18
+ if (!('ids' in value) || value['ids'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PutContentReorderFromJSON(json) {
23
+ return PutContentReorderFromJSONTyped(json, false);
24
+ }
25
+ export function PutContentReorderFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'ids': json['ids'],
31
+ };
32
+ }
33
+ export function PutContentReorderToJSON(json) {
34
+ return PutContentReorderToJSONTyped(json, false);
35
+ }
36
+ export function PutContentReorderToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'ids': value['ids'],
42
+ };
43
+ }
@@ -33,12 +33,6 @@ export interface PutCourse {
33
33
  * @memberof PutCourse
34
34
  */
35
35
  description?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof PutCourse
40
- */
41
- instructor?: string;
42
36
  /**
43
37
  * Whether the course is published and visible to students
44
38
  * @type {boolean}
@@ -28,7 +28,6 @@ export function PutCourseFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'id': json['id'] == null ? undefined : json['id'],
29
29
  'name': json['name'] == null ? undefined : json['name'],
30
30
  'description': json['description'] == null ? undefined : json['description'],
31
- 'instructor': json['instructor'] == null ? undefined : json['instructor'],
32
31
  'published': json['published'] == null ? undefined : json['published'],
33
32
  };
34
33
  }
@@ -42,7 +41,6 @@ export function PutCourseToJSONTyped(value, ignoreDiscriminator = false) {
42
41
  return {
43
42
  'name': value['name'],
44
43
  'description': value['description'],
45
- 'instructor': value['instructor'],
46
44
  'published': value['published'],
47
45
  };
48
46
  }
@@ -27,12 +27,6 @@ export interface PutModule {
27
27
  * @memberof PutModule
28
28
  */
29
29
  description?: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof PutModule
34
- */
35
- order?: number;
36
30
  /**
37
31
  * Whether the module is published and visible to students
38
32
  * @type {boolean}
@@ -27,7 +27,6 @@ export function PutModuleFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'name': json['name'] == null ? undefined : json['name'],
29
29
  'description': json['description'] == null ? undefined : json['description'],
30
- 'order': json['order'] == null ? undefined : json['order'],
31
30
  'published': json['published'] == null ? undefined : json['published'],
32
31
  };
33
32
  }
@@ -41,7 +40,6 @@ export function PutModuleToJSONTyped(value, ignoreDiscriminator = false) {
41
40
  return {
42
41
  'name': value['name'],
43
42
  'description': value['description'],
44
- 'order': value['order'],
45
43
  'published': value['published'],
46
44
  };
47
45
  }
@@ -0,0 +1,32 @@
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 PutModuleReorder
16
+ */
17
+ export interface PutModuleReorder {
18
+ /**
19
+ * Ordered list of module IDs
20
+ * @type {Array<string>}
21
+ * @memberof PutModuleReorder
22
+ */
23
+ ids: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PutModuleReorder interface.
27
+ */
28
+ export declare function instanceOfPutModuleReorder(value: object): value is PutModuleReorder;
29
+ export declare function PutModuleReorderFromJSON(json: any): PutModuleReorder;
30
+ export declare function PutModuleReorderFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutModuleReorder;
31
+ export declare function PutModuleReorderToJSON(json: any): PutModuleReorder;
32
+ export declare function PutModuleReorderToJSONTyped(value?: PutModuleReorder | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 PutModuleReorder interface.
16
+ */
17
+ export function instanceOfPutModuleReorder(value) {
18
+ if (!('ids' in value) || value['ids'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PutModuleReorderFromJSON(json) {
23
+ return PutModuleReorderFromJSONTyped(json, false);
24
+ }
25
+ export function PutModuleReorderFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'ids': json['ids'],
31
+ };
32
+ }
33
+ export function PutModuleReorderToJSON(json) {
34
+ return PutModuleReorderToJSONTyped(json, false);
35
+ }
36
+ export function PutModuleReorderToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'ids': value['ids'],
42
+ };
43
+ }
@@ -52,12 +52,6 @@ export interface PutQuestion {
52
52
  * @memberof PutQuestion
53
53
  */
54
54
  topic?: string;
55
- /**
56
- * Associated course identifier (e.g., FA 102 2022)
57
- * @type {string}
58
- * @memberof PutQuestion
59
- */
60
- course?: string;
61
55
  /**
62
56
  * Difficulty level of the question
63
57
  * @type {PutQuestionDifficultyLevelEnum}
@@ -51,7 +51,6 @@ export function PutQuestionFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
52
52
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
53
53
  'topic': json['topic'] == null ? undefined : json['topic'],
54
- 'course': json['course'] == null ? undefined : json['course'],
55
54
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
56
55
  'tags': json['tags'] == null ? undefined : json['tags'],
57
56
  'version': json['version'] == null ? undefined : json['version'],
@@ -71,7 +70,6 @@ export function PutQuestionToJSONTyped(value, ignoreDiscriminator = false) {
71
70
  'correct_answer': value['correctAnswer'],
72
71
  'explanation': value['explanation'],
73
72
  'topic': value['topic'],
74
- 'course': value['course'],
75
73
  'difficulty_level': value['difficultyLevel'],
76
74
  'tags': value['tags'],
77
75
  'version': value['version'],
@@ -193,10 +193,12 @@ export * from './PostVerifyManifest';
193
193
  export * from './PostVerifyManifestItemsInner';
194
194
  export * from './PostVerifyManifestResourcesInner';
195
195
  export * from './PutContent';
196
+ export * from './PutContentReorder';
196
197
  export * from './PutContentVersion';
197
198
  export * from './PutCourse';
198
199
  export * from './PutCourseEnrollment';
199
200
  export * from './PutModule';
201
+ export * from './PutModuleReorder';
200
202
  export * from './PutPortalBranding';
201
203
  export * from './PutQuestion';
202
204
  export * from './PutQuestionAnswerChoicesInner';
@@ -195,10 +195,12 @@ export * from './PostVerifyManifest';
195
195
  export * from './PostVerifyManifestItemsInner';
196
196
  export * from './PostVerifyManifestResourcesInner';
197
197
  export * from './PutContent';
198
+ export * from './PutContentReorder';
198
199
  export * from './PutContentVersion';
199
200
  export * from './PutCourse';
200
201
  export * from './PutCourseEnrollment';
201
202
  export * from './PutModule';
203
+ export * from './PutModuleReorder';
202
204
  export * from './PutPortalBranding';
203
205
  export * from './PutQuestion';
204
206
  export * from './PutQuestionAnswerChoicesInner';
@@ -39,12 +39,6 @@ export interface CriteriaBasedSelectionCriteria {
39
39
  * @memberof CriteriaBasedSelectionCriteria
40
40
  */
41
41
  tags?: Array<string>;
42
- /**
43
- * Course to filter by
44
- * @type {string}
45
- * @memberof CriteriaBasedSelectionCriteria
46
- */
47
- course?: string;
48
42
  }
49
43
  /**
50
44
  * @export
@@ -56,7 +56,6 @@ function CriteriaBasedSelectionCriteriaFromJSONTyped(json, ignoreDiscriminator)
56
56
  'difficultyLevels': json['difficulty_levels'] == null ? undefined : json['difficulty_levels'],
57
57
  'questionTypes': json['question_types'] == null ? undefined : json['question_types'],
58
58
  'tags': json['tags'] == null ? undefined : json['tags'],
59
- 'course': json['course'] == null ? undefined : json['course'],
60
59
  };
61
60
  }
62
61
  function CriteriaBasedSelectionCriteriaToJSON(json) {
@@ -71,6 +70,5 @@ function CriteriaBasedSelectionCriteriaToJSONTyped(value, ignoreDiscriminator =
71
70
  'difficulty_levels': value['difficultyLevels'],
72
71
  'question_types': value['questionTypes'],
73
72
  'tags': value['tags'],
74
- 'course': value['course'],
75
73
  };
76
74
  }
@@ -59,12 +59,6 @@ export interface GetQuestion {
59
59
  * @memberof GetQuestion
60
60
  */
61
61
  topic: string;
62
- /**
63
- * Associated course identifier (e.g., FA 102 2022)
64
- * @type {string}
65
- * @memberof GetQuestion
66
- */
67
- course?: string;
68
62
  /**
69
63
  * Difficulty level of the question
70
64
  * @type {GetQuestionDifficultyLevelEnum}
@@ -75,7 +75,6 @@ function GetQuestionFromJSONTyped(json, ignoreDiscriminator) {
75
75
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
76
76
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
77
77
  'topic': json['topic'],
78
- 'course': json['course'] == null ? undefined : json['course'],
79
78
  'difficultyLevel': json['difficulty_level'],
80
79
  'tags': json['tags'] == null ? undefined : json['tags'],
81
80
  'version': json['version'] == null ? undefined : json['version'],
@@ -100,7 +99,6 @@ function GetQuestionToJSONTyped(value, ignoreDiscriminator = false) {
100
99
  'correct_answer': value['correctAnswer'],
101
100
  'explanation': value['explanation'],
102
101
  'topic': value['topic'],
103
- 'course': value['course'],
104
102
  'difficulty_level': value['difficultyLevel'],
105
103
  'tags': value['tags'],
106
104
  'version': value['version'],
@@ -21,12 +21,6 @@ export interface GetQuestionListFilters {
21
21
  * @memberof GetQuestionListFilters
22
22
  */
23
23
  topic?: string;
24
- /**
25
- * Filter by course
26
- * @type {string}
27
- * @memberof GetQuestionListFilters
28
- */
29
- course?: string;
30
24
  /**
31
25
  * Filter by question type
32
26
  * @type {GetQuestionListFiltersQuestionTypeEnum}
@@ -53,7 +53,6 @@ function GetQuestionListFiltersFromJSONTyped(json, ignoreDiscriminator) {
53
53
  }
54
54
  return {
55
55
  'topic': json['topic'] == null ? undefined : json['topic'],
56
- 'course': json['course'] == null ? undefined : json['course'],
57
56
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
58
57
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
59
58
  'tags': json['tags'] == null ? undefined : json['tags'],
@@ -71,7 +70,6 @@ function GetQuestionListFiltersToJSONTyped(value, ignoreDiscriminator = false) {
71
70
  }
72
71
  return {
73
72
  'topic': value['topic'],
74
- 'course': value['course'],
75
73
  'question_type': value['questionType'],
76
74
  'difficulty_level': value['difficultyLevel'],
77
75
  'tags': value['tags'],
@@ -51,12 +51,6 @@ export interface GetQuizCriteriaItem {
51
51
  * @memberof GetQuizCriteriaItem
52
52
  */
53
53
  tags?: Array<string>;
54
- /**
55
- * Course filter (null for any course)
56
- * @type {string}
57
- * @memberof GetQuizCriteriaItem
58
- */
59
- course?: string;
60
54
  /**
61
55
  * Minimum questions from this criteria
62
56
  * @type {number}
@@ -70,7 +70,6 @@ function GetQuizCriteriaItemFromJSONTyped(json, ignoreDiscriminator) {
70
70
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
71
71
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
72
72
  'tags': json['tags'] == null ? undefined : json['tags'],
73
- 'course': json['course'] == null ? undefined : json['course'],
74
73
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
75
74
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
76
75
  'priority': json['priority'],
@@ -93,7 +92,6 @@ function GetQuizCriteriaItemToJSONTyped(value, ignoreDiscriminator = false) {
93
92
  'difficulty_level': value['difficultyLevel'],
94
93
  'question_type': value['questionType'],
95
94
  'tags': value['tags'],
96
- 'course': value['course'],
97
95
  'min_questions': value['minQuestions'],
98
96
  'max_questions': value['maxQuestions'],
99
97
  'priority': value['priority'],
@@ -51,12 +51,6 @@ export interface GetQuizCriteriaListItemsInner {
51
51
  * @memberof GetQuizCriteriaListItemsInner
52
52
  */
53
53
  tags?: Array<string>;
54
- /**
55
- * Course filter (null for any course)
56
- * @type {string}
57
- * @memberof GetQuizCriteriaListItemsInner
58
- */
59
- course?: string;
60
54
  /**
61
55
  * Minimum questions from this criteria
62
56
  * @type {number}
@@ -70,7 +70,6 @@ function GetQuizCriteriaListItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
70
70
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
71
71
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
72
72
  'tags': json['tags'] == null ? undefined : json['tags'],
73
- 'course': json['course'] == null ? undefined : json['course'],
74
73
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
75
74
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
76
75
  'priority': json['priority'],
@@ -93,7 +92,6 @@ function GetQuizCriteriaListItemsInnerToJSONTyped(value, ignoreDiscriminator = f
93
92
  'difficulty_level': value['difficultyLevel'],
94
93
  'question_type': value['questionType'],
95
94
  'tags': value['tags'],
96
- 'course': value['course'],
97
95
  'min_questions': value['minQuestions'],
98
96
  'max_questions': value['maxQuestions'],
99
97
  'priority': value['priority'],
@@ -40,12 +40,6 @@ export interface GetQuizQuestionsItemsInnerQuestionDetails {
40
40
  * @memberof GetQuizQuestionsItemsInnerQuestionDetails
41
41
  */
42
42
  difficultyLevel: GetQuizQuestionsItemsInnerQuestionDetailsDifficultyLevelEnum;
43
- /**
44
- * Course associated with question
45
- * @type {string}
46
- * @memberof GetQuizQuestionsItemsInnerQuestionDetails
47
- */
48
- course?: string;
49
43
  /**
50
44
  * Explanation of correct answer
51
45
  * @type {string}
@@ -65,7 +65,6 @@ function GetQuizQuestionsItemsInnerQuestionDetailsFromJSONTyped(json, ignoreDisc
65
65
  'questionType': json['question_type'],
66
66
  'topic': json['topic'],
67
67
  'difficultyLevel': json['difficulty_level'],
68
- 'course': json['course'] == null ? undefined : json['course'],
69
68
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
70
69
  'tags': json['tags'] == null ? undefined : json['tags'],
71
70
  'versionNumber': json['version_number'] == null ? undefined : json['version_number'],
@@ -85,7 +84,6 @@ function GetQuizQuestionsItemsInnerQuestionDetailsToJSONTyped(value, ignoreDiscr
85
84
  'question_type': value['questionType'],
86
85
  'topic': value['topic'],
87
86
  'difficulty_level': value['difficultyLevel'],
88
- 'course': value['course'],
89
87
  'explanation': value['explanation'],
90
88
  'tags': value['tags'],
91
89
  'version_number': value['versionNumber'],