@breign/client 1.0.106 → 1.0.108

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 (32) hide show
  1. package/dist/apis/ConversationsApi.d.ts +11 -11
  2. package/dist/apis/ConversationsApi.js +11 -10
  3. package/dist/apis/InstancesApi.d.ts +45 -0
  4. package/dist/apis/InstancesApi.js +120 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AuthCodeConfirmRequestUio.d.ts +4 -4
  8. package/dist/models/AuthCodeConfirmRequestUio.js +4 -6
  9. package/dist/models/AuthCodeRequestUio.d.ts +13 -6
  10. package/dist/models/AuthCodeRequestUio.js +13 -6
  11. package/dist/models/AuthCodeRequestUserUio.d.ts +32 -0
  12. package/dist/models/AuthCodeRequestUserUio.js +50 -0
  13. package/dist/models/ConversationUio.d.ts +19 -0
  14. package/dist/models/ConversationUio.js +7 -0
  15. package/dist/models/CreateCustomVariable200ResponseUio.d.ts +40 -0
  16. package/dist/models/CreateCustomVariable200ResponseUio.js +54 -0
  17. package/dist/models/InstanceContextPatchUio.d.ts +34 -0
  18. package/dist/models/InstanceContextPatchUio.js +50 -0
  19. package/dist/models/InstanceContextUio.d.ts +34 -0
  20. package/dist/models/InstanceContextUio.js +48 -0
  21. package/dist/models/OrganizationMemberUio.d.ts +3 -3
  22. package/dist/models/OrganizationMemberUio.js +3 -3
  23. package/dist/models/UserUio.d.ts +3 -3
  24. package/dist/models/UserUio.js +3 -3
  25. package/dist/models/index.d.ts +4 -2
  26. package/dist/models/index.js +4 -2
  27. package/dist/openapi.json +223 -65
  28. package/package.json +1 -1
  29. package/dist/models/AuthTypeUio.d.ts +0 -24
  30. package/dist/models/AuthTypeUio.js +0 -50
  31. package/dist/models/OrganizationMemberUserUio.d.ts +0 -32
  32. package/dist/models/OrganizationMemberUserUio.js +0 -50
