@breign/client 1.0.5 → 1.0.6
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/AgentApi.d.ts +5 -4
- package/dist/apis/AgentApi.js +6 -3
- package/dist/apis/EngineApi.d.ts +6 -5
- package/dist/apis/EngineApi.js +13 -7
- package/dist/apis/FilesApi.d.ts +21 -21
- package/dist/apis/FilesApi.js +42 -42
- package/dist/apis/GeneralApi.d.ts +2 -2
- package/dist/apis/GeneralApi.js +3 -3
- package/dist/apis/GuardiansApi.d.ts +54 -54
- package/dist/apis/GuardiansApi.js +91 -91
- package/dist/apis/KnowledgeApi.d.ts +72 -72
- package/dist/apis/KnowledgeApi.js +152 -152
- package/dist/apis/ManifestsApi.d.ts +28 -28
- package/dist/apis/ManifestsApi.js +45 -45
- package/dist/apis/MetricsApi.d.ts +14 -14
- package/dist/apis/MetricsApi.js +18 -18
- package/dist/apis/OrganizationsApi.d.ts +3 -3
- package/dist/apis/OrganizationsApi.js +4 -4
- package/dist/apis/PromptsApi.d.ts +31 -31
- package/dist/apis/PromptsApi.js +60 -60
- package/dist/apis/RemotesApi.d.ts +3 -3
- package/dist/apis/RemotesApi.js +4 -4
- package/dist/apis/ToolsApi.d.ts +6 -6
- package/dist/apis/ToolsApi.js +8 -8
- package/dist/models/AgentPatchEngineUio.d.ts +38 -0
- package/dist/models/AgentPatchEngineUio.js +54 -0
- package/dist/models/AgentPatchUio.d.ts +4 -4
- package/dist/models/AgentPatchUio.js +3 -3
- package/dist/models/AgentRequestUio.d.ts +1 -1
- package/dist/models/AgentRequestUio.js +1 -3
- package/dist/models/ChatMessageAudioInnerUio.d.ts +38 -0
- package/dist/models/ChatMessageAudioInnerUio.js +54 -0
- package/dist/models/ChatMessageUio.d.ts +7 -0
- package/dist/models/ChatMessageUio.js +3 -0
- package/dist/models/ChatMessageWithFlowNodeUio.d.ts +129 -0
- package/dist/models/ChatMessageWithFlowNodeUio.js +95 -0
- package/dist/models/ChatUio.d.ts +3 -3
- package/dist/models/ChatUio.js +3 -3
- package/dist/models/DefaultEngineRequestUio.d.ts +1 -7
- package/dist/models/DefaultEngineRequestUio.js +3 -7
- package/dist/models/EngineUio.d.ts +4 -7
- package/dist/models/EngineUio.js +6 -7
- package/dist/models/GuardianCreateRequestUio.d.ts +7 -0
- package/dist/models/GuardianCreateRequestUio.js +5 -0
- package/dist/models/GuardianEngineUio.d.ts +0 -7
- package/dist/models/GuardianEngineUio.js +0 -5
- package/dist/models/GuardianPutRequestUio.d.ts +7 -0
- package/dist/models/GuardianPutRequestUio.js +3 -0
- package/dist/models/GuardianTypeUio.d.ts +26 -0
- package/dist/models/GuardianTypeUio.js +52 -0
- package/dist/models/GuardianUio.d.ts +7 -0
- package/dist/models/GuardianUio.js +5 -0
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +56 -0
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +56 -0
- package/dist/models/ProviderCreateRequestUio.d.ts +4 -9
- package/dist/models/ProviderCreateRequestUio.js +4 -9
- package/dist/models/ProviderTypeUio.d.ts +27 -0
- package/dist/models/ProviderTypeUio.js +53 -0
- package/dist/models/ProviderUio.d.ts +4 -9
- package/dist/models/ProviderUio.js +4 -9
- package/dist/models/index.d.ts +6 -5
- package/dist/models/index.js +6 -5
- package/dist/openapi.json +171 -81
- package/package.json +1 -1
- package/dist/models/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.d.ts +0 -56
- package/dist/models/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.js +0 -56
- package/dist/models/DuplicateAgent201ResponseUio.d.ts +0 -32
- package/dist/models/DuplicateAgent201ResponseUio.js +0 -50
- package/dist/models/EngineTypeUio.d.ts +0 -25
- package/dist/models/EngineTypeUio.js +0 -51
- package/dist/models/GuardianEngineTypeUio.d.ts +0 -26
- package/dist/models/GuardianEngineTypeUio.js +0 -52
- package/dist/models/GuardianExcludedAgentsRequestUio.d.ts +0 -32
- package/dist/models/GuardianExcludedAgentsRequestUio.js +0 -50
|
@@ -20,6 +20,7 @@ exports.GuardianUioToJSON = GuardianUioToJSON;
|
|
|
20
20
|
exports.GuardianUioToJSONTyped = GuardianUioToJSONTyped;
|
|
21
21
|
const GuardianRoleUio_1 = require("./GuardianRoleUio");
|
|
22
22
|
const GuardianEngineUio_1 = require("./GuardianEngineUio");
|
|
23
|
+
const GuardianTypeUio_1 = require("./GuardianTypeUio");
|
|
23
24
|
const GuardianPositionUio_1 = require("./GuardianPositionUio");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the GuardianUio interface.
|
|
@@ -27,6 +28,8 @@ const GuardianPositionUio_1 = require("./GuardianPositionUio");
|
|
|
27
28
|
function instanceOfGuardianUio(value) {
|
|
28
29
|
if (!('id' in value) || value['id'] === undefined)
|
|
29
30
|
return false;
|
|
31
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
32
|
+
return false;
|
|
30
33
|
if (!('role' in value) || value['role'] === undefined)
|
|
31
34
|
return false;
|
|
32
35
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -45,6 +48,7 @@ function GuardianUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
48
|
return {
|
|
46
49
|
'id': json['id'],
|
|
47
50
|
'name': json['name'] == null ? undefined : json['name'],
|
|
51
|
+
'type': (0, GuardianTypeUio_1.GuardianTypeUioFromJSON)(json['type']),
|
|
48
52
|
'description': json['description'] == null ? undefined : json['description'],
|
|
49
53
|
'forbiddenMessages': json['forbiddenMessages'] == null ? undefined : json['forbiddenMessages'],
|
|
50
54
|
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
@@ -69,6 +73,7 @@ function GuardianUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
69
73
|
return {
|
|
70
74
|
'id': value['id'],
|
|
71
75
|
'name': value['name'],
|
|
76
|
+
'type': (0, GuardianTypeUio_1.GuardianTypeUioToJSON)(value['type']),
|
|
72
77
|
'description': value['description'],
|
|
73
78
|
'forbiddenMessages': value['forbiddenMessages'],
|
|
74
79
|
'agentId': value['agentId'],
|
|
@@ -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 ImportFileToAgentKnowledge200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ImportFileToAgentKnowledge200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
40
|
+
*/
|
|
41
|
+
size?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
46
|
+
*/
|
|
47
|
+
chunkCount?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfImportFileToAgentKnowledge200ResponseUio(value: object): value is ImportFileToAgentKnowledge200ResponseUio;
|
|
53
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
54
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportFileToAgentKnowledge200ResponseUio;
|
|
55
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioToJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
56
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value?: ImportFileToAgentKnowledge200ResponseUio | 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.instanceOfImportFileToAgentKnowledge200ResponseUio = instanceOfImportFileToAgentKnowledge200ResponseUio;
|
|
17
|
+
exports.ImportFileToAgentKnowledge200ResponseUioFromJSON = ImportFileToAgentKnowledge200ResponseUioFromJSON;
|
|
18
|
+
exports.ImportFileToAgentKnowledge200ResponseUioFromJSONTyped = ImportFileToAgentKnowledge200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.ImportFileToAgentKnowledge200ResponseUioToJSON = ImportFileToAgentKnowledge200ResponseUioToJSON;
|
|
20
|
+
exports.ImportFileToAgentKnowledge200ResponseUioToJSONTyped = ImportFileToAgentKnowledge200ResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfImportFileToAgentKnowledge200ResponseUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ImportFileToAgentKnowledge200ResponseUioFromJSON(json) {
|
|
28
|
+
return ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
38
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
39
|
+
'chunkCount': json['chunkCount'] == null ? undefined : json['chunkCount'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ImportFileToAgentKnowledge200ResponseUioToJSON(json) {
|
|
43
|
+
return ImportFileToAgentKnowledge200ResponseUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'type': value['type'],
|
|
53
|
+
'size': value['size'],
|
|
54
|
+
'chunkCount': value['chunkCount'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ProviderTypeUio } from './ProviderTypeUio';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface ProviderCreateRequestUio {
|
|
|
23
24
|
name: string;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {ProviderTypeUio}
|
|
27
28
|
* @memberof ProviderCreateRequestUio
|
|
28
29
|
*/
|
|
29
|
-
providerType:
|
|
30
|
+
providerType: ProviderTypeUio;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {Array<string>}
|
|
@@ -38,19 +39,13 @@ export interface ProviderCreateRequestUio {
|
|
|
38
39
|
* @type {string}
|
|
39
40
|
* @memberof ProviderCreateRequestUio
|
|
40
41
|
*/
|
|
41
|
-
apiKey
|
|
42
|
+
apiKey?: string;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
45
|
* @type {string}
|
|
45
46
|
* @memberof ProviderCreateRequestUio
|
|
46
47
|
*/
|
|
47
48
|
endpoint?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ProviderCreateRequestUio
|
|
52
|
-
*/
|
|
53
|
-
organizationId: string;
|
|
54
49
|
}
|
|
55
50
|
/**
|
|
56
51
|
* Check if a given object implements the ProviderCreateRequestUio interface.
|
|
@@ -18,6 +18,7 @@ exports.ProviderCreateRequestUioFromJSON = ProviderCreateRequestUioFromJSON;
|
|
|
18
18
|
exports.ProviderCreateRequestUioFromJSONTyped = ProviderCreateRequestUioFromJSONTyped;
|
|
19
19
|
exports.ProviderCreateRequestUioToJSON = ProviderCreateRequestUioToJSON;
|
|
20
20
|
exports.ProviderCreateRequestUioToJSONTyped = ProviderCreateRequestUioToJSONTyped;
|
|
21
|
+
const ProviderTypeUio_1 = require("./ProviderTypeUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ProviderCreateRequestUio interface.
|
|
23
24
|
*/
|
|
@@ -28,10 +29,6 @@ function instanceOfProviderCreateRequestUio(value) {
|
|
|
28
29
|
return false;
|
|
29
30
|
if (!('models' in value) || value['models'] === undefined)
|
|
30
31
|
return false;
|
|
31
|
-
if (!('apiKey' in value) || value['apiKey'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
34
|
-
return false;
|
|
35
32
|
return true;
|
|
36
33
|
}
|
|
37
34
|
function ProviderCreateRequestUioFromJSON(json) {
|
|
@@ -43,11 +40,10 @@ function ProviderCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
40
|
}
|
|
44
41
|
return {
|
|
45
42
|
'name': json['name'],
|
|
46
|
-
'providerType': json['providerType'],
|
|
43
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioFromJSON)(json['providerType']),
|
|
47
44
|
'models': json['models'],
|
|
48
|
-
'apiKey': json['apiKey'],
|
|
45
|
+
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
49
46
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
50
|
-
'organizationId': json['organizationId'],
|
|
51
47
|
};
|
|
52
48
|
}
|
|
53
49
|
function ProviderCreateRequestUioToJSON(json) {
|
|
@@ -59,10 +55,9 @@ function ProviderCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
59
55
|
}
|
|
60
56
|
return {
|
|
61
57
|
'name': value['name'],
|
|
62
|
-
'providerType': value['providerType'],
|
|
58
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioToJSON)(value['providerType']),
|
|
63
59
|
'models': value['models'],
|
|
64
60
|
'apiKey': value['apiKey'],
|
|
65
61
|
'endpoint': value['endpoint'],
|
|
66
|
-
'organizationId': value['organizationId'],
|
|
67
62
|
};
|
|
68
63
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProviderTypeUio: {
|
|
17
|
+
readonly Llamacpp: "llamacpp";
|
|
18
|
+
readonly Openai: "openai";
|
|
19
|
+
readonly Mistral: "mistral";
|
|
20
|
+
readonly Other: "other";
|
|
21
|
+
};
|
|
22
|
+
export type ProviderTypeUio = typeof ProviderTypeUio[keyof typeof ProviderTypeUio];
|
|
23
|
+
export declare function instanceOfProviderTypeUio(value: any): boolean;
|
|
24
|
+
export declare function ProviderTypeUioFromJSON(json: any): ProviderTypeUio;
|
|
25
|
+
export declare function ProviderTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderTypeUio;
|
|
26
|
+
export declare function ProviderTypeUioToJSON(value?: ProviderTypeUio | null): any;
|
|
27
|
+
export declare function ProviderTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): ProviderTypeUio;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.ProviderTypeUio = void 0;
|
|
17
|
+
exports.instanceOfProviderTypeUio = instanceOfProviderTypeUio;
|
|
18
|
+
exports.ProviderTypeUioFromJSON = ProviderTypeUioFromJSON;
|
|
19
|
+
exports.ProviderTypeUioFromJSONTyped = ProviderTypeUioFromJSONTyped;
|
|
20
|
+
exports.ProviderTypeUioToJSON = ProviderTypeUioToJSON;
|
|
21
|
+
exports.ProviderTypeUioToJSONTyped = ProviderTypeUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProviderTypeUio = {
|
|
27
|
+
Llamacpp: 'llamacpp',
|
|
28
|
+
Openai: 'openai',
|
|
29
|
+
Mistral: 'mistral',
|
|
30
|
+
Other: 'other'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfProviderTypeUio(value) {
|
|
33
|
+
for (const key in exports.ProviderTypeUio) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProviderTypeUio, key)) {
|
|
35
|
+
if (exports.ProviderTypeUio[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function ProviderTypeUioFromJSON(json) {
|
|
43
|
+
return ProviderTypeUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ProviderTypeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function ProviderTypeUioToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function ProviderTypeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ProviderTypeUio } from './ProviderTypeUio';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface ProviderUio {
|
|
|
23
24
|
name: string;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {ProviderTypeUio}
|
|
27
28
|
* @memberof ProviderUio
|
|
28
29
|
*/
|
|
29
|
-
providerType:
|
|
30
|
+
providerType: ProviderTypeUio;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {Array<string>}
|
|
@@ -38,19 +39,13 @@ export interface ProviderUio {
|
|
|
38
39
|
* @type {string}
|
|
39
40
|
* @memberof ProviderUio
|
|
40
41
|
*/
|
|
41
|
-
apiKey
|
|
42
|
+
apiKey?: string;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
45
|
* @type {string}
|
|
45
46
|
* @memberof ProviderUio
|
|
46
47
|
*/
|
|
47
48
|
endpoint?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ProviderUio
|
|
52
|
-
*/
|
|
53
|
-
organizationId: string;
|
|
54
49
|
/**
|
|
55
50
|
*
|
|
56
51
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ exports.ProviderUioFromJSON = ProviderUioFromJSON;
|
|
|
18
18
|
exports.ProviderUioFromJSONTyped = ProviderUioFromJSONTyped;
|
|
19
19
|
exports.ProviderUioToJSON = ProviderUioToJSON;
|
|
20
20
|
exports.ProviderUioToJSONTyped = ProviderUioToJSONTyped;
|
|
21
|
+
const ProviderTypeUio_1 = require("./ProviderTypeUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ProviderUio interface.
|
|
23
24
|
*/
|
|
@@ -28,10 +29,6 @@ function instanceOfProviderUio(value) {
|
|
|
28
29
|
return false;
|
|
29
30
|
if (!('models' in value) || value['models'] === undefined)
|
|
30
31
|
return false;
|
|
31
|
-
if (!('apiKey' in value) || value['apiKey'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
34
|
-
return false;
|
|
35
32
|
if (!('id' in value) || value['id'] === undefined)
|
|
36
33
|
return false;
|
|
37
34
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -47,11 +44,10 @@ function ProviderUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
44
|
}
|
|
48
45
|
return {
|
|
49
46
|
'name': json['name'],
|
|
50
|
-
'providerType': json['providerType'],
|
|
47
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioFromJSON)(json['providerType']),
|
|
51
48
|
'models': json['models'],
|
|
52
|
-
'apiKey': json['apiKey'],
|
|
49
|
+
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
53
50
|
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
|
|
54
|
-
'organizationId': json['organizationId'],
|
|
55
51
|
'id': json['id'],
|
|
56
52
|
'createdAt': json['createdAt'],
|
|
57
53
|
};
|
|
@@ -65,11 +61,10 @@ function ProviderUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
61
|
}
|
|
66
62
|
return {
|
|
67
63
|
'name': value['name'],
|
|
68
|
-
'providerType': value['providerType'],
|
|
64
|
+
'providerType': (0, ProviderTypeUio_1.ProviderTypeUioToJSON)(value['providerType']),
|
|
69
65
|
'models': value['models'],
|
|
70
66
|
'apiKey': value['apiKey'],
|
|
71
67
|
'endpoint': value['endpoint'],
|
|
72
|
-
'organizationId': value['organizationId'],
|
|
73
68
|
'id': value['id'],
|
|
74
69
|
'createdAt': value['createdAt'],
|
|
75
70
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './AgentMetricsUnitsTypeUio';
|
|
|
9
9
|
export * from './AgentMetricsValueUio';
|
|
10
10
|
export * from './AgentModuleTypeUio';
|
|
11
11
|
export * from './AgentModuleUio';
|
|
12
|
+
export * from './AgentPatchEngineUio';
|
|
12
13
|
export * from './AgentPatchUio';
|
|
13
14
|
export * from './AgentRequestProfilePictureUio';
|
|
14
15
|
export * from './AgentRequestUio';
|
|
@@ -19,7 +20,6 @@ export * from './AgentTypeUio';
|
|
|
19
20
|
export * from './AgentUio';
|
|
20
21
|
export * from './AgentUsageMetricsIdUio';
|
|
21
22
|
export * from './AgentUsageMetricsUio';
|
|
22
|
-
export * from './AgentsAgentIdKnowledgeFileImportsPost200ResponseUio';
|
|
23
23
|
export * from './ApiKeyUio';
|
|
24
24
|
export * from './AppChatCreateRequestUio';
|
|
25
25
|
export * from './AppChatCreateResponseUio';
|
|
@@ -56,8 +56,10 @@ export * from './AuthTypeUio';
|
|
|
56
56
|
export * from './BodyWithIdUio';
|
|
57
57
|
export * from './BodyWithMessageUio';
|
|
58
58
|
export * from './ChatContextUio';
|
|
59
|
+
export * from './ChatMessageAudioInnerUio';
|
|
59
60
|
export * from './ChatMessageRoleUio';
|
|
60
61
|
export * from './ChatMessageUio';
|
|
62
|
+
export * from './ChatMessageWithFlowNodeUio';
|
|
61
63
|
export * from './ChatUio';
|
|
62
64
|
export * from './ChunkContentCreateUio';
|
|
63
65
|
export * from './ChunkContentUio';
|
|
@@ -73,8 +75,6 @@ export * from './CostMetricUio';
|
|
|
73
75
|
export * from './DefaultClientPricesUio';
|
|
74
76
|
export * from './DefaultEngineRequestUio';
|
|
75
77
|
export * from './DocumentAddRequestUio';
|
|
76
|
-
export * from './DuplicateAgent201ResponseUio';
|
|
77
|
-
export * from './EngineTypeUio';
|
|
78
78
|
export * from './EngineUio';
|
|
79
79
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
80
80
|
export * from './FileAttachmentProcessedOneOfUio';
|
|
@@ -93,17 +93,17 @@ export * from './FlowEntrypointsUio';
|
|
|
93
93
|
export * from './FlowOptionsUio';
|
|
94
94
|
export * from './FlowUio';
|
|
95
95
|
export * from './GuardianCreateRequestUio';
|
|
96
|
-
export * from './GuardianEngineTypeUio';
|
|
97
96
|
export * from './GuardianEngineUio';
|
|
98
|
-
export * from './GuardianExcludedAgentsRequestUio';
|
|
99
97
|
export * from './GuardianPositionUio';
|
|
100
98
|
export * from './GuardianPutRequestUio';
|
|
101
99
|
export * from './GuardianRoleUio';
|
|
100
|
+
export * from './GuardianTypeUio';
|
|
102
101
|
export * from './GuardianUio';
|
|
103
102
|
export * from './HealthCheckResponseComponentsApiUio';
|
|
104
103
|
export * from './HealthCheckResponseComponentsUio';
|
|
105
104
|
export * from './HealthCheckResponseUio';
|
|
106
105
|
export * from './HealthStatusUio';
|
|
106
|
+
export * from './ImportFileToAgentKnowledge200ResponseUio';
|
|
107
107
|
export * from './InputUio';
|
|
108
108
|
export * from './InstanceUio';
|
|
109
109
|
export * from './KnowledgeBasePrivacyUio';
|
|
@@ -133,6 +133,7 @@ export * from './PromptFlowCreateResponseUio';
|
|
|
133
133
|
export * from './PromptInitUio';
|
|
134
134
|
export * from './ProviderCreateRequestUio';
|
|
135
135
|
export * from './ProviderSimpleUio';
|
|
136
|
+
export * from './ProviderTypeUio';
|
|
136
137
|
export * from './ProviderUio';
|
|
137
138
|
export * from './ProviderValiationRequestUio';
|
|
138
139
|
export * from './S3UploadBodyUio';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./AgentMetricsUnitsTypeUio"), exports);
|
|
|
27
27
|
__exportStar(require("./AgentMetricsValueUio"), exports);
|
|
28
28
|
__exportStar(require("./AgentModuleTypeUio"), exports);
|
|
29
29
|
__exportStar(require("./AgentModuleUio"), exports);
|
|
30
|
+
__exportStar(require("./AgentPatchEngineUio"), exports);
|
|
30
31
|
__exportStar(require("./AgentPatchUio"), exports);
|
|
31
32
|
__exportStar(require("./AgentRequestProfilePictureUio"), exports);
|
|
32
33
|
__exportStar(require("./AgentRequestUio"), exports);
|
|
@@ -37,7 +38,6 @@ __exportStar(require("./AgentTypeUio"), exports);
|
|
|
37
38
|
__exportStar(require("./AgentUio"), exports);
|
|
38
39
|
__exportStar(require("./AgentUsageMetricsIdUio"), exports);
|
|
39
40
|
__exportStar(require("./AgentUsageMetricsUio"), exports);
|
|
40
|
-
__exportStar(require("./AgentsAgentIdKnowledgeFileImportsPost200ResponseUio"), exports);
|
|
41
41
|
__exportStar(require("./ApiKeyUio"), exports);
|
|
42
42
|
__exportStar(require("./AppChatCreateRequestUio"), exports);
|
|
43
43
|
__exportStar(require("./AppChatCreateResponseUio"), exports);
|
|
@@ -74,8 +74,10 @@ __exportStar(require("./AuthTypeUio"), exports);
|
|
|
74
74
|
__exportStar(require("./BodyWithIdUio"), exports);
|
|
75
75
|
__exportStar(require("./BodyWithMessageUio"), exports);
|
|
76
76
|
__exportStar(require("./ChatContextUio"), exports);
|
|
77
|
+
__exportStar(require("./ChatMessageAudioInnerUio"), exports);
|
|
77
78
|
__exportStar(require("./ChatMessageRoleUio"), exports);
|
|
78
79
|
__exportStar(require("./ChatMessageUio"), exports);
|
|
80
|
+
__exportStar(require("./ChatMessageWithFlowNodeUio"), exports);
|
|
79
81
|
__exportStar(require("./ChatUio"), exports);
|
|
80
82
|
__exportStar(require("./ChunkContentCreateUio"), exports);
|
|
81
83
|
__exportStar(require("./ChunkContentUio"), exports);
|
|
@@ -91,8 +93,6 @@ __exportStar(require("./CostMetricUio"), exports);
|
|
|
91
93
|
__exportStar(require("./DefaultClientPricesUio"), exports);
|
|
92
94
|
__exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
93
95
|
__exportStar(require("./DocumentAddRequestUio"), exports);
|
|
94
|
-
__exportStar(require("./DuplicateAgent201ResponseUio"), exports);
|
|
95
|
-
__exportStar(require("./EngineTypeUio"), exports);
|
|
96
96
|
__exportStar(require("./EngineUio"), exports);
|
|
97
97
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
98
98
|
__exportStar(require("./FileAttachmentProcessedOneOfUio"), exports);
|
|
@@ -111,17 +111,17 @@ __exportStar(require("./FlowEntrypointsUio"), exports);
|
|
|
111
111
|
__exportStar(require("./FlowOptionsUio"), exports);
|
|
112
112
|
__exportStar(require("./FlowUio"), exports);
|
|
113
113
|
__exportStar(require("./GuardianCreateRequestUio"), exports);
|
|
114
|
-
__exportStar(require("./GuardianEngineTypeUio"), exports);
|
|
115
114
|
__exportStar(require("./GuardianEngineUio"), exports);
|
|
116
|
-
__exportStar(require("./GuardianExcludedAgentsRequestUio"), exports);
|
|
117
115
|
__exportStar(require("./GuardianPositionUio"), exports);
|
|
118
116
|
__exportStar(require("./GuardianPutRequestUio"), exports);
|
|
119
117
|
__exportStar(require("./GuardianRoleUio"), exports);
|
|
118
|
+
__exportStar(require("./GuardianTypeUio"), exports);
|
|
120
119
|
__exportStar(require("./GuardianUio"), exports);
|
|
121
120
|
__exportStar(require("./HealthCheckResponseComponentsApiUio"), exports);
|
|
122
121
|
__exportStar(require("./HealthCheckResponseComponentsUio"), exports);
|
|
123
122
|
__exportStar(require("./HealthCheckResponseUio"), exports);
|
|
124
123
|
__exportStar(require("./HealthStatusUio"), exports);
|
|
124
|
+
__exportStar(require("./ImportFileToAgentKnowledge200ResponseUio"), exports);
|
|
125
125
|
__exportStar(require("./InputUio"), exports);
|
|
126
126
|
__exportStar(require("./InstanceUio"), exports);
|
|
127
127
|
__exportStar(require("./KnowledgeBasePrivacyUio"), exports);
|
|
@@ -151,6 +151,7 @@ __exportStar(require("./PromptFlowCreateResponseUio"), exports);
|
|
|
151
151
|
__exportStar(require("./PromptInitUio"), exports);
|
|
152
152
|
__exportStar(require("./ProviderCreateRequestUio"), exports);
|
|
153
153
|
__exportStar(require("./ProviderSimpleUio"), exports);
|
|
154
|
+
__exportStar(require("./ProviderTypeUio"), exports);
|
|
154
155
|
__exportStar(require("./ProviderUio"), exports);
|
|
155
156
|
__exportStar(require("./ProviderValiationRequestUio"), exports);
|
|
156
157
|
__exportStar(require("./S3UploadBodyUio"), exports);
|