@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.
Files changed (38) hide show
  1. package/README.md +8 -0
  2. package/dist/apis/ConceptDiagramsApi.d.ts +47 -0
  3. package/dist/apis/ConceptDiagramsApi.js +117 -0
  4. package/dist/apis/ConceptImagesApi.d.ts +33 -0
  5. package/dist/apis/ConceptImagesApi.js +76 -0
  6. package/dist/apis/index.d.ts +2 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/esm/apis/ConceptDiagramsApi.d.ts +47 -0
  9. package/dist/esm/apis/ConceptDiagramsApi.js +113 -0
  10. package/dist/esm/apis/ConceptImagesApi.d.ts +33 -0
  11. package/dist/esm/apis/ConceptImagesApi.js +72 -0
  12. package/dist/esm/apis/index.d.ts +2 -0
  13. package/dist/esm/apis/index.js +2 -0
  14. package/dist/esm/models/ConceptDiagramDetail.d.ts +74 -0
  15. package/dist/esm/models/ConceptDiagramDetail.js +71 -0
  16. package/dist/esm/models/ConceptDiagramGalleryItem.d.ts +68 -0
  17. package/dist/esm/models/ConceptDiagramGalleryItem.js +67 -0
  18. package/dist/esm/models/ConceptImageGalleryItem.d.ts +86 -0
  19. package/dist/esm/models/ConceptImageGalleryItem.js +79 -0
  20. package/dist/esm/models/PaginatedConceptDiagrams.d.ts +39 -0
  21. package/dist/esm/models/PaginatedConceptDiagrams.js +48 -0
  22. package/dist/esm/models/PaginatedConceptImages.d.ts +39 -0
  23. package/dist/esm/models/PaginatedConceptImages.js +48 -0
  24. package/dist/esm/models/index.d.ts +5 -0
  25. package/dist/esm/models/index.js +5 -0
  26. package/dist/models/ConceptDiagramDetail.d.ts +74 -0
  27. package/dist/models/ConceptDiagramDetail.js +78 -0
  28. package/dist/models/ConceptDiagramGalleryItem.d.ts +68 -0
  29. package/dist/models/ConceptDiagramGalleryItem.js +74 -0
  30. package/dist/models/ConceptImageGalleryItem.d.ts +86 -0
  31. package/dist/models/ConceptImageGalleryItem.js +86 -0
  32. package/dist/models/PaginatedConceptDiagrams.d.ts +39 -0
  33. package/dist/models/PaginatedConceptDiagrams.js +55 -0
  34. package/dist/models/PaginatedConceptImages.d.ts +39 -0
  35. package/dist/models/PaginatedConceptImages.js +55 -0
  36. package/dist/models/index.d.ts +5 -0
  37. package/dist/models/index.js +5 -0
  38. 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,78 @@
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.instanceOfConceptDiagramDetail = instanceOfConceptDiagramDetail;
17
+ exports.ConceptDiagramDetailFromJSON = ConceptDiagramDetailFromJSON;
18
+ exports.ConceptDiagramDetailFromJSONTyped = ConceptDiagramDetailFromJSONTyped;
19
+ exports.ConceptDiagramDetailToJSON = ConceptDiagramDetailToJSON;
20
+ exports.ConceptDiagramDetailToJSONTyped = ConceptDiagramDetailToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConceptDiagramDetail interface.
23
+ */
24
+ function instanceOfConceptDiagramDetail(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('conceptId' in value) || value['conceptId'] === undefined)
28
+ return false;
29
+ if (!('conceptName' in value) || value['conceptName'] === undefined)
30
+ return false;
31
+ if (!('title' in value) || value['title'] === undefined)
32
+ return false;
33
+ if (!('description' in value) || value['description'] === undefined)
34
+ return false;
35
+ if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
36
+ return false;
37
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
38
+ return false;
39
+ if (!('document' in value) || value['document'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function ConceptDiagramDetailFromJSON(json) {
44
+ return ConceptDiagramDetailFromJSONTyped(json, false);
45
+ }
46
+ function ConceptDiagramDetailFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'conceptId': json['conceptId'],
53
+ 'conceptName': json['conceptName'],
54
+ 'title': json['title'],
55
+ 'description': json['description'],
56
+ 'sourceChatId': json['sourceChatId'],
57
+ 'createdAt': (new Date(json['createdAt'])),
58
+ 'document': json['document'],
59
+ };
60
+ }
61
+ function ConceptDiagramDetailToJSON(json) {
62
+ return ConceptDiagramDetailToJSONTyped(json, false);
63
+ }
64
+ function ConceptDiagramDetailToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'conceptId': value['conceptId'],
71
+ 'conceptName': value['conceptName'],
72
+ 'title': value['title'],
73
+ 'description': value['description'],
74
+ 'sourceChatId': value['sourceChatId'],
75
+ 'createdAt': value['createdAt'].toISOString(),
76
+ 'document': value['document'],
77
+ };
78
+ }
@@ -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,74 @@
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.instanceOfConceptDiagramGalleryItem = instanceOfConceptDiagramGalleryItem;
17
+ exports.ConceptDiagramGalleryItemFromJSON = ConceptDiagramGalleryItemFromJSON;
18
+ exports.ConceptDiagramGalleryItemFromJSONTyped = ConceptDiagramGalleryItemFromJSONTyped;
19
+ exports.ConceptDiagramGalleryItemToJSON = ConceptDiagramGalleryItemToJSON;
20
+ exports.ConceptDiagramGalleryItemToJSONTyped = ConceptDiagramGalleryItemToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConceptDiagramGalleryItem interface.
23
+ */
24
+ function instanceOfConceptDiagramGalleryItem(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('conceptId' in value) || value['conceptId'] === undefined)
28
+ return false;
29
+ if (!('conceptName' in value) || value['conceptName'] === undefined)
30
+ return false;
31
+ if (!('title' in value) || value['title'] === undefined)
32
+ return false;
33
+ if (!('description' in value) || value['description'] === undefined)
34
+ return false;
35
+ if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
36
+ return false;
37
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function ConceptDiagramGalleryItemFromJSON(json) {
42
+ return ConceptDiagramGalleryItemFromJSONTyped(json, false);
43
+ }
44
+ function ConceptDiagramGalleryItemFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'id': json['id'],
50
+ 'conceptId': json['conceptId'],
51
+ 'conceptName': json['conceptName'],
52
+ 'title': json['title'],
53
+ 'description': json['description'],
54
+ 'sourceChatId': json['sourceChatId'],
55
+ 'createdAt': (new Date(json['createdAt'])),
56
+ };
57
+ }
58
+ function ConceptDiagramGalleryItemToJSON(json) {
59
+ return ConceptDiagramGalleryItemToJSONTyped(json, false);
60
+ }
61
+ function ConceptDiagramGalleryItemToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'id': value['id'],
67
+ 'conceptId': value['conceptId'],
68
+ 'conceptName': value['conceptName'],
69
+ 'title': value['title'],
70
+ 'description': value['description'],
71
+ 'sourceChatId': value['sourceChatId'],
72
+ 'createdAt': value['createdAt'].toISOString(),
73
+ };
74
+ }
@@ -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,86 @@
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.instanceOfConceptImageGalleryItem = instanceOfConceptImageGalleryItem;
17
+ exports.ConceptImageGalleryItemFromJSON = ConceptImageGalleryItemFromJSON;
18
+ exports.ConceptImageGalleryItemFromJSONTyped = ConceptImageGalleryItemFromJSONTyped;
19
+ exports.ConceptImageGalleryItemToJSON = ConceptImageGalleryItemToJSON;
20
+ exports.ConceptImageGalleryItemToJSONTyped = ConceptImageGalleryItemToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConceptImageGalleryItem interface.
23
+ */
24
+ function instanceOfConceptImageGalleryItem(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('conceptId' in value) || value['conceptId'] === undefined)
28
+ return false;
29
+ if (!('conceptName' in value) || value['conceptName'] === undefined)
30
+ return false;
31
+ if (!('description' in value) || value['description'] === undefined)
32
+ return false;
33
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
34
+ return false;
35
+ if (!('width' in value) || value['width'] === undefined)
36
+ return false;
37
+ if (!('height' in value) || value['height'] === undefined)
38
+ return false;
39
+ if (!('url' in value) || value['url'] === undefined)
40
+ return false;
41
+ if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
42
+ return false;
43
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ function ConceptImageGalleryItemFromJSON(json) {
48
+ return ConceptImageGalleryItemFromJSONTyped(json, false);
49
+ }
50
+ function ConceptImageGalleryItemFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'id': json['id'],
56
+ 'conceptId': json['conceptId'],
57
+ 'conceptName': json['conceptName'],
58
+ 'description': json['description'],
59
+ 'mimeType': json['mimeType'],
60
+ 'width': json['width'],
61
+ 'height': json['height'],
62
+ 'url': json['url'],
63
+ 'sourceChatId': json['sourceChatId'],
64
+ 'createdAt': (new Date(json['createdAt'])),
65
+ };
66
+ }
67
+ function ConceptImageGalleryItemToJSON(json) {
68
+ return ConceptImageGalleryItemToJSONTyped(json, false);
69
+ }
70
+ function ConceptImageGalleryItemToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'id': value['id'],
76
+ 'conceptId': value['conceptId'],
77
+ 'conceptName': value['conceptName'],
78
+ 'description': value['description'],
79
+ 'mimeType': value['mimeType'],
80
+ 'width': value['width'],
81
+ 'height': value['height'],
82
+ 'url': value['url'],
83
+ 'sourceChatId': value['sourceChatId'],
84
+ 'createdAt': value['createdAt'].toISOString(),
85
+ };
86
+ }
@@ -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,55 @@
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.instanceOfPaginatedConceptDiagrams = instanceOfPaginatedConceptDiagrams;
17
+ exports.PaginatedConceptDiagramsFromJSON = PaginatedConceptDiagramsFromJSON;
18
+ exports.PaginatedConceptDiagramsFromJSONTyped = PaginatedConceptDiagramsFromJSONTyped;
19
+ exports.PaginatedConceptDiagramsToJSON = PaginatedConceptDiagramsToJSON;
20
+ exports.PaginatedConceptDiagramsToJSONTyped = PaginatedConceptDiagramsToJSONTyped;
21
+ const ConceptDiagramGalleryItem_1 = require("./ConceptDiagramGalleryItem");
22
+ /**
23
+ * Check if a given object implements the PaginatedConceptDiagrams interface.
24
+ */
25
+ function instanceOfPaginatedConceptDiagrams(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ if (!('nextCursor' in value) || value['nextCursor'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function PaginatedConceptDiagramsFromJSON(json) {
33
+ return PaginatedConceptDiagramsFromJSONTyped(json, false);
34
+ }
35
+ function PaginatedConceptDiagramsFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'data': (json['data'].map(ConceptDiagramGalleryItem_1.ConceptDiagramGalleryItemFromJSON)),
41
+ 'nextCursor': json['nextCursor'],
42
+ };
43
+ }
44
+ function PaginatedConceptDiagramsToJSON(json) {
45
+ return PaginatedConceptDiagramsToJSONTyped(json, false);
46
+ }
47
+ function PaginatedConceptDiagramsToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'data': (value['data'].map(ConceptDiagramGalleryItem_1.ConceptDiagramGalleryItemToJSON)),
53
+ 'nextCursor': value['nextCursor'],
54
+ };
55
+ }
@@ -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,55 @@
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.instanceOfPaginatedConceptImages = instanceOfPaginatedConceptImages;
17
+ exports.PaginatedConceptImagesFromJSON = PaginatedConceptImagesFromJSON;
18
+ exports.PaginatedConceptImagesFromJSONTyped = PaginatedConceptImagesFromJSONTyped;
19
+ exports.PaginatedConceptImagesToJSON = PaginatedConceptImagesToJSON;
20
+ exports.PaginatedConceptImagesToJSONTyped = PaginatedConceptImagesToJSONTyped;
21
+ const ConceptImageGalleryItem_1 = require("./ConceptImageGalleryItem");
22
+ /**
23
+ * Check if a given object implements the PaginatedConceptImages interface.
24
+ */
25
+ function instanceOfPaginatedConceptImages(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ if (!('nextCursor' in value) || value['nextCursor'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function PaginatedConceptImagesFromJSON(json) {
33
+ return PaginatedConceptImagesFromJSONTyped(json, false);
34
+ }
35
+ function PaginatedConceptImagesFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'data': (json['data'].map(ConceptImageGalleryItem_1.ConceptImageGalleryItemFromJSON)),
41
+ 'nextCursor': json['nextCursor'],
42
+ };
43
+ }
44
+ function PaginatedConceptImagesToJSON(json) {
45
+ return PaginatedConceptImagesToJSONTyped(json, false);
46
+ }
47
+ function PaginatedConceptImagesToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'data': (value['data'].map(ConceptImageGalleryItem_1.ConceptImageGalleryItemToJSON)),
53
+ 'nextCursor': value['nextCursor'],
54
+ };
55
+ }
@@ -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';