@instructure/athena-api-client 3.46.2 → 3.47.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 (90) hide show
  1. package/README.md +37 -0
  2. package/dist/apis/AdminApi.d.ts +296 -1
  3. package/dist/apis/AdminApi.js +809 -20
  4. package/dist/esm/apis/AdminApi.d.ts +296 -1
  5. package/dist/esm/apis/AdminApi.js +809 -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/AdminConceptMediaRevision.d.ts +67 -0
  21. package/dist/esm/models/AdminConceptMediaRevision.js +70 -0
  22. package/dist/esm/models/AdminConceptSearchResult.d.ts +56 -0
  23. package/dist/esm/models/AdminConceptSearchResult.js +59 -0
  24. package/dist/esm/models/AdminGenerateConceptDiagramRequest.d.ts +56 -0
  25. package/dist/esm/models/AdminGenerateConceptDiagramRequest.js +51 -0
  26. package/dist/esm/models/AdminGenerateConceptImageRequest.d.ts +50 -0
  27. package/dist/esm/models/AdminGenerateConceptImageRequest.js +49 -0
  28. package/dist/esm/models/AdminGeneratedConceptDiagram.d.ts +219 -0
  29. package/dist/esm/models/AdminGeneratedConceptDiagram.js +175 -0
  30. package/dist/esm/models/AdminGeneratedConceptImage.d.ts +237 -0
  31. package/dist/esm/models/AdminGeneratedConceptImage.js +187 -0
  32. package/dist/esm/models/AdminPaginatedConceptDiagrams.d.ts +39 -0
  33. package/dist/esm/models/AdminPaginatedConceptDiagrams.js +48 -0
  34. package/dist/esm/models/AdminPaginatedConceptImages.d.ts +39 -0
  35. package/dist/esm/models/AdminPaginatedConceptImages.js +48 -0
  36. package/dist/esm/models/AdminRegenerateConceptDiagramRequest.d.ts +44 -0
  37. package/dist/esm/models/AdminRegenerateConceptDiagramRequest.js +47 -0
  38. package/dist/esm/models/AdminRegenerateConceptImageRequest.d.ts +38 -0
  39. package/dist/esm/models/AdminRegenerateConceptImageRequest.js +45 -0
  40. package/dist/esm/models/AdminShowConceptMediaRequest.d.ts +32 -0
  41. package/dist/esm/models/AdminShowConceptMediaRequest.js +41 -0
  42. package/dist/esm/models/AdminShownConceptDiagram.d.ts +215 -0
  43. package/dist/esm/models/AdminShownConceptDiagram.js +170 -0
  44. package/dist/esm/models/AdminShownConceptImage.d.ts +233 -0
  45. package/dist/esm/models/AdminShownConceptImage.js +182 -0
  46. package/dist/esm/models/index.d.ts +20 -0
  47. package/dist/esm/models/index.js +20 -0
  48. package/dist/models/AdminConceptDiagram.d.ts +165 -0
  49. package/dist/models/AdminConceptDiagram.js +144 -0
  50. package/dist/models/AdminConceptDiagramDetail.d.ts +203 -0
  51. package/dist/models/AdminConceptDiagramDetail.js +170 -0
  52. package/dist/models/AdminConceptImage.d.ts +183 -0
  53. package/dist/models/AdminConceptImage.js +156 -0
  54. package/dist/models/AdminConceptImageDetail.d.ts +221 -0
  55. package/dist/models/AdminConceptImageDetail.js +182 -0
  56. package/dist/models/AdminConceptMediaActor.d.ts +38 -0
  57. package/dist/models/AdminConceptMediaActor.js +54 -0
  58. package/dist/models/AdminConceptMediaConcept.d.ts +38 -0
  59. package/dist/models/AdminConceptMediaConcept.js +54 -0
  60. package/dist/models/AdminConceptMediaHistoryEntry.d.ts +92 -0
  61. package/dist/models/AdminConceptMediaHistoryEntry.js +95 -0
  62. package/dist/models/AdminConceptMediaRevision.d.ts +67 -0
  63. package/dist/models/AdminConceptMediaRevision.js +78 -0
  64. package/dist/models/AdminConceptSearchResult.d.ts +56 -0
  65. package/dist/models/AdminConceptSearchResult.js +66 -0
  66. package/dist/models/AdminGenerateConceptDiagramRequest.d.ts +56 -0
  67. package/dist/models/AdminGenerateConceptDiagramRequest.js +58 -0
  68. package/dist/models/AdminGenerateConceptImageRequest.d.ts +50 -0
  69. package/dist/models/AdminGenerateConceptImageRequest.js +56 -0
  70. package/dist/models/AdminGeneratedConceptDiagram.d.ts +219 -0
  71. package/dist/models/AdminGeneratedConceptDiagram.js +183 -0
  72. package/dist/models/AdminGeneratedConceptImage.d.ts +237 -0
  73. package/dist/models/AdminGeneratedConceptImage.js +195 -0
  74. package/dist/models/AdminPaginatedConceptDiagrams.d.ts +39 -0
  75. package/dist/models/AdminPaginatedConceptDiagrams.js +55 -0
  76. package/dist/models/AdminPaginatedConceptImages.d.ts +39 -0
  77. package/dist/models/AdminPaginatedConceptImages.js +55 -0
  78. package/dist/models/AdminRegenerateConceptDiagramRequest.d.ts +44 -0
  79. package/dist/models/AdminRegenerateConceptDiagramRequest.js +54 -0
  80. package/dist/models/AdminRegenerateConceptImageRequest.d.ts +38 -0
  81. package/dist/models/AdminRegenerateConceptImageRequest.js +52 -0
  82. package/dist/models/AdminShowConceptMediaRequest.d.ts +32 -0
  83. package/dist/models/AdminShowConceptMediaRequest.js +48 -0
  84. package/dist/models/AdminShownConceptDiagram.d.ts +215 -0
  85. package/dist/models/AdminShownConceptDiagram.js +178 -0
  86. package/dist/models/AdminShownConceptImage.d.ts +233 -0
  87. package/dist/models/AdminShownConceptImage.js +190 -0
  88. package/dist/models/index.d.ts +20 -0
  89. package/dist/models/index.js +20 -0
  90. package/package.json +1 -1
