@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,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
|
*/
|
|
@@ -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";
|
|
@@ -20,10 +20,11 @@ exports.NodeSessionStateUioFromJSONTyped = NodeSessionStateUioFromJSONTyped;
|
|
|
20
20
|
exports.NodeSessionStateUioToJSON = NodeSessionStateUioToJSON;
|
|
21
21
|
exports.NodeSessionStateUioToJSONTyped = NodeSessionStateUioToJSONTyped;
|
|
22
22
|
/**
|
|
23
|
-
* `dispatching` :
|
|
23
|
+
* `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.
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.NodeSessionStateUio = {
|
|
27
|
+
Pending: 'pending',
|
|
27
28
|
Dispatching: 'dispatching',
|
|
28
29
|
Queued: 'queued',
|
|
29
30
|
Running: 'running',
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionUio {
|
|
|
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 NodeSessionUio
|
|
73
73
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Ce qu'attend un tour de la file : `free` le premier nœud libre, `env_busy` le nœud qui garde l'environnement de la conversation (occupé), `env_offline` ce nœud, hors ligne.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const WaitingForUio: {
|
|
17
|
+
readonly Free: "free";
|
|
18
|
+
readonly EnvBusy: "env_busy";
|
|
19
|
+
readonly EnvOffline: "env_offline";
|
|
20
|
+
};
|
|
21
|
+
export type WaitingForUio = typeof WaitingForUio[keyof typeof WaitingForUio];
|
|
22
|
+
export declare function instanceOfWaitingForUio(value: any): boolean;
|
|
23
|
+
export declare function WaitingForUioFromJSON(json: any): WaitingForUio;
|
|
24
|
+
export declare function WaitingForUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaitingForUio;
|
|
25
|
+
export declare function WaitingForUioToJSON(value?: WaitingForUio | null): any;
|
|
26
|
+
export declare function WaitingForUioToJSONTyped(value: any, ignoreDiscriminator: boolean): WaitingForUio;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.WaitingForUio = void 0;
|
|
17
|
+
exports.instanceOfWaitingForUio = instanceOfWaitingForUio;
|
|
18
|
+
exports.WaitingForUioFromJSON = WaitingForUioFromJSON;
|
|
19
|
+
exports.WaitingForUioFromJSONTyped = WaitingForUioFromJSONTyped;
|
|
20
|
+
exports.WaitingForUioToJSON = WaitingForUioToJSON;
|
|
21
|
+
exports.WaitingForUioToJSONTyped = WaitingForUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Ce qu'attend un tour de la file : `free` le premier nœud libre, `env_busy` le nœud qui garde l'environnement de la conversation (occupé), `env_offline` ce nœud, hors ligne.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.WaitingForUio = {
|
|
27
|
+
Free: 'free',
|
|
28
|
+
EnvBusy: 'env_busy',
|
|
29
|
+
EnvOffline: 'env_offline'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfWaitingForUio(value) {
|
|
32
|
+
for (const key in exports.WaitingForUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.WaitingForUio, key)) {
|
|
34
|
+
if (exports.WaitingForUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function WaitingForUioFromJSON(json) {
|
|
42
|
+
return WaitingForUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function WaitingForUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function WaitingForUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function WaitingForUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -494,13 +494,36 @@ export * from './ModelUio';
|
|
|
494
494
|
export * from './ModelUserAccessUio';
|
|
495
495
|
export * from './NodeAssociationPolicyUio';
|
|
496
496
|
export * from './NodeGroupAgentUio';
|
|
497
|
+
export * from './NodeGroupBulkIdsUio';
|
|
498
|
+
export * from './NodeGroupBulkResultResultsInnerUio';
|
|
499
|
+
export * from './NodeGroupBulkResultUio';
|
|
497
500
|
export * from './NodeGroupCandidateUio';
|
|
498
501
|
export * from './NodeGroupDelaysUio';
|
|
499
502
|
export * from './NodeGroupDetailUio';
|
|
503
|
+
export * from './NodeGroupEnvironmentPageCountsUio';
|
|
504
|
+
export * from './NodeGroupEnvironmentPageUio';
|
|
505
|
+
export * from './NodeGroupEnvironmentReleaseFilterUio';
|
|
506
|
+
export * from './NodeGroupEnvironmentReleaseUio';
|
|
507
|
+
export * from './NodeGroupEnvironmentUio';
|
|
508
|
+
export * from './NodeGroupExecutionPageUio';
|
|
509
|
+
export * from './NodeGroupExecutionUio';
|
|
500
510
|
export * from './NodeGroupMemberNodeUio';
|
|
511
|
+
export * from './NodeGroupNodeOverviewOtherGroupsInnerUio';
|
|
512
|
+
export * from './NodeGroupNodeOverviewRunningInnerUio';
|
|
513
|
+
export * from './NodeGroupNodeOverviewUio';
|
|
514
|
+
export * from './NodeGroupNodePageUio';
|
|
501
515
|
export * from './NodeGroupNodeUio';
|
|
516
|
+
export * from './NodeGroupQueueSummaryEnvironmentsUio';
|
|
517
|
+
export * from './NodeGroupQueueSummaryMedianWaitMsUio';
|
|
518
|
+
export * from './NodeGroupQueueSummaryNodesInnerUio';
|
|
519
|
+
export * from './NodeGroupQueueSummaryPendingByAgentInnerUio';
|
|
520
|
+
export * from './NodeGroupQueueSummaryUio';
|
|
521
|
+
export * from './NodeGroupQueueSummaryWaitingForUio';
|
|
502
522
|
export * from './NodeGroupSummaryUio';
|
|
503
523
|
export * from './NodeGroupUio';
|
|
524
|
+
export * from './NodeQueueTurnGroupUio';
|
|
525
|
+
export * from './NodeQueueTurnUio';
|
|
526
|
+
export * from './NodeRefUio';
|
|
504
527
|
export * from './NodeSessionDetailUio';
|
|
505
528
|
export * from './NodeSessionLogEntryUio';
|
|
506
529
|
export * from './NodeSessionLogsUio';
|
|
@@ -748,6 +771,7 @@ export * from './UserQuestionAnswerUio';
|
|
|
748
771
|
export * from './UserQuestionOptionUio';
|
|
749
772
|
export * from './UserQuestionUio';
|
|
750
773
|
export * from './UserUpdateRequestUio';
|
|
774
|
+
export * from './WaitingForUio';
|
|
751
775
|
export * from './WebhookEndpointUio';
|
|
752
776
|
export * from './WebhookEndpointUpdateUio';
|
|
753
777
|
export * from './WebhookEventListUio';
|
package/dist/models/index.js
CHANGED
|
@@ -512,13 +512,36 @@ __exportStar(require("./ModelUio"), exports);
|
|
|
512
512
|
__exportStar(require("./ModelUserAccessUio"), exports);
|
|
513
513
|
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
514
514
|
__exportStar(require("./NodeGroupAgentUio"), exports);
|
|
515
|
+
__exportStar(require("./NodeGroupBulkIdsUio"), exports);
|
|
516
|
+
__exportStar(require("./NodeGroupBulkResultResultsInnerUio"), exports);
|
|
517
|
+
__exportStar(require("./NodeGroupBulkResultUio"), exports);
|
|
515
518
|
__exportStar(require("./NodeGroupCandidateUio"), exports);
|
|
516
519
|
__exportStar(require("./NodeGroupDelaysUio"), exports);
|
|
517
520
|
__exportStar(require("./NodeGroupDetailUio"), exports);
|
|
521
|
+
__exportStar(require("./NodeGroupEnvironmentPageCountsUio"), exports);
|
|
522
|
+
__exportStar(require("./NodeGroupEnvironmentPageUio"), exports);
|
|
523
|
+
__exportStar(require("./NodeGroupEnvironmentReleaseFilterUio"), exports);
|
|
524
|
+
__exportStar(require("./NodeGroupEnvironmentReleaseUio"), exports);
|
|
525
|
+
__exportStar(require("./NodeGroupEnvironmentUio"), exports);
|
|
526
|
+
__exportStar(require("./NodeGroupExecutionPageUio"), exports);
|
|
527
|
+
__exportStar(require("./NodeGroupExecutionUio"), exports);
|
|
518
528
|
__exportStar(require("./NodeGroupMemberNodeUio"), exports);
|
|
529
|
+
__exportStar(require("./NodeGroupNodeOverviewOtherGroupsInnerUio"), exports);
|
|
530
|
+
__exportStar(require("./NodeGroupNodeOverviewRunningInnerUio"), exports);
|
|
531
|
+
__exportStar(require("./NodeGroupNodeOverviewUio"), exports);
|
|
532
|
+
__exportStar(require("./NodeGroupNodePageUio"), exports);
|
|
519
533
|
__exportStar(require("./NodeGroupNodeUio"), exports);
|
|
534
|
+
__exportStar(require("./NodeGroupQueueSummaryEnvironmentsUio"), exports);
|
|
535
|
+
__exportStar(require("./NodeGroupQueueSummaryMedianWaitMsUio"), exports);
|
|
536
|
+
__exportStar(require("./NodeGroupQueueSummaryNodesInnerUio"), exports);
|
|
537
|
+
__exportStar(require("./NodeGroupQueueSummaryPendingByAgentInnerUio"), exports);
|
|
538
|
+
__exportStar(require("./NodeGroupQueueSummaryUio"), exports);
|
|
539
|
+
__exportStar(require("./NodeGroupQueueSummaryWaitingForUio"), exports);
|
|
520
540
|
__exportStar(require("./NodeGroupSummaryUio"), exports);
|
|
521
541
|
__exportStar(require("./NodeGroupUio"), exports);
|
|
542
|
+
__exportStar(require("./NodeQueueTurnGroupUio"), exports);
|
|
543
|
+
__exportStar(require("./NodeQueueTurnUio"), exports);
|
|
544
|
+
__exportStar(require("./NodeRefUio"), exports);
|
|
522
545
|
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
523
546
|
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
524
547
|
__exportStar(require("./NodeSessionLogsUio"), exports);
|
|
@@ -766,6 +789,7 @@ __exportStar(require("./UserQuestionAnswerUio"), exports);
|
|
|
766
789
|
__exportStar(require("./UserQuestionOptionUio"), exports);
|
|
767
790
|
__exportStar(require("./UserQuestionUio"), exports);
|
|
768
791
|
__exportStar(require("./UserUpdateRequestUio"), exports);
|
|
792
|
+
__exportStar(require("./WaitingForUio"), exports);
|
|
769
793
|
__exportStar(require("./WebhookEndpointUio"), exports);
|
|
770
794
|
__exportStar(require("./WebhookEndpointUpdateUio"), exports);
|
|
771
795
|
__exportStar(require("./WebhookEventListUio"), exports);
|