@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
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfExecutionNodeOrganizationUio = instanceOfExecutionNodeOrganizationUio;
|
|
17
|
+
exports.ExecutionNodeOrganizationUioFromJSON = ExecutionNodeOrganizationUioFromJSON;
|
|
18
|
+
exports.ExecutionNodeOrganizationUioFromJSONTyped = ExecutionNodeOrganizationUioFromJSONTyped;
|
|
19
|
+
exports.ExecutionNodeOrganizationUioToJSON = ExecutionNodeOrganizationUioToJSON;
|
|
20
|
+
exports.ExecutionNodeOrganizationUioToJSONTyped = ExecutionNodeOrganizationUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ExecutionNodeOrganizationUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfExecutionNodeOrganizationUio(value) {
|
|
25
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('organizationName' in value) || value['organizationName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('associatedAt' in value) || value['associatedAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ExecutionNodeOrganizationUioFromJSON(json) {
|
|
34
|
+
return ExecutionNodeOrganizationUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ExecutionNodeOrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'organizationId': json['organizationId'],
|
|
42
|
+
'organizationName': json['organizationName'],
|
|
43
|
+
'associatedAt': json['associatedAt'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ExecutionNodeOrganizationUioToJSON(json) {
|
|
47
|
+
return ExecutionNodeOrganizationUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ExecutionNodeOrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'organizationId': value['organizationId'],
|
|
55
|
+
'organizationName': value['organizationName'],
|
|
56
|
+
'associatedAt': value['associatedAt'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { NodeAssociationPolicyUio } from './NodeAssociationPolicyUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExecutionNodeSettingsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface ExecutionNodeSettingsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {NodeAssociationPolicyUio}
|
|
22
|
+
* @memberof ExecutionNodeSettingsUio
|
|
23
|
+
*/
|
|
24
|
+
associationPolicy: NodeAssociationPolicyUio;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ExecutionNodeSettingsUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfExecutionNodeSettingsUio(value: object): value is ExecutionNodeSettingsUio;
|
|
30
|
+
export declare function ExecutionNodeSettingsUioFromJSON(json: any): ExecutionNodeSettingsUio;
|
|
31
|
+
export declare function ExecutionNodeSettingsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionNodeSettingsUio;
|
|
32
|
+
export declare function ExecutionNodeSettingsUioToJSON(json: any): ExecutionNodeSettingsUio;
|
|
33
|
+
export declare function ExecutionNodeSettingsUioToJSONTyped(value?: ExecutionNodeSettingsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfExecutionNodeSettingsUio = instanceOfExecutionNodeSettingsUio;
|
|
17
|
+
exports.ExecutionNodeSettingsUioFromJSON = ExecutionNodeSettingsUioFromJSON;
|
|
18
|
+
exports.ExecutionNodeSettingsUioFromJSONTyped = ExecutionNodeSettingsUioFromJSONTyped;
|
|
19
|
+
exports.ExecutionNodeSettingsUioToJSON = ExecutionNodeSettingsUioToJSON;
|
|
20
|
+
exports.ExecutionNodeSettingsUioToJSONTyped = ExecutionNodeSettingsUioToJSONTyped;
|
|
21
|
+
const NodeAssociationPolicyUio_1 = require("./NodeAssociationPolicyUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ExecutionNodeSettingsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfExecutionNodeSettingsUio(value) {
|
|
26
|
+
if (!('associationPolicy' in value) || value['associationPolicy'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ExecutionNodeSettingsUioFromJSON(json) {
|
|
31
|
+
return ExecutionNodeSettingsUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ExecutionNodeSettingsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'associationPolicy': (0, NodeAssociationPolicyUio_1.NodeAssociationPolicyUioFromJSON)(json['associationPolicy']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ExecutionNodeSettingsUioToJSON(json) {
|
|
42
|
+
return ExecutionNodeSettingsUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ExecutionNodeSettingsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'associationPolicy': (0, NodeAssociationPolicyUio_1.NodeAssociationPolicyUioToJSON)(value['associationPolicy']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ExecutionNodeAgentUio } from './ExecutionNodeAgentUio';
|
|
13
13
|
import type { ExecutionNodeWorkspaceUio } from './ExecutionNodeWorkspaceUio';
|
|
14
|
+
import type { ExecutionNodeOrganizationUio } from './ExecutionNodeOrganizationUio';
|
|
14
15
|
import type { ExecutionNodeRuntimeUio } from './ExecutionNodeRuntimeUio';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -78,6 +79,12 @@ export interface ExecutionNodeUio {
|
|
|
78
79
|
* @memberof ExecutionNodeUio
|
|
79
80
|
*/
|
|
80
81
|
createdAt: string;
|
|
82
|
+
/**
|
|
83
|
+
* Les organisations auxquelles le nœud est associé, par date d'association.
|
|
84
|
+
* @type {Array<ExecutionNodeOrganizationUio>}
|
|
85
|
+
* @memberof ExecutionNodeUio
|
|
86
|
+
*/
|
|
87
|
+
organizations: Array<ExecutionNodeOrganizationUio>;
|
|
81
88
|
/**
|
|
82
89
|
*
|
|
83
90
|
* @type {Array<ExecutionNodeAgentUio>}
|
|
@@ -21,6 +21,7 @@ exports.ExecutionNodeUioToJSON = ExecutionNodeUioToJSON;
|
|
|
21
21
|
exports.ExecutionNodeUioToJSONTyped = ExecutionNodeUioToJSONTyped;
|
|
22
22
|
const ExecutionNodeAgentUio_1 = require("./ExecutionNodeAgentUio");
|
|
23
23
|
const ExecutionNodeWorkspaceUio_1 = require("./ExecutionNodeWorkspaceUio");
|
|
24
|
+
const ExecutionNodeOrganizationUio_1 = require("./ExecutionNodeOrganizationUio");
|
|
24
25
|
const ExecutionNodeRuntimeUio_1 = require("./ExecutionNodeRuntimeUio");
|
|
25
26
|
/**
|
|
26
27
|
* @export
|
|
@@ -54,6 +55,8 @@ function instanceOfExecutionNodeUio(value) {
|
|
|
54
55
|
return false;
|
|
55
56
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
56
57
|
return false;
|
|
58
|
+
if (!('organizations' in value) || value['organizations'] === undefined)
|
|
59
|
+
return false;
|
|
57
60
|
return true;
|
|
58
61
|
}
|
|
59
62
|
function ExecutionNodeUioFromJSON(json) {
|
|
@@ -74,6 +77,7 @@ function ExecutionNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
77
|
'lastSeenAt': json['lastSeenAt'],
|
|
75
78
|
'revokedAt': json['revokedAt'],
|
|
76
79
|
'createdAt': json['createdAt'],
|
|
80
|
+
'organizations': (json['organizations'].map(ExecutionNodeOrganizationUio_1.ExecutionNodeOrganizationUioFromJSON)),
|
|
77
81
|
'agents': json['agents'] == null ? undefined : (json['agents'].map(ExecutionNodeAgentUio_1.ExecutionNodeAgentUioFromJSON)),
|
|
78
82
|
};
|
|
79
83
|
}
|
|
@@ -95,6 +99,7 @@ function ExecutionNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
95
99
|
'lastSeenAt': value['lastSeenAt'],
|
|
96
100
|
'revokedAt': value['revokedAt'],
|
|
97
101
|
'createdAt': value['createdAt'],
|
|
102
|
+
'organizations': (value['organizations'].map(ExecutionNodeOrganizationUio_1.ExecutionNodeOrganizationUioToJSON)),
|
|
98
103
|
'agents': value['agents'] == null ? undefined : (value['agents'].map(ExecutionNodeAgentUio_1.ExecutionNodeAgentUioToJSON)),
|
|
99
104
|
};
|
|
100
105
|
}
|
|
@@ -75,6 +75,30 @@ export interface ModelDefinitionUio {
|
|
|
75
75
|
* @memberof ModelDefinitionUio
|
|
76
76
|
*/
|
|
77
77
|
maxTokens?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Prix d'un million de tokens en entrée. Défini par le superadmin sur un moteur plateforme.
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof ModelDefinitionUio
|
|
82
|
+
*/
|
|
83
|
+
inputTokenPrice?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Prix d'un million de tokens en sortie. Les tokens de raisonnement suivent ce tarif.
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof ModelDefinitionUio
|
|
88
|
+
*/
|
|
89
|
+
outputTokenPrice?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Devise ISO du prix au token, par exemple EUR ou USD.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ModelDefinitionUio
|
|
94
|
+
*/
|
|
95
|
+
currency?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Origine du prix au token. configuration = tarifs déjà enregistrés par Breign, catalog = catalogue public, manual = saisi à la main.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ModelDefinitionUio
|
|
100
|
+
*/
|
|
101
|
+
priceSource?: ModelDefinitionUioPriceSourceEnum;
|
|
78
102
|
/**
|
|
79
103
|
*
|
|
80
104
|
* @type {{ [key: string]: any; }}
|
|
@@ -84,6 +108,15 @@ export interface ModelDefinitionUio {
|
|
|
84
108
|
[key: string]: any;
|
|
85
109
|
};
|
|
86
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export declare const ModelDefinitionUioPriceSourceEnum: {
|
|
115
|
+
readonly Configuration: "configuration";
|
|
116
|
+
readonly Catalog: "catalog";
|
|
117
|
+
readonly Manual: "manual";
|
|
118
|
+
};
|
|
119
|
+
export type ModelDefinitionUioPriceSourceEnum = typeof ModelDefinitionUioPriceSourceEnum[keyof typeof ModelDefinitionUioPriceSourceEnum];
|
|
87
120
|
/**
|
|
88
121
|
* Check if a given object implements the ModelDefinitionUio interface.
|
|
89
122
|
*/
|
|
@@ -13,11 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ModelDefinitionUioPriceSourceEnum = void 0;
|
|
16
17
|
exports.instanceOfModelDefinitionUio = instanceOfModelDefinitionUio;
|
|
17
18
|
exports.ModelDefinitionUioFromJSON = ModelDefinitionUioFromJSON;
|
|
18
19
|
exports.ModelDefinitionUioFromJSONTyped = ModelDefinitionUioFromJSONTyped;
|
|
19
20
|
exports.ModelDefinitionUioToJSON = ModelDefinitionUioToJSON;
|
|
20
21
|
exports.ModelDefinitionUioToJSONTyped = ModelDefinitionUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ModelDefinitionUioPriceSourceEnum = {
|
|
26
|
+
Configuration: 'configuration',
|
|
27
|
+
Catalog: 'catalog',
|
|
28
|
+
Manual: 'manual'
|
|
29
|
+
};
|
|
21
30
|
/**
|
|
22
31
|
* Check if a given object implements the ModelDefinitionUio interface.
|
|
23
32
|
*/
|
|
@@ -46,6 +55,10 @@ function ModelDefinitionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
55
|
'hasSpeechToText': json['hasSpeechToText'] == null ? undefined : json['hasSpeechToText'],
|
|
47
56
|
'hasOcr': json['hasOcr'] == null ? undefined : json['hasOcr'],
|
|
48
57
|
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
58
|
+
'inputTokenPrice': json['inputTokenPrice'] == null ? undefined : json['inputTokenPrice'],
|
|
59
|
+
'outputTokenPrice': json['outputTokenPrice'] == null ? undefined : json['outputTokenPrice'],
|
|
60
|
+
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
61
|
+
'priceSource': json['priceSource'] == null ? undefined : json['priceSource'],
|
|
49
62
|
'options': json['options'] == null ? undefined : json['options'],
|
|
50
63
|
};
|
|
51
64
|
}
|
|
@@ -67,6 +80,10 @@ function ModelDefinitionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
80
|
'hasSpeechToText': value['hasSpeechToText'],
|
|
68
81
|
'hasOcr': value['hasOcr'],
|
|
69
82
|
'maxTokens': value['maxTokens'],
|
|
83
|
+
'inputTokenPrice': value['inputTokenPrice'],
|
|
84
|
+
'outputTokenPrice': value['outputTokenPrice'],
|
|
85
|
+
'currency': value['currency'],
|
|
86
|
+
'priceSource': value['priceSource'],
|
|
70
87
|
'options': value['options'],
|
|
71
88
|
};
|
|
72
89
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Qui peut associer un nœud à l'organisation : tous ses membres, ses admins seulement, ou personne. Les nœuds déjà associés ne sont pas touchés par un changement.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const NodeAssociationPolicyUio: {
|
|
17
|
+
readonly Members: "members";
|
|
18
|
+
readonly Admins: "admins";
|
|
19
|
+
readonly None: "none";
|
|
20
|
+
};
|
|
21
|
+
export type NodeAssociationPolicyUio = typeof NodeAssociationPolicyUio[keyof typeof NodeAssociationPolicyUio];
|
|
22
|
+
export declare function instanceOfNodeAssociationPolicyUio(value: any): boolean;
|
|
23
|
+
export declare function NodeAssociationPolicyUioFromJSON(json: any): NodeAssociationPolicyUio;
|
|
24
|
+
export declare function NodeAssociationPolicyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeAssociationPolicyUio;
|
|
25
|
+
export declare function NodeAssociationPolicyUioToJSON(value?: NodeAssociationPolicyUio | null): any;
|
|
26
|
+
export declare function NodeAssociationPolicyUioToJSONTyped(value: any, ignoreDiscriminator: boolean): NodeAssociationPolicyUio;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NodeAssociationPolicyUio = void 0;
|
|
17
|
+
exports.instanceOfNodeAssociationPolicyUio = instanceOfNodeAssociationPolicyUio;
|
|
18
|
+
exports.NodeAssociationPolicyUioFromJSON = NodeAssociationPolicyUioFromJSON;
|
|
19
|
+
exports.NodeAssociationPolicyUioFromJSONTyped = NodeAssociationPolicyUioFromJSONTyped;
|
|
20
|
+
exports.NodeAssociationPolicyUioToJSON = NodeAssociationPolicyUioToJSON;
|
|
21
|
+
exports.NodeAssociationPolicyUioToJSONTyped = NodeAssociationPolicyUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Qui peut associer un nœud à l'organisation : tous ses membres, ses admins seulement, ou personne. Les nœuds déjà associés ne sont pas touchés par un changement.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeAssociationPolicyUio = {
|
|
27
|
+
Members: 'members',
|
|
28
|
+
Admins: 'admins',
|
|
29
|
+
None: 'none'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfNodeAssociationPolicyUio(value) {
|
|
32
|
+
for (const key in exports.NodeAssociationPolicyUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.NodeAssociationPolicyUio, key)) {
|
|
34
|
+
if (exports.NodeAssociationPolicyUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function NodeAssociationPolicyUioFromJSON(json) {
|
|
42
|
+
return NodeAssociationPolicyUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function NodeAssociationPolicyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function NodeAssociationPolicyUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function NodeAssociationPolicyUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionDetailUio {
|
|
|
67
67
|
*/
|
|
68
68
|
state: NodeSessionStateUio;
|
|
69
69
|
/**
|
|
70
|
-
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node, node_dissociated (nœud retiré de l'organisation du tour)…
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof NodeSessionDetailUio
|
|
73
73
|
*/
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionUio {
|
|
|
67
67
|
*/
|
|
68
68
|
state: NodeSessionStateUio;
|
|
69
69
|
/**
|
|
70
|
-
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node, node_dissociated (nœud retiré de l'organisation du tour)…
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof NodeSessionUio
|
|
73
73
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Ce qu'une organisation perd si on lui retire les moteurs plateforme.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganisationPlatformEngineUsageUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganisationPlatformEngineUsageUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
22
|
+
*/
|
|
23
|
+
agents: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
28
|
+
*/
|
|
29
|
+
defaultEngine: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
34
|
+
*/
|
|
35
|
+
knowledgeBases: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfOrganisationPlatformEngineUsageUio(value: object): value is OrganisationPlatformEngineUsageUio;
|
|
41
|
+
export declare function OrganisationPlatformEngineUsageUioFromJSON(json: any): OrganisationPlatformEngineUsageUio;
|
|
42
|
+
export declare function OrganisationPlatformEngineUsageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganisationPlatformEngineUsageUio;
|
|
43
|
+
export declare function OrganisationPlatformEngineUsageUioToJSON(json: any): OrganisationPlatformEngineUsageUio;
|
|
44
|
+
export declare function OrganisationPlatformEngineUsageUioToJSONTyped(value?: OrganisationPlatformEngineUsageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOrganisationPlatformEngineUsageUio = instanceOfOrganisationPlatformEngineUsageUio;
|
|
17
|
+
exports.OrganisationPlatformEngineUsageUioFromJSON = OrganisationPlatformEngineUsageUioFromJSON;
|
|
18
|
+
exports.OrganisationPlatformEngineUsageUioFromJSONTyped = OrganisationPlatformEngineUsageUioFromJSONTyped;
|
|
19
|
+
exports.OrganisationPlatformEngineUsageUioToJSON = OrganisationPlatformEngineUsageUioToJSON;
|
|
20
|
+
exports.OrganisationPlatformEngineUsageUioToJSONTyped = OrganisationPlatformEngineUsageUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganisationPlatformEngineUsageUio(value) {
|
|
25
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('defaultEngine' in value) || value['defaultEngine'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OrganisationPlatformEngineUsageUioFromJSON(json) {
|
|
34
|
+
return OrganisationPlatformEngineUsageUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OrganisationPlatformEngineUsageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'agents': json['agents'],
|
|
42
|
+
'defaultEngine': json['defaultEngine'],
|
|
43
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function OrganisationPlatformEngineUsageUioToJSON(json) {
|
|
47
|
+
return OrganisationPlatformEngineUsageUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function OrganisationPlatformEngineUsageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'agents': value['agents'],
|
|
55
|
+
'defaultEngine': value['defaultEngine'],
|
|
56
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 OrganizationExecutionNodeAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationExecutionNodeAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
22
|
+
*/
|
|
23
|
+
agentId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
28
|
+
*/
|
|
29
|
+
agentName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
34
|
+
*/
|
|
35
|
+
runtime: OrganizationExecutionNodeAgentUioRuntimeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const OrganizationExecutionNodeAgentUioRuntimeEnum: {
|
|
41
|
+
readonly Claude: "claude";
|
|
42
|
+
readonly Opencode: "opencode";
|
|
43
|
+
};
|
|
44
|
+
export type OrganizationExecutionNodeAgentUioRuntimeEnum = typeof OrganizationExecutionNodeAgentUioRuntimeEnum[keyof typeof OrganizationExecutionNodeAgentUioRuntimeEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the OrganizationExecutionNodeAgentUio interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfOrganizationExecutionNodeAgentUio(value: object): value is OrganizationExecutionNodeAgentUio;
|
|
49
|
+
export declare function OrganizationExecutionNodeAgentUioFromJSON(json: any): OrganizationExecutionNodeAgentUio;
|
|
50
|
+
export declare function OrganizationExecutionNodeAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeAgentUio;
|
|
51
|
+
export declare function OrganizationExecutionNodeAgentUioToJSON(json: any): OrganizationExecutionNodeAgentUio;
|
|
52
|
+
export declare function OrganizationExecutionNodeAgentUioToJSONTyped(value?: OrganizationExecutionNodeAgentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.OrganizationExecutionNodeAgentUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfOrganizationExecutionNodeAgentUio = instanceOfOrganizationExecutionNodeAgentUio;
|
|
18
|
+
exports.OrganizationExecutionNodeAgentUioFromJSON = OrganizationExecutionNodeAgentUioFromJSON;
|
|
19
|
+
exports.OrganizationExecutionNodeAgentUioFromJSONTyped = OrganizationExecutionNodeAgentUioFromJSONTyped;
|
|
20
|
+
exports.OrganizationExecutionNodeAgentUioToJSON = OrganizationExecutionNodeAgentUioToJSON;
|
|
21
|
+
exports.OrganizationExecutionNodeAgentUioToJSONTyped = OrganizationExecutionNodeAgentUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.OrganizationExecutionNodeAgentUioRuntimeEnum = {
|
|
26
|
+
Claude: 'claude',
|
|
27
|
+
Opencode: 'opencode'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the OrganizationExecutionNodeAgentUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfOrganizationExecutionNodeAgentUio(value) {
|
|
33
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function OrganizationExecutionNodeAgentUioFromJSON(json) {
|
|
42
|
+
return OrganizationExecutionNodeAgentUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationExecutionNodeAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'agentId': json['agentId'],
|
|
50
|
+
'agentName': json['agentName'],
|
|
51
|
+
'runtime': json['runtime'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function OrganizationExecutionNodeAgentUioToJSON(json) {
|
|
55
|
+
return OrganizationExecutionNodeAgentUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function OrganizationExecutionNodeAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'agentId': value['agentId'],
|
|
63
|
+
'agentName': value['agentName'],
|
|
64
|
+
'runtime': value['runtime'],
|
|
65
|
+
};
|
|
66
|
+
}
|