@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
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { LevelUpCloseFromJSON, LevelUpCloseToJSON, } from './LevelUpClose';
14
15
  /**
15
16
  * @export
16
17
  */
@@ -60,6 +61,8 @@ export function instanceOfChat(value) {
60
61
  return false;
61
62
  if (!('closedAt' in value) || value['closedAt'] === undefined)
62
63
  return false;
64
+ if (!('levelUpClose' in value) || value['levelUpClose'] === undefined)
65
+ return false;
63
66
  return true;
64
67
  }
65
68
  export function ChatFromJSON(json) {
@@ -89,6 +92,7 @@ export function ChatFromJSONTyped(json, ignoreDiscriminator) {
89
92
  'initialStrength': json['initialStrength'],
90
93
  'primaryConceptId': json['primaryConceptId'],
91
94
  'closedAt': (json['closedAt'] == null ? null : new Date(json['closedAt'])),
95
+ 'levelUpClose': LevelUpCloseFromJSON(json['levelUpClose']),
92
96
  };
93
97
  }
94
98
  export function ChatToJSON(json) {
@@ -118,5 +122,6 @@ export function ChatToJSONTyped(value, ignoreDiscriminator = false) {
118
122
  'initialStrength': value['initialStrength'],
119
123
  'primaryConceptId': value['primaryConceptId'],
120
124
  'closedAt': value['closedAt'] == null ? value['closedAt'] : value['closedAt'].toISOString(),
125
+ 'levelUpClose': LevelUpCloseToJSON(value['levelUpClose']),
121
126
  };
122
127
  }
@@ -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,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,92 @@
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 LevelUpCloseStateEnum = {
18
+ HitTarget: 'hit-target',
19
+ BonusTier: 'bonus-tier',
20
+ TargetNotReached: 'target-not-reached',
21
+ PendingConfirmation: 'pending-confirmation'
22
+ };
23
+ /**
24
+ * @export
25
+ */
26
+ export const LevelUpCloseTierEnum = {
27
+ Novice: 'Novice',
28
+ Developing: 'Developing',
29
+ Competent: 'Competent',
30
+ Proficient: 'Proficient',
31
+ Expert: 'Expert'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ export const LevelUpCloseTargetTierEnum = {
37
+ Novice: 'Novice',
38
+ Developing: 'Developing',
39
+ Competent: 'Competent',
40
+ Proficient: 'Proficient',
41
+ Expert: 'Expert'
42
+ };
43
+ /**
44
+ * Check if a given object implements the LevelUpClose interface.
45
+ */
46
+ export function instanceOfLevelUpClose(value) {
47
+ if (!('state' in value) || value['state'] === undefined)
48
+ return false;
49
+ if (!('tier' in value) || value['tier'] === undefined)
50
+ return false;
51
+ if (!('targetTier' in value) || value['targetTier'] === undefined)
52
+ return false;
53
+ if (!('seen' in value) || value['seen'] === undefined)
54
+ return false;
55
+ if (!('notYet' in value) || value['notYet'] === undefined)
56
+ return false;
57
+ if (!('next' in value) || value['next'] === undefined)
58
+ return false;
59
+ return true;
60
+ }
61
+ export function LevelUpCloseFromJSON(json) {
62
+ return LevelUpCloseFromJSONTyped(json, false);
63
+ }
64
+ export function LevelUpCloseFromJSONTyped(json, ignoreDiscriminator) {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+ 'state': json['state'],
70
+ 'tier': json['tier'],
71
+ 'targetTier': json['targetTier'],
72
+ 'seen': json['seen'],
73
+ 'notYet': json['notYet'],
74
+ 'next': json['next'],
75
+ };
76
+ }
77
+ export function LevelUpCloseToJSON(json) {
78
+ return LevelUpCloseToJSONTyped(json, false);
79
+ }
80
+ export function LevelUpCloseToJSONTyped(value, ignoreDiscriminator = false) {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+ return {
85
+ 'state': value['state'],
86
+ 'tier': value['tier'],
87
+ 'targetTier': value['targetTier'],
88
+ 'seen': value['seen'],
89
+ 'notYet': value['notYet'],
90
+ 'next': value['next'],
91
+ };
92
+ }