@@ -0,0 +1,54 @@
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.instanceOfCreateCustomVariable200ResponseUio = instanceOfCreateCustomVariable200ResponseUio;
17
+ exports.CreateCustomVariable200ResponseUioFromJSON = CreateCustomVariable200ResponseUioFromJSON;
18
+ exports.CreateCustomVariable200ResponseUioFromJSONTyped = CreateCustomVariable200ResponseUioFromJSONTyped;
19
+ exports.CreateCustomVariable200ResponseUioToJSON = CreateCustomVariable200ResponseUioToJSON;
20
+ exports.CreateCustomVariable200ResponseUioToJSONTyped = CreateCustomVariable200ResponseUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateCustomVariable200ResponseUio interface.
23
+ */
24
+ function instanceOfCreateCustomVariable200ResponseUio(value) {
25
+ if (!('message' in value) || value['message'] === undefined)
26
+ return false;
27
+ if (!('custom' in value) || value['custom'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CreateCustomVariable200ResponseUioFromJSON(json) {
32
+ return CreateCustomVariable200ResponseUioFromJSONTyped(json, false);
33
+ }
34
+ function CreateCustomVariable200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'message': json['message'],
40
+ 'custom': json['custom'],
41
+ };
42
+ }
43
+ function CreateCustomVariable200ResponseUioToJSON(json) {
44
+ return CreateCustomVariable200ResponseUioToJSONTyped(json, false);
45
+ }
46
+ function CreateCustomVariable200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'message': value['message'],
52
+ 'custom': value['custom'],
53
+ };
54
+ }
@@ -0,0 +1,34 @@
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 InstanceContextPatchUio
16
+ */
17
+ export interface InstanceContextPatchUio {
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: string; }}
21
+ * @memberof InstanceContextPatchUio
22
+ */
23
+ custom: {
24
+ [key: string]: string;
25
+ };
26
+ }
27
+ /**
28
+ * Check if a given object implements the InstanceContextPatchUio interface.
29
+ */
30
+ export declare function instanceOfInstanceContextPatchUio(value: object): value is InstanceContextPatchUio;
31
+ export declare function InstanceContextPatchUioFromJSON(json: any): InstanceContextPatchUio;
32
+ export declare function InstanceContextPatchUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceContextPatchUio;
33
+ export declare function InstanceContextPatchUioToJSON(json: any): InstanceContextPatchUio;
34
+ export declare function InstanceContextPatchUioToJSONTyped(value?: InstanceContextPatchUio | 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.instanceOfInstanceContextPatchUio = instanceOfInstanceContextPatchUio;
17
+ exports.InstanceContextPatchUioFromJSON = InstanceContextPatchUioFromJSON;
18
+ exports.InstanceContextPatchUioFromJSONTyped = InstanceContextPatchUioFromJSONTyped;
19
+ exports.InstanceContextPatchUioToJSON = InstanceContextPatchUioToJSON;
20
+ exports.InstanceContextPatchUioToJSONTyped = InstanceContextPatchUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the InstanceContextPatchUio interface.
23
+ */
24
+ function instanceOfInstanceContextPatchUio(value) {
25
+ if (!('custom' in value) || value['custom'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function InstanceContextPatchUioFromJSON(json) {
30
+ return InstanceContextPatchUioFromJSONTyped(json, false);
31
+ }
32
+ function InstanceContextPatchUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'custom': json['custom'],
38
+ };
39
+ }
40
+ function InstanceContextPatchUioToJSON(json) {
41
+ return InstanceContextPatchUioToJSONTyped(json, false);
42
+ }
43
+ function InstanceContextPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'custom': value['custom'],
49
+ };
50
+ }
@@ -0,0 +1,34 @@
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 InstanceContextUio
16
+ */
17
+ export interface InstanceContextUio {
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: string; }}
21
+ * @memberof InstanceContextUio
22
+ */
23
+ custom?: {
24
+ [key: string]: string;
25
+ };
26
+ }
27
+ /**
28
+ * Check if a given object implements the InstanceContextUio interface.
29
+ */
30
+ export declare function instanceOfInstanceContextUio(value: object): value is InstanceContextUio;
31
+ export declare function InstanceContextUioFromJSON(json: any): InstanceContextUio;
32
+ export declare function InstanceContextUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceContextUio;
33
+ export declare function InstanceContextUioToJSON(json: any): InstanceContextUio;
34
+ export declare function InstanceContextUioToJSONTyped(value?: InstanceContextUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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.instanceOfInstanceContextUio = instanceOfInstanceContextUio;
17
+ exports.InstanceContextUioFromJSON = InstanceContextUioFromJSON;
18
+ exports.InstanceContextUioFromJSONTyped = InstanceContextUioFromJSONTyped;
19
+ exports.InstanceContextUioToJSON = InstanceContextUioToJSON;
20
+ exports.InstanceContextUioToJSONTyped = InstanceContextUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the InstanceContextUio interface.
23
+ */
24
+ function instanceOfInstanceContextUio(value) {
25
+ return true;
26
+ }
27
+ function InstanceContextUioFromJSON(json) {
28
+ return InstanceContextUioFromJSONTyped(json, false);
29
+ }
30
+ function InstanceContextUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'custom': json['custom'] == null ? undefined : json['custom'],
36
+ };
37
+ }
38
+ function InstanceContextUioToJSON(json) {
39
+ return InstanceContextUioToJSONTyped(json, false);
40
+ }
41
+ function InstanceContextUioToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'custom': value['custom'],
47
+ };
48
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -36,10 +36,10 @@ export interface OrganizationMemberUio {
36
36
  createdAt: string;
37
37
  /**
38
38
  *
39
- * @type {OrganizationMemberUserUio}
39
+ * @type {AuthCodeRequestUserUio}
40
40
  * @memberof OrganizationMemberUio
41
41
  */
42
- user: OrganizationMemberUserUio;
42
+ user: AuthCodeRequestUserUio;
43
43
  }
