@breign/client 1.0.115 → 1.0.116

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.
@@ -0,0 +1,44 @@
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 AgentMemoryConfigurationUio
16
+ */
17
+ export interface AgentMemoryConfigurationUio {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof AgentMemoryConfigurationUio
22
+ */
23
+ userMemoryEnabled?: boolean;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof AgentMemoryConfigurationUio
28
+ */
29
+ agentMemoryEnabled?: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof AgentMemoryConfigurationUio
34
+ */
35
+ organizationMemoryEnabled?: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the AgentMemoryConfigurationUio interface.
39
+ */
40
+ export declare function instanceOfAgentMemoryConfigurationUio(value: object): value is AgentMemoryConfigurationUio;
41
+ export declare function AgentMemoryConfigurationUioFromJSON(json: any): AgentMemoryConfigurationUio;
42
+ export declare function AgentMemoryConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentMemoryConfigurationUio;
43
+ export declare function AgentMemoryConfigurationUioToJSON(json: any): AgentMemoryConfigurationUio;
44
+ export declare function AgentMemoryConfigurationUioToJSONTyped(value?: AgentMemoryConfigurationUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfAgentMemoryConfigurationUio = instanceOfAgentMemoryConfigurationUio;
17
+ exports.AgentMemoryConfigurationUioFromJSON = AgentMemoryConfigurationUioFromJSON;
18
+ exports.AgentMemoryConfigurationUioFromJSONTyped = AgentMemoryConfigurationUioFromJSONTyped;
19
+ exports.AgentMemoryConfigurationUioToJSON = AgentMemoryConfigurationUioToJSON;
20
+ exports.AgentMemoryConfigurationUioToJSONTyped = AgentMemoryConfigurationUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentMemoryConfigurationUio interface.
23
+ */
24
+ function instanceOfAgentMemoryConfigurationUio(value) {
25
+ return true;
26
+ }
27
+ function AgentMemoryConfigurationUioFromJSON(json) {
28
+ return AgentMemoryConfigurationUioFromJSONTyped(json, false);
29
+ }
30
+ function AgentMemoryConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'userMemoryEnabled': json['userMemoryEnabled'] == null ? undefined : json['userMemoryEnabled'],
36
+ 'agentMemoryEnabled': json['agentMemoryEnabled'] == null ? undefined : json['agentMemoryEnabled'],
37
+ 'organizationMemoryEnabled': json['organizationMemoryEnabled'] == null ? undefined : json['organizationMemoryEnabled'],
38
+ };
39
+ }
40
+ function AgentMemoryConfigurationUioToJSON(json) {
41
+ return AgentMemoryConfigurationUioToJSONTyped(json, false);
42
+ }
43
+ function AgentMemoryConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'userMemoryEnabled': value['userMemoryEnabled'],
49
+ 'agentMemoryEnabled': value['agentMemoryEnabled'],
50
+ 'organizationMemoryEnabled': value['organizationMemoryEnabled'],
51
+ };
52
+ }
@@ -13,6 +13,7 @@ import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
13
13
  import type { ContextualKnowledgeConversationUio } from './ContextualKnowledgeConversationUio';
14
14
  import type { PersonaUio } from './PersonaUio';
15
15
  import type { PromptInitUio } from './PromptInitUio';
16
+ import type { AgentMemoryConfigurationUio } from './AgentMemoryConfigurationUio';
16
17
  import type { AgentPatchEngineUio } from './AgentPatchEngineUio';
17
18
  import type { AgentTypeUio } from './AgentTypeUio';
18
19
  /**
@@ -181,6 +182,12 @@ export interface AgentPatchUio {
181
182
  * @memberof AgentPatchUio
182
183
  */
183
184
  maxToolSteps?: number;
