@instructure/athena-api-client 4.5.2 → 4.7.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 +10 -0
- package/dist/apis/AdminApi.d.ts +29 -1
- package/dist/apis/AdminApi.js +79 -0
- package/dist/esm/apis/AdminApi.d.ts +29 -1
- package/dist/esm/apis/AdminApi.js +80 -1
- package/dist/esm/models/AdminClaimConceptMediaReviewNotificationsRequest.d.ts +32 -0
- package/dist/esm/models/AdminClaimConceptMediaReviewNotificationsRequest.js +41 -0
- package/dist/esm/models/AdminConceptDiagram.d.ts +15 -2
- package/dist/esm/models/AdminConceptDiagram.js +9 -0
- package/dist/esm/models/AdminConceptDiagramDetail.d.ts +15 -2
- package/dist/esm/models/AdminConceptDiagramDetail.js +9 -0
- package/dist/esm/models/AdminConceptImage.d.ts +15 -2
- package/dist/esm/models/AdminConceptImage.js +9 -0
- package/dist/esm/models/AdminConceptImageDetail.d.ts +15 -2
- package/dist/esm/models/AdminConceptImageDetail.js +9 -0
- package/dist/esm/models/AdminConceptMediaAgentReview.d.ts +131 -0
- package/dist/esm/models/AdminConceptMediaAgentReview.js +117 -0
- package/dist/esm/models/AdminConceptMediaReviewDurationStats.d.ts +50 -0
- package/dist/esm/models/AdminConceptMediaReviewDurationStats.js +55 -0
- package/dist/esm/models/AdminConceptMediaReviewKindStats.d.ts +89 -0
- package/dist/esm/models/AdminConceptMediaReviewKindStats.js +83 -0
- package/dist/esm/models/AdminConceptMediaReviewNotification.d.ts +123 -0
- package/dist/esm/models/AdminConceptMediaReviewNotification.js +111 -0
- package/dist/esm/models/AdminConceptMediaReviewNotifications.d.ts +33 -0
- package/dist/esm/models/AdminConceptMediaReviewNotifications.js +44 -0
- package/dist/esm/models/AdminConceptMediaReviewStats.d.ts +51 -0
- package/dist/esm/models/AdminConceptMediaReviewStats.js +56 -0
- package/dist/esm/models/AdminShownConceptDiagram.d.ts +15 -2
- package/dist/esm/models/AdminShownConceptDiagram.js +9 -0
- package/dist/esm/models/AdminShownConceptImage.d.ts +15 -2
- package/dist/esm/models/AdminShownConceptImage.js +9 -0
- package/dist/esm/models/ConceptMediaFlagResult.d.ts +16 -0
- package/dist/esm/models/ConceptMediaFlagResult.js +13 -0
- package/dist/esm/models/ConceptMediaReviewIssue.d.ts +64 -0
- package/dist/esm/models/ConceptMediaReviewIssue.js +69 -0
- package/dist/esm/models/StudyObjective.d.ts +6 -0
- package/dist/esm/models/StudyObjective.js +4 -0
- package/dist/esm/models/StudyObjectiveConceptAttachment.d.ts +14 -0
- package/dist/esm/models/StudyObjectiveConceptAttachment.js +11 -0
- package/dist/esm/models/UpcomingStudyObjective.d.ts +6 -0
- package/dist/esm/models/UpcomingStudyObjective.js +4 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/AdminClaimConceptMediaReviewNotificationsRequest.d.ts +32 -0
- package/dist/models/AdminClaimConceptMediaReviewNotificationsRequest.js +48 -0
- package/dist/models/AdminConceptDiagram.d.ts +15 -2
- package/dist/models/AdminConceptDiagram.js +9 -0
- package/dist/models/AdminConceptDiagramDetail.d.ts +15 -2
- package/dist/models/AdminConceptDiagramDetail.js +9 -0
- package/dist/models/AdminConceptImage.d.ts +15 -2
- package/dist/models/AdminConceptImage.js +9 -0
- package/dist/models/AdminConceptImageDetail.d.ts +15 -2
- package/dist/models/AdminConceptImageDetail.js +9 -0
- package/dist/models/AdminConceptMediaAgentReview.d.ts +131 -0
- package/dist/models/AdminConceptMediaAgentReview.js +125 -0
- package/dist/models/AdminConceptMediaReviewDurationStats.d.ts +50 -0
- package/dist/models/AdminConceptMediaReviewDurationStats.js +62 -0
- package/dist/models/AdminConceptMediaReviewKindStats.d.ts +89 -0
- package/dist/models/AdminConceptMediaReviewKindStats.js +91 -0
- package/dist/models/AdminConceptMediaReviewNotification.d.ts +123 -0
- package/dist/models/AdminConceptMediaReviewNotification.js +119 -0
- package/dist/models/AdminConceptMediaReviewNotifications.d.ts +33 -0
- package/dist/models/AdminConceptMediaReviewNotifications.js +51 -0
- package/dist/models/AdminConceptMediaReviewStats.d.ts +51 -0
- package/dist/models/AdminConceptMediaReviewStats.js +63 -0
- package/dist/models/AdminShownConceptDiagram.d.ts +15 -2
- package/dist/models/AdminShownConceptDiagram.js +9 -0
- package/dist/models/AdminShownConceptImage.d.ts +15 -2
- package/dist/models/AdminShownConceptImage.js +9 -0
- package/dist/models/ConceptMediaFlagResult.d.ts +16 -0
- package/dist/models/ConceptMediaFlagResult.js +14 -0
- package/dist/models/ConceptMediaReviewIssue.d.ts +64 -0
- package/dist/models/ConceptMediaReviewIssue.js +77 -0
- package/dist/models/StudyObjective.d.ts +6 -0
- package/dist/models/StudyObjective.js +4 -0
- package/dist/models/StudyObjectiveConceptAttachment.d.ts +14 -0
- package/dist/models/StudyObjectiveConceptAttachment.js +12 -1
- package/dist/models/UpcomingStudyObjective.d.ts +6 -0
- package/dist/models/UpcomingStudyObjective.js +4 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ exports.AdminShownConceptImageFromJSON = AdminShownConceptImageFromJSON;
|
|
|
19
19
|
exports.AdminShownConceptImageFromJSONTyped = AdminShownConceptImageFromJSONTyped;
|
|
20
20
|
exports.AdminShownConceptImageToJSON = AdminShownConceptImageToJSON;
|
|
21
21
|
exports.AdminShownConceptImageToJSONTyped = AdminShownConceptImageToJSONTyped;
|
|
22
|
+
const AdminConceptMediaAgentReview_1 = require("./AdminConceptMediaAgentReview");
|
|
22
23
|
const AdminConceptMediaConcept_1 = require("./AdminConceptMediaConcept");
|
|
23
24
|
const AdminConceptMediaHistoryEntry_1 = require("./AdminConceptMediaHistoryEntry");
|
|
24
25
|
const AdminConceptMediaActor_1 = require("./AdminConceptMediaActor");
|
|
@@ -68,6 +69,10 @@ function instanceOfAdminShownConceptImage(value) {
|
|
|
68
69
|
return false;
|
|
69
70
|
if (!('approvedBy' in value) || value['approvedBy'] === undefined)
|
|
70
71
|
return false;
|
|
72
|
+
if (!('flaggedByAgent' in value) || value['flaggedByAgent'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('agentReview' in value) || value['agentReview'] === undefined)
|
|
75
|
+
return false;
|
|
71
76
|
if (!('flaggedAfterApprovalAt' in value) || value['flaggedAfterApprovalAt'] === undefined)
|
|
72
77
|
return false;
|
|
73
78
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
@@ -137,6 +142,8 @@ function AdminShownConceptImageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
137
142
|
'hiddenByFlag': json['hiddenByFlag'],
|
|
138
143
|
'approvedAt': (json['approvedAt'] == null ? null : new Date(json['approvedAt'])),
|
|
139
144
|
'approvedBy': (0, AdminConceptMediaActor_1.AdminConceptMediaActorFromJSON)(json['approvedBy']),
|
|
145
|
+
'flaggedByAgent': json['flaggedByAgent'],
|
|
146
|
+
'agentReview': (0, AdminConceptMediaAgentReview_1.AdminConceptMediaAgentReviewFromJSON)(json['agentReview']),
|
|
140
147
|
'flaggedAfterApprovalAt': (json['flaggedAfterApprovalAt'] == null ? null : new Date(json['flaggedAfterApprovalAt'])),
|
|
141
148
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
142
149
|
'deletedBy': (0, AdminConceptMediaActor_1.AdminConceptMediaActorFromJSON)(json['deletedBy']),
|
|
@@ -183,6 +190,8 @@ function AdminShownConceptImageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
183
190
|
'hiddenByFlag': value['hiddenByFlag'],
|
|
184
191
|
'approvedAt': value['approvedAt'] == null ? value['approvedAt'] : value['approvedAt'].toISOString(),
|
|
185
192
|
'approvedBy': (0, AdminConceptMediaActor_1.AdminConceptMediaActorToJSON)(value['approvedBy']),
|
|
193
|
+
'flaggedByAgent': value['flaggedByAgent'],
|
|
194
|
+
'agentReview': (0, AdminConceptMediaAgentReview_1.AdminConceptMediaAgentReviewToJSON)(value['agentReview']),
|
|
186
195
|
'flaggedAfterApprovalAt': value['flaggedAfterApprovalAt'] == null ? value['flaggedAfterApprovalAt'] : value['flaggedAfterApprovalAt'].toISOString(),
|
|
187
196
|
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
188
197
|
'deletedBy': (0, AdminConceptMediaActor_1.AdminConceptMediaActorToJSON)(value['deletedBy']),
|
|
@@ -21,7 +21,23 @@ export interface ConceptMediaFlagResult {
|
|
|
21
21
|
* @memberof ConceptMediaFlagResult
|
|
22
22
|
*/
|
|
23
23
|
hidden: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* What this flag did. hidden: it hid the item. flagged_again: the item is admin-approved, so it stayed visible and was queued for admin re-review. already_hidden: the item was already hidden or removed; nothing changed. already_flagged: the item is admin-approved and was already queued for re-review; nothing changed. Only hidden and flagged_again changed anything, so only they warrant telling admins.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptMediaFlagResult
|
|
28
|
+
*/
|
|
29
|
+
outcome: ConceptMediaFlagResultOutcomeEnum;
|
|
24
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const ConceptMediaFlagResultOutcomeEnum: {
|
|
35
|
+
readonly Hidden: "hidden";
|
|
36
|
+
readonly AlreadyHidden: "already_hidden";
|
|
37
|
+
readonly FlaggedAgain: "flagged_again";
|
|
38
|
+
readonly AlreadyFlagged: "already_flagged";
|
|
39
|
+
};
|
|
40
|
+
export type ConceptMediaFlagResultOutcomeEnum = typeof ConceptMediaFlagResultOutcomeEnum[keyof typeof ConceptMediaFlagResultOutcomeEnum];
|
|
25
41
|
/**
|
|
26
42
|
* Check if a given object implements the ConceptMediaFlagResult interface.
|
|
27
43
|
*/
|
|
@@ -13,17 +13,29 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConceptMediaFlagResultOutcomeEnum = void 0;
|
|
16
17
|
exports.instanceOfConceptMediaFlagResult = instanceOfConceptMediaFlagResult;
|
|
17
18
|
exports.ConceptMediaFlagResultFromJSON = ConceptMediaFlagResultFromJSON;
|
|
18
19
|
exports.ConceptMediaFlagResultFromJSONTyped = ConceptMediaFlagResultFromJSONTyped;
|
|
19
20
|
exports.ConceptMediaFlagResultToJSON = ConceptMediaFlagResultToJSON;
|
|
20
21
|
exports.ConceptMediaFlagResultToJSONTyped = ConceptMediaFlagResultToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ConceptMediaFlagResultOutcomeEnum = {
|
|
26
|
+
Hidden: 'hidden',
|
|
27
|
+
AlreadyHidden: 'already_hidden',
|
|
28
|
+
FlaggedAgain: 'flagged_again',
|
|
29
|
+
AlreadyFlagged: 'already_flagged'
|
|
30
|
+
};
|
|
21
31
|
/**
|
|
22
32
|
* Check if a given object implements the ConceptMediaFlagResult interface.
|
|
23
33
|
*/
|
|
24
34
|
function instanceOfConceptMediaFlagResult(value) {
|
|
25
35
|
if (!('hidden' in value) || value['hidden'] === undefined)
|
|
26
36
|
return false;
|
|
37
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
38
|
+
return false;
|
|
27
39
|
return true;
|
|
28
40
|
}
|
|
29
41
|
function ConceptMediaFlagResultFromJSON(json) {
|
|
@@ -35,6 +47,7 @@ function ConceptMediaFlagResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
47
|
}
|
|
36
48
|
return {
|
|
37
49
|
'hidden': json['hidden'],
|
|
50
|
+
'outcome': json['outcome'],
|
|
38
51
|
};
|
|
39
52
|
}
|
|
40
53
|
function ConceptMediaFlagResultToJSON(json) {
|
|
@@ -46,5 +59,6 @@ function ConceptMediaFlagResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
59
|
}
|
|
47
60
|
return {
|
|
48
61
|
'hidden': value['hidden'],
|
|
62
|
+
'outcome': value['outcome'],
|
|
49
63
|
};
|
|
50
64
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* One problem the concept media reviewer agent noted.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ConceptMediaReviewIssue
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptMediaReviewIssue {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptMediaReviewIssue
|
|
22
|
+
*/
|
|
23
|
+
category: ConceptMediaReviewIssueCategoryEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptMediaReviewIssue
|
|
28
|
+
*/
|
|
29
|
+
severity: ConceptMediaReviewIssueSeverityEnum;
|
|
30
|
+
/**
|
|
31
|
+
* What is wrong and where, for an admin
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptMediaReviewIssue
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ConceptMediaReviewIssueCategoryEnum: {
|
|
41
|
+
readonly Accuracy: "accuracy";
|
|
42
|
+
readonly Readability: "readability";
|
|
43
|
+
readonly Relevance: "relevance";
|
|
44
|
+
readonly Functionality: "functionality";
|
|
45
|
+
readonly Appropriateness: "appropriateness";
|
|
46
|
+
};
|
|
47
|
+
export type ConceptMediaReviewIssueCategoryEnum = typeof ConceptMediaReviewIssueCategoryEnum[keyof typeof ConceptMediaReviewIssueCategoryEnum];
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const ConceptMediaReviewIssueSeverityEnum: {
|
|
52
|
+
readonly Minor: "minor";
|
|
53
|
+
readonly Moderate: "moderate";
|
|
54
|
+
readonly Severe: "severe";
|
|
55
|
+
};
|
|
56
|
+
export type ConceptMediaReviewIssueSeverityEnum = typeof ConceptMediaReviewIssueSeverityEnum[keyof typeof ConceptMediaReviewIssueSeverityEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ConceptMediaReviewIssue interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfConceptMediaReviewIssue(value: object): value is ConceptMediaReviewIssue;
|
|
61
|
+
export declare function ConceptMediaReviewIssueFromJSON(json: any): ConceptMediaReviewIssue;
|
|
62
|
+
export declare function ConceptMediaReviewIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptMediaReviewIssue;
|
|
63
|
+
export declare function ConceptMediaReviewIssueToJSON(json: any): ConceptMediaReviewIssue;
|
|
64
|
+
export declare function ConceptMediaReviewIssueToJSONTyped(value?: ConceptMediaReviewIssue | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConceptMediaReviewIssueSeverityEnum = exports.ConceptMediaReviewIssueCategoryEnum = void 0;
|
|
17
|
+
exports.instanceOfConceptMediaReviewIssue = instanceOfConceptMediaReviewIssue;
|
|
18
|
+
exports.ConceptMediaReviewIssueFromJSON = ConceptMediaReviewIssueFromJSON;
|
|
19
|
+
exports.ConceptMediaReviewIssueFromJSONTyped = ConceptMediaReviewIssueFromJSONTyped;
|
|
20
|
+
exports.ConceptMediaReviewIssueToJSON = ConceptMediaReviewIssueToJSON;
|
|
21
|
+
exports.ConceptMediaReviewIssueToJSONTyped = ConceptMediaReviewIssueToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ConceptMediaReviewIssueCategoryEnum = {
|
|
26
|
+
Accuracy: 'accuracy',
|
|
27
|
+
Readability: 'readability',
|
|
28
|
+
Relevance: 'relevance',
|
|
29
|
+
Functionality: 'functionality',
|
|
30
|
+
Appropriateness: 'appropriateness'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ConceptMediaReviewIssueSeverityEnum = {
|
|
36
|
+
Minor: 'minor',
|
|
37
|
+
Moderate: 'moderate',
|
|
38
|
+
Severe: 'severe'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ConceptMediaReviewIssue interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfConceptMediaReviewIssue(value) {
|
|
44
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('severity' in value) || value['severity'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function ConceptMediaReviewIssueFromJSON(json) {
|
|
53
|
+
return ConceptMediaReviewIssueFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ConceptMediaReviewIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'category': json['category'],
|
|
61
|
+
'severity': json['severity'],
|
|
62
|
+
'description': json['description'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ConceptMediaReviewIssueToJSON(json) {
|
|
66
|
+
return ConceptMediaReviewIssueToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function ConceptMediaReviewIssueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'category': value['category'],
|
|
74
|
+
'severity': value['severity'],
|
|
75
|
+
'description': value['description'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -72,6 +72,12 @@ export interface StudyObjective {
|
|
|
72
72
|
* @memberof StudyObjective
|
|
73
73
|
*/
|
|
74
74
|
title: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether this objective's own title names a subject (a word other than an assessment's form, its place in a course, its attempt kind or its delivery: 'Quiz 1: Descriptive Statistics' does, 'Test 2' and 'Chapter 3 Quiz' don't). Read from the title on every response, never stored. A client shows a Canvas item's `no-evidence` reason only when this is false, so a title the learner sees naming a subject is never called bare.
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof StudyObjective
|
|
79
|
+
*/
|
|
80
|
+
titleNamesSubject: boolean;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
* @type {string}
|
|
@@ -60,6 +60,8 @@ function instanceOfStudyObjective(value) {
|
|
|
60
60
|
return false;
|
|
61
61
|
if (!('title' in value) || value['title'] === undefined)
|
|
62
62
|
return false;
|
|
63
|
+
if (!('titleNamesSubject' in value) || value['titleNamesSubject'] === undefined)
|
|
64
|
+
return false;
|
|
63
65
|
if (!('notes' in value) || value['notes'] === undefined)
|
|
64
66
|
return false;
|
|
65
67
|
if (!('fileAttachments' in value) || value['fileAttachments'] === undefined)
|
|
@@ -93,6 +95,7 @@ function StudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
93
95
|
'source': json['source'],
|
|
94
96
|
'templateKey': json['templateKey'],
|
|
95
97
|
'title': json['title'],
|
|
98
|
+
'titleNamesSubject': json['titleNamesSubject'],
|
|
96
99
|
'notes': json['notes'],
|
|
97
100
|
'fileAttachments': (json['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentFromJSON)),
|
|
98
101
|
'canvasDocuments': (json['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentFromJSON)),
|
|
@@ -122,6 +125,7 @@ function StudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
122
125
|
'source': value['source'],
|
|
123
126
|
'templateKey': value['templateKey'],
|
|
124
127
|
'title': value['title'],
|
|
128
|
+
'titleNamesSubject': value['titleNamesSubject'],
|
|
125
129
|
'notes': value['notes'],
|
|
126
130
|
'fileAttachments': (value['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentToJSON)),
|
|
127
131
|
'canvasDocuments': (value['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentToJSON)),
|
|
@@ -40,6 +40,12 @@ export interface StudyObjectiveConceptAttachment {
|
|
|
40
40
|
* @memberof StudyObjectiveConceptAttachment
|
|
41
41
|
*/
|
|
42
42
|
lastError: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Why the latest finished extraction left this Canvas item no concept list. `no-evidence`: nothing the extraction would read (title, description, supporting material, syllabus) names a subject, so the model was not asked. `agent-empty`: the model was asked and returned no concepts. Null when the item has concepts (a list a later empty run kept wins), while an extraction is due or in flight, and for custom objectives. Shared by every learner on the item: show `no-evidence` as the item naming nothing only when the objective's `titleNamesSubject` is false. A later fresh read or a rename that names a subject re-runs a `no-evidence` row.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
47
|
+
*/
|
|
48
|
+
emptyReason: StudyObjectiveConceptAttachmentEmptyReasonEnum | null;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Array<StudyObjectiveConceptSummary>}
|
|
@@ -66,6 +72,14 @@ export declare const StudyObjectiveConceptAttachmentStatusEnum: {
|
|
|
66
72
|
readonly Missing: "missing";
|
|
67
73
|
};
|
|
68
74
|
export type StudyObjectiveConceptAttachmentStatusEnum = typeof StudyObjectiveConceptAttachmentStatusEnum[keyof typeof StudyObjectiveConceptAttachmentStatusEnum];
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export declare const StudyObjectiveConceptAttachmentEmptyReasonEnum: {
|
|
79
|
+
readonly NoEvidence: "no-evidence";
|
|
80
|
+
readonly AgentEmpty: "agent-empty";
|
|
81
|
+
};
|
|
82
|
+
export type StudyObjectiveConceptAttachmentEmptyReasonEnum = typeof StudyObjectiveConceptAttachmentEmptyReasonEnum[keyof typeof StudyObjectiveConceptAttachmentEmptyReasonEnum];
|
|
69
83
|
/**
|
|
70
84
|
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
71
85
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.StudyObjectiveConceptAttachmentStatusEnum = exports.StudyObjectiveConceptAttachmentKindEnum = void 0;
|
|
16
|
+
exports.StudyObjectiveConceptAttachmentEmptyReasonEnum = exports.StudyObjectiveConceptAttachmentStatusEnum = exports.StudyObjectiveConceptAttachmentKindEnum = void 0;
|
|
17
17
|
exports.instanceOfStudyObjectiveConceptAttachment = instanceOfStudyObjectiveConceptAttachment;
|
|
18
18
|
exports.StudyObjectiveConceptAttachmentFromJSON = StudyObjectiveConceptAttachmentFromJSON;
|
|
19
19
|
exports.StudyObjectiveConceptAttachmentFromJSONTyped = StudyObjectiveConceptAttachmentFromJSONTyped;
|
|
@@ -37,6 +37,13 @@ exports.StudyObjectiveConceptAttachmentStatusEnum = {
|
|
|
37
37
|
Failed: 'failed',
|
|
38
38
|
Missing: 'missing'
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.StudyObjectiveConceptAttachmentEmptyReasonEnum = {
|
|
44
|
+
NoEvidence: 'no-evidence',
|
|
45
|
+
AgentEmpty: 'agent-empty'
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
42
49
|
*/
|
|
@@ -49,6 +56,8 @@ function instanceOfStudyObjectiveConceptAttachment(value) {
|
|
|
49
56
|
return false;
|
|
50
57
|
if (!('lastError' in value) || value['lastError'] === undefined)
|
|
51
58
|
return false;
|
|
59
|
+
if (!('emptyReason' in value) || value['emptyReason'] === undefined)
|
|
60
|
+
return false;
|
|
52
61
|
if (!('concepts' in value) || value['concepts'] === undefined)
|
|
53
62
|
return false;
|
|
54
63
|
return true;
|
|
@@ -65,6 +74,7 @@ function StudyObjectiveConceptAttachmentFromJSONTyped(json, ignoreDiscriminator)
|
|
|
65
74
|
'kind': json['kind'],
|
|
66
75
|
'status': json['status'],
|
|
67
76
|
'lastError': json['lastError'],
|
|
77
|
+
'emptyReason': json['emptyReason'],
|
|
68
78
|
'concepts': (json['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryFromJSON)),
|
|
69
79
|
};
|
|
70
80
|
}
|
|
@@ -80,6 +90,7 @@ function StudyObjectiveConceptAttachmentToJSONTyped(value, ignoreDiscriminator =
|
|
|
80
90
|
'kind': value['kind'],
|
|
81
91
|
'status': value['status'],
|
|
82
92
|
'lastError': value['lastError'],
|
|
93
|
+
'emptyReason': value['emptyReason'],
|
|
83
94
|
'concepts': (value['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryToJSON)),
|
|
84
95
|
};
|
|
85
96
|
}
|
|
@@ -72,6 +72,12 @@ export interface UpcomingStudyObjective {
|
|
|
72
72
|
* @memberof UpcomingStudyObjective
|
|
73
73
|
*/
|
|
74
74
|
title: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether this objective's own title names a subject (a word other than an assessment's form, its place in a course, its attempt kind or its delivery: 'Quiz 1: Descriptive Statistics' does, 'Test 2' and 'Chapter 3 Quiz' don't). Read from the title on every response, never stored. A client shows a Canvas item's `no-evidence` reason only when this is false, so a title the learner sees naming a subject is never called bare.
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof UpcomingStudyObjective
|
|
79
|
+
*/
|
|
80
|
+
titleNamesSubject: boolean;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
* @type {string}
|
|
@@ -60,6 +60,8 @@ function instanceOfUpcomingStudyObjective(value) {
|
|
|
60
60
|
return false;
|
|
61
61
|
if (!('title' in value) || value['title'] === undefined)
|
|
62
62
|
return false;
|
|
63
|
+
if (!('titleNamesSubject' in value) || value['titleNamesSubject'] === undefined)
|
|
64
|
+
return false;
|
|
63
65
|
if (!('notes' in value) || value['notes'] === undefined)
|
|
64
66
|
return false;
|
|
65
67
|
if (!('fileAttachments' in value) || value['fileAttachments'] === undefined)
|
|
@@ -95,6 +97,7 @@ function UpcomingStudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
95
97
|
'source': json['source'],
|
|
96
98
|
'templateKey': json['templateKey'],
|
|
97
99
|
'title': json['title'],
|
|
100
|
+
'titleNamesSubject': json['titleNamesSubject'],
|
|
98
101
|
'notes': json['notes'],
|
|
99
102
|
'fileAttachments': (json['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentFromJSON)),
|
|
100
103
|
'canvasDocuments': (json['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentFromJSON)),
|
|
@@ -125,6 +128,7 @@ function UpcomingStudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
125
128
|
'source': value['source'],
|
|
126
129
|
'templateKey': value['templateKey'],
|
|
127
130
|
'title': value['title'],
|
|
131
|
+
'titleNamesSubject': value['titleNamesSubject'],
|
|
128
132
|
'notes': value['notes'],
|
|
129
133
|
'fileAttachments': (value['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentToJSON)),
|
|
130
134
|
'canvasDocuments': (value['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentToJSON)),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -16,16 +16,23 @@ export * from './AdminChat';
|
|
|
16
16
|
export * from './AdminChatAnalysis';
|
|
17
17
|
export * from './AdminChatCanvasUsage';
|
|
18
18
|
export * from './AdminChatWithStats';
|
|
19
|
+
export * from './AdminClaimConceptMediaReviewNotificationsRequest';
|
|
19
20
|
export * from './AdminCohortStats';
|
|
20
21
|
export * from './AdminConceptDiagram';
|
|
21
22
|
export * from './AdminConceptDiagramDetail';
|
|
22
23
|
export * from './AdminConceptImage';
|
|
23
24
|
export * from './AdminConceptImageDetail';
|
|
24
25
|
export * from './AdminConceptMediaActor';
|
|
26
|
+
export * from './AdminConceptMediaAgentReview';
|
|
25
27
|
export * from './AdminConceptMediaConcept';
|
|
26
28
|
export * from './AdminConceptMediaHistoryEntry';
|
|
27
29
|
export * from './AdminConceptMediaJob';
|
|
28
30
|
export * from './AdminConceptMediaPromptSuggestion';
|
|
31
|
+
export * from './AdminConceptMediaReviewDurationStats';
|
|
32
|
+
export * from './AdminConceptMediaReviewKindStats';
|
|
33
|
+
export * from './AdminConceptMediaReviewNotification';
|
|
34
|
+
export * from './AdminConceptMediaReviewNotifications';
|
|
35
|
+
export * from './AdminConceptMediaReviewStats';
|
|
29
36
|
export * from './AdminConceptMediaRevision';
|
|
30
37
|
export * from './AdminConceptSearchResult';
|
|
31
38
|
export * from './AdminExchangeChat';
|
|
@@ -101,6 +108,7 @@ export * from './ConceptDiagramDetail';
|
|
|
101
108
|
export * from './ConceptDiagramGalleryItem';
|
|
102
109
|
export * from './ConceptImageGalleryItem';
|
|
103
110
|
export * from './ConceptMediaFlagResult';
|
|
111
|
+
export * from './ConceptMediaReviewIssue';
|
|
104
112
|
export * from './CreateAccountRequest';
|
|
105
113
|
export * from './CreateChatRequest';
|
|
106
114
|
export * from './CreateFeatureDto';
|
package/dist/models/index.js
CHANGED
|
@@ -34,16 +34,23 @@ __exportStar(require("./AdminChat"), exports);
|
|
|
34
34
|
__exportStar(require("./AdminChatAnalysis"), exports);
|
|
35
35
|
__exportStar(require("./AdminChatCanvasUsage"), exports);
|
|
36
36
|
__exportStar(require("./AdminChatWithStats"), exports);
|
|
37
|
+
__exportStar(require("./AdminClaimConceptMediaReviewNotificationsRequest"), exports);
|
|
37
38
|
__exportStar(require("./AdminCohortStats"), exports);
|
|
38
39
|
__exportStar(require("./AdminConceptDiagram"), exports);
|
|
39
40
|
__exportStar(require("./AdminConceptDiagramDetail"), exports);
|
|
40
41
|
__exportStar(require("./AdminConceptImage"), exports);
|
|
41
42
|
__exportStar(require("./AdminConceptImageDetail"), exports);
|
|
42
43
|
__exportStar(require("./AdminConceptMediaActor"), exports);
|
|
44
|
+
__exportStar(require("./AdminConceptMediaAgentReview"), exports);
|
|
43
45
|
__exportStar(require("./AdminConceptMediaConcept"), exports);
|
|
44
46
|
__exportStar(require("./AdminConceptMediaHistoryEntry"), exports);
|
|
45
47
|
__exportStar(require("./AdminConceptMediaJob"), exports);
|
|
46
48
|
__exportStar(require("./AdminConceptMediaPromptSuggestion"), exports);
|
|
49
|
+
__exportStar(require("./AdminConceptMediaReviewDurationStats"), exports);
|
|
50
|
+
__exportStar(require("./AdminConceptMediaReviewKindStats"), exports);
|
|
51
|
+
__exportStar(require("./AdminConceptMediaReviewNotification"), exports);
|
|
52
|
+
__exportStar(require("./AdminConceptMediaReviewNotifications"), exports);
|
|
53
|
+
__exportStar(require("./AdminConceptMediaReviewStats"), exports);
|
|
47
54
|
__exportStar(require("./AdminConceptMediaRevision"), exports);
|
|
48
55
|
__exportStar(require("./AdminConceptSearchResult"), exports);
|
|
49
56
|
__exportStar(require("./AdminExchangeChat"), exports);
|
|
@@ -119,6 +126,7 @@ __exportStar(require("./ConceptDiagramDetail"), exports);
|
|
|
119
126
|
__exportStar(require("./ConceptDiagramGalleryItem"), exports);
|
|
120
127
|
__exportStar(require("./ConceptImageGalleryItem"), exports);
|
|
121
128
|
__exportStar(require("./ConceptMediaFlagResult"), exports);
|
|
129
|
+
__exportStar(require("./ConceptMediaReviewIssue"), exports);
|
|
122
130
|
__exportStar(require("./CreateAccountRequest"), exports);
|
|
123
131
|
__exportStar(require("./CreateChatRequest"), exports);
|
|
124
132
|
__exportStar(require("./CreateFeatureDto"), exports);
|