@easyedu/js-lsm-api 1.92.0 → 1.93.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @easyedu/js-lsm-api@1.92.0
1
+ # @easyedu/js-lsm-api@1.93.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -836,7 +836,7 @@ and is automatically generated by the
836
836
  [OpenAPI Generator](https://openapi-generator.tech) project:
837
837
 
838
838
  - API version: `1.0.0`
839
- - Package version: `1.92.0`
839
+ - Package version: `1.93.0`
840
840
  - Generator version: `7.22.0`
841
841
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
842
842
 
@@ -78,6 +78,12 @@ export interface GetQuestion {
78
78
  * @memberof GetQuestion
79
79
  */
80
80
  version?: string;
81
+ /**
82
+ * Canonical numeric version within the question's version history
83
+ * @type {number}
84
+ * @memberof GetQuestion
85
+ */
86
+ readonly versionNumber: number;
81
87
  /**
82
88
  * When the question was created
83
89
  * @type {Date}
@@ -137,4 +143,4 @@ export declare function instanceOfGetQuestion(value: object): value is GetQuesti
137
143
  export declare function GetQuestionFromJSON(json: any): GetQuestion;
138
144
  export declare function GetQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetQuestion;
139
145
  export declare function GetQuestionToJSON(json: any): GetQuestion;
140
- export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
146
+ export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'version_number' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
@@ -47,6 +47,8 @@ export function instanceOfGetQuestion(value) {
47
47
  return false;
48
48
  if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined)
49
49
  return false;
50
+ if (!('versionNumber' in value) || value['versionNumber'] === undefined)
51
+ return false;
50
52
  if (!('createdDate' in value) || value['createdDate'] === undefined)
51
53
  return false;
52
54
  if (!('updatedDate' in value) || value['updatedDate'] === undefined)
@@ -71,6 +73,7 @@ export function GetQuestionFromJSONTyped(json, ignoreDiscriminator) {
71
73
  'difficultyLevel': json['difficulty_level'],
72
74
  'tags': json['tags'] == null ? undefined : json['tags'],
73
75
  'version': json['version'] == null ? undefined : json['version'],
76
+ 'versionNumber': json['version_number'],
74
77
  'createdDate': (new Date(json['created_date'])),
75
78
  'updatedDate': (new Date(json['updated_date'])),
76
79
  'createdBy': json['created_by'] == null ? undefined : json['created_by'],
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RichTextDocument } from './RichTextDocument';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,36 @@ export interface LibraryQuizQuestion {
33
34
  * @memberof LibraryQuizQuestion
34
35
  */
35
36
  questionGroupId?: string | null;
37
+ /**
38
+ * Exact question version currently represented by this quiz selection
39
+ * @type {string}
40
+ * @memberof LibraryQuizQuestion
41
+ */
42
+ effectiveQuestionId: string;
43
+ /**
44
+ *
45
+ * @type {RichTextDocument}
46
+ * @memberof LibraryQuizQuestion
47
+ */
48
+ questionText: RichTextDocument;
49
+ /**
50
+ *
51
+ * @type {LibraryQuizQuestionQuestionTypeEnum}
52
+ * @memberof LibraryQuizQuestion
53
+ */
54
+ questionType: LibraryQuizQuestionQuestionTypeEnum;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof LibraryQuizQuestion
59
+ */
60
+ questionVersionNumber: number;
61
+ /**
62
+ * Optional human-readable identifier for the represented question version
63
+ * @type {string}
64
+ * @memberof LibraryQuizQuestion
65
+ */
66
+ questionVersion?: string | null;
36
67
  /**
37
68
  *
38
69
  * @type {number}
@@ -60,6 +91,18 @@ export interface LibraryQuizQuestion {
60
91
  [key: string]: any;
61
92
  } | null;
62
93
  }
94
+ /**
95
+ * @export
96
+ */
97
+ export declare const LibraryQuizQuestionQuestionTypeEnum: {
98
+ readonly SingleAnswer: "single_answer";
99
+ readonly MultipleAnswer: "multiple_answer";
100
+ readonly FillInBlank: "fill_in_blank";
101
+ readonly ShortAnswer: "short_answer";
102
+ readonly Matching: "matching";
103
+ readonly Essay: "essay";
104
+ };
105
+ export type LibraryQuizQuestionQuestionTypeEnum = typeof LibraryQuizQuestionQuestionTypeEnum[keyof typeof LibraryQuizQuestionQuestionTypeEnum];
63
106
  /**
64
107
  * Check if a given object implements the LibraryQuizQuestion interface.
65
108
  */
@@ -11,6 +11,18 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { RichTextDocumentFromJSON, RichTextDocumentToJSON, } from './RichTextDocument';
15
+ /**
16
+ * @export
17
+ */
18
+ export const LibraryQuizQuestionQuestionTypeEnum = {
19
+ SingleAnswer: 'single_answer',
20
+ MultipleAnswer: 'multiple_answer',
21
+ FillInBlank: 'fill_in_blank',
22
+ ShortAnswer: 'short_answer',
23
+ Matching: 'matching',
24
+ Essay: 'essay'
25
+ };
14
26
  /**
15
27
  * Check if a given object implements the LibraryQuizQuestion interface.
16
28
  */
@@ -19,6 +31,14 @@ export function instanceOfLibraryQuizQuestion(value) {
19
31
  return false;
20
32
  if (!('questionId' in value) || value['questionId'] === undefined)
21
33
  return false;
34
+ if (!('effectiveQuestionId' in value) || value['effectiveQuestionId'] === undefined)
35
+ return false;
36
+ if (!('questionText' in value) || value['questionText'] === undefined)
37
+ return false;
38
+ if (!('questionType' in value) || value['questionType'] === undefined)
39
+ return false;
40
+ if (!('questionVersionNumber' in value) || value['questionVersionNumber'] === undefined)
41
+ return false;
22
42
  if (!('displayOrder' in value) || value['displayOrder'] === undefined)
23
43
  return false;
24
44
  if (!('points' in value) || value['points'] === undefined)
@@ -38,6 +58,11 @@ export function LibraryQuizQuestionFromJSONTyped(json, ignoreDiscriminator) {
38
58
  'id': json['id'],
39
59
  'questionId': json['question_id'],
40
60
  'questionGroupId': json['question_group_id'] == null ? undefined : json['question_group_id'],
61
+ 'effectiveQuestionId': json['effective_question_id'],
62
+ 'questionText': RichTextDocumentFromJSON(json['question_text']),
63
+ 'questionType': json['question_type'],
64
+ 'questionVersionNumber': json['question_version_number'],
65
+ 'questionVersion': json['question_version'] == null ? undefined : json['question_version'],
41
66
  'displayOrder': json['display_order'],
42
67
  'points': json['points'],
43
68
  'versionLocked': json['version_locked'],
@@ -55,6 +80,11 @@ export function LibraryQuizQuestionToJSONTyped(value, ignoreDiscriminator = fals
55
80
  'id': value['id'],
56
81
  'question_id': value['questionId'],
57
82
  'question_group_id': value['questionGroupId'],
83
+ 'effective_question_id': value['effectiveQuestionId'],
84
+ 'question_text': RichTextDocumentToJSON(value['questionText']),
85
+ 'question_type': value['questionType'],
86
+ 'question_version_number': value['questionVersionNumber'],
87
+ 'question_version': value['questionVersion'],
58
88
  'display_order': value['displayOrder'],
59
89
  'points': value['points'],
60
90
  'version_locked': value['versionLocked'],
@@ -78,6 +78,12 @@ export interface GetQuestion {
78
78
  * @memberof GetQuestion
79
79
  */
80
80
  version?: string;
81
+ /**
82
+ * Canonical numeric version within the question's version history
83
+ * @type {number}
84
+ * @memberof GetQuestion
85
+ */
86
+ readonly versionNumber: number;
81
87
  /**
82
88
  * When the question was created
83
89
  * @type {Date}
@@ -137,4 +143,4 @@ export declare function instanceOfGetQuestion(value: object): value is GetQuesti
137
143
  export declare function GetQuestionFromJSON(json: any): GetQuestion;
138
144
  export declare function GetQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetQuestion;
139
145
  export declare function GetQuestionToJSON(json: any): GetQuestion;
140
- export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
146
+ export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'version_number' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
@@ -55,6 +55,8 @@ function instanceOfGetQuestion(value) {
55
55
  return false;
56
56
  if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined)
57
57
  return false;
58
+ if (!('versionNumber' in value) || value['versionNumber'] === undefined)
59
+ return false;
58
60
  if (!('createdDate' in value) || value['createdDate'] === undefined)
59
61
  return false;
60
62
  if (!('updatedDate' in value) || value['updatedDate'] === undefined)
@@ -79,6 +81,7 @@ function GetQuestionFromJSONTyped(json, ignoreDiscriminator) {
79
81
  'difficultyLevel': json['difficulty_level'],
80
82
  'tags': json['tags'] == null ? undefined : json['tags'],
81
83
  'version': json['version'] == null ? undefined : json['version'],
84
+ 'versionNumber': json['version_number'],
82
85
  'createdDate': (new Date(json['created_date'])),
83
86
  'updatedDate': (new Date(json['updated_date'])),
84
87
  'createdBy': json['created_by'] == null ? undefined : json['created_by'],
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RichTextDocument } from './RichTextDocument';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,36 @@ export interface LibraryQuizQuestion {
33
34
  * @memberof LibraryQuizQuestion
34
35
  */
35
36
  questionGroupId?: string | null;
37
+ /**
38
+ * Exact question version currently represented by this quiz selection
39
+ * @type {string}
40
+ * @memberof LibraryQuizQuestion
41
+ */
42
+ effectiveQuestionId: string;
43
+ /**
44
+ *
45
+ * @type {RichTextDocument}
46
+ * @memberof LibraryQuizQuestion
47
+ */
48
+ questionText: RichTextDocument;
49
+ /**
50
+ *
51
+ * @type {LibraryQuizQuestionQuestionTypeEnum}
52
+ * @memberof LibraryQuizQuestion
53
+ */
54
+ questionType: LibraryQuizQuestionQuestionTypeEnum;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof LibraryQuizQuestion
59
+ */
60
+ questionVersionNumber: number;
61
+ /**
62
+ * Optional human-readable identifier for the represented question version
63
+ * @type {string}
64
+ * @memberof LibraryQuizQuestion
65
+ */
66
+ questionVersion?: string | null;
36
67
  /**
37
68
  *
38
69
  * @type {number}
@@ -60,6 +91,18 @@ export interface LibraryQuizQuestion {
60
91
  [key: string]: any;
61
92
  } | null;
62
93
  }
94
+ /**
95
+ * @export
96
+ */
97
+ export declare const LibraryQuizQuestionQuestionTypeEnum: {
98
+ readonly SingleAnswer: "single_answer";
99
+ readonly MultipleAnswer: "multiple_answer";
100
+ readonly FillInBlank: "fill_in_blank";
101
+ readonly ShortAnswer: "short_answer";
102
+ readonly Matching: "matching";
103
+ readonly Essay: "essay";
104
+ };
105
+ export type LibraryQuizQuestionQuestionTypeEnum = typeof LibraryQuizQuestionQuestionTypeEnum[keyof typeof LibraryQuizQuestionQuestionTypeEnum];
63
106
  /**
64
107
  * Check if a given object implements the LibraryQuizQuestion interface.
65
108
  */
@@ -13,11 +13,24 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LibraryQuizQuestionQuestionTypeEnum = void 0;
16
17
  exports.instanceOfLibraryQuizQuestion = instanceOfLibraryQuizQuestion;
17
18
  exports.LibraryQuizQuestionFromJSON = LibraryQuizQuestionFromJSON;
18
19
  exports.LibraryQuizQuestionFromJSONTyped = LibraryQuizQuestionFromJSONTyped;
19
20
  exports.LibraryQuizQuestionToJSON = LibraryQuizQuestionToJSON;
20
21
  exports.LibraryQuizQuestionToJSONTyped = LibraryQuizQuestionToJSONTyped;
22
+ const RichTextDocument_1 = require("./RichTextDocument");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LibraryQuizQuestionQuestionTypeEnum = {
27
+ SingleAnswer: 'single_answer',
28
+ MultipleAnswer: 'multiple_answer',
29
+ FillInBlank: 'fill_in_blank',
30
+ ShortAnswer: 'short_answer',
31
+ Matching: 'matching',
32
+ Essay: 'essay'
33
+ };
21
34
  /**
22
35
  * Check if a given object implements the LibraryQuizQuestion interface.
23
36
  */
@@ -26,6 +39,14 @@ function instanceOfLibraryQuizQuestion(value) {
26
39
  return false;
27
40
  if (!('questionId' in value) || value['questionId'] === undefined)
28
41
  return false;
42
+ if (!('effectiveQuestionId' in value) || value['effectiveQuestionId'] === undefined)
43
+ return false;
44
+ if (!('questionText' in value) || value['questionText'] === undefined)
45
+ return false;
46
+ if (!('questionType' in value) || value['questionType'] === undefined)
47
+ return false;
48
+ if (!('questionVersionNumber' in value) || value['questionVersionNumber'] === undefined)
49
+ return false;
29
50
  if (!('displayOrder' in value) || value['displayOrder'] === undefined)
30
51
  return false;
31
52
  if (!('points' in value) || value['points'] === undefined)
@@ -45,6 +66,11 @@ function LibraryQuizQuestionFromJSONTyped(json, ignoreDiscriminator) {
45
66
  'id': json['id'],
46
67
  'questionId': json['question_id'],
47
68
  'questionGroupId': json['question_group_id'] == null ? undefined : json['question_group_id'],
69
+ 'effectiveQuestionId': json['effective_question_id'],
70
+ 'questionText': (0, RichTextDocument_1.RichTextDocumentFromJSON)(json['question_text']),
71
+ 'questionType': json['question_type'],
72
+ 'questionVersionNumber': json['question_version_number'],
73
+ 'questionVersion': json['question_version'] == null ? undefined : json['question_version'],
48
74
  'displayOrder': json['display_order'],
49
75
  'points': json['points'],
50
76
  'versionLocked': json['version_locked'],
@@ -62,6 +88,11 @@ function LibraryQuizQuestionToJSONTyped(value, ignoreDiscriminator = false) {
62
88
  'id': value['id'],
63
89
  'question_id': value['questionId'],
64
90
  'question_group_id': value['questionGroupId'],
91
+ 'effective_question_id': value['effectiveQuestionId'],
92
+ 'question_text': (0, RichTextDocument_1.RichTextDocumentToJSON)(value['questionText']),
93
+ 'question_type': value['questionType'],
94
+ 'question_version_number': value['questionVersionNumber'],
95
+ 'question_version': value['questionVersion'],
65
96
  'display_order': value['displayOrder'],
66
97
  'points': value['points'],
67
98
  'version_locked': value['versionLocked'],
@@ -16,6 +16,7 @@ Name | Type
16
16
  `difficultyLevel` | string
17
17
  `tags` | Array&lt;string&gt;
18
18
  `version` | string
19
+ `versionNumber` | number
19
20
  `createdDate` | Date
20
21
  `updatedDate` | Date
21
22
  `createdBy` | string
@@ -39,6 +40,7 @@ const example = {
39
40
  "difficultyLevel": null,
40
41
  "tags": null,
41
42
  "version": null,
43
+ "versionNumber": null,
42
44
  "createdDate": null,
43
45
  "updatedDate": null,
44
46
  "createdBy": null,
@@ -9,6 +9,11 @@ Name | Type
9
9
  `id` | string
10
10
  `questionId` | string
11
11
  `questionGroupId` | string
12
+ `effectiveQuestionId` | string
13
+ `questionText` | [RichTextDocument](RichTextDocument.md)
14
+ `questionType` | string
15
+ `questionVersionNumber` | number
16
+ `questionVersion` | string
12
17
  `displayOrder` | number
13
18
  `points` | number
14
19
  `versionLocked` | boolean
@@ -24,6 +29,11 @@ const example = {
24
29
  "id": null,
25
30
  "questionId": null,
26
31
  "questionGroupId": null,
32
+ "effectiveQuestionId": null,
33
+ "questionText": null,
34
+ "questionType": null,
35
+ "questionVersionNumber": null,
36
+ "questionVersion": null,
27
37
  "displayOrder": null,
28
38
  "points": null,
29
39
  "versionLocked": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.92.0",
3
+ "version": "1.93.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -101,6 +101,12 @@ export interface GetQuestion {
101
101
  * @memberof GetQuestion
102
102
  */
103
103
  version?: string;
104
+ /**
105
+ * Canonical numeric version within the question's version history
106
+ * @type {number}
107
+ * @memberof GetQuestion
108
+ */
109
+ readonly versionNumber: number;
104
110
  /**
105
111
  * When the question was created
106
112
  * @type {Date}
@@ -167,6 +173,7 @@ export function instanceOfGetQuestion(value: object): value is GetQuestion {
167
173
  if (!('questionType' in value) || value['questionType'] === undefined) return false;
168
174
  if (!('topic' in value) || value['topic'] === undefined) return false;
169
175
  if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined) return false;
176
+ if (!('versionNumber' in value) || value['versionNumber'] === undefined) return false;
170
177
  if (!('createdDate' in value) || value['createdDate'] === undefined) return false;
171
178
  if (!('updatedDate' in value) || value['updatedDate'] === undefined) return false;
172
179
  return true;
@@ -192,6 +199,7 @@ export function GetQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean
192
199
  'difficultyLevel': json['difficulty_level'],
193
200
  'tags': json['tags'] == null ? undefined : json['tags'],
194
201
  'version': json['version'] == null ? undefined : json['version'],
202
+ 'versionNumber': json['version_number'],
195
203
  'createdDate': (new Date(json['created_date'])),
196
204
  'updatedDate': (new Date(json['updated_date'])),
197
205
  'createdBy': json['created_by'] == null ? undefined : json['created_by'],
@@ -204,7 +212,7 @@ export function GetQuestionToJSON(json: any): GetQuestion {
204
212
  return GetQuestionToJSONTyped(json, false);
205
213
  }
206
214
 
207
- export function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id'|'created_date'|'updated_date'|'created_by'|'quiz_count'|'quizzes'> | null, ignoreDiscriminator: boolean = false): any {
215
+ export function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id'|'version_number'|'created_date'|'updated_date'|'created_by'|'quiz_count'|'quizzes'> | null, ignoreDiscriminator: boolean = false): any {
208
216
  if (value == null) {
209
217
  return value;
210
218
  }
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { RichTextDocument } from './RichTextDocument';
17
+ import {
18
+ RichTextDocumentFromJSON,
19
+ RichTextDocumentFromJSONTyped,
20
+ RichTextDocumentToJSON,
21
+ RichTextDocumentToJSONTyped,
22
+ } from './RichTextDocument';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -37,6 +45,36 @@ export interface LibraryQuizQuestion {
37
45
  * @memberof LibraryQuizQuestion
38
46
  */
39
47
  questionGroupId?: string | null;
48
+ /**
49
+ * Exact question version currently represented by this quiz selection
50
+ * @type {string}
51
+ * @memberof LibraryQuizQuestion
52
+ */
53
+ effectiveQuestionId: string;
54
+ /**
55
+ *
56
+ * @type {RichTextDocument}
57
+ * @memberof LibraryQuizQuestion
58
+ */
59
+ questionText: RichTextDocument;
60
+ /**
61
+ *
62
+ * @type {LibraryQuizQuestionQuestionTypeEnum}
63
+ * @memberof LibraryQuizQuestion
64
+ */
65
+ questionType: LibraryQuizQuestionQuestionTypeEnum;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof LibraryQuizQuestion
70
+ */
71
+ questionVersionNumber: number;
72
+ /**
73
+ * Optional human-readable identifier for the represented question version
74
+ * @type {string}
75
+ * @memberof LibraryQuizQuestion
76
+ */
77
+ questionVersion?: string | null;
40
78
  /**
41
79
  *
42
80
  * @type {number}
@@ -63,12 +101,31 @@ export interface LibraryQuizQuestion {
63
101
  snapshot?: { [key: string]: any; } | null;
64
102
  }
65
103
 
104
+
105
+ /**
106
+ * @export
107
+ */
108
+ export const LibraryQuizQuestionQuestionTypeEnum = {
109
+ SingleAnswer: 'single_answer',
110
+ MultipleAnswer: 'multiple_answer',
111
+ FillInBlank: 'fill_in_blank',
112
+ ShortAnswer: 'short_answer',
113
+ Matching: 'matching',
114
+ Essay: 'essay'
115
+ } as const;
116
+ export type LibraryQuizQuestionQuestionTypeEnum = typeof LibraryQuizQuestionQuestionTypeEnum[keyof typeof LibraryQuizQuestionQuestionTypeEnum];
117
+
118
+
66
119
  /**
67
120
  * Check if a given object implements the LibraryQuizQuestion interface.
68
121
  */
69
122
  export function instanceOfLibraryQuizQuestion(value: object): value is LibraryQuizQuestion {
70
123
  if (!('id' in value) || value['id'] === undefined) return false;
71
124
  if (!('questionId' in value) || value['questionId'] === undefined) return false;
125
+ if (!('effectiveQuestionId' in value) || value['effectiveQuestionId'] === undefined) return false;
126
+ if (!('questionText' in value) || value['questionText'] === undefined) return false;
127
+ if (!('questionType' in value) || value['questionType'] === undefined) return false;
128
+ if (!('questionVersionNumber' in value) || value['questionVersionNumber'] === undefined) return false;
72
129
  if (!('displayOrder' in value) || value['displayOrder'] === undefined) return false;
73
130
  if (!('points' in value) || value['points'] === undefined) return false;
74
131
  if (!('versionLocked' in value) || value['versionLocked'] === undefined) return false;
@@ -88,6 +145,11 @@ export function LibraryQuizQuestionFromJSONTyped(json: any, ignoreDiscriminator:
88
145
  'id': json['id'],
89
146
  'questionId': json['question_id'],
90
147
  'questionGroupId': json['question_group_id'] == null ? undefined : json['question_group_id'],
148
+ 'effectiveQuestionId': json['effective_question_id'],
149
+ 'questionText': RichTextDocumentFromJSON(json['question_text']),
150
+ 'questionType': json['question_type'],
151
+ 'questionVersionNumber': json['question_version_number'],
152
+ 'questionVersion': json['question_version'] == null ? undefined : json['question_version'],
91
153
  'displayOrder': json['display_order'],
92
154
  'points': json['points'],
93
155
  'versionLocked': json['version_locked'],
@@ -109,6 +171,11 @@ export function LibraryQuizQuestionToJSONTyped(value?: LibraryQuizQuestion | nul
109
171
  'id': value['id'],
110
172
  'question_id': value['questionId'],
111
173
  'question_group_id': value['questionGroupId'],
174
+ 'effective_question_id': value['effectiveQuestionId'],
175
+ 'question_text': RichTextDocumentToJSON(value['questionText']),
176
+ 'question_type': value['questionType'],
177
+ 'question_version_number': value['questionVersionNumber'],
178
+ 'question_version': value['questionVersion'],
112
179
  'display_order': value['displayOrder'],
113
180
  'points': value['points'],
114
181
  'version_locked': value['versionLocked'],