@easyedu/js-lsm-api 1.47.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 (62) 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/GetQuestion.d.ts +0 -6
  9. package/dist/esm/models/GetQuestion.js +0 -2
  10. package/dist/esm/models/GetQuestionListFilters.d.ts +0 -6
  11. package/dist/esm/models/GetQuestionListFilters.js +0 -2
  12. package/dist/esm/models/GetQuizCriteriaItem.d.ts +0 -6
  13. package/dist/esm/models/GetQuizCriteriaItem.js +0 -2
  14. package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  15. package/dist/esm/models/GetQuizCriteriaListItemsInner.js +0 -2
  16. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  17. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  18. package/dist/esm/models/PostQuestion.d.ts +0 -6
  19. package/dist/esm/models/PostQuestion.js +0 -2
  20. package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  21. package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +0 -2
  22. package/dist/esm/models/PutQuestion.d.ts +0 -6
  23. package/dist/esm/models/PutQuestion.js +0 -2
  24. package/dist/models/CriteriaBasedSelectionCriteria.d.ts +0 -6
  25. package/dist/models/CriteriaBasedSelectionCriteria.js +0 -2
  26. package/dist/models/GetQuestion.d.ts +0 -6
  27. package/dist/models/GetQuestion.js +0 -2
  28. package/dist/models/GetQuestionListFilters.d.ts +0 -6
  29. package/dist/models/GetQuestionListFilters.js +0 -2
  30. package/dist/models/GetQuizCriteriaItem.d.ts +0 -6
  31. package/dist/models/GetQuizCriteriaItem.js +0 -2
  32. package/dist/models/GetQuizCriteriaListItemsInner.d.ts +0 -6
  33. package/dist/models/GetQuizCriteriaListItemsInner.js +0 -2
  34. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -6
  35. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -2
  36. package/dist/models/PostQuestion.d.ts +0 -6
  37. package/dist/models/PostQuestion.js +0 -2
  38. package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +0 -6
  39. package/dist/models/PostQuizCriteriaCriteriaInner.js +0 -2
  40. package/dist/models/PutQuestion.d.ts +0 -6
  41. package/dist/models/PutQuestion.js +0 -2
  42. package/docs/CriteriaBasedSelectionCriteria.md +0 -2
  43. package/docs/GetQuestion.md +0 -2
  44. package/docs/GetQuestionListFilters.md +0 -2
  45. package/docs/GetQuizCriteriaItem.md +0 -2
  46. package/docs/GetQuizCriteriaListItemsInner.md +0 -2
  47. package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +0 -2
  48. package/docs/PostQuestion.md +0 -2
  49. package/docs/PostQuizCriteriaCriteriaInner.md +0 -2
  50. package/docs/PutQuestion.md +0 -2
  51. package/docs/QuestionApi.md +1 -4
  52. package/package.json +1 -1
  53. package/src/apis/QuestionApi.ts +0 -5
  54. package/src/models/CriteriaBasedSelectionCriteria.ts +0 -8
  55. package/src/models/GetQuestion.ts +0 -8
  56. package/src/models/GetQuestionListFilters.ts +0 -8
  57. package/src/models/GetQuizCriteriaItem.ts +0 -8
  58. package/src/models/GetQuizCriteriaListItemsInner.ts +0 -8
  59. package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +0 -8
  60. package/src/models/PostQuestion.ts +0 -8
  61. package/src/models/PostQuizCriteriaCriteriaInner.ts +0 -8
  62. package/src/models/PutQuestion.ts +0 -8
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @easyedu/js-lsm-api@1.47.0
1
+ # @easyedu/js-lsm-api@1.48.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -421,7 +421,7 @@ and is automatically generated by the
421
421
  [OpenAPI Generator](https://openapi-generator.tech) project:
422
422
 
423
423
  - API version: `1.0.0`
424
- - Package version: `1.47.0`
424
+ - Package version: `1.48.0`
425
425
  - Generator version: `7.21.0`
426
426
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
427
427
 
@@ -21,7 +21,6 @@ export interface GetQuestionListRequest {
21
21
  page?: number;
22
22
  pageSize?: number;
23
23
  topic?: string;
24
- course?: string;
25
24
  questionType?: GetQuestionListQuestionTypeEnum;
26
25
  difficultyLevel?: GetQuestionListDifficultyLevelEnum;
27
26
  tags?: Array<string>;
@@ -121,9 +121,6 @@ class QuestionApi extends runtime.BaseAPI {
121
121
  if (requestParameters['topic'] != null) {
122
122
  queryParameters['topic'] = requestParameters['topic'];
123
123
  }
124
- if (requestParameters['course'] != null) {
125
- queryParameters['course'] = requestParameters['course'];
126
- }
127
124
  if (requestParameters['questionType'] != null) {
128
125
  queryParameters['question_type'] = requestParameters['questionType'];
129
126
  }
@@ -21,7 +21,6 @@ export interface GetQuestionListRequest {
21
21
  page?: number;
22
22
  pageSize?: number;
23
23
  topic?: string;
24
- course?: string;
25
24
  questionType?: GetQuestionListQuestionTypeEnum;
26
25
  difficultyLevel?: GetQuestionListDifficultyLevelEnum;
27
26
  tags?: Array<string>;
@@ -118,9 +118,6 @@ export class QuestionApi extends runtime.BaseAPI {
118
118
  if (requestParameters['topic'] != null) {
119
119
  queryParameters['topic'] = requestParameters['topic'];
120
120
  }
121
- if (requestParameters['course'] != null) {
122
- queryParameters['course'] = requestParameters['course'];
123
- }
124
121
  if (requestParameters['questionType'] != null) {
125
122
  queryParameters['question_type'] = requestParameters['questionType'];
126
123
  }
@@ -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
@@ -48,7 +48,6 @@ export function CriteriaBasedSelectionCriteriaFromJSONTyped(json, ignoreDiscrimi
48
48
  'difficultyLevels': json['difficulty_levels'] == null ? undefined : json['difficulty_levels'],
49
49
  'questionTypes': json['question_types'] == null ? undefined : json['question_types'],
50
50
  'tags': json['tags'] == null ? undefined : json['tags'],
51
- 'course': json['course'] == null ? undefined : json['course'],
52
51
  };
53
52
  }
54
53
  export function CriteriaBasedSelectionCriteriaToJSON(json) {
@@ -63,6 +62,5 @@ export function CriteriaBasedSelectionCriteriaToJSONTyped(value, ignoreDiscrimin
63
62
  'difficulty_levels': value['difficultyLevels'],
64
63
  'question_types': value['questionTypes'],
65
64
  'tags': value['tags'],
66
- 'course': value['course'],
67
65
  };
68
66
  }
@@ -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}
@@ -67,7 +67,6 @@ export function GetQuestionFromJSONTyped(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'],
@@ -92,7 +91,6 @@ export function GetQuestionToJSONTyped(value, ignoreDiscriminator = false) {
92
91
  'correct_answer': value['correctAnswer'],
93
92
  'explanation': value['explanation'],
94
93
  'topic': value['topic'],
95
- 'course': value['course'],
96
94
  'difficulty_level': value['difficultyLevel'],
97
95
  'tags': value['tags'],
98
96
  '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}
@@ -45,7 +45,6 @@ export function GetQuestionListFiltersFromJSONTyped(json, ignoreDiscriminator) {
45
45
  }
46
46
  return {
47
47
  'topic': json['topic'] == null ? undefined : json['topic'],
48
- 'course': json['course'] == null ? undefined : json['course'],
49
48
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
50
49
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
51
50
  'tags': json['tags'] == null ? undefined : json['tags'],
@@ -63,7 +62,6 @@ export function GetQuestionListFiltersToJSONTyped(value, ignoreDiscriminator = f
63
62
  }
64
63
  return {
65
64
  'topic': value['topic'],
66
- 'course': value['course'],
67
65
  'question_type': value['questionType'],
68
66
  'difficulty_level': value['difficultyLevel'],
69
67
  '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}
@@ -62,7 +62,6 @@ export function GetQuizCriteriaItemFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
63
63
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
64
64
  'tags': json['tags'] == null ? undefined : json['tags'],
65
- 'course': json['course'] == null ? undefined : json['course'],
66
65
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
67
66
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
68
67
  'priority': json['priority'],
@@ -85,7 +84,6 @@ export function GetQuizCriteriaItemToJSONTyped(value, ignoreDiscriminator = fals
85
84
  'difficulty_level': value['difficultyLevel'],
86
85
  'question_type': value['questionType'],
87
86
  'tags': value['tags'],
88
- 'course': value['course'],
89
87
  'min_questions': value['minQuestions'],
90
88
  'max_questions': value['maxQuestions'],
91
89
  '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}
@@ -62,7 +62,6 @@ export function GetQuizCriteriaListItemsInnerFromJSONTyped(json, ignoreDiscrimin
62
62
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
63
63
  'questionType': json['question_type'] == null ? undefined : json['question_type'],
64
64
  'tags': json['tags'] == null ? undefined : json['tags'],
65
- 'course': json['course'] == null ? undefined : json['course'],
66
65
  'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
67
66
  'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
68
67
  'priority': json['priority'],
@@ -85,7 +84,6 @@ export function GetQuizCriteriaListItemsInnerToJSONTyped(value, ignoreDiscrimina
85
84
  'difficulty_level': value['difficultyLevel'],
86
85
  'question_type': value['questionType'],
87
86
  'tags': value['tags'],
88
- 'course': value['course'],
89
87
  'min_questions': value['minQuestions'],
90
88
  'max_questions': value['maxQuestions'],
91
89
  '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}
@@ -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'],
@@ -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'],
@@ -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'],
@@ -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'],
@@ -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)
@@ -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.48.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
 
@@ -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'],
@@ -63,12 +63,6 @@ export interface PutQuestion {
63
63
  * @memberof PutQuestion
64
64
  */
65
65
  topic?: string;
66
- /**
67
- * Associated course identifier (e.g., FA 102 2022)
68
- * @type {string}
69
- * @memberof PutQuestion
70
- */
71
- course?: string;
72
66
  /**
73
67
  * Difficulty level of the question
74
68
  * @type {PutQuestionDifficultyLevelEnum}
@@ -137,7 +131,6 @@ export function PutQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean
137
131
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
138
132
  'explanation': json['explanation'] == null ? undefined : json['explanation'],
139
133
  'topic': json['topic'] == null ? undefined : json['topic'],
140
- 'course': json['course'] == null ? undefined : json['course'],
141
134
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
142
135
  'tags': json['tags'] == null ? undefined : json['tags'],
143
136
  'version': json['version'] == null ? undefined : json['version'],
@@ -161,7 +154,6 @@ export function PutQuestionToJSONTyped(value?: PutQuestion | null, ignoreDiscrim
161
154
  'correct_answer': value['correctAnswer'],
162
155
  'explanation': value['explanation'],
163
156
  'topic': value['topic'],
164
- 'course': value['course'],
165
157
  'difficulty_level': value['difficultyLevel'],
166
158
  'tags': value['tags'],
167
159
  'version': value['version'],