@instructure/athena-api-client 3.42.0 → 3.42.1
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 +8 -0
- package/dist/apis/ConceptDiagramsApi.d.ts +47 -0
- package/dist/apis/ConceptDiagramsApi.js +117 -0
- package/dist/apis/ConceptImagesApi.d.ts +33 -0
- package/dist/apis/ConceptImagesApi.js +76 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/ConceptDiagramsApi.d.ts +47 -0
- package/dist/esm/apis/ConceptDiagramsApi.js +113 -0
- package/dist/esm/apis/ConceptImagesApi.d.ts +33 -0
- package/dist/esm/apis/ConceptImagesApi.js +72 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/ConceptDiagramDetail.d.ts +74 -0
- package/dist/esm/models/ConceptDiagramDetail.js +71 -0
- package/dist/esm/models/ConceptDiagramGalleryItem.d.ts +68 -0
- package/dist/esm/models/ConceptDiagramGalleryItem.js +67 -0
- package/dist/esm/models/ConceptImageGalleryItem.d.ts +86 -0
- package/dist/esm/models/ConceptImageGalleryItem.js +79 -0
- package/dist/esm/models/PaginatedConceptDiagrams.d.ts +39 -0
- package/dist/esm/models/PaginatedConceptDiagrams.js +48 -0
- package/dist/esm/models/PaginatedConceptImages.d.ts +39 -0
- package/dist/esm/models/PaginatedConceptImages.js +48 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/models/ConceptDiagramDetail.d.ts +74 -0
- package/dist/models/ConceptDiagramDetail.js +78 -0
- package/dist/models/ConceptDiagramGalleryItem.d.ts +68 -0
- package/dist/models/ConceptDiagramGalleryItem.js +74 -0
- package/dist/models/ConceptImageGalleryItem.d.ts +86 -0
- package/dist/models/ConceptImageGalleryItem.js +86 -0
- package/dist/models/PaginatedConceptDiagrams.d.ts +39 -0
- package/dist/models/PaginatedConceptDiagrams.js +55 -0
- package/dist/models/PaginatedConceptImages.d.ts +39 -0
- package/dist/models/PaginatedConceptImages.js +55 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
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 ConceptDiagramDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptDiagramDetail {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptDiagramDetail
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptDiagramDetail
|
|
28
|
+
*/
|
|
29
|
+
conceptId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptDiagramDetail
|
|
34
|
+
*/
|
|
35
|
+
conceptName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ConceptDiagramDetail
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ConceptDiagramDetail
|
|
46
|
+
*/
|
|
47
|
+
description: string;
|
|
48
|
+
/**
|
|
49
|
+
* The chat the diagram was authored in. Null once that chat is deleted.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ConceptDiagramDetail
|
|
52
|
+
*/
|
|
53
|
+
sourceChatId: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof ConceptDiagramDetail
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
* The complete assembled HTML document, to render in a sandboxed iframe
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ConceptDiagramDetail
|
|
64
|
+
*/
|
|
65
|
+
document: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the ConceptDiagramDetail interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfConceptDiagramDetail(value: object): value is ConceptDiagramDetail;
|
|
71
|
+
export declare function ConceptDiagramDetailFromJSON(json: any): ConceptDiagramDetail;
|
|
72
|
+
export declare function ConceptDiagramDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptDiagramDetail;
|
|
73
|
+
export declare function ConceptDiagramDetailToJSON(json: any): ConceptDiagramDetail;
|
|
74
|
+
export declare function ConceptDiagramDetailToJSONTyped(value?: ConceptDiagramDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 ConceptDiagramDetail interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfConceptDiagramDetail(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('conceptName' in value) || value['conceptName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('document' in value) || value['document'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function ConceptDiagramDetailFromJSON(json) {
|
|
37
|
+
return ConceptDiagramDetailFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ConceptDiagramDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'conceptId': json['conceptId'],
|
|
46
|
+
'conceptName': json['conceptName'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
'description': json['description'],
|
|
49
|
+
'sourceChatId': json['sourceChatId'],
|
|
50
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
51
|
+
'document': json['document'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function ConceptDiagramDetailToJSON(json) {
|
|
55
|
+
return ConceptDiagramDetailToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function ConceptDiagramDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'conceptId': value['conceptId'],
|
|
64
|
+
'conceptName': value['conceptName'],
|
|
65
|
+
'title': value['title'],
|
|
66
|
+
'description': value['description'],
|
|
67
|
+
'sourceChatId': value['sourceChatId'],
|
|
68
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
69
|
+
'document': value['document'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 ConceptDiagramGalleryItem
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptDiagramGalleryItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptDiagramGalleryItem
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptDiagramGalleryItem
|
|
28
|
+
*/
|
|
29
|
+
conceptId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptDiagramGalleryItem
|
|
34
|
+
*/
|
|
35
|
+
conceptName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ConceptDiagramGalleryItem
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ConceptDiagramGalleryItem
|
|
46
|
+
*/
|
|
47
|
+
description: string;
|
|
48
|
+
/**
|
|
49
|
+
* The chat the diagram was authored in. Null once that chat is deleted.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ConceptDiagramGalleryItem
|
|
52
|
+
*/
|
|
53
|
+
sourceChatId: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof ConceptDiagramGalleryItem
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ConceptDiagramGalleryItem interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfConceptDiagramGalleryItem(value: object): value is ConceptDiagramGalleryItem;
|
|
65
|
+
export declare function ConceptDiagramGalleryItemFromJSON(json: any): ConceptDiagramGalleryItem;
|
|
66
|
+
export declare function ConceptDiagramGalleryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptDiagramGalleryItem;
|
|
67
|
+
export declare function ConceptDiagramGalleryItemToJSON(json: any): ConceptDiagramGalleryItem;
|
|
68
|
+
export declare function ConceptDiagramGalleryItemToJSONTyped(value?: ConceptDiagramGalleryItem | 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
|
+
* Check if a given object implements the ConceptDiagramGalleryItem interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfConceptDiagramGalleryItem(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('conceptName' in value) || value['conceptName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function ConceptDiagramGalleryItemFromJSON(json) {
|
|
35
|
+
return ConceptDiagramGalleryItemFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ConceptDiagramGalleryItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'conceptId': json['conceptId'],
|
|
44
|
+
'conceptName': json['conceptName'],
|
|
45
|
+
'title': json['title'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'sourceChatId': json['sourceChatId'],
|
|
48
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ConceptDiagramGalleryItemToJSON(json) {
|
|
52
|
+
return ConceptDiagramGalleryItemToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ConceptDiagramGalleryItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'conceptId': value['conceptId'],
|
|
61
|
+
'conceptName': value['conceptName'],
|
|
62
|
+
'title': value['title'],
|
|
63
|
+
'description': value['description'],
|
|
64
|
+
'sourceChatId': value['sourceChatId'],
|
|
65
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 ConceptImageGalleryItem
|
|
16
|
+
*/
|
|
17
|
+
export interface ConceptImageGalleryItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConceptImageGalleryItem
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConceptImageGalleryItem
|
|
28
|
+
*/
|
|
29
|
+
conceptId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConceptImageGalleryItem
|
|
34
|
+
*/
|
|
35
|
+
conceptName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Alt text for the image
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ConceptImageGalleryItem
|
|
40
|
+
*/
|
|
41
|
+
description: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ConceptImageGalleryItem
|
|
46
|
+
*/
|
|
47
|
+
mimeType: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ConceptImageGalleryItem
|
|
52
|
+
*/
|
|
53
|
+
width: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ConceptImageGalleryItem
|
|
58
|
+
*/
|
|
59
|
+
height: number;
|
|
60
|
+
/**
|
|
61
|
+
* Short-lived signed read URL. Null when the URL could not be signed.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ConceptImageGalleryItem
|
|
64
|
+
*/
|
|
65
|
+
url: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* The chat the image was generated in. Null once that chat is deleted.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ConceptImageGalleryItem
|
|
70
|
+
*/
|
|
71
|
+
sourceChatId: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof ConceptImageGalleryItem
|
|
76
|
+
*/
|
|
77
|
+
createdAt: Date;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the ConceptImageGalleryItem interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfConceptImageGalleryItem(value: object): value is ConceptImageGalleryItem;
|
|
83
|
+
export declare function ConceptImageGalleryItemFromJSON(json: any): ConceptImageGalleryItem;
|
|
84
|
+
export declare function ConceptImageGalleryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConceptImageGalleryItem;
|
|
85
|
+
export declare function ConceptImageGalleryItemToJSON(json: any): ConceptImageGalleryItem;
|
|
86
|
+
export declare function ConceptImageGalleryItemToJSONTyped(value?: ConceptImageGalleryItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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 ConceptImageGalleryItem interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfConceptImageGalleryItem(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('conceptName' in value) || value['conceptName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('height' in value) || value['height'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function ConceptImageGalleryItemFromJSON(json) {
|
|
41
|
+
return ConceptImageGalleryItemFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ConceptImageGalleryItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'conceptId': json['conceptId'],
|
|
50
|
+
'conceptName': json['conceptName'],
|
|
51
|
+
'description': json['description'],
|
|
52
|
+
'mimeType': json['mimeType'],
|
|
53
|
+
'width': json['width'],
|
|
54
|
+
'height': json['height'],
|
|
55
|
+
'url': json['url'],
|
|
56
|
+
'sourceChatId': json['sourceChatId'],
|
|
57
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function ConceptImageGalleryItemToJSON(json) {
|
|
61
|
+
return ConceptImageGalleryItemToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function ConceptImageGalleryItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': value['id'],
|
|
69
|
+
'conceptId': value['conceptId'],
|
|
70
|
+
'conceptName': value['conceptName'],
|
|
71
|
+
'description': value['description'],
|
|
72
|
+
'mimeType': value['mimeType'],
|
|
73
|
+
'width': value['width'],
|
|
74
|
+
'height': value['height'],
|
|
75
|
+
'url': value['url'],
|
|
76
|
+
'sourceChatId': value['sourceChatId'],
|
|
77
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ConceptDiagramGalleryItem } from './ConceptDiagramGalleryItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedConceptDiagrams
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedConceptDiagrams {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ConceptDiagramGalleryItem>}
|
|
22
|
+
* @memberof PaginatedConceptDiagrams
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ConceptDiagramGalleryItem>;
|
|
25
|
+
/**
|
|
26
|
+
* Opaque cursor for fetching the next page. Null when there are no more results.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedConceptDiagrams
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedConceptDiagrams interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedConceptDiagrams(value: object): value is PaginatedConceptDiagrams;
|
|
36
|
+
export declare function PaginatedConceptDiagramsFromJSON(json: any): PaginatedConceptDiagrams;
|
|
37
|
+
export declare function PaginatedConceptDiagramsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedConceptDiagrams;
|
|
38
|
+
export declare function PaginatedConceptDiagramsToJSON(json: any): PaginatedConceptDiagrams;
|
|
39
|
+
export declare function PaginatedConceptDiagramsToJSONTyped(value?: PaginatedConceptDiagrams | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
import { ConceptDiagramGalleryItemFromJSON, ConceptDiagramGalleryItemToJSON, } from './ConceptDiagramGalleryItem';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PaginatedConceptDiagrams interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPaginatedConceptDiagrams(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedConceptDiagramsFromJSON(json) {
|
|
26
|
+
return PaginatedConceptDiagramsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedConceptDiagramsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'data': (json['data'].map(ConceptDiagramGalleryItemFromJSON)),
|
|
34
|
+
'nextCursor': json['nextCursor'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedConceptDiagramsToJSON(json) {
|
|
38
|
+
return PaginatedConceptDiagramsToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PaginatedConceptDiagramsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'data': (value['data'].map(ConceptDiagramGalleryItemToJSON)),
|
|
46
|
+
'nextCursor': value['nextCursor'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ConceptImageGalleryItem } from './ConceptImageGalleryItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedConceptImages
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedConceptImages {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ConceptImageGalleryItem>}
|
|
22
|
+
* @memberof PaginatedConceptImages
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ConceptImageGalleryItem>;
|
|
25
|
+
/**
|
|
26
|
+
* Opaque cursor for fetching the next page. Null when there are no more results.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedConceptImages
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedConceptImages interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedConceptImages(value: object): value is PaginatedConceptImages;
|
|
36
|
+
export declare function PaginatedConceptImagesFromJSON(json: any): PaginatedConceptImages;
|
|
37
|
+
export declare function PaginatedConceptImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedConceptImages;
|
|
38
|
+
export declare function PaginatedConceptImagesToJSON(json: any): PaginatedConceptImages;
|
|
39
|
+
export declare function PaginatedConceptImagesToJSONTyped(value?: PaginatedConceptImages | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
import { ConceptImageGalleryItemFromJSON, ConceptImageGalleryItemToJSON, } from './ConceptImageGalleryItem';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PaginatedConceptImages interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPaginatedConceptImages(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedConceptImagesFromJSON(json) {
|
|
26
|
+
return PaginatedConceptImagesFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedConceptImagesFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'data': (json['data'].map(ConceptImageGalleryItemFromJSON)),
|
|
34
|
+
'nextCursor': json['nextCursor'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedConceptImagesToJSON(json) {
|
|
38
|
+
return PaginatedConceptImagesToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PaginatedConceptImagesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'data': (value['data'].map(ConceptImageGalleryItemToJSON)),
|
|
46
|
+
'nextCursor': value['nextCursor'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -73,6 +73,9 @@ export * from './ChatRequestQuizSettings';
|
|
|
73
73
|
export * from './ChatStudyPlanActivity';
|
|
74
74
|
export * from './ConceptAssessmentEntity';
|
|
75
75
|
export * from './ConceptChange';
|
|
76
|
+
export * from './ConceptDiagramDetail';
|
|
77
|
+
export * from './ConceptDiagramGalleryItem';
|
|
78
|
+
export * from './ConceptImageGalleryItem';
|
|
76
79
|
export * from './CreateAccountRequest';
|
|
77
80
|
export * from './CreateChatRequest';
|
|
78
81
|
export * from './CreateFeatureDto';
|
|
@@ -109,6 +112,8 @@ export * from './MessageCountResponse';
|
|
|
109
112
|
export * from './MessagePartsInner';
|
|
110
113
|
export * from './ObjectiveResource';
|
|
111
114
|
export * from './PaginatedChats';
|
|
115
|
+
export * from './PaginatedConceptDiagrams';
|
|
116
|
+
export * from './PaginatedConceptImages';
|
|
112
117
|
export * from './PaginatedLearningMoments';
|
|
113
118
|
export * from './PaginatedMessages';
|
|
114
119
|
export * from './PaginatedObjectiveResources';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -75,6 +75,9 @@ export * from './ChatRequestQuizSettings';
|
|
|
75
75
|
export * from './ChatStudyPlanActivity';
|
|
76
76
|
export * from './ConceptAssessmentEntity';
|
|
77
77
|
export * from './ConceptChange';
|
|
78
|
+
export * from './ConceptDiagramDetail';
|
|
79
|
+
export * from './ConceptDiagramGalleryItem';
|
|
80
|
+
export * from './ConceptImageGalleryItem';
|
|
78
81
|
export * from './CreateAccountRequest';
|
|
79
82
|
export * from './CreateChatRequest';
|
|
80
83
|
export * from './CreateFeatureDto';
|
|
@@ -111,6 +114,8 @@ export * from './MessageCountResponse';
|
|
|
111
114
|
export * from './MessagePartsInner';
|
|
112
115
|
export * from './ObjectiveResource';
|
|
113
116
|
export * from './PaginatedChats';
|
|
117
|
+
export * from './PaginatedConceptDiagrams';
|
|
118
|
+
export * from './PaginatedConceptImages';
|
|
114
119
|
export * from './PaginatedLearningMoments';
|
|
115
120
|
export * from './PaginatedMessages';
|
|
116
121
|
export * from './PaginatedObjectiveResources';
|