@breign/client 1.0.7 → 1.0.9

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.
@@ -30,10 +30,12 @@ export interface AgentModuleUio {
30
30
  name: string;
31
31
  /**
32
32
  *
33
- * @type {object}
33
+ * @type {{ [key: string]: any; }}
34
34
  * @memberof AgentModuleUio
35
35
  */
36
- _configuration: object;
36
+ _configuration: {
37
+ [key: string]: any;
38
+ };
37
39
  /**
38
40
  *
39
41
  * @type {boolean}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { AppSequencesInnerUio } from './AppSequencesInnerUio';
13
13
  import type { AppConfigurationUio } from './AppConfigurationUio';
14
+ import type { PersonaUio } from './PersonaUio';
14
15
  import type { SimpleAgentUio } from './SimpleAgentUio';
15
16
  import type { InstanceUio } from './InstanceUio';
16
17
  import type { LipsyncUio } from './LipsyncUio';
@@ -149,6 +150,28 @@ export interface AppUio {
149
150
  * @memberof AppUio
150
151
  */
151
152
  type?: string;
153
+ /**
154
+ *
155
+ * @type {{ [key: string]: string; }}
156
+ * @memberof AppUio
157
+ */
158
+ promptInit?: {
159
+ [key: string]: string;
160
+ };
161
+ /**
162
+ *
163
+ * @type {PersonaUio}
164
+ * @memberof AppUio
165
+ */
166
+ persona?: PersonaUio;
167
+ /**
168
+ *
169
+ * @type {{ [key: string]: string; }}
170
+ * @memberof AppUio
171
+ */
172
+ favoriteOutfit?: {
173
+ [key: string]: string;
174
+ };
152
175
  }
153
176
  /**
154
177
  * Check if a given object implements the AppUio interface.
@@ -20,6 +20,7 @@ exports.AppUioToJSON = AppUioToJSON;
20
20
  exports.AppUioToJSONTyped = AppUioToJSONTyped;
21
21
  const AppSequencesInnerUio_1 = require("./AppSequencesInnerUio");
22
22
  const AppConfigurationUio_1 = require("./AppConfigurationUio");
23
+ const PersonaUio_1 = require("./PersonaUio");
23
24
  const SimpleAgentUio_1 = require("./SimpleAgentUio");
24
25
  const InstanceUio_1 = require("./InstanceUio");
25
26
  const LipsyncUio_1 = require("./LipsyncUio");
@@ -75,6 +76,9 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
75
76
  'appConfiguration': json['appConfiguration'] == null ? undefined : (0, AppConfigurationUio_1.AppConfigurationUioFromJSON)(json['appConfiguration']),
76
77
  'disableFillers': json['disableFillers'] == null ? undefined : json['disableFillers'],
77
78
  'type': json['type'] == null ? undefined : json['type'],
79
+ 'promptInit': json['promptInit'] == null ? undefined : json['promptInit'],
80
+ 'persona': json['persona'] == null ? undefined : (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
81
+ 'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
78
82
  };
79
83
  }
80
84
  function AppUioToJSON(json) {
@@ -106,5 +110,8 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
106
110
  'appConfiguration': (0, AppConfigurationUio_1.AppConfigurationUioToJSON)(value['appConfiguration']),
107
111
  'disableFillers': value['disableFillers'],
108
112
  'type': value['type'],
113
+ 'promptInit': value['promptInit'],
114
+ 'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
115
+ 'favoriteOutfit': value['favoriteOutfit'],
109
116
  };
110
117
  }
@@ -33,51 +33,51 @@ export interface FileCreationResponseUio {
33
33
  * @type {string}
34
34
  * @memberof FileCreationResponseUio
35
35
  */
36
- contentType: string;
36
+ contentType?: string;
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
40
  * @memberof FileCreationResponseUio
41
41
  */
42
- ext: string;
42
+ ext?: string;
43
43
  /**
44
44
  *
45
45
  * @type {string}
46
46
  * @memberof FileCreationResponseUio
47
47
  */
48
- key: string;
48
+ key?: string;
49
49
  /**
50
50
  *
51
51
  * @type {number}
52
52
  * @memberof FileCreationResponseUio
53
53
  */
54
- size: number;
54
+ size?: number;
55
55
  /**
56
56
  *
57
57
  * @type {string}
58
58
  * @memberof FileCreationResponseUio
59
59
  */
60
- createdAt: string;
60
+ postURL: string;
61
61
  /**
62
62
  *
63
- * @type {FileStatusUio}
63
+ * @type {{ [key: string]: any; }}
64
64
  * @memberof FileCreationResponseUio
65
65
  */
66
- status: FileStatusUio;
66
+ formData: {
67
+ [key: string]: any;
68
+ };
67
69
  /**
68
70
  *
69
71
  * @type {string}
70
72
  * @memberof FileCreationResponseUio
71
73
  */
72
- postURL: string;
74
+ createdAt?: string;
73
75
  /**
74
76
  *
75
- * @type {{ [key: string]: any; }}
77
+ * @type {FileStatusUio}
76
78
  * @memberof FileCreationResponseUio
77
79
  */
78
- formData: {
79
- [key: string]: any;
80
- };
80
+ status?: FileStatusUio;
81
81
  }
