@breign/client 1.0.172 → 1.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/apis/AdminApi.d.ts +110 -1
  2. package/dist/apis/AdminApi.js +263 -0
  3. package/dist/apis/AiGatewayApi.d.ts +41 -5
  4. package/dist/apis/AiGatewayApi.js +80 -7
  5. package/dist/models/AiGatewayInternalSettingsSummaryUio.d.ts +63 -0
  6. package/dist/models/AiGatewayInternalSettingsSummaryUio.js +69 -0
  7. package/dist/models/AiGatewayUsageCostUio.d.ts +60 -0
  8. package/dist/models/AiGatewayUsageCostUio.js +62 -0
  9. package/dist/models/AiGatewayUsageUio.d.ts +7 -0
  10. package/dist/models/AiGatewayUsageUio.js +3 -0
  11. package/dist/models/AllowPlatformEnginesUio.d.ts +32 -0
  12. package/dist/models/AllowPlatformEnginesUio.js +50 -0
  13. package/dist/models/DefaultEngineRequestUio.d.ts +6 -0
  14. package/dist/models/DefaultEngineRequestUio.js +2 -0
  15. package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.d.ts +44 -0
  16. package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.js +58 -0
  17. package/dist/models/DeletePlatformEngineResponseUio.d.ts +45 -0
  18. package/dist/models/DeletePlatformEngineResponseUio.js +59 -0
  19. package/dist/models/ModelDefinitionUio.d.ts +33 -0
  20. package/dist/models/ModelDefinitionUio.js +17 -0
  21. package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +44 -0
  22. package/dist/models/OrganisationPlatformEngineUsageUio.js +58 -0
  23. package/dist/models/OrganizationUio.d.ts +6 -0
  24. package/dist/models/OrganizationUio.js +2 -0
  25. package/dist/models/PlatformEngineUsageUio.d.ts +48 -0
  26. package/dist/models/PlatformEngineUsageUio.js +58 -0
  27. package/dist/models/ProviderCreateRequestUio.d.ts +12 -0
  28. package/dist/models/ProviderCreateRequestUio.js +4 -0
  29. package/dist/models/ProviderUio.d.ts +12 -0
  30. package/dist/models/ProviderUio.js +4 -0
  31. package/dist/models/index.d.ts +7 -0
  32. package/dist/models/index.js +7 -0
  33. package/dist/openapi.json +585 -2
  34. package/package.json +1 -1