185
+ /**
186
+ *
187
+ * @type {AgentMemoryConfigurationUio}
188
+ * @memberof AgentPatchUio
189
+ */
190
+ memoryConfiguration?: AgentMemoryConfigurationUio | null;
184
191
  /**
185
192
  *
186
193
  * @type {ContextualKnowledgeConversationUio}
@@ -22,6 +22,7 @@ const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
22
22
  const ContextualKnowledgeConversationUio_1 = require("./ContextualKnowledgeConversationUio");
23
23
  const PersonaUio_1 = require("./PersonaUio");
24
24
  const PromptInitUio_1 = require("./PromptInitUio");
25
+ const AgentMemoryConfigurationUio_1 = require("./AgentMemoryConfigurationUio");
25
26
  const AgentPatchEngineUio_1 = require("./AgentPatchEngineUio");
26
27
  const AgentTypeUio_1 = require("./AgentTypeUio");
27
28
  /**
@@ -64,6 +65,7 @@ function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
64
65
  'personal': json['personal'] == null ? undefined : json['personal'],
65
66
  'hideConversationsInHistory': json['hideConversationsInHistory'] == null ? undefined : json['hideConversationsInHistory'],
66
67
  'maxToolSteps': json['maxToolSteps'] == null ? undefined : json['maxToolSteps'],
68
+ 'memoryConfiguration': json['memoryConfiguration'] == null ? undefined : (0, AgentMemoryConfigurationUio_1.AgentMemoryConfigurationUioFromJSON)(json['memoryConfiguration']),
67
69
  'contextualKnowledgeConversation': json['contextualKnowledgeConversation'] == null ? undefined : (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioFromJSON)(json['contextualKnowledgeConversation']),
68
70
  };
69
71
  }
@@ -101,6 +103,7 @@ function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
101
103
  'personal': value['personal'],
102
104
  'hideConversationsInHistory': value['hideConversationsInHistory'],
103
105
  'maxToolSteps': value['maxToolSteps'],
106
+ 'memoryConfiguration': (0, AgentMemoryConfigurationUio_1.AgentMemoryConfigurationUioToJSON)(value['memoryConfiguration']),
104
107
  'contextualKnowledgeConversation': (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioToJSON)(value['contextualKnowledgeConversation']),
105
108
  };
106
109
  }
@@ -17,6 +17,7 @@ import type { PersonaUio } from './PersonaUio';
17
17
  import type { AgentCreatorUio } from './AgentCreatorUio';
18
18
  import type { EngineUio } from './EngineUio';
19
19
  import type { PromptInitUio } from './PromptInitUio';
20
+ import type { AgentMemoryConfigurationUio } from './AgentMemoryConfigurationUio';
20
21
  import type { AgentTypeUio } from './AgentTypeUio';
21
22
  /**
22
23
  *
@@ -216,6 +217,12 @@ export interface AgentUio {
216
217
  * @memberof AgentUio
217
218
  */
218
219
  maxToolSteps?: number;