82
82
  /**
83
83
  * Check if a given object implements the FileCreationResponseUio interface.
@@ -25,18 +25,6 @@ const FileStatusUio_1 = require("./FileStatusUio");
25
25
  function instanceOfFileCreationResponseUio(value) {
26
26
  if (!('id' in value) || value['id'] === undefined)
27
27
  return false;
28
- if (!('contentType' in value) || value['contentType'] === undefined)
29
- return false;
30
- if (!('ext' in value) || value['ext'] === undefined)
31
- return false;
32
- if (!('key' in value) || value['key'] === undefined)
33
- return false;
34
- if (!('size' in value) || value['size'] === undefined)
35
- return false;
36
- if (!('createdAt' in value) || value['createdAt'] === undefined)
37
- return false;
38
- if (!('status' in value) || value['status'] === undefined)
39
- return false;
40
28
  if (!('postURL' in value) || value['postURL'] === undefined)
41
29
  return false;
42
30
  if (!('formData' in value) || value['formData'] === undefined)
@@ -53,14 +41,14 @@ function FileCreationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
53
41
  return {
54
42
  'name': json['name'] == null ? undefined : json['name'],
55
43
  'id': json['id'],
56
- 'contentType': json['contentType'],
57
- 'ext': json['ext'],
58
- 'key': json['key'],
59
- 'size': json['size'],
60
- 'createdAt': json['createdAt'],
61
- 'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
44
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
45
+ 'ext': json['ext'] == null ? undefined : json['ext'],
46
+ 'key': json['key'] == null ? undefined : json['key'],
47
+ 'size': json['size'] == null ? undefined : json['size'],
62
48
  'postURL': json['postURL'],
63
49
  'formData': json['formData'],
50
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
51
+ 'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
64
52
  };
65
53
  }
66
54
  function FileCreationResponseUioToJSON(json) {
@@ -77,9 +65,9 @@ function FileCreationResponseUioToJSONTyped(value, ignoreDiscriminator = false)
77
65
  'ext': value['ext'],
78
66
  'key': value['key'],
79
67
  'size': value['size'],
80
- 'createdAt': value['createdAt'],
81
- 'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
82
68
  'postURL': value['postURL'],
83
69
  'formData': value['formData'],
70
+ 'createdAt': value['createdAt'],
71
+ 'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
84
72
  };
85
73
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 FileFormDataUio
16
+ */
17
+ export interface FileFormDataUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FileFormDataUio
22
+ */
23
+ fileName?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FileFormDataUio
28
+ */
29
+ contentType?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the FileFormDataUio interface.
33
+ */
34
+ export declare function instanceOfFileFormDataUio(value: object): value is FileFormDataUio;
35
+ export declare function FileFormDataUioFromJSON(json: any): FileFormDataUio;
36
+ export declare function FileFormDataUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileFormDataUio;
37
+ export declare function FileFormDataUioToJSON(json: any): FileFormDataUio;
38
+ export declare function FileFormDataUioToJSONTyped(value?: FileFormDataUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfFileFormDataUio = instanceOfFileFormDataUio;
17
+ exports.FileFormDataUioFromJSON = FileFormDataUioFromJSON;
18
+ exports.FileFormDataUioFromJSONTyped = FileFormDataUioFromJSONTyped;
19
+ exports.FileFormDataUioToJSON = FileFormDataUioToJSON;
20
+ exports.FileFormDataUioToJSONTyped = FileFormDataUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FileFormDataUio interface.
23
+ */
24
+ function instanceOfFileFormDataUio(value) {
25
+ return true;
26
+ }
27
+ function FileFormDataUioFromJSON(json) {
28
+ return FileFormDataUioFromJSONTyped(json, false);
29
+ }
30
+ function FileFormDataUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'fileName': json['fileName'] == null ? undefined : json['fileName'],
36
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
37
+ };
38
+ }
39
+ function FileFormDataUioToJSON(json) {
40
+ return FileFormDataUioToJSONTyped(json, false);
41
+ }
42
+ function FileFormDataUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'fileName': value['fileName'],
48
+ 'contentType': value['contentType'],
49
+ };
50
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { FileFormDataUio } from './FileFormDataUio';
12
13
  import type { FileStatusUio } from './FileStatusUio';
13
14
  /**
14
15
  *
@@ -33,37 +34,49 @@ export interface FileUio {
33
34
  * @type {string}
34
35
  * @memberof FileUio
35
36
  */
36
- contentType: string;
37
+ contentType?: string;
37
38
  /**
38
39
  *
39
40
  * @type {string}
40
41
  * @memberof FileUio
41
42
  */
42
- ext: string;
43
+ ext?: string;
43
44
  /**
44
45
  *
45
46
  * @type {string}
46
47
  * @memberof FileUio
47
48
  */
48
- key: string;
49
+ key?: string;
49
50
  /**
50
51
  *
51
52
  * @type {number}
52
53
  * @memberof FileUio
53
54
  */
54
- size: number;
55
+ size?: number;
55
56
  /**
56
57
  *
57
58
  * @type {string}
58
59
  * @memberof FileUio
59
60
  */
60
- createdAt: string;
61
+ postURL?: string;
62
+ /**
63
+ *
64
+ * @type {FileFormDataUio}
65
+ * @memberof FileUio
66
+ */
67
+ formData?: FileFormDataUio;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof FileUio
72
+ */
73
+ createdAt?: string;
61
74
  /**
62
75
  *
63
76
  * @type {FileStatusUio}
64
77
  * @memberof FileUio
65
78
  */
66
- status: FileStatusUio;
79
+ status?: FileStatusUio;
67
80
  }