@@ -0,0 +1,45 @@
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 { DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio } from './DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DeletePlatformEngineResponseUio
17
+ */
18
+ export interface DeletePlatformEngineResponseUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof DeletePlatformEngineResponseUio
23
+ */
24
+ message: string;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof DeletePlatformEngineResponseUio
29
+ */
30
+ agentsEngineUnsetCount: number;
31
+ /**
32
+ *
33
+ * @type {Array<DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio>}
34
+ * @memberof DeletePlatformEngineResponseUio
35
+ */
36
+ knowledgeBasesAffected: Array<DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the DeletePlatformEngineResponseUio interface.
40
+ */
41
+ export declare function instanceOfDeletePlatformEngineResponseUio(value: object): value is DeletePlatformEngineResponseUio;
42
+ export declare function DeletePlatformEngineResponseUioFromJSON(json: any): DeletePlatformEngineResponseUio;
43
+ export declare function DeletePlatformEngineResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeletePlatformEngineResponseUio;
44
+ export declare function DeletePlatformEngineResponseUioToJSON(json: any): DeletePlatformEngineResponseUio;
45
+ export declare function DeletePlatformEngineResponseUioToJSONTyped(value?: DeletePlatformEngineResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfDeletePlatformEngineResponseUio = instanceOfDeletePlatformEngineResponseUio;
17
+ exports.DeletePlatformEngineResponseUioFromJSON = DeletePlatformEngineResponseUioFromJSON;
18
+ exports.DeletePlatformEngineResponseUioFromJSONTyped = DeletePlatformEngineResponseUioFromJSONTyped;
19
+ exports.DeletePlatformEngineResponseUioToJSON = DeletePlatformEngineResponseUioToJSON;
20
+ exports.DeletePlatformEngineResponseUioToJSONTyped = DeletePlatformEngineResponseUioToJSONTyped;
21
+ const DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio_1 = require("./DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio");
22
+ /**
23
+ * Check if a given object implements the DeletePlatformEngineResponseUio interface.
24
+ */
25
+ function instanceOfDeletePlatformEngineResponseUio(value) {
26
+ if (!('message' in value) || value['message'] === undefined)
27
+ return false;
28
+ if (!('agentsEngineUnsetCount' in value) || value['agentsEngineUnsetCount'] === undefined)
29
+ return false;
30
+ if (!('knowledgeBasesAffected' in value) || value['knowledgeBasesAffected'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function DeletePlatformEngineResponseUioFromJSON(json) {
35
+ return DeletePlatformEngineResponseUioFromJSONTyped(json, false);
36
+ }
37
+ function DeletePlatformEngineResponseUioFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'message': json['message'],
43
+ 'agentsEngineUnsetCount': json['agentsEngineUnsetCount'],
44
+ 'knowledgeBasesAffected': (json['knowledgeBasesAffected'].map(DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio_1.DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUioFromJSON)),
45
+ };
46
+ }
47
+ function DeletePlatformEngineResponseUioToJSON(json) {
48
+ return DeletePlatformEngineResponseUioToJSONTyped(json, false);
49
+ }
50
+ function DeletePlatformEngineResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'message': value['message'],
56
+ 'agentsEngineUnsetCount': value['agentsEngineUnsetCount'],
57
+ 'knowledgeBasesAffected': (value['knowledgeBasesAffected'].map(DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio_1.DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUioToJSON)),
58
+ };
59
+ }
@@ -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,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
+ }
@@ -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
  };
@@ -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';
@@ -416,6 +421,7 @@ export * from './OpenAiChatCompletionResponseUio';
416
421
  export * from './OrgUsageMetricsResponseTotalUio';
417
422
  export * from './OrgUsageMetricsResponseUio';
418
423
  export * from './OrgUsageTimeSeriesPointUio';
424
+ export * from './OrganisationPlatformEngineUsageUio';
419
425
  export * from './OrganizationEngineUio';
420
426
  export * from './OrganizationMemberUio';
421
427
  export * from './OrganizationMemberUserUio';
@@ -433,6 +439,7 @@ export * from './PatchKnowledgeFileRequestUio';
433
439
  export * from './PermissionEntryUio';
434
440
  export * from './PersonaUio';
435
441
  export * from './PinRequestUio';
442
+ export * from './PlatformEngineUsageUio';
436
443
  export * from './PriceConfigurationModelConfigUio';
437
444
  export * from './PriceConfigurationModelUio';
438
445
  export * from './PriceConfigurationUio';
@@ -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);
@@ -434,6 +439,7 @@ __exportStar(require("./OpenAiChatCompletionResponseUio"), exports);
434
439
  __exportStar(require("./OrgUsageMetricsResponseTotalUio"), exports);
435
440
  __exportStar(require("./OrgUsageMetricsResponseUio"), exports);
436
441
  __exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
442
+ __exportStar(require("./OrganisationPlatformEngineUsageUio"), exports);
437
443
  __exportStar(require("./OrganizationEngineUio"), exports);
438
444
  __exportStar(require("./OrganizationMemberUio"), exports);
439
445
  __exportStar(require("./OrganizationMemberUserUio"), exports);
@@ -451,6 +457,7 @@ __exportStar(require("./PatchKnowledgeFileRequestUio"), exports);
451
457
  __exportStar(require("./PermissionEntryUio"), exports);
452
458
  __exportStar(require("./PersonaUio"), exports);
453
459
  __exportStar(require("./PinRequestUio"), exports);
460
+ __exportStar(require("./PlatformEngineUsageUio"), exports);
454
461
  __exportStar(require("./PriceConfigurationModelConfigUio"), exports);
455
462
  __exportStar(require("./PriceConfigurationModelUio"), exports);
456
463
  __exportStar(require("./PriceConfigurationUio"), exports);