220
+ /**
221
+ *
222
+ * @type {AgentMemoryConfigurationUio}
223
+ * @memberof AgentUio
224
+ */
225
+ memoryConfiguration?: AgentMemoryConfigurationUio | null;
219
226
  /**
220
227
  *
221
228
  * @type {ContextualKnowledgeConversationUio}
@@ -27,6 +27,7 @@ const PersonaUio_1 = require("./PersonaUio");
27
27
  const AgentCreatorUio_1 = require("./AgentCreatorUio");
28
28
  const EngineUio_1 = require("./EngineUio");
29
29
  const PromptInitUio_1 = require("./PromptInitUio");
30
+ const AgentMemoryConfigurationUio_1 = require("./AgentMemoryConfigurationUio");
30
31
  const AgentTypeUio_1 = require("./AgentTypeUio");
31
32
  /**
32
33
  * @export
@@ -99,6 +100,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
99
100
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
100
101
  'hideConversationsInHistory': json['hideConversationsInHistory'] == null ? undefined : json['hideConversationsInHistory'],
101
102
  'maxToolSteps': json['maxToolSteps'] == null ? undefined : json['maxToolSteps'],
103
+ 'memoryConfiguration': json['memoryConfiguration'] == null ? undefined : (0, AgentMemoryConfigurationUio_1.AgentMemoryConfigurationUioFromJSON)(json['memoryConfiguration']),
102
104
  'contextualKnowledgeConversation': json['contextualKnowledgeConversation'] == null ? undefined : (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioFromJSON)(json['contextualKnowledgeConversation']),
103
105
  'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
104
106
  'engineSource': json['engineSource'] == null ? undefined : json['engineSource'],
@@ -144,6 +146,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
144
146
  'createdBy': value['createdBy'],
145
147
  'hideConversationsInHistory': value['hideConversationsInHistory'],
146
148
  'maxToolSteps': value['maxToolSteps'],
149
+ 'memoryConfiguration': (0, AgentMemoryConfigurationUio_1.AgentMemoryConfigurationUioToJSON)(value['memoryConfiguration']),
147
150
  'contextualKnowledgeConversation': (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioToJSON)(value['contextualKnowledgeConversation']),
148
151
  'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
149
152
  'engineSource': value['engineSource'],
@@ -17,6 +17,7 @@ export * from './AgentDuplicateRequestUio';
17
17
  export * from './AgentFeedbackMetricsUio';
18
18
  export * from './AgentFlowCreateUio';
19
19
  export * from './AgentFlowUio';
20
+ export * from './AgentMemoryConfigurationUio';
20
21
  export * from './AgentMetricsByAppUio';
21
22
  export * from './AgentMetricsEventUio';
22
23
  export * from './AgentMetricsOverviewUio';
@@ -35,6 +35,7 @@ __exportStar(require("./AgentDuplicateRequestUio"), exports);
35
35
  __exportStar(require("./AgentFeedbackMetricsUio"), exports);
36
36
  __exportStar(require("./AgentFlowCreateUio"), exports);
37
37
  __exportStar(require("./AgentFlowUio"), exports);
38
+ __exportStar(require("./AgentMemoryConfigurationUio"), exports);
38
39
  __exportStar(require("./AgentMetricsByAppUio"), exports);
39
40
  __exportStar(require("./AgentMetricsEventUio"), exports);
40
41
  __exportStar(require("./AgentMetricsOverviewUio"), exports);
package/dist/openapi.json CHANGED
@@ -12212,6 +12212,12 @@
12212
12212
  "minimum" : 1,
12213
12213
  "type" : "integer"
12214
12214
  },
12215
+ "memoryConfiguration" : {
12216
+ "allOf" : [ {
12217
+ "$ref" : "#/components/schemas/AgentMemoryConfiguration"
12218
+ } ],
12219
+ "nullable" : true
12220
+ },
12215
12221
  "contextualKnowledgeConversation" : {
12216
12222
  "allOf" : [ {
12217
12223
  "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
@@ -12347,6 +12353,20 @@
12347
12353
  "required" : [ "amountForPrice", "currency", "price" ],
12348
12354
  "type" : "object"
12349
12355
  },
12356
+ "AgentMemoryConfiguration" : {
12357
+ "properties" : {
12358
+ "userMemoryEnabled" : {
12359
+ "type" : "boolean"
12360
+ },
12361
+ "agentMemoryEnabled" : {
12362
+ "type" : "boolean"
12363
+ },
12364
+ "organizationMemoryEnabled" : {
12365
+ "type" : "boolean"
12366
+ }
12367
+ },
12368
+ "type" : "object"
12369
+ },
12350
12370
  "ContextualKnowledgeConversation" : {
12351
12371
  "properties" : {
12352
12372
  "enabled" : {
@@ -12535,6 +12555,12 @@
12535
12555
  "minimum" : 1,
12536
12556
  "type" : "integer"
12537
12557
  },
12558
+ "memoryConfiguration" : {
12559
+ "allOf" : [ {
12560
+ "$ref" : "#/components/schemas/AgentMemoryConfiguration"
12561
+ } ],
12562
+ "nullable" : true
12563
+ },
12538
12564
  "contextualKnowledgeConversation" : {
12539
12565
  "allOf" : [ {
12540
12566
  "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.115",
3
+ "version": "1.0.116",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",