@@ -0,0 +1,56 @@
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 AdminConceptSearchResult
16
+ */
17
+ export interface AdminConceptSearchResult {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AdminConceptSearchResult
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AdminConceptSearchResult
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AdminConceptSearchResult
34
+ */
35
+ description: string;
36
+ /**
37
+ * Library images of this concept that are not deleted
38
+ * @type {number}
39
+ * @memberof AdminConceptSearchResult
40
+ */
41
+ imageCount: number;
42
+ /**
43
+ * Library diagrams of this concept that are not deleted
44
+ * @type {number}
45
+ * @memberof AdminConceptSearchResult
46
+ */
47
+ diagramCount: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the AdminConceptSearchResult interface.
51
+ */
52
+ export declare function instanceOfAdminConceptSearchResult(value: object): value is AdminConceptSearchResult;
53
+ export declare function AdminConceptSearchResultFromJSON(json: any): AdminConceptSearchResult;
54
+ export declare function AdminConceptSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminConceptSearchResult;
55
+ export declare function AdminConceptSearchResultToJSON(json: any): AdminConceptSearchResult;
56
+ export declare function AdminConceptSearchResultToJSONTyped(value?: AdminConceptSearchResult | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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 AdminConceptSearchResult interface.
16
+ */
17
+ export function instanceOfAdminConceptSearchResult(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('description' in value) || value['description'] === undefined)
23
+ return false;
24
+ if (!('imageCount' in value) || value['imageCount'] === undefined)
25
+ return false;
26
+ if (!('diagramCount' in value) || value['diagramCount'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function AdminConceptSearchResultFromJSON(json) {
31
+ return AdminConceptSearchResultFromJSONTyped(json, false);
32
+ }
33
+ export function AdminConceptSearchResultFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'id': json['id'],
39
+ 'name': json['name'],
40
+ 'description': json['description'],
41
+ 'imageCount': json['imageCount'],
42
+ 'diagramCount': json['diagramCount'],
43
+ };
44
+ }
45
+ export function AdminConceptSearchResultToJSON(json) {
46
+ return AdminConceptSearchResultToJSONTyped(json, false);
47
+ }
48
+ export function AdminConceptSearchResultToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'name': value['name'],
55
+ 'description': value['description'],
56
+ 'imageCount': value['imageCount'],
57
+ 'diagramCount': value['diagramCount'],
58
+ };
59
+ }
@@ -0,0 +1,56 @@
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 AdminGenerateConceptDiagramRequest
16
+ */
17
+ export interface AdminGenerateConceptDiagramRequest {
18
+ /**
19
+ * The existing concept the diagram is filed under, as-is. Exactly one of conceptId and conceptName is required.
20
+ * @type {string}
21
+ * @memberof AdminGenerateConceptDiagramRequest
22
+ */
23
+ conceptId?: string;
24
+ /**
25
+ * A concept name, resolved the way learner generation resolves one: an exact (case-insensitive, normalized) name match, else the nearest concept within the dedup distance, else a new concept. The diagram is then filed under that concept exactly as with conceptId; conceptResolution in the response says which happened. Exactly one of conceptId and conceptName is required.
26
+ * @type {string}
27
+ * @memberof AdminGenerateConceptDiagramRequest
28
+ */
29
+ conceptName?: string;
30
+ /**
31
+ * The brief the authoring model draws from
32
+ * @type {string}
33
+ * @memberof AdminGenerateConceptDiagramRequest
34
+ */
35
+ instructions: string;
36
+ /**
37
+ * Diagram title. Defaults to the concept's name.
38
+ * @type {string}
39
+ * @memberof AdminGenerateConceptDiagramRequest
40
+ */
41
+ title?: string;
42
+ /**
43
+ * What the diagram shows, and what later library lookups match against. Defaults to the instructions.
44
+ * @type {string}
45
+ * @memberof AdminGenerateConceptDiagramRequest
46
+ */
47
+ description?: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the AdminGenerateConceptDiagramRequest interface.
51
+ */
52
+ export declare function instanceOfAdminGenerateConceptDiagramRequest(value: object): value is AdminGenerateConceptDiagramRequest;
53
+ export declare function AdminGenerateConceptDiagramRequestFromJSON(json: any): AdminGenerateConceptDiagramRequest;
54
+ export declare function AdminGenerateConceptDiagramRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminGenerateConceptDiagramRequest;
55
+ export declare function AdminGenerateConceptDiagramRequestToJSON(json: any): AdminGenerateConceptDiagramRequest;
56
+ export declare function AdminGenerateConceptDiagramRequestToJSONTyped(value?: AdminGenerateConceptDiagramRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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 AdminGenerateConceptDiagramRequest interface.
16
+ */
17
+ export function instanceOfAdminGenerateConceptDiagramRequest(value) {
18
+ if (!('instructions' in value) || value['instructions'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AdminGenerateConceptDiagramRequestFromJSON(json) {
23
+ return AdminGenerateConceptDiagramRequestFromJSONTyped(json, false);
24
+ }
25
+ export function AdminGenerateConceptDiagramRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'conceptId': json['conceptId'] == null ? undefined : json['conceptId'],
31
+ 'conceptName': json['conceptName'] == null ? undefined : json['conceptName'],
32
+ 'instructions': json['instructions'],
33
+ 'title': json['title'] == null ? undefined : json['title'],
34
+ 'description': json['description'] == null ? undefined : json['description'],
35
+ };
36
+ }
37
+ export function AdminGenerateConceptDiagramRequestToJSON(json) {
38
+ return AdminGenerateConceptDiagramRequestToJSONTyped(json, false);
39
+ }
40
+ export function AdminGenerateConceptDiagramRequestToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'conceptId': value['conceptId'],
46
+ 'conceptName': value['conceptName'],
47
+ 'instructions': value['instructions'],
48
+ 'title': value['title'],
49
+ 'description': value['description'],
50
+ };
51
+ }
@@ -0,0 +1,50 @@
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 AdminGenerateConceptImageRequest
16
+ */
17
+ export interface AdminGenerateConceptImageRequest {
18
+ /**
19
+ * The existing concept the image is filed under, as-is. Exactly one of conceptId and conceptName is required.
20
+ * @type {string}
21
+ * @memberof AdminGenerateConceptImageRequest
22
+ */
23
+ conceptId?: string;
24
+ /**
25
+ * A concept name, resolved the way learner generation resolves one: an exact (case-insensitive, normalized) name match, else the nearest concept within the dedup distance, else a new concept. The image is then filed under that concept exactly as with conceptId; conceptResolution in the response says which happened. Exactly one of conceptId and conceptName is required.
26
+ * @type {string}
27
+ * @memberof AdminGenerateConceptImageRequest
28
+ */
29
+ conceptName?: string;
30
+ /**
31
+ * What the image should show. Sent to the image model after the fixed style preamble.
32
+ * @type {string}
33
+ * @memberof AdminGenerateConceptImageRequest
34
+ */
35
+ instructions: string;
36
+ /**
37
+ * Alt text, and what later library lookups match against. Defaults to the instructions.
38
+ * @type {string}
39
+ * @memberof AdminGenerateConceptImageRequest
40
+ */
41
+ description?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the AdminGenerateConceptImageRequest interface.
45
+ */
46
+ export declare function instanceOfAdminGenerateConceptImageRequest(value: object): value is AdminGenerateConceptImageRequest;
47
+ export declare function AdminGenerateConceptImageRequestFromJSON(json: any): AdminGenerateConceptImageRequest;
48
+ export declare function AdminGenerateConceptImageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminGenerateConceptImageRequest;
49
+ export declare function AdminGenerateConceptImageRequestToJSON(json: any): AdminGenerateConceptImageRequest;
50
+ export declare function AdminGenerateConceptImageRequestToJSONTyped(value?: AdminGenerateConceptImageRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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 AdminGenerateConceptImageRequest interface.
16
+ */
17
+ export function instanceOfAdminGenerateConceptImageRequest(value) {
18
+ if (!('instructions' in value) || value['instructions'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AdminGenerateConceptImageRequestFromJSON(json) {
23
+ return AdminGenerateConceptImageRequestFromJSONTyped(json, false);
24
+ }
25
+ export function AdminGenerateConceptImageRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'conceptId': json['conceptId'] == null ? undefined : json['conceptId'],
31
+ 'conceptName': json['conceptName'] == null ? undefined : json['conceptName'],
32
+ 'instructions': json['instructions'],
33
+ 'description': json['description'] == null ? undefined : json['description'],
34
+ };
35
+ }
36
+ export function AdminGenerateConceptImageRequestToJSON(json) {
37
+ return AdminGenerateConceptImageRequestToJSONTyped(json, false);
38
+ }
39
+ export function AdminGenerateConceptImageRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'conceptId': value['conceptId'],
45
+ 'conceptName': value['conceptName'],
46
+ 'instructions': value['instructions'],
47
+ 'description': value['description'],
48
+ };
49
+ }
@@ -0,0 +1,219 @@
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 { AdminConceptMediaConcept } from './AdminConceptMediaConcept';
13
+ import type { AdminConceptMediaHistoryEntry } from './AdminConceptMediaHistoryEntry';
14
+ import type { AdminConceptMediaActor } from './AdminConceptMediaActor';
15
+ import type { AdminConceptMediaRevision } from './AdminConceptMediaRevision';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminGeneratedConceptDiagram
20
+ */
21
+ export interface AdminGeneratedConceptDiagram {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AdminGeneratedConceptDiagram
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {AdminConceptMediaConcept}
31
+ * @memberof AdminGeneratedConceptDiagram
32
+ */
33
+ concept: AdminConceptMediaConcept;
34
+ /**
35
+ * visible: served to learners. hidden: kept out of every learner read. deleted: soft-deleted, kept out of every learner read and out of the default admin list. A change applies to later reads only: an image URL already handed out stays valid until it expires (12 hours).
36
+ * @type {string}
37
+ * @memberof AdminGeneratedConceptDiagram
38
+ */
39
+ state: AdminGeneratedConceptDiagramStateEnum;
40
+ /**
41
+ * chat: generated in a learner's tutor turn. admin: an admin draft or regeneration.
42
+ * @type {string}
43
+ * @memberof AdminGeneratedConceptDiagram
44
+ */
45
+ origin: AdminGeneratedConceptDiagramOriginEnum;
46
+ /**
47
+ * Who generated it. Null when that account user was deleted or belongs to a different account (see creatorOutsideAccount).
48
+ * @type {AdminConceptMediaActor}
49
+ * @memberof AdminGeneratedConceptDiagram
50
+ */
51
+ creator: AdminConceptMediaActor | null;
52
+ /**
53
+ * True when the creator exists but belongs to a different account, so their details are withheld.
54
+ * @type {boolean}
55
+ * @memberof AdminGeneratedConceptDiagram
56
+ */
57
+ creatorOutsideAccount: boolean;
58
+ /**
59
+ * The chat it was generated in. Null for admin drafts, once the chat is deleted, or when the creator is outside the caller's account.
60
+ * @type {string}
61
+ * @memberof AdminGeneratedConceptDiagram
62
+ */
63
+ sourceChatId: string | null;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof AdminGeneratedConceptDiagram
68
+ */
69
+ createdAt: Date;
70
+ /**
71
+ *
72
+ * @type {Date}
73
+ * @memberof AdminGeneratedConceptDiagram
74
+ */
75
+ hiddenAt: Date | null;
76
+ /**
77
+ * Who hid it, when that account user is in the caller's account.
78
+ * @type {AdminConceptMediaActor}
79
+ * @memberof AdminGeneratedConceptDiagram
80
+ */
81
+ hiddenBy: AdminConceptMediaActor | null;
82
+ /**
83
+ *
84
+ * @type {Date}
85
+ * @memberof AdminGeneratedConceptDiagram
86
+ */
87
+ deletedAt: Date | null;
88
+ /**
89
+ * Who deleted it, when that account user is in the caller's account.
90
+ * @type {AdminConceptMediaActor}
91
+ * @memberof AdminGeneratedConceptDiagram
92
+ */
93
+ deletedBy: AdminConceptMediaActor | null;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof AdminGeneratedConceptDiagram
98
+ */
99
+ model: string;
100
+ /**
101
+ *
102
+ * @type {number}
103
+ * @memberof AdminGeneratedConceptDiagram
104
+ */
105
+ inputTokens: number | null;
106
+ /**
107
+ *
108
+ * @type {number}
109
+ * @memberof AdminGeneratedConceptDiagram
110
+ */
111
+ outputTokens: number | null;
112
+ /**
113
+ * Null when usage or price was missing; never estimated.
114
+ * @type {number}
115
+ * @memberof AdminGeneratedConceptDiagram
116
+ */
117
+ costUsd: number | null;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof AdminGeneratedConceptDiagram
122
+ */
123
+ description: string;
124
+ /**
125
+ * The diagram this one revises
126
+ * @type {string}
127
+ * @memberof AdminGeneratedConceptDiagram
128
+ */
129
+ revisesDiagramId: string | null;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof AdminGeneratedConceptDiagram
134
+ */
135
+ title: string;
136
+ /**
137
+ * The authoring model's effort level, when one was configured
138
+ * @type {string}
139
+ * @memberof AdminGeneratedConceptDiagram
140
+ */
141
+ effort: string | null;
142
+ /**
143
+ * The brief the authoring model drew from: what to prefill for a regeneration
144
+ * @type {string}
145
+ * @memberof AdminGeneratedConceptDiagram
146
+ */
147
+ brief: string;
148
+ /**
149
+ * The complete assembled HTML document, for a sandboxed iframe
150
+ * @type {string}
151
+ * @memberof AdminGeneratedConceptDiagram
152
+ */
153
+ document: string;
154
+ /**
155
+ * The diagram this one revises, in any state; null if none or gone
156
+ * @type {AdminConceptMediaRevision}
157
+ * @memberof AdminGeneratedConceptDiagram
158
+ */
159
+ parent: AdminConceptMediaRevision | null;
160
+ /**
161
+ * Diagrams that revise this one, oldest first, in any state
162
+ * @type {Array<AdminConceptMediaRevision>}
163
+ * @memberof AdminGeneratedConceptDiagram
164
+ */
165
+ revisions: Array<AdminConceptMediaRevision>;
166
+ /**
167
+ * The whole revision family this row belongs to: its original (found by following revises links up until one ends) and every row that revises the original, directly or through other revisions, across all branches. Includes this row and rows in every state, deleted versions included. Oldest first by createdAt, then id. At most 100 rows; see historyTruncated.
168
+ * @type {Array<AdminConceptMediaHistoryEntry>}
169
+ * @memberof AdminGeneratedConceptDiagram
170
+ */
171
+ history: Array<AdminConceptMediaHistoryEntry>;
172
+ /**
173
+ * True when the family has more rows than history can hold, so history is incomplete. This row and the rows it revises are always kept.
174
+ * @type {boolean}
175
+ * @memberof AdminGeneratedConceptDiagram
176
+ */
177
+ historyTruncated: boolean;
178
+ /**
179
+ * How the draft's concept (see concept) was chosen. selected: conceptId was given. For a conceptName: matched_exact, an existing concept with the same name (case-insensitive, normalized); matched_similar, the nearest existing concept within the dedup distance; created, no concept matched, so a new one was created.
180
+ * @type {string}
181
+ * @memberof AdminGeneratedConceptDiagram
182
+ */
183
+ conceptResolution: AdminGeneratedConceptDiagramConceptResolutionEnum;
184
+ }
185
+ /**
186
+ * @export
187
+ */
188
+ export declare const AdminGeneratedConceptDiagramStateEnum: {
189
+ readonly Visible: "visible";
190
+ readonly Hidden: "hidden";
191
+ readonly Deleted: "deleted";
192
+ };
193
+ export type AdminGeneratedConceptDiagramStateEnum = typeof AdminGeneratedConceptDiagramStateEnum[keyof typeof AdminGeneratedConceptDiagramStateEnum];
194
+ /**
195
+ * @export
196
+ */
197
+ export declare const AdminGeneratedConceptDiagramOriginEnum: {
198
+ readonly Chat: "chat";
199
+ readonly Admin: "admin";
200
+ };
201
+ export type AdminGeneratedConceptDiagramOriginEnum = typeof AdminGeneratedConceptDiagramOriginEnum[keyof typeof AdminGeneratedConceptDiagramOriginEnum];
202
+ /**
203
+ * @export
204
+ */
205
+ export declare const AdminGeneratedConceptDiagramConceptResolutionEnum: {
206
+ readonly Selected: "selected";
207
+ readonly MatchedExact: "matched_exact";
208
+ readonly MatchedSimilar: "matched_similar";
209
+ readonly Created: "created";
210
+ };
211
+ export type AdminGeneratedConceptDiagramConceptResolutionEnum = typeof AdminGeneratedConceptDiagramConceptResolutionEnum[keyof typeof AdminGeneratedConceptDiagramConceptResolutionEnum];
212
+ /**
213
+ * Check if a given object implements the AdminGeneratedConceptDiagram interface.
214
+ */
215
+ export declare function instanceOfAdminGeneratedConceptDiagram(value: object): value is AdminGeneratedConceptDiagram;
216
+ export declare function AdminGeneratedConceptDiagramFromJSON(json: any): AdminGeneratedConceptDiagram;
217
+ export declare function AdminGeneratedConceptDiagramFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminGeneratedConceptDiagram;
218
+ export declare function AdminGeneratedConceptDiagramToJSON(json: any): AdminGeneratedConceptDiagram;
219
+ export declare function AdminGeneratedConceptDiagramToJSONTyped(value?: AdminGeneratedConceptDiagram | null, ignoreDiscriminator?: boolean): any;