@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
package/package.json
CHANGED
|
@@ -1,56 +0,0 @@
|
|
|
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 AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
16
|
-
*/
|
|
17
|
-
export interface AgentsAgentIdKnowledgeFileImportsPost200ResponseUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
34
|
-
*/
|
|
35
|
-
type?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
40
|
-
*/
|
|
41
|
-
size?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof AgentsAgentIdKnowledgeFileImportsPost200ResponseUio
|
|
46
|
-
*/
|
|
47
|
-
chunkCount?: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the AgentsAgentIdKnowledgeFileImportsPost200ResponseUio interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfAgentsAgentIdKnowledgeFileImportsPost200ResponseUio(value: object): value is AgentsAgentIdKnowledgeFileImportsPost200ResponseUio;
|
|
53
|
-
export declare function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSON(json: any): AgentsAgentIdKnowledgeFileImportsPost200ResponseUio;
|
|
54
|
-
export declare function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentsAgentIdKnowledgeFileImportsPost200ResponseUio;
|
|
55
|
-
export declare function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSON(json: any): AgentsAgentIdKnowledgeFileImportsPost200ResponseUio;
|
|
56
|
-
export declare function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSONTyped(value?: AgentsAgentIdKnowledgeFileImportsPost200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.instanceOfAgentsAgentIdKnowledgeFileImportsPost200ResponseUio = instanceOfAgentsAgentIdKnowledgeFileImportsPost200ResponseUio;
|
|
17
|
-
exports.AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSON = AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSON;
|
|
18
|
-
exports.AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSONTyped = AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSONTyped;
|
|
19
|
-
exports.AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSON = AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSON;
|
|
20
|
-
exports.AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSONTyped = AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AgentsAgentIdKnowledgeFileImportsPost200ResponseUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAgentsAgentIdKnowledgeFileImportsPost200ResponseUio(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSON(json) {
|
|
28
|
-
return AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioFromJSONTyped(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 AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSON(json) {
|
|
43
|
-
return AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function AgentsAgentIdKnowledgeFileImportsPost200ResponseUioToJSONTyped(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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 DuplicateAgent201ResponseUio
|
|
16
|
-
*/
|
|
17
|
-
export interface DuplicateAgent201ResponseUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DuplicateAgent201ResponseUio
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DuplicateAgent201ResponseUio interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDuplicateAgent201ResponseUio(value: object): value is DuplicateAgent201ResponseUio;
|
|
29
|
-
export declare function DuplicateAgent201ResponseUioFromJSON(json: any): DuplicateAgent201ResponseUio;
|
|
30
|
-
export declare function DuplicateAgent201ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DuplicateAgent201ResponseUio;
|
|
31
|
-
export declare function DuplicateAgent201ResponseUioToJSON(json: any): DuplicateAgent201ResponseUio;
|
|
32
|
-
export declare function DuplicateAgent201ResponseUioToJSONTyped(value?: DuplicateAgent201ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfDuplicateAgent201ResponseUio = instanceOfDuplicateAgent201ResponseUio;
|
|
17
|
-
exports.DuplicateAgent201ResponseUioFromJSON = DuplicateAgent201ResponseUioFromJSON;
|
|
18
|
-
exports.DuplicateAgent201ResponseUioFromJSONTyped = DuplicateAgent201ResponseUioFromJSONTyped;
|
|
19
|
-
exports.DuplicateAgent201ResponseUioToJSON = DuplicateAgent201ResponseUioToJSON;
|
|
20
|
-
exports.DuplicateAgent201ResponseUioToJSONTyped = DuplicateAgent201ResponseUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DuplicateAgent201ResponseUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDuplicateAgent201ResponseUio(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DuplicateAgent201ResponseUioFromJSON(json) {
|
|
30
|
-
return DuplicateAgent201ResponseUioFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DuplicateAgent201ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'id': json['id'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function DuplicateAgent201ResponseUioToJSON(json) {
|
|
41
|
-
return DuplicateAgent201ResponseUioToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function DuplicateAgent201ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'id': value['id'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 EngineTypeUio: {
|
|
17
|
-
readonly Llamacpp: "llamacpp";
|
|
18
|
-
readonly Openai: "openai";
|
|
19
|
-
};
|
|
20
|
-
export type EngineTypeUio = typeof EngineTypeUio[keyof typeof EngineTypeUio];
|
|
21
|
-
export declare function instanceOfEngineTypeUio(value: any): boolean;
|
|
22
|
-
export declare function EngineTypeUioFromJSON(json: any): EngineTypeUio;
|
|
23
|
-
export declare function EngineTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EngineTypeUio;
|
|
24
|
-
export declare function EngineTypeUioToJSON(value?: EngineTypeUio | null): any;
|
|
25
|
-
export declare function EngineTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): EngineTypeUio;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.EngineTypeUio = void 0;
|
|
17
|
-
exports.instanceOfEngineTypeUio = instanceOfEngineTypeUio;
|
|
18
|
-
exports.EngineTypeUioFromJSON = EngineTypeUioFromJSON;
|
|
19
|
-
exports.EngineTypeUioFromJSONTyped = EngineTypeUioFromJSONTyped;
|
|
20
|
-
exports.EngineTypeUioToJSON = EngineTypeUioToJSON;
|
|
21
|
-
exports.EngineTypeUioToJSONTyped = EngineTypeUioToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.EngineTypeUio = {
|
|
27
|
-
Llamacpp: 'llamacpp',
|
|
28
|
-
Openai: 'openai'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfEngineTypeUio(value) {
|
|
31
|
-
for (const key in exports.EngineTypeUio) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.EngineTypeUio, key)) {
|
|
33
|
-
if (exports.EngineTypeUio[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function EngineTypeUioFromJSON(json) {
|
|
41
|
-
return EngineTypeUioFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function EngineTypeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function EngineTypeUioToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function EngineTypeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 GuardianEngineTypeUio: {
|
|
17
|
-
readonly Node: "node";
|
|
18
|
-
readonly Openai: "openai";
|
|
19
|
-
readonly Llmguards: "llmguards";
|
|
20
|
-
};
|
|
21
|
-
export type GuardianEngineTypeUio = typeof GuardianEngineTypeUio[keyof typeof GuardianEngineTypeUio];
|
|
22
|
-
export declare function instanceOfGuardianEngineTypeUio(value: any): boolean;
|
|
23
|
-
export declare function GuardianEngineTypeUioFromJSON(json: any): GuardianEngineTypeUio;
|
|
24
|
-
export declare function GuardianEngineTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuardianEngineTypeUio;
|
|
25
|
-
export declare function GuardianEngineTypeUioToJSON(value?: GuardianEngineTypeUio | null): any;
|
|
26
|
-
export declare function GuardianEngineTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): GuardianEngineTypeUio;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.GuardianEngineTypeUio = void 0;
|
|
17
|
-
exports.instanceOfGuardianEngineTypeUio = instanceOfGuardianEngineTypeUio;
|
|
18
|
-
exports.GuardianEngineTypeUioFromJSON = GuardianEngineTypeUioFromJSON;
|
|
19
|
-
exports.GuardianEngineTypeUioFromJSONTyped = GuardianEngineTypeUioFromJSONTyped;
|
|
20
|
-
exports.GuardianEngineTypeUioToJSON = GuardianEngineTypeUioToJSON;
|
|
21
|
-
exports.GuardianEngineTypeUioToJSONTyped = GuardianEngineTypeUioToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.GuardianEngineTypeUio = {
|
|
27
|
-
Node: 'node',
|
|
28
|
-
Openai: 'openai',
|
|
29
|
-
Llmguards: 'llmguards'
|
|
30
|
-
};
|
|
31
|
-
function instanceOfGuardianEngineTypeUio(value) {
|
|
32
|
-
for (const key in exports.GuardianEngineTypeUio) {
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(exports.GuardianEngineTypeUio, key)) {
|
|
34
|
-
if (exports.GuardianEngineTypeUio[key] === value) {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
function GuardianEngineTypeUioFromJSON(json) {
|
|
42
|
-
return GuardianEngineTypeUioFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function GuardianEngineTypeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
function GuardianEngineTypeUioToJSON(value) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
function GuardianEngineTypeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 GuardianExcludedAgentsRequestUio
|
|
16
|
-
*/
|
|
17
|
-
export interface GuardianExcludedAgentsRequestUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof GuardianExcludedAgentsRequestUio
|
|
22
|
-
*/
|
|
23
|
-
excludedAgents: Array<string>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the GuardianExcludedAgentsRequestUio interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfGuardianExcludedAgentsRequestUio(value: object): value is GuardianExcludedAgentsRequestUio;
|
|
29
|
-
export declare function GuardianExcludedAgentsRequestUioFromJSON(json: any): GuardianExcludedAgentsRequestUio;
|
|
30
|
-
export declare function GuardianExcludedAgentsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuardianExcludedAgentsRequestUio;
|
|
31
|
-
export declare function GuardianExcludedAgentsRequestUioToJSON(json: any): GuardianExcludedAgentsRequestUio;
|
|
32
|
-
export declare function GuardianExcludedAgentsRequestUioToJSONTyped(value?: GuardianExcludedAgentsRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfGuardianExcludedAgentsRequestUio = instanceOfGuardianExcludedAgentsRequestUio;
|
|
17
|
-
exports.GuardianExcludedAgentsRequestUioFromJSON = GuardianExcludedAgentsRequestUioFromJSON;
|
|
18
|
-
exports.GuardianExcludedAgentsRequestUioFromJSONTyped = GuardianExcludedAgentsRequestUioFromJSONTyped;
|
|
19
|
-
exports.GuardianExcludedAgentsRequestUioToJSON = GuardianExcludedAgentsRequestUioToJSON;
|
|
20
|
-
exports.GuardianExcludedAgentsRequestUioToJSONTyped = GuardianExcludedAgentsRequestUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GuardianExcludedAgentsRequestUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGuardianExcludedAgentsRequestUio(value) {
|
|
25
|
-
if (!('excludedAgents' in value) || value['excludedAgents'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function GuardianExcludedAgentsRequestUioFromJSON(json) {
|
|
30
|
-
return GuardianExcludedAgentsRequestUioFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function GuardianExcludedAgentsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'excludedAgents': json['excludedAgents'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function GuardianExcludedAgentsRequestUioToJSON(json) {
|
|
41
|
-
return GuardianExcludedAgentsRequestUioToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function GuardianExcludedAgentsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'excludedAgents': value['excludedAgents'],
|
|
49
|
-
};
|
|
50
|
-
}
|