@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,70 @@
|
|
|
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.NodeSessionLogEntryUioStreamEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionLogEntryUio = instanceOfNodeSessionLogEntryUio;
|
|
18
|
+
exports.NodeSessionLogEntryUioFromJSON = NodeSessionLogEntryUioFromJSON;
|
|
19
|
+
exports.NodeSessionLogEntryUioFromJSONTyped = NodeSessionLogEntryUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionLogEntryUioToJSON = NodeSessionLogEntryUioToJSON;
|
|
21
|
+
exports.NodeSessionLogEntryUioToJSONTyped = NodeSessionLogEntryUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NodeSessionLogEntryUioStreamEnum = {
|
|
26
|
+
Stdout: 'stdout',
|
|
27
|
+
Stderr: 'stderr'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the NodeSessionLogEntryUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfNodeSessionLogEntryUio(value) {
|
|
33
|
+
if (!('seq' in value) || value['seq'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('stream' in value) || value['stream'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('line' in value) || value['line'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('at' in value) || value['at'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function NodeSessionLogEntryUioFromJSON(json) {
|
|
44
|
+
return NodeSessionLogEntryUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeSessionLogEntryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'seq': json['seq'],
|
|
52
|
+
'stream': json['stream'],
|
|
53
|
+
'line': json['line'],
|
|
54
|
+
'at': json['at'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function NodeSessionLogEntryUioToJSON(json) {
|
|
58
|
+
return NodeSessionLogEntryUioToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function NodeSessionLogEntryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'seq': value['seq'],
|
|
66
|
+
'stream': value['stream'],
|
|
67
|
+
'line': value['line'],
|
|
68
|
+
'at': value['at'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { NodeSessionLogEntryUio } from './NodeSessionLogEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NodeSessionLogsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface NodeSessionLogsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<NodeSessionLogEntryUio>}
|
|
22
|
+
* @memberof NodeSessionLogsUio
|
|
23
|
+
*/
|
|
24
|
+
entries: Array<NodeSessionLogEntryUio>;
|
|
25
|
+
/**
|
|
26
|
+
* Lignes perdues par le spool plein du poste, sur ces lots
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NodeSessionLogsUio
|
|
29
|
+
*/
|
|
30
|
+
dropped: number;
|
|
31
|
+
/**
|
|
32
|
+
* Curseur de la page suivante
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof NodeSessionLogsUio
|
|
35
|
+
*/
|
|
36
|
+
nextAfterSeq: number;
|
|
37
|
+
/**
|
|
38
|
+
* Page pleine — d'autres lots suivent, à lire tout de suite avec nextAfterSeq
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof NodeSessionLogsUio
|
|
41
|
+
*/
|
|
42
|
+
hasMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the NodeSessionLogsUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfNodeSessionLogsUio(value: object): value is NodeSessionLogsUio;
|
|
48
|
+
export declare function NodeSessionLogsUioFromJSON(json: any): NodeSessionLogsUio;
|
|
49
|
+
export declare function NodeSessionLogsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionLogsUio;
|
|
50
|
+
export declare function NodeSessionLogsUioToJSON(json: any): NodeSessionLogsUio;
|
|
51
|
+
export declare function NodeSessionLogsUioToJSONTyped(value?: NodeSessionLogsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfNodeSessionLogsUio = instanceOfNodeSessionLogsUio;
|
|
17
|
+
exports.NodeSessionLogsUioFromJSON = NodeSessionLogsUioFromJSON;
|
|
18
|
+
exports.NodeSessionLogsUioFromJSONTyped = NodeSessionLogsUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionLogsUioToJSON = NodeSessionLogsUioToJSON;
|
|
20
|
+
exports.NodeSessionLogsUioToJSONTyped = NodeSessionLogsUioToJSONTyped;
|
|
21
|
+
const NodeSessionLogEntryUio_1 = require("./NodeSessionLogEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the NodeSessionLogsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfNodeSessionLogsUio(value) {
|
|
26
|
+
if (!('entries' in value) || value['entries'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('dropped' in value) || value['dropped'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('nextAfterSeq' in value) || value['nextAfterSeq'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function NodeSessionLogsUioFromJSON(json) {
|
|
37
|
+
return NodeSessionLogsUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function NodeSessionLogsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'entries': (json['entries'].map(NodeSessionLogEntryUio_1.NodeSessionLogEntryUioFromJSON)),
|
|
45
|
+
'dropped': json['dropped'],
|
|
46
|
+
'nextAfterSeq': json['nextAfterSeq'],
|
|
47
|
+
'hasMore': json['hasMore'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function NodeSessionLogsUioToJSON(json) {
|
|
51
|
+
return NodeSessionLogsUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function NodeSessionLogsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'entries': (value['entries'].map(NodeSessionLogEntryUio_1.NodeSessionLogEntryUioToJSON)),
|
|
59
|
+
'dropped': value['dropped'],
|
|
60
|
+
'nextAfterSeq': value['nextAfterSeq'],
|
|
61
|
+
'hasMore': value['hasMore'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 NodeSessionMetricsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeSessionMetricsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeSessionMetricsUio
|
|
22
|
+
*/
|
|
23
|
+
durationMs?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeSessionMetricsUio
|
|
28
|
+
*/
|
|
29
|
+
model?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeSessionMetricsUio
|
|
34
|
+
*/
|
|
35
|
+
inputTokens?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof NodeSessionMetricsUio
|
|
40
|
+
*/
|
|
41
|
+
outputTokens?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof NodeSessionMetricsUio
|
|
46
|
+
*/
|
|
47
|
+
cacheReadTokens?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof NodeSessionMetricsUio
|
|
52
|
+
*/
|
|
53
|
+
cacheWriteTokens?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof NodeSessionMetricsUio
|
|
58
|
+
*/
|
|
59
|
+
reasoningTokens?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof NodeSessionMetricsUio
|
|
64
|
+
*/
|
|
65
|
+
filesChanged?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the NodeSessionMetricsUio interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfNodeSessionMetricsUio(value: object): value is NodeSessionMetricsUio;
|
|
71
|
+
export declare function NodeSessionMetricsUioFromJSON(json: any): NodeSessionMetricsUio;
|
|
72
|
+
export declare function NodeSessionMetricsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionMetricsUio;
|
|
73
|
+
export declare function NodeSessionMetricsUioToJSON(json: any): NodeSessionMetricsUio;
|
|
74
|
+
export declare function NodeSessionMetricsUioToJSONTyped(value?: NodeSessionMetricsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfNodeSessionMetricsUio = instanceOfNodeSessionMetricsUio;
|
|
17
|
+
exports.NodeSessionMetricsUioFromJSON = NodeSessionMetricsUioFromJSON;
|
|
18
|
+
exports.NodeSessionMetricsUioFromJSONTyped = NodeSessionMetricsUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionMetricsUioToJSON = NodeSessionMetricsUioToJSON;
|
|
20
|
+
exports.NodeSessionMetricsUioToJSONTyped = NodeSessionMetricsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeSessionMetricsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeSessionMetricsUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function NodeSessionMetricsUioFromJSON(json) {
|
|
28
|
+
return NodeSessionMetricsUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function NodeSessionMetricsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'durationMs': json['durationMs'] == null ? undefined : json['durationMs'],
|
|
36
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
37
|
+
'inputTokens': json['inputTokens'] == null ? undefined : json['inputTokens'],
|
|
38
|
+
'outputTokens': json['outputTokens'] == null ? undefined : json['outputTokens'],
|
|
39
|
+
'cacheReadTokens': json['cacheReadTokens'] == null ? undefined : json['cacheReadTokens'],
|
|
40
|
+
'cacheWriteTokens': json['cacheWriteTokens'] == null ? undefined : json['cacheWriteTokens'],
|
|
41
|
+
'reasoningTokens': json['reasoningTokens'] == null ? undefined : json['reasoningTokens'],
|
|
42
|
+
'filesChanged': json['filesChanged'] == null ? undefined : json['filesChanged'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function NodeSessionMetricsUioToJSON(json) {
|
|
46
|
+
return NodeSessionMetricsUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function NodeSessionMetricsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'durationMs': value['durationMs'],
|
|
54
|
+
'model': value['model'],
|
|
55
|
+
'inputTokens': value['inputTokens'],
|
|
56
|
+
'outputTokens': value['outputTokens'],
|
|
57
|
+
'cacheReadTokens': value['cacheReadTokens'],
|
|
58
|
+
'cacheWriteTokens': value['cacheWriteTokens'],
|
|
59
|
+
'reasoningTokens': value['reasoningTokens'],
|
|
60
|
+
'filesChanged': value['filesChanged'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 NodeSessionProgressUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeSessionProgressUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeSessionProgressUio
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeSessionProgressUio
|
|
28
|
+
*/
|
|
29
|
+
step?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeSessionProgressUio
|
|
34
|
+
*/
|
|
35
|
+
total?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeSessionProgressUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeSessionProgressUio(value: object): value is NodeSessionProgressUio;
|
|
41
|
+
export declare function NodeSessionProgressUioFromJSON(json: any): NodeSessionProgressUio;
|
|
42
|
+
export declare function NodeSessionProgressUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionProgressUio;
|
|
43
|
+
export declare function NodeSessionProgressUioToJSON(json: any): NodeSessionProgressUio;
|
|
44
|
+
export declare function NodeSessionProgressUioToJSONTyped(value?: NodeSessionProgressUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfNodeSessionProgressUio = instanceOfNodeSessionProgressUio;
|
|
17
|
+
exports.NodeSessionProgressUioFromJSON = NodeSessionProgressUioFromJSON;
|
|
18
|
+
exports.NodeSessionProgressUioFromJSONTyped = NodeSessionProgressUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionProgressUioToJSON = NodeSessionProgressUioToJSON;
|
|
20
|
+
exports.NodeSessionProgressUioToJSONTyped = NodeSessionProgressUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeSessionProgressUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeSessionProgressUio(value) {
|
|
25
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function NodeSessionProgressUioFromJSON(json) {
|
|
30
|
+
return NodeSessionProgressUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function NodeSessionProgressUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'label': json['label'],
|
|
38
|
+
'step': json['step'] == null ? undefined : json['step'],
|
|
39
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function NodeSessionProgressUioToJSON(json) {
|
|
43
|
+
return NodeSessionProgressUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function NodeSessionProgressUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'label': value['label'],
|
|
51
|
+
'step': value['step'],
|
|
52
|
+
'total': value['total'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const NodeSessionStateUio: {
|
|
17
|
+
readonly Dispatching: "dispatching";
|
|
18
|
+
readonly Queued: "queued";
|
|
19
|
+
readonly Running: "running";
|
|
20
|
+
readonly Interrupted: "interrupted";
|
|
21
|
+
readonly Finished: "finished";
|
|
22
|
+
readonly Failed: "failed";
|
|
23
|
+
};
|
|
24
|
+
export type NodeSessionStateUio = typeof NodeSessionStateUio[keyof typeof NodeSessionStateUio];
|
|
25
|
+
export declare function instanceOfNodeSessionStateUio(value: any): boolean;
|
|
26
|
+
export declare function NodeSessionStateUioFromJSON(json: any): NodeSessionStateUio;
|
|
27
|
+
export declare function NodeSessionStateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
|
|
28
|
+
export declare function NodeSessionStateUioToJSON(value?: NodeSessionStateUio | null): any;
|
|
29
|
+
export declare function NodeSessionStateUioToJSONTyped(value: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.NodeSessionStateUio = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionStateUio = instanceOfNodeSessionStateUio;
|
|
18
|
+
exports.NodeSessionStateUioFromJSON = NodeSessionStateUioFromJSON;
|
|
19
|
+
exports.NodeSessionStateUioFromJSONTyped = NodeSessionStateUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionStateUioToJSON = NodeSessionStateUioToJSON;
|
|
21
|
+
exports.NodeSessionStateUioToJSONTyped = NodeSessionStateUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeSessionStateUio = {
|
|
27
|
+
Dispatching: 'dispatching',
|
|
28
|
+
Queued: 'queued',
|
|
29
|
+
Running: 'running',
|
|
30
|
+
Interrupted: 'interrupted',
|
|
31
|
+
Finished: 'finished',
|
|
32
|
+
Failed: 'failed'
|
|
33
|
+
};
|
|
34
|
+
function instanceOfNodeSessionStateUio(value) {
|
|
35
|
+
for (const key in exports.NodeSessionStateUio) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(exports.NodeSessionStateUio, key)) {
|
|
37
|
+
if (exports.NodeSessionStateUio[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function NodeSessionStateUioFromJSON(json) {
|
|
45
|
+
return NodeSessionStateUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function NodeSessionStateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function NodeSessionStateUioToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function NodeSessionStateUioToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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 { NodeSessionMetricsUio } from './NodeSessionMetricsUio';
|
|
13
|
+
import type { NodeSessionStateUio } from './NodeSessionStateUio';
|
|
14
|
+
import type { NodeSessionProgressUio } from './NodeSessionProgressUio';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface NodeSessionUio
|
|
19
|
+
*/
|
|
20
|
+
export interface NodeSessionUio {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof NodeSessionUio
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof NodeSessionUio
|
|
31
|
+
*/
|
|
32
|
+
agentId: string;
|
|
33
|
+
/**
|
|
34
|
+
* Nom de l'agent, résolu par l'API ; null pour un agent supprimé.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof NodeSessionUio
|
|
37
|
+
*/
|
|
38
|
+
agentName: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof NodeSessionUio
|
|
43
|
+
*/
|
|
44
|
+
conversationId: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof NodeSessionUio
|
|
49
|
+
*/
|
|
50
|
+
responseMessageId?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof NodeSessionUio
|
|
55
|
+
*/
|
|
56
|
+
runtime: NodeSessionUioRuntimeEnum;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof NodeSessionUio
|
|
61
|
+
*/
|
|
62
|
+
workspaceAlias: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {NodeSessionStateUio}
|
|
66
|
+
* @memberof NodeSessionUio
|
|
67
|
+
*/
|
|
68
|
+
state: NodeSessionStateUio;
|
|
69
|
+
/**
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof NodeSessionUio
|
|
73
|
+
*/
|
|
74
|
+
reason: string | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {NodeSessionMetricsUio}
|
|
78
|
+
* @memberof NodeSessionUio
|
|
79
|
+
*/
|
|
80
|
+
metrics: NodeSessionMetricsUio | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {NodeSessionProgressUio}
|
|
84
|
+
* @memberof NodeSessionUio
|
|
85
|
+
*/
|
|
86
|
+
progress: NodeSessionProgressUio | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof NodeSessionUio
|
|
91
|
+
*/
|
|
92
|
+
autoResumed?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof NodeSessionUio
|
|
97
|
+
*/
|
|
98
|
+
lastFrameAt?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof NodeSessionUio
|
|
103
|
+
*/
|
|
104
|
+
createdAt: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof NodeSessionUio
|
|
109
|
+
*/
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export declare const NodeSessionUioRuntimeEnum: {
|
|
116
|
+
readonly Claude: "claude";
|
|
117
|
+
readonly Opencode: "opencode";
|
|
118
|
+
};
|
|
119
|
+
export type NodeSessionUioRuntimeEnum = typeof NodeSessionUioRuntimeEnum[keyof typeof NodeSessionUioRuntimeEnum];
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the NodeSessionUio interface.
|
|
122
|
+
*/
|
|
123
|
+
export declare function instanceOfNodeSessionUio(value: object): value is NodeSessionUio;
|
|
124
|
+
export declare function NodeSessionUioFromJSON(json: any): NodeSessionUio;
|
|
125
|
+
export declare function NodeSessionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionUio;
|
|
126
|
+
export declare function NodeSessionUioToJSON(json: any): NodeSessionUio;
|
|
127
|
+
export declare function NodeSessionUioToJSONTyped(value?: NodeSessionUio | null, ignoreDiscriminator?: boolean): any;
|