@breign/client 1.0.131 → 1.0.133
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/AiGatewayApi.d.ts +108 -1
- package/dist/apis/AiGatewayApi.js +218 -1
- package/dist/apis/ConversationsApi.d.ts +28 -1
- package/dist/apis/ConversationsApi.js +59 -0
- package/dist/models/AgentChatOverviewEntryUio.d.ts +56 -0
- package/dist/models/AgentChatOverviewEntryUio.js +64 -0
- package/dist/models/AiGatewayV1CreditsUio.d.ts +38 -0
- package/dist/models/AiGatewayV1CreditsUio.js +52 -0
- package/dist/models/AiGatewayV1EndpointPricingUio.d.ts +50 -0
- package/dist/models/AiGatewayV1EndpointPricingUio.js +54 -0
- package/dist/models/AiGatewayV1EndpointUio.d.ts +111 -0
- package/dist/models/AiGatewayV1EndpointUio.js +85 -0
- package/dist/models/AiGatewayV1GenerationDataUio.d.ts +146 -0
- package/dist/models/AiGatewayV1GenerationDataUio.js +96 -0
- package/dist/models/AiGatewayV1GenerationUio.d.ts +33 -0
- package/dist/models/AiGatewayV1GenerationUio.js +51 -0
- package/dist/models/AiGatewayV1ModelEndpointsDataArchitectureUio.d.ts +56 -0
- package/dist/models/AiGatewayV1ModelEndpointsDataArchitectureUio.js +56 -0
- package/dist/models/AiGatewayV1ModelEndpointsDataUio.d.ts +70 -0
- package/dist/models/AiGatewayV1ModelEndpointsDataUio.js +72 -0
- package/dist/models/AiGatewayV1ModelEndpointsUio.d.ts +33 -0
- package/dist/models/AiGatewayV1ModelEndpointsUio.js +51 -0
- package/dist/models/AiGatewayV1ModelListUio.d.ts +46 -0
- package/dist/models/AiGatewayV1ModelListUio.js +62 -0
- package/dist/models/AiGatewayV1ModelPricingUio.d.ts +50 -0
- package/dist/models/AiGatewayV1ModelPricingUio.js +54 -0
- package/dist/models/AiGatewayV1ModelUio.d.ts +114 -0
- package/dist/models/AiGatewayV1ModelUio.js +99 -0
- package/dist/models/AiGatewayV1ReportRowUio.d.ts +140 -0
- package/dist/models/AiGatewayV1ReportRowUio.js +104 -0
- package/dist/models/AiGatewayV1ReportUio.d.ts +33 -0
- package/dist/models/AiGatewayV1ReportUio.js +51 -0
- package/dist/models/MarkConversationReadRequestUio.d.ts +32 -0
- package/dist/models/MarkConversationReadRequestUio.js +48 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +1242 -313
- package/package.json +1 -1
|
@@ -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.instanceOfAiGatewayV1GenerationUio = instanceOfAiGatewayV1GenerationUio;
|
|
17
|
+
exports.AiGatewayV1GenerationUioFromJSON = AiGatewayV1GenerationUioFromJSON;
|
|
18
|
+
exports.AiGatewayV1GenerationUioFromJSONTyped = AiGatewayV1GenerationUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewayV1GenerationUioToJSON = AiGatewayV1GenerationUioToJSON;
|
|
20
|
+
exports.AiGatewayV1GenerationUioToJSONTyped = AiGatewayV1GenerationUioToJSONTyped;
|
|
21
|
+
const AiGatewayV1GenerationDataUio_1 = require("./AiGatewayV1GenerationDataUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AiGatewayV1GenerationUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAiGatewayV1GenerationUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AiGatewayV1GenerationUioFromJSON(json) {
|
|
31
|
+
return AiGatewayV1GenerationUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AiGatewayV1GenerationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (0, AiGatewayV1GenerationDataUio_1.AiGatewayV1GenerationDataUioFromJSON)(json['data']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AiGatewayV1GenerationUioToJSON(json) {
|
|
42
|
+
return AiGatewayV1GenerationUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AiGatewayV1GenerationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (0, AiGatewayV1GenerationDataUio_1.AiGatewayV1GenerationDataUioToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayV1ModelEndpointsDataArchitectureUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
22
|
+
*/
|
|
23
|
+
tokenizer?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
28
|
+
*/
|
|
29
|
+
instructType?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
34
|
+
*/
|
|
35
|
+
modality?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
40
|
+
*/
|
|
41
|
+
inputModalities?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof AiGatewayV1ModelEndpointsDataArchitectureUio
|
|
46
|
+
*/
|
|
47
|
+
outputModalities?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsDataArchitectureUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfAiGatewayV1ModelEndpointsDataArchitectureUio(value: object): value is AiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
53
|
+
export declare function AiGatewayV1ModelEndpointsDataArchitectureUioFromJSON(json: any): AiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
54
|
+
export declare function AiGatewayV1ModelEndpointsDataArchitectureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
55
|
+
export declare function AiGatewayV1ModelEndpointsDataArchitectureUioToJSON(json: any): AiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
56
|
+
export declare function AiGatewayV1ModelEndpointsDataArchitectureUioToJSONTyped(value?: AiGatewayV1ModelEndpointsDataArchitectureUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfAiGatewayV1ModelEndpointsDataArchitectureUio = instanceOfAiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
17
|
+
exports.AiGatewayV1ModelEndpointsDataArchitectureUioFromJSON = AiGatewayV1ModelEndpointsDataArchitectureUioFromJSON;
|
|
18
|
+
exports.AiGatewayV1ModelEndpointsDataArchitectureUioFromJSONTyped = AiGatewayV1ModelEndpointsDataArchitectureUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewayV1ModelEndpointsDataArchitectureUioToJSON = AiGatewayV1ModelEndpointsDataArchitectureUioToJSON;
|
|
20
|
+
exports.AiGatewayV1ModelEndpointsDataArchitectureUioToJSONTyped = AiGatewayV1ModelEndpointsDataArchitectureUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsDataArchitectureUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAiGatewayV1ModelEndpointsDataArchitectureUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AiGatewayV1ModelEndpointsDataArchitectureUioFromJSON(json) {
|
|
28
|
+
return AiGatewayV1ModelEndpointsDataArchitectureUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AiGatewayV1ModelEndpointsDataArchitectureUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'tokenizer': json['tokenizer'] == null ? undefined : json['tokenizer'],
|
|
36
|
+
'instructType': json['instruct_type'] == null ? undefined : json['instruct_type'],
|
|
37
|
+
'modality': json['modality'] == null ? undefined : json['modality'],
|
|
38
|
+
'inputModalities': json['input_modalities'] == null ? undefined : json['input_modalities'],
|
|
39
|
+
'outputModalities': json['output_modalities'] == null ? undefined : json['output_modalities'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayV1ModelEndpointsDataArchitectureUioToJSON(json) {
|
|
43
|
+
return AiGatewayV1ModelEndpointsDataArchitectureUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AiGatewayV1ModelEndpointsDataArchitectureUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'tokenizer': value['tokenizer'],
|
|
51
|
+
'instruct_type': value['instructType'],
|
|
52
|
+
'modality': value['modality'],
|
|
53
|
+
'input_modalities': value['inputModalities'],
|
|
54
|
+
'output_modalities': value['outputModalities'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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
|
+
import type { AiGatewayV1ModelEndpointsDataArchitectureUio } from './AiGatewayV1ModelEndpointsDataArchitectureUio';
|
|
13
|
+
import type { AiGatewayV1EndpointUio } from './AiGatewayV1EndpointUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AiGatewayV1ModelEndpointsDataUio
|
|
18
|
+
*/
|
|
19
|
+
export interface AiGatewayV1ModelEndpointsDataUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
36
|
+
*/
|
|
37
|
+
created: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
42
|
+
*/
|
|
43
|
+
released?: number | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
48
|
+
*/
|
|
49
|
+
description?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {AiGatewayV1ModelEndpointsDataArchitectureUio}
|
|
53
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
54
|
+
*/
|
|
55
|
+
architecture: AiGatewayV1ModelEndpointsDataArchitectureUio;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<AiGatewayV1EndpointUio>}
|
|
59
|
+
* @memberof AiGatewayV1ModelEndpointsDataUio
|
|
60
|
+
*/
|
|
61
|
+
endpoints: Array<AiGatewayV1EndpointUio>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsDataUio interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfAiGatewayV1ModelEndpointsDataUio(value: object): value is AiGatewayV1ModelEndpointsDataUio;
|
|
67
|
+
export declare function AiGatewayV1ModelEndpointsDataUioFromJSON(json: any): AiGatewayV1ModelEndpointsDataUio;
|
|
68
|
+
export declare function AiGatewayV1ModelEndpointsDataUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelEndpointsDataUio;
|
|
69
|
+
export declare function AiGatewayV1ModelEndpointsDataUioToJSON(json: any): AiGatewayV1ModelEndpointsDataUio;
|
|
70
|
+
export declare function AiGatewayV1ModelEndpointsDataUioToJSONTyped(value?: AiGatewayV1ModelEndpointsDataUio | 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.instanceOfAiGatewayV1ModelEndpointsDataUio = instanceOfAiGatewayV1ModelEndpointsDataUio;
|
|
17
|
+
exports.AiGatewayV1ModelEndpointsDataUioFromJSON = AiGatewayV1ModelEndpointsDataUioFromJSON;
|
|
18
|
+
exports.AiGatewayV1ModelEndpointsDataUioFromJSONTyped = AiGatewayV1ModelEndpointsDataUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewayV1ModelEndpointsDataUioToJSON = AiGatewayV1ModelEndpointsDataUioToJSON;
|
|
20
|
+
exports.AiGatewayV1ModelEndpointsDataUioToJSONTyped = AiGatewayV1ModelEndpointsDataUioToJSONTyped;
|
|
21
|
+
const AiGatewayV1ModelEndpointsDataArchitectureUio_1 = require("./AiGatewayV1ModelEndpointsDataArchitectureUio");
|
|
22
|
+
const AiGatewayV1EndpointUio_1 = require("./AiGatewayV1EndpointUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsDataUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAiGatewayV1ModelEndpointsDataUio(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('architecture' in value) || value['architecture'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('endpoints' in value) || value['endpoints'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AiGatewayV1ModelEndpointsDataUioFromJSON(json) {
|
|
40
|
+
return AiGatewayV1ModelEndpointsDataUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayV1ModelEndpointsDataUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'created': json['created'],
|
|
50
|
+
'released': json['released'] == null ? undefined : json['released'],
|
|
51
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
52
|
+
'architecture': (0, AiGatewayV1ModelEndpointsDataArchitectureUio_1.AiGatewayV1ModelEndpointsDataArchitectureUioFromJSON)(json['architecture']),
|
|
53
|
+
'endpoints': (json['endpoints'].map(AiGatewayV1EndpointUio_1.AiGatewayV1EndpointUioFromJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function AiGatewayV1ModelEndpointsDataUioToJSON(json) {
|
|
57
|
+
return AiGatewayV1ModelEndpointsDataUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function AiGatewayV1ModelEndpointsDataUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'name': value['name'],
|
|
66
|
+
'created': value['created'],
|
|
67
|
+
'released': value['released'],
|
|
68
|
+
'description': value['description'],
|
|
69
|
+
'architecture': (0, AiGatewayV1ModelEndpointsDataArchitectureUio_1.AiGatewayV1ModelEndpointsDataArchitectureUioToJSON)(value['architecture']),
|
|
70
|
+
'endpoints': (value['endpoints'].map(AiGatewayV1EndpointUio_1.AiGatewayV1EndpointUioToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AiGatewayV1ModelEndpointsDataUio } from './AiGatewayV1ModelEndpointsDataUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewayV1ModelEndpointsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewayV1ModelEndpointsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AiGatewayV1ModelEndpointsDataUio}
|
|
22
|
+
* @memberof AiGatewayV1ModelEndpointsUio
|
|
23
|
+
*/
|
|
24
|
+
data: AiGatewayV1ModelEndpointsDataUio;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAiGatewayV1ModelEndpointsUio(value: object): value is AiGatewayV1ModelEndpointsUio;
|
|
30
|
+
export declare function AiGatewayV1ModelEndpointsUioFromJSON(json: any): AiGatewayV1ModelEndpointsUio;
|
|
31
|
+
export declare function AiGatewayV1ModelEndpointsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelEndpointsUio;
|
|
32
|
+
export declare function AiGatewayV1ModelEndpointsUioToJSON(json: any): AiGatewayV1ModelEndpointsUio;
|
|
33
|
+
export declare function AiGatewayV1ModelEndpointsUioToJSONTyped(value?: AiGatewayV1ModelEndpointsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAiGatewayV1ModelEndpointsUio = instanceOfAiGatewayV1ModelEndpointsUio;
|
|
17
|
+
exports.AiGatewayV1ModelEndpointsUioFromJSON = AiGatewayV1ModelEndpointsUioFromJSON;
|
|
18
|
+
exports.AiGatewayV1ModelEndpointsUioFromJSONTyped = AiGatewayV1ModelEndpointsUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewayV1ModelEndpointsUioToJSON = AiGatewayV1ModelEndpointsUioToJSON;
|
|
20
|
+
exports.AiGatewayV1ModelEndpointsUioToJSONTyped = AiGatewayV1ModelEndpointsUioToJSONTyped;
|
|
21
|
+
const AiGatewayV1ModelEndpointsDataUio_1 = require("./AiGatewayV1ModelEndpointsDataUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AiGatewayV1ModelEndpointsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAiGatewayV1ModelEndpointsUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AiGatewayV1ModelEndpointsUioFromJSON(json) {
|
|
31
|
+
return AiGatewayV1ModelEndpointsUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AiGatewayV1ModelEndpointsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (0, AiGatewayV1ModelEndpointsDataUio_1.AiGatewayV1ModelEndpointsDataUioFromJSON)(json['data']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AiGatewayV1ModelEndpointsUioToJSON(json) {
|
|
42
|
+
return AiGatewayV1ModelEndpointsUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AiGatewayV1ModelEndpointsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (0, AiGatewayV1ModelEndpointsDataUio_1.AiGatewayV1ModelEndpointsDataUioToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { AiGatewayV1ModelUio } from './AiGatewayV1ModelUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewayV1ModelListUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewayV1ModelListUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AiGatewayV1ModelListUio
|
|
23
|
+
*/
|
|
24
|
+
object: AiGatewayV1ModelListUioObjectEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<AiGatewayV1ModelUio>}
|
|
28
|
+
* @memberof AiGatewayV1ModelListUio
|
|
29
|
+
*/
|
|
30
|
+
data: Array<AiGatewayV1ModelUio>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const AiGatewayV1ModelListUioObjectEnum: {
|
|
36
|
+
readonly List: "list";
|
|
37
|
+
};
|
|
38
|
+
export type AiGatewayV1ModelListUioObjectEnum = typeof AiGatewayV1ModelListUioObjectEnum[keyof typeof AiGatewayV1ModelListUioObjectEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AiGatewayV1ModelListUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAiGatewayV1ModelListUio(value: object): value is AiGatewayV1ModelListUio;
|
|
43
|
+
export declare function AiGatewayV1ModelListUioFromJSON(json: any): AiGatewayV1ModelListUio;
|
|
44
|
+
export declare function AiGatewayV1ModelListUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelListUio;
|
|
45
|
+
export declare function AiGatewayV1ModelListUioToJSON(json: any): AiGatewayV1ModelListUio;
|
|
46
|
+
export declare function AiGatewayV1ModelListUioToJSONTyped(value?: AiGatewayV1ModelListUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.AiGatewayV1ModelListUioObjectEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayV1ModelListUio = instanceOfAiGatewayV1ModelListUio;
|
|
18
|
+
exports.AiGatewayV1ModelListUioFromJSON = AiGatewayV1ModelListUioFromJSON;
|
|
19
|
+
exports.AiGatewayV1ModelListUioFromJSONTyped = AiGatewayV1ModelListUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayV1ModelListUioToJSON = AiGatewayV1ModelListUioToJSON;
|
|
21
|
+
exports.AiGatewayV1ModelListUioToJSONTyped = AiGatewayV1ModelListUioToJSONTyped;
|
|
22
|
+
const AiGatewayV1ModelUio_1 = require("./AiGatewayV1ModelUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AiGatewayV1ModelListUioObjectEnum = {
|
|
27
|
+
List: 'list'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AiGatewayV1ModelListUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAiGatewayV1ModelListUio(value) {
|
|
33
|
+
if (!('object' in value) || value['object'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AiGatewayV1ModelListUioFromJSON(json) {
|
|
40
|
+
return AiGatewayV1ModelListUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayV1ModelListUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'object': json['object'],
|
|
48
|
+
'data': (json['data'].map(AiGatewayV1ModelUio_1.AiGatewayV1ModelUioFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function AiGatewayV1ModelListUioToJSON(json) {
|
|
52
|
+
return AiGatewayV1ModelListUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function AiGatewayV1ModelListUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'object': value['object'],
|
|
60
|
+
'data': (value['data'].map(AiGatewayV1ModelUio_1.AiGatewayV1ModelUioToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 AiGatewayV1ModelPricingUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayV1ModelPricingUio {
|
|
18
|
+
/**
|
|
19
|
+
* Coût par token en entrée
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayV1ModelPricingUio
|
|
22
|
+
*/
|
|
23
|
+
input?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Coût par token en sortie
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayV1ModelPricingUio
|
|
28
|
+
*/
|
|
29
|
+
output?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Toujours null — Breign ne tarife pas la lecture de cache
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AiGatewayV1ModelPricingUio
|
|
34
|
+
*/
|
|
35
|
+
inputCacheRead?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Toujours null — Breign ne tarife pas l'écriture de cache
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiGatewayV1ModelPricingUio
|
|
40
|
+
*/
|
|
41
|
+
inputCacheWrite?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AiGatewayV1ModelPricingUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAiGatewayV1ModelPricingUio(value: object): value is AiGatewayV1ModelPricingUio;
|
|
47
|
+
export declare function AiGatewayV1ModelPricingUioFromJSON(json: any): AiGatewayV1ModelPricingUio;
|
|
48
|
+
export declare function AiGatewayV1ModelPricingUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelPricingUio;
|
|
49
|
+
export declare function AiGatewayV1ModelPricingUioToJSON(json: any): AiGatewayV1ModelPricingUio;
|
|
50
|
+
export declare function AiGatewayV1ModelPricingUioToJSONTyped(value?: AiGatewayV1ModelPricingUio | 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.instanceOfAiGatewayV1ModelPricingUio = instanceOfAiGatewayV1ModelPricingUio;
|
|
17
|
+
exports.AiGatewayV1ModelPricingUioFromJSON = AiGatewayV1ModelPricingUioFromJSON;
|
|
18
|
+
exports.AiGatewayV1ModelPricingUioFromJSONTyped = AiGatewayV1ModelPricingUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewayV1ModelPricingUioToJSON = AiGatewayV1ModelPricingUioToJSON;
|
|
20
|
+
exports.AiGatewayV1ModelPricingUioToJSONTyped = AiGatewayV1ModelPricingUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AiGatewayV1ModelPricingUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAiGatewayV1ModelPricingUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AiGatewayV1ModelPricingUioFromJSON(json) {
|
|
28
|
+
return AiGatewayV1ModelPricingUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AiGatewayV1ModelPricingUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'input': json['input'] == null ? undefined : json['input'],
|
|
36
|
+
'output': json['output'] == null ? undefined : json['output'],
|
|
37
|
+
'inputCacheRead': json['input_cache_read'] == null ? undefined : json['input_cache_read'],
|
|
38
|
+
'inputCacheWrite': json['input_cache_write'] == null ? undefined : json['input_cache_write'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AiGatewayV1ModelPricingUioToJSON(json) {
|
|
42
|
+
return AiGatewayV1ModelPricingUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AiGatewayV1ModelPricingUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'input': value['input'],
|
|
50
|
+
'output': value['output'],
|
|
51
|
+
'input_cache_read': value['inputCacheRead'],
|
|
52
|
+
'input_cache_write': value['inputCacheWrite'],
|
|
53
|
+
};
|
|
54
|
+
}
|