@breign/client 1.0.195 → 1.0.197
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 +230 -1
- package/dist/apis/NodeGroupsApi.js +396 -1
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +1 -0
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +2 -1
- package/dist/models/AgentExecutionUio.d.ts +1 -0
- package/dist/models/AgentExecutionUio.js +2 -1
- package/dist/models/ExecutionNodeAgentUio.d.ts +1 -0
- package/dist/models/ExecutionNodeAgentUio.js +2 -1
- package/dist/models/ExecutionNodeRuntimeUio.d.ts +1 -0
- package/dist/models/ExecutionNodeRuntimeUio.js +2 -1
- package/dist/models/NodeGroupAgentUio.d.ts +1 -0
- package/dist/models/NodeGroupAgentUio.js +2 -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 +141 -0
- package/dist/models/NodeGroupEnvironmentUio.js +131 -0
- package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
- package/dist/models/NodeGroupExecutionPageUio.js +59 -0
- package/dist/models/NodeGroupExecutionUio.d.ts +181 -0
- package/dist/models/NodeGroupExecutionUio.js +156 -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 +2 -1
- package/dist/models/NodeSessionDetailUio.js +2 -1
- package/dist/models/NodeSessionStateUio.d.ts +2 -1
- package/dist/models/NodeSessionStateUio.js +2 -1
- package/dist/models/NodeSessionUio.d.ts +2 -1
- package/dist/models/NodeSessionUio.js +2 -1
- package/dist/models/OrganizationExecutionNodeAgentUio.d.ts +1 -0
- package/dist/models/OrganizationExecutionNodeAgentUio.js +2 -1
- package/dist/models/SetAgentExecutionRequestUio.d.ts +1 -0
- package/dist/models/SetAgentExecutionRequestUio.js +2 -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 +2962 -1685
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
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.instanceOfNodeGroupQueueSummaryUio = instanceOfNodeGroupQueueSummaryUio;
|
|
17
|
+
exports.NodeGroupQueueSummaryUioFromJSON = NodeGroupQueueSummaryUioFromJSON;
|
|
18
|
+
exports.NodeGroupQueueSummaryUioFromJSONTyped = NodeGroupQueueSummaryUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupQueueSummaryUioToJSON = NodeGroupQueueSummaryUioToJSON;
|
|
20
|
+
exports.NodeGroupQueueSummaryUioToJSONTyped = NodeGroupQueueSummaryUioToJSONTyped;
|
|
21
|
+
const NodeGroupQueueSummaryMedianWaitMsUio_1 = require("./NodeGroupQueueSummaryMedianWaitMsUio");
|
|
22
|
+
const NodeGroupQueueSummaryWaitingForUio_1 = require("./NodeGroupQueueSummaryWaitingForUio");
|
|
23
|
+
const NodeGroupQueueSummaryNodesInnerUio_1 = require("./NodeGroupQueueSummaryNodesInnerUio");
|
|
24
|
+
const NodeGroupQueueSummaryPendingByAgentInnerUio_1 = require("./NodeGroupQueueSummaryPendingByAgentInnerUio");
|
|
25
|
+
const NodeGroupQueueSummaryEnvironmentsUio_1 = require("./NodeGroupQueueSummaryEnvironmentsUio");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the NodeGroupQueueSummaryUio interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfNodeGroupQueueSummaryUio(value) {
|
|
30
|
+
if (!('pendingCount' in value) || value['pendingCount'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('runningCount' in value) || value['runningCount'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('oldestQueuedAt' in value) || value['oldestQueuedAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('nodeCount' in value) || value['nodeCount'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('onlineNodeCount' in value) || value['onlineNodeCount'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('slots' in value) || value['slots'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('onlineSlots' in value) || value['onlineSlots'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('medianWaitMs' in value) || value['medianWaitMs'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('claimedLastDay' in value) || value['claimedLastDay'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('waitingFor' in value) || value['waitingFor'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('pendingByAgent' in value) || value['pendingByAgent'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('hiddenPendingCount' in value) || value['hiddenPendingCount'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('nodes' in value) || value['nodes'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('environments' in value) || value['environments'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
function NodeGroupQueueSummaryUioFromJSON(json) {
|
|
61
|
+
return NodeGroupQueueSummaryUioFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function NodeGroupQueueSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'pendingCount': json['pendingCount'],
|
|
69
|
+
'runningCount': json['runningCount'],
|
|
70
|
+
'oldestQueuedAt': json['oldestQueuedAt'],
|
|
71
|
+
'nodeCount': json['nodeCount'],
|
|
72
|
+
'onlineNodeCount': json['onlineNodeCount'],
|
|
73
|
+
'slots': json['slots'],
|
|
74
|
+
'onlineSlots': json['onlineSlots'],
|
|
75
|
+
'medianWaitMs': (0, NodeGroupQueueSummaryMedianWaitMsUio_1.NodeGroupQueueSummaryMedianWaitMsUioFromJSON)(json['medianWaitMs']),
|
|
76
|
+
'claimedLastDay': json['claimedLastDay'],
|
|
77
|
+
'waitingFor': (0, NodeGroupQueueSummaryWaitingForUio_1.NodeGroupQueueSummaryWaitingForUioFromJSON)(json['waitingFor']),
|
|
78
|
+
'pendingByAgent': (json['pendingByAgent'].map(NodeGroupQueueSummaryPendingByAgentInnerUio_1.NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON)),
|
|
79
|
+
'hiddenPendingCount': json['hiddenPendingCount'],
|
|
80
|
+
'nodes': (json['nodes'].map(NodeGroupQueueSummaryNodesInnerUio_1.NodeGroupQueueSummaryNodesInnerUioFromJSON)),
|
|
81
|
+
'environments': (0, NodeGroupQueueSummaryEnvironmentsUio_1.NodeGroupQueueSummaryEnvironmentsUioFromJSON)(json['environments']),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function NodeGroupQueueSummaryUioToJSON(json) {
|
|
85
|
+
return NodeGroupQueueSummaryUioToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
function NodeGroupQueueSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
'pendingCount': value['pendingCount'],
|
|
93
|
+
'runningCount': value['runningCount'],
|
|
94
|
+
'oldestQueuedAt': value['oldestQueuedAt'],
|
|
95
|
+
'nodeCount': value['nodeCount'],
|
|
96
|
+
'onlineNodeCount': value['onlineNodeCount'],
|
|
97
|
+
'slots': value['slots'],
|
|
98
|
+
'onlineSlots': value['onlineSlots'],
|
|
99
|
+
'medianWaitMs': (0, NodeGroupQueueSummaryMedianWaitMsUio_1.NodeGroupQueueSummaryMedianWaitMsUioToJSON)(value['medianWaitMs']),
|
|
100
|
+
'claimedLastDay': value['claimedLastDay'],
|
|
101
|
+
'waitingFor': (0, NodeGroupQueueSummaryWaitingForUio_1.NodeGroupQueueSummaryWaitingForUioToJSON)(value['waitingFor']),
|
|
102
|
+
'pendingByAgent': (value['pendingByAgent'].map(NodeGroupQueueSummaryPendingByAgentInnerUio_1.NodeGroupQueueSummaryPendingByAgentInnerUioToJSON)),
|
|
103
|
+
'hiddenPendingCount': value['hiddenPendingCount'],
|
|
104
|
+
'nodes': (value['nodes'].map(NodeGroupQueueSummaryNodesInnerUio_1.NodeGroupQueueSummaryNodesInnerUioToJSON)),
|
|
105
|
+
'environments': (0, NodeGroupQueueSummaryEnvironmentsUio_1.NodeGroupQueueSummaryEnvironmentsUioToJSON)(value['environments']),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -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 NodeGroupQueueSummaryWaitingForUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupQueueSummaryWaitingForUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeGroupQueueSummaryWaitingForUio
|
|
22
|
+
*/
|
|
23
|
+
free: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeGroupQueueSummaryWaitingForUio
|
|
28
|
+
*/
|
|
29
|
+
envBusy: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeGroupQueueSummaryWaitingForUio
|
|
34
|
+
*/
|
|
35
|
+
envOffline: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeGroupQueueSummaryWaitingForUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeGroupQueueSummaryWaitingForUio(value: object): value is NodeGroupQueueSummaryWaitingForUio;
|
|
41
|
+
export declare function NodeGroupQueueSummaryWaitingForUioFromJSON(json: any): NodeGroupQueueSummaryWaitingForUio;
|
|
42
|
+
export declare function NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryWaitingForUio;
|
|
43
|
+
export declare function NodeGroupQueueSummaryWaitingForUioToJSON(json: any): NodeGroupQueueSummaryWaitingForUio;
|
|
44
|
+
export declare function NodeGroupQueueSummaryWaitingForUioToJSONTyped(value?: NodeGroupQueueSummaryWaitingForUio | 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.instanceOfNodeGroupQueueSummaryWaitingForUio = instanceOfNodeGroupQueueSummaryWaitingForUio;
|
|
17
|
+
exports.NodeGroupQueueSummaryWaitingForUioFromJSON = NodeGroupQueueSummaryWaitingForUioFromJSON;
|
|
18
|
+
exports.NodeGroupQueueSummaryWaitingForUioFromJSONTyped = NodeGroupQueueSummaryWaitingForUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupQueueSummaryWaitingForUioToJSON = NodeGroupQueueSummaryWaitingForUioToJSON;
|
|
20
|
+
exports.NodeGroupQueueSummaryWaitingForUioToJSONTyped = NodeGroupQueueSummaryWaitingForUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupQueueSummaryWaitingForUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupQueueSummaryWaitingForUio(value) {
|
|
25
|
+
if (!('free' in value) || value['free'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('envBusy' in value) || value['envBusy'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('envOffline' in value) || value['envOffline'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function NodeGroupQueueSummaryWaitingForUioFromJSON(json) {
|
|
34
|
+
return NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'free': json['free'],
|
|
42
|
+
'envBusy': json['env_busy'],
|
|
43
|
+
'envOffline': json['env_offline'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function NodeGroupQueueSummaryWaitingForUioToJSON(json) {
|
|
47
|
+
return NodeGroupQueueSummaryWaitingForUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function NodeGroupQueueSummaryWaitingForUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'free': value['free'],
|
|
55
|
+
'env_busy': value['envBusy'],
|
|
56
|
+
'env_offline': value['envOffline'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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 NodeQueueTurnGroupUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeQueueTurnGroupUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeQueueTurnGroupUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeQueueTurnGroupUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NodeQueueTurnGroupUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNodeQueueTurnGroupUio(value: object): value is NodeQueueTurnGroupUio;
|
|
35
|
+
export declare function NodeQueueTurnGroupUioFromJSON(json: any): NodeQueueTurnGroupUio;
|
|
36
|
+
export declare function NodeQueueTurnGroupUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeQueueTurnGroupUio;
|
|
37
|
+
export declare function NodeQueueTurnGroupUioToJSON(json: any): NodeQueueTurnGroupUio;
|
|
38
|
+
export declare function NodeQueueTurnGroupUioToJSONTyped(value?: NodeQueueTurnGroupUio | 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.instanceOfNodeQueueTurnGroupUio = instanceOfNodeQueueTurnGroupUio;
|
|
17
|
+
exports.NodeQueueTurnGroupUioFromJSON = NodeQueueTurnGroupUioFromJSON;
|
|
18
|
+
exports.NodeQueueTurnGroupUioFromJSONTyped = NodeQueueTurnGroupUioFromJSONTyped;
|
|
19
|
+
exports.NodeQueueTurnGroupUioToJSON = NodeQueueTurnGroupUioToJSON;
|
|
20
|
+
exports.NodeQueueTurnGroupUioToJSONTyped = NodeQueueTurnGroupUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeQueueTurnGroupUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeQueueTurnGroupUio(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 NodeQueueTurnGroupUioFromJSON(json) {
|
|
32
|
+
return NodeQueueTurnGroupUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function NodeQueueTurnGroupUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function NodeQueueTurnGroupUioToJSON(json) {
|
|
44
|
+
return NodeQueueTurnGroupUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeQueueTurnGroupUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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 { NodeQueueTurnGroupUio } from './NodeQueueTurnGroupUio';
|
|
14
|
+
import type { NodeRefUio } from './NodeRefUio';
|
|
15
|
+
import type { WaitingForUio } from './WaitingForUio';
|
|
16
|
+
/**
|
|
17
|
+
* La carte d'attente du chat — où en est le tour qui complète un message.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NodeQueueTurnUio
|
|
20
|
+
*/
|
|
21
|
+
export interface NodeQueueTurnUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NodeQueueTurnUio
|
|
26
|
+
*/
|
|
27
|
+
sessionId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {NodeSessionStateUio}
|
|
31
|
+
* @memberof NodeQueueTurnUio
|
|
32
|
+
*/
|
|
33
|
+
state: NodeSessionStateUio;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NodeQueueTurnUio
|
|
38
|
+
*/
|
|
39
|
+
reason: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {NodeQueueTurnGroupUio}
|
|
43
|
+
* @memberof NodeQueueTurnUio
|
|
44
|
+
*/
|
|
45
|
+
group: NodeQueueTurnGroupUio | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {WaitingForUio}
|
|
49
|
+
* @memberof NodeQueueTurnUio
|
|
50
|
+
*/
|
|
51
|
+
waitingFor: WaitingForUio | null;
|
|
52
|
+
/**
|
|
53
|
+
* Le nœud attendu (rattachement direct, ou celui de l'environnement)
|
|
54
|
+
* @type {NodeRefUio}
|
|
55
|
+
* @memberof NodeQueueTurnUio
|
|
56
|
+
*/
|
|
57
|
+
target: NodeRefUio | null;
|
|
58
|
+
/**
|
|
59
|
+
* Fin de l'attente du nœud de l'environnement ; ensuite, un autre nœud du groupe
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof NodeQueueTurnUio
|
|
62
|
+
*/
|
|
63
|
+
targetUntil: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Le nœud qui a pris le tour
|
|
66
|
+
* @type {NodeRefUio}
|
|
67
|
+
* @memberof NodeQueueTurnUio
|
|
68
|
+
*/
|
|
69
|
+
node: NodeRefUio | null;
|
|
70
|
+
/**
|
|
71
|
+
* La place dans sa file (1 = le prochain)
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof NodeQueueTurnUio
|
|
74
|
+
*/
|
|
75
|
+
position: number | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof NodeQueueTurnUio
|
|
80
|
+
*/
|
|
81
|
+
queuedAt: string | null;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof NodeQueueTurnUio
|
|
86
|
+
*/
|
|
87
|
+
claimedAt: string | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof NodeQueueTurnUio
|
|
92
|
+
*/
|
|
93
|
+
expiresAt: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof NodeQueueTurnUio
|
|
98
|
+
*/
|
|
99
|
+
environmentId: string | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof NodeQueueTurnUio
|
|
104
|
+
*/
|
|
105
|
+
canStartElsewhere: boolean;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Check if a given object implements the NodeQueueTurnUio interface.
|
|
109
|
+
*/
|
|
110
|
+
export declare function instanceOfNodeQueueTurnUio(value: object): value is NodeQueueTurnUio;
|
|
111
|
+
export declare function NodeQueueTurnUioFromJSON(json: any): NodeQueueTurnUio;
|
|
112
|
+
export declare function NodeQueueTurnUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeQueueTurnUio;
|
|
113
|
+
export declare function NodeQueueTurnUioToJSON(json: any): NodeQueueTurnUio;
|
|
114
|
+
export declare function NodeQueueTurnUioToJSONTyped(value?: NodeQueueTurnUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,106 @@
|
|
|
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.instanceOfNodeQueueTurnUio = instanceOfNodeQueueTurnUio;
|
|
17
|
+
exports.NodeQueueTurnUioFromJSON = NodeQueueTurnUioFromJSON;
|
|
18
|
+
exports.NodeQueueTurnUioFromJSONTyped = NodeQueueTurnUioFromJSONTyped;
|
|
19
|
+
exports.NodeQueueTurnUioToJSON = NodeQueueTurnUioToJSON;
|
|
20
|
+
exports.NodeQueueTurnUioToJSONTyped = NodeQueueTurnUioToJSONTyped;
|
|
21
|
+
const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
|
|
22
|
+
const NodeQueueTurnGroupUio_1 = require("./NodeQueueTurnGroupUio");
|
|
23
|
+
const NodeRefUio_1 = require("./NodeRefUio");
|
|
24
|
+
const WaitingForUio_1 = require("./WaitingForUio");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the NodeQueueTurnUio interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfNodeQueueTurnUio(value) {
|
|
29
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('waitingFor' in value) || value['waitingFor'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('targetUntil' in value) || value['targetUntil'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('node' in value) || value['node'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('position' in value) || value['position'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('queuedAt' in value) || value['queuedAt'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('claimedAt' in value) || value['claimedAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('environmentId' in value) || value['environmentId'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('canStartElsewhere' in value) || value['canStartElsewhere'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
function NodeQueueTurnUioFromJSON(json) {
|
|
60
|
+
return NodeQueueTurnUioFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function NodeQueueTurnUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'sessionId': json['sessionId'],
|
|
68
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
|
|
69
|
+
'reason': json['reason'],
|
|
70
|
+
'group': (0, NodeQueueTurnGroupUio_1.NodeQueueTurnGroupUioFromJSON)(json['group']),
|
|
71
|
+
'waitingFor': (0, WaitingForUio_1.WaitingForUioFromJSON)(json['waitingFor']),
|
|
72
|
+
'target': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['target']),
|
|
73
|
+
'targetUntil': json['targetUntil'],
|
|
74
|
+
'node': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['node']),
|
|
75
|
+
'position': json['position'],
|
|
76
|
+
'queuedAt': json['queuedAt'],
|
|
77
|
+
'claimedAt': json['claimedAt'],
|
|
78
|
+
'expiresAt': json['expiresAt'],
|
|
79
|
+
'environmentId': json['environmentId'],
|
|
80
|
+
'canStartElsewhere': json['canStartElsewhere'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function NodeQueueTurnUioToJSON(json) {
|
|
84
|
+
return NodeQueueTurnUioToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
function NodeQueueTurnUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
87
|
+
if (value == null) {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
'sessionId': value['sessionId'],
|
|
92
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
|
|
93
|
+
'reason': value['reason'],
|
|
94
|
+
'group': (0, NodeQueueTurnGroupUio_1.NodeQueueTurnGroupUioToJSON)(value['group']),
|
|
95
|
+
'waitingFor': (0, WaitingForUio_1.WaitingForUioToJSON)(value['waitingFor']),
|
|
96
|
+
'target': (0, NodeRefUio_1.NodeRefUioToJSON)(value['target']),
|
|
97
|
+
'targetUntil': value['targetUntil'],
|
|
98
|
+
'node': (0, NodeRefUio_1.NodeRefUioToJSON)(value['node']),
|
|
99
|
+
'position': value['position'],
|
|
100
|
+
'queuedAt': value['queuedAt'],
|
|
101
|
+
'claimedAt': value['claimedAt'],
|
|
102
|
+
'expiresAt': value['expiresAt'],
|
|
103
|
+
'environmentId': value['environmentId'],
|
|
104
|
+
'canStartElsewhere': value['canStartElsewhere'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -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 NodeRefUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeRefUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeRefUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeRefUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof NodeRefUio
|
|
34
|
+
*/
|
|
35
|
+
connected: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeRefUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeRefUio(value: object): value is NodeRefUio;
|
|
41
|
+
export declare function NodeRefUioFromJSON(json: any): NodeRefUio;
|
|
42
|
+
export declare function NodeRefUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeRefUio;
|
|
43
|
+
export declare function NodeRefUioToJSON(json: any): NodeRefUio;
|
|
44
|
+
export declare function NodeRefUioToJSONTyped(value?: NodeRefUio | 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.instanceOfNodeRefUio = instanceOfNodeRefUio;
|
|
17
|
+
exports.NodeRefUioFromJSON = NodeRefUioFromJSON;
|
|
18
|
+
exports.NodeRefUioFromJSONTyped = NodeRefUioFromJSONTyped;
|
|
19
|
+
exports.NodeRefUioToJSON = NodeRefUioToJSON;
|
|
20
|
+
exports.NodeRefUioToJSONTyped = NodeRefUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeRefUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeRefUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('connected' in value) || value['connected'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function NodeRefUioFromJSON(json) {
|
|
34
|
+
return NodeRefUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function NodeRefUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'connected': json['connected'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function NodeRefUioToJSON(json) {
|
|
47
|
+
return NodeRefUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function NodeRefUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'connected': value['connected'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionDetailUio {
|
|
|
67
67
|
*/
|
|
68
68
|
state: NodeSessionStateUio;
|
|
69
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, node_dissociated (nœud retiré de l'organisation du tour)…
|
|
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, node_dissociated (nœud retiré de l'organisation du tour), queue_expired (aucun nœud ne l'a pris à temps)…
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof NodeSessionDetailUio
|
|
73
73
|
*/
|
|
@@ -121,6 +121,7 @@ export interface NodeSessionDetailUio {
|
|
|
121
121
|
export declare const NodeSessionDetailUioRuntimeEnum: {
|
|
122
122
|
readonly Claude: "claude";
|
|
123
123
|
readonly Opencode: "opencode";
|
|
124
|
+
readonly Fx: "fx";
|
|
124
125
|
};
|
|
125
126
|
export type NodeSessionDetailUioRuntimeEnum = typeof NodeSessionDetailUioRuntimeEnum[keyof typeof NodeSessionDetailUioRuntimeEnum];
|
|
126
127
|
/**
|
|
@@ -27,7 +27,8 @@ const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
|
|
|
27
27
|
*/
|
|
28
28
|
exports.NodeSessionDetailUioRuntimeEnum = {
|
|
29
29
|
Claude: 'claude',
|
|
30
|
-
Opencode: 'opencode'
|
|
30
|
+
Opencode: 'opencode',
|
|
31
|
+
Fx: 'fx'
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the NodeSessionDetailUio interface.
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* `dispatching` :
|
|
13
|
+
* `pending` : dans la file de la plateforme, pas encore pris par un nœud. `dispatching` : pris par un nœud, pas encore acquitté. Les autres suivent le nœud.
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const NodeSessionStateUio: {
|
|
17
|
+
readonly Pending: "pending";
|
|
17
18
|
readonly Dispatching: "dispatching";
|
|
18
19
|
readonly Queued: "queued";
|
|
19
20
|
readonly Running: "running";
|