@instructure/athena-api-client 3.46.2 → 4.0.0

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 (94) hide show
  1. package/README.md +37 -0
  2. package/dist/apis/AdminApi.d.ts +310 -1
  3. package/dist/apis/AdminApi.js +850 -20
  4. package/dist/esm/apis/AdminApi.d.ts +310 -1
  5. package/dist/esm/apis/AdminApi.js +850 -20
  6. package/dist/esm/models/AdminConceptDiagram.d.ts +165 -0
  7. package/dist/esm/models/AdminConceptDiagram.js +136 -0
  8. package/dist/esm/models/AdminConceptDiagramDetail.d.ts +203 -0
  9. package/dist/esm/models/AdminConceptDiagramDetail.js +162 -0
  10. package/dist/esm/models/AdminConceptImage.d.ts +183 -0
  11. package/dist/esm/models/AdminConceptImage.js +148 -0
  12. package/dist/esm/models/AdminConceptImageDetail.d.ts +221 -0
  13. package/dist/esm/models/AdminConceptImageDetail.js +174 -0
  14. package/dist/esm/models/AdminConceptMediaActor.d.ts +38 -0
  15. package/dist/esm/models/AdminConceptMediaActor.js +47 -0
  16. package/dist/esm/models/AdminConceptMediaConcept.d.ts +38 -0
  17. package/dist/esm/models/AdminConceptMediaConcept.js +47 -0
  18. package/dist/esm/models/AdminConceptMediaHistoryEntry.d.ts +92 -0
  19. package/dist/esm/models/AdminConceptMediaHistoryEntry.js +87 -0
  20. package/dist/esm/models/AdminConceptMediaJob.d.ts +157 -0
  21. package/dist/esm/models/AdminConceptMediaJob.js +139 -0
  22. package/dist/esm/models/AdminConceptMediaRevision.d.ts +67 -0
  23. package/dist/esm/models/AdminConceptMediaRevision.js +70 -0
  24. package/dist/esm/models/AdminConceptSearchResult.d.ts +56 -0
  25. package/dist/esm/models/AdminConceptSearchResult.js +59 -0
  26. package/dist/esm/models/AdminGenerateConceptDiagramRequest.d.ts +56 -0
  27. package/dist/esm/models/AdminGenerateConceptDiagramRequest.js +51 -0
  28. package/dist/esm/models/AdminGenerateConceptImageRequest.d.ts +50 -0
  29. package/dist/esm/models/AdminGenerateConceptImageRequest.js +49 -0
  30. package/dist/esm/models/AdminGeneratedConceptDiagram.d.ts +219 -0
  31. package/dist/esm/models/AdminGeneratedConceptDiagram.js +175 -0
  32. package/dist/esm/models/AdminGeneratedConceptImage.d.ts +237 -0
  33. package/dist/esm/models/AdminGeneratedConceptImage.js +187 -0
  34. package/dist/esm/models/AdminPaginatedConceptDiagrams.d.ts +39 -0
  35. package/dist/esm/models/AdminPaginatedConceptDiagrams.js +48 -0
  36. package/dist/esm/models/AdminPaginatedConceptImages.d.ts +39 -0
  37. package/dist/esm/models/AdminPaginatedConceptImages.js +48 -0
  38. package/dist/esm/models/AdminRegenerateConceptDiagramRequest.d.ts +44 -0
  39. package/dist/esm/models/AdminRegenerateConceptDiagramRequest.js +47 -0
  40. package/dist/esm/models/AdminRegenerateConceptImageRequest.d.ts +38 -0
  41. package/dist/esm/models/AdminRegenerateConceptImageRequest.js +45 -0
  42. package/dist/esm/models/AdminShowConceptMediaRequest.d.ts +32 -0
  43. package/dist/esm/models/AdminShowConceptMediaRequest.js +41 -0
  44. package/dist/esm/models/AdminShownConceptDiagram.d.ts +215 -0
  45. package/dist/esm/models/AdminShownConceptDiagram.js +170 -0
  46. package/dist/esm/models/AdminShownConceptImage.d.ts +233 -0
  47. package/dist/esm/models/AdminShownConceptImage.js +182 -0
  48. package/dist/esm/models/index.d.ts +19 -0
  49. package/dist/esm/models/index.js +19 -0
  50. package/dist/models/AdminConceptDiagram.d.ts +165 -0
  51. package/dist/models/AdminConceptDiagram.js +144 -0
  52. package/dist/models/AdminConceptDiagramDetail.d.ts +203 -0
  53. package/dist/models/AdminConceptDiagramDetail.js +170 -0
  54. package/dist/models/AdminConceptImage.d.ts +183 -0
  55. package/dist/models/AdminConceptImage.js +156 -0
  56. package/dist/models/AdminConceptImageDetail.d.ts +221 -0
  57. package/dist/models/AdminConceptImageDetail.js +182 -0
  58. package/dist/models/AdminConceptMediaActor.d.ts +38 -0
  59. package/dist/models/AdminConceptMediaActor.js +54 -0
  60. package/dist/models/AdminConceptMediaConcept.d.ts +38 -0
  61. package/dist/models/AdminConceptMediaConcept.js +54 -0
  62. package/dist/models/AdminConceptMediaHistoryEntry.d.ts +92 -0
  63. package/dist/models/AdminConceptMediaHistoryEntry.js +95 -0
  64. package/dist/models/AdminConceptMediaJob.d.ts +157 -0
  65. package/dist/models/AdminConceptMediaJob.js +147 -0
  66. package/dist/models/AdminConceptMediaRevision.d.ts +67 -0
  67. package/dist/models/AdminConceptMediaRevision.js +78 -0
  68. package/dist/models/AdminConceptSearchResult.d.ts +56 -0
  69. package/dist/models/AdminConceptSearchResult.js +66 -0
  70. package/dist/models/AdminGenerateConceptDiagramRequest.d.ts +56 -0
  71. package/dist/models/AdminGenerateConceptDiagramRequest.js +58 -0
  72. package/dist/models/AdminGenerateConceptImageRequest.d.ts +50 -0
  73. package/dist/models/AdminGenerateConceptImageRequest.js +56 -0
  74. package/dist/models/AdminGeneratedConceptDiagram.d.ts +219 -0
  75. package/dist/models/AdminGeneratedConceptDiagram.js +183 -0
  76. package/dist/models/AdminGeneratedConceptImage.d.ts +237 -0
  77. package/dist/models/AdminGeneratedConceptImage.js +195 -0
  78. package/dist/models/AdminPaginatedConceptDiagrams.d.ts +39 -0
  79. package/dist/models/AdminPaginatedConceptDiagrams.js +55 -0
  80. package/dist/models/AdminPaginatedConceptImages.d.ts +39 -0
  81. package/dist/models/AdminPaginatedConceptImages.js +55 -0
  82. package/dist/models/AdminRegenerateConceptDiagramRequest.d.ts +44 -0
  83. package/dist/models/AdminRegenerateConceptDiagramRequest.js +54 -0
  84. package/dist/models/AdminRegenerateConceptImageRequest.d.ts +38 -0
  85. package/dist/models/AdminRegenerateConceptImageRequest.js +52 -0
  86. package/dist/models/AdminShowConceptMediaRequest.d.ts +32 -0
  87. package/dist/models/AdminShowConceptMediaRequest.js +48 -0
  88. package/dist/models/AdminShownConceptDiagram.d.ts +215 -0
  89. package/dist/models/AdminShownConceptDiagram.js +178 -0
  90. package/dist/models/AdminShownConceptImage.d.ts +233 -0
  91. package/dist/models/AdminShownConceptImage.js +190 -0
  92. package/dist/models/index.d.ts +19 -0
  93. package/dist/models/index.js +19 -0
  94. package/package.json +1 -1
