@easyedu/js-lsm-api 1.47.0 → 1.49.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 (68) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/QuestionApi.d.ts +0 -1
  3. package/dist/apis/QuestionApi.js +0 -3
  4. package/dist/esm/apis/QuestionApi.d.ts +0 -1
  5. package/dist/esm/apis/QuestionApi.js +0 -3
  6. package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +0 -6
  7. package/dist/esm/models/CriteriaBasedSelectionCriteria.js +0 -2
  8. package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
  9. package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
  10. package/dist/esm/models/GetQuestion.d.ts +0 -6
  11. package/dist/esm/models/GetQuestion.js +0 -2
  12. package/dist/esm/models/GetQuestionListFilters.d.ts +0 -6
  13. package/dist/esm/models/GetQuestionListFilters.js +0 -2
  14. package/dist/esm/models/GetQuizCriteriaItem.d.ts +0 -6
  15. package/dist/esm/models/GetQuizCriteriaItem.js +0 -2
  16. package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  17. package/dist/esm/models/GetQuizCriteriaListItemsInner.js +0 -2
  18. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  19. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  20. package/dist/esm/models/PostQuestion.d.ts +0 -6
  21. package/dist/esm/models/PostQuestion.js +0 -2
  22. package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  23. package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +0 -2
  24. package/dist/esm/models/PutQuestion.d.ts +0 -6
  25. package/dist/esm/models/PutQuestion.js +0 -2
  26. package/dist/models/CriteriaBasedSelectionCriteria.d.ts +0 -6
  27. package/dist/models/CriteriaBasedSelectionCriteria.js +0 -2
  28. package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
  29. package/dist/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
  30. package/dist/models/GetQuestion.d.ts +0 -6
  31. package/dist/models/GetQuestion.js +0 -2
  32. package/dist/models/GetQuestionListFilters.d.ts +0 -6
  33. package/dist/models/GetQuestionListFilters.js +0 -2
  34. package/dist/models/GetQuizCriteriaItem.d.ts +0 -6
  35. package/dist/models/GetQuizCriteriaItem.js +0 -2
  36. package/dist/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  37. package/dist/models/GetQuizCriteriaListItemsInner.js +0 -2
  38. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  39. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  40. package/dist/models/PostQuestion.d.ts +0 -6
  41. package/dist/models/PostQuestion.js +0 -2
  42. package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  43. package/dist/models/PostQuizCriteriaCriteriaInner.js +0 -2
  44. package/dist/models/PutQuestion.d.ts +0 -6
  45. package/dist/models/PutQuestion.js +0 -2
  46. package/docs/CriteriaBasedSelectionCriteria.md +0 -2
  47. package/docs/GetModuleInstructorBasicReportingEngagement.md +8 -0
  48. package/docs/GetQuestion.md +0 -2
  49. package/docs/GetQuestionListFilters.md +0 -2
  50. package/docs/GetQuizCriteriaItem.md +0 -2
  51. package/docs/GetQuizCriteriaListItemsInner.md +0 -2
  52. package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +0 -2
  53. package/docs/PostQuestion.md +0 -2
  54. package/docs/PostQuizCriteriaCriteriaInner.md +0 -2
  55. package/docs/PutQuestion.md +0 -2
  56. package/docs/QuestionApi.md +1 -4
  57. package/package.json +1 -1
  58. package/src/apis/QuestionApi.ts +0 -5
  59. package/src/models/CriteriaBasedSelectionCriteria.ts +0 -8
  60. package/src/models/GetModuleInstructorBasicReportingEngagement.ts +36 -0
  61. package/src/models/GetQuestion.ts +0 -8
  62. package/src/models/GetQuestionListFilters.ts +0 -8
  63. package/src/models/GetQuizCriteriaItem.ts +0 -8
  64. package/src/models/GetQuizCriteriaListItemsInner.ts +0 -8
  65. package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +0 -8
  66. package/src/models/PostQuestion.ts +0 -8
  67. package/src/models/PostQuizCriteriaCriteriaInner.ts +0 -8
  68. package/src/models/PutQuestion.ts +0 -8
