@breign/client 1.0.181 → 1.0.183
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 +46 -10
- package/dist/apis/AdminApi.js +101 -15
- package/dist/apis/EngineApi.d.ts +43 -1
- package/dist/apis/EngineApi.js +100 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.d.ts +7 -0
- package/dist/models/AiGatewayInternalSettingsSummaryUio.js +3 -0
- package/dist/models/AiGatewayModelTokenQuotaUio.d.ts +1 -1
- package/dist/models/AiGatewaySettingsUio.d.ts +7 -0
- package/dist/models/AiGatewaySettingsUio.js +3 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.d.ts +7 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.js +3 -0
- package/dist/models/AiGatewayUserBudgetUio.d.ts +58 -0
- package/dist/models/AiGatewayUserBudgetUio.js +67 -0
- package/dist/models/ModelDefinitionUio.d.ts +1 -1
- package/dist/models/ModelUserAccessUio.d.ts +50 -0
- package/dist/models/ModelUserAccessUio.js +62 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.d.ts +56 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.js +66 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +7 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +5 -0
- package/dist/models/OrganizationModelAccessUio.d.ts +33 -0
- package/dist/models/OrganizationModelAccessUio.js +51 -0
- package/dist/models/OrganizationUio.d.ts +0 -6
- package/dist/models/OrganizationUio.js +0 -2
- package/dist/models/PlatformEngineAccessModelsInnerUio.d.ts +38 -0
- package/dist/models/PlatformEngineAccessModelsInnerUio.js +54 -0
- package/dist/models/PlatformEngineAccessUio.d.ts +33 -0
- package/dist/models/PlatformEngineAccessUio.js +51 -0
- package/dist/models/SetModelUserAccessUio.d.ts +44 -0
- package/dist/models/SetModelUserAccessUio.js +58 -0
- package/dist/models/TokenPriceSuggestionRequestUio.d.ts +39 -0
- package/dist/models/TokenPriceSuggestionRequestUio.js +55 -0
- package/dist/models/TokenPriceSuggestionUio.d.ts +70 -0
- package/dist/models/TokenPriceSuggestionUio.js +72 -0
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +9 -1
- package/dist/openapi.json +482 -59
- package/package.json +1 -1
- package/dist/models/AllowPlatformEnginesUio.d.ts +0 -32
- package/dist/models/AllowPlatformEnginesUio.js +0 -50
|
@@ -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.instanceOfPlatformEngineAccessUio = instanceOfPlatformEngineAccessUio;
|
|
17
|
+
exports.PlatformEngineAccessUioFromJSON = PlatformEngineAccessUioFromJSON;
|
|
18
|
+
exports.PlatformEngineAccessUioFromJSONTyped = PlatformEngineAccessUioFromJSONTyped;
|
|
19
|
+
exports.PlatformEngineAccessUioToJSON = PlatformEngineAccessUioToJSON;
|
|
20
|
+
exports.PlatformEngineAccessUioToJSONTyped = PlatformEngineAccessUioToJSONTyped;
|
|
21
|
+
const PlatformEngineAccessModelsInnerUio_1 = require("./PlatformEngineAccessModelsInnerUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PlatformEngineAccessUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPlatformEngineAccessUio(value) {
|
|
26
|
+
if (!('models' in value) || value['models'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function PlatformEngineAccessUioFromJSON(json) {
|
|
31
|
+
return PlatformEngineAccessUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function PlatformEngineAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'models': (json['models'].map(PlatformEngineAccessModelsInnerUio_1.PlatformEngineAccessModelsInnerUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PlatformEngineAccessUioToJSON(json) {
|
|
42
|
+
return PlatformEngineAccessUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PlatformEngineAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'models': (value['models'].map(PlatformEngineAccessModelsInnerUio_1.PlatformEngineAccessModelsInnerUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetModelUserAccessUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetModelUserAccessUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetModelUserAccessUio
|
|
22
|
+
*/
|
|
23
|
+
modelId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SetModelUserAccessUio
|
|
28
|
+
*/
|
|
29
|
+
restrictToUsers: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SetModelUserAccessUio
|
|
34
|
+
*/
|
|
35
|
+
userIds: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SetModelUserAccessUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSetModelUserAccessUio(value: object): value is SetModelUserAccessUio;
|
|
41
|
+
export declare function SetModelUserAccessUioFromJSON(json: any): SetModelUserAccessUio;
|
|
42
|
+
export declare function SetModelUserAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetModelUserAccessUio;
|
|
43
|
+
export declare function SetModelUserAccessUioToJSON(json: any): SetModelUserAccessUio;
|
|
44
|
+
export declare function SetModelUserAccessUioToJSONTyped(value?: SetModelUserAccessUio | 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.instanceOfSetModelUserAccessUio = instanceOfSetModelUserAccessUio;
|
|
17
|
+
exports.SetModelUserAccessUioFromJSON = SetModelUserAccessUioFromJSON;
|
|
18
|
+
exports.SetModelUserAccessUioFromJSONTyped = SetModelUserAccessUioFromJSONTyped;
|
|
19
|
+
exports.SetModelUserAccessUioToJSON = SetModelUserAccessUioToJSON;
|
|
20
|
+
exports.SetModelUserAccessUioToJSONTyped = SetModelUserAccessUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SetModelUserAccessUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSetModelUserAccessUio(value) {
|
|
25
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('restrictToUsers' in value) || value['restrictToUsers'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('userIds' in value) || value['userIds'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SetModelUserAccessUioFromJSON(json) {
|
|
34
|
+
return SetModelUserAccessUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SetModelUserAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'modelId': json['modelId'],
|
|
42
|
+
'restrictToUsers': json['restrictToUsers'],
|
|
43
|
+
'userIds': json['userIds'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SetModelUserAccessUioToJSON(json) {
|
|
47
|
+
return SetModelUserAccessUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function SetModelUserAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'modelId': value['modelId'],
|
|
55
|
+
'restrictToUsers': value['restrictToUsers'],
|
|
56
|
+
'userIds': value['userIds'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ProviderTypeUio } from './ProviderTypeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TokenPriceSuggestionRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface TokenPriceSuggestionRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ProviderTypeUio}
|
|
22
|
+
* @memberof TokenPriceSuggestionRequestUio
|
|
23
|
+
*/
|
|
24
|
+
providerType: ProviderTypeUio;
|
|
25
|
+
/**
|
|
26
|
+
* Identifiants des modèles chez le fournisseur (`modelId`).
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof TokenPriceSuggestionRequestUio
|
|
29
|
+
*/
|
|
30
|
+
modelIds: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the TokenPriceSuggestionRequestUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfTokenPriceSuggestionRequestUio(value: object): value is TokenPriceSuggestionRequestUio;
|
|
36
|
+
export declare function TokenPriceSuggestionRequestUioFromJSON(json: any): TokenPriceSuggestionRequestUio;
|
|
37
|
+
export declare function TokenPriceSuggestionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenPriceSuggestionRequestUio;
|
|
38
|
+
export declare function TokenPriceSuggestionRequestUioToJSON(json: any): TokenPriceSuggestionRequestUio;
|
|
39
|
+
export declare function TokenPriceSuggestionRequestUioToJSONTyped(value?: TokenPriceSuggestionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfTokenPriceSuggestionRequestUio = instanceOfTokenPriceSuggestionRequestUio;
|
|
17
|
+
exports.TokenPriceSuggestionRequestUioFromJSON = TokenPriceSuggestionRequestUioFromJSON;
|
|
18
|
+
exports.TokenPriceSuggestionRequestUioFromJSONTyped = TokenPriceSuggestionRequestUioFromJSONTyped;
|
|
19
|
+
exports.TokenPriceSuggestionRequestUioToJSON = TokenPriceSuggestionRequestUioToJSON;
|
|
20
|
+
exports.TokenPriceSuggestionRequestUioToJSONTyped = TokenPriceSuggestionRequestUioToJSONTyped;
|
|
21
|
+
const ProviderTypeUio_1 = require("./ProviderTypeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TokenPriceSuggestionRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTokenPriceSuggestionRequestUio(value) {
|
|
26
|
+
if (!('providerType' in value) || value['providerType'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('modelIds' in value) || value['modelIds'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function TokenPriceSuggestionRequestUioFromJSON(json) {
|
|
33
|
+
return TokenPriceSuggestionRequestUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function TokenPriceSuggestionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioFromJSON)(json['providerType']),
|
|
41
|
+
'modelIds': json['modelIds'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function TokenPriceSuggestionRequestUioToJSON(json) {
|
|
45
|
+
return TokenPriceSuggestionRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function TokenPriceSuggestionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioToJSON)(value['providerType']),
|
|
53
|
+
'modelIds': value['modelIds'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 TokenPriceSuggestionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface TokenPriceSuggestionUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TokenPriceSuggestionUio
|
|
22
|
+
*/
|
|
23
|
+
modelId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Prix d'un million de tokens en entrée.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TokenPriceSuggestionUio
|
|
28
|
+
*/
|
|
29
|
+
inputTokenPrice?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Prix d'un million de tokens en sortie.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof TokenPriceSuggestionUio
|
|
34
|
+
*/
|
|
35
|
+
outputTokenPrice?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Devise des prix (ISO 4217).
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TokenPriceSuggestionUio
|
|
40
|
+
*/
|
|
41
|
+
currency: string;
|
|
42
|
+
/**
|
|
43
|
+
* configuration = tarifs déjà enregistrés par Breign ; catalog = catalogue public (models.dev).
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TokenPriceSuggestionUio
|
|
46
|
+
*/
|
|
47
|
+
source: TokenPriceSuggestionUioSourceEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Devise d'origine quand les prix ont été convertis en euros au taux du jour (BCE). Absent sans conversion.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TokenPriceSuggestionUio
|
|
52
|
+
*/
|
|
53
|
+
convertedFrom?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const TokenPriceSuggestionUioSourceEnum: {
|
|
59
|
+
readonly Configuration: "configuration";
|
|
60
|
+
readonly Catalog: "catalog";
|
|
61
|
+
};
|
|
62
|
+
export type TokenPriceSuggestionUioSourceEnum = typeof TokenPriceSuggestionUioSourceEnum[keyof typeof TokenPriceSuggestionUioSourceEnum];
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the TokenPriceSuggestionUio interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfTokenPriceSuggestionUio(value: object): value is TokenPriceSuggestionUio;
|
|
67
|
+
export declare function TokenPriceSuggestionUioFromJSON(json: any): TokenPriceSuggestionUio;
|
|
68
|
+
export declare function TokenPriceSuggestionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenPriceSuggestionUio;
|
|
69
|
+
export declare function TokenPriceSuggestionUioToJSON(json: any): TokenPriceSuggestionUio;
|
|
70
|
+
export declare function TokenPriceSuggestionUioToJSONTyped(value?: TokenPriceSuggestionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.TokenPriceSuggestionUioSourceEnum = void 0;
|
|
17
|
+
exports.instanceOfTokenPriceSuggestionUio = instanceOfTokenPriceSuggestionUio;
|
|
18
|
+
exports.TokenPriceSuggestionUioFromJSON = TokenPriceSuggestionUioFromJSON;
|
|
19
|
+
exports.TokenPriceSuggestionUioFromJSONTyped = TokenPriceSuggestionUioFromJSONTyped;
|
|
20
|
+
exports.TokenPriceSuggestionUioToJSON = TokenPriceSuggestionUioToJSON;
|
|
21
|
+
exports.TokenPriceSuggestionUioToJSONTyped = TokenPriceSuggestionUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.TokenPriceSuggestionUioSourceEnum = {
|
|
26
|
+
Configuration: 'configuration',
|
|
27
|
+
Catalog: 'catalog'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the TokenPriceSuggestionUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfTokenPriceSuggestionUio(value) {
|
|
33
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function TokenPriceSuggestionUioFromJSON(json) {
|
|
42
|
+
return TokenPriceSuggestionUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function TokenPriceSuggestionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'modelId': json['modelId'],
|
|
50
|
+
'inputTokenPrice': json['inputTokenPrice'] == null ? undefined : json['inputTokenPrice'],
|
|
51
|
+
'outputTokenPrice': json['outputTokenPrice'] == null ? undefined : json['outputTokenPrice'],
|
|
52
|
+
'currency': json['currency'],
|
|
53
|
+
'source': json['source'],
|
|
54
|
+
'convertedFrom': json['convertedFrom'] == null ? undefined : json['convertedFrom'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function TokenPriceSuggestionUioToJSON(json) {
|
|
58
|
+
return TokenPriceSuggestionUioToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function TokenPriceSuggestionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'modelId': value['modelId'],
|
|
66
|
+
'inputTokenPrice': value['inputTokenPrice'],
|
|
67
|
+
'outputTokenPrice': value['outputTokenPrice'],
|
|
68
|
+
'currency': value['currency'],
|
|
69
|
+
'source': value['source'],
|
|
70
|
+
'convertedFrom': value['convertedFrom'],
|
|
71
|
+
};
|
|
72
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export * from './AiGatewayUsageCostUio';
|
|
|
106
106
|
export * from './AiGatewayUsagePointUio';
|
|
107
107
|
export * from './AiGatewayUsageTotalUio';
|
|
108
108
|
export * from './AiGatewayUsageUio';
|
|
109
|
+
export * from './AiGatewayUserBudgetUio';
|
|
109
110
|
export * from './AiGatewayV1CreditsUio';
|
|
110
111
|
export * from './AiGatewayV1EndpointPricingUio';
|
|
111
112
|
export * from './AiGatewayV1EndpointUio';
|
|
@@ -119,7 +120,6 @@ export * from './AiGatewayV1ModelPricingUio';
|
|
|
119
120
|
export * from './AiGatewayV1ModelUio';
|
|
120
121
|
export * from './AiGatewayV1ReportRowUio';
|
|
121
122
|
export * from './AiGatewayV1ReportUio';
|
|
122
|
-
export * from './AllowPlatformEnginesUio';
|
|
123
123
|
export * from './AnimationCreateRequestUio';
|
|
124
124
|
export * from './AnimationUio';
|
|
125
125
|
export * from './AnonymizationStatusUio';
|
|
@@ -446,6 +446,7 @@ export * from './ModelConsumptionItemUio';
|
|
|
446
446
|
export * from './ModelConsumptionSliceUio';
|
|
447
447
|
export * from './ModelDefinitionUio';
|
|
448
448
|
export * from './ModelUio';
|
|
449
|
+
export * from './ModelUserAccessUio';
|
|
449
450
|
export * from './NodeAssociationPolicyUio';
|
|
450
451
|
export * from './NodeSessionDetailUio';
|
|
451
452
|
export * from './NodeSessionLogEntryUio';
|
|
@@ -462,6 +463,7 @@ export * from './OpenAiChatCompletionResponseUio';
|
|
|
462
463
|
export * from './OrgUsageMetricsResponseTotalUio';
|
|
463
464
|
export * from './OrgUsageMetricsResponseUio';
|
|
464
465
|
export * from './OrgUsageTimeSeriesPointUio';
|
|
466
|
+
export * from './OrganisationPlatformEngineUsageModelsInnerUio';
|
|
465
467
|
export * from './OrganisationPlatformEngineUsageUio';
|
|
466
468
|
export * from './OrganizationEngineUio';
|
|
467
469
|
export * from './OrganizationExecutionNodeAgentUio';
|
|
@@ -469,6 +471,7 @@ export * from './OrganizationExecutionNodeUio';
|
|
|
469
471
|
export * from './OrganizationExecutionNodeUserUio';
|
|
470
472
|
export * from './OrganizationMemberUio';
|
|
471
473
|
export * from './OrganizationMemberUserUio';
|
|
474
|
+
export * from './OrganizationModelAccessUio';
|
|
472
475
|
export * from './OrganizationModelConsumptionTotalUio';
|
|
473
476
|
export * from './OrganizationModelConsumptionUio';
|
|
474
477
|
export * from './OrganizationOcrConfigUio';
|
|
@@ -483,6 +486,8 @@ export * from './PatchKnowledgeFileRequestUio';
|
|
|
483
486
|
export * from './PermissionEntryUio';
|
|
484
487
|
export * from './PersonaUio';
|
|
485
488
|
export * from './PinRequestUio';
|
|
489
|
+
export * from './PlatformEngineAccessModelsInnerUio';
|
|
490
|
+
export * from './PlatformEngineAccessUio';
|
|
486
491
|
export * from './PlatformEngineUsageUio';
|
|
487
492
|
export * from './PriceConfigurationModelConfigUio';
|
|
488
493
|
export * from './PriceConfigurationModelUio';
|
|
@@ -534,6 +539,7 @@ export * from './SetAgentExecutionRequestUio';
|
|
|
534
539
|
export * from './SetContextLocation400ResponseUio';
|
|
535
540
|
export * from './SetMessageReaction200ResponseUio';
|
|
536
541
|
export * from './SetMessageReactionRequestUio';
|
|
542
|
+
export * from './SetModelUserAccessUio';
|
|
537
543
|
export * from './SetProjectMembersRequestUio';
|
|
538
544
|
export * from './SetTicketAssigneesRequestUio';
|
|
539
545
|
export * from './SetTokenRequestUio';
|
|
@@ -602,6 +608,8 @@ export * from './TicketStartModeUio';
|
|
|
602
608
|
export * from './TicketStatusUio';
|
|
603
609
|
export * from './TicketUio';
|
|
604
610
|
export * from './TicketUsageUio';
|
|
611
|
+
export * from './TokenPriceSuggestionRequestUio';
|
|
612
|
+
export * from './TokenPriceSuggestionUio';
|
|
605
613
|
export * from './TokenUsageUio';
|
|
606
614
|
export * from './ToolActionUio';
|
|
607
615
|
export * from './ToolAllowedToolsRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -124,6 +124,7 @@ __exportStar(require("./AiGatewayUsageCostUio"), exports);
|
|
|
124
124
|
__exportStar(require("./AiGatewayUsagePointUio"), exports);
|
|
125
125
|
__exportStar(require("./AiGatewayUsageTotalUio"), exports);
|
|
126
126
|
__exportStar(require("./AiGatewayUsageUio"), exports);
|
|
127
|
+
__exportStar(require("./AiGatewayUserBudgetUio"), exports);
|
|
127
128
|
__exportStar(require("./AiGatewayV1CreditsUio"), exports);
|
|
128
129
|
__exportStar(require("./AiGatewayV1EndpointPricingUio"), exports);
|
|
129
130
|
__exportStar(require("./AiGatewayV1EndpointUio"), exports);
|
|
@@ -137,7 +138,6 @@ __exportStar(require("./AiGatewayV1ModelPricingUio"), exports);
|
|
|
137
138
|
__exportStar(require("./AiGatewayV1ModelUio"), exports);
|
|
138
139
|
__exportStar(require("./AiGatewayV1ReportRowUio"), exports);
|
|
139
140
|
__exportStar(require("./AiGatewayV1ReportUio"), exports);
|
|
140
|
-
__exportStar(require("./AllowPlatformEnginesUio"), exports);
|
|
141
141
|
__exportStar(require("./AnimationCreateRequestUio"), exports);
|
|
142
142
|
__exportStar(require("./AnimationUio"), exports);
|
|
143
143
|
__exportStar(require("./AnonymizationStatusUio"), exports);
|
|
@@ -464,6 +464,7 @@ __exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
|
464
464
|
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
465
465
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
466
466
|
__exportStar(require("./ModelUio"), exports);
|
|
467
|
+
__exportStar(require("./ModelUserAccessUio"), exports);
|
|
467
468
|
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
468
469
|
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
469
470
|
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
@@ -480,6 +481,7 @@ __exportStar(require("./OpenAiChatCompletionResponseUio"), exports);
|
|
|
480
481
|
__exportStar(require("./OrgUsageMetricsResponseTotalUio"), exports);
|
|
481
482
|
__exportStar(require("./OrgUsageMetricsResponseUio"), exports);
|
|
482
483
|
__exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
484
|
+
__exportStar(require("./OrganisationPlatformEngineUsageModelsInnerUio"), exports);
|
|
483
485
|
__exportStar(require("./OrganisationPlatformEngineUsageUio"), exports);
|
|
484
486
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
485
487
|
__exportStar(require("./OrganizationExecutionNodeAgentUio"), exports);
|
|
@@ -487,6 +489,7 @@ __exportStar(require("./OrganizationExecutionNodeUio"), exports);
|
|
|
487
489
|
__exportStar(require("./OrganizationExecutionNodeUserUio"), exports);
|
|
488
490
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
489
491
|
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
492
|
+
__exportStar(require("./OrganizationModelAccessUio"), exports);
|
|
490
493
|
__exportStar(require("./OrganizationModelConsumptionTotalUio"), exports);
|
|
491
494
|
__exportStar(require("./OrganizationModelConsumptionUio"), exports);
|
|
492
495
|
__exportStar(require("./OrganizationOcrConfigUio"), exports);
|
|
@@ -501,6 +504,8 @@ __exportStar(require("./PatchKnowledgeFileRequestUio"), exports);
|
|
|
501
504
|
__exportStar(require("./PermissionEntryUio"), exports);
|
|
502
505
|
__exportStar(require("./PersonaUio"), exports);
|
|
503
506
|
__exportStar(require("./PinRequestUio"), exports);
|
|
507
|
+
__exportStar(require("./PlatformEngineAccessModelsInnerUio"), exports);
|
|
508
|
+
__exportStar(require("./PlatformEngineAccessUio"), exports);
|
|
504
509
|
__exportStar(require("./PlatformEngineUsageUio"), exports);
|
|
505
510
|
__exportStar(require("./PriceConfigurationModelConfigUio"), exports);
|
|
506
511
|
__exportStar(require("./PriceConfigurationModelUio"), exports);
|
|
@@ -552,6 +557,7 @@ __exportStar(require("./SetAgentExecutionRequestUio"), exports);
|
|
|
552
557
|
__exportStar(require("./SetContextLocation400ResponseUio"), exports);
|
|
553
558
|
__exportStar(require("./SetMessageReaction200ResponseUio"), exports);
|
|
554
559
|
__exportStar(require("./SetMessageReactionRequestUio"), exports);
|
|
560
|
+
__exportStar(require("./SetModelUserAccessUio"), exports);
|
|
555
561
|
__exportStar(require("./SetProjectMembersRequestUio"), exports);
|
|
556
562
|
__exportStar(require("./SetTicketAssigneesRequestUio"), exports);
|
|
557
563
|
__exportStar(require("./SetTokenRequestUio"), exports);
|
|
@@ -620,6 +626,8 @@ __exportStar(require("./TicketStartModeUio"), exports);
|
|
|
620
626
|
__exportStar(require("./TicketStatusUio"), exports);
|
|
621
627
|
__exportStar(require("./TicketUio"), exports);
|
|
622
628
|
__exportStar(require("./TicketUsageUio"), exports);
|
|
629
|
+
__exportStar(require("./TokenPriceSuggestionRequestUio"), exports);
|
|
630
|
+
__exportStar(require("./TokenPriceSuggestionUio"), exports);
|
|
623
631
|
__exportStar(require("./TokenUsageUio"), exports);
|
|
624
632
|
__exportStar(require("./ToolActionUio"), exports);
|
|
625
633
|
__exportStar(require("./ToolAllowedToolsRequestUio"), exports);
|