@breign/client 1.0.171 → 1.0.173
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/AdminApi.d.ts +110 -1
- package/dist/apis/AdminApi.js +263 -0
- package/dist/apis/AiGatewayApi.d.ts +41 -5
- package/dist/apis/AiGatewayApi.js +80 -7
- package/dist/apis/ExecutionNodesApi.d.ts +165 -0
- package/dist/apis/ExecutionNodesApi.js +399 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionNodeChoiceUio.d.ts +58 -0
- package/dist/models/AgentExecutionNodeChoiceUio.js +68 -0
- package/dist/models/AgentExecutionNodeUio.d.ts +50 -0
- package/dist/models/AgentExecutionNodeUio.js +62 -0
- package/dist/models/AgentExecutionUio.d.ts +80 -0
- package/dist/models/AgentExecutionUio.js +79 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.d.ts +63 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.js +69 -0
- package/dist/models/AiGatewayUsageCostUio.d.ts +60 -0
- package/dist/models/AiGatewayUsageCostUio.js +62 -0
- package/dist/models/AiGatewayUsageUio.d.ts +7 -0
- package/dist/models/AiGatewayUsageUio.js +3 -0
- package/dist/models/AllowPlatformEnginesUio.d.ts +32 -0
- package/dist/models/AllowPlatformEnginesUio.js +50 -0
- package/dist/models/DefaultEngineRequestUio.d.ts +6 -0
- package/dist/models/DefaultEngineRequestUio.js +2 -0
- package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.d.ts +44 -0
- package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.js +58 -0
- package/dist/models/DeletePlatformEngineResponseUio.d.ts +45 -0
- package/dist/models/DeletePlatformEngineResponseUio.js +59 -0
- package/dist/models/ExecutionNodeAgentUio.d.ts +82 -0
- package/dist/models/ExecutionNodeAgentUio.js +86 -0
- package/dist/models/ExecutionNodeDetailUio.d.ts +111 -0
- package/dist/models/ExecutionNodeDetailUio.js +107 -0
- package/dist/models/ExecutionNodeRuntimeUio.d.ts +46 -0
- package/dist/models/ExecutionNodeRuntimeUio.js +60 -0
- package/dist/models/ExecutionNodeUio.d.ts +104 -0
- package/dist/models/ExecutionNodeUio.js +100 -0
- package/dist/models/ExecutionNodeWorkspaceUio.d.ts +38 -0
- package/dist/models/ExecutionNodeWorkspaceUio.js +54 -0
- package/dist/models/ModelDefinitionUio.d.ts +33 -0
- package/dist/models/ModelDefinitionUio.js +17 -0
- package/dist/models/NodeSessionDetailUio.d.ts +133 -0
- package/dist/models/NodeSessionDetailUio.js +113 -0
- package/dist/models/NodeSessionLogEntryUio.d.ts +58 -0
- package/dist/models/NodeSessionLogEntryUio.js +70 -0
- package/dist/models/NodeSessionLogsUio.d.ts +51 -0
- package/dist/models/NodeSessionLogsUio.js +63 -0
- package/dist/models/NodeSessionMetricsUio.d.ts +74 -0
- package/dist/models/NodeSessionMetricsUio.js +62 -0
- package/dist/models/NodeSessionProgressUio.d.ts +44 -0
- package/dist/models/NodeSessionProgressUio.js +54 -0
- package/dist/models/NodeSessionStateUio.d.ts +29 -0
- package/dist/models/NodeSessionStateUio.js +55 -0
- package/dist/models/NodeSessionUio.d.ts +127 -0
- package/dist/models/NodeSessionUio.js +111 -0
- package/dist/models/NodeTurnCancelResultUio.d.ts +32 -0
- package/dist/models/NodeTurnCancelResultUio.js +50 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +44 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +58 -0
- package/dist/models/OrganizationUio.d.ts +6 -0
- package/dist/models/OrganizationUio.js +2 -0
- package/dist/models/PlatformEngineUsageUio.d.ts +48 -0
- package/dist/models/PlatformEngineUsageUio.js +58 -0
- package/dist/models/ProviderCreateRequestUio.d.ts +12 -0
- package/dist/models/ProviderCreateRequestUio.js +4 -0
- package/dist/models/ProviderUio.d.ts +12 -0
- package/dist/models/ProviderUio.js +4 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +72 -0
- package/dist/models/SetAgentExecutionRequestUio.js +73 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/openapi.json +3235 -1739
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
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.NodeSessionUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionUio = instanceOfNodeSessionUio;
|
|
18
|
+
exports.NodeSessionUioFromJSON = NodeSessionUioFromJSON;
|
|
19
|
+
exports.NodeSessionUioFromJSONTyped = NodeSessionUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionUioToJSON = NodeSessionUioToJSON;
|
|
21
|
+
exports.NodeSessionUioToJSONTyped = NodeSessionUioToJSONTyped;
|
|
22
|
+
const NodeSessionMetricsUio_1 = require("./NodeSessionMetricsUio");
|
|
23
|
+
const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
|
|
24
|
+
const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.NodeSessionUioRuntimeEnum = {
|
|
29
|
+
Claude: 'claude',
|
|
30
|
+
Opencode: 'opencode'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NodeSessionUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfNodeSessionUio(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
function NodeSessionUioFromJSON(json) {
|
|
63
|
+
return NodeSessionUioFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function NodeSessionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': json['id'],
|
|
71
|
+
'agentId': json['agentId'],
|
|
72
|
+
'agentName': json['agentName'],
|
|
73
|
+
'conversationId': json['conversationId'],
|
|
74
|
+
'responseMessageId': json['responseMessageId'] == null ? undefined : json['responseMessageId'],
|
|
75
|
+
'runtime': json['runtime'],
|
|
76
|
+
'workspaceAlias': json['workspaceAlias'],
|
|
77
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
|
|
78
|
+
'reason': json['reason'],
|
|
79
|
+
'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioFromJSON)(json['metrics']),
|
|
80
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioFromJSON)(json['progress']),
|
|
81
|
+
'autoResumed': json['autoResumed'] == null ? undefined : json['autoResumed'],
|
|
82
|
+
'lastFrameAt': json['lastFrameAt'] == null ? undefined : json['lastFrameAt'],
|
|
83
|
+
'createdAt': json['createdAt'],
|
|
84
|
+
'updatedAt': json['updatedAt'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function NodeSessionUioToJSON(json) {
|
|
88
|
+
return NodeSessionUioToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function NodeSessionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'agentId': value['agentId'],
|
|
97
|
+
'agentName': value['agentName'],
|
|
98
|
+
'conversationId': value['conversationId'],
|
|
99
|
+
'responseMessageId': value['responseMessageId'],
|
|
100
|
+
'runtime': value['runtime'],
|
|
101
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
102
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
|
|
103
|
+
'reason': value['reason'],
|
|
104
|
+
'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioToJSON)(value['metrics']),
|
|
105
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
|
|
106
|
+
'autoResumed': value['autoResumed'],
|
|
107
|
+
'lastFrameAt': value['lastFrameAt'],
|
|
108
|
+
'createdAt': value['createdAt'],
|
|
109
|
+
'updatedAt': value['updatedAt'],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 NodeTurnCancelResultUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeTurnCancelResultUio {
|
|
18
|
+
/**
|
|
19
|
+
* Faux quand le message n'a pas de tour ouvert sur un nœud
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof NodeTurnCancelResultUio
|
|
22
|
+
*/
|
|
23
|
+
cancelled: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the NodeTurnCancelResultUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfNodeTurnCancelResultUio(value: object): value is NodeTurnCancelResultUio;
|
|
29
|
+
export declare function NodeTurnCancelResultUioFromJSON(json: any): NodeTurnCancelResultUio;
|
|
30
|
+
export declare function NodeTurnCancelResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeTurnCancelResultUio;
|
|
31
|
+
export declare function NodeTurnCancelResultUioToJSON(json: any): NodeTurnCancelResultUio;
|
|
32
|
+
export declare function NodeTurnCancelResultUioToJSONTyped(value?: NodeTurnCancelResultUio | 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.instanceOfNodeTurnCancelResultUio = instanceOfNodeTurnCancelResultUio;
|
|
17
|
+
exports.NodeTurnCancelResultUioFromJSON = NodeTurnCancelResultUioFromJSON;
|
|
18
|
+
exports.NodeTurnCancelResultUioFromJSONTyped = NodeTurnCancelResultUioFromJSONTyped;
|
|
19
|
+
exports.NodeTurnCancelResultUioToJSON = NodeTurnCancelResultUioToJSON;
|
|
20
|
+
exports.NodeTurnCancelResultUioToJSONTyped = NodeTurnCancelResultUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeTurnCancelResultUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeTurnCancelResultUio(value) {
|
|
25
|
+
if (!('cancelled' in value) || value['cancelled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function NodeTurnCancelResultUioFromJSON(json) {
|
|
30
|
+
return NodeTurnCancelResultUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function NodeTurnCancelResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'cancelled': json['cancelled'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function NodeTurnCancelResultUioToJSON(json) {
|
|
41
|
+
return NodeTurnCancelResultUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function NodeTurnCancelResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'cancelled': value['cancelled'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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
|
+
* Ce qu'une organisation perd si on lui retire les moteurs plateforme.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganisationPlatformEngineUsageUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganisationPlatformEngineUsageUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
22
|
+
*/
|
|
23
|
+
agents: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
28
|
+
*/
|
|
29
|
+
defaultEngine: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
34
|
+
*/
|
|
35
|
+
knowledgeBases: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfOrganisationPlatformEngineUsageUio(value: object): value is OrganisationPlatformEngineUsageUio;
|
|
41
|
+
export declare function OrganisationPlatformEngineUsageUioFromJSON(json: any): OrganisationPlatformEngineUsageUio;
|
|
42
|
+
export declare function OrganisationPlatformEngineUsageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganisationPlatformEngineUsageUio;
|
|
43
|
+
export declare function OrganisationPlatformEngineUsageUioToJSON(json: any): OrganisationPlatformEngineUsageUio;
|
|
44
|
+
export declare function OrganisationPlatformEngineUsageUioToJSONTyped(value?: OrganisationPlatformEngineUsageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfOrganisationPlatformEngineUsageUio = instanceOfOrganisationPlatformEngineUsageUio;
|
|
17
|
+
exports.OrganisationPlatformEngineUsageUioFromJSON = OrganisationPlatformEngineUsageUioFromJSON;
|
|
18
|
+
exports.OrganisationPlatformEngineUsageUioFromJSONTyped = OrganisationPlatformEngineUsageUioFromJSONTyped;
|
|
19
|
+
exports.OrganisationPlatformEngineUsageUioToJSON = OrganisationPlatformEngineUsageUioToJSON;
|
|
20
|
+
exports.OrganisationPlatformEngineUsageUioToJSONTyped = OrganisationPlatformEngineUsageUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganisationPlatformEngineUsageUio(value) {
|
|
25
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('defaultEngine' in value) || value['defaultEngine'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OrganisationPlatformEngineUsageUioFromJSON(json) {
|
|
34
|
+
return OrganisationPlatformEngineUsageUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OrganisationPlatformEngineUsageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'agents': json['agents'],
|
|
42
|
+
'defaultEngine': json['defaultEngine'],
|
|
43
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function OrganisationPlatformEngineUsageUioToJSON(json) {
|
|
47
|
+
return OrganisationPlatformEngineUsageUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function OrganisationPlatformEngineUsageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'agents': value['agents'],
|
|
55
|
+
'defaultEngine': value['defaultEngine'],
|
|
56
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -48,6 +48,12 @@ export interface OrganizationUio {
|
|
|
48
48
|
* @memberof OrganizationUio
|
|
49
49
|
*/
|
|
50
50
|
ocr?: OrganizationOcrConfigUio | null;
|
|
51
|
+
/**
|
|
52
|
+
* L'organisation peut choisir les moteurs plateforme Breign.
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof OrganizationUio
|
|
55
|
+
*/
|
|
56
|
+
allowPlatformEngines?: boolean;
|
|
51
57
|
/**
|
|
52
58
|
*
|
|
53
59
|
* @type {Array<OrganizationUserUio>}
|
|
@@ -46,6 +46,7 @@ function OrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'slug': json['slug'],
|
|
47
47
|
'engine': json['engine'] == null ? undefined : (0, OrganizationEngineUio_1.OrganizationEngineUioFromJSON)(json['engine']),
|
|
48
48
|
'ocr': json['ocr'] == null ? undefined : (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioFromJSON)(json['ocr']),
|
|
49
|
+
'allowPlatformEngines': json['allowPlatformEngines'] == null ? undefined : json['allowPlatformEngines'],
|
|
49
50
|
'users': json['users'] == null ? undefined : (json['users'].map(OrganizationUserUio_1.OrganizationUserUioFromJSON)),
|
|
50
51
|
};
|
|
51
52
|
}
|
|
@@ -62,6 +63,7 @@ function OrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
63
|
'slug': value['slug'],
|
|
63
64
|
'engine': (0, OrganizationEngineUio_1.OrganizationEngineUioToJSON)(value['engine']),
|
|
64
65
|
'ocr': (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioToJSON)(value['ocr']),
|
|
66
|
+
'allowPlatformEngines': value['allowPlatformEngines'],
|
|
65
67
|
'users': value['users'] == null ? undefined : (value['users'].map(OrganizationUserUio_1.OrganizationUserUioToJSON)),
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Ce qui dépend d'un moteur plateforme, toutes organisations confondues.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PlatformEngineUsageUio
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformEngineUsageUio {
|
|
18
|
+
/**
|
|
19
|
+
* Agents branchés sur chaque modèle, par `modelId` du fournisseur.
|
|
20
|
+
* @type {{ [key: string]: number; }}
|
|
21
|
+
* @memberof PlatformEngineUsageUio
|
|
22
|
+
*/
|
|
23
|
+
agentsByModel: {
|
|
24
|
+
[key: string]: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Organisations dont c'est le moteur par défaut, par `modelId` du fournisseur.
|
|
28
|
+
* @type {{ [key: string]: number; }}
|
|
29
|
+
* @memberof PlatformEngineUsageUio
|
|
30
|
+
*/
|
|
31
|
+
defaultEnginesByModel: {
|
|
32
|
+
[key: string]: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Bases de connaissances indexées avec ses embeddings.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PlatformEngineUsageUio
|
|
38
|
+
*/
|
|
39
|
+
knowledgeBases: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the PlatformEngineUsageUio interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfPlatformEngineUsageUio(value: object): value is PlatformEngineUsageUio;
|
|
45
|
+
export declare function PlatformEngineUsageUioFromJSON(json: any): PlatformEngineUsageUio;
|
|
46
|
+
export declare function PlatformEngineUsageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformEngineUsageUio;
|
|
47
|
+
export declare function PlatformEngineUsageUioToJSON(json: any): PlatformEngineUsageUio;
|
|
48
|
+
export declare function PlatformEngineUsageUioToJSONTyped(value?: PlatformEngineUsageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfPlatformEngineUsageUio = instanceOfPlatformEngineUsageUio;
|
|
17
|
+
exports.PlatformEngineUsageUioFromJSON = PlatformEngineUsageUioFromJSON;
|
|
18
|
+
exports.PlatformEngineUsageUioFromJSONTyped = PlatformEngineUsageUioFromJSONTyped;
|
|
19
|
+
exports.PlatformEngineUsageUioToJSON = PlatformEngineUsageUioToJSON;
|
|
20
|
+
exports.PlatformEngineUsageUioToJSONTyped = PlatformEngineUsageUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PlatformEngineUsageUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPlatformEngineUsageUio(value) {
|
|
25
|
+
if (!('agentsByModel' in value) || value['agentsByModel'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('defaultEnginesByModel' in value) || value['defaultEnginesByModel'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PlatformEngineUsageUioFromJSON(json) {
|
|
34
|
+
return PlatformEngineUsageUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PlatformEngineUsageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'agentsByModel': json['agentsByModel'],
|
|
42
|
+
'defaultEnginesByModel': json['defaultEnginesByModel'],
|
|
43
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PlatformEngineUsageUioToJSON(json) {
|
|
47
|
+
return PlatformEngineUsageUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PlatformEngineUsageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'agentsByModel': value['agentsByModel'],
|
|
55
|
+
'defaultEnginesByModel': value['defaultEnginesByModel'],
|
|
56
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -53,6 +53,18 @@ export interface ProviderCreateRequestUio {
|
|
|
53
53
|
* @memberof ProviderCreateRequestUio
|
|
54
54
|
*/
|
|
55
55
|
providerSource?: ProviderCreateRequestUioProviderSourceEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Moteur plateforme dont la clé d'API appartient à Breign. Il est proposé aux organisations autorisées et n'est pas modifiable par elles.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ProviderCreateRequestUio
|
|
60
|
+
*/
|
|
61
|
+
isPlatform?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProviderCreateRequestUio
|
|
66
|
+
*/
|
|
67
|
+
organizationId?: string | null;
|
|
56
68
|
}
|
|
57
69
|
/**
|
|
58
70
|
* @export
|
|
@@ -54,6 +54,8 @@ function ProviderCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
55
55
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
56
56
|
'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
|
|
57
|
+
'isPlatform': json['isPlatform'] == null ? undefined : json['isPlatform'],
|
|
58
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
function ProviderCreateRequestUioToJSON(json) {
|
|
@@ -70,5 +72,7 @@ function ProviderCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
70
72
|
'apiKey': value['apiKey'],
|
|
71
73
|
'endpoint': value['endpoint'],
|
|
72
74
|
'providerSource': value['providerSource'],
|
|
75
|
+
'isPlatform': value['isPlatform'],
|
|
76
|
+
'organizationId': value['organizationId'],
|
|
73
77
|
};
|
|
74
78
|
}
|
|
@@ -53,6 +53,18 @@ export interface ProviderUio {
|
|
|
53
53
|
* @memberof ProviderUio
|
|
54
54
|
*/
|
|
55
55
|
providerSource?: ProviderUioProviderSourceEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Moteur plateforme dont la clé d'API appartient à Breign. Il est proposé aux organisations autorisées et n'est pas modifiable par elles.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ProviderUio
|
|
60
|
+
*/
|
|
61
|
+
isPlatform?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProviderUio
|
|
66
|
+
*/
|
|
67
|
+
organizationId?: string | null;
|
|
56
68
|
/**
|
|
57
69
|
*
|
|
58
70
|
* @type {string}
|
|
@@ -58,6 +58,8 @@ function ProviderUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
59
59
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
60
60
|
'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
|
|
61
|
+
'isPlatform': json['isPlatform'] == null ? undefined : json['isPlatform'],
|
|
62
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
61
63
|
'id': json['id'],
|
|
62
64
|
'createdAt': json['createdAt'],
|
|
63
65
|
};
|
|
@@ -76,6 +78,8 @@ function ProviderUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
78
|
'apiKey': value['apiKey'],
|
|
77
79
|
'endpoint': value['endpoint'],
|
|
78
80
|
'providerSource': value['providerSource'],
|
|
81
|
+
'isPlatform': value['isPlatform'],
|
|
82
|
+
'organizationId': value['organizationId'],
|
|
79
83
|
'id': value['id'],
|
|
80
84
|
'createdAt': value['createdAt'],
|
|
81
85
|
};
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
* `{ mode: server }` ramène l'agent sur le serveur Breign. `{ mode: node, … }` le fait tourner sur un nœud ; seul son propriétaire peut le choisir, sur un runtime et un alias déclarés.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetAgentExecutionRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetAgentExecutionRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetAgentExecutionRequestUio
|
|
22
|
+
*/
|
|
23
|
+
mode: SetAgentExecutionRequestUioModeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetAgentExecutionRequestUio
|
|
28
|
+
*/
|
|
29
|
+
nodeId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SetAgentExecutionRequestUio
|
|
34
|
+
*/
|
|
35
|
+
runtime?: SetAgentExecutionRequestUioRuntimeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SetAgentExecutionRequestUio
|
|
40
|
+
*/
|
|
41
|
+
workspaceAlias?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof SetAgentExecutionRequestUio
|
|
46
|
+
*/
|
|
47
|
+
autoResume?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SetAgentExecutionRequestUioModeEnum: {
|
|
53
|
+
readonly Server: "server";
|
|
54
|
+
readonly Node: "node";
|
|
55
|
+
};
|
|
56
|
+
export type SetAgentExecutionRequestUioModeEnum = typeof SetAgentExecutionRequestUioModeEnum[keyof typeof SetAgentExecutionRequestUioModeEnum];
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const SetAgentExecutionRequestUioRuntimeEnum: {
|
|
61
|
+
readonly Claude: "claude";
|
|
62
|
+
readonly Opencode: "opencode";
|
|
63
|
+
};
|
|
64
|
+
export type SetAgentExecutionRequestUioRuntimeEnum = typeof SetAgentExecutionRequestUioRuntimeEnum[keyof typeof SetAgentExecutionRequestUioRuntimeEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the SetAgentExecutionRequestUio interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfSetAgentExecutionRequestUio(value: object): value is SetAgentExecutionRequestUio;
|
|
69
|
+
export declare function SetAgentExecutionRequestUioFromJSON(json: any): SetAgentExecutionRequestUio;
|
|
70
|
+
export declare function SetAgentExecutionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetAgentExecutionRequestUio;
|
|
71
|
+
export declare function SetAgentExecutionRequestUioToJSON(json: any): SetAgentExecutionRequestUio;
|
|
72
|
+
export declare function SetAgentExecutionRequestUioToJSONTyped(value?: SetAgentExecutionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.SetAgentExecutionRequestUioRuntimeEnum = exports.SetAgentExecutionRequestUioModeEnum = void 0;
|
|
17
|
+
exports.instanceOfSetAgentExecutionRequestUio = instanceOfSetAgentExecutionRequestUio;
|
|
18
|
+
exports.SetAgentExecutionRequestUioFromJSON = SetAgentExecutionRequestUioFromJSON;
|
|
19
|
+
exports.SetAgentExecutionRequestUioFromJSONTyped = SetAgentExecutionRequestUioFromJSONTyped;
|
|
20
|
+
exports.SetAgentExecutionRequestUioToJSON = SetAgentExecutionRequestUioToJSON;
|
|
21
|
+
exports.SetAgentExecutionRequestUioToJSONTyped = SetAgentExecutionRequestUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SetAgentExecutionRequestUioModeEnum = {
|
|
26
|
+
Server: 'server',
|
|
27
|
+
Node: 'node'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.SetAgentExecutionRequestUioRuntimeEnum = {
|
|
33
|
+
Claude: 'claude',
|
|
34
|
+
Opencode: 'opencode'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SetAgentExecutionRequestUio interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfSetAgentExecutionRequestUio(value) {
|
|
40
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function SetAgentExecutionRequestUioFromJSON(json) {
|
|
45
|
+
return SetAgentExecutionRequestUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SetAgentExecutionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'mode': json['mode'],
|
|
53
|
+
'nodeId': json['nodeId'] == null ? undefined : json['nodeId'],
|
|
54
|
+
'runtime': json['runtime'] == null ? undefined : json['runtime'],
|
|
55
|
+
'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
|
|
56
|
+
'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function SetAgentExecutionRequestUioToJSON(json) {
|
|
60
|
+
return SetAgentExecutionRequestUioToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function SetAgentExecutionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'mode': value['mode'],
|
|
68
|
+
'nodeId': value['nodeId'],
|
|
69
|
+
'runtime': value['runtime'],
|
|
70
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
71
|
+
'autoResume': value['autoResume'],
|
|
72
|
+
};
|
|
73
|
+
}
|