@breign/client 1.0.172 → 1.0.174
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 +83 -1
- package/dist/apis/ExecutionNodesApi.js +186 -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/ExecutionNodeDetailUio.d.ts +7 -0
- package/dist/models/ExecutionNodeDetailUio.js +5 -0
- package/dist/models/ExecutionNodeOrganizationUio.d.ts +44 -0
- package/dist/models/ExecutionNodeOrganizationUio.js +58 -0
- package/dist/models/ExecutionNodeSettingsUio.d.ts +33 -0
- package/dist/models/ExecutionNodeSettingsUio.js +51 -0
- package/dist/models/ExecutionNodeUio.d.ts +7 -0
- package/dist/models/ExecutionNodeUio.js +5 -0
- package/dist/models/ModelDefinitionUio.d.ts +33 -0
- package/dist/models/ModelDefinitionUio.js +17 -0
- package/dist/models/NodeAssociationPolicyUio.d.ts +26 -0
- package/dist/models/NodeAssociationPolicyUio.js +52 -0
- package/dist/models/NodeSessionDetailUio.d.ts +1 -1
- package/dist/models/NodeSessionUio.d.ts +1 -1
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +44 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +58 -0
- package/dist/models/OrganizationExecutionNodeAgentUio.d.ts +52 -0
- package/dist/models/OrganizationExecutionNodeAgentUio.js +66 -0
- package/dist/models/OrganizationExecutionNodeUio.d.ts +97 -0
- package/dist/models/OrganizationExecutionNodeUio.js +97 -0
- package/dist/models/OrganizationExecutionNodeUserUio.d.ts +38 -0
- package/dist/models/OrganizationExecutionNodeUserUio.js +54 -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/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/openapi.json +970 -33
- 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
|
*/
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AgentExecutionUio, ExecutionNodeDetailUio, ExecutionNodeUio, NodeSessionDetailUio, NodeSessionLogsUio, NodeTurnCancelResultUio, SetAgentExecutionRequestUio } from '../models/index';
|
|
13
|
+
import type { AgentExecutionUio, ExecutionNodeDetailUio, ExecutionNodeOrganizationUio, ExecutionNodeSettingsUio, ExecutionNodeUio, NodeSessionDetailUio, NodeSessionLogsUio, NodeTurnCancelResultUio, OrganizationExecutionNodeUio, SetAgentExecutionRequestUio } from '../models/index';
|
|
14
|
+
export interface AssociateExecutionNodeRequest {
|
|
15
|
+
nodeId: string;
|
|
16
|
+
organizationId: string;
|
|
17
|
+
}
|
|
14
18
|
export interface CancelExecutionNodeSessionRequest {
|
|
15
19
|
nodeId: string;
|
|
16
20
|
sessionId: string;
|
|
@@ -19,6 +23,10 @@ export interface CancelMessageNodeTurnRequest {
|
|
|
19
23
|
conversationId: string;
|
|
20
24
|
messageId: string;
|
|
21
25
|
}
|
|
26
|
+
export interface DissociateExecutionNodeRequest {
|
|
27
|
+
nodeId: string;
|
|
28
|
+
organizationId: string;
|
|
29
|
+
}
|
|
22
30
|
export interface GetAgentExecutionRequest {
|
|
23
31
|
agentId: string;
|
|
24
32
|
}
|
|
@@ -29,12 +37,18 @@ export interface GetExecutionNodeSessionRequest {
|
|
|
29
37
|
nodeId: string;
|
|
30
38
|
sessionId: string;
|
|
31
39
|
}
|
|
40
|
+
export interface GetOrganizationExecutionNodeSettingsRequest {
|
|
41
|
+
organizationId: string;
|
|
42
|
+
}
|
|
32
43
|
export interface ListExecutionNodeSessionLogsRequest {
|
|
33
44
|
nodeId: string;
|
|
34
45
|
sessionId: string;
|
|
35
46
|
afterSeq?: number;
|
|
36
47
|
limit?: number;
|
|
37
48
|
}
|
|
49
|
+
export interface ListOrganizationExecutionNodesRequest {
|
|
50
|
+
organizationId: string;
|
|
51
|
+
}
|
|
38
52
|
export interface RelaunchExecutionNodeSessionRequest {
|
|
39
53
|
nodeId: string;
|
|
40
54
|
sessionId: string;
|
|
@@ -43,6 +57,10 @@ export interface RelaunchMessageNodeTurnRequest {
|
|
|
43
57
|
conversationId: string;
|
|
44
58
|
messageId: string;
|
|
45
59
|
}
|
|
60
|
+
export interface RemoveOrganizationExecutionNodeRequest {
|
|
61
|
+
organizationId: string;
|
|
62
|
+
nodeId: string;
|
|
63
|
+
}
|
|
46
64
|
export interface RevokeExecutionNodeRequest {
|
|
47
65
|
nodeId: string;
|
|
48
66
|
}
|
|
@@ -50,10 +68,24 @@ export interface SetAgentExecutionRequest {
|
|
|
50
68
|
agentId: string;
|
|
51
69
|
setAgentExecutionRequestUio: SetAgentExecutionRequestUio;
|
|
52
70
|
}
|
|
71
|
+
export interface UpdateOrganizationExecutionNodeSettingsRequest {
|
|
72
|
+
organizationId: string;
|
|
73
|
+
executionNodeSettingsUio: ExecutionNodeSettingsUio;
|
|
74
|
+
}
|
|
53
75
|
/**
|
|
54
76
|
*
|
|
55
77
|
*/
|
|
56
78
|
export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
79
|
+
/**
|
|
80
|
+
* Associe le nœud à l\'organisation, depuis Breign Mate : ses agents pourront y tourner. Réservé au propriétaire du nœud, membre de l\'organisation — ou admin, selon le réglage de l\'organisation. Sans effet sur une association déjà posée.
|
|
81
|
+
* Associate my execution node with an organization
|
|
82
|
+
*/
|
|
83
|
+
associateExecutionNodeRaw(requestParameters: AssociateExecutionNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecutionNodeOrganizationUio>>;
|
|
84
|
+
/**
|
|
85
|
+
* Associe le nœud à l\'organisation, depuis Breign Mate : ses agents pourront y tourner. Réservé au propriétaire du nœud, membre de l\'organisation — ou admin, selon le réglage de l\'organisation. Sans effet sur une association déjà posée.
|
|
86
|
+
* Associate my execution node with an organization
|
|
87
|
+
*/
|
|
88
|
+
associateExecutionNode(nodeId: string, organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeOrganizationUio>;
|
|
57
89
|
/**
|
|
58
90
|
* Interrompt le tour ; un tour jamais livré s\'arrête tout de suite.
|
|
59
91
|
* Stop a turn running on one of my execution nodes
|
|
@@ -74,6 +106,16 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
74
106
|
* Stop the node turn of a message
|
|
75
107
|
*/
|
|
76
108
|
cancelMessageNodeTurn(conversationId: string, messageId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeTurnCancelResultUio>;
|
|
109
|
+
/**
|
|
110
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Les autres organisations du nœud ne sont pas touchées.
|
|
111
|
+
* Dissociate my execution node from an organization
|
|
112
|
+
*/
|
|
113
|
+
dissociateExecutionNodeRaw(requestParameters: DissociateExecutionNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
114
|
+
/**
|
|
115
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Les autres organisations du nœud ne sont pas touchées.
|
|
116
|
+
* Dissociate my execution node from an organization
|
|
117
|
+
*/
|
|
118
|
+
dissociateExecutionNode(nodeId: string, organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
77
119
|
/**
|
|
78
120
|
* 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
121
|
* Get where an agent runs
|
|
@@ -102,6 +144,16 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
102
144
|
* Get a turn run on one of my execution nodes
|
|
103
145
|
*/
|
|
104
146
|
getExecutionNodeSession(nodeId: string, sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeSessionDetailUio>;
|
|
147
|
+
/**
|
|
148
|
+
* Qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
149
|
+
* Get the execution node settings of an organization
|
|
150
|
+
*/
|
|
151
|
+
getOrganizationExecutionNodeSettingsRaw(requestParameters: GetOrganizationExecutionNodeSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecutionNodeSettingsUio>>;
|
|
152
|
+
/**
|
|
153
|
+
* Qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
154
|
+
* Get the execution node settings of an organization
|
|
155
|
+
*/
|
|
156
|
+
getOrganizationExecutionNodeSettings(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeSettingsUio>;
|
|
105
157
|
/**
|
|
106
158
|
* Les lignes de log remontées par le nœud après un curseur `seq`, dans l\'ordre.
|
|
107
159
|
* Page the log lines of a turn
|
|
@@ -122,6 +174,16 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
122
174
|
* List my Breign Mate execution nodes
|
|
123
175
|
*/
|
|
124
176
|
listExecutionNodes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExecutionNodeUio>>;
|
|
177
|
+
/**
|
|
178
|
+
* Les nœuds Breign Mate associés à l\'organisation, avec leur propriétaire, qui les a associés et les agents de l\'organisation qui y tournent. Réservé aux admins de l\'organisation.
|
|
179
|
+
* List the execution nodes of an organization
|
|
180
|
+
*/
|
|
181
|
+
listOrganizationExecutionNodesRaw(requestParameters: ListOrganizationExecutionNodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationExecutionNodeUio>>>;
|
|
182
|
+
/**
|
|
183
|
+
* Les nœuds Breign Mate associés à l\'organisation, avec leur propriétaire, qui les a associés et les agents de l\'organisation qui y tournent. Réservé aux admins de l\'organisation.
|
|
184
|
+
* List the execution nodes of an organization
|
|
185
|
+
*/
|
|
186
|
+
listOrganizationExecutionNodes(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationExecutionNodeUio>>;
|
|
125
187
|
/**
|
|
126
188
|
* Relance un tour interrompu ; il repart en livraison et reprend sa session CLI.
|
|
127
189
|
* Relaunch an interrupted turn
|
|
@@ -142,6 +204,16 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
142
204
|
* Relaunch the interrupted node turn of a message
|
|
143
205
|
*/
|
|
144
206
|
relaunchMessageNodeTurn(conversationId: string, messageId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Le nœud reste associé à ses autres organisations. Réservé aux admins de l\'organisation.
|
|
209
|
+
* Remove an execution node from an organization
|
|
210
|
+
*/
|
|
211
|
+
removeOrganizationExecutionNodeRaw(requestParameters: RemoveOrganizationExecutionNodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
212
|
+
/**
|
|
213
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Le nœud reste associé à ses autres organisations. Réservé aux admins de l\'organisation.
|
|
214
|
+
* Remove an execution node from an organization
|
|
215
|
+
*/
|
|
216
|
+
removeOrganizationExecutionNode(organizationId: string, nodeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
145
217
|
/**
|
|
146
218
|
* 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
219
|
* Unpair an execution node
|
|
@@ -162,4 +234,14 @@ export declare class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
162
234
|
* Set where an agent runs
|
|
163
235
|
*/
|
|
164
236
|
setAgentExecution(agentId: string, setAgentExecutionRequestUio: SetAgentExecutionRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentExecutionUio>;
|
|
237
|
+
/**
|
|
238
|
+
* Change qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
239
|
+
* Update the execution node settings of an organization
|
|
240
|
+
*/
|
|
241
|
+
updateOrganizationExecutionNodeSettingsRaw(requestParameters: UpdateOrganizationExecutionNodeSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecutionNodeSettingsUio>>;
|
|
242
|
+
/**
|
|
243
|
+
* Change qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
244
|
+
* Update the execution node settings of an organization
|
|
245
|
+
*/
|
|
246
|
+
updateOrganizationExecutionNodeSettings(organizationId: string, executionNodeSettingsUio: ExecutionNodeSettingsUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecutionNodeSettingsUio>;
|
|
165
247
|
}
|
|
@@ -53,6 +53,38 @@ const index_1 = require("../models/index");
|
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
class ExecutionNodesApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Associe le nœud à l\'organisation, depuis Breign Mate : ses agents pourront y tourner. Réservé au propriétaire du nœud, membre de l\'organisation — ou admin, selon le réglage de l\'organisation. Sans effet sur une association déjà posée.
|
|
58
|
+
* Associate my execution node with an organization
|
|
59
|
+
*/
|
|
60
|
+
async associateExecutionNodeRaw(requestParameters, initOverrides) {
|
|
61
|
+
if (requestParameters['nodeId'] == null) {
|
|
62
|
+
throw new runtime.RequiredError('nodeId', 'Required parameter "nodeId" was null or undefined when calling associateExecutionNode().');
|
|
63
|
+
}
|
|
64
|
+
if (requestParameters['organizationId'] == null) {
|
|
65
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling associateExecutionNode().');
|
|
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: `/execution-nodes/{nodeId}/organizations/{organizationId}`.replace(`{${"nodeId"}}`, encodeURIComponent(String(requestParameters['nodeId']))).replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
74
|
+
method: 'PUT',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ExecutionNodeOrganizationUioFromJSON)(jsonValue));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Associe le nœud à l\'organisation, depuis Breign Mate : ses agents pourront y tourner. Réservé au propriétaire du nœud, membre de l\'organisation — ou admin, selon le réglage de l\'organisation. Sans effet sur une association déjà posée.
|
|
82
|
+
* Associate my execution node with an organization
|
|
83
|
+
*/
|
|
84
|
+
async associateExecutionNode(nodeId, organizationId, initOverrides) {
|
|
85
|
+
const response = await this.associateExecutionNodeRaw({ nodeId: nodeId, organizationId: organizationId }, initOverrides);
|
|
86
|
+
return await response.value();
|
|
87
|
+
}
|
|
56
88
|
/**
|
|
57
89
|
* Interrompt le tour ; un tour jamais livré s\'arrête tout de suite.
|
|
58
90
|
* Stop a turn running on one of my execution nodes
|
|
@@ -117,6 +149,37 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
117
149
|
const response = await this.cancelMessageNodeTurnRaw({ conversationId: conversationId, messageId: messageId }, initOverrides);
|
|
118
150
|
return await response.value();
|
|
119
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Les autres organisations du nœud ne sont pas touchées.
|
|
154
|
+
* Dissociate my execution node from an organization
|
|
155
|
+
*/
|
|
156
|
+
async dissociateExecutionNodeRaw(requestParameters, initOverrides) {
|
|
157
|
+
if (requestParameters['nodeId'] == null) {
|
|
158
|
+
throw new runtime.RequiredError('nodeId', 'Required parameter "nodeId" was null or undefined when calling dissociateExecutionNode().');
|
|
159
|
+
}
|
|
160
|
+
if (requestParameters['organizationId'] == null) {
|
|
161
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling dissociateExecutionNode().');
|
|
162
|
+
}
|
|
163
|
+
const queryParameters = {};
|
|
164
|
+
const headerParameters = {};
|
|
165
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
166
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
167
|
+
}
|
|
168
|
+
const response = await this.request({
|
|
169
|
+
path: `/execution-nodes/{nodeId}/organizations/{organizationId}`.replace(`{${"nodeId"}}`, encodeURIComponent(String(requestParameters['nodeId']))).replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
170
|
+
method: 'DELETE',
|
|
171
|
+
headers: headerParameters,
|
|
172
|
+
query: queryParameters,
|
|
173
|
+
}, initOverrides);
|
|
174
|
+
return new runtime.VoidApiResponse(response);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Les autres organisations du nœud ne sont pas touchées.
|
|
178
|
+
* Dissociate my execution node from an organization
|
|
179
|
+
*/
|
|
180
|
+
async dissociateExecutionNode(nodeId, organizationId, initOverrides) {
|
|
181
|
+
await this.dissociateExecutionNodeRaw({ nodeId: nodeId, organizationId: organizationId }, initOverrides);
|
|
182
|
+
}
|
|
120
183
|
/**
|
|
121
184
|
* 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.
|
|
122
185
|
* Get where an agent runs
|
|
@@ -205,6 +268,35 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
205
268
|
const response = await this.getExecutionNodeSessionRaw({ nodeId: nodeId, sessionId: sessionId }, initOverrides);
|
|
206
269
|
return await response.value();
|
|
207
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* Qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
273
|
+
* Get the execution node settings of an organization
|
|
274
|
+
*/
|
|
275
|
+
async getOrganizationExecutionNodeSettingsRaw(requestParameters, initOverrides) {
|
|
276
|
+
if (requestParameters['organizationId'] == null) {
|
|
277
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling getOrganizationExecutionNodeSettings().');
|
|
278
|
+
}
|
|
279
|
+
const queryParameters = {};
|
|
280
|
+
const headerParameters = {};
|
|
281
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
282
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
283
|
+
}
|
|
284
|
+
const response = await this.request({
|
|
285
|
+
path: `/organizations/{organizationId}/execution-node-settings`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
286
|
+
method: 'GET',
|
|
287
|
+
headers: headerParameters,
|
|
288
|
+
query: queryParameters,
|
|
289
|
+
}, initOverrides);
|
|
290
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ExecutionNodeSettingsUioFromJSON)(jsonValue));
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
294
|
+
* Get the execution node settings of an organization
|
|
295
|
+
*/
|
|
296
|
+
async getOrganizationExecutionNodeSettings(organizationId, initOverrides) {
|
|
297
|
+
const response = await this.getOrganizationExecutionNodeSettingsRaw({ organizationId: organizationId }, initOverrides);
|
|
298
|
+
return await response.value();
|
|
299
|
+
}
|
|
208
300
|
/**
|
|
209
301
|
* Les lignes de log remontées par le nœud après un curseur `seq`, dans l\'ordre.
|
|
210
302
|
* Page the log lines of a turn
|
|
@@ -269,6 +361,35 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
269
361
|
const response = await this.listExecutionNodesRaw(initOverrides);
|
|
270
362
|
return await response.value();
|
|
271
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Les nœuds Breign Mate associés à l\'organisation, avec leur propriétaire, qui les a associés et les agents de l\'organisation qui y tournent. Réservé aux admins de l\'organisation.
|
|
366
|
+
* List the execution nodes of an organization
|
|
367
|
+
*/
|
|
368
|
+
async listOrganizationExecutionNodesRaw(requestParameters, initOverrides) {
|
|
369
|
+
if (requestParameters['organizationId'] == null) {
|
|
370
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling listOrganizationExecutionNodes().');
|
|
371
|
+
}
|
|
372
|
+
const queryParameters = {};
|
|
373
|
+
const headerParameters = {};
|
|
374
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
375
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
376
|
+
}
|
|
377
|
+
const response = await this.request({
|
|
378
|
+
path: `/organizations/{organizationId}/execution-nodes`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
379
|
+
method: 'GET',
|
|
380
|
+
headers: headerParameters,
|
|
381
|
+
query: queryParameters,
|
|
382
|
+
}, initOverrides);
|
|
383
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.OrganizationExecutionNodeUioFromJSON));
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Les nœuds Breign Mate associés à l\'organisation, avec leur propriétaire, qui les a associés et les agents de l\'organisation qui y tournent. Réservé aux admins de l\'organisation.
|
|
387
|
+
* List the execution nodes of an organization
|
|
388
|
+
*/
|
|
389
|
+
async listOrganizationExecutionNodes(organizationId, initOverrides) {
|
|
390
|
+
const response = await this.listOrganizationExecutionNodesRaw({ organizationId: organizationId }, initOverrides);
|
|
391
|
+
return await response.value();
|
|
392
|
+
}
|
|
272
393
|
/**
|
|
273
394
|
* Relance un tour interrompu ; il repart en livraison et reprend sa session CLI.
|
|
274
395
|
* Relaunch an interrupted turn
|
|
@@ -332,6 +453,37 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
332
453
|
async relaunchMessageNodeTurn(conversationId, messageId, initOverrides) {
|
|
333
454
|
await this.relaunchMessageNodeTurnRaw({ conversationId: conversationId, messageId: messageId }, initOverrides);
|
|
334
455
|
}
|
|
456
|
+
/**
|
|
457
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Le nœud reste associé à ses autres organisations. Réservé aux admins de l\'organisation.
|
|
458
|
+
* Remove an execution node from an organization
|
|
459
|
+
*/
|
|
460
|
+
async removeOrganizationExecutionNodeRaw(requestParameters, initOverrides) {
|
|
461
|
+
if (requestParameters['organizationId'] == null) {
|
|
462
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling removeOrganizationExecutionNode().');
|
|
463
|
+
}
|
|
464
|
+
if (requestParameters['nodeId'] == null) {
|
|
465
|
+
throw new runtime.RequiredError('nodeId', 'Required parameter "nodeId" was null or undefined when calling removeOrganizationExecutionNode().');
|
|
466
|
+
}
|
|
467
|
+
const queryParameters = {};
|
|
468
|
+
const headerParameters = {};
|
|
469
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
470
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
471
|
+
}
|
|
472
|
+
const response = await this.request({
|
|
473
|
+
path: `/organizations/{organizationId}/execution-nodes/{nodeId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))).replace(`{${"nodeId"}}`, encodeURIComponent(String(requestParameters['nodeId']))),
|
|
474
|
+
method: 'DELETE',
|
|
475
|
+
headers: headerParameters,
|
|
476
|
+
query: queryParameters,
|
|
477
|
+
}, initOverrides);
|
|
478
|
+
return new runtime.VoidApiResponse(response);
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Retire le nœud de l\'organisation : les agents de l\'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Le nœud reste associé à ses autres organisations. Réservé aux admins de l\'organisation.
|
|
482
|
+
* Remove an execution node from an organization
|
|
483
|
+
*/
|
|
484
|
+
async removeOrganizationExecutionNode(organizationId, nodeId, initOverrides) {
|
|
485
|
+
await this.removeOrganizationExecutionNodeRaw({ organizationId: organizationId, nodeId: nodeId }, initOverrides);
|
|
486
|
+
}
|
|
335
487
|
/**
|
|
336
488
|
* 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.
|
|
337
489
|
* Unpair an execution node
|
|
@@ -395,5 +547,39 @@ class ExecutionNodesApi extends runtime.BaseAPI {
|
|
|
395
547
|
const response = await this.setAgentExecutionRaw({ agentId: agentId, setAgentExecutionRequestUio: setAgentExecutionRequestUio }, initOverrides);
|
|
396
548
|
return await response.value();
|
|
397
549
|
}
|
|
550
|
+
/**
|
|
551
|
+
* Change qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
552
|
+
* Update the execution node settings of an organization
|
|
553
|
+
*/
|
|
554
|
+
async updateOrganizationExecutionNodeSettingsRaw(requestParameters, initOverrides) {
|
|
555
|
+
if (requestParameters['organizationId'] == null) {
|
|
556
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling updateOrganizationExecutionNodeSettings().');
|
|
557
|
+
}
|
|
558
|
+
if (requestParameters['executionNodeSettingsUio'] == null) {
|
|
559
|
+
throw new runtime.RequiredError('executionNodeSettingsUio', 'Required parameter "executionNodeSettingsUio" was null or undefined when calling updateOrganizationExecutionNodeSettings().');
|
|
560
|
+
}
|
|
561
|
+
const queryParameters = {};
|
|
562
|
+
const headerParameters = {};
|
|
563
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
564
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
565
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
566
|
+
}
|
|
567
|
+
const response = await this.request({
|
|
568
|
+
path: `/organizations/{organizationId}/execution-node-settings`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
569
|
+
method: 'PUT',
|
|
570
|
+
headers: headerParameters,
|
|
571
|
+
query: queryParameters,
|
|
572
|
+
body: (0, index_1.ExecutionNodeSettingsUioToJSON)(requestParameters['executionNodeSettingsUio']),
|
|
573
|
+
}, initOverrides);
|
|
574
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ExecutionNodeSettingsUioFromJSON)(jsonValue));
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Change qui peut associer un nœud à l\'organisation. Réservé aux admins de l\'organisation.
|
|
578
|
+
* Update the execution node settings of an organization
|
|
579
|
+
*/
|
|
580
|
+
async updateOrganizationExecutionNodeSettings(organizationId, executionNodeSettingsUio, initOverrides) {
|
|
581
|
+
const response = await this.updateOrganizationExecutionNodeSettingsRaw({ organizationId: organizationId, executionNodeSettingsUio: executionNodeSettingsUio }, initOverrides);
|
|
582
|
+
return await response.value();
|
|
583
|
+
}
|
|
398
584
|
}
|
|
399
585
|
exports.ExecutionNodesApi = ExecutionNodesApi;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { AiGatewayModelTokenQuotaUio } from './AiGatewayModelTokenQuotaUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewayInternalSettingsSummaryUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewayInternalSettingsSummaryUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
23
|
+
*/
|
|
24
|
+
organizationId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Max requests per minute per subject; null means unlimited
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
29
|
+
*/
|
|
30
|
+
gatewayRpm: number | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<AiGatewayModelTokenQuotaUio>}
|
|
34
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
35
|
+
*/
|
|
36
|
+
modelTokenQuotas: Array<AiGatewayModelTokenQuotaUio>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
41
|
+
*/
|
|
42
|
+
updatedAt: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
47
|
+
*/
|
|
48
|
+
updatedBy?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Usage du quota le plus entamé sur sa période en cours ; null sans quota.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof AiGatewayInternalSettingsSummaryUio
|
|
53
|
+
*/
|
|
54
|
+
maxQuotaRatio: number | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the AiGatewayInternalSettingsSummaryUio interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfAiGatewayInternalSettingsSummaryUio(value: object): value is AiGatewayInternalSettingsSummaryUio;
|
|
60
|
+
export declare function AiGatewayInternalSettingsSummaryUioFromJSON(json: any): AiGatewayInternalSettingsSummaryUio;
|
|
61
|
+
export declare function AiGatewayInternalSettingsSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayInternalSettingsSummaryUio;
|
|
62
|
+
export declare function AiGatewayInternalSettingsSummaryUioToJSON(json: any): AiGatewayInternalSettingsSummaryUio;
|
|
63
|
+
export declare function AiGatewayInternalSettingsSummaryUioToJSONTyped(value?: AiGatewayInternalSettingsSummaryUio | null, ignoreDiscriminator?: boolean): any;
|