68
81
  /**
69
82
  * Check if a given object implements the FileUio interface.
@@ -18,6 +18,7 @@ exports.FileUioFromJSON = FileUioFromJSON;
18
18
  exports.FileUioFromJSONTyped = FileUioFromJSONTyped;
19
19
  exports.FileUioToJSON = FileUioToJSON;
20
20
  exports.FileUioToJSONTyped = FileUioToJSONTyped;
21
+ const FileFormDataUio_1 = require("./FileFormDataUio");
21
22
  const FileStatusUio_1 = require("./FileStatusUio");
22
23
  /**
23
24
  * Check if a given object implements the FileUio interface.
@@ -25,18 +26,6 @@ const FileStatusUio_1 = require("./FileStatusUio");
25
26
  function instanceOfFileUio(value) {
26
27
  if (!('id' in value) || value['id'] === undefined)
27
28
  return false;
28
- if (!('contentType' in value) || value['contentType'] === undefined)
29
- return false;
30
- if (!('ext' in value) || value['ext'] === undefined)
31
- return false;
32
- if (!('key' in value) || value['key'] === undefined)
33
- return false;
34
- if (!('size' in value) || value['size'] === undefined)
35
- return false;
36
- if (!('createdAt' in value) || value['createdAt'] === undefined)
37
- return false;
38
- if (!('status' in value) || value['status'] === undefined)
39
- return false;
40
29
  return true;
41
30
  }
42
31
  function FileUioFromJSON(json) {
@@ -49,12 +38,14 @@ function FileUioFromJSONTyped(json, ignoreDiscriminator) {
49
38
  return {
50
39
  'name': json['name'] == null ? undefined : json['name'],
51
40
  'id': json['id'],
52
- 'contentType': json['contentType'],
53
- 'ext': json['ext'],
54
- 'key': json['key'],
55
- 'size': json['size'],
56
- 'createdAt': json['createdAt'],
57
- 'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
41
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
42
+ 'ext': json['ext'] == null ? undefined : json['ext'],
43
+ 'key': json['key'] == null ? undefined : json['key'],
44
+ 'size': json['size'] == null ? undefined : json['size'],
45
+ 'postURL': json['postURL'] == null ? undefined : json['postURL'],
46
+ 'formData': json['formData'] == null ? undefined : (0, FileFormDataUio_1.FileFormDataUioFromJSON)(json['formData']),
47
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
48
+ 'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
58
49
  };
59
50
  }
60
51
  function FileUioToJSON(json) {
@@ -71,6 +62,8 @@ function FileUioToJSONTyped(value, ignoreDiscriminator = false) {
71
62
  'ext': value['ext'],
72
63
  'key': value['key'],
73
64
  'size': value['size'],
65
+ 'postURL': value['postURL'],
66
+ 'formData': (0, FileFormDataUio_1.FileFormDataUioToJSON)(value['formData']),
74
67
  'createdAt': value['createdAt'],
75
68
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
76
69
  };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { FileFormDataUio } from './FileFormDataUio';
12
13
  import type { FileStatusUio } from './FileStatusUio';
13
14
  /**
14
15
  *
@@ -33,37 +34,49 @@ export interface FileWithDownloadUrlUio {
33
34
  * @type {string}
34
35
  * @memberof FileWithDownloadUrlUio
35
36
  */
36
- contentType: string;
37
+ contentType?: string;
37
38
  /**
38
39
  *
39
40
  * @type {string}
40
41
  * @memberof FileWithDownloadUrlUio
41
42
  */
42
- ext: string;
43
+ ext?: string;
43
44
  /**
44
45
  *
45
46
  * @type {string}
46
47
  * @memberof FileWithDownloadUrlUio
47
48
  */
48
- key: string;
49
+ key?: string;
49
50
  /**
50
51
  *
51
52
  * @type {number}
52
53
  * @memberof FileWithDownloadUrlUio
53
54
  */
54
- size: number;
55
+ size?: number;
55
56
  /**
56
57
  *
57
58
  * @type {string}
58
59
  * @memberof FileWithDownloadUrlUio
59
60
  */
60
- createdAt: string;
61
+ postURL?: string;
62
+ /**
63
+ *
64
+ * @type {FileFormDataUio}
65
+ * @memberof FileWithDownloadUrlUio
66
+ */
67
+ formData?: FileFormDataUio;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof FileWithDownloadUrlUio
72
+ */
73
+ createdAt?: string;
61
74
  /**
62
75
  *
63
76
  * @type {FileStatusUio}
64
77
  * @memberof FileWithDownloadUrlUio
65
78
  */
