@instructure/athena-api-client 3.41.8 → 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 (50) hide show
  1. package/README.md +9 -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/Chat.d.ts +7 -0
  15. package/dist/esm/models/Chat.js +5 -0
  16. package/dist/esm/models/ConceptDiagramDetail.d.ts +74 -0
  17. package/dist/esm/models/ConceptDiagramDetail.js +71 -0
  18. package/dist/esm/models/ConceptDiagramGalleryItem.d.ts +68 -0
  19. package/dist/esm/models/ConceptDiagramGalleryItem.js +67 -0
  20. package/dist/esm/models/ConceptImageGalleryItem.d.ts +86 -0
  21. package/dist/esm/models/ConceptImageGalleryItem.js +79 -0
  22. package/dist/esm/models/LevelUpClose.d.ts +94 -0
  23. package/dist/esm/models/LevelUpClose.js +92 -0
  24. package/dist/esm/models/PaginatedConceptDiagrams.d.ts +39 -0
  25. package/dist/esm/models/PaginatedConceptDiagrams.js +48 -0
  26. package/dist/esm/models/PaginatedConceptImages.d.ts +39 -0
  27. package/dist/esm/models/PaginatedConceptImages.js +48 -0
  28. package/dist/esm/models/UserConcept.d.ts +6 -0
  29. package/dist/esm/models/UserConcept.js +4 -0
  30. package/dist/esm/models/index.d.ts +6 -0
  31. package/dist/esm/models/index.js +6 -0
  32. package/dist/models/Chat.d.ts +7 -0
  33. package/dist/models/Chat.js +5 -0
  34. package/dist/models/ConceptDiagramDetail.d.ts +74 -0
  35. package/dist/models/ConceptDiagramDetail.js +78 -0
  36. package/dist/models/ConceptDiagramGalleryItem.d.ts +68 -0
  37. package/dist/models/ConceptDiagramGalleryItem.js +74 -0
  38. package/dist/models/ConceptImageGalleryItem.d.ts +86 -0
  39. package/dist/models/ConceptImageGalleryItem.js +86 -0
  40. package/dist/models/LevelUpClose.d.ts +94 -0
  41. package/dist/models/LevelUpClose.js +100 -0
  42. package/dist/models/PaginatedConceptDiagrams.d.ts +39 -0
  43. package/dist/models/PaginatedConceptDiagrams.js +55 -0
  44. package/dist/models/PaginatedConceptImages.d.ts +39 -0
  45. package/dist/models/PaginatedConceptImages.js +55 -0
  46. package/dist/models/UserConcept.d.ts +6 -0
  47. package/dist/models/UserConcept.js +4 -0
  48. package/dist/models/index.d.ts +6 -0
  49. package/dist/models/index.js +6 -0
  50. package/package.json +1 -1
