@instructure/athena-api-client 4.5.1 → 4.6.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/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/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
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);
|