@breign/client 1.0.156 → 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/MetricsApi.d.ts +16 -1
- package/dist/apis/MetricsApi.js +35 -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/ModelConsumptionItemUio.d.ts +81 -0
- package/dist/models/ModelConsumptionItemUio.js +83 -0
- package/dist/models/ModelConsumptionSliceUio.d.ts +78 -0
- package/dist/models/ModelConsumptionSliceUio.js +84 -0
- package/dist/models/OrganizationModelConsumptionTotalUio.d.ts +56 -0
- package/dist/models/OrganizationModelConsumptionTotalUio.js +66 -0
- package/dist/models/OrganizationModelConsumptionUio.d.ts +40 -0
- package/dist/models/OrganizationModelConsumptionUio.js +56 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/dist/openapi.json +797 -10
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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 { OrganizationModelConsumptionTotalUio } from './OrganizationModelConsumptionTotalUio';
|
|
13
|
+
import type { ModelConsumptionItemUio } from './ModelConsumptionItemUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OrganizationModelConsumptionUio
|
|
18
|
+
*/
|
|
19
|
+
export interface OrganizationModelConsumptionUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OrganizationModelConsumptionTotalUio}
|
|
23
|
+
* @memberof OrganizationModelConsumptionUio
|
|
24
|
+
*/
|
|
25
|
+
total: OrganizationModelConsumptionTotalUio;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ModelConsumptionItemUio>}
|
|
29
|
+
* @memberof OrganizationModelConsumptionUio
|
|
30
|
+
*/
|
|
31
|
+
byModel: Array<ModelConsumptionItemUio>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the OrganizationModelConsumptionUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfOrganizationModelConsumptionUio(value: object): value is OrganizationModelConsumptionUio;
|
|
37
|
+
export declare function OrganizationModelConsumptionUioFromJSON(json: any): OrganizationModelConsumptionUio;
|
|
38
|
+
export declare function OrganizationModelConsumptionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationModelConsumptionUio;
|
|
39
|
+
export declare function OrganizationModelConsumptionUioToJSON(json: any): OrganizationModelConsumptionUio;
|
|
40
|
+
export declare function OrganizationModelConsumptionUioToJSONTyped(value?: OrganizationModelConsumptionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfOrganizationModelConsumptionUio = instanceOfOrganizationModelConsumptionUio;
|
|
17
|
+
exports.OrganizationModelConsumptionUioFromJSON = OrganizationModelConsumptionUioFromJSON;
|
|
18
|
+
exports.OrganizationModelConsumptionUioFromJSONTyped = OrganizationModelConsumptionUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationModelConsumptionUioToJSON = OrganizationModelConsumptionUioToJSON;
|
|
20
|
+
exports.OrganizationModelConsumptionUioToJSONTyped = OrganizationModelConsumptionUioToJSONTyped;
|
|
21
|
+
const OrganizationModelConsumptionTotalUio_1 = require("./OrganizationModelConsumptionTotalUio");
|
|
22
|
+
const ModelConsumptionItemUio_1 = require("./ModelConsumptionItemUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the OrganizationModelConsumptionUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfOrganizationModelConsumptionUio(value) {
|
|
27
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('byModel' in value) || value['byModel'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OrganizationModelConsumptionUioFromJSON(json) {
|
|
34
|
+
return OrganizationModelConsumptionUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OrganizationModelConsumptionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'total': (0, OrganizationModelConsumptionTotalUio_1.OrganizationModelConsumptionTotalUioFromJSON)(json['total']),
|
|
42
|
+
'byModel': (json['byModel'].map(ModelConsumptionItemUio_1.ModelConsumptionItemUioFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function OrganizationModelConsumptionUioToJSON(json) {
|
|
46
|
+
return OrganizationModelConsumptionUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function OrganizationModelConsumptionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'total': (0, OrganizationModelConsumptionTotalUio_1.OrganizationModelConsumptionTotalUioToJSON)(value['total']),
|
|
54
|
+
'byModel': (value['byModel'].map(ModelConsumptionItemUio_1.ModelConsumptionItemUioToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
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';
|
|
@@ -325,6 +344,8 @@ export * from './MetricsTopAgentsResponseInnerUio';
|
|
|
325
344
|
export * from './MetricsTopAgentsUsageResponseInnerUio';
|
|
326
345
|
export * from './MetricsUsersResponseUio';
|
|
327
346
|
export * from './ModelAgentUio';
|
|
347
|
+
export * from './ModelConsumptionItemUio';
|
|
348
|
+
export * from './ModelConsumptionSliceUio';
|
|
328
349
|
export * from './ModelDefinitionUio';
|
|
329
350
|
export * from './ModelUio';
|
|
330
351
|
export * from './OcrModeUio';
|
|
@@ -337,6 +358,8 @@ export * from './OrgUsageTimeSeriesPointUio';
|
|
|
337
358
|
export * from './OrganizationEngineUio';
|
|
338
359
|
export * from './OrganizationMemberUio';
|
|
339
360
|
export * from './OrganizationMemberUserUio';
|
|
361
|
+
export * from './OrganizationModelConsumptionTotalUio';
|
|
362
|
+
export * from './OrganizationModelConsumptionUio';
|
|
340
363
|
export * from './OrganizationOcrConfigUio';
|
|
341
364
|
export * from './OrganizationOcrConfigUpdateRequestUio';
|
|
342
365
|
export * from './OrganizationPermissionKeyUio';
|
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);
|
|
@@ -343,6 +362,8 @@ __exportStar(require("./MetricsTopAgentsResponseInnerUio"), exports);
|
|
|
343
362
|
__exportStar(require("./MetricsTopAgentsUsageResponseInnerUio"), exports);
|
|
344
363
|
__exportStar(require("./MetricsUsersResponseUio"), exports);
|
|
345
364
|
__exportStar(require("./ModelAgentUio"), exports);
|
|
365
|
+
__exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
366
|
+
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
346
367
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
347
368
|
__exportStar(require("./ModelUio"), exports);
|
|
348
369
|
__exportStar(require("./OcrModeUio"), exports);
|
|
@@ -355,6 +376,8 @@ __exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
|
355
376
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
356
377
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
357
378
|
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
379
|
+
__exportStar(require("./OrganizationModelConsumptionTotalUio"), exports);
|
|
380
|
+
__exportStar(require("./OrganizationModelConsumptionUio"), exports);
|
|
358
381
|
__exportStar(require("./OrganizationOcrConfigUio"), exports);
|
|
359
382
|
__exportStar(require("./OrganizationOcrConfigUpdateRequestUio"), exports);
|
|
360
383
|
__exportStar(require("./OrganizationPermissionKeyUio"), exports);
|