@@ -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,94 @@
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 LevelUpClose
16
+ */
17
+ export interface LevelUpClose {
18
+ /**
19
+ * How the session closed. `pending-confirmation`: Expert-level work was banked and is confirmed by a second sitting at least a day later; `tier` names what was certified, never Expert.
20
+ * @type {string}
21
+ * @memberof LevelUpClose
22
+ */
23
+ state: LevelUpCloseStateEnum;
24
+ /**
25
+ * The tier the close screen names: the tier certified, or the tier held. Never a tier the close didn't certify.
26
+ * @type {string}
27
+ * @memberof LevelUpClose
28
+ */
29
+ tier: LevelUpCloseTierEnum;
30
+ /**
31
+ * The session's target tier.
32
+ * @type {string}
33
+ * @memberof LevelUpClose
34
+ */
35
+ targetTier: LevelUpCloseTargetTierEnum | null;
36
+ /**
37
+ * What we saw: the moves the learner showed, in the tutor's words.
38
+ * @type {string}
39
+ * @memberof LevelUpClose
40
+ */
41
+ seen: string;
42
+ /**
43
+ * Not yet: what wasn't shown, or wasn't asked. Empty when the close reached its tier.
44
+ * @type {string}
45
+ * @memberof LevelUpClose
46
+ */
47
+ notYet: string;
48
+ /**
49
+ * Next time: the move the next session starts on.
50
+ * @type {string}
51
+ * @memberof LevelUpClose
52
+ */
53
+ next: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const LevelUpCloseStateEnum: {
59
+ readonly HitTarget: "hit-target";
60
+ readonly BonusTier: "bonus-tier";
61
+ readonly TargetNotReached: "target-not-reached";
62
+ readonly PendingConfirmation: "pending-confirmation";
63
+ };
64
+ export type LevelUpCloseStateEnum = typeof LevelUpCloseStateEnum[keyof typeof LevelUpCloseStateEnum];
65
+ /**
66
+ * @export
67
+ */
68
+ export declare const LevelUpCloseTierEnum: {
69
+ readonly Novice: "Novice";
70
+ readonly Developing: "Developing";
71
+ readonly Competent: "Competent";
72
+ readonly Proficient: "Proficient";
73
+ readonly Expert: "Expert";
74
+ };
75
+ export type LevelUpCloseTierEnum = typeof LevelUpCloseTierEnum[keyof typeof LevelUpCloseTierEnum];
76
+ /**
77
+ * @export
78
+ */
79
+ export declare const LevelUpCloseTargetTierEnum: {
80
+ readonly Novice: "Novice";
81
+ readonly Developing: "Developing";
82
+ readonly Competent: "Competent";
83
+ readonly Proficient: "Proficient";
84
+ readonly Expert: "Expert";
85
+ };
86
+ export type LevelUpCloseTargetTierEnum = typeof LevelUpCloseTargetTierEnum[keyof typeof LevelUpCloseTargetTierEnum];
87
+ /**
88
+ * Check if a given object implements the LevelUpClose interface.
89
+ */
90
+ export declare function instanceOfLevelUpClose(value: object): value is LevelUpClose;
91
+ export declare function LevelUpCloseFromJSON(json: any): LevelUpClose;
92
+ export declare function LevelUpCloseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LevelUpClose;
93
+ export declare function LevelUpCloseToJSON(json: any): LevelUpClose;
94
+ export declare function LevelUpCloseToJSONTyped(value?: LevelUpClose | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,100 @@
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.LevelUpCloseTargetTierEnum = exports.LevelUpCloseTierEnum = exports.LevelUpCloseStateEnum = void 0;
17
+ exports.instanceOfLevelUpClose = instanceOfLevelUpClose;
18
+ exports.LevelUpCloseFromJSON = LevelUpCloseFromJSON;
19
+ exports.LevelUpCloseFromJSONTyped = LevelUpCloseFromJSONTyped;
20
+ exports.LevelUpCloseToJSON = LevelUpCloseToJSON;
21
+ exports.LevelUpCloseToJSONTyped = LevelUpCloseToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LevelUpCloseStateEnum = {
26
+ HitTarget: 'hit-target',
27
+ BonusTier: 'bonus-tier',
28
+ TargetNotReached: 'target-not-reached',
29
+ PendingConfirmation: 'pending-confirmation'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.LevelUpCloseTierEnum = {
35
+ Novice: 'Novice',
36
+ Developing: 'Developing',
37
+ Competent: 'Competent',
38
+ Proficient: 'Proficient',
39
+ Expert: 'Expert'
40
+ };
41
+ /**
42
+ * @export
43
+ */
44
+ exports.LevelUpCloseTargetTierEnum = {
45
+ Novice: 'Novice',
46
+ Developing: 'Developing',
47
+ Competent: 'Competent',
48
+ Proficient: 'Proficient',
49
+ Expert: 'Expert'
50
+ };
51
+ /**
52
+ * Check if a given object implements the LevelUpClose interface.
53
+ */
54
+ function instanceOfLevelUpClose(value) {
55
+ if (!('state' in value) || value['state'] === undefined)
56
+ return false;
57
+ if (!('tier' in value) || value['tier'] === undefined)
58
+ return false;
59
+ if (!('targetTier' in value) || value['targetTier'] === undefined)
60
+ return false;
61
+ if (!('seen' in value) || value['seen'] === undefined)
62
+ return false;
63
+ if (!('notYet' in value) || value['notYet'] === undefined)
64
+ return false;
65
+ if (!('next' in value) || value['next'] === undefined)
66
+ return false;
67
+ return true;
68
+ }
69
+ function LevelUpCloseFromJSON(json) {
70
+ return LevelUpCloseFromJSONTyped(json, false);
71
+ }
72
+ function LevelUpCloseFromJSONTyped(json, ignoreDiscriminator) {
73
+ if (json == null) {
74
+ return json;
75
+ }
76
+ return {
77
+ 'state': json['state'],
78
+ 'tier': json['tier'],
79
+ 'targetTier': json['targetTier'],
80
+ 'seen': json['seen'],
81
+ 'notYet': json['notYet'],
82
+ 'next': json['next'],
83
+ };
84
+ }
85
+ function LevelUpCloseToJSON(json) {
86
+ return LevelUpCloseToJSONTyped(json, false);
87
+ }
88
+ function LevelUpCloseToJSONTyped(value, ignoreDiscriminator = false) {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+ return {
93
+ 'state': value['state'],
94
+ 'tier': value['tier'],
95
+ 'targetTier': value['targetTier'],
96
+ 'seen': value['seen'],
97
+ 'notYet': value['notYet'],
98
+ 'next': value['next'],
99
+ };
100
+ }
@@ -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
+ }
@@ -52,6 +52,12 @@ export interface UserConcept {
52
52
  * @memberof UserConcept
53
53
  */
54
54
  concept: UserConceptConcept;
55
+ /**
56
+ * When Expert-level work on this concept was banked in a Level Up and not yet confirmed: the earliest such sitting since the last Expert certification. Expert is confirmed by a second sitting at least a day later; until then `strength` stays below Expert. Null when nothing is pending or the reading is already Expert.
57
+ * @type {Date}
58
+ * @memberof UserConcept
59
+ */
60
+ expertPendingSince: Date | null;
55
61
  }
56
62
  /**
57
63
  * Check if a given object implements the UserConcept interface.
@@ -35,6 +35,8 @@ function instanceOfUserConcept(value) {
35
35
  return false;
36
36
  if (!('concept' in value) || value['concept'] === undefined)
37
37
  return false;
38
+ if (!('expertPendingSince' in value) || value['expertPendingSince'] === undefined)
39
+ return false;
38
40
  return true;
39
41
  }
40
42
  function UserConceptFromJSON(json) {
@@ -51,6 +53,7 @@ function UserConceptFromJSONTyped(json, ignoreDiscriminator) {
51
53
  'createdAt': (new Date(json['createdAt'])),
52
54
  'updatedAt': (new Date(json['updatedAt'])),
53
55
  'concept': (0, UserConceptConcept_1.UserConceptConceptFromJSON)(json['concept']),
56
+ 'expertPendingSince': (json['expertPendingSince'] == null ? null : new Date(json['expertPendingSince'])),
54
57
  };
55
58
  }
56
59
  function UserConceptToJSON(json) {
@@ -67,5 +70,6 @@ function UserConceptToJSONTyped(value, ignoreDiscriminator = false) {
67
70
  'createdAt': value['createdAt'].toISOString(),
68
71
  'updatedAt': value['updatedAt'].toISOString(),
69
72
  'concept': (0, UserConceptConcept_1.UserConceptConceptToJSON)(value['concept']),
73
+ 'expertPendingSince': value['expertPendingSince'] == null ? value['expertPendingSince'] : value['expertPendingSince'].toISOString(),
70
74
  };
71
75
  }
@@ -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';
@@ -102,12 +105,15 @@ export * from './LearningMoment';
102
105
  export * from './LearningMomentCount';
103
106
  export * from './LearningSessionEvaluation';
104
107
  export * from './LearningStreakResponse';
108
+ export * from './LevelUpClose';
105
109
  export * from './Message';
106
110
  export * from './MessageAttachment';
107
111
  export * from './MessageCountResponse';
108
112
  export * from './MessagePartsInner';
109
113
  export * from './ObjectiveResource';
110
114
  export * from './PaginatedChats';
115
+ export * from './PaginatedConceptDiagrams';
116
+ export * from './PaginatedConceptImages';
111
117
  export * from './PaginatedLearningMoments';
112
118
  export * from './PaginatedMessages';
113
119
  export * from './PaginatedObjectiveResources';
@@ -91,6 +91,9 @@ __exportStar(require("./ChatRequestQuizSettings"), exports);
91
91
  __exportStar(require("./ChatStudyPlanActivity"), exports);
92
92
  __exportStar(require("./ConceptAssessmentEntity"), exports);
93
93
  __exportStar(require("./ConceptChange"), exports);
94
+ __exportStar(require("./ConceptDiagramDetail"), exports);
95
+ __exportStar(require("./ConceptDiagramGalleryItem"), exports);
96
+ __exportStar(require("./ConceptImageGalleryItem"), exports);
94
97
  __exportStar(require("./CreateAccountRequest"), exports);
95
98
  __exportStar(require("./CreateChatRequest"), exports);
96
99
  __exportStar(require("./CreateFeatureDto"), exports);
@@ -120,12 +123,15 @@ __exportStar(require("./LearningMoment"), exports);
120
123
  __exportStar(require("./LearningMomentCount"), exports);
121
124
  __exportStar(require("./LearningSessionEvaluation"), exports);
122
125
  __exportStar(require("./LearningStreakResponse"), exports);
126
+ __exportStar(require("./LevelUpClose"), exports);
123
127
  __exportStar(require("./Message"), exports);
124
128
  __exportStar(require("./MessageAttachment"), exports);
125
129
  __exportStar(require("./MessageCountResponse"), exports);
126
130
  __exportStar(require("./MessagePartsInner"), exports);
127
131
  __exportStar(require("./ObjectiveResource"), exports);
128
132
  __exportStar(require("./PaginatedChats"), exports);
133
+ __exportStar(require("./PaginatedConceptDiagrams"), exports);
134
+ __exportStar(require("./PaginatedConceptImages"), exports);
129
135
  __exportStar(require("./PaginatedLearningMoments"), exports);
130
136
  __exportStar(require("./PaginatedMessages"), exports);
131
137
  __exportStar(require("./PaginatedObjectiveResources"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "3.41.8",
4
+ "version": "3.42.1",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {