@instructure/athena-api-client 3.11.0 → 3.11.2

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.
@@ -33,6 +33,12 @@ export interface AdminQuizSessionScore {
33
33
  * @memberof AdminQuizSessionScore
34
34
  */
35
35
  answeredCount: number;
36
+ /**
37
+ * Number of questions in this quiz that have been viewed at least once
38
+ * @type {number}
39
+ * @memberof AdminQuizSessionScore
40
+ */
41
+ viewedCount: number;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the AdminQuizSessionScore interface.
@@ -21,6 +21,8 @@ export function instanceOfAdminQuizSessionScore(value) {
21
21
  return false;
22
22
  if (!('answeredCount' in value) || value['answeredCount'] === undefined)
23
23
  return false;
24
+ if (!('viewedCount' in value) || value['viewedCount'] === undefined)
25
+ return false;
24
26
  return true;
25
27
  }
26
28
  export function AdminQuizSessionScoreFromJSON(json) {
@@ -34,6 +36,7 @@ export function AdminQuizSessionScoreFromJSONTyped(json, ignoreDiscriminator) {
34
36
  'totalCorrect': json['totalCorrect'],
35
37
  'totalQuestions': json['totalQuestions'],
36
38
  'answeredCount': json['answeredCount'],
39
+ 'viewedCount': json['viewedCount'],
37
40
  };
38
41
  }
39
42
  export function AdminQuizSessionScoreToJSON(json) {
@@ -47,5 +50,6 @@ export function AdminQuizSessionScoreToJSONTyped(value, ignoreDiscriminator = fa
47
50
  'totalCorrect': value['totalCorrect'],
48
51
  'totalQuestions': value['totalQuestions'],
49
52
  'answeredCount': value['answeredCount'],
53
+ 'viewedCount': value['viewedCount'],
50
54
  };
51
55
  }
@@ -33,6 +33,12 @@ export interface AdminQuizSessionScore {
33
33
  * @memberof AdminQuizSessionScore
34
34
  */
35
35
  answeredCount: number;
36
+ /**
37
+ * Number of questions in this quiz that have been viewed at least once
38
+ * @type {number}
39
+ * @memberof AdminQuizSessionScore
40
+ */
41
+ viewedCount: number;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the AdminQuizSessionScore interface.
@@ -28,6 +28,8 @@ function instanceOfAdminQuizSessionScore(value) {
28
28
  return false;
29
29
  if (!('answeredCount' in value) || value['answeredCount'] === undefined)
30
30
  return false;
31
+ if (!('viewedCount' in value) || value['viewedCount'] === undefined)
32
+ return false;
31
33
  return true;
32
34
  }
33
35
  function AdminQuizSessionScoreFromJSON(json) {
@@ -41,6 +43,7 @@ function AdminQuizSessionScoreFromJSONTyped(json, ignoreDiscriminator) {
41
43
  'totalCorrect': json['totalCorrect'],
42
44
  'totalQuestions': json['totalQuestions'],
43
45
  'answeredCount': json['answeredCount'],
46
+ 'viewedCount': json['viewedCount'],
44
47
  };
45
48
  }
46
49
  function AdminQuizSessionScoreToJSON(json) {
@@ -54,5 +57,6 @@ function AdminQuizSessionScoreToJSONTyped(value, ignoreDiscriminator = false) {
54
57
  'totalCorrect': value['totalCorrect'],
55
58
  'totalQuestions': value['totalQuestions'],
56
59
  'answeredCount': value['answeredCount'],
60
+ 'viewedCount': value['viewedCount'],
57
61
  };
58
62
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "3.11.0",
4
+ "version": "3.11.2",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {