@breign/client 1.0.157 → 1.0.158
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.
- package/dist/apis/ConversationsApi.d.ts +28 -1
- package/dist/apis/ConversationsApi.js +63 -0
- package/dist/apis/McpApi.d.ts +58 -0
- package/dist/apis/McpApi.js +154 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentChatOverviewEntryUio.d.ts +6 -0
- package/dist/models/AgentChatOverviewEntryUio.js +2 -0
- package/dist/models/AgentHumanEscalationConfigurationUio.d.ts +44 -0
- package/dist/models/AgentHumanEscalationConfigurationUio.js +52 -0
- package/dist/models/AgentMcpExposureConfigurationUio.d.ts +32 -0
- package/dist/models/AgentMcpExposureConfigurationUio.js +48 -0
- package/dist/models/AgentPatchUio.d.ts +17 -3
- package/dist/models/AgentPatchUio.js +9 -3
- package/dist/models/AgentUio.d.ts +14 -0
- package/dist/models/AgentUio.js +6 -0
- package/dist/models/ChatMessageUio.d.ts +7 -0
- package/dist/models/ChatMessageUio.js +3 -0
- package/dist/models/ConversationHumanRequestRequestedByUio.d.ts +46 -0
- package/dist/models/ConversationHumanRequestRequestedByUio.js +60 -0
- package/dist/models/ConversationHumanRequestUio.d.ts +109 -0
- package/dist/models/ConversationHumanRequestUio.js +93 -0
- package/dist/models/HumanRequestAnswerResultUio.d.ts +40 -0
- package/dist/models/HumanRequestAnswerResultUio.js +58 -0
- package/dist/models/HumanRequestAnswerUio.d.ts +38 -0
- package/dist/models/HumanRequestAnswerUio.js +50 -0
- package/dist/models/HumanRequestSummaryRequestedByUio.d.ts +46 -0
- package/dist/models/HumanRequestSummaryRequestedByUio.js +58 -0
- package/dist/models/HumanRequestSummaryUio.d.ts +93 -0
- package/dist/models/HumanRequestSummaryUio.js +81 -0
- package/dist/models/McpAgentListAgentsInnerUio.d.ts +50 -0
- package/dist/models/McpAgentListAgentsInnerUio.js +58 -0
- package/dist/models/McpAgentListUio.d.ts +33 -0
- package/dist/models/McpAgentListUio.js +51 -0
- package/dist/models/McpCallToolResultStructuredContentUio.d.ts +23 -0
- package/dist/models/McpCallToolResultStructuredContentUio.js +57 -0
- package/dist/models/McpCallToolResultUio.d.ts +47 -0
- package/dist/models/McpCallToolResultUio.js +56 -0
- package/dist/models/McpJsonRpcErrorUio.d.ts +38 -0
- package/dist/models/McpJsonRpcErrorUio.js +54 -0
- package/dist/models/McpJsonRpcRequestIdUio.d.ts +21 -0
- package/dist/models/McpJsonRpcRequestIdUio.js +37 -0
- package/dist/models/McpJsonRpcRequestUio.d.ts +60 -0
- package/dist/models/McpJsonRpcRequestUio.js +66 -0
- package/dist/models/McpJsonRpcResponseIdUio.d.ts +21 -0
- package/dist/models/McpJsonRpcResponseIdUio.js +37 -0
- package/dist/models/McpJsonRpcResponseUio.d.ts +60 -0
- package/dist/models/McpJsonRpcResponseUio.js +66 -0
- package/dist/models/McpTextContentUio.d.ts +45 -0
- package/dist/models/McpTextContentUio.js +61 -0
- package/dist/models/McpTicketViewUio.d.ts +114 -0
- package/dist/models/McpTicketViewUio.js +90 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/openapi.json +628 -0
- package/package.json +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
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.McpTicketViewUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfMcpTicketViewUio = instanceOfMcpTicketViewUio;
|
|
18
|
+
exports.McpTicketViewUioFromJSON = McpTicketViewUioFromJSON;
|
|
19
|
+
exports.McpTicketViewUioFromJSONTyped = McpTicketViewUioFromJSONTyped;
|
|
20
|
+
exports.McpTicketViewUioToJSON = McpTicketViewUioToJSON;
|
|
21
|
+
exports.McpTicketViewUioToJSONTyped = McpTicketViewUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.McpTicketViewUioStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
WaitingHuman: 'waiting_human',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the McpTicketViewUio interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfMcpTicketViewUio(value) {
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('ticket' in value) || value['ticket'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('messageId' in value) || value['messageId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function McpTicketViewUioFromJSON(json) {
|
|
46
|
+
return McpTicketViewUioFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function McpTicketViewUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': json['status'],
|
|
54
|
+
'ticket': json['ticket'],
|
|
55
|
+
'conversationId': json['conversationId'],
|
|
56
|
+
'messageId': json['messageId'],
|
|
57
|
+
'agentName': json['agentName'] == null ? undefined : json['agentName'],
|
|
58
|
+
'reply': json['reply'] == null ? undefined : json['reply'],
|
|
59
|
+
'activity': json['activity'] == null ? undefined : json['activity'],
|
|
60
|
+
'question': json['question'] == null ? undefined : json['question'],
|
|
61
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
62
|
+
'human': json['human'] == null ? undefined : json['human'],
|
|
63
|
+
'askingAgentName': json['askingAgentName'] == null ? undefined : json['askingAgentName'],
|
|
64
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
65
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function McpTicketViewUioToJSON(json) {
|
|
69
|
+
return McpTicketViewUioToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function McpTicketViewUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'status': value['status'],
|
|
77
|
+
'ticket': value['ticket'],
|
|
78
|
+
'conversationId': value['conversationId'],
|
|
79
|
+
'messageId': value['messageId'],
|
|
80
|
+
'agentName': value['agentName'],
|
|
81
|
+
'reply': value['reply'],
|
|
82
|
+
'activity': value['activity'],
|
|
83
|
+
'question': value['question'],
|
|
84
|
+
'options': value['options'],
|
|
85
|
+
'human': value['human'],
|
|
86
|
+
'askingAgentName': value['askingAgentName'],
|
|
87
|
+
'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
|
|
88
|
+
'error': value['error'],
|
|
89
|
+
};
|
|
90
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from './AgentDuplicateRequestUio';
|
|
|
24
24
|
export * from './AgentFeedbackMetricsUio';
|
|
25
25
|
export * from './AgentFlowCreateUio';
|
|
26
26
|
export * from './AgentFlowUio';
|
|
27
|
+
export * from './AgentHumanEscalationConfigurationUio';
|
|
27
28
|
export * from './AgentImportReportAgentRenamedUio';
|
|
28
29
|
export * from './AgentImportReportContextualKnowledgeUio';
|
|
29
30
|
export * from './AgentImportReportEngineRequestedUio';
|
|
@@ -40,6 +41,7 @@ export * from './AgentLibraryLinkUio';
|
|
|
40
41
|
export * from './AgentLibraryLinkUpdateRequestUio';
|
|
41
42
|
export * from './AgentLibraryLinkUpdateResponseUio';
|
|
42
43
|
export * from './AgentLibraryLinksResponseUio';
|
|
44
|
+
export * from './AgentMcpExposureConfigurationUio';
|
|
43
45
|
export * from './AgentMemoryConfigurationUio';
|
|
44
46
|
export * from './AgentMetricsByAppUio';
|
|
45
47
|
export * from './AgentMetricsEventUio';
|
|
@@ -178,6 +180,8 @@ export * from './ContextualKnowledgeConversationUio';
|
|
|
178
180
|
export * from './ConversationAttachmentDownloadUrlUio';
|
|
179
181
|
export * from './ConversationContextUsageUio';
|
|
180
182
|
export * from './ConversationDetailUio';
|
|
183
|
+
export * from './ConversationHumanRequestRequestedByUio';
|
|
184
|
+
export * from './ConversationHumanRequestUio';
|
|
181
185
|
export * from './ConversationMessageApprovalUio';
|
|
182
186
|
export * from './ConversationMessagesInnerFlowNodeEntrypointsUio';
|
|
183
187
|
export * from './ConversationMessagesInnerFlowNodeUio';
|
|
@@ -257,6 +261,10 @@ export * from './HealthCheckResponseComponentsApiUio';
|
|
|
257
261
|
export * from './HealthCheckResponseComponentsUio';
|
|
258
262
|
export * from './HealthCheckResponseUio';
|
|
259
263
|
export * from './HealthStatusUio';
|
|
264
|
+
export * from './HumanRequestAnswerResultUio';
|
|
265
|
+
export * from './HumanRequestAnswerUio';
|
|
266
|
+
export * from './HumanRequestSummaryRequestedByUio';
|
|
267
|
+
export * from './HumanRequestSummaryUio';
|
|
260
268
|
export * from './ImageAttachment1Uio';
|
|
261
269
|
export * from './ImageAttachmentCreateRequestUio';
|
|
262
270
|
export * from './ImageAttachmentDetailsResponseUio';
|
|
@@ -304,6 +312,17 @@ export * from './ManifestCreateRequestUio';
|
|
|
304
312
|
export * from './ManifestUio';
|
|
305
313
|
export * from './MarkAttachmentProcessed400ResponseUio';
|
|
306
314
|
export * from './MarkConversationReadRequestUio';
|
|
315
|
+
export * from './McpAgentListAgentsInnerUio';
|
|
316
|
+
export * from './McpAgentListUio';
|
|
317
|
+
export * from './McpCallToolResultStructuredContentUio';
|
|
318
|
+
export * from './McpCallToolResultUio';
|
|
319
|
+
export * from './McpJsonRpcErrorUio';
|
|
320
|
+
export * from './McpJsonRpcRequestIdUio';
|
|
321
|
+
export * from './McpJsonRpcRequestUio';
|
|
322
|
+
export * from './McpJsonRpcResponseIdUio';
|
|
323
|
+
export * from './McpJsonRpcResponseUio';
|
|
324
|
+
export * from './McpTextContentUio';
|
|
325
|
+
export * from './McpTicketViewUio';
|
|
307
326
|
export * from './MessageAnonymizationUio';
|
|
308
327
|
export * from './MessageAudioDownloadUrlUio';
|
|
309
328
|
export * from './MessageStatusErrorUio';
|
package/dist/models/index.js
CHANGED
|
@@ -42,6 +42,7 @@ __exportStar(require("./AgentDuplicateRequestUio"), exports);
|
|
|
42
42
|
__exportStar(require("./AgentFeedbackMetricsUio"), exports);
|
|
43
43
|
__exportStar(require("./AgentFlowCreateUio"), exports);
|
|
44
44
|
__exportStar(require("./AgentFlowUio"), exports);
|
|
45
|
+
__exportStar(require("./AgentHumanEscalationConfigurationUio"), exports);
|
|
45
46
|
__exportStar(require("./AgentImportReportAgentRenamedUio"), exports);
|
|
46
47
|
__exportStar(require("./AgentImportReportContextualKnowledgeUio"), exports);
|
|
47
48
|
__exportStar(require("./AgentImportReportEngineRequestedUio"), exports);
|
|
@@ -58,6 +59,7 @@ __exportStar(require("./AgentLibraryLinkUio"), exports);
|
|
|
58
59
|
__exportStar(require("./AgentLibraryLinkUpdateRequestUio"), exports);
|
|
59
60
|
__exportStar(require("./AgentLibraryLinkUpdateResponseUio"), exports);
|
|
60
61
|
__exportStar(require("./AgentLibraryLinksResponseUio"), exports);
|
|
62
|
+
__exportStar(require("./AgentMcpExposureConfigurationUio"), exports);
|
|
61
63
|
__exportStar(require("./AgentMemoryConfigurationUio"), exports);
|
|
62
64
|
__exportStar(require("./AgentMetricsByAppUio"), exports);
|
|
63
65
|
__exportStar(require("./AgentMetricsEventUio"), exports);
|
|
@@ -196,6 +198,8 @@ __exportStar(require("./ContextualKnowledgeConversationUio"), exports);
|
|
|
196
198
|
__exportStar(require("./ConversationAttachmentDownloadUrlUio"), exports);
|
|
197
199
|
__exportStar(require("./ConversationContextUsageUio"), exports);
|
|
198
200
|
__exportStar(require("./ConversationDetailUio"), exports);
|
|
201
|
+
__exportStar(require("./ConversationHumanRequestRequestedByUio"), exports);
|
|
202
|
+
__exportStar(require("./ConversationHumanRequestUio"), exports);
|
|
199
203
|
__exportStar(require("./ConversationMessageApprovalUio"), exports);
|
|
200
204
|
__exportStar(require("./ConversationMessagesInnerFlowNodeEntrypointsUio"), exports);
|
|
201
205
|
__exportStar(require("./ConversationMessagesInnerFlowNodeUio"), exports);
|
|
@@ -275,6 +279,10 @@ __exportStar(require("./HealthCheckResponseComponentsApiUio"), exports);
|
|
|
275
279
|
__exportStar(require("./HealthCheckResponseComponentsUio"), exports);
|
|
276
280
|
__exportStar(require("./HealthCheckResponseUio"), exports);
|
|
277
281
|
__exportStar(require("./HealthStatusUio"), exports);
|
|
282
|
+
__exportStar(require("./HumanRequestAnswerResultUio"), exports);
|
|
283
|
+
__exportStar(require("./HumanRequestAnswerUio"), exports);
|
|
284
|
+
__exportStar(require("./HumanRequestSummaryRequestedByUio"), exports);
|
|
285
|
+
__exportStar(require("./HumanRequestSummaryUio"), exports);
|
|
278
286
|
__exportStar(require("./ImageAttachment1Uio"), exports);
|
|
279
287
|
__exportStar(require("./ImageAttachmentCreateRequestUio"), exports);
|
|
280
288
|
__exportStar(require("./ImageAttachmentDetailsResponseUio"), exports);
|
|
@@ -322,6 +330,17 @@ __exportStar(require("./ManifestCreateRequestUio"), exports);
|
|
|
322
330
|
__exportStar(require("./ManifestUio"), exports);
|
|
323
331
|
__exportStar(require("./MarkAttachmentProcessed400ResponseUio"), exports);
|
|
324
332
|
__exportStar(require("./MarkConversationReadRequestUio"), exports);
|
|
333
|
+
__exportStar(require("./McpAgentListAgentsInnerUio"), exports);
|
|
334
|
+
__exportStar(require("./McpAgentListUio"), exports);
|
|
335
|
+
__exportStar(require("./McpCallToolResultStructuredContentUio"), exports);
|
|
336
|
+
__exportStar(require("./McpCallToolResultUio"), exports);
|
|
337
|
+
__exportStar(require("./McpJsonRpcErrorUio"), exports);
|
|
338
|
+
__exportStar(require("./McpJsonRpcRequestIdUio"), exports);
|
|
339
|
+
__exportStar(require("./McpJsonRpcRequestUio"), exports);
|
|
340
|
+
__exportStar(require("./McpJsonRpcResponseIdUio"), exports);
|
|
341
|
+
__exportStar(require("./McpJsonRpcResponseUio"), exports);
|
|
342
|
+
__exportStar(require("./McpTextContentUio"), exports);
|
|
343
|
+
__exportStar(require("./McpTicketViewUio"), exports);
|
|
325
344
|
__exportStar(require("./MessageAnonymizationUio"), exports);
|
|
326
345
|
__exportStar(require("./MessageAudioDownloadUrlUio"), exports);
|
|
327
346
|
__exportStar(require("./MessageStatusErrorUio"), exports);
|