44
44
  /**
45
45
  * Check if a given object implements the OrganizationMemberUio interface.
@@ -18,7 +18,7 @@ exports.OrganizationMemberUioFromJSON = OrganizationMemberUioFromJSON;
18
18
  exports.OrganizationMemberUioFromJSONTyped = OrganizationMemberUioFromJSONTyped;
19
19
  exports.OrganizationMemberUioToJSON = OrganizationMemberUioToJSON;
20
20
  exports.OrganizationMemberUioToJSONTyped = OrganizationMemberUioToJSONTyped;
21
- const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
21
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
22
22
  /**
23
23
  * Check if a given object implements the OrganizationMemberUio interface.
24
24
  */
@@ -44,7 +44,7 @@ function OrganizationMemberUioFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'id': json['id'],
45
45
  'role': json['role'],
46
46
  'createdAt': json['createdAt'],
47
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
47
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
48
48
  };
49
49
  }
50
50
  function OrganizationMemberUioToJSON(json) {
@@ -58,6 +58,6 @@ function OrganizationMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
58
58
  'id': value['id'],
59
59
  'role': value['role'],
60
60
  'createdAt': value['createdAt'],
61
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
61
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
62
62
  };
63
63
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface UserUio {
30
30
  isAdmin?: boolean;
31
31
  /**
32
32
  *
33
- * @type {OrganizationMemberUserUio}
33
+ * @type {AuthCodeRequestUserUio}
34
34
  * @memberof UserUio
35
35
  */
36
- user?: OrganizationMemberUserUio;
36
+ user?: AuthCodeRequestUserUio;
37
37
  /**
38
38
  *
39
39
  * @type {string}
@@ -18,7 +18,7 @@ exports.UserUioFromJSON = UserUioFromJSON;
18
18
  exports.UserUioFromJSONTyped = UserUioFromJSONTyped;
19
19
  exports.UserUioToJSON = UserUioToJSON;
20
20
  exports.UserUioToJSONTyped = UserUioToJSONTyped;
21
- const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
21
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
22
22
  /**
23
23
  * Check if a given object implements the UserUio interface.
24
24
  */
@@ -35,7 +35,7 @@ function UserUioFromJSONTyped(json, ignoreDiscriminator) {
35
35
  return {
36
36
  'id': json['id'] == null ? undefined : json['id'],
37
37
  'isAdmin': json['isAdmin'] == null ? undefined : json['isAdmin'],
38
- 'user': json['user'] == null ? undefined : (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
38
+ 'user': json['user'] == null ? undefined : (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
39
39
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
40
40
  'brains': json['brains'] == null ? undefined : json['brains'],
41
41
  'canCreateAgents': json['canCreateAgents'] == null ? undefined : json['canCreateAgents'],
@@ -55,7 +55,7 @@ function UserUioToJSONTyped(value, ignoreDiscriminator = false) {
55
55
  return {
56
56
  'id': value['id'],
57
57
  'isAdmin': value['isAdmin'],
58
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
58
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
59
59
  'createdAt': value['createdAt'],
60
60
  'brains': value['brains'],
61
61
  'canCreateAgents': value['canCreateAgents'],
@@ -77,8 +77,8 @@ export * from './AudioFillerExistsResponseUio';
77
77
  export * from './AuthCodeConfirmRequestUio';
78
78
  export * from './AuthCodeConfirmResponseUio';
79
79
  export * from './AuthCodeRequestUio';
80
+ export * from './AuthCodeRequestUserUio';
80
81
  export * from './AuthCodeResponseUio';
81
- export * from './AuthTypeUio';
82
82
  export * from './BodyWithIdUio';
83
83
  export * from './BodyWithMessageUio';
84
84
  export * from './ChatContextAttachmentUio';
@@ -117,6 +117,7 @@ export * from './ConversationSummaryAgentUio';
117
117
  export * from './ConversationSummaryUio';
118
118
  export * from './ConversationUio';
119
119
  export * from './CostMetricUio';
120
+ export * from './CreateCustomVariable200ResponseUio';
120
121
  export * from './DefaultClientPricesUio';
121
122
  export * from './DefaultEngineRequestUio';
122
123
  export * from './DeleteMessageAudio200ResponseUio';
@@ -173,6 +174,8 @@ export * from './ImageAttachmentUploadResponseUio';
173
174
  export * from './ImageKnowledgeUio';
174
175
  export * from './ImportFileToAgentKnowledge200ResponseUio';
175
176
  export * from './InputUio';
177
+ export * from './InstanceContextPatchUio';
178
+ export * from './InstanceContextUio';
176
179
  export * from './InstanceUio';
177
180
  export * from './IntrospectMcpTool200ResponseUio';
178
181
  export * from './KnowledgeBaseConfigurationAuthenticationOneOfUio';
@@ -203,7 +206,6 @@ export * from './ModelDefinitionUio';
203
206
  export * from './ModelUio';
204
207
  export * from './OrganizationEngineUio';
205
208
  export * from './OrganizationMemberUio';
206
- export * from './OrganizationMemberUserUio';
207
209
  export * from './OrganizationPermissionKeyUio';
208
210
  export * from './OrganizationUio';
209
211
  export * from './OrganizationUserInviteRequestUio';
@@ -95,8 +95,8 @@ __exportStar(require("./AudioFillerExistsResponseUio"), exports);
95
95
  __exportStar(require("./AuthCodeConfirmRequestUio"), exports);
96
96
  __exportStar(require("./AuthCodeConfirmResponseUio"), exports);
97
97
  __exportStar(require("./AuthCodeRequestUio"), exports);
98
+ __exportStar(require("./AuthCodeRequestUserUio"), exports);
98
99
  __exportStar(require("./AuthCodeResponseUio"), exports);
99
- __exportStar(require("./AuthTypeUio"), exports);
100
100
  __exportStar(require("./BodyWithIdUio"), exports);
101
101
  __exportStar(require("./BodyWithMessageUio"), exports);
102
102
  __exportStar(require("./ChatContextAttachmentUio"), exports);
@@ -135,6 +135,7 @@ __exportStar(require("./ConversationSummaryAgentUio"), exports);
135
135
  __exportStar(require("./ConversationSummaryUio"), exports);
136
136
  __exportStar(require("./ConversationUio"), exports);
137
137
  __exportStar(require("./CostMetricUio"), exports);
138
+ __exportStar(require("./CreateCustomVariable200ResponseUio"), exports);
138
139
  __exportStar(require("./DefaultClientPricesUio"), exports);
139
140
  __exportStar(require("./DefaultEngineRequestUio"), exports);
140
141
  __exportStar(require("./DeleteMessageAudio200ResponseUio"), exports);
@@ -191,6 +192,8 @@ __exportStar(require("./ImageAttachmentUploadResponseUio"), exports);
191
192
  __exportStar(require("./ImageKnowledgeUio"), exports);
192
193
  __exportStar(require("./ImportFileToAgentKnowledge200ResponseUio"), exports);
193
194
  __exportStar(require("./InputUio"), exports);
195
+ __exportStar(require("./InstanceContextPatchUio"), exports);
196
+ __exportStar(require("./InstanceContextUio"), exports);
194
197
  __exportStar(require("./InstanceUio"), exports);
195
198
  __exportStar(require("./IntrospectMcpTool200ResponseUio"), exports);
196
199
  __exportStar(require("./KnowledgeBaseConfigurationAuthenticationOneOfUio"), exports);
@@ -221,7 +224,6 @@ __exportStar(require("./ModelDefinitionUio"), exports);
221
224
  __exportStar(require("./ModelUio"), exports);
222
225
  __exportStar(require("./OrganizationEngineUio"), exports);
223
226
  __exportStar(require("./OrganizationMemberUio"), exports);
224
- __exportStar(require("./OrganizationMemberUserUio"), exports);
225
227
  __exportStar(require("./OrganizationPermissionKeyUio"), exports);
226
228
  __exportStar(require("./OrganizationUio"), exports);
227
229
  __exportStar(require("./OrganizationUserInviteRequestUio"), exports);