66
- status: FileStatusUio;
79
+ status?: FileStatusUio;
67
80
  /**
68
81
  * Temporary URL to download the file
69
82
  * @type {string}
@@ -18,6 +18,7 @@ exports.FileWithDownloadUrlUioFromJSON = FileWithDownloadUrlUioFromJSON;
18
18
  exports.FileWithDownloadUrlUioFromJSONTyped = FileWithDownloadUrlUioFromJSONTyped;
19
19
  exports.FileWithDownloadUrlUioToJSON = FileWithDownloadUrlUioToJSON;
20
20
  exports.FileWithDownloadUrlUioToJSONTyped = FileWithDownloadUrlUioToJSONTyped;
21
+ const FileFormDataUio_1 = require("./FileFormDataUio");
21
22
  const FileStatusUio_1 = require("./FileStatusUio");
22
23
  /**
23
24
  * Check if a given object implements the FileWithDownloadUrlUio interface.
@@ -25,18 +26,6 @@ const FileStatusUio_1 = require("./FileStatusUio");
25
26
  function instanceOfFileWithDownloadUrlUio(value) {
26
27
  if (!('id' in value) || value['id'] === undefined)
27
28
  return false;
28
- if (!('contentType' in value) || value['contentType'] === undefined)
29
- return false;
30
- if (!('ext' in value) || value['ext'] === undefined)
31
- return false;
32
- if (!('key' in value) || value['key'] === undefined)
33
- return false;
34
- if (!('size' in value) || value['size'] === undefined)
35
- return false;
36
- if (!('createdAt' in value) || value['createdAt'] === undefined)
37
- return false;
38
- if (!('status' in value) || value['status'] === undefined)
39
- return false;
40
29
  if (!('downloadURL' in value) || value['downloadURL'] === undefined)
41
30
  return false;
42
31
  return true;
@@ -51,12 +40,14 @@ function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
51
40
  return {
52
41
  'name': json['name'] == null ? undefined : json['name'],
53
42
  'id': json['id'],
54
- 'contentType': json['contentType'],
55
- 'ext': json['ext'],
56
- 'key': json['key'],
57
- 'size': json['size'],
58
- 'createdAt': json['createdAt'],
59
- 'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
43
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
44
+ 'ext': json['ext'] == null ? undefined : json['ext'],
45
+ 'key': json['key'] == null ? undefined : json['key'],
46
+ 'size': json['size'] == null ? undefined : json['size'],
47
+ 'postURL': json['postURL'] == null ? undefined : json['postURL'],
48
+ 'formData': json['formData'] == null ? undefined : (0, FileFormDataUio_1.FileFormDataUioFromJSON)(json['formData']),
49
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
50
+ 'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
60
51
  'downloadURL': json['downloadURL'],
61
52
  };
62
53
  }
@@ -74,6 +65,8 @@ function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
74
65
  'ext': value['ext'],
75
66
  'key': value['key'],
76
67
  'size': value['size'],
68
+ 'postURL': value['postURL'],
69
+ 'formData': (0, FileFormDataUio_1.FileFormDataUioToJSON)(value['formData']),
77
70
  'createdAt': value['createdAt'],
78
71
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
79
72
  'downloadURL': value['downloadURL'],
@@ -95,6 +95,14 @@ export interface KnowledgeBaseUio {
95
95
  * @memberof KnowledgeBaseUio
96
96
  */
97
97
  agentType?: string;
