@breign/client 1.0.171 → 1.0.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AdminApi.d.ts +110 -1
- package/dist/apis/AdminApi.js +263 -0
- package/dist/apis/AiGatewayApi.d.ts +41 -5
- package/dist/apis/AiGatewayApi.js +80 -7
- package/dist/apis/ExecutionNodesApi.d.ts +165 -0
- package/dist/apis/ExecutionNodesApi.js +399 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionNodeChoiceUio.d.ts +58 -0
- package/dist/models/AgentExecutionNodeChoiceUio.js +68 -0
- package/dist/models/AgentExecutionNodeUio.d.ts +50 -0
- package/dist/models/AgentExecutionNodeUio.js +62 -0
- package/dist/models/AgentExecutionUio.d.ts +80 -0
- package/dist/models/AgentExecutionUio.js +79 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.d.ts +63 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.js +69 -0
- package/dist/models/AiGatewayUsageCostUio.d.ts +60 -0
- package/dist/models/AiGatewayUsageCostUio.js +62 -0
- package/dist/models/AiGatewayUsageUio.d.ts +7 -0
- package/dist/models/AiGatewayUsageUio.js +3 -0
- package/dist/models/AllowPlatformEnginesUio.d.ts +32 -0
- package/dist/models/AllowPlatformEnginesUio.js +50 -0
- package/dist/models/DefaultEngineRequestUio.d.ts +6 -0
- package/dist/models/DefaultEngineRequestUio.js +2 -0
- package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.d.ts +44 -0
- package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.js +58 -0
- package/dist/models/DeletePlatformEngineResponseUio.d.ts +45 -0
- package/dist/models/DeletePlatformEngineResponseUio.js +59 -0
- package/dist/models/ExecutionNodeAgentUio.d.ts +82 -0
- package/dist/models/ExecutionNodeAgentUio.js +86 -0
- package/dist/models/ExecutionNodeDetailUio.d.ts +111 -0
- package/dist/models/ExecutionNodeDetailUio.js +107 -0
- package/dist/models/ExecutionNodeRuntimeUio.d.ts +46 -0
- package/dist/models/ExecutionNodeRuntimeUio.js +60 -0
- package/dist/models/ExecutionNodeUio.d.ts +104 -0
- package/dist/models/ExecutionNodeUio.js +100 -0
- package/dist/models/ExecutionNodeWorkspaceUio.d.ts +38 -0
- package/dist/models/ExecutionNodeWorkspaceUio.js +54 -0
- package/dist/models/ModelDefinitionUio.d.ts +33 -0
- package/dist/models/ModelDefinitionUio.js +17 -0
- package/dist/models/NodeSessionDetailUio.d.ts +133 -0
- package/dist/models/NodeSessionDetailUio.js +113 -0
- package/dist/models/NodeSessionLogEntryUio.d.ts +58 -0
- package/dist/models/NodeSessionLogEntryUio.js +70 -0
- package/dist/models/NodeSessionLogsUio.d.ts +51 -0
- package/dist/models/NodeSessionLogsUio.js +63 -0
- package/dist/models/NodeSessionMetricsUio.d.ts +74 -0
- package/dist/models/NodeSessionMetricsUio.js +62 -0
- package/dist/models/NodeSessionProgressUio.d.ts +44 -0
- package/dist/models/NodeSessionProgressUio.js +54 -0
- package/dist/models/NodeSessionStateUio.d.ts +29 -0
- package/dist/models/NodeSessionStateUio.js +55 -0
- package/dist/models/NodeSessionUio.d.ts +127 -0
- package/dist/models/NodeSessionUio.js +111 -0
- package/dist/models/NodeTurnCancelResultUio.d.ts +32 -0
- package/dist/models/NodeTurnCancelResultUio.js +50 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +44 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +58 -0
- package/dist/models/OrganizationUio.d.ts +6 -0
- package/dist/models/OrganizationUio.js +2 -0
- package/dist/models/PlatformEngineUsageUio.d.ts +48 -0
- package/dist/models/PlatformEngineUsageUio.js +58 -0
- package/dist/models/ProviderCreateRequestUio.d.ts +12 -0
- package/dist/models/ProviderCreateRequestUio.js +4 -0
- package/dist/models/ProviderUio.d.ts +12 -0
- package/dist/models/ProviderUio.js +4 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +72 -0
- package/dist/models/SetAgentExecutionRequestUio.js +73 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/openapi.json +3235 -1739
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.GetAiGatewayV1ReportTagsMatchEnum = exports.GetAiGatewayV1ReportDatePartEnum = exports.GetAiGatewayV1ReportGroupByEnum = exports.GetAiGatewayMetricsGranularityEnum = exports.AiGatewayApi = void 0;
|
|
49
|
+
exports.GetAiGatewayV1ReportTagsMatchEnum = exports.GetAiGatewayV1ReportDatePartEnum = exports.GetAiGatewayV1ReportGroupByEnum = exports.GetAiGatewayMetricsGranularityEnum = exports.GetAiGatewayMetricsProviderSourceEnum = exports.AiGatewayApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const index_1 = require("../models/index");
|
|
52
52
|
/**
|
|
@@ -183,6 +183,35 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
183
183
|
async getAiGatewayCredits(organizationId, initOverrides) {
|
|
184
184
|
await this.getAiGatewayCreditsRaw({ organizationId: organizationId }, initOverrides);
|
|
185
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* Limites des modèles Breign (providerSource INTERNAL) pour une organisation. Réservé au superAdmin. La forme de la réponse est la même que les settings d\'organisation : gatewayRpm et modelTokenQuotas portent ici le périmètre Breign.
|
|
188
|
+
* Get Breign model limit settings
|
|
189
|
+
*/
|
|
190
|
+
async getAiGatewayInternalSettingsRaw(requestParameters, initOverrides) {
|
|
191
|
+
if (requestParameters['organizationId'] == null) {
|
|
192
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling getAiGatewayInternalSettings().');
|
|
193
|
+
}
|
|
194
|
+
const queryParameters = {};
|
|
195
|
+
const headerParameters = {};
|
|
196
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
197
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
198
|
+
}
|
|
199
|
+
const response = await this.request({
|
|
200
|
+
path: `/organizations/{organizationId}/ai-gateway/internal-settings`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
201
|
+
method: 'GET',
|
|
202
|
+
headers: headerParameters,
|
|
203
|
+
query: queryParameters,
|
|
204
|
+
}, initOverrides);
|
|
205
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AiGatewaySettingsUioFromJSON)(jsonValue));
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Limites des modèles Breign (providerSource INTERNAL) pour une organisation. Réservé au superAdmin. La forme de la réponse est la même que les settings d\'organisation : gatewayRpm et modelTokenQuotas portent ici le périmètre Breign.
|
|
209
|
+
* Get Breign model limit settings
|
|
210
|
+
*/
|
|
211
|
+
async getAiGatewayInternalSettings(organizationId, initOverrides) {
|
|
212
|
+
const response = await this.getAiGatewayInternalSettingsRaw({ organizationId: organizationId }, initOverrides);
|
|
213
|
+
return await response.value();
|
|
214
|
+
}
|
|
186
215
|
/**
|
|
187
216
|
* Usage de la passerelle pour l\'organisation sur une période : totaux, série temporelle et répartitions par modèle, par provider et par utilisateur. Réservé aux administrateurs de l\'organisation.
|
|
188
217
|
* Get AI gateway usage metrics
|
|
@@ -198,6 +227,9 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
198
227
|
if (requestParameters['endDate'] != null) {
|
|
199
228
|
queryParameters['endDate'] = requestParameters['endDate'].toISOString();
|
|
200
229
|
}
|
|
230
|
+
if (requestParameters['providerSource'] != null) {
|
|
231
|
+
queryParameters['providerSource'] = requestParameters['providerSource'];
|
|
232
|
+
}
|
|
201
233
|
if (requestParameters['granularity'] != null) {
|
|
202
234
|
queryParameters['granularity'] = requestParameters['granularity'];
|
|
203
235
|
}
|
|
@@ -217,8 +249,8 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
217
249
|
* Usage de la passerelle pour l\'organisation sur une période : totaux, série temporelle et répartitions par modèle, par provider et par utilisateur. Réservé aux administrateurs de l\'organisation.
|
|
218
250
|
* Get AI gateway usage metrics
|
|
219
251
|
*/
|
|
220
|
-
async getAiGatewayMetrics(organizationId, startDate, endDate, granularity, initOverrides) {
|
|
221
|
-
const response = await this.getAiGatewayMetricsRaw({ organizationId: organizationId, startDate: startDate, endDate: endDate, granularity: granularity }, initOverrides);
|
|
252
|
+
async getAiGatewayMetrics(organizationId, startDate, endDate, providerSource, granularity, initOverrides) {
|
|
253
|
+
const response = await this.getAiGatewayMetricsRaw({ organizationId: organizationId, startDate: startDate, endDate: endDate, providerSource: providerSource, granularity: granularity }, initOverrides);
|
|
222
254
|
return await response.value();
|
|
223
255
|
}
|
|
224
256
|
/**
|
|
@@ -254,7 +286,7 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
254
286
|
return await response.value();
|
|
255
287
|
}
|
|
256
288
|
/**
|
|
257
|
-
*
|
|
289
|
+
* Limites des modèles dont l\'organisation détient la clé API (providerSource EXTERNAL). Les modèles Breign se configurent via internal-settings.
|
|
258
290
|
* Get AI Gateway limits settings
|
|
259
291
|
*/
|
|
260
292
|
async getAiGatewaySettingsRaw(requestParameters, initOverrides) {
|
|
@@ -275,7 +307,7 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
275
307
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AiGatewaySettingsUioFromJSON)(jsonValue));
|
|
276
308
|
}
|
|
277
309
|
/**
|
|
278
|
-
*
|
|
310
|
+
* Limites des modèles dont l\'organisation détient la clé API (providerSource EXTERNAL). Les modèles Breign se configurent via internal-settings.
|
|
279
311
|
* Get AI Gateway limits settings
|
|
280
312
|
*/
|
|
281
313
|
async getAiGatewaySettings(organizationId, initOverrides) {
|
|
@@ -502,7 +534,41 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
502
534
|
return await response.value();
|
|
503
535
|
}
|
|
504
536
|
/**
|
|
505
|
-
*
|
|
537
|
+
* Le superAdmin fixe le RPM et les quotas des modèles Breign. Un quota visant un modèle à clé propre est refusé. N\'écrase pas les limites de l\'admin.
|
|
538
|
+
* Update Breign model limit settings
|
|
539
|
+
*/
|
|
540
|
+
async updateAiGatewayInternalSettingsRaw(requestParameters, initOverrides) {
|
|
541
|
+
if (requestParameters['organizationId'] == null) {
|
|
542
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling updateAiGatewayInternalSettings().');
|
|
543
|
+
}
|
|
544
|
+
if (requestParameters['aiGatewaySettingsUpdateRequestUio'] == null) {
|
|
545
|
+
throw new runtime.RequiredError('aiGatewaySettingsUpdateRequestUio', 'Required parameter "aiGatewaySettingsUpdateRequestUio" was null or undefined when calling updateAiGatewayInternalSettings().');
|
|
546
|
+
}
|
|
547
|
+
const queryParameters = {};
|
|
548
|
+
const headerParameters = {};
|
|
549
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
550
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
551
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
552
|
+
}
|
|
553
|
+
const response = await this.request({
|
|
554
|
+
path: `/organizations/{organizationId}/ai-gateway/internal-settings`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
555
|
+
method: 'PUT',
|
|
556
|
+
headers: headerParameters,
|
|
557
|
+
query: queryParameters,
|
|
558
|
+
body: (0, index_1.AiGatewaySettingsUpdateRequestUioToJSON)(requestParameters['aiGatewaySettingsUpdateRequestUio']),
|
|
559
|
+
}, initOverrides);
|
|
560
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AiGatewaySettingsUioFromJSON)(jsonValue));
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Le superAdmin fixe le RPM et les quotas des modèles Breign. Un quota visant un modèle à clé propre est refusé. N\'écrase pas les limites de l\'admin.
|
|
564
|
+
* Update Breign model limit settings
|
|
565
|
+
*/
|
|
566
|
+
async updateAiGatewayInternalSettings(organizationId, aiGatewaySettingsUpdateRequestUio, initOverrides) {
|
|
567
|
+
const response = await this.updateAiGatewayInternalSettingsRaw({ organizationId: organizationId, aiGatewaySettingsUpdateRequestUio: aiGatewaySettingsUpdateRequestUio }, initOverrides);
|
|
568
|
+
return await response.value();
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* L\'admin d\'organisation fixe le RPM et les quotas de ses modèles à clé propre. Un quota visant un modèle Breign est refusé.
|
|
506
572
|
* Update AI Gateway limits settings
|
|
507
573
|
*/
|
|
508
574
|
async updateAiGatewaySettingsRaw(requestParameters, initOverrides) {
|
|
@@ -528,7 +594,7 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
528
594
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AiGatewaySettingsUioFromJSON)(jsonValue));
|
|
529
595
|
}
|
|
530
596
|
/**
|
|
531
|
-
*
|
|
597
|
+
* L\'admin d\'organisation fixe le RPM et les quotas de ses modèles à clé propre. Un quota visant un modèle Breign est refusé.
|
|
532
598
|
* Update AI Gateway limits settings
|
|
533
599
|
*/
|
|
534
600
|
async updateAiGatewaySettings(organizationId, aiGatewaySettingsUpdateRequestUio, initOverrides) {
|
|
@@ -537,6 +603,13 @@ class AiGatewayApi extends runtime.BaseAPI {
|
|
|
537
603
|
}
|
|
538
604
|
}
|
|
539
605
|
exports.AiGatewayApi = AiGatewayApi;
|
|
606
|
+
/**
|
|
607
|
+
* @export
|
|
608
|
+
*/
|
|
609
|
+
exports.GetAiGatewayMetricsProviderSourceEnum = {
|
|
610
|
+
Internal: 'INTERNAL',
|
|
611
|
+
External: 'EXTERNAL'
|
|
612
|
+
};
|
|
540
613
|
/**
|
|
541
614
|
* @export
|
|
542
615
|
*/
|
|
@@ -0,0 +1,165 @@
|
|
|
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 { AgentExecutionUio, ExecutionNodeDetailUio, ExecutionNodeUio, NodeSessionDetailUio, NodeSessionLogsUio, NodeTurnCancelResultUio, SetAgentExecutionRequestUio } from '../models/index';
|
|
14
|
+
export interface CancelExecutionNodeSessionRequest {
|
|
15
|
+
nodeId: string;
|
|
16
|
+
sessionId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CancelMessageNodeTurnRequest {
|
|
19
|
+
conversationId: string;
|
|
20
|
+
messageId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GetAgentExecutionRequest {
|
|
23
|
+
agentId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetExecutionNodeRequest {
|
|
26
|
+
nodeId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface GetExecutionNodeSessionRequest {
|
|
29
|
+
nodeId: string;
|
|
30
|
+
sessionId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ListExecutionNodeSessionLogsRequest {
|
|
33
|
+
nodeId: string;
|
|
34
|
+
sessionId: string;
|
|
35
|
+
afterSeq?: number;
|
|
36
|
+
limit?: number;
|
|
37
|
+
}
|
|
38
|
+
export interface RelaunchExecutionNodeSessionRequest {
|
|
39
|
+
nodeId: string;
|
|
40
|
+
sessionId: string;
|
|
41
|
+
}
|
|
42
|
+
export interface RelaunchMessageNodeTurnRequest {
|
|
43
|
+
conversationId: string;
|
|
44
|
+
messageId: string;
|
|
45
|
+
}
|
|
46
|
+
export interface RevokeExecutionNodeRequest {
|
|
47
|
+
nodeId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface SetAgentExecutionRequest {
|
|
50
|
+
agentId: string;
|
|
51
|
+
setAgentExecutionRequestUio: SetAgentExecutionRequestUio;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
57
|
+
/**
|
|
58
|
+
* Interrompt le tour ; un tour jamais livré s\'arrête tout de suite.
|
|
59
|
+
* Stop a turn running on one of my execution nodes
|
|
60
|
+
*/
|
|
61
|
+
cancelExecutionNodeSessionRaw(requestParameters: CancelExecutionNodeSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeSessionDetailUio>>;
|
|
62
|
+
/**
|
|
63
|
+
* Interrompt le tour ; un tour jamais livré s\'arrête tout de suite.
|
|
64
|
+
* Stop a turn running on one of my execution nodes
|
|
65
|
+
*/
|
|
66
|
+
cancelExecutionNodeSession(nodeId: string, sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeSessionDetailUio>;
|
|
67
|
+
/**
|
|
68
|
+
* Depuis la conversation, pour un agent qui tourne sur un nœud Breign Mate.
|
|
69
|
+
* Stop the node turn of a message
|
|
70
|
+
*/
|
|
71
|
+
cancelMessageNodeTurnRaw(requestParameters: CancelMessageNodeTurnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeTurnCancelResultUio>>;
|
|
72
|
+
/**
|
|
73
|
+
* Depuis la conversation, pour un agent qui tourne sur un nœud Breign Mate.
|
|
74
|
+
* Stop the node turn of a message
|
|
75
|
+
*/
|
|
76
|
+
cancelMessageNodeTurn(conversationId: string, messageId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeTurnCancelResultUio>;
|
|
77
|
+
/**
|
|
78
|
+
* La section Exécution d\'un agent : serveur Breign, ou un runtime sur un nœud ; avec les nœuds de l\'utilisateur qu\'il pourrait choisir.
|
|
79
|
+
* Get where an agent runs
|
|
80
|
+
*/
|
|
81
|
+
getAgentExecutionRaw(requestParameters: GetAgentExecutionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentExecutionUio>>;
|
|
82
|
+
/**
|
|
83
|
+
* La section Exécution d\'un agent : serveur Breign, ou un runtime sur un nœud ; avec les nœuds de l\'utilisateur qu\'il pourrait choisir.
|
|
84
|
+
* Get where an agent runs
|
|
85
|
+
*/
|
|
86
|
+
getAgentExecution(agentId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentExecutionUio>;
|
|
87
|
+
/**
|
|
88
|
+
* Le détail d\'un nœud de l\'utilisateur courant, ses agents et ses derniers tours.
|
|
89
|
+
* Get one of my execution nodes
|
|
90
|
+
*/
|
|
91
|
+
getExecutionNodeRaw(requestParameters: GetExecutionNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecutionNodeDetailUio>>;
|
|
92
|
+
/**
|
|
93
|
+
* Le détail d\'un nœud de l\'utilisateur courant, ses agents et ses derniers tours.
|
|
94
|
+
* Get one of my execution nodes
|
|
95
|
+
*/
|
|
96
|
+
getExecutionNode(nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeDetailUio>;
|
|
97
|
+
/**
|
|
98
|
+
* Get a turn run on one of my execution nodes
|
|
99
|
+
*/
|
|
100
|
+
getExecutionNodeSessionRaw(requestParameters: GetExecutionNodeSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeSessionDetailUio>>;
|
|
101
|
+
/**
|
|
102
|
+
* Get a turn run on one of my execution nodes
|
|
103
|
+
*/
|
|
104
|
+
getExecutionNodeSession(nodeId: string, sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeSessionDetailUio>;
|
|
105
|
+
/**
|
|
106
|
+
* Les lignes de log remontées par le nœud après un curseur `seq`, dans l\'ordre.
|
|
107
|
+
* Page the log lines of a turn
|
|
108
|
+
*/
|
|
109
|
+
listExecutionNodeSessionLogsRaw(requestParameters: ListExecutionNodeSessionLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeSessionLogsUio>>;
|
|
110
|
+
/**
|
|
111
|
+
* Les lignes de log remontées par le nœud après un curseur `seq`, dans l\'ordre.
|
|
112
|
+
* Page the log lines of a turn
|
|
113
|
+
*/
|
|
114
|
+
listExecutionNodeSessionLogs(nodeId: string, sessionId: string, afterSeq?: number, limit?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeSessionLogsUio>;
|
|
115
|
+
/**
|
|
116
|
+
* Les nœuds d\'exécution de l\'utilisateur courant, chacun avec les agents qui lui sont rattachés.
|
|
117
|
+
* List my Breign Mate execution nodes
|
|
118
|
+
*/
|
|
119
|
+
listExecutionNodesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExecutionNodeUio>>>;
|
|
120
|
+
/**
|
|
121
|
+
* Les nœuds d\'exécution de l\'utilisateur courant, chacun avec les agents qui lui sont rattachés.
|
|
122
|
+
* List my Breign Mate execution nodes
|
|
123
|
+
*/
|
|
124
|
+
listExecutionNodes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExecutionNodeUio>>;
|
|
125
|
+
/**
|
|
126
|
+
* Relance un tour interrompu ; il repart en livraison et reprend sa session CLI.
|
|
127
|
+
* Relaunch an interrupted turn
|
|
128
|
+
*/
|
|
129
|
+
relaunchExecutionNodeSessionRaw(requestParameters: RelaunchExecutionNodeSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodeSessionDetailUio>>;
|
|
130
|
+
/**
|
|
131
|
+
* Relance un tour interrompu ; il repart en livraison et reprend sa session CLI.
|
|
132
|
+
* Relaunch an interrupted turn
|
|
133
|
+
*/
|
|
134
|
+
relaunchExecutionNodeSession(nodeId: string, sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeSessionDetailUio>;
|
|
135
|
+
/**
|
|
136
|
+
* Depuis la conversation, pour un agent qui tourne sur un nœud Breign Mate.
|
|
137
|
+
* Relaunch the interrupted node turn of a message
|
|
138
|
+
*/
|
|
139
|
+
relaunchMessageNodeTurnRaw(requestParameters: RelaunchMessageNodeTurnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
140
|
+
/**
|
|
141
|
+
* Depuis la conversation, pour un agent qui tourne sur un nœud Breign Mate.
|
|
142
|
+
* Relaunch the interrupted node turn of a message
|
|
143
|
+
*/
|
|
144
|
+
relaunchMessageNodeTurn(conversationId: string, messageId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
145
|
+
/**
|
|
146
|
+
* Révoque le nœud (désappairage) : il est refusé à jamais, ses agents repassent sur le serveur Breign, ses tours ouverts sont interrompus. La clé API n\'est pas révoquée.
|
|
147
|
+
* Unpair an execution node
|
|
148
|
+
*/
|
|
149
|
+
revokeExecutionNodeRaw(requestParameters: RevokeExecutionNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecutionNodeUio>>;
|
|
150
|
+
/**
|
|
151
|
+
* Révoque le nœud (désappairage) : il est refusé à jamais, ses agents repassent sur le serveur Breign, ses tours ouverts sont interrompus. La clé API n\'est pas révoquée.
|
|
152
|
+
* Unpair an execution node
|
|
153
|
+
*/
|
|
154
|
+
revokeExecutionNode(nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeUio>;
|
|
155
|
+
/**
|
|
156
|
+
* 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 être admin de l\'organisation (ou créateur d\'un agent personnel).
|
|
157
|
+
* Set where an agent runs
|
|
158
|
+
*/
|
|
159
|
+
setAgentExecutionRaw(requestParameters: SetAgentExecutionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentExecutionUio>>;
|
|
160
|
+
/**
|
|
161
|
+
* 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 être admin de l\'organisation (ou créateur d\'un agent personnel).
|
|
162
|
+
* Set where an agent runs
|
|
163
|
+
*/
|
|
164
|
+
setAgentExecution(agentId: string, setAgentExecutionRequestUio: SetAgentExecutionRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentExecutionUio>;
|
|
165
|
+
}
|