@instructure/athena-api-client 2.22.6 → 2.22.8
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 +6 -0
- package/dist/apis/StudyPrepApi.d.ts +63 -0
- package/dist/apis/StudyPrepApi.js +177 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/StudyPrepApi.d.ts +63 -0
- package/dist/esm/apis/StudyPrepApi.js +173 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/CanvasKnowledgeAssessmentEntity.d.ts +45 -0
- package/dist/esm/models/CanvasKnowledgeAssessmentEntity.js +52 -0
- package/dist/esm/models/CanvasTaxonomyEntity.d.ts +65 -0
- package/dist/esm/models/CanvasTaxonomyEntity.js +67 -0
- package/dist/esm/models/ConceptAssessmentEntity.d.ts +56 -0
- package/dist/esm/models/ConceptAssessmentEntity.js +59 -0
- package/dist/esm/models/TaxonomyDetail.d.ts +2 -0
- package/dist/esm/models/TaxonomyDetail.js +3 -1
- package/dist/esm/models/TaxonomySummary.d.ts +2 -0
- package/dist/esm/models/TaxonomySummary.js +3 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/CanvasKnowledgeAssessmentEntity.d.ts +45 -0
- package/dist/models/CanvasKnowledgeAssessmentEntity.js +59 -0
- package/dist/models/CanvasTaxonomyEntity.d.ts +65 -0
- package/dist/models/CanvasTaxonomyEntity.js +75 -0
- package/dist/models/ConceptAssessmentEntity.d.ts +56 -0
- package/dist/models/ConceptAssessmentEntity.js +66 -0
- package/dist/models/TaxonomyDetail.d.ts +2 -0
- package/dist/models/TaxonomyDetail.js +3 -1
- package/dist/models/TaxonomySummary.d.ts +2 -0
- package/dist/models/TaxonomySummary.js +3 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CanvasTaxonomyEntity
|
|
16
|
+
*/
|
|
17
|
+
export interface CanvasTaxonomyEntity {
|
|
18
|
+
/**
|
|
19
|
+
* Taxonomy UUID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CanvasTaxonomyEntity
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* URL slug (e.g. canvas-12345)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CanvasTaxonomyEntity
|
|
28
|
+
*/
|
|
29
|
+
slug: string;
|
|
30
|
+
/**
|
|
31
|
+
* Canvas course name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CanvasTaxonomyEntity
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Current generation status. Poll GET /api/v1/taxonomies/by-slug/{slug} until "active".
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CanvasTaxonomyEntity
|
|
40
|
+
*/
|
|
41
|
+
status: CanvasTaxonomyEntityStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* True if this call created a new taxonomy record; false if one already existed
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CanvasTaxonomyEntity
|
|
46
|
+
*/
|
|
47
|
+
created: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const CanvasTaxonomyEntityStatusEnum: {
|
|
53
|
+
readonly Pending: "pending";
|
|
54
|
+
readonly Active: "active";
|
|
55
|
+
readonly Failed: "failed";
|
|
56
|
+
};
|
|
57
|
+
export type CanvasTaxonomyEntityStatusEnum = typeof CanvasTaxonomyEntityStatusEnum[keyof typeof CanvasTaxonomyEntityStatusEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the CanvasTaxonomyEntity interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfCanvasTaxonomyEntity(value: object): value is CanvasTaxonomyEntity;
|
|
62
|
+
export declare function CanvasTaxonomyEntityFromJSON(json: any): CanvasTaxonomyEntity;
|
|
63
|
+
export declare function CanvasTaxonomyEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CanvasTaxonomyEntity;
|
|
64
|
+
export declare function CanvasTaxonomyEntityToJSON(json: any): CanvasTaxonomyEntity;
|
|
65
|
+
export declare function CanvasTaxonomyEntityToJSONTyped(value?: CanvasTaxonomyEntity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const CanvasTaxonomyEntityStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Active: 'active',
|
|
20
|
+
Failed: 'failed'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CanvasTaxonomyEntity interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfCanvasTaxonomyEntity(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function CanvasTaxonomyEntityFromJSON(json) {
|
|
39
|
+
return CanvasTaxonomyEntityFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function CanvasTaxonomyEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'slug': json['slug'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'created': json['created'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function CanvasTaxonomyEntityToJSON(json) {
|
|
54
|
+
return CanvasTaxonomyEntityToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function CanvasTaxonomyEntityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value['id'],
|
|
62
|
+
'slug': value['slug'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'status': value['status'],
|
|
65
|
+
'created': value['created'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ConceptAssessmentEntity
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptAssessmentEntity {
|
|
18
|
+
/**
|
|
19
|
+
* Concept UUID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptAssessmentEntity
|
|
22
|
+
*/
|
|
23
|
+
conceptId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Full concept name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptAssessmentEntity
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Short label (≤ 64 chars)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptAssessmentEntity
|
|
34
|
+
*/
|
|
35
|
+
shortName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Estimated competency (0–1)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ConceptAssessmentEntity
|
|
40
|
+
*/
|
|
41
|
+
strength: number;
|
|
42
|
+
/**
|
|
43
|
+
* Confidence in the estimate (0–1)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ConceptAssessmentEntity
|
|
46
|
+
*/
|
|
47
|
+
confidence: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ConceptAssessmentEntity interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfConceptAssessmentEntity(value: object): value is ConceptAssessmentEntity;
|
|
53
|
+
export declare function ConceptAssessmentEntityFromJSON(json: any): ConceptAssessmentEntity;
|
|
54
|
+
export declare function ConceptAssessmentEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptAssessmentEntity;
|
|
55
|
+
export declare function ConceptAssessmentEntityToJSON(json: any): ConceptAssessmentEntity;
|
|
56
|
+
export declare function ConceptAssessmentEntityToJSONTyped(value?: ConceptAssessmentEntity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ConceptAssessmentEntity interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfConceptAssessmentEntity(value) {
|
|
18
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('shortName' in value) || value['shortName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('strength' in value) || value['strength'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ConceptAssessmentEntityFromJSON(json) {
|
|
31
|
+
return ConceptAssessmentEntityFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ConceptAssessmentEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'conceptId': json['conceptId'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'shortName': json['shortName'],
|
|
41
|
+
'strength': json['strength'],
|
|
42
|
+
'confidence': json['confidence'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ConceptAssessmentEntityToJSON(json) {
|
|
46
|
+
return ConceptAssessmentEntityToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ConceptAssessmentEntityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'conceptId': value['conceptId'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'shortName': value['shortName'],
|
|
56
|
+
'strength': value['strength'],
|
|
57
|
+
'confidence': value['confidence'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -76,7 +76,9 @@ export interface TaxonomyDetail {
|
|
|
76
76
|
*/
|
|
77
77
|
export declare const TaxonomyDetailStatusEnum: {
|
|
78
78
|
readonly Draft: "draft";
|
|
79
|
+
readonly Pending: "pending";
|
|
79
80
|
readonly Active: "active";
|
|
81
|
+
readonly Failed: "failed";
|
|
80
82
|
};
|
|
81
83
|
export type TaxonomyDetailStatusEnum = typeof TaxonomyDetailStatusEnum[keyof typeof TaxonomyDetailStatusEnum];
|
|
82
84
|
/**
|
|
@@ -17,7 +17,9 @@ import { TaxonomyNodeFromJSON, TaxonomyNodeToJSON, } from './TaxonomyNode';
|
|
|
17
17
|
*/
|
|
18
18
|
export const TaxonomyDetailStatusEnum = {
|
|
19
19
|
Draft: 'draft',
|
|
20
|
-
|
|
20
|
+
Pending: 'pending',
|
|
21
|
+
Active: 'active',
|
|
22
|
+
Failed: 'failed'
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
25
|
* Check if a given object implements the TaxonomyDetail interface.
|
|
@@ -63,7 +63,9 @@ export interface TaxonomySummary {
|
|
|
63
63
|
*/
|
|
64
64
|
export declare const TaxonomySummaryStatusEnum: {
|
|
65
65
|
readonly Draft: "draft";
|
|
66
|
+
readonly Pending: "pending";
|
|
66
67
|
readonly Active: "active";
|
|
68
|
+
readonly Failed: "failed";
|
|
67
69
|
};
|
|
68
70
|
export type TaxonomySummaryStatusEnum = typeof TaxonomySummaryStatusEnum[keyof typeof TaxonomySummaryStatusEnum];
|
|
69
71
|
/**
|
|
@@ -13,6 +13,8 @@ export * from './AdminTaxonomyEnrollmentTaxonomy';
|
|
|
13
13
|
export * from './AdminTriggerAnalysisResponse';
|
|
14
14
|
export * from './AdminUpdateChatRequest';
|
|
15
15
|
export * from './AdminUserEngagement';
|
|
16
|
+
export * from './CanvasKnowledgeAssessmentEntity';
|
|
17
|
+
export * from './CanvasTaxonomyEntity';
|
|
16
18
|
export * from './Chat';
|
|
17
19
|
export * from './ChatAnalysis';
|
|
18
20
|
export * from './ChatRequest';
|
|
@@ -22,6 +24,7 @@ export * from './ChatRequestMessageMetadata';
|
|
|
22
24
|
export * from './ChatRequestQuizContext';
|
|
23
25
|
export * from './ChatRequestQuizContextAnswerState';
|
|
24
26
|
export * from './ChatRequestQuizContextCurrentQuestion';
|
|
27
|
+
export * from './ConceptAssessmentEntity';
|
|
25
28
|
export * from './CreateAccountRequest';
|
|
26
29
|
export * from './CreateChatRequest';
|
|
27
30
|
export * from './CreateFeatureDto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -15,6 +15,8 @@ export * from './AdminTaxonomyEnrollmentTaxonomy';
|
|
|
15
15
|
export * from './AdminTriggerAnalysisResponse';
|
|
16
16
|
export * from './AdminUpdateChatRequest';
|
|
17
17
|
export * from './AdminUserEngagement';
|
|
18
|
+
export * from './CanvasKnowledgeAssessmentEntity';
|
|
19
|
+
export * from './CanvasTaxonomyEntity';
|
|
18
20
|
export * from './Chat';
|
|
19
21
|
export * from './ChatAnalysis';
|
|
20
22
|
export * from './ChatRequest';
|
|
@@ -24,6 +26,7 @@ export * from './ChatRequestMessageMetadata';
|
|
|
24
26
|
export * from './ChatRequestQuizContext';
|
|
25
27
|
export * from './ChatRequestQuizContextAnswerState';
|
|
26
28
|
export * from './ChatRequestQuizContextCurrentQuestion';
|
|
29
|
+
export * from './ConceptAssessmentEntity';
|
|
27
30
|
export * from './CreateAccountRequest';
|
|
28
31
|
export * from './CreateChatRequest';
|
|
29
32
|
export * from './CreateFeatureDto';
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import type { ConceptAssessmentEntity } from './ConceptAssessmentEntity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CanvasKnowledgeAssessmentEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface CanvasKnowledgeAssessmentEntity {
|
|
19
|
+
/**
|
|
20
|
+
* Taxonomy UUID the assessment is scoped to
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CanvasKnowledgeAssessmentEntity
|
|
23
|
+
*/
|
|
24
|
+
taxonomyId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Number of concepts that received an estimate
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CanvasKnowledgeAssessmentEntity
|
|
29
|
+
*/
|
|
30
|
+
assessed: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ConceptAssessmentEntity>}
|
|
34
|
+
* @memberof CanvasKnowledgeAssessmentEntity
|
|
35
|
+
*/
|
|
36
|
+
concepts: Array<ConceptAssessmentEntity>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CanvasKnowledgeAssessmentEntity interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCanvasKnowledgeAssessmentEntity(value: object): value is CanvasKnowledgeAssessmentEntity;
|
|
42
|
+
export declare function CanvasKnowledgeAssessmentEntityFromJSON(json: any): CanvasKnowledgeAssessmentEntity;
|
|
43
|
+
export declare function CanvasKnowledgeAssessmentEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CanvasKnowledgeAssessmentEntity;
|
|
44
|
+
export declare function CanvasKnowledgeAssessmentEntityToJSON(json: any): CanvasKnowledgeAssessmentEntity;
|
|
45
|
+
export declare function CanvasKnowledgeAssessmentEntityToJSONTyped(value?: CanvasKnowledgeAssessmentEntity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfCanvasKnowledgeAssessmentEntity = instanceOfCanvasKnowledgeAssessmentEntity;
|
|
17
|
+
exports.CanvasKnowledgeAssessmentEntityFromJSON = CanvasKnowledgeAssessmentEntityFromJSON;
|
|
18
|
+
exports.CanvasKnowledgeAssessmentEntityFromJSONTyped = CanvasKnowledgeAssessmentEntityFromJSONTyped;
|
|
19
|
+
exports.CanvasKnowledgeAssessmentEntityToJSON = CanvasKnowledgeAssessmentEntityToJSON;
|
|
20
|
+
exports.CanvasKnowledgeAssessmentEntityToJSONTyped = CanvasKnowledgeAssessmentEntityToJSONTyped;
|
|
21
|
+
const ConceptAssessmentEntity_1 = require("./ConceptAssessmentEntity");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CanvasKnowledgeAssessmentEntity interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCanvasKnowledgeAssessmentEntity(value) {
|
|
26
|
+
if (!('taxonomyId' in value) || value['taxonomyId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('assessed' in value) || value['assessed'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('concepts' in value) || value['concepts'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function CanvasKnowledgeAssessmentEntityFromJSON(json) {
|
|
35
|
+
return CanvasKnowledgeAssessmentEntityFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function CanvasKnowledgeAssessmentEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'taxonomyId': json['taxonomyId'],
|
|
43
|
+
'assessed': json['assessed'],
|
|
44
|
+
'concepts': (json['concepts'].map(ConceptAssessmentEntity_1.ConceptAssessmentEntityFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function CanvasKnowledgeAssessmentEntityToJSON(json) {
|
|
48
|
+
return CanvasKnowledgeAssessmentEntityToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function CanvasKnowledgeAssessmentEntityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'taxonomyId': value['taxonomyId'],
|
|
56
|
+
'assessed': value['assessed'],
|
|
57
|
+
'concepts': (value['concepts'].map(ConceptAssessmentEntity_1.ConceptAssessmentEntityToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CanvasTaxonomyEntity
|
|
16
|
+
*/
|
|
17
|
+
export interface CanvasTaxonomyEntity {
|
|
18
|
+
/**
|
|
19
|
+
* Taxonomy UUID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CanvasTaxonomyEntity
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* URL slug (e.g. canvas-12345)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CanvasTaxonomyEntity
|
|
28
|
+
*/
|
|
29
|
+
slug: string;
|
|
30
|
+
/**
|
|
31
|
+
* Canvas course name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CanvasTaxonomyEntity
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Current generation status. Poll GET /api/v1/taxonomies/by-slug/{slug} until "active".
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CanvasTaxonomyEntity
|
|
40
|
+
*/
|
|
41
|
+
status: CanvasTaxonomyEntityStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* True if this call created a new taxonomy record; false if one already existed
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CanvasTaxonomyEntity
|
|
46
|
+
*/
|
|
47
|
+
created: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const CanvasTaxonomyEntityStatusEnum: {
|
|
53
|
+
readonly Pending: "pending";
|
|
54
|
+
readonly Active: "active";
|
|
55
|
+
readonly Failed: "failed";
|
|
56
|
+
};
|
|
57
|
+
export type CanvasTaxonomyEntityStatusEnum = typeof CanvasTaxonomyEntityStatusEnum[keyof typeof CanvasTaxonomyEntityStatusEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the CanvasTaxonomyEntity interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfCanvasTaxonomyEntity(value: object): value is CanvasTaxonomyEntity;
|
|
62
|
+
export declare function CanvasTaxonomyEntityFromJSON(json: any): CanvasTaxonomyEntity;
|
|
63
|
+
export declare function CanvasTaxonomyEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CanvasTaxonomyEntity;
|
|
64
|
+
export declare function CanvasTaxonomyEntityToJSON(json: any): CanvasTaxonomyEntity;
|
|
65
|
+
export declare function CanvasTaxonomyEntityToJSONTyped(value?: CanvasTaxonomyEntity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.CanvasTaxonomyEntityStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfCanvasTaxonomyEntity = instanceOfCanvasTaxonomyEntity;
|
|
18
|
+
exports.CanvasTaxonomyEntityFromJSON = CanvasTaxonomyEntityFromJSON;
|
|
19
|
+
exports.CanvasTaxonomyEntityFromJSONTyped = CanvasTaxonomyEntityFromJSONTyped;
|
|
20
|
+
exports.CanvasTaxonomyEntityToJSON = CanvasTaxonomyEntityToJSON;
|
|
21
|
+
exports.CanvasTaxonomyEntityToJSONTyped = CanvasTaxonomyEntityToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CanvasTaxonomyEntityStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Active: 'active',
|
|
28
|
+
Failed: 'failed'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CanvasTaxonomyEntity interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfCanvasTaxonomyEntity(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function CanvasTaxonomyEntityFromJSON(json) {
|
|
47
|
+
return CanvasTaxonomyEntityFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function CanvasTaxonomyEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'slug': json['slug'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'status': json['status'],
|
|
58
|
+
'created': json['created'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function CanvasTaxonomyEntityToJSON(json) {
|
|
62
|
+
return CanvasTaxonomyEntityToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function CanvasTaxonomyEntityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'slug': value['slug'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'status': value['status'],
|
|
73
|
+
'created': value['created'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ConceptAssessmentEntity
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptAssessmentEntity {
|
|
18
|
+
/**
|
|
19
|
+
* Concept UUID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptAssessmentEntity
|
|
22
|
+
*/
|
|
23
|
+
conceptId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Full concept name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptAssessmentEntity
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Short label (≤ 64 chars)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptAssessmentEntity
|
|
34
|
+
*/
|
|
35
|
+
shortName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Estimated competency (0–1)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ConceptAssessmentEntity
|
|
40
|
+
*/
|
|
41
|
+
strength: number;
|
|
42
|
+
/**
|
|
43
|
+
* Confidence in the estimate (0–1)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ConceptAssessmentEntity
|
|
46
|
+
*/
|
|
47
|
+
confidence: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ConceptAssessmentEntity interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfConceptAssessmentEntity(value: object): value is ConceptAssessmentEntity;
|
|
53
|
+
export declare function ConceptAssessmentEntityFromJSON(json: any): ConceptAssessmentEntity;
|
|
54
|
+
export declare function ConceptAssessmentEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptAssessmentEntity;
|
|
55
|
+
export declare function ConceptAssessmentEntityToJSON(json: any): ConceptAssessmentEntity;
|
|
56
|
+
export declare function ConceptAssessmentEntityToJSONTyped(value?: ConceptAssessmentEntity | null, ignoreDiscriminator?: boolean): any;
|