98
+ /**
99
+ *
100
+ * @type {{ [key: string]: any; }}
101
+ * @memberof KnowledgeBaseUio
102
+ */
103
+ modules?: {
104
+ [key: string]: any;
105
+ };
98
106
  /**
99
107
  *
100
108
  * @type {Array<KnowledgeBaseFilesInnerUio>}
@@ -55,6 +55,7 @@ function KnowledgeBaseUioFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'picture': json['picture'] == null ? undefined : json['picture'],
56
56
  'template': json['template'] == null ? undefined : json['template'],
57
57
  'agentType': json['agentType'] == null ? undefined : json['agentType'],
58
+ 'modules': json['modules'] == null ? undefined : json['modules'],
58
59
  'files': json['files'] == null ? undefined : (json['files'].map(KnowledgeBaseFilesInnerUio_1.KnowledgeBaseFilesInnerUioFromJSON)),
59
60
  'status': json['status'] == null ? undefined : json['status'],
60
61
  'indexed': json['indexed'] == null ? undefined : json['indexed'],
@@ -81,6 +82,7 @@ function KnowledgeBaseUioToJSONTyped(value, ignoreDiscriminator = false) {
81
82
  'picture': value['picture'],
82
83
  'template': value['template'],
83
84
  'agentType': value['agentType'],
85
+ 'modules': value['modules'],
84
86
  'files': value['files'] == null ? undefined : (value['files'].map(KnowledgeBaseFilesInnerUio_1.KnowledgeBaseFilesInnerUioToJSON)),
85
87
  'status': value['status'],
86
88
  'indexed': value['indexed'],
@@ -0,0 +1,159 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 { AgentModuleUio } from './AgentModuleUio';
13
+ import type { PersonaUio } from './PersonaUio';
14
+ import type { EngineUio } from './EngineUio';
15
+ import type { PromptInitUio } from './PromptInitUio';
16
+ import type { AgentTypeUio } from './AgentTypeUio';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ModelAgentUio
21
+ */
22
+ export interface ModelAgentUio {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ModelAgentUio
27
+ */
28
+ id: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof ModelAgentUio
33
+ */
34
+ organisationId: string;
35
+ /**
36
+ *
37
+ * @type {EngineUio}
38
+ * @memberof ModelAgentUio
39
+ */
40
+ engine: EngineUio;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof ModelAgentUio
45
+ */
46
+ name: string;
47
+ /**
48
+ *
49
+ * @type {PersonaUio}
50
+ * @memberof ModelAgentUio
51
+ */
52
+ persona: PersonaUio;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof ModelAgentUio
57
+ */
58
+ description: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof ModelAgentUio
63
+ */
64
+ role: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof ModelAgentUio
69
+ */
70
+ defaultLanguage: string;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof ModelAgentUio
75
+ */
76
+ isParent: boolean;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof ModelAgentUio
81
+ */
82
+ template?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof ModelAgentUio
87
+ */
88
+ createdAt?: string;
89
+ /**
90
+ *
91
+ * @type {PromptInitUio}
92
+ * @memberof ModelAgentUio
93
+ */
94
+ promptInit?: PromptInitUio;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof ModelAgentUio
99
+ */
100
+ updatedAt?: string;
101
+ /**
102
+ *
103
+ * @type {AgentTypeUio}
104
+ * @memberof ModelAgentUio
105
+ */
106
+ agentType?: AgentTypeUio;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof ModelAgentUio
111
+ */
112
+ color?: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof ModelAgentUio
117
+ */
118
+ picture?: string;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof ModelAgentUio
123
+ */
124
+ profilePicture?: string;
125
+ /**
126
+ *
127
+ * @type {boolean}
128
+ * @memberof ModelAgentUio
129
+ */
130
+ isActivated?: boolean;
131
+ /**
132
+ *
133
+ * @type {boolean}
134
+ * @memberof ModelAgentUio
135
+ */
136
+ isTemplate?: boolean;
137
+ /**
138
+ *
139
+ * @type {Array<string>}
140
+ * @memberof ModelAgentUio
141
+ */
142
+ knowledgeBaseId?: Array<string>;
143
+ /**
144
+ *
145
+ * @type {{ [key: string]: AgentModuleUio; }}
146
+ * @memberof ModelAgentUio
147
+ */
148
+ modules?: {
149
+ [key: string]: AgentModuleUio;
150
+ };
151
+ }
152
+ /**
153
+ * Check if a given object implements the ModelAgentUio interface.
154
+ */
155
+ export declare function instanceOfModelAgentUio(value: object): value is ModelAgentUio;
156
+ export declare function ModelAgentUioFromJSON(json: any): ModelAgentUio;
157
+ export declare function ModelAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAgentUio;
158
+ export declare function ModelAgentUioToJSON(json: any): ModelAgentUio;
159
+ export declare function ModelAgentUioToJSONTyped(value?: ModelAgentUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfModelAgentUio = instanceOfModelAgentUio;
17
+ exports.ModelAgentUioFromJSON = ModelAgentUioFromJSON;
18
+ exports.ModelAgentUioFromJSONTyped = ModelAgentUioFromJSONTyped;
19
+ exports.ModelAgentUioToJSON = ModelAgentUioToJSON;
20
+ exports.ModelAgentUioToJSONTyped = ModelAgentUioToJSONTyped;
21
+ const runtime_1 = require("../runtime");
22
+ const AgentModuleUio_1 = require("./AgentModuleUio");
23
+ const PersonaUio_1 = require("./PersonaUio");
24
+ const EngineUio_1 = require("./EngineUio");
25
+ const PromptInitUio_1 = require("./PromptInitUio");
26
+ const AgentTypeUio_1 = require("./AgentTypeUio");
27
+ /**
28
+ * Check if a given object implements the ModelAgentUio interface.
29
+ */
30
+ function instanceOfModelAgentUio(value) {
31
+ if (!('id' in value) || value['id'] === undefined)
32
+ return false;
33
+ if (!('organisationId' in value) || value['organisationId'] === undefined)
34
+ return false;
35
+ if (!('engine' in value) || value['engine'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('persona' in value) || value['persona'] === undefined)
40
+ return false;
41
+ if (!('description' in value) || value['description'] === undefined)
42
+ return false;
43
+ if (!('role' in value) || value['role'] === undefined)
44
+ return false;
45
+ if (!('defaultLanguage' in value) || value['defaultLanguage'] === undefined)
46
+ return false;
47
+ if (!('isParent' in value) || value['isParent'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function ModelAgentUioFromJSON(json) {
52
+ return ModelAgentUioFromJSONTyped(json, false);
53
+ }
54
+ function ModelAgentUioFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'id': json['id'],
60
+ 'organisationId': json['organisationId'],
61
+ 'engine': (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
62
+ 'name': json['name'],
63
+ 'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
64
+ 'description': json['description'],
65
+ 'role': json['role'],
66
+ 'defaultLanguage': json['defaultLanguage'],
67
+ 'isParent': json['isParent'],
68
+ 'template': json['template'] == null ? undefined : json['template'],
69
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
70
+ 'promptInit': json['promptInit'] == null ? undefined : (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
71
+ 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
72
+ 'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
73
+ 'color': json['color'] == null ? undefined : json['color'],
74
+ 'picture': json['picture'] == null ? undefined : json['picture'],
75
+ 'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
76
+ 'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
77
+ 'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
78
+ 'knowledgeBaseId': json['knowledgeBaseId'] == null ? undefined : json['knowledgeBaseId'],
79
+ 'modules': json['modules'] == null ? undefined : ((0, runtime_1.mapValues)(json['modules'], AgentModuleUio_1.AgentModuleUioFromJSON)),
80
+ };
81
+ }
82
+ function ModelAgentUioToJSON(json) {
83
+ return ModelAgentUioToJSONTyped(json, false);
84
+ }
85
+ function ModelAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+ return {
90
+ 'id': value['id'],
91
+ 'organisationId': value['organisationId'],
92
+ 'engine': (0, EngineUio_1.EngineUioToJSON)(value['engine']),
93
+ 'name': value['name'],
94
+ 'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
95
+ 'description': value['description'],
96
+ 'role': value['role'],
97
+ 'defaultLanguage': value['defaultLanguage'],
98
+ 'isParent': value['isParent'],
99
+ 'template': value['template'],
100
+ 'createdAt': value['createdAt'],
101
+ 'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
102
+ 'updatedAt': value['updatedAt'],
103
+ 'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
104
+ 'color': value['color'],
105
+ 'picture': value['picture'],
106
+ 'profilePicture': value['profilePicture'],
107
+ 'isActivated': value['isActivated'],
108
+ 'isTemplate': value['isTemplate'],
109
+ 'knowledgeBaseId': value['knowledgeBaseId'],
110
+ 'modules': value['modules'] == null ? undefined : ((0, runtime_1.mapValues)(value['modules'], AgentModuleUio_1.AgentModuleUioToJSON)),
111
+ };
112
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { UserUserUio } from './UserUserUio';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -20,7 +21,61 @@ export interface UserUio {
20
21
  * @type {string}
21
22
  * @memberof UserUio
22
23
  */
23
- email: string;
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof UserUio
29
+ */
30
+ isAdmin?: boolean;
31
+ /**
32
+ *
33
+ * @type {UserUserUio}
34
+ * @memberof UserUio
35
+ */
36
+ user?: UserUserUio;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof UserUio
41
+ */
42
+ createdAt?: string;
43
+ /**
44
+ *
45
+ * @type {Array<string>}
46
+ * @memberof UserUio
47
+ */
48
+ brains?: Array<string>;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof UserUio
53
+ */
54
+ canCreateAgents?: boolean;
55
+ /**
56
+ *
57
+ * @type {any}
58
+ * @memberof UserUio
59
+ */
60
+ maxAgents?: any | null;
61
+ /**
62
+ *
63
+ * @type {Array<string>}
64
+ * @memberof UserUio
65
+ */
66
+ apiKeys?: Array<string>;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof UserUio
71
+ */
72
+ locked?: boolean;
73
+ /**
74
+ *
75
+ * @type {boolean}
76
+ * @memberof UserUio
77
+ */
78
+ allAgents?: boolean;
24
79
  }
25
80
  /**
26
81
  * Check if a given object implements the UserUio interface.
@@ -18,12 +18,11 @@ exports.UserUioFromJSON = UserUioFromJSON;
18
18
  exports.UserUioFromJSONTyped = UserUioFromJSONTyped;
19
19
  exports.UserUioToJSON = UserUioToJSON;
20
20
  exports.UserUioToJSONTyped = UserUioToJSONTyped;
21
+ const UserUserUio_1 = require("./UserUserUio");
21
22
  /**
22
23
  * Check if a given object implements the UserUio interface.
23
24
  */
24
25
  function instanceOfUserUio(value) {
25
- if (!('email' in value) || value['email'] === undefined)
26
- return false;
27
26
  return true;
28
27
  }
29
28
  function UserUioFromJSON(json) {
@@ -34,7 +33,16 @@ function UserUioFromJSONTyped(json, ignoreDiscriminator) {
34
33
  return json;
35
34
  }
36
35
  return {
37
- 'email': json['email'],
36
+ 'id': json['id'] == null ? undefined : json['id'],
37
+ 'isAdmin': json['isAdmin'] == null ? undefined : json['isAdmin'],
38
+ 'user': json['user'] == null ? undefined : (0, UserUserUio_1.UserUserUioFromJSON)(json['user']),
39
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
40
+ 'brains': json['brains'] == null ? undefined : json['brains'],
41
+ 'canCreateAgents': json['canCreateAgents'] == null ? undefined : json['canCreateAgents'],
42
+ 'maxAgents': json['maxAgents'] == null ? undefined : json['maxAgents'],
43
+ 'apiKeys': json['apiKeys'] == null ? undefined : json['apiKeys'],
44
+ 'locked': json['locked'] == null ? undefined : json['locked'],
45
+ 'allAgents': json['allAgents'] == null ? undefined : json['allAgents'],
38
46
  };
39
47
  }
40
48
  function UserUioToJSON(json) {
@@ -45,6 +53,15 @@ function UserUioToJSONTyped(value, ignoreDiscriminator = false) {
45
53
  return value;
46
54
  }
47
55
  return {
48
- 'email': value['email'],
56
+ 'id': value['id'],
57
+ 'isAdmin': value['isAdmin'],
58
+ 'user': (0, UserUserUio_1.UserUserUioToJSON)(value['user']),
59
+ 'createdAt': value['createdAt'],
60
+ 'brains': value['brains'],
61
+ 'canCreateAgents': value['canCreateAgents'],
62
+ 'maxAgents': value['maxAgents'],
63
+ 'apiKeys': value['apiKeys'],
64
+ 'locked': value['locked'],
65
+ 'allAgents': value['allAgents'],
49
66
  };
50
67
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 UserUserUio
16
+ */
17
+ export interface UserUserUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserUserUio
22
+ */
23
+ email: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UserUserUio interface.
27
+ */
28
+ export declare function instanceOfUserUserUio(value: object): value is UserUserUio;
29
+ export declare function UserUserUioFromJSON(json: any): UserUserUio;
30
+ export declare function UserUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserUserUio;
31
+ export declare function UserUserUioToJSON(json: any): UserUserUio;
32
+ export declare function UserUserUioToJSONTyped(value?: UserUserUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfUserUserUio = instanceOfUserUserUio;
17
+ exports.UserUserUioFromJSON = UserUserUioFromJSON;
18
+ exports.UserUserUioFromJSONTyped = UserUserUioFromJSONTyped;
19
+ exports.UserUserUioToJSON = UserUserUioToJSON;
20
+ exports.UserUserUioToJSONTyped = UserUserUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UserUserUio interface.
23
+ */
24
+ function instanceOfUserUserUio(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UserUserUioFromJSON(json) {
30
+ return UserUserUioFromJSONTyped(json, false);
31
+ }
32
+ function UserUserUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'email': json['email'],
38
+ };
39
+ }
40
+ function UserUserUioToJSON(json) {
41
+ return UserUserUioToJSONTyped(json, false);
42
+ }
43
+ function UserUserUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'email': value['email'],
49
+ };
50
+ }
@@ -85,6 +85,7 @@ export * from './FileAttachmentStatusUio';
85
85
  export * from './FileAttachmentUio';
86
86
  export * from './FileCreationRequestUio';
87
87
  export * from './FileCreationResponseUio';
88
+ export * from './FileFormDataUio';
88
89
  export * from './FileStatusUio';
89
90
  export * from './FileStatusUpdateRequestUio';
90
91
  export * from './FileUio';
@@ -122,6 +123,7 @@ export * from './MetricForAgentMetricWithCostUio';
122
123
  export * from './MetricForAgentUio';
123
124
  export * from './MetricIdentifierUio';
124
125
  export * from './MetricUio';
126
+ export * from './ModelAgentUio';
125
127
  export * from './ModelUio';
126
128
  export * from './OrganizationUio';
127
129
  export * from './PersonaUio';
@@ -154,3 +156,4 @@ export * from './ToolResultsToolUio';
154
156
  export * from './ToolResultsUio';
155
157
  export * from './TransactionUio';
156
158
  export * from './UserUio';
159
+ export * from './UserUserUio';
@@ -103,6 +103,7 @@ __exportStar(require("./FileAttachmentStatusUio"), exports);
103
103
  __exportStar(require("./FileAttachmentUio"), exports);
104
104
  __exportStar(require("./FileCreationRequestUio"), exports);
105
105
  __exportStar(require("./FileCreationResponseUio"), exports);
106
+ __exportStar(require("./FileFormDataUio"), exports);
106
107
  __exportStar(require("./FileStatusUio"), exports);
107
108
  __exportStar(require("./FileStatusUpdateRequestUio"), exports);
108
109
  __exportStar(require("./FileUio"), exports);
@@ -140,6 +141,7 @@ __exportStar(require("./MetricForAgentMetricWithCostUio"), exports);
140
141
  __exportStar(require("./MetricForAgentUio"), exports);
141
142
  __exportStar(require("./MetricIdentifierUio"), exports);
142
143
  __exportStar(require("./MetricUio"), exports);
144
+ __exportStar(require("./ModelAgentUio"), exports);
143
145
  __exportStar(require("./ModelUio"), exports);
144
146
  __exportStar(require("./OrganizationUio"), exports);
145
147
  __exportStar(require("./PersonaUio"), exports);
@@ -172,3 +174,4 @@ __exportStar(require("./ToolResultsToolUio"), exports);
172
174
  __exportStar(require("./ToolResultsUio"), exports);
173
175
  __exportStar(require("./TransactionUio"), exports);
174
176
  __exportStar(require("./UserUio"), exports);
177
+ __exportStar(require("./UserUserUio"), exports);
package/dist/openapi.json CHANGED
@@ -5156,6 +5156,10 @@
5156
5156
  "agentType" : {
5157
5157
  "type" : "string"
5158
5158
  },
5159
+ "modules" : {
5160
+ "additionalProperties" : true,
5161
+ "type" : "object"
5162
+ },
5159
5163
  "files" : {
5160
5164
  "items" : {
5161
5165
  "$ref" : "#/components/schemas/KnowledgeBase_files_inner"
@@ -5172,6 +5176,81 @@
5172
5176
  "required" : [ "authorizedAgents", "createdAt", "id", "name" ],
5173
5177
  "type" : "object"
5174
5178
  },
5179
+ "ModelAgent" : {
5180
+ "properties" : {
5181
+ "id" : {
5182
+ "type" : "string"
5183
+ },
5184
+ "organisationId" : {
5185
+ "type" : "string"
5186
+ },
5187
+ "engine" : {
5188
+ "$ref" : "#/components/schemas/Engine"
5189
+ },
5190
+ "name" : {
5191
+ "type" : "string"
5192
+ },
5193
+ "persona" : {
5194
+ "$ref" : "#/components/schemas/Persona"
5195
+ },
5196
+ "description" : {
5197
+ "type" : "string"
5198
+ },
5199
+ "role" : {
5200
+ "type" : "string"
5201
+ },
5202
+ "defaultLanguage" : {
5203
+ "type" : "string"
5204
+ },
5205
+ "isParent" : {
5206
+ "type" : "boolean"
5207
+ },
5208
+ "template" : {
5209
+ "type" : "string"
5210
+ },
5211
+ "createdAt" : {
5212
+ "type" : "string"
5213
+ },
5214
+ "promptInit" : {
5215
+ "$ref" : "#/components/schemas/PromptInit"
5216
+ },
5217
+ "updatedAt" : {
5218
+ "type" : "string"
5219
+ },
5220
+ "agentType" : {
5221
+ "$ref" : "#/components/schemas/AgentType"
5222
+ },
5223
+ "color" : {
5224
+ "type" : "string"
5225
+ },
5226
+ "picture" : {
5227
+ "type" : "string"
5228
+ },
5229
+ "profilePicture" : {
5230
+ "type" : "string"
5231
+ },
5232
+ "isActivated" : {
5233
+ "type" : "boolean"
5234
+ },
5235
+ "isTemplate" : {
5236
+ "type" : "boolean"
5237
+ },
5238
+ "knowledgeBaseId" : {
5239
+ "items" : {
5240
+ "type" : "string"
5241
+ },
5242
+ "type" : "array"
5243
+ },
5244
+ "modules" : {
5245
+ "additionalProperties" : {
5246
+ "$ref" : "#/components/schemas/AgentModule"
5247
+ },
5248
+ "type" : "object"
5249
+ }
5250
+ },
5251
+ "required" : [ "defaultLanguage", "description", "engine", "id", "isParent", "name", "organisationId", "persona", "role" ],
5252
+ "type" : "object"
5253
+ },
5175
5254
  "HealthCheckResponse" : {
5176
5255
  "properties" : {
5177
5256
  "status" : {
@@ -5533,6 +5612,7 @@
5533
5612
  "type" : "string"
5534
5613
  },
5535
5614
  "configuration" : {
5615
+ "additionalProperties" : true,
5536
5616
  "type" : "object"
5537
5617
  },
5538
5618
  "restricted" : {
@@ -5881,6 +5961,12 @@
5881
5961
  "size" : {
5882
5962
  "type" : "number"
5883
5963
  },
5964
+ "postURL" : {
5965
+ "type" : "string"
5966
+ },
5967
+ "formData" : {
5968
+ "$ref" : "#/components/schemas/File_formData"
5969
+ },
5884
5970
  "createdAt" : {
5885
5971
  "type" : "string"
5886
5972
  },
@@ -5888,7 +5974,7 @@
5888
5974
  "$ref" : "#/components/schemas/FileStatus"
5889
5975
  }
5890
5976
  },
5891
- "required" : [ "contentType", "createdAt", "ext", "id", "key", "size", "status" ],
5977
+ "required" : [ "id" ],
5892
5978
  "type" : "object"
5893
5979
  },
5894
5980
  "AgentDuplicateRequest" : {
@@ -6333,6 +6419,23 @@
6333
6419
  },
6334
6420
  "type" : {
6335
6421
  "type" : "string"
6422
+ },
6423
+ "promptInit" : {
6424
+ "additionalProperties" : {
6425
+ "type" : "string"
6426
+ },
6427
+ "maxProperties" : 100,
6428
+ "type" : "object"
6429
+ },
6430
+ "persona" : {
6431
+ "$ref" : "#/components/schemas/Persona"
6432
+ },
6433
+ "favoriteOutfit" : {
6434
+ "additionalProperties" : {
6435
+ "type" : "string"
6436
+ },
6437
+ "maxProperties" : 100,
6438
+ "type" : "object"
6336
6439
  }
6337
6440
  },
6338
6441
  "required" : [ "agentId", "authSecret", "id", "name", "status", "streamingEnabled", "voiceId", "voiceModelId" ],
@@ -7594,11 +7697,43 @@
7594
7697
  },
7595
7698
  "User" : {
7596
7699
  "properties" : {
7597
- "email" : {
7700
+ "id" : {
7701
+ "type" : "string"
7702
+ },
7703
+ "isAdmin" : {
7704
+ "type" : "boolean"
7705
+ },
7706
+ "user" : {
7707
+ "$ref" : "#/components/schemas/User_user"
7708
+ },
7709
+ "createdAt" : {
7598
7710
  "type" : "string"
7711
+ },
7712
+ "brains" : {
7713
+ "items" : {
7714
+ "type" : "string"
7715
+ },
7716
+ "type" : "array"
7717
+ },
7718
+ "canCreateAgents" : {
7719
+ "type" : "boolean"
7720
+ },
7721
+ "maxAgents" : {
7722
+ "nullable" : true
7723
+ },
7724
+ "apiKeys" : {
7725
+ "items" : {
7726
+ "type" : "string"
7727
+ },
7728
+ "type" : "array"
7729
+ },
7730
+ "locked" : {
7731
+ "type" : "boolean"
7732
+ },
7733
+ "allAgents" : {
7734
+ "type" : "boolean"
7599
7735
  }
7600
7736
  },
7601
- "required" : [ "email" ],
7602
7737
  "type" : "object"
7603
7738
  },
7604
7739
  "AuthType" : {
@@ -7754,6 +7889,17 @@
7754
7889
  "required" : [ "model", "providerId" ],
7755
7890
  "type" : "object"
7756
7891
  },
7892
+ "File_formData" : {
7893
+ "properties" : {
7894
+ "fileName" : {
7895
+ "type" : "string"
7896
+ },
7897
+ "contentType" : {
7898
+ "type" : "string"
7899
+ }
7900
+ },
7901
+ "type" : "object"
7902
+ },
7757
7903
  "ChatMessage_audio_inner" : {
7758
7904
  "properties" : {
7759
7905
  "sequence" : {
@@ -7888,6 +8034,15 @@
7888
8034
  "exits" : { }
7889
8035
  },
7890
8036
  "type" : "object"
8037
+ },
8038
+ "User_user" : {
8039
+ "properties" : {
8040
+ "email" : {
8041
+ "type" : "string"
8042
+ }
8043
+ },
8044
+ "required" : [ "email" ],
8045
+ "type" : "object"
7891
8046
  }
7892
8047
  },
7893
8048
  "securitySchemes" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",