@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,97 @@
|
|
|
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 { OrganizationExecutionNodeUserUio } from './OrganizationExecutionNodeUserUio';
|
|
13
|
+
import type { OrganizationExecutionNodeAgentUio } from './OrganizationExecutionNodeAgentUio';
|
|
14
|
+
/**
|
|
15
|
+
* Un nœud associé à l'organisation, vu par ses admins.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OrganizationExecutionNodeUio
|
|
18
|
+
*/
|
|
19
|
+
export interface OrganizationExecutionNodeUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof OrganizationExecutionNodeUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof OrganizationExecutionNodeUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OrganizationExecutionNodeUio
|
|
36
|
+
*/
|
|
37
|
+
os: OrganizationExecutionNodeUioOsEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof OrganizationExecutionNodeUio
|
|
42
|
+
*/
|
|
43
|
+
appVersion: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof OrganizationExecutionNodeUio
|
|
48
|
+
*/
|
|
49
|
+
connected: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof OrganizationExecutionNodeUio
|
|
54
|
+
*/
|
|
55
|
+
lastSeenAt: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {OrganizationExecutionNodeUserUio}
|
|
59
|
+
* @memberof OrganizationExecutionNodeUio
|
|
60
|
+
*/
|
|
61
|
+
owner: OrganizationExecutionNodeUserUio;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {OrganizationExecutionNodeUserUio}
|
|
65
|
+
* @memberof OrganizationExecutionNodeUio
|
|
66
|
+
*/
|
|
67
|
+
associatedBy: OrganizationExecutionNodeUserUio;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof OrganizationExecutionNodeUio
|
|
72
|
+
*/
|
|
73
|
+
associatedAt: string;
|
|
74
|
+
/**
|
|
75
|
+
* Les agents de cette organisation rattachés au nœud ; ceux des autres n'y figurent pas.
|
|
76
|
+
* @type {Array<OrganizationExecutionNodeAgentUio>}
|
|
77
|
+
* @memberof OrganizationExecutionNodeUio
|
|
78
|
+
*/
|
|
79
|
+
agents: Array<OrganizationExecutionNodeAgentUio>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const OrganizationExecutionNodeUioOsEnum: {
|
|
85
|
+
readonly Macos: "macos";
|
|
86
|
+
readonly Windows: "windows";
|
|
87
|
+
readonly Linux: "linux";
|
|
88
|
+
};
|
|
89
|
+
export type OrganizationExecutionNodeUioOsEnum = typeof OrganizationExecutionNodeUioOsEnum[keyof typeof OrganizationExecutionNodeUioOsEnum];
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the OrganizationExecutionNodeUio interface.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instanceOfOrganizationExecutionNodeUio(value: object): value is OrganizationExecutionNodeUio;
|
|
94
|
+
export declare function OrganizationExecutionNodeUioFromJSON(json: any): OrganizationExecutionNodeUio;
|
|
95
|
+
export declare function OrganizationExecutionNodeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeUio;
|
|
96
|
+
export declare function OrganizationExecutionNodeUioToJSON(json: any): OrganizationExecutionNodeUio;
|
|
97
|
+
export declare function OrganizationExecutionNodeUioToJSONTyped(value?: OrganizationExecutionNodeUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
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.OrganizationExecutionNodeUioOsEnum = void 0;
|
|
17
|
+
exports.instanceOfOrganizationExecutionNodeUio = instanceOfOrganizationExecutionNodeUio;
|
|
18
|
+
exports.OrganizationExecutionNodeUioFromJSON = OrganizationExecutionNodeUioFromJSON;
|
|
19
|
+
exports.OrganizationExecutionNodeUioFromJSONTyped = OrganizationExecutionNodeUioFromJSONTyped;
|
|
20
|
+
exports.OrganizationExecutionNodeUioToJSON = OrganizationExecutionNodeUioToJSON;
|
|
21
|
+
exports.OrganizationExecutionNodeUioToJSONTyped = OrganizationExecutionNodeUioToJSONTyped;
|
|
22
|
+
const OrganizationExecutionNodeUserUio_1 = require("./OrganizationExecutionNodeUserUio");
|
|
23
|
+
const OrganizationExecutionNodeAgentUio_1 = require("./OrganizationExecutionNodeAgentUio");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.OrganizationExecutionNodeUioOsEnum = {
|
|
28
|
+
Macos: 'macos',
|
|
29
|
+
Windows: 'windows',
|
|
30
|
+
Linux: 'linux'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationExecutionNodeUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfOrganizationExecutionNodeUio(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('os' in value) || value['os'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('appVersion' in value) || value['appVersion'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('connected' in value) || value['connected'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('owner' in value) || value['owner'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('associatedBy' in value) || value['associatedBy'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('associatedAt' in value) || value['associatedAt'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function OrganizationExecutionNodeUioFromJSON(json) {
|
|
59
|
+
return OrganizationExecutionNodeUioFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function OrganizationExecutionNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'name': json['name'],
|
|
68
|
+
'os': json['os'],
|
|
69
|
+
'appVersion': json['appVersion'],
|
|
70
|
+
'connected': json['connected'],
|
|
71
|
+
'lastSeenAt': json['lastSeenAt'],
|
|
72
|
+
'owner': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioFromJSON)(json['owner']),
|
|
73
|
+
'associatedBy': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioFromJSON)(json['associatedBy']),
|
|
74
|
+
'associatedAt': json['associatedAt'],
|
|
75
|
+
'agents': (json['agents'].map(OrganizationExecutionNodeAgentUio_1.OrganizationExecutionNodeAgentUioFromJSON)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function OrganizationExecutionNodeUioToJSON(json) {
|
|
79
|
+
return OrganizationExecutionNodeUioToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function OrganizationExecutionNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'os': value['os'],
|
|
89
|
+
'appVersion': value['appVersion'],
|
|
90
|
+
'connected': value['connected'],
|
|
91
|
+
'lastSeenAt': value['lastSeenAt'],
|
|
92
|
+
'owner': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioToJSON)(value['owner']),
|
|
93
|
+
'associatedBy': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioToJSON)(value['associatedBy']),
|
|
94
|
+
'associatedAt': value['associatedAt'],
|
|
95
|
+
'agents': (value['agents'].map(OrganizationExecutionNodeAgentUio_1.OrganizationExecutionNodeAgentUioToJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 OrganizationExecutionNodeUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationExecutionNodeUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationExecutionNodeUserUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationExecutionNodeUserUio
|
|
28
|
+
*/
|
|
29
|
+
email: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationExecutionNodeUserUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationExecutionNodeUserUio(value: object): value is OrganizationExecutionNodeUserUio;
|
|
35
|
+
export declare function OrganizationExecutionNodeUserUioFromJSON(json: any): OrganizationExecutionNodeUserUio;
|
|
36
|
+
export declare function OrganizationExecutionNodeUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeUserUio;
|
|
37
|
+
export declare function OrganizationExecutionNodeUserUioToJSON(json: any): OrganizationExecutionNodeUserUio;
|
|
38
|
+
export declare function OrganizationExecutionNodeUserUioToJSONTyped(value?: OrganizationExecutionNodeUserUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfOrganizationExecutionNodeUserUio = instanceOfOrganizationExecutionNodeUserUio;
|
|
17
|
+
exports.OrganizationExecutionNodeUserUioFromJSON = OrganizationExecutionNodeUserUioFromJSON;
|
|
18
|
+
exports.OrganizationExecutionNodeUserUioFromJSONTyped = OrganizationExecutionNodeUserUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationExecutionNodeUserUioToJSON = OrganizationExecutionNodeUserUioToJSON;
|
|
20
|
+
exports.OrganizationExecutionNodeUserUioToJSONTyped = OrganizationExecutionNodeUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationExecutionNodeUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationExecutionNodeUserUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function OrganizationExecutionNodeUserUioFromJSON(json) {
|
|
32
|
+
return OrganizationExecutionNodeUserUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function OrganizationExecutionNodeUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function OrganizationExecutionNodeUserUioToJSON(json) {
|
|
44
|
+
return OrganizationExecutionNodeUserUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function OrganizationExecutionNodeUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'email': value['email'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -48,6 +48,12 @@ export interface OrganizationUio {
|
|
|
48
48
|
* @memberof OrganizationUio
|
|
49
49
|
*/
|
|
50
50
|
ocr?: OrganizationOcrConfigUio | null;
|
|
51
|
+
/**
|
|
52
|
+
* L'organisation peut choisir les moteurs plateforme Breign.
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof OrganizationUio
|
|
55
|
+
*/
|
|
56
|
+
allowPlatformEngines?: boolean;
|
|
51
57
|
/**
|
|
52
58
|
*
|
|
53
59
|
* @type {Array<OrganizationUserUio>}
|
|
@@ -46,6 +46,7 @@ function OrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'slug': json['slug'],
|
|
47
47
|
'engine': json['engine'] == null ? undefined : (0, OrganizationEngineUio_1.OrganizationEngineUioFromJSON)(json['engine']),
|
|
48
48
|
'ocr': json['ocr'] == null ? undefined : (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioFromJSON)(json['ocr']),
|
|
49
|
+
'allowPlatformEngines': json['allowPlatformEngines'] == null ? undefined : json['allowPlatformEngines'],
|
|
49
50
|
'users': json['users'] == null ? undefined : (json['users'].map(OrganizationUserUio_1.OrganizationUserUioFromJSON)),
|
|
50
51
|
};
|
|
51
52
|
}
|
|
@@ -62,6 +63,7 @@ function OrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
63
|
'slug': value['slug'],
|
|
63
64
|
'engine': (0, OrganizationEngineUio_1.OrganizationEngineUioToJSON)(value['engine']),
|
|
64
65
|
'ocr': (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioToJSON)(value['ocr']),
|
|
66
|
+
'allowPlatformEngines': value['allowPlatformEngines'],
|
|
65
67
|
'users': value['users'] == null ? undefined : (value['users'].map(OrganizationUserUio_1.OrganizationUserUioToJSON)),
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 qui dépend d'un moteur plateforme, toutes organisations confondues.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PlatformEngineUsageUio
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformEngineUsageUio {
|
|
18
|
+
/**
|
|
19
|
+
* Agents branchés sur chaque modèle, par `modelId` du fournisseur.
|
|
20
|
+
* @type {{ [key: string]: number; }}
|
|
21
|
+
* @memberof PlatformEngineUsageUio
|
|
22
|
+
*/
|
|
23
|
+
agentsByModel: {
|
|
24
|
+
[key: string]: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Organisations dont c'est le moteur par défaut, par `modelId` du fournisseur.
|
|
28
|
+
* @type {{ [key: string]: number; }}
|
|
29
|
+
* @memberof PlatformEngineUsageUio
|
|
30
|
+
*/
|
|
31
|
+
defaultEnginesByModel: {
|
|
32
|
+
[key: string]: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Bases de connaissances indexées avec ses embeddings.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PlatformEngineUsageUio
|
|
38
|
+
*/
|
|
39
|
+
knowledgeBases: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the PlatformEngineUsageUio interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfPlatformEngineUsageUio(value: object): value is PlatformEngineUsageUio;
|
|
45
|
+
export declare function PlatformEngineUsageUioFromJSON(json: any): PlatformEngineUsageUio;
|
|
46
|
+
export declare function PlatformEngineUsageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformEngineUsageUio;
|
|
47
|
+
export declare function PlatformEngineUsageUioToJSON(json: any): PlatformEngineUsageUio;
|
|
48
|
+
export declare function PlatformEngineUsageUioToJSONTyped(value?: PlatformEngineUsageUio | 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.instanceOfPlatformEngineUsageUio = instanceOfPlatformEngineUsageUio;
|
|
17
|
+
exports.PlatformEngineUsageUioFromJSON = PlatformEngineUsageUioFromJSON;
|
|
18
|
+
exports.PlatformEngineUsageUioFromJSONTyped = PlatformEngineUsageUioFromJSONTyped;
|
|
19
|
+
exports.PlatformEngineUsageUioToJSON = PlatformEngineUsageUioToJSON;
|
|
20
|
+
exports.PlatformEngineUsageUioToJSONTyped = PlatformEngineUsageUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PlatformEngineUsageUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPlatformEngineUsageUio(value) {
|
|
25
|
+
if (!('agentsByModel' in value) || value['agentsByModel'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('defaultEnginesByModel' in value) || value['defaultEnginesByModel'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PlatformEngineUsageUioFromJSON(json) {
|
|
34
|
+
return PlatformEngineUsageUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PlatformEngineUsageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'agentsByModel': json['agentsByModel'],
|
|
42
|
+
'defaultEnginesByModel': json['defaultEnginesByModel'],
|
|
43
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PlatformEngineUsageUioToJSON(json) {
|
|
47
|
+
return PlatformEngineUsageUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PlatformEngineUsageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'agentsByModel': value['agentsByModel'],
|
|
55
|
+
'defaultEnginesByModel': value['defaultEnginesByModel'],
|
|
56
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -53,6 +53,18 @@ export interface ProviderCreateRequestUio {
|
|
|
53
53
|
* @memberof ProviderCreateRequestUio
|
|
54
54
|
*/
|
|
55
55
|
providerSource?: ProviderCreateRequestUioProviderSourceEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Moteur plateforme dont la clé d'API appartient à Breign. Il est proposé aux organisations autorisées et n'est pas modifiable par elles.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ProviderCreateRequestUio
|
|
60
|
+
*/
|
|
61
|
+
isPlatform?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProviderCreateRequestUio
|
|
66
|
+
*/
|
|
67
|
+
organizationId?: string | null;
|
|
56
68
|
}
|
|
57
69
|
/**
|
|
58
70
|
* @export
|
|
@@ -54,6 +54,8 @@ function ProviderCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
55
55
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
56
56
|
'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
|
|
57
|
+
'isPlatform': json['isPlatform'] == null ? undefined : json['isPlatform'],
|
|
58
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
function ProviderCreateRequestUioToJSON(json) {
|
|
@@ -70,5 +72,7 @@ function ProviderCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
70
72
|
'apiKey': value['apiKey'],
|
|
71
73
|
'endpoint': value['endpoint'],
|
|
72
74
|
'providerSource': value['providerSource'],
|
|
75
|
+
'isPlatform': value['isPlatform'],
|
|
76
|
+
'organizationId': value['organizationId'],
|
|
73
77
|
};
|
|
74
78
|
}
|
|
@@ -53,6 +53,18 @@ export interface ProviderUio {
|
|
|
53
53
|
* @memberof ProviderUio
|
|
54
54
|
*/
|
|
55
55
|
providerSource?: ProviderUioProviderSourceEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Moteur plateforme dont la clé d'API appartient à Breign. Il est proposé aux organisations autorisées et n'est pas modifiable par elles.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ProviderUio
|
|
60
|
+
*/
|
|
61
|
+
isPlatform?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProviderUio
|
|
66
|
+
*/
|
|
67
|
+
organizationId?: string | null;
|
|
56
68
|
/**
|
|
57
69
|
*
|
|
58
70
|
* @type {string}
|
|
@@ -58,6 +58,8 @@ function ProviderUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
59
59
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
60
60
|
'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
|
|
61
|
+
'isPlatform': json['isPlatform'] == null ? undefined : json['isPlatform'],
|
|
62
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
61
63
|
'id': json['id'],
|
|
62
64
|
'createdAt': json['createdAt'],
|
|
63
65
|
};
|
|
@@ -76,6 +78,8 @@ function ProviderUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
78
|
'apiKey': value['apiKey'],
|
|
77
79
|
'endpoint': value['endpoint'],
|
|
78
80
|
'providerSource': value['providerSource'],
|
|
81
|
+
'isPlatform': value['isPlatform'],
|
|
82
|
+
'organizationId': value['organizationId'],
|
|
79
83
|
'id': value['id'],
|
|
80
84
|
'createdAt': value['createdAt'],
|
|
81
85
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export * from './AiGatewayChatCompletionResponseUio';
|
|
|
92
92
|
export * from './AiGatewayEmbeddingRequestUio';
|
|
93
93
|
export * from './AiGatewayEmbeddingResponseUio';
|
|
94
94
|
export * from './AiGatewayErrorUio';
|
|
95
|
+
export * from './AiGatewayInternalSettingsSummaryUio';
|
|
95
96
|
export * from './AiGatewayMessageUio';
|
|
96
97
|
export * from './AiGatewayModelListDataInnerUio';
|
|
97
98
|
export * from './AiGatewayModelListUio';
|
|
@@ -100,6 +101,7 @@ export * from './AiGatewayModelUio';
|
|
|
100
101
|
export * from './AiGatewaySettingsUio';
|
|
101
102
|
export * from './AiGatewaySettingsUpdateRequestUio';
|
|
102
103
|
export * from './AiGatewayUsageBreakdownItemUio';
|
|
104
|
+
export * from './AiGatewayUsageCostUio';
|
|
103
105
|
export * from './AiGatewayUsagePointUio';
|
|
104
106
|
export * from './AiGatewayUsageTotalUio';
|
|
105
107
|
export * from './AiGatewayUsageUio';
|
|
@@ -116,6 +118,7 @@ export * from './AiGatewayV1ModelPricingUio';
|
|
|
116
118
|
export * from './AiGatewayV1ModelUio';
|
|
117
119
|
export * from './AiGatewayV1ReportRowUio';
|
|
118
120
|
export * from './AiGatewayV1ReportUio';
|
|
121
|
+
export * from './AllowPlatformEnginesUio';
|
|
119
122
|
export * from './AnimationCreateRequestUio';
|
|
120
123
|
export * from './AnimationUio';
|
|
121
124
|
export * from './AnonymizationStatusUio';
|
|
@@ -236,6 +239,8 @@ export * from './DefaultEngineRequestUio';
|
|
|
236
239
|
export * from './DeleteKnowledgeSitePage200ResponseUio';
|
|
237
240
|
export * from './DeleteMessageAudio200ResponseUio';
|
|
238
241
|
export * from './DeleteOrganizationUser200ResponseUio';
|
|
242
|
+
export * from './DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio';
|
|
243
|
+
export * from './DeletePlatformEngineResponseUio';
|
|
239
244
|
export * from './DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio';
|
|
240
245
|
export * from './DeleteProvider200ResponseUio';
|
|
241
246
|
export * from './EditConversationWorkspaceFileContent409ResponseUio';
|
|
@@ -251,7 +256,9 @@ export * from './EphemeralInstancesMetricsResponseUio';
|
|
|
251
256
|
export * from './EphemeralInstancesTimeSeriesPointUio';
|
|
252
257
|
export * from './ExecutionNodeAgentUio';
|
|
253
258
|
export * from './ExecutionNodeDetailUio';
|
|
259
|
+
export * from './ExecutionNodeOrganizationUio';
|
|
254
260
|
export * from './ExecutionNodeRuntimeUio';
|
|
261
|
+
export * from './ExecutionNodeSettingsUio';
|
|
255
262
|
export * from './ExecutionNodeUio';
|
|
256
263
|
export * from './ExecutionNodeWorkspaceUio';
|
|
257
264
|
export * from './FileAttachmentCreateRequestUio';
|
|
@@ -401,6 +408,7 @@ export * from './ModelConsumptionItemUio';
|
|
|
401
408
|
export * from './ModelConsumptionSliceUio';
|
|
402
409
|
export * from './ModelDefinitionUio';
|
|
403
410
|
export * from './ModelUio';
|
|
411
|
+
export * from './NodeAssociationPolicyUio';
|
|
404
412
|
export * from './NodeSessionDetailUio';
|
|
405
413
|
export * from './NodeSessionLogEntryUio';
|
|
406
414
|
export * from './NodeSessionLogsUio';
|
|
@@ -416,7 +424,11 @@ export * from './OpenAiChatCompletionResponseUio';
|
|
|
416
424
|
export * from './OrgUsageMetricsResponseTotalUio';
|
|
417
425
|
export * from './OrgUsageMetricsResponseUio';
|
|
418
426
|
export * from './OrgUsageTimeSeriesPointUio';
|
|
427
|
+
export * from './OrganisationPlatformEngineUsageUio';
|
|
419
428
|
export * from './OrganizationEngineUio';
|
|
429
|
+
export * from './OrganizationExecutionNodeAgentUio';
|
|
430
|
+
export * from './OrganizationExecutionNodeUio';
|
|
431
|
+
export * from './OrganizationExecutionNodeUserUio';
|
|
420
432
|
export * from './OrganizationMemberUio';
|
|
421
433
|
export * from './OrganizationMemberUserUio';
|
|
422
434
|
export * from './OrganizationModelConsumptionTotalUio';
|
|
@@ -433,6 +445,7 @@ export * from './PatchKnowledgeFileRequestUio';
|
|
|
433
445
|
export * from './PermissionEntryUio';
|
|
434
446
|
export * from './PersonaUio';
|
|
435
447
|
export * from './PinRequestUio';
|
|
448
|
+
export * from './PlatformEngineUsageUio';
|
|
436
449
|
export * from './PriceConfigurationModelConfigUio';
|
|
437
450
|
export * from './PriceConfigurationModelUio';
|
|
438
451
|
export * from './PriceConfigurationUio';
|
package/dist/models/index.js
CHANGED
|
@@ -110,6 +110,7 @@ __exportStar(require("./AiGatewayChatCompletionResponseUio"), exports);
|
|
|
110
110
|
__exportStar(require("./AiGatewayEmbeddingRequestUio"), exports);
|
|
111
111
|
__exportStar(require("./AiGatewayEmbeddingResponseUio"), exports);
|
|
112
112
|
__exportStar(require("./AiGatewayErrorUio"), exports);
|
|
113
|
+
__exportStar(require("./AiGatewayInternalSettingsSummaryUio"), exports);
|
|
113
114
|
__exportStar(require("./AiGatewayMessageUio"), exports);
|
|
114
115
|
__exportStar(require("./AiGatewayModelListDataInnerUio"), exports);
|
|
115
116
|
__exportStar(require("./AiGatewayModelListUio"), exports);
|
|
@@ -118,6 +119,7 @@ __exportStar(require("./AiGatewayModelUio"), exports);
|
|
|
118
119
|
__exportStar(require("./AiGatewaySettingsUio"), exports);
|
|
119
120
|
__exportStar(require("./AiGatewaySettingsUpdateRequestUio"), exports);
|
|
120
121
|
__exportStar(require("./AiGatewayUsageBreakdownItemUio"), exports);
|
|
122
|
+
__exportStar(require("./AiGatewayUsageCostUio"), exports);
|
|
121
123
|
__exportStar(require("./AiGatewayUsagePointUio"), exports);
|
|
122
124
|
__exportStar(require("./AiGatewayUsageTotalUio"), exports);
|
|
123
125
|
__exportStar(require("./AiGatewayUsageUio"), exports);
|
|
@@ -134,6 +136,7 @@ __exportStar(require("./AiGatewayV1ModelPricingUio"), exports);
|
|
|
134
136
|
__exportStar(require("./AiGatewayV1ModelUio"), exports);
|
|
135
137
|
__exportStar(require("./AiGatewayV1ReportRowUio"), exports);
|
|
136
138
|
__exportStar(require("./AiGatewayV1ReportUio"), exports);
|
|
139
|
+
__exportStar(require("./AllowPlatformEnginesUio"), exports);
|
|
137
140
|
__exportStar(require("./AnimationCreateRequestUio"), exports);
|
|
138
141
|
__exportStar(require("./AnimationUio"), exports);
|
|
139
142
|
__exportStar(require("./AnonymizationStatusUio"), exports);
|
|
@@ -254,6 +257,8 @@ __exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
|
254
257
|
__exportStar(require("./DeleteKnowledgeSitePage200ResponseUio"), exports);
|
|
255
258
|
__exportStar(require("./DeleteMessageAudio200ResponseUio"), exports);
|
|
256
259
|
__exportStar(require("./DeleteOrganizationUser200ResponseUio"), exports);
|
|
260
|
+
__exportStar(require("./DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio"), exports);
|
|
261
|
+
__exportStar(require("./DeletePlatformEngineResponseUio"), exports);
|
|
257
262
|
__exportStar(require("./DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio"), exports);
|
|
258
263
|
__exportStar(require("./DeleteProvider200ResponseUio"), exports);
|
|
259
264
|
__exportStar(require("./EditConversationWorkspaceFileContent409ResponseUio"), exports);
|
|
@@ -269,7 +274,9 @@ __exportStar(require("./EphemeralInstancesMetricsResponseUio"), exports);
|
|
|
269
274
|
__exportStar(require("./EphemeralInstancesTimeSeriesPointUio"), exports);
|
|
270
275
|
__exportStar(require("./ExecutionNodeAgentUio"), exports);
|
|
271
276
|
__exportStar(require("./ExecutionNodeDetailUio"), exports);
|
|
277
|
+
__exportStar(require("./ExecutionNodeOrganizationUio"), exports);
|
|
272
278
|
__exportStar(require("./ExecutionNodeRuntimeUio"), exports);
|
|
279
|
+
__exportStar(require("./ExecutionNodeSettingsUio"), exports);
|
|
273
280
|
__exportStar(require("./ExecutionNodeUio"), exports);
|
|
274
281
|
__exportStar(require("./ExecutionNodeWorkspaceUio"), exports);
|
|
275
282
|
__exportStar(require("./FileAttachmentCreateRequestUio"), exports);
|
|
@@ -419,6 +426,7 @@ __exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
|
419
426
|
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
420
427
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
421
428
|
__exportStar(require("./ModelUio"), exports);
|
|
429
|
+
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
422
430
|
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
423
431
|
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
424
432
|
__exportStar(require("./NodeSessionLogsUio"), exports);
|
|
@@ -434,7 +442,11 @@ __exportStar(require("./OpenAiChatCompletionResponseUio"), exports);
|
|
|
434
442
|
__exportStar(require("./OrgUsageMetricsResponseTotalUio"), exports);
|
|
435
443
|
__exportStar(require("./OrgUsageMetricsResponseUio"), exports);
|
|
436
444
|
__exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
445
|
+
__exportStar(require("./OrganisationPlatformEngineUsageUio"), exports);
|
|
437
446
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
447
|
+
__exportStar(require("./OrganizationExecutionNodeAgentUio"), exports);
|
|
448
|
+
__exportStar(require("./OrganizationExecutionNodeUio"), exports);
|
|
449
|
+
__exportStar(require("./OrganizationExecutionNodeUserUio"), exports);
|
|
438
450
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
439
451
|
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
440
452
|
__exportStar(require("./OrganizationModelConsumptionTotalUio"), exports);
|
|
@@ -451,6 +463,7 @@ __exportStar(require("./PatchKnowledgeFileRequestUio"), exports);
|
|
|
451
463
|
__exportStar(require("./PermissionEntryUio"), exports);
|
|
452
464
|
__exportStar(require("./PersonaUio"), exports);
|
|
453
465
|
__exportStar(require("./PinRequestUio"), exports);
|
|
466
|
+
__exportStar(require("./PlatformEngineUsageUio"), exports);
|
|
454
467
|
__exportStar(require("./PriceConfigurationModelConfigUio"), exports);
|
|
455
468
|
__exportStar(require("./PriceConfigurationModelUio"), exports);
|
|
456
469
|
__exportStar(require("./PriceConfigurationUio"), exports);
|