@@ -0,0 +1,187 @@
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 { AdminConceptMediaConceptFromJSON, AdminConceptMediaConceptToJSON, } from './AdminConceptMediaConcept';
15
+ import { AdminConceptMediaHistoryEntryFromJSON, AdminConceptMediaHistoryEntryToJSON, } from './AdminConceptMediaHistoryEntry';
16
+ import { AdminConceptMediaActorFromJSON, AdminConceptMediaActorToJSON, } from './AdminConceptMediaActor';
17
+ import { AdminConceptMediaRevisionFromJSON, AdminConceptMediaRevisionToJSON, } from './AdminConceptMediaRevision';
18
+ /**
19
+ * @export
20
+ */
21
+ export const AdminGeneratedConceptImageStateEnum = {
22
+ Visible: 'visible',
23
+ Hidden: 'hidden',
24
+ Deleted: 'deleted'
25
+ };
26
+ /**
27
+ * @export
28
+ */
29
+ export const AdminGeneratedConceptImageOriginEnum = {
30
+ Chat: 'chat',
31
+ Admin: 'admin'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ export const AdminGeneratedConceptImageConceptResolutionEnum = {
37
+ Selected: 'selected',
38
+ MatchedExact: 'matched_exact',
39
+ MatchedSimilar: 'matched_similar',
40
+ Created: 'created'
41
+ };
42
+ /**
43
+ * Check if a given object implements the AdminGeneratedConceptImage interface.
44
+ */
45
+ export function instanceOfAdminGeneratedConceptImage(value) {
46
+ if (!('id' in value) || value['id'] === undefined)
47
+ return false;
48
+ if (!('concept' in value) || value['concept'] === undefined)
49
+ return false;
50
+ if (!('state' in value) || value['state'] === undefined)
51
+ return false;
52
+ if (!('origin' in value) || value['origin'] === undefined)
53
+ return false;
54
+ if (!('creator' in value) || value['creator'] === undefined)
55
+ return false;
56
+ if (!('creatorOutsideAccount' in value) || value['creatorOutsideAccount'] === undefined)
57
+ return false;
58
+ if (!('sourceChatId' in value) || value['sourceChatId'] === undefined)
59
+ return false;
60
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
61
+ return false;
62
+ if (!('hiddenAt' in value) || value['hiddenAt'] === undefined)
63
+ return false;
64
+ if (!('hiddenBy' in value) || value['hiddenBy'] === undefined)
65
+ return false;
66
+ if (!('deletedAt' in value) || value['deletedAt'] === undefined)
67
+ return false;
68
+ if (!('deletedBy' in value) || value['deletedBy'] === undefined)
69
+ return false;
70
+ if (!('model' in value) || value['model'] === undefined)
71
+ return false;
72
+ if (!('inputTokens' in value) || value['inputTokens'] === undefined)
73
+ return false;
74
+ if (!('outputTokens' in value) || value['outputTokens'] === undefined)
75
+ return false;
76
+ if (!('costUsd' in value) || value['costUsd'] === undefined)
77
+ return false;
78
+ if (!('description' in value) || value['description'] === undefined)
79
+ return false;
80
+ if (!('revisesImageId' in value) || value['revisesImageId'] === undefined)
81
+ return false;
82
+ if (!('quality' in value) || value['quality'] === undefined)
83
+ return false;
84
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
85
+ return false;
86
+ if (!('width' in value) || value['width'] === undefined)
87
+ return false;
88
+ if (!('height' in value) || value['height'] === undefined)
89
+ return false;
90
+ if (!('url' in value) || value['url'] === undefined)
91
+ return false;
92
+ if (!('prompt' in value) || value['prompt'] === undefined)
93
+ return false;
94
+ if (!('modelPrompt' in value) || value['modelPrompt'] === undefined)
95
+ return false;
96
+ if (!('parent' in value) || value['parent'] === undefined)
97
+ return false;
98
+ if (!('revisions' in value) || value['revisions'] === undefined)
99
+ return false;
100
+ if (!('history' in value) || value['history'] === undefined)
101
+ return false;
102
+ if (!('historyTruncated' in value) || value['historyTruncated'] === undefined)
103
+ return false;
104
+ if (!('conceptResolution' in value) || value['conceptResolution'] === undefined)
105
+ return false;
106
+ return true;
107
+ }
108
+ export function AdminGeneratedConceptImageFromJSON(json) {
109
+ return AdminGeneratedConceptImageFromJSONTyped(json, false);
110
+ }
111
+ export function AdminGeneratedConceptImageFromJSONTyped(json, ignoreDiscriminator) {
112
+ if (json == null) {
113
+ return json;
114
+ }
115
+ return {
116
+ 'id': json['id'],
117
+ 'concept': AdminConceptMediaConceptFromJSON(json['concept']),
118
+ 'state': json['state'],
119
+ 'origin': json['origin'],
120
+ 'creator': AdminConceptMediaActorFromJSON(json['creator']),
121
+ 'creatorOutsideAccount': json['creatorOutsideAccount'],
122
+ 'sourceChatId': json['sourceChatId'],
123
+ 'createdAt': (new Date(json['createdAt'])),
124
+ 'hiddenAt': (json['hiddenAt'] == null ? null : new Date(json['hiddenAt'])),
125
+ 'hiddenBy': AdminConceptMediaActorFromJSON(json['hiddenBy']),
126
+ 'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
127
+ 'deletedBy': AdminConceptMediaActorFromJSON(json['deletedBy']),
128
+ 'model': json['model'],
129
+ 'inputTokens': json['inputTokens'],
130
+ 'outputTokens': json['outputTokens'],
131
+ 'costUsd': json['costUsd'],
132
+ 'description': json['description'],
133
+ 'revisesImageId': json['revisesImageId'],
134
+ 'quality': json['quality'],
135
+ 'mimeType': json['mimeType'],
136
+ 'width': json['width'],
137
+ 'height': json['height'],
138
+ 'url': json['url'],
139
+ 'prompt': json['prompt'],
140
+ 'modelPrompt': json['modelPrompt'],
141
+ 'parent': AdminConceptMediaRevisionFromJSON(json['parent']),
142
+ 'revisions': (json['revisions'].map(AdminConceptMediaRevisionFromJSON)),
143
+ 'history': (json['history'].map(AdminConceptMediaHistoryEntryFromJSON)),
144
+ 'historyTruncated': json['historyTruncated'],
145
+ 'conceptResolution': json['conceptResolution'],
146
+ };
147
+ }
148
+ export function AdminGeneratedConceptImageToJSON(json) {
149
+ return AdminGeneratedConceptImageToJSONTyped(json, false);
150
+ }
151
+ export function AdminGeneratedConceptImageToJSONTyped(value, ignoreDiscriminator = false) {
152
+ if (value == null) {
153
+ return value;
154
+ }
155
+ return {
156
+ 'id': value['id'],
157
+ 'concept': AdminConceptMediaConceptToJSON(value['concept']),
158
+ 'state': value['state'],
159
+ 'origin': value['origin'],
160
+ 'creator': AdminConceptMediaActorToJSON(value['creator']),
161
+ 'creatorOutsideAccount': value['creatorOutsideAccount'],
162
+ 'sourceChatId': value['sourceChatId'],
163
+ 'createdAt': value['createdAt'].toISOString(),
164
+ 'hiddenAt': value['hiddenAt'] == null ? value['hiddenAt'] : value['hiddenAt'].toISOString(),
165
+ 'hiddenBy': AdminConceptMediaActorToJSON(value['hiddenBy']),
166
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
167
+ 'deletedBy': AdminConceptMediaActorToJSON(value['deletedBy']),
168
+ 'model': value['model'],
169
+ 'inputTokens': value['inputTokens'],
170
+ 'outputTokens': value['outputTokens'],
171
+ 'costUsd': value['costUsd'],
172
+ 'description': value['description'],
173
+ 'revisesImageId': value['revisesImageId'],
174
+ 'quality': value['quality'],
175
+ 'mimeType': value['mimeType'],
176
+ 'width': value['width'],
177
+ 'height': value['height'],
178
+ 'url': value['url'],
179
+ 'prompt': value['prompt'],
180
+ 'modelPrompt': value['modelPrompt'],
181
+ 'parent': AdminConceptMediaRevisionToJSON(value['parent']),
182
+ 'revisions': (value['revisions'].map(AdminConceptMediaRevisionToJSON)),
183
+ 'history': (value['history'].map(AdminConceptMediaHistoryEntryToJSON)),
184
+ 'historyTruncated': value['historyTruncated'],
185
+ 'conceptResolution': value['conceptResolution'],
186
+ };
187
+ }
@@ -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 { AdminConceptDiagram } from './AdminConceptDiagram';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminPaginatedConceptDiagrams
17
+ */
18
+ export interface AdminPaginatedConceptDiagrams {
19
+ /**
20
+ *
21
+ * @type {Array<AdminConceptDiagram>}
22
+ * @memberof AdminPaginatedConceptDiagrams
23
+ */
24
+ data: Array<AdminConceptDiagram>;
25
+ /**
26
+ * Opaque cursor for fetching the next page. Null when there are no more results.
27
+ * @type {string}
28
+ * @memberof AdminPaginatedConceptDiagrams
29
+ */
30
+ nextCursor: string | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AdminPaginatedConceptDiagrams interface.
34
+ */
35
+ export declare function instanceOfAdminPaginatedConceptDiagrams(value: object): value is AdminPaginatedConceptDiagrams;
36
+ export declare function AdminPaginatedConceptDiagramsFromJSON(json: any): AdminPaginatedConceptDiagrams;
37
+ export declare function AdminPaginatedConceptDiagramsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminPaginatedConceptDiagrams;
38
+ export declare function AdminPaginatedConceptDiagramsToJSON(json: any): AdminPaginatedConceptDiagrams;
39
+ export declare function AdminPaginatedConceptDiagramsToJSONTyped(value?: AdminPaginatedConceptDiagrams | 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 { AdminConceptDiagramFromJSON, AdminConceptDiagramToJSON, } from './AdminConceptDiagram';
15
+ /**
16
+ * Check if a given object implements the AdminPaginatedConceptDiagrams interface.
17
+ */
18
+ export function instanceOfAdminPaginatedConceptDiagrams(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 AdminPaginatedConceptDiagramsFromJSON(json) {
26
+ return AdminPaginatedConceptDiagramsFromJSONTyped(json, false);
27
+ }
28
+ export function AdminPaginatedConceptDiagramsFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'data': (json['data'].map(AdminConceptDiagramFromJSON)),
34
+ 'nextCursor': json['nextCursor'],
35
+ };
36
+ }
37
+ export function AdminPaginatedConceptDiagramsToJSON(json) {
38
+ return AdminPaginatedConceptDiagramsToJSONTyped(json, false);
39
+ }
40
+ export function AdminPaginatedConceptDiagramsToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'data': (value['data'].map(AdminConceptDiagramToJSON)),
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 { AdminConceptImage } from './AdminConceptImage';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminPaginatedConceptImages
17
+ */
18
+ export interface AdminPaginatedConceptImages {
19
+ /**
20
+ *
21
+ * @type {Array<AdminConceptImage>}
22
+ * @memberof AdminPaginatedConceptImages
23
+ */
24
+ data: Array<AdminConceptImage>;
25
+ /**
26
+ * Opaque cursor for fetching the next page. Null when there are no more results.
27
+ * @type {string}
28
+ * @memberof AdminPaginatedConceptImages
29
+ */
30
+ nextCursor: string | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AdminPaginatedConceptImages interface.
34
+ */
35
+ export declare function instanceOfAdminPaginatedConceptImages(value: object): value is AdminPaginatedConceptImages;
36
+ export declare function AdminPaginatedConceptImagesFromJSON(json: any): AdminPaginatedConceptImages;
37
+ export declare function AdminPaginatedConceptImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminPaginatedConceptImages;
38
+ export declare function AdminPaginatedConceptImagesToJSON(json: any): AdminPaginatedConceptImages;
39
+ export declare function AdminPaginatedConceptImagesToJSONTyped(value?: AdminPaginatedConceptImages | 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 { AdminConceptImageFromJSON, AdminConceptImageToJSON, } from './AdminConceptImage';
15
+ /**
16
+ * Check if a given object implements the AdminPaginatedConceptImages interface.
17
+ */
18
+ export function instanceOfAdminPaginatedConceptImages(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 AdminPaginatedConceptImagesFromJSON(json) {
26
+ return AdminPaginatedConceptImagesFromJSONTyped(json, false);
27
+ }
28
+ export function AdminPaginatedConceptImagesFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'data': (json['data'].map(AdminConceptImageFromJSON)),
34
+ 'nextCursor': json['nextCursor'],
35
+ };
36
+ }
37
+ export function AdminPaginatedConceptImagesToJSON(json) {
38
+ return AdminPaginatedConceptImagesToJSONTyped(json, false);
39
+ }
40
+ export function AdminPaginatedConceptImagesToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'data': (value['data'].map(AdminConceptImageToJSON)),
46
+ 'nextCursor': value['nextCursor'],
47
+ };
48
+ }
@@ -0,0 +1,44 @@
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 AdminRegenerateConceptDiagramRequest
16
+ */
17
+ export interface AdminRegenerateConceptDiagramRequest {
18
+ /**
19
+ * The edited brief (prefill from the original's brief)
20
+ * @type {string}
21
+ * @memberof AdminRegenerateConceptDiagramRequest
22
+ */
23
+ brief: string;
24
+ /**
25
+ * Title for the new revision. Defaults to the original's.
26
+ * @type {string}
27
+ * @memberof AdminRegenerateConceptDiagramRequest
28
+ */
29
+ title?: string;
30
+ /**
31
+ * Description for the new revision. Defaults to the original's.
32
+ * @type {string}
33
+ * @memberof AdminRegenerateConceptDiagramRequest
34
+ */
35
+ description?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the AdminRegenerateConceptDiagramRequest interface.
39
+ */
40
+ export declare function instanceOfAdminRegenerateConceptDiagramRequest(value: object): value is AdminRegenerateConceptDiagramRequest;
41
+ export declare function AdminRegenerateConceptDiagramRequestFromJSON(json: any): AdminRegenerateConceptDiagramRequest;
42
+ export declare function AdminRegenerateConceptDiagramRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminRegenerateConceptDiagramRequest;
43
+ export declare function AdminRegenerateConceptDiagramRequestToJSON(json: any): AdminRegenerateConceptDiagramRequest;
44
+ export declare function AdminRegenerateConceptDiagramRequestToJSONTyped(value?: AdminRegenerateConceptDiagramRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
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 AdminRegenerateConceptDiagramRequest interface.
16
+ */
17
+ export function instanceOfAdminRegenerateConceptDiagramRequest(value) {
18
+ if (!('brief' in value) || value['brief'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AdminRegenerateConceptDiagramRequestFromJSON(json) {
23
+ return AdminRegenerateConceptDiagramRequestFromJSONTyped(json, false);
24
+ }
25
+ export function AdminRegenerateConceptDiagramRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'brief': json['brief'],
31
+ 'title': json['title'] == null ? undefined : json['title'],
32
+ 'description': json['description'] == null ? undefined : json['description'],
33
+ };
34
+ }
35
+ export function AdminRegenerateConceptDiagramRequestToJSON(json) {
36
+ return AdminRegenerateConceptDiagramRequestToJSONTyped(json, false);
37
+ }
38
+ export function AdminRegenerateConceptDiagramRequestToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'brief': value['brief'],
44
+ 'title': value['title'],
45
+ 'description': value['description'],
46
+ };
47
+ }
@@ -0,0 +1,38 @@
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 AdminRegenerateConceptImageRequest
16
+ */
17
+ export interface AdminRegenerateConceptImageRequest {
18
+ /**
19
+ * The edited prompt, without the style preamble (prefill from modelPrompt). A prompt that still carries the preamble is accepted and not doubled.
20
+ * @type {string}
21
+ * @memberof AdminRegenerateConceptImageRequest
22
+ */
23
+ prompt: string;
24
+ /**
25
+ * Alt text for the new revision. Defaults to the original's.
26
+ * @type {string}
27
+ * @memberof AdminRegenerateConceptImageRequest
28
+ */
29
+ description?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AdminRegenerateConceptImageRequest interface.
33
+ */
34
+ export declare function instanceOfAdminRegenerateConceptImageRequest(value: object): value is AdminRegenerateConceptImageRequest;
35
+ export declare function AdminRegenerateConceptImageRequestFromJSON(json: any): AdminRegenerateConceptImageRequest;
36
+ export declare function AdminRegenerateConceptImageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminRegenerateConceptImageRequest;
37
+ export declare function AdminRegenerateConceptImageRequestToJSON(json: any): AdminRegenerateConceptImageRequest;
38
+ export declare function AdminRegenerateConceptImageRequestToJSONTyped(value?: AdminRegenerateConceptImageRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
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 AdminRegenerateConceptImageRequest interface.
16
+ */
17
+ export function instanceOfAdminRegenerateConceptImageRequest(value) {
18
+ if (!('prompt' in value) || value['prompt'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AdminRegenerateConceptImageRequestFromJSON(json) {
23
+ return AdminRegenerateConceptImageRequestFromJSONTyped(json, false);
24
+ }
25
+ export function AdminRegenerateConceptImageRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'prompt': json['prompt'],
31
+ 'description': json['description'] == null ? undefined : json['description'],
32
+ };
33
+ }
34
+ export function AdminRegenerateConceptImageRequestToJSON(json) {
35
+ return AdminRegenerateConceptImageRequestToJSONTyped(json, false);
36
+ }
37
+ export function AdminRegenerateConceptImageRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'prompt': value['prompt'],
43
+ 'description': value['description'],
44
+ };
45
+ }
@@ -0,0 +1,32 @@
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 AdminShowConceptMediaRequest
16
+ */
17
+ export interface AdminShowConceptMediaRequest {
18
+ /**
19
+ * Also hide every other currently visible version in this row's revision family (the rows the detail's history lists), in the same transaction, recording the caller as their hider. Hidden and deleted versions are left as they are. Defaults to false: only this row changes.
20
+ * @type {boolean}
21
+ * @memberof AdminShowConceptMediaRequest
22
+ */
23
+ hideOtherVersions?: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AdminShowConceptMediaRequest interface.
27
+ */
28
+ export declare function instanceOfAdminShowConceptMediaRequest(value: object): value is AdminShowConceptMediaRequest;
29
+ export declare function AdminShowConceptMediaRequestFromJSON(json: any): AdminShowConceptMediaRequest;
30
+ export declare function AdminShowConceptMediaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminShowConceptMediaRequest;
31
+ export declare function AdminShowConceptMediaRequestToJSON(json: any): AdminShowConceptMediaRequest;
32
+ export declare function AdminShowConceptMediaRequestToJSONTyped(value?: AdminShowConceptMediaRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
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 AdminShowConceptMediaRequest interface.
16
+ */
17
+ export function instanceOfAdminShowConceptMediaRequest(value) {
18
+ return true;
19
+ }
20
+ export function AdminShowConceptMediaRequestFromJSON(json) {
21
+ return AdminShowConceptMediaRequestFromJSONTyped(json, false);
22
+ }
23
+ export function AdminShowConceptMediaRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'hideOtherVersions': json['hideOtherVersions'] == null ? undefined : json['hideOtherVersions'],
29
+ };
30
+ }
31
+ export function AdminShowConceptMediaRequestToJSON(json) {
32
+ return AdminShowConceptMediaRequestToJSONTyped(json, false);
33
+ }
34
+ export function AdminShowConceptMediaRequestToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'hideOtherVersions': value['hideOtherVersions'],
40
+ };
41
+ }