@breign/client 1.0.66 → 1.0.68

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.
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ToolActionUio } from './ToolActionUio';
13
- import type { AgentFlowUio } from './AgentFlowUio';
14
13
  import type { ChatMessageStreamUio } from './ChatMessageStreamUio';
15
14
  import type { SuggestionUio } from './SuggestionUio';
16
15
  import type { ChatMessageRoleUio } from './ChatMessageRoleUio';
@@ -67,10 +66,10 @@ export interface ChatMessageUio {
67
66
  suggestions?: Array<SuggestionUio>;
68
67
  /**
69
68
  *
70
- * @type {AgentFlowUio}
69
+ * @type {string}
71
70
  * @memberof ChatMessageUio
72
71
  */
73
- flowNode?: AgentFlowUio;
72
+ flowNode?: string;
74
73
  /**
75
74
  *
76
75
  * @type {boolean}
@@ -19,7 +19,6 @@ exports.ChatMessageUioFromJSONTyped = ChatMessageUioFromJSONTyped;
19
19
  exports.ChatMessageUioToJSON = ChatMessageUioToJSON;
20
20
  exports.ChatMessageUioToJSONTyped = ChatMessageUioToJSONTyped;
21
21
  const ToolActionUio_1 = require("./ToolActionUio");
22
- const AgentFlowUio_1 = require("./AgentFlowUio");
23
22
  const ChatMessageStreamUio_1 = require("./ChatMessageStreamUio");
24
23
  const SuggestionUio_1 = require("./SuggestionUio");
25
24
  const ChatMessageRoleUio_1 = require("./ChatMessageRoleUio");
@@ -55,7 +54,7 @@ function ChatMessageUioFromJSONTyped(json, ignoreDiscriminator) {
55
54
  'confirmationLink': json['confirmationLink'] == null ? undefined : json['confirmationLink'],
56
55
  'toolResults': json['toolResults'] == null ? undefined : (json['toolResults'].map(ToolResultsUio_1.ToolResultsUioFromJSON)),
57
56
  'suggestions': json['suggestions'] == null ? undefined : (json['suggestions'].map(SuggestionUio_1.SuggestionUioFromJSON)),
58
- 'flowNode': json['flowNode'] == null ? undefined : (0, AgentFlowUio_1.AgentFlowUioFromJSON)(json['flowNode']),
57
+ 'flowNode': json['flowNode'] == null ? undefined : json['flowNode'],
59
58
  'flowNodeRequirementsChecked': json['flowNodeRequirementsChecked'] == null ? undefined : json['flowNodeRequirementsChecked'],
60
59
  'flowNodeRequirementsMet': json['flowNodeRequirementsMet'] == null ? undefined : json['flowNodeRequirementsMet'],
61
60
  'flowNodeRequirementsCheckReason': json['flowNodeRequirementsCheckReason'] == null ? undefined : json['flowNodeRequirementsCheckReason'],
@@ -83,7 +82,7 @@ function ChatMessageUioToJSONTyped(value, ignoreDiscriminator = false) {
83
82
  'confirmationLink': value['confirmationLink'],
84
83
  'toolResults': value['toolResults'] == null ? undefined : (value['toolResults'].map(ToolResultsUio_1.ToolResultsUioToJSON)),
85
84
  'suggestions': value['suggestions'] == null ? undefined : (value['suggestions'].map(SuggestionUio_1.SuggestionUioToJSON)),
86
- 'flowNode': (0, AgentFlowUio_1.AgentFlowUioToJSON)(value['flowNode']),
85
+ 'flowNode': value['flowNode'],
87
86
  'flowNodeRequirementsChecked': value['flowNodeRequirementsChecked'],
88
87
  'flowNodeRequirementsMet': value['flowNodeRequirementsMet'],
89
88
  'flowNodeRequirementsCheckReason': value['flowNodeRequirementsCheckReason'],
@@ -26,7 +26,7 @@ export interface MetricForAgentAgentUio {
26
26
  * @type {string}
27
27
  * @memberof MetricForAgentAgentUio
28
28
  */
29
- name: string;
29
+ name?: string;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the MetricForAgentAgentUio interface.
@@ -24,8 +24,6 @@ exports.MetricForAgentAgentUioToJSONTyped = MetricForAgentAgentUioToJSONTyped;
24
24
  function instanceOfMetricForAgentAgentUio(value) {
25
25
  if (!('id' in value) || value['id'] === undefined)
26
26
  return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
27
  return true;
30
28
  }
31
29
  function MetricForAgentAgentUioFromJSON(json) {
@@ -37,7 +35,7 @@ function MetricForAgentAgentUioFromJSONTyped(json, ignoreDiscriminator) {
37
35
  }
38
36
  return {
39
37
  'id': json['id'],
40
- 'name': json['name'],
38
+ 'name': json['name'] == null ? undefined : json['name'],
41
39
  };
42
40
  }
43
41
  function MetricForAgentAgentUioToJSON(json) {
package/dist/openapi.json CHANGED
@@ -7790,7 +7790,7 @@
7790
7790
  "type" : "array"
7791
7791
  },
7792
7792
  "flowNode" : {
7793
- "$ref" : "#/components/schemas/AgentFlow"
7793
+ "type" : "string"
7794
7794
  },
7795
7795
  "flowNodeRequirementsChecked" : {
7796
7796
  "type" : "boolean"
@@ -10415,7 +10415,7 @@
10415
10415
  "type" : "string"
10416
10416
  }
10417
10417
  },
10418
- "required" : [ "id", "name" ],
10418
+ "required" : [ "id" ],
10419
10419
  "type" : "object"
10420
10420
  },
10421
10421
  "KnowledgeFileSummary_knowledgeBaseId" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",