@@ -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'],
@@ -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}
@@ -67,7 +67,6 @@ function PostQuestionFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
68
68
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
69
69
  'topic': json['topic'],
70
- 'course': json['course'] == null ? undefined : json['course'],
71
70
  'difficultyLevel': json['difficulty_level'],
72
71
  'tags': json['tags'] == null ? undefined : json['tags'],
73
72
  'version': json['version'] == null ? undefined : json['version'],
@@ -87,7 +86,6 @@ function PostQuestionToJSONTyped(value, ignoreDiscriminator = false) {
87
86
  'correct_answer': value['correctAnswer'],
88
87
  'explanation': value['explanation'],
89
88
  'topic': value['topic'],
90
- 'course': value['course'],
91
89
  'difficulty_level': value['difficultyLevel'],
92
90
  'tags': value['tags'],
93
91
  '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}
@@ -56,7 +56,6 @@ function PostQuizCriteriaCriteriaInnerFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
57
57
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
58
58
  'tags': json['tags'] == null ? undefined : json['tags'],
59
- 'course': json['course'] == null ? undefined : json['course'],
60
59
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
61
60
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
62
61
  'priority': json['priority'] == null ? undefined : json['priority'],
@@ -74,7 +73,6 @@ function PostQuizCriteriaCriteriaInnerToJSONTyped(value, ignoreDiscriminator = f
74
73
  'difficulty_level': value['difficultyLevel'],
75
74
  'question_type': value['questionType'],
76
75
  'tags': value['tags'],
77
- 'course': value['course'],
78
76
  'min_questions': value['minQuestions'],
79
77
  'max_questions': value['maxQuestions'],
80
78
  'priority': value['priority'],
@@ -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}
@@ -59,7 +59,6 @@ function PutQuestionFromJSONTyped(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'] == null ? undefined : json['topic'],
62
- 'course': json['course'] == null ? undefined : json['course'],
63
62
  'difficultyLevel': json['difficulty_level'] == null ? undefined : 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 @@ function PutQuestionToJSONTyped(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'],
@@ -10,7 +10,6 @@ Name | Type
10
10
  `difficultyLevels` | Array&lt;string&gt;
11
11
  `questionTypes` | Array&lt;string&gt;
12
12
  `tags` | Array&lt;string&gt;
13
- `course` | string
14
13
 
15
14
  ## Example
16
15
 
@@ -23,7 +22,6 @@ const example = {
23
22
  "difficultyLevels": null,
24
23
  "questionTypes": null,
25
24
  "tags": null,
26
- "course": null,
27
25
  } satisfies CriteriaBasedSelectionCriteria
28
26
 
29
27
  console.log(example)
@@ -7,6 +7,10 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `avgTimeSpentHours` | number
10
+ `completionRatePercentage` | number
11
+ `completedCount` | number
12
+ `inProgressCount` | number
13
+ `notStartedCount` | number
10
14
 
11
15
  ## Example
12
16
 
@@ -16,6 +20,10 @@ import type { GetModuleInstructorBasicReportingEngagement } from '@easyedu/js-ls
16
20
  // TODO: Update the object below with actual values
17
21
  const example = {
18
22
  "avgTimeSpentHours": null,
23
+ "completionRatePercentage": null,
24
+ "completedCount": null,
25
+ "inProgressCount": null,
26
+ "notStartedCount": null,
19
27
  } satisfies GetModuleInstructorBasicReportingEngagement
20
28
 
21
29
  console.log(example)
@@ -13,7 +13,6 @@ Name | Type
13
13
  `correctAnswer` | string
14
14
  `explanation` | string
15
15
  `topic` | string
16
- `course` | string
17
16
  `difficultyLevel` | string
18
17
  `tags` | Array&lt;string&gt;
19
18
  `version` | string
@@ -37,7 +36,6 @@ const example = {
37
36
  "correctAnswer": null,
38
37
  "explanation": null,
39
38
  "topic": null,
40
- "course": null,
41
39
  "difficultyLevel": null,
42
40
  "tags": null,
43
41
  "version": null,
@@ -7,7 +7,6 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `topic` | string
10
- `course` | string
11
10
  `questionType` | string
12
11
  `difficultyLevel` | string
13
12
  `tags` | Array&lt;string&gt;
@@ -23,7 +22,6 @@ import type { GetQuestionListFilters } from '@easyedu/js-lsm-api'
23
22
  // TODO: Update the object below with actual values
24
23
  const example = {
25
24
  "topic": null,
26
- "course": null,
27
25
  "questionType": null,
28
26
  "difficultyLevel": null,
29
27
  "tags": null,
@@ -12,7 +12,6 @@ Name | Type
12
12
  `difficultyLevel` | string
13
13
  `questionType` | string
14
14
  `tags` | Array&lt;string&gt;
15
- `course` | string
16
15
  `minQuestions` | number
17
16
  `maxQuestions` | number
18
17
  `priority` | number
@@ -33,7 +32,6 @@ const example = {
33
32
  "difficultyLevel": null,
34
33
  "questionType": null,
35
34
  "tags": null,
36
- "course": null,
37
35
  "minQuestions": null,
38
36
  "maxQuestions": null,
39
37
  "priority": null,
@@ -12,7 +12,6 @@ Name | Type
12
12
  `difficultyLevel` | string
13
13
  `questionType` | string
14
14
  `tags` | Array&lt;string&gt;
15
- `course` | string
16
15
  `minQuestions` | number
17
16
  `maxQuestions` | number
18
17
  `priority` | number
@@ -33,7 +32,6 @@ const example = {
33
32
  "difficultyLevel": null,
34
33
  "questionType": null,
35
34
  "tags": null,
36
- "course": null,
37
35
  "minQuestions": null,
38
36
  "maxQuestions": null,
39
37
  "priority": null,
@@ -11,7 +11,6 @@ Name | Type
11
11
  `questionType` | string
12
12
  `topic` | string
13
13
  `difficultyLevel` | string
14
- `course` | string
15
14
  `explanation` | string
16
15
  `tags` | Array&lt;string&gt;
17
16
  `versionNumber` | number
@@ -29,7 +28,6 @@ const example = {
29
28
  "questionType": null,
30
29
  "topic": null,
31
30
  "difficultyLevel": null,
32
- "course": null,
33
31
  "explanation": null,
34
32
  "tags": null,
35
33
  "versionNumber": null,
@@ -12,7 +12,6 @@ Name | Type
12
12
  `correctAnswer` | string
13
13
  `explanation` | string
14
14
  `topic` | string
15
- `course` | string
16
15
  `difficultyLevel` | string
17
16
  `tags` | Array&lt;string&gt;
18
17
  `version` | string
@@ -30,7 +29,6 @@ const example = {
30
29
  "correctAnswer": null,
31
30
  "explanation": null,
32
31
  "topic": null,
33
- "course": null,
34
32
  "difficultyLevel": null,
35
33
  "tags": null,
36
34
  "version": null,
@@ -11,7 +11,6 @@ Name | Type
11
11
  `difficultyLevel` | string
12
12
  `questionType` | string
13
13
  `tags` | Array&lt;string&gt;
14
- `course` | string
15
14
  `minQuestions` | number
16
15
  `maxQuestions` | number
17
16
  `priority` | number
@@ -27,7 +26,6 @@ const example = {
27
26
  "difficultyLevel": null,
28
27
  "questionType": null,
29
28
  "tags": null,
30
- "course": null,
31
29
  "minQuestions": null,
32
30
  "maxQuestions": null,
33
31
  "priority": null,
@@ -12,7 +12,6 @@ Name | Type
12
12
  `correctAnswer` | string
13
13
  `explanation` | string
14
14
  `topic` | string
15
- `course` | string
16
15
  `difficultyLevel` | string
17
16
  `tags` | Array&lt;string&gt;
18
17
  `version` | string
@@ -30,7 +29,6 @@ const example = {
30
29
  "correctAnswer": null,
31
30
  "explanation": null,
32
31
  "topic": null,
33
- "course": null,
34
32
  "difficultyLevel": null,
35
33
  "tags": null,
36
34
  "version": null,
@@ -147,7 +147,7 @@ No authorization required
147
147
 
148
148
  ## getQuestionList
149
149
 
150
- > GetQuestionList getQuestionList(page, pageSize, topic, course, questionType, difficultyLevel, tags, search)
150
+ > GetQuestionList getQuestionList(page, pageSize, topic, questionType, difficultyLevel, tags, search)
151
151
 
152
152
  Get list of questions with filtering and pagination
153
153
 
@@ -171,8 +171,6 @@ async function example() {
171
171
  pageSize: 56,
172
172
  // string | Filter by topic (optional)
173
173
  topic: topic_example,
174
- // string | Filter by course (optional)
175
- course: course_example,
176
174
  // 'single_answer' | 'multiple_answer' | 'fill_in_blank' | Filter by question type (optional)
177
175
  questionType: questionType_example,
178
176
  // 'beginner' | 'intermediate' | 'advanced' | Filter by difficulty level (optional)
@@ -203,7 +201,6 @@ example().catch(console.error);
203
201
  | **page** | `number` | Page number | [Optional] [Defaults to `1`] |
204
202
  | **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `20`] |
205
203
  | **topic** | `string` | Filter by topic | [Optional] [Defaults to `undefined`] |
206
- | **course** | `string` | Filter by course | [Optional] [Defaults to `undefined`] |
207
204
  | **questionType** | `single_answer`, `multiple_answer`, `fill_in_blank` | Filter by question type | [Optional] [Defaults to `undefined`] [Enum: single_answer, multiple_answer, fill_in_blank] |
208
205
  | **difficultyLevel** | `beginner`, `intermediate`, `advanced` | Filter by difficulty level | [Optional] [Defaults to `undefined`] [Enum: beginner, intermediate, advanced] |
209
206
  | **tags** | `Array<string>` | Filter by tags | [Optional] |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,7 +43,6 @@ export interface GetQuestionListRequest {
43
43
  page?: number;
44
44
  pageSize?: number;
45
45
  topic?: string;
46
- course?: string;
47
46
  questionType?: GetQuestionListQuestionTypeEnum;
48
47
  difficultyLevel?: GetQuestionListDifficultyLevelEnum;
49
48
  tags?: Array<string>;
@@ -171,10 +170,6 @@ export class QuestionApi extends runtime.BaseAPI {
171
170
  queryParameters['topic'] = requestParameters['topic'];
172
171
  }
173
172
 
174
- if (requestParameters['course'] != null) {
175
- queryParameters['course'] = requestParameters['course'];
176
- }
177
-
178
173
  if (requestParameters['questionType'] != null) {
179
174
  queryParameters['question_type'] = requestParameters['questionType'];
180
175
  }
@@ -43,12 +43,6 @@ export interface CriteriaBasedSelectionCriteria {
43
43
  * @memberof CriteriaBasedSelectionCriteria
44
44
  */
45
45
  tags?: Array<string>;
46
- /**
47
- * Course to filter by
48
- * @type {string}
49
- * @memberof CriteriaBasedSelectionCriteria
50
- */
51
- course?: string;
52
46
  }
53
47
 
54
48
 
@@ -97,7 +91,6 @@ export function CriteriaBasedSelectionCriteriaFromJSONTyped(json: any, ignoreDis
97
91
  'difficultyLevels': json['difficulty_levels'] == null ? undefined : json['difficulty_levels'],
98
92
  'questionTypes': json['question_types'] == null ? undefined : json['question_types'],
99
93
  'tags': json['tags'] == null ? undefined : json['tags'],
100
- 'course': json['course'] == null ? undefined : json['course'],
101
94
  };
102
95
  }
103
96
 
@@ -116,7 +109,6 @@ export function CriteriaBasedSelectionCriteriaToJSONTyped(value?: CriteriaBasedS
116
109
  'difficulty_levels': value['difficultyLevels'],
117
110
  'question_types': value['questionTypes'],
118
111
  'tags': value['tags'],
119
- 'course': value['course'],
120
112
  };
121
113
  }
122
114
 
@@ -25,6 +25,30 @@ export interface GetModuleInstructorBasicReportingEngagement {
25
25
  * @memberof GetModuleInstructorBasicReportingEngagement
26
26
  */
27
27
  avgTimeSpentHours: number | null;
28
+ /**
29
+ * Percentage of active course-enrolled students who have completed every published content item in this module. Null if there are no active enrolled students.
30
+ * @type {number}
31
+ * @memberof GetModuleInstructorBasicReportingEngagement
32
+ */
33
+ completionRatePercentage: number | null;
34
+ /**
35
+ * Number of active course-enrolled students who have completed every published content item in this module.
36
+ * @type {number}
37
+ * @memberof GetModuleInstructorBasicReportingEngagement
38
+ */
39
+ completedCount: number;
40
+ /**
41
+ * Number of active course-enrolled students who have started at least one content item in this module but have not completed all published items.
42
+ * @type {number}
43
+ * @memberof GetModuleInstructorBasicReportingEngagement
44
+ */
45
+ inProgressCount: number;
46
+ /**
47
+ * Number of active course-enrolled students who have not opened any content item in this module.
48
+ * @type {number}
49
+ * @memberof GetModuleInstructorBasicReportingEngagement
50
+ */
51
+ notStartedCount: number;
28
52
  }
29
53
 
30
54
  /**
@@ -32,6 +56,10 @@ export interface GetModuleInstructorBasicReportingEngagement {
32
56
  */
33
57
  export function instanceOfGetModuleInstructorBasicReportingEngagement(value: object): value is GetModuleInstructorBasicReportingEngagement {
34
58
  if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined) return false;
59
+ if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined) return false;
60
+ if (!('completedCount' in value) || value['completedCount'] === undefined) return false;
61
+ if (!('inProgressCount' in value) || value['inProgressCount'] === undefined) return false;
62
+ if (!('notStartedCount' in value) || value['notStartedCount'] === undefined) return false;
35
63
  return true;
36
64
  }
37
65
 
@@ -46,6 +74,10 @@ export function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json: a
46
74
  return {
47
75
 
48
76
  'avgTimeSpentHours': json['avg_time_spent_hours'],
77
+ 'completionRatePercentage': json['completion_rate_percentage'],
78
+ 'completedCount': json['completed_count'],
79
+ 'inProgressCount': json['in_progress_count'],
80
+ 'notStartedCount': json['not_started_count'],
49
81
  };
50
82
  }
51
83
 
@@ -61,6 +93,10 @@ export function GetModuleInstructorBasicReportingEngagementToJSONTyped(value?: G
61
93
  return {
62
94
 
63
95
  'avg_time_spent_hours': value['avgTimeSpentHours'],
96
+ 'completion_rate_percentage': value['completionRatePercentage'],
97
+ 'completed_count': value['completedCount'],
98
+ 'in_progress_count': value['inProgressCount'],
99
+ 'not_started_count': value['notStartedCount'],
64
100
  };
65
101
  }
66
102
 
@@ -76,12 +76,6 @@ export interface GetQuestion {
76
76
  * @memberof GetQuestion
77
77
  */
78
78
  topic: string;
79
- /**
80
- * Associated course identifier (e.g., FA 102 2022)
81
- * @type {string}
82
- * @memberof GetQuestion
83
- */
84
- course?: string;
85
79
  /**
86
80
  * Difficulty level of the question
87
81
  * @type {GetQuestionDifficultyLevelEnum}
@@ -188,7 +182,6 @@ export function GetQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean
188
182
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
189
183
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
190
184
  'topic': json['topic'],
191
- 'course': json['course'] == null ? undefined : json['course'],
192
185
  'difficultyLevel': json['difficulty_level'],
193
186
  'tags': json['tags'] == null ? undefined : json['tags'],
194
187
  'version': json['version'] == null ? undefined : json['version'],
@@ -217,7 +210,6 @@ export function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id'|'created_d
217
210
  'correct_answer': value['correctAnswer'],
218
211
  'explanation': value['explanation'],
219
212
  'topic': value['topic'],
220
- 'course': value['course'],
221
213
  'difficulty_level': value['difficultyLevel'],
222
214
  'tags': value['tags'],
223
215
  'version': value['version'],
@@ -25,12 +25,6 @@ export interface GetQuestionListFilters {
25
25
  * @memberof GetQuestionListFilters
26
26
  */
27
27
  topic?: string;
28
- /**
29
- * Filter by course
30
- * @type {string}
31
- * @memberof GetQuestionListFilters
32
- */
33
- course?: string;
34
28
  /**
35
29
  * Filter by question type
36
30
  * @type {GetQuestionListFiltersQuestionTypeEnum}
@@ -112,7 +106,6 @@ export function GetQuestionListFiltersFromJSONTyped(json: any, ignoreDiscriminat
112
106
  return {
113
107
 
114
108
  'topic': json['topic'] == null ? undefined : json['topic'],
115
- 'course': json['course'] == null ? undefined : json['course'],
116
109
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
117
110
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
118
111
  'tags': json['tags'] == null ? undefined : json['tags'],
@@ -134,7 +127,6 @@ export function GetQuestionListFiltersToJSONTyped(value?: GetQuestionListFilters
134
127
  return {
135
128
 
136
129
  'topic': value['topic'],
137
- 'course': value['course'],
138
130
  'question_type': value['questionType'],
139
131
  'difficulty_level': value['difficultyLevel'],
140
132
  'tags': value['tags'],
@@ -55,12 +55,6 @@ export interface GetQuizCriteriaItem {
55
55
  * @memberof GetQuizCriteriaItem
56
56
  */
57
57
  tags?: Array<string>;
58
- /**
59
- * Course filter (null for any course)
60
- * @type {string}
61
- * @memberof GetQuizCriteriaItem
62
- */
63
- course?: string;
64
58
  /**
65
59
  * Minimum questions from this criteria
66
60
  * @type {number}
@@ -153,7 +147,6 @@ export function GetQuizCriteriaItemFromJSONTyped(json: any, ignoreDiscriminator:
153
147
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
154
148
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
155
149
  'tags': json['tags'] == null ? undefined : json['tags'],
156
- 'course': json['course'] == null ? undefined : json['course'],
157
150
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
158
151
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
159
152
  'priority': json['priority'],
@@ -180,7 +173,6 @@ export function GetQuizCriteriaItemToJSONTyped(value?: GetQuizCriteriaItem | nul
180
173
  'difficulty_level': value['difficultyLevel'],
181
174
  'question_type': value['questionType'],
182
175
  'tags': value['tags'],
183
- 'course': value['course'],
184
176
  'min_questions': value['minQuestions'],
185
177
  'max_questions': value['maxQuestions'],
186
178
  'priority': value['priority'],
@@ -55,12 +55,6 @@ export interface GetQuizCriteriaListItemsInner {
55
55
  * @memberof GetQuizCriteriaListItemsInner
56
56
  */
57
57
  tags?: Array<string>;
58
- /**
59
- * Course filter (null for any course)
60
- * @type {string}
61
- * @memberof GetQuizCriteriaListItemsInner
62
- */
63
- course?: string;
64
58
  /**
65
59
  * Minimum questions from this criteria
66
60
  * @type {number}
@@ -153,7 +147,6 @@ export function GetQuizCriteriaListItemsInnerFromJSONTyped(json: any, ignoreDisc
153
147
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
154
148
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
155
149
  'tags': json['tags'] == null ? undefined : json['tags'],
156
- 'course': json['course'] == null ? undefined : json['course'],
157
150
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
158
151
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
159
152
  'priority': json['priority'],
@@ -180,7 +173,6 @@ export function GetQuizCriteriaListItemsInnerToJSONTyped(value?: GetQuizCriteria
180
173
  'difficulty_level': value['difficultyLevel'],
181
174
  'question_type': value['questionType'],
182
175
  'tags': value['tags'],
183
- 'course': value['course'],
184
176
  'min_questions': value['minQuestions'],
185
177
  'max_questions': value['maxQuestions'],
186
178
  'priority': value['priority'],
@@ -51,12 +51,6 @@ export interface GetQuizQuestionsItemsInnerQuestionDetails {
51
51
  * @memberof GetQuizQuestionsItemsInnerQuestionDetails
52
52
  */
53
53
  difficultyLevel: GetQuizQuestionsItemsInnerQuestionDetailsDifficultyLevelEnum;
54
- /**
55
- * Course associated with question
56
- * @type {string}
57
- * @memberof GetQuizQuestionsItemsInnerQuestionDetails
58
- */
59
- course?: string;
60
54
  /**
61
55
  * Explanation of correct answer
62
56
  * @type {string}
@@ -139,7 +133,6 @@ export function GetQuizQuestionsItemsInnerQuestionDetailsFromJSONTyped(json: any
139
133
  'questionType': json['question_type'],
140
134
  'topic': json['topic'],
141
135
  'difficultyLevel': json['difficulty_level'],
142
- 'course': json['course'] == null ? undefined : json['course'],
143
136
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
144
137
  'tags': json['tags'] == null ? undefined : json['tags'],
145
138
  'versionNumber': json['version_number'] == null ? undefined : json['version_number'],
@@ -163,7 +156,6 @@ export function GetQuizQuestionsItemsInnerQuestionDetailsToJSONTyped(value?: Get
163
156
  'question_type': value['questionType'],
164
157
  'topic': value['topic'],
165
158
  'difficulty_level': value['difficultyLevel'],
166
- 'course': value['course'],
167
159
  'explanation': value['explanation'],
168
160
  'tags': value['tags'],
169
161
  'version_number': value['versionNumber'],
@@ -63,12 +63,6 @@ export interface PostQuestion {
63
63
  * @memberof PostQuestion
64
64
  */
65
65
  topic: string;
66
- /**
67
- * Associated course identifier (e.g., FA 102 2022)
68
- * @type {string}
69
- * @memberof PostQuestion
70
- */
71
- course?: string;
72
66
  /**
73
67
  * Difficulty level of the question
74
68
  * @type {PostQuestionDifficultyLevelEnum}
@@ -141,7 +135,6 @@ export function PostQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolea
141
135
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
142
136
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
143
137
  'topic': json['topic'],
144
- 'course': json['course'] == null ? undefined : json['course'],
145
138
  'difficultyLevel': json['difficulty_level'],
146
139
  'tags': json['tags'] == null ? undefined : json['tags'],
147
140
  'version': json['version'] == null ? undefined : json['version'],
@@ -165,7 +158,6 @@ export function PostQuestionToJSONTyped(value?: PostQuestion | null, ignoreDiscr
165
158
  'correct_answer': value['correctAnswer'],
166
159
  'explanation': value['explanation'],
167
160
  'topic': value['topic'],
168
- 'course': value['course'],
169
161
  'difficulty_level': value['difficultyLevel'],
170
162
  'tags': value['tags'],
171
163
  'version': value['version'],
@@ -43,12 +43,6 @@ export interface PostQuizCriteriaCriteriaInner {
43
43
  * @memberof PostQuizCriteriaCriteriaInner
44
44
  */
45
45
  tags?: Array<string>;
46
- /**
47
- * Filter by course (null for any course)
48
- * @type {string}
49
- * @memberof PostQuizCriteriaCriteriaInner
50
- */
51
- course?: string;
52
46
  /**
53
47
  * Minimum questions to select from this criteria
54
48
  * @type {number}
@@ -115,7 +109,6 @@ export function PostQuizCriteriaCriteriaInnerFromJSONTyped(json: any, ignoreDisc
115
109
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
116
110
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
117
111
  'tags': json['tags'] == null ? undefined : json['tags'],
118
- 'course': json['course'] == null ? undefined : json['course'],
119
112
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
120
113
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
121
114
  'priority': json['priority'] == null ? undefined : json['priority'],
@@ -137,7 +130,6 @@ export function PostQuizCriteriaCriteriaInnerToJSONTyped(value?: PostQuizCriteri
137
130
  'difficulty_level': value['difficultyLevel'],
138
131
  'question_type': value['questionType'],
139
132
  'tags': value['tags'],
140
- 'course': value['course'],
141
133
  'min_questions': value['minQuestions'],
142
134
  'max_questions': value['maxQuestions'],
143
135
  'priority': value['priority'],