@breign/client 1.0.195 → 1.0.196
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/ExecutionNodesApi.d.ts +29 -1
- package/dist/apis/ExecutionNodesApi.js +64 -0
- package/dist/apis/NodeGroupsApi.d.ts +228 -1
- package/dist/apis/NodeGroupsApi.js +394 -1
- package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
- package/dist/models/NodeGroupBulkIdsUio.js +50 -0
- package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
- package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
- package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
- package/dist/models/NodeGroupBulkResultUio.js +51 -0
- package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
- package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
- package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
- package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
- package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
- package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
- package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
- package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
- package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
- package/dist/models/NodeGroupEnvironmentUio.js +130 -0
- package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
- package/dist/models/NodeGroupExecutionPageUio.js +59 -0
- package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
- package/dist/models/NodeGroupExecutionUio.js +155 -0
- package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
- package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
- package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
- package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
- package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
- package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
- package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
- package/dist/models/NodeGroupNodePageUio.js +55 -0
- package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
- package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
- package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
- package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
- package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
- package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
- package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
- package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
- package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
- package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
- package/dist/models/NodeQueueTurnGroupUio.js +54 -0
- package/dist/models/NodeQueueTurnUio.d.ts +114 -0
- package/dist/models/NodeQueueTurnUio.js +106 -0
- package/dist/models/NodeRefUio.d.ts +44 -0
- package/dist/models/NodeRefUio.js +58 -0
- package/dist/models/NodeSessionDetailUio.d.ts +1 -1
- package/dist/models/NodeSessionStateUio.d.ts +2 -1
- package/dist/models/NodeSessionStateUio.js +2 -1
- package/dist/models/NodeSessionUio.d.ts +1 -1
- package/dist/models/WaitingForUio.d.ts +26 -0
- package/dist/models/WaitingForUio.js +52 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/openapi.json +2857 -1580
- package/package.json +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
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.NodeGroupEnvironmentUioReleaseReasonEnum = exports.NodeGroupEnvironmentUioRuntimeEnum = exports.NodeGroupEnvironmentUioStateEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGroupEnvironmentUio = instanceOfNodeGroupEnvironmentUio;
|
|
18
|
+
exports.NodeGroupEnvironmentUioFromJSON = NodeGroupEnvironmentUioFromJSON;
|
|
19
|
+
exports.NodeGroupEnvironmentUioFromJSONTyped = NodeGroupEnvironmentUioFromJSONTyped;
|
|
20
|
+
exports.NodeGroupEnvironmentUioToJSON = NodeGroupEnvironmentUioToJSON;
|
|
21
|
+
exports.NodeGroupEnvironmentUioToJSONTyped = NodeGroupEnvironmentUioToJSONTyped;
|
|
22
|
+
const NodeRefUio_1 = require("./NodeRefUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeGroupEnvironmentUioStateEnum = {
|
|
27
|
+
Running: 'running',
|
|
28
|
+
Waiting: 'waiting',
|
|
29
|
+
Idle: 'idle',
|
|
30
|
+
Releasing: 'releasing'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.NodeGroupEnvironmentUioRuntimeEnum = {
|
|
36
|
+
Claude: 'claude',
|
|
37
|
+
Opencode: 'opencode'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.NodeGroupEnvironmentUioReleaseReasonEnum = {
|
|
43
|
+
Idle: 'idle',
|
|
44
|
+
Manual: 'manual',
|
|
45
|
+
Moved: 'moved',
|
|
46
|
+
Node: 'node',
|
|
47
|
+
Dissociated: 'dissociated'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the NodeGroupEnvironmentUio interface.
|
|
51
|
+
*/
|
|
52
|
+
function instanceOfNodeGroupEnvironmentUio(value) {
|
|
53
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('originType' in value) || value['originType'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('originTitle' in value) || value['originTitle'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('node' in value) || value['node'] === undefined)
|
|
68
|
+
return false;
|
|
69
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
70
|
+
return false;
|
|
71
|
+
if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
|
|
72
|
+
return false;
|
|
73
|
+
if (!('lastUsedAt' in value) || value['lastUsedAt'] === undefined)
|
|
74
|
+
return false;
|
|
75
|
+
if (!('releaseAfter' in value) || value['releaseAfter'] === undefined)
|
|
76
|
+
return false;
|
|
77
|
+
if (!('releaseRequestedAt' in value) || value['releaseRequestedAt'] === undefined)
|
|
78
|
+
return false;
|
|
79
|
+
if (!('releaseReason' in value) || value['releaseReason'] === undefined)
|
|
80
|
+
return false;
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
function NodeGroupEnvironmentUioFromJSON(json) {
|
|
84
|
+
return NodeGroupEnvironmentUioFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
function NodeGroupEnvironmentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
87
|
+
if (json == null) {
|
|
88
|
+
return json;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
'id': json['id'],
|
|
92
|
+
'state': json['state'],
|
|
93
|
+
'agentId': json['agentId'],
|
|
94
|
+
'agentName': json['agentName'],
|
|
95
|
+
'conversationId': json['conversationId'],
|
|
96
|
+
'originType': json['originType'],
|
|
97
|
+
'originTitle': json['originTitle'],
|
|
98
|
+
'node': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['node']),
|
|
99
|
+
'runtime': json['runtime'],
|
|
100
|
+
'workspaceAlias': json['workspaceAlias'],
|
|
101
|
+
'lastUsedAt': json['lastUsedAt'],
|
|
102
|
+
'releaseAfter': json['releaseAfter'],
|
|
103
|
+
'releaseRequestedAt': json['releaseRequestedAt'],
|
|
104
|
+
'releaseReason': json['releaseReason'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function NodeGroupEnvironmentUioToJSON(json) {
|
|
108
|
+
return NodeGroupEnvironmentUioToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
function NodeGroupEnvironmentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
'id': value['id'],
|
|
116
|
+
'state': value['state'],
|
|
117
|
+
'agentId': value['agentId'],
|
|
118
|
+
'agentName': value['agentName'],
|
|
119
|
+
'conversationId': value['conversationId'],
|
|
120
|
+
'originType': value['originType'],
|
|
121
|
+
'originTitle': value['originTitle'],
|
|
122
|
+
'node': (0, NodeRefUio_1.NodeRefUioToJSON)(value['node']),
|
|
123
|
+
'runtime': value['runtime'],
|
|
124
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
125
|
+
'lastUsedAt': value['lastUsedAt'],
|
|
126
|
+
'releaseAfter': value['releaseAfter'],
|
|
127
|
+
'releaseRequestedAt': value['releaseRequestedAt'],
|
|
128
|
+
'releaseReason': value['releaseReason'],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { NodeGroupExecutionUio } from './NodeGroupExecutionUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NodeGroupExecutionPageUio
|
|
17
|
+
*/
|
|
18
|
+
export interface NodeGroupExecutionPageUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<NodeGroupExecutionUio>}
|
|
22
|
+
* @memberof NodeGroupExecutionPageUio
|
|
23
|
+
*/
|
|
24
|
+
items: Array<NodeGroupExecutionUio>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NodeGroupExecutionPageUio
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
* Les exécutions d'agents que l'appelant ne peut pas lire
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof NodeGroupExecutionPageUio
|
|
35
|
+
*/
|
|
36
|
+
hiddenCount: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the NodeGroupExecutionPageUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfNodeGroupExecutionPageUio(value: object): value is NodeGroupExecutionPageUio;
|
|
42
|
+
export declare function NodeGroupExecutionPageUioFromJSON(json: any): NodeGroupExecutionPageUio;
|
|
43
|
+
export declare function NodeGroupExecutionPageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupExecutionPageUio;
|
|
44
|
+
export declare function NodeGroupExecutionPageUioToJSON(json: any): NodeGroupExecutionPageUio;
|
|
45
|
+
export declare function NodeGroupExecutionPageUioToJSONTyped(value?: NodeGroupExecutionPageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfNodeGroupExecutionPageUio = instanceOfNodeGroupExecutionPageUio;
|
|
17
|
+
exports.NodeGroupExecutionPageUioFromJSON = NodeGroupExecutionPageUioFromJSON;
|
|
18
|
+
exports.NodeGroupExecutionPageUioFromJSONTyped = NodeGroupExecutionPageUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupExecutionPageUioToJSON = NodeGroupExecutionPageUioToJSON;
|
|
20
|
+
exports.NodeGroupExecutionPageUioToJSONTyped = NodeGroupExecutionPageUioToJSONTyped;
|
|
21
|
+
const NodeGroupExecutionUio_1 = require("./NodeGroupExecutionUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the NodeGroupExecutionPageUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfNodeGroupExecutionPageUio(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('hiddenCount' in value) || value['hiddenCount'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function NodeGroupExecutionPageUioFromJSON(json) {
|
|
35
|
+
return NodeGroupExecutionPageUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function NodeGroupExecutionPageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'items': (json['items'].map(NodeGroupExecutionUio_1.NodeGroupExecutionUioFromJSON)),
|
|
43
|
+
'total': json['total'],
|
|
44
|
+
'hiddenCount': json['hiddenCount'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function NodeGroupExecutionPageUioToJSON(json) {
|
|
48
|
+
return NodeGroupExecutionPageUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function NodeGroupExecutionPageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'items': (value['items'].map(NodeGroupExecutionUio_1.NodeGroupExecutionUioToJSON)),
|
|
56
|
+
'total': value['total'],
|
|
57
|
+
'hiddenCount': value['hiddenCount'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { NodeSessionStateUio } from './NodeSessionStateUio';
|
|
13
|
+
import type { NodeRefUio } from './NodeRefUio';
|
|
14
|
+
import type { NodeSessionProgressUio } from './NodeSessionProgressUio';
|
|
15
|
+
import type { WaitingForUio } from './WaitingForUio';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NodeGroupExecutionUio
|
|
20
|
+
*/
|
|
21
|
+
export interface NodeGroupExecutionUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NodeGroupExecutionUio
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {NodeSessionStateUio}
|
|
31
|
+
* @memberof NodeGroupExecutionUio
|
|
32
|
+
*/
|
|
33
|
+
state: NodeSessionStateUio;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NodeGroupExecutionUio
|
|
38
|
+
*/
|
|
39
|
+
reason: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NodeGroupExecutionUio
|
|
44
|
+
*/
|
|
45
|
+
agentId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NodeGroupExecutionUio
|
|
50
|
+
*/
|
|
51
|
+
agentName: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof NodeGroupExecutionUio
|
|
56
|
+
*/
|
|
57
|
+
conversationId: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof NodeGroupExecutionUio
|
|
62
|
+
*/
|
|
63
|
+
responseMessageId: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof NodeGroupExecutionUio
|
|
68
|
+
*/
|
|
69
|
+
originType: NodeGroupExecutionUioOriginTypeEnum | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof NodeGroupExecutionUio
|
|
74
|
+
*/
|
|
75
|
+
originTitle: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof NodeGroupExecutionUio
|
|
80
|
+
*/
|
|
81
|
+
runtime: NodeGroupExecutionUioRuntimeEnum;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof NodeGroupExecutionUio
|
|
86
|
+
*/
|
|
87
|
+
workspaceAlias: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {NodeRefUio}
|
|
91
|
+
* @memberof NodeGroupExecutionUio
|
|
92
|
+
*/
|
|
93
|
+
node: NodeRefUio | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {NodeRefUio}
|
|
97
|
+
* @memberof NodeGroupExecutionUio
|
|
98
|
+
*/
|
|
99
|
+
target: NodeRefUio | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof NodeGroupExecutionUio
|
|
104
|
+
*/
|
|
105
|
+
targetUntil: string | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {WaitingForUio}
|
|
109
|
+
* @memberof NodeGroupExecutionUio
|
|
110
|
+
*/
|
|
111
|
+
waitingFor: WaitingForUio | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof NodeGroupExecutionUio
|
|
116
|
+
*/
|
|
117
|
+
position: number | null;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {NodeSessionProgressUio}
|
|
121
|
+
* @memberof NodeGroupExecutionUio
|
|
122
|
+
*/
|
|
123
|
+
progress: NodeSessionProgressUio | null;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof NodeGroupExecutionUio
|
|
128
|
+
*/
|
|
129
|
+
queuedAt: string | null;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof NodeGroupExecutionUio
|
|
134
|
+
*/
|
|
135
|
+
claimedAt: string | null;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof NodeGroupExecutionUio
|
|
140
|
+
*/
|
|
141
|
+
expiresAt: string | null;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof NodeGroupExecutionUio
|
|
146
|
+
*/
|
|
147
|
+
createdAt: string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof NodeGroupExecutionUio
|
|
152
|
+
*/
|
|
153
|
+
updatedAt: string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @export
|
|
157
|
+
*/
|
|
158
|
+
export declare const NodeGroupExecutionUioOriginTypeEnum: {
|
|
159
|
+
readonly Conversation: "conversation";
|
|
160
|
+
readonly Ticket: "ticket";
|
|
161
|
+
readonly Agent: "agent";
|
|
162
|
+
readonly Task: "task";
|
|
163
|
+
};
|
|
164
|
+
export type NodeGroupExecutionUioOriginTypeEnum = typeof NodeGroupExecutionUioOriginTypeEnum[keyof typeof NodeGroupExecutionUioOriginTypeEnum];
|
|
165
|
+
/**
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const NodeGroupExecutionUioRuntimeEnum: {
|
|
169
|
+
readonly Claude: "claude";
|
|
170
|
+
readonly Opencode: "opencode";
|
|
171
|
+
};
|
|
172
|
+
export type NodeGroupExecutionUioRuntimeEnum = typeof NodeGroupExecutionUioRuntimeEnum[keyof typeof NodeGroupExecutionUioRuntimeEnum];
|
|
173
|
+
/**
|
|
174
|
+
* Check if a given object implements the NodeGroupExecutionUio interface.
|
|
175
|
+
*/
|
|
176
|
+
export declare function instanceOfNodeGroupExecutionUio(value: object): value is NodeGroupExecutionUio;
|
|
177
|
+
export declare function NodeGroupExecutionUioFromJSON(json: any): NodeGroupExecutionUio;
|
|
178
|
+
export declare function NodeGroupExecutionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupExecutionUio;
|
|
179
|
+
export declare function NodeGroupExecutionUioToJSON(json: any): NodeGroupExecutionUio;
|
|
180
|
+
export declare function NodeGroupExecutionUioToJSONTyped(value?: NodeGroupExecutionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,155 @@
|
|
|
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.NodeGroupExecutionUioRuntimeEnum = exports.NodeGroupExecutionUioOriginTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGroupExecutionUio = instanceOfNodeGroupExecutionUio;
|
|
18
|
+
exports.NodeGroupExecutionUioFromJSON = NodeGroupExecutionUioFromJSON;
|
|
19
|
+
exports.NodeGroupExecutionUioFromJSONTyped = NodeGroupExecutionUioFromJSONTyped;
|
|
20
|
+
exports.NodeGroupExecutionUioToJSON = NodeGroupExecutionUioToJSON;
|
|
21
|
+
exports.NodeGroupExecutionUioToJSONTyped = NodeGroupExecutionUioToJSONTyped;
|
|
22
|
+
const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
|
|
23
|
+
const NodeRefUio_1 = require("./NodeRefUio");
|
|
24
|
+
const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
|
|
25
|
+
const WaitingForUio_1 = require("./WaitingForUio");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.NodeGroupExecutionUioOriginTypeEnum = {
|
|
30
|
+
Conversation: 'conversation',
|
|
31
|
+
Ticket: 'ticket',
|
|
32
|
+
Agent: 'agent',
|
|
33
|
+
Task: 'task'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
exports.NodeGroupExecutionUioRuntimeEnum = {
|
|
39
|
+
Claude: 'claude',
|
|
40
|
+
Opencode: 'opencode'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the NodeGroupExecutionUio interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfNodeGroupExecutionUio(value) {
|
|
46
|
+
if (!('id' in value) || value['id'] === 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 (!('agentId' in value) || value['agentId'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('responseMessageId' in value) || value['responseMessageId'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('originType' in value) || value['originType'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('originTitle' in value) || value['originTitle'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('node' in value) || value['node'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('targetUntil' in value) || value['targetUntil'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('waitingFor' in value) || value['waitingFor'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
if (!('position' in value) || value['position'] === undefined)
|
|
77
|
+
return false;
|
|
78
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
79
|
+
return false;
|
|
80
|
+
if (!('queuedAt' in value) || value['queuedAt'] === undefined)
|
|
81
|
+
return false;
|
|
82
|
+
if (!('claimedAt' in value) || value['claimedAt'] === undefined)
|
|
83
|
+
return false;
|
|
84
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
85
|
+
return false;
|
|
86
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
87
|
+
return false;
|
|
88
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
89
|
+
return false;
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
function NodeGroupExecutionUioFromJSON(json) {
|
|
93
|
+
return NodeGroupExecutionUioFromJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
function NodeGroupExecutionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
'id': json['id'],
|
|
101
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
|
|
102
|
+
'reason': json['reason'],
|
|
103
|
+
'agentId': json['agentId'],
|
|
104
|
+
'agentName': json['agentName'],
|
|
105
|
+
'conversationId': json['conversationId'],
|
|
106
|
+
'responseMessageId': json['responseMessageId'],
|
|
107
|
+
'originType': json['originType'],
|
|
108
|
+
'originTitle': json['originTitle'],
|
|
109
|
+
'runtime': json['runtime'],
|
|
110
|
+
'workspaceAlias': json['workspaceAlias'],
|
|
111
|
+
'node': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['node']),
|
|
112
|
+
'target': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['target']),
|
|
113
|
+
'targetUntil': json['targetUntil'],
|
|
114
|
+
'waitingFor': (0, WaitingForUio_1.WaitingForUioFromJSON)(json['waitingFor']),
|
|
115
|
+
'position': json['position'],
|
|
116
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioFromJSON)(json['progress']),
|
|
117
|
+
'queuedAt': json['queuedAt'],
|
|
118
|
+
'claimedAt': json['claimedAt'],
|
|
119
|
+
'expiresAt': json['expiresAt'],
|
|
120
|
+
'createdAt': json['createdAt'],
|
|
121
|
+
'updatedAt': json['updatedAt'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function NodeGroupExecutionUioToJSON(json) {
|
|
125
|
+
return NodeGroupExecutionUioToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
function NodeGroupExecutionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
return {
|
|
132
|
+
'id': value['id'],
|
|
133
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
|
|
134
|
+
'reason': value['reason'],
|
|
135
|
+
'agentId': value['agentId'],
|
|
136
|
+
'agentName': value['agentName'],
|
|
137
|
+
'conversationId': value['conversationId'],
|
|
138
|
+
'responseMessageId': value['responseMessageId'],
|
|
139
|
+
'originType': value['originType'],
|
|
140
|
+
'originTitle': value['originTitle'],
|
|
141
|
+
'runtime': value['runtime'],
|
|
142
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
143
|
+
'node': (0, NodeRefUio_1.NodeRefUioToJSON)(value['node']),
|
|
144
|
+
'target': (0, NodeRefUio_1.NodeRefUioToJSON)(value['target']),
|
|
145
|
+
'targetUntil': value['targetUntil'],
|
|
146
|
+
'waitingFor': (0, WaitingForUio_1.WaitingForUioToJSON)(value['waitingFor']),
|
|
147
|
+
'position': value['position'],
|
|
148
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
|
|
149
|
+
'queuedAt': value['queuedAt'],
|
|
150
|
+
'claimedAt': value['claimedAt'],
|
|
151
|
+
'expiresAt': value['expiresAt'],
|
|
152
|
+
'createdAt': value['createdAt'],
|
|
153
|
+
'updatedAt': value['updatedAt'],
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 NodeGroupNodeOverviewOtherGroupsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupNodeOverviewOtherGroupsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeGroupNodeOverviewOtherGroupsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeGroupNodeOverviewOtherGroupsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NodeGroupNodeOverviewOtherGroupsInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio(value: object): value is NodeGroupNodeOverviewOtherGroupsInnerUio;
|
|
35
|
+
export declare function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON(json: any): NodeGroupNodeOverviewOtherGroupsInnerUio;
|
|
36
|
+
export declare function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupNodeOverviewOtherGroupsInnerUio;
|
|
37
|
+
export declare function NodeGroupNodeOverviewOtherGroupsInnerUioToJSON(json: any): NodeGroupNodeOverviewOtherGroupsInnerUio;
|
|
38
|
+
export declare function NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(value?: NodeGroupNodeOverviewOtherGroupsInnerUio | 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.instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio = instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio;
|
|
17
|
+
exports.NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON = NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON;
|
|
18
|
+
exports.NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped = NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupNodeOverviewOtherGroupsInnerUioToJSON = NodeGroupNodeOverviewOtherGroupsInnerUioToJSON;
|
|
20
|
+
exports.NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped = NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupNodeOverviewOtherGroupsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON(json) {
|
|
32
|
+
return NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function NodeGroupNodeOverviewOtherGroupsInnerUioToJSON(json) {
|
|
44
|
+
return NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|