@breign/client 1.0.194 → 1.0.195
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 +2 -2
- package/dist/apis/ExecutionNodesApi.js +2 -2
- package/dist/apis/NodeGroupsApi.d.ts +126 -0
- package/dist/apis/NodeGroupsApi.js +304 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +46 -0
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +62 -0
- package/dist/models/AgentExecutionGroupChoiceUio.d.ts +70 -0
- package/dist/models/AgentExecutionGroupChoiceUio.js +76 -0
- package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.d.ts +44 -0
- package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.js +58 -0
- package/dist/models/AgentExecutionGroupUio.d.ts +38 -0
- package/dist/models/AgentExecutionGroupUio.js +54 -0
- package/dist/models/AgentExecutionUio.d.ts +27 -0
- package/dist/models/AgentExecutionUio.js +14 -1
- package/dist/models/CreateNodeGroupRequestUio.d.ts +56 -0
- package/dist/models/CreateNodeGroupRequestUio.js +58 -0
- package/dist/models/NodeGroupAgentUio.d.ts +58 -0
- package/dist/models/NodeGroupAgentUio.js +70 -0
- package/dist/models/NodeGroupCandidateUio.d.ts +115 -0
- package/dist/models/NodeGroupCandidateUio.js +109 -0
- package/dist/models/NodeGroupDelaysUio.d.ts +44 -0
- package/dist/models/NodeGroupDelaysUio.js +52 -0
- package/dist/models/NodeGroupDetailUio.d.ts +100 -0
- package/dist/models/NodeGroupDetailUio.js +96 -0
- package/dist/models/NodeGroupMemberNodeUio.d.ts +115 -0
- package/dist/models/NodeGroupMemberNodeUio.js +109 -0
- package/dist/models/NodeGroupNodeUio.d.ts +103 -0
- package/dist/models/NodeGroupNodeUio.js +101 -0
- package/dist/models/NodeGroupSummaryUio.d.ts +116 -0
- package/dist/models/NodeGroupSummaryUio.js +106 -0
- package/dist/models/NodeGroupUio.d.ts +86 -0
- package/dist/models/NodeGroupUio.js +86 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +20 -1
- package/dist/models/SetAgentExecutionRequestUio.js +8 -1
- package/dist/models/UpdateNodeGroupRequestUio.d.ts +56 -0
- package/dist/models/UpdateNodeGroupRequestUio.js +56 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +714 -5
- package/package.json +1 -1
|
@@ -225,12 +225,12 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
225
225
|
*/
|
|
226
226
|
revokeExecutionNode(nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeUio>;
|
|
227
227
|
/**
|
|
228
|
-
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi
|
|
228
|
+
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi `agent.update` (ou être créateur d\'un agent personnel). Un groupe de nœuds demande `agent.update` et `nodeGroup.read`.
|
|
229
229
|
* Set where an agent runs
|
|
230
230
|
*/
|
|
231
231
|
setAgentExecutionRaw(requestParameters: SetAgentExecutionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentExecutionUio>>;
|
|
232
232
|
/**
|
|
233
|
-
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi
|
|
233
|
+
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi `agent.update` (ou être créateur d\'un agent personnel). Un groupe de nœuds demande `agent.update` et `nodeGroup.read`.
|
|
234
234
|
* Set where an agent runs
|
|
235
235
|
*/
|
|
236
236
|
setAgentExecution(agentId: string, setAgentExecutionRequestUio: SetAgentExecutionRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentExecutionUio>;
|
|
@@ -514,7 +514,7 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
514
514
|
return await response.value();
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
|
-
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi
|
|
517
|
+
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi `agent.update` (ou être créateur d\'un agent personnel). Un groupe de nœuds demande `agent.update` et `nodeGroup.read`.
|
|
518
518
|
* Set where an agent runs
|
|
519
519
|
*/
|
|
520
520
|
async setAgentExecutionRaw(requestParameters, initOverrides) {
|
|
@@ -540,7 +540,7 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
540
540
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AgentExecutionUioFromJSON)(jsonValue));
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
|
-
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi
|
|
543
|
+
* Ramène l\'agent sur le serveur Breign, ou le fait tourner sur un runtime d\'un nœud. Seul le propriétaire du nœud peut le choisir, sur un runtime et un alias que le nœud a déclarés ; pour un agent partagé, il faut aussi `agent.update` (ou être créateur d\'un agent personnel). Un groupe de nœuds demande `agent.update` et `nodeGroup.read`.
|
|
544
544
|
* Set where an agent runs
|
|
545
545
|
*/
|
|
546
546
|
async setAgentExecution(agentId, setAgentExecutionRequestUio, initOverrides) {
|
|
@@ -0,0 +1,126 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { CreateNodeGroupRequestUio, NodeGroupCandidateUio, NodeGroupDetailUio, NodeGroupSummaryUio, UpdateNodeGroupRequestUio } from '../models/index';
|
|
14
|
+
export interface AddNodeGroupNodeRequest {
|
|
15
|
+
groupId: string;
|
|
16
|
+
nodeId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CreateNodeGroupRequest {
|
|
19
|
+
organizationId: string;
|
|
20
|
+
createNodeGroupRequestUio: CreateNodeGroupRequestUio;
|
|
21
|
+
}
|
|
22
|
+
export interface DeleteNodeGroupRequest {
|
|
23
|
+
groupId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetNodeGroupRequest {
|
|
26
|
+
groupId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ListNodeGroupCandidatesRequest {
|
|
29
|
+
organizationId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ListNodeGroupsRequest {
|
|
32
|
+
organizationId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface RemoveNodeGroupNodeRequest {
|
|
35
|
+
groupId: string;
|
|
36
|
+
nodeId: string;
|
|
37
|
+
}
|
|
38
|
+
export interface UpdateNodeGroupRequest {
|
|
39
|
+
groupId: string;
|
|
40
|
+
updateNodeGroupRequestUio: UpdateNodeGroupRequestUio;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export declare class NodeGroupsApi extends runtime.BaseAPI {
|
|
46
|
+
/**
|
|
47
|
+
* Ajoute un nœud associé à l\'organisation du groupe et parlant le contrat v2 ; sans effet s\'il y est déjà. Demande `nodeGroup.update`.
|
|
48
|
+
* Add a node to a node group
|
|
49
|
+
*/
|
|
50
|
+
addNodeGroupNodeRaw(requestParameters: AddNodeGroupNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeGroupDetailUio>>;
|
|
51
|
+
/**
|
|
52
|
+
* Ajoute un nœud associé à l\'organisation du groupe et parlant le contrat v2 ; sans effet s\'il y est déjà. Demande `nodeGroup.update`.
|
|
53
|
+
* Add a node to a node group
|
|
54
|
+
*/
|
|
55
|
+
addNodeGroupNode(groupId: string, nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeGroupDetailUio>;
|
|
56
|
+
/**
|
|
57
|
+
* Crée un groupe vide ; les délais absents prennent les valeurs par défaut (attente du nœud de l\'environnement 10 min, libération après 24 h, expiration de la file après 24 h). Demande `nodeGroup.create`.
|
|
58
|
+
* Create a node group
|
|
59
|
+
*/
|
|
60
|
+
createNodeGroupRaw(requestParameters: CreateNodeGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeGroupDetailUio>>;
|
|
61
|
+
/**
|
|
62
|
+
* Crée un groupe vide ; les délais absents prennent les valeurs par défaut (attente du nœud de l\'environnement 10 min, libération après 24 h, expiration de la file après 24 h). Demande `nodeGroup.create`.
|
|
63
|
+
* Create a node group
|
|
64
|
+
*/
|
|
65
|
+
createNodeGroup(organizationId: string, createNodeGroupRequestUio: CreateNodeGroupRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeGroupDetailUio>;
|
|
66
|
+
/**
|
|
67
|
+
* Supprime le groupe et ses membres. Refusé tant qu\'un agent y est rattaché. Demande `nodeGroup.delete`.
|
|
68
|
+
* Delete a node group
|
|
69
|
+
*/
|
|
70
|
+
deleteNodeGroupRaw(requestParameters: DeleteNodeGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
71
|
+
/**
|
|
72
|
+
* Supprime le groupe et ses membres. Refusé tant qu\'un agent y est rattaché. Demande `nodeGroup.delete`.
|
|
73
|
+
* Delete a node group
|
|
74
|
+
*/
|
|
75
|
+
deleteNodeGroup(groupId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Le groupe, ses nœuds et les agents qui y sont rattachés. Demande `nodeGroup.read`.
|
|
78
|
+
* Get a node group
|
|
79
|
+
*/
|
|
80
|
+
getNodeGroupRaw(requestParameters: GetNodeGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeGroupDetailUio>>;
|
|
81
|
+
/**
|
|
82
|
+
* Le groupe, ses nœuds et les agents qui y sont rattachés. Demande `nodeGroup.read`.
|
|
83
|
+
* Get a node group
|
|
84
|
+
*/
|
|
85
|
+
getNodeGroup(groupId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeGroupDetailUio>;
|
|
86
|
+
/**
|
|
87
|
+
* Les nœuds associés à l\'organisation, avec ce qui empêche chacun d\'entrer dans un groupe (un nœud doit parler le contrat v2 : Breign Mate ou Breign CLI à jour). Demande `nodeGroup.read`.
|
|
88
|
+
* List the nodes that can join a node group
|
|
89
|
+
*/
|
|
90
|
+
listNodeGroupCandidatesRaw(requestParameters: ListNodeGroupCandidatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<NodeGroupCandidateUio>>>;
|
|
91
|
+
/**
|
|
92
|
+
* Les nœuds associés à l\'organisation, avec ce qui empêche chacun d\'entrer dans un groupe (un nœud doit parler le contrat v2 : Breign Mate ou Breign CLI à jour). Demande `nodeGroup.read`.
|
|
93
|
+
* List the nodes that can join a node group
|
|
94
|
+
*/
|
|
95
|
+
listNodeGroupCandidates(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NodeGroupCandidateUio>>;
|
|
96
|
+
/**
|
|
97
|
+
* Les groupes de nœuds de l\'organisation, avec leurs nœuds (en ligne ou non), leurs emplacements et le nombre d\'agents rattachés. Demande `nodeGroup.read`.
|
|
98
|
+
* List the node groups of an organization
|
|
99
|
+
*/
|
|
100
|
+
listNodeGroupsRaw(requestParameters: ListNodeGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<NodeGroupSummaryUio>>>;
|
|
101
|
+
/**
|
|
102
|
+
* Les groupes de nœuds de l\'organisation, avec leurs nœuds (en ligne ou non), leurs emplacements et le nombre d\'agents rattachés. Demande `nodeGroup.read`.
|
|
103
|
+
* List the node groups of an organization
|
|
104
|
+
*/
|
|
105
|
+
listNodeGroups(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NodeGroupSummaryUio>>;
|
|
106
|
+
/**
|
|
107
|
+
* Retire le nœud du groupe. Demande `nodeGroup.update`.
|
|
108
|
+
* Remove a node from a node group
|
|
109
|
+
*/
|
|
110
|
+
removeNodeGroupNodeRaw(requestParameters: RemoveNodeGroupNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeGroupDetailUio>>;
|
|
111
|
+
/**
|
|
112
|
+
* Retire le nœud du groupe. Demande `nodeGroup.update`.
|
|
113
|
+
* Remove a node from a node group
|
|
114
|
+
*/
|
|
115
|
+
removeNodeGroupNode(groupId: string, nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeGroupDetailUio>;
|
|
116
|
+
/**
|
|
117
|
+
* Renomme le groupe ou change ses délais. Demande `nodeGroup.update`.
|
|
118
|
+
* Update a node group
|
|
119
|
+
*/
|
|
120
|
+
updateNodeGroupRaw(requestParameters: UpdateNodeGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeGroupDetailUio>>;
|
|
121
|
+
/**
|
|
122
|
+
* Renomme le groupe ou change ses délais. Demande `nodeGroup.update`.
|
|
123
|
+
* Update a node group
|
|
124
|
+
*/
|
|
125
|
+
updateNodeGroup(groupId: string, updateNodeGroupRequestUio: UpdateNodeGroupRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeGroupDetailUio>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,304 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.NodeGroupsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class NodeGroupsApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Ajoute un nœud associé à l\'organisation du groupe et parlant le contrat v2 ; sans effet s\'il y est déjà. Demande `nodeGroup.update`.
|
|
58
|
+
* Add a node to a node group
|
|
59
|
+
*/
|
|
60
|
+
async addNodeGroupNodeRaw(requestParameters, initOverrides) {
|
|
61
|
+
if (requestParameters['groupId'] == null) {
|
|
62
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling addNodeGroupNode().');
|
|
63
|
+
}
|
|
64
|
+
if (requestParameters['nodeId'] == null) {
|
|
65
|
+
throw new runtime.RequiredError('nodeId', 'Required parameter "nodeId" was null or undefined when calling addNodeGroupNode().');
|
|
66
|
+
}
|
|
67
|
+
const queryParameters = {};
|
|
68
|
+
const headerParameters = {};
|
|
69
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
70
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
71
|
+
}
|
|
72
|
+
const response = await this.request({
|
|
73
|
+
path: `/node-groups/{groupId}/nodes/{nodeId}`.replace(`{${"groupId"}}`, encodeURIComponent(String(requestParameters['groupId']))).replace(`{${"nodeId"}}`, encodeURIComponent(String(requestParameters['nodeId']))),
|
|
74
|
+
method: 'PUT',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NodeGroupDetailUioFromJSON)(jsonValue));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Ajoute un nœud associé à l\'organisation du groupe et parlant le contrat v2 ; sans effet s\'il y est déjà. Demande `nodeGroup.update`.
|
|
82
|
+
* Add a node to a node group
|
|
83
|
+
*/
|
|
84
|
+
async addNodeGroupNode(groupId, nodeId, initOverrides) {
|
|
85
|
+
const response = await this.addNodeGroupNodeRaw({ groupId: groupId, nodeId: nodeId }, initOverrides);
|
|
86
|
+
return await response.value();
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Crée un groupe vide ; les délais absents prennent les valeurs par défaut (attente du nœud de l\'environnement 10 min, libération après 24 h, expiration de la file après 24 h). Demande `nodeGroup.create`.
|
|
90
|
+
* Create a node group
|
|
91
|
+
*/
|
|
92
|
+
async createNodeGroupRaw(requestParameters, initOverrides) {
|
|
93
|
+
if (requestParameters['organizationId'] == null) {
|
|
94
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling createNodeGroup().');
|
|
95
|
+
}
|
|
96
|
+
if (requestParameters['createNodeGroupRequestUio'] == null) {
|
|
97
|
+
throw new runtime.RequiredError('createNodeGroupRequestUio', 'Required parameter "createNodeGroupRequestUio" was null or undefined when calling createNodeGroup().');
|
|
98
|
+
}
|
|
99
|
+
const queryParameters = {};
|
|
100
|
+
const headerParameters = {};
|
|
101
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
102
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
103
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
104
|
+
}
|
|
105
|
+
const response = await this.request({
|
|
106
|
+
path: `/organizations/{organizationId}/node-groups`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
107
|
+
method: 'POST',
|
|
108
|
+
headers: headerParameters,
|
|
109
|
+
query: queryParameters,
|
|
110
|
+
body: (0, index_1.CreateNodeGroupRequestUioToJSON)(requestParameters['createNodeGroupRequestUio']),
|
|
111
|
+
}, initOverrides);
|
|
112
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NodeGroupDetailUioFromJSON)(jsonValue));
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Crée un groupe vide ; les délais absents prennent les valeurs par défaut (attente du nœud de l\'environnement 10 min, libération après 24 h, expiration de la file après 24 h). Demande `nodeGroup.create`.
|
|
116
|
+
* Create a node group
|
|
117
|
+
*/
|
|
118
|
+
async createNodeGroup(organizationId, createNodeGroupRequestUio, initOverrides) {
|
|
119
|
+
const response = await this.createNodeGroupRaw({ organizationId: organizationId, createNodeGroupRequestUio: createNodeGroupRequestUio }, initOverrides);
|
|
120
|
+
return await response.value();
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Supprime le groupe et ses membres. Refusé tant qu\'un agent y est rattaché. Demande `nodeGroup.delete`.
|
|
124
|
+
* Delete a node group
|
|
125
|
+
*/
|
|
126
|
+
async deleteNodeGroupRaw(requestParameters, initOverrides) {
|
|
127
|
+
if (requestParameters['groupId'] == null) {
|
|
128
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling deleteNodeGroup().');
|
|
129
|
+
}
|
|
130
|
+
const queryParameters = {};
|
|
131
|
+
const headerParameters = {};
|
|
132
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
133
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
134
|
+
}
|
|
135
|
+
const response = await this.request({
|
|
136
|
+
path: `/node-groups/{groupId}`.replace(`{${"groupId"}}`, encodeURIComponent(String(requestParameters['groupId']))),
|
|
137
|
+
method: 'DELETE',
|
|
138
|
+
headers: headerParameters,
|
|
139
|
+
query: queryParameters,
|
|
140
|
+
}, initOverrides);
|
|
141
|
+
return new runtime.VoidApiResponse(response);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Supprime le groupe et ses membres. Refusé tant qu\'un agent y est rattaché. Demande `nodeGroup.delete`.
|
|
145
|
+
* Delete a node group
|
|
146
|
+
*/
|
|
147
|
+
async deleteNodeGroup(groupId, initOverrides) {
|
|
148
|
+
await this.deleteNodeGroupRaw({ groupId: groupId }, initOverrides);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Le groupe, ses nœuds et les agents qui y sont rattachés. Demande `nodeGroup.read`.
|
|
152
|
+
* Get a node group
|
|
153
|
+
*/
|
|
154
|
+
async getNodeGroupRaw(requestParameters, initOverrides) {
|
|
155
|
+
if (requestParameters['groupId'] == null) {
|
|
156
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling getNodeGroup().');
|
|
157
|
+
}
|
|
158
|
+
const queryParameters = {};
|
|
159
|
+
const headerParameters = {};
|
|
160
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
161
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
162
|
+
}
|
|
163
|
+
const response = await this.request({
|
|
164
|
+
path: `/node-groups/{groupId}`.replace(`{${"groupId"}}`, encodeURIComponent(String(requestParameters['groupId']))),
|
|
165
|
+
method: 'GET',
|
|
166
|
+
headers: headerParameters,
|
|
167
|
+
query: queryParameters,
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NodeGroupDetailUioFromJSON)(jsonValue));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Le groupe, ses nœuds et les agents qui y sont rattachés. Demande `nodeGroup.read`.
|
|
173
|
+
* Get a node group
|
|
174
|
+
*/
|
|
175
|
+
async getNodeGroup(groupId, initOverrides) {
|
|
176
|
+
const response = await this.getNodeGroupRaw({ groupId: groupId }, initOverrides);
|
|
177
|
+
return await response.value();
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Les nœuds associés à l\'organisation, avec ce qui empêche chacun d\'entrer dans un groupe (un nœud doit parler le contrat v2 : Breign Mate ou Breign CLI à jour). Demande `nodeGroup.read`.
|
|
181
|
+
* List the nodes that can join a node group
|
|
182
|
+
*/
|
|
183
|
+
async listNodeGroupCandidatesRaw(requestParameters, initOverrides) {
|
|
184
|
+
if (requestParameters['organizationId'] == null) {
|
|
185
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling listNodeGroupCandidates().');
|
|
186
|
+
}
|
|
187
|
+
const queryParameters = {};
|
|
188
|
+
const headerParameters = {};
|
|
189
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
190
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
191
|
+
}
|
|
192
|
+
const response = await this.request({
|
|
193
|
+
path: `/organizations/{organizationId}/node-group-candidates`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
194
|
+
method: 'GET',
|
|
195
|
+
headers: headerParameters,
|
|
196
|
+
query: queryParameters,
|
|
197
|
+
}, initOverrides);
|
|
198
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NodeGroupCandidateUioFromJSON));
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Les nœuds associés à l\'organisation, avec ce qui empêche chacun d\'entrer dans un groupe (un nœud doit parler le contrat v2 : Breign Mate ou Breign CLI à jour). Demande `nodeGroup.read`.
|
|
202
|
+
* List the nodes that can join a node group
|
|
203
|
+
*/
|
|
204
|
+
async listNodeGroupCandidates(organizationId, initOverrides) {
|
|
205
|
+
const response = await this.listNodeGroupCandidatesRaw({ organizationId: organizationId }, initOverrides);
|
|
206
|
+
return await response.value();
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Les groupes de nœuds de l\'organisation, avec leurs nœuds (en ligne ou non), leurs emplacements et le nombre d\'agents rattachés. Demande `nodeGroup.read`.
|
|
210
|
+
* List the node groups of an organization
|
|
211
|
+
*/
|
|
212
|
+
async listNodeGroupsRaw(requestParameters, initOverrides) {
|
|
213
|
+
if (requestParameters['organizationId'] == null) {
|
|
214
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling listNodeGroups().');
|
|
215
|
+
}
|
|
216
|
+
const queryParameters = {};
|
|
217
|
+
const headerParameters = {};
|
|
218
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
219
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
220
|
+
}
|
|
221
|
+
const response = await this.request({
|
|
222
|
+
path: `/organizations/{organizationId}/node-groups`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
223
|
+
method: 'GET',
|
|
224
|
+
headers: headerParameters,
|
|
225
|
+
query: queryParameters,
|
|
226
|
+
}, initOverrides);
|
|
227
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NodeGroupSummaryUioFromJSON));
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Les groupes de nœuds de l\'organisation, avec leurs nœuds (en ligne ou non), leurs emplacements et le nombre d\'agents rattachés. Demande `nodeGroup.read`.
|
|
231
|
+
* List the node groups of an organization
|
|
232
|
+
*/
|
|
233
|
+
async listNodeGroups(organizationId, initOverrides) {
|
|
234
|
+
const response = await this.listNodeGroupsRaw({ organizationId: organizationId }, initOverrides);
|
|
235
|
+
return await response.value();
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Retire le nœud du groupe. Demande `nodeGroup.update`.
|
|
239
|
+
* Remove a node from a node group
|
|
240
|
+
*/
|
|
241
|
+
async removeNodeGroupNodeRaw(requestParameters, initOverrides) {
|
|
242
|
+
if (requestParameters['groupId'] == null) {
|
|
243
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling removeNodeGroupNode().');
|
|
244
|
+
}
|
|
245
|
+
if (requestParameters['nodeId'] == null) {
|
|
246
|
+
throw new runtime.RequiredError('nodeId', 'Required parameter "nodeId" was null or undefined when calling removeNodeGroupNode().');
|
|
247
|
+
}
|
|
248
|
+
const queryParameters = {};
|
|
249
|
+
const headerParameters = {};
|
|
250
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
251
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
252
|
+
}
|
|
253
|
+
const response = await this.request({
|
|
254
|
+
path: `/node-groups/{groupId}/nodes/{nodeId}`.replace(`{${"groupId"}}`, encodeURIComponent(String(requestParameters['groupId']))).replace(`{${"nodeId"}}`, encodeURIComponent(String(requestParameters['nodeId']))),
|
|
255
|
+
method: 'DELETE',
|
|
256
|
+
headers: headerParameters,
|
|
257
|
+
query: queryParameters,
|
|
258
|
+
}, initOverrides);
|
|
259
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NodeGroupDetailUioFromJSON)(jsonValue));
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Retire le nœud du groupe. Demande `nodeGroup.update`.
|
|
263
|
+
* Remove a node from a node group
|
|
264
|
+
*/
|
|
265
|
+
async removeNodeGroupNode(groupId, nodeId, initOverrides) {
|
|
266
|
+
const response = await this.removeNodeGroupNodeRaw({ groupId: groupId, nodeId: nodeId }, initOverrides);
|
|
267
|
+
return await response.value();
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Renomme le groupe ou change ses délais. Demande `nodeGroup.update`.
|
|
271
|
+
* Update a node group
|
|
272
|
+
*/
|
|
273
|
+
async updateNodeGroupRaw(requestParameters, initOverrides) {
|
|
274
|
+
if (requestParameters['groupId'] == null) {
|
|
275
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling updateNodeGroup().');
|
|
276
|
+
}
|
|
277
|
+
if (requestParameters['updateNodeGroupRequestUio'] == null) {
|
|
278
|
+
throw new runtime.RequiredError('updateNodeGroupRequestUio', 'Required parameter "updateNodeGroupRequestUio" was null or undefined when calling updateNodeGroup().');
|
|
279
|
+
}
|
|
280
|
+
const queryParameters = {};
|
|
281
|
+
const headerParameters = {};
|
|
282
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
283
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
284
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
285
|
+
}
|
|
286
|
+
const response = await this.request({
|
|
287
|
+
path: `/node-groups/{groupId}`.replace(`{${"groupId"}}`, encodeURIComponent(String(requestParameters['groupId']))),
|
|
288
|
+
method: 'PATCH',
|
|
289
|
+
headers: headerParameters,
|
|
290
|
+
query: queryParameters,
|
|
291
|
+
body: (0, index_1.UpdateNodeGroupRequestUioToJSON)(requestParameters['updateNodeGroupRequestUio']),
|
|
292
|
+
}, initOverrides);
|
|
293
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NodeGroupDetailUioFromJSON)(jsonValue));
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Renomme le groupe ou change ses délais. Demande `nodeGroup.update`.
|
|
297
|
+
* Update a node group
|
|
298
|
+
*/
|
|
299
|
+
async updateNodeGroup(groupId, updateNodeGroupRequestUio, initOverrides) {
|
|
300
|
+
const response = await this.updateNodeGroupRaw({ groupId: groupId, updateNodeGroupRequestUio: updateNodeGroupRequestUio }, initOverrides);
|
|
301
|
+
return await response.value();
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.NodeGroupsApi = NodeGroupsApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './LibraryAgentsApi';
|
|
|
22
22
|
export * from './ManifestsApi';
|
|
23
23
|
export * from './McpApi';
|
|
24
24
|
export * from './MetricsApi';
|
|
25
|
+
export * from './NodeGroupsApi';
|
|
25
26
|
export * from './OauthProviderApi';
|
|
26
27
|
export * from './OrganizationsApi';
|
|
27
28
|
export * from './ProjectsApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -40,6 +40,7 @@ __exportStar(require("./LibraryAgentsApi"), exports);
|
|
|
40
40
|
__exportStar(require("./ManifestsApi"), exports);
|
|
41
41
|
__exportStar(require("./McpApi"), exports);
|
|
42
42
|
__exportStar(require("./MetricsApi"), exports);
|
|
43
|
+
__exportStar(require("./NodeGroupsApi"), exports);
|
|
43
44
|
__exportStar(require("./OauthProviderApi"), exports);
|
|
44
45
|
__exportStar(require("./OrganizationsApi"), exports);
|
|
45
46
|
__exportStar(require("./ProjectsApi"), exports);
|
|
@@ -0,0 +1,46 @@
|
|
|
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 AgentExecutionGroupChoiceRuntimesInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentExecutionGroupChoiceRuntimesInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentExecutionGroupChoiceRuntimesInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: AgentExecutionGroupChoiceRuntimesInnerUioIdEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AgentExecutionGroupChoiceRuntimesInnerUio
|
|
28
|
+
*/
|
|
29
|
+
nodeCount: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const AgentExecutionGroupChoiceRuntimesInnerUioIdEnum: {
|
|
35
|
+
readonly Claude: "claude";
|
|
36
|
+
readonly Opencode: "opencode";
|
|
37
|
+
};
|
|
38
|
+
export type AgentExecutionGroupChoiceRuntimesInnerUioIdEnum = typeof AgentExecutionGroupChoiceRuntimesInnerUioIdEnum[keyof typeof AgentExecutionGroupChoiceRuntimesInnerUioIdEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AgentExecutionGroupChoiceRuntimesInnerUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAgentExecutionGroupChoiceRuntimesInnerUio(value: object): value is AgentExecutionGroupChoiceRuntimesInnerUio;
|
|
43
|
+
export declare function AgentExecutionGroupChoiceRuntimesInnerUioFromJSON(json: any): AgentExecutionGroupChoiceRuntimesInnerUio;
|
|
44
|
+
export declare function AgentExecutionGroupChoiceRuntimesInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentExecutionGroupChoiceRuntimesInnerUio;
|
|
45
|
+
export declare function AgentExecutionGroupChoiceRuntimesInnerUioToJSON(json: any): AgentExecutionGroupChoiceRuntimesInnerUio;
|
|
46
|
+
export declare function AgentExecutionGroupChoiceRuntimesInnerUioToJSONTyped(value?: AgentExecutionGroupChoiceRuntimesInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioIdEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentExecutionGroupChoiceRuntimesInnerUio = instanceOfAgentExecutionGroupChoiceRuntimesInnerUio;
|
|
18
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioFromJSON = AgentExecutionGroupChoiceRuntimesInnerUioFromJSON;
|
|
19
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioFromJSONTyped = AgentExecutionGroupChoiceRuntimesInnerUioFromJSONTyped;
|
|
20
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioToJSON = AgentExecutionGroupChoiceRuntimesInnerUioToJSON;
|
|
21
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioToJSONTyped = AgentExecutionGroupChoiceRuntimesInnerUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentExecutionGroupChoiceRuntimesInnerUioIdEnum = {
|
|
26
|
+
Claude: 'claude',
|
|
27
|
+
Opencode: 'opencode'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AgentExecutionGroupChoiceRuntimesInnerUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAgentExecutionGroupChoiceRuntimesInnerUio(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('nodeCount' in value) || value['nodeCount'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AgentExecutionGroupChoiceRuntimesInnerUioFromJSON(json) {
|
|
40
|
+
return AgentExecutionGroupChoiceRuntimesInnerUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AgentExecutionGroupChoiceRuntimesInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'nodeCount': json['nodeCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function AgentExecutionGroupChoiceRuntimesInnerUioToJSON(json) {
|
|
52
|
+
return AgentExecutionGroupChoiceRuntimesInnerUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function AgentExecutionGroupChoiceRuntimesInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'nodeCount': value['nodeCount'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { AgentExecutionGroupChoiceWorkspacesInnerUio } from './AgentExecutionGroupChoiceWorkspacesInnerUio';
|
|
13
|
+
import type { AgentExecutionGroupChoiceRuntimesInnerUio } from './AgentExecutionGroupChoiceRuntimesInnerUio';
|
|
14
|
+
/**
|
|
15
|
+
* Un groupe que l'utilisateur peut choisir pour l'agent, avec ce que ses nœuds portent.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AgentExecutionGroupChoiceUio
|
|
18
|
+
*/
|
|
19
|
+
export interface AgentExecutionGroupChoiceUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
36
|
+
*/
|
|
37
|
+
nodeCount: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
42
|
+
*/
|
|
43
|
+
onlineNodeCount: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
48
|
+
*/
|
|
49
|
+
envWaitMs: number | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<AgentExecutionGroupChoiceRuntimesInnerUio>}
|
|
53
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
54
|
+
*/
|
|
55
|
+
runtimes: Array<AgentExecutionGroupChoiceRuntimesInnerUio>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<AgentExecutionGroupChoiceWorkspacesInnerUio>}
|
|
59
|
+
* @memberof AgentExecutionGroupChoiceUio
|
|
60
|
+
*/
|
|
61
|
+
workspaces: Array<AgentExecutionGroupChoiceWorkspacesInnerUio>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the AgentExecutionGroupChoiceUio interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfAgentExecutionGroupChoiceUio(value: object): value is AgentExecutionGroupChoiceUio;
|
|
67
|
+
export declare function AgentExecutionGroupChoiceUioFromJSON(json: any): AgentExecutionGroupChoiceUio;
|
|
68
|
+
export declare function AgentExecutionGroupChoiceUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentExecutionGroupChoiceUio;
|
|
69
|
+
export declare function AgentExecutionGroupChoiceUioToJSON(json: any): AgentExecutionGroupChoiceUio;
|
|
70
|
+
export declare function AgentExecutionGroupChoiceUioToJSONTyped(value?: AgentExecutionGroupChoiceUio | null, ignoreDiscriminator?: boolean): any;
|