@breign/client 1.0.19 → 1.0.21
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/EngineApi.d.ts +13 -0
- package/dist/apis/EngineApi.js +29 -0
- package/dist/apis/KnowledgeApi.d.ts +14 -0
- package/dist/apis/KnowledgeApi.js +31 -0
- package/dist/apis/ToolsApi.d.ts +63 -1
- package/dist/apis/ToolsApi.js +152 -0
- package/dist/models/AgentModuleUio.d.ts +1 -1
- package/dist/models/AgentModuleUio.js +3 -3
- package/dist/models/AgentToolUio.d.ts +9 -1
- package/dist/models/AgentToolUio.js +4 -2
- package/dist/models/GuardianEngineUio.d.ts +1 -1
- package/dist/models/GuardianEngineUio.js +3 -3
- package/dist/models/RevealTokenRequestUio.d.ts +32 -0
- package/dist/models/RevealTokenRequestUio.js +50 -0
- package/dist/models/RevealTokenResponseUio.d.ts +32 -0
- package/dist/models/RevealTokenResponseUio.js +50 -0
- package/dist/models/SetTokenRequestUio.d.ts +32 -0
- package/dist/models/SetTokenRequestUio.js +50 -0
- package/dist/models/ToolCreateRequestUio.d.ts +58 -0
- package/dist/models/ToolCreateRequestUio.js +64 -0
- package/dist/models/ToolSecureConfigurationUio.d.ts +75 -0
- package/dist/models/ToolSecureConfigurationUio.js +61 -0
- package/dist/models/ToolSecureManifestUio.d.ts +35 -0
- package/dist/models/ToolSecureManifestUio.js +50 -0
- package/dist/models/ToolSecureMcpDefinitionUio.d.ts +51 -0
- package/dist/models/ToolSecureMcpDefinitionUio.js +56 -0
- package/dist/models/ToolSecureMcpUio.d.ts +46 -0
- package/dist/models/ToolSecureMcpUio.js +55 -0
- package/dist/models/ToolSecureUio.d.ts +86 -0
- package/dist/models/ToolSecureUio.js +85 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/openapi.json +511 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
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 SetTokenRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetTokenRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* New raw secret token to store
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetTokenRequestUio
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetTokenRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSetTokenRequestUio(value: object): value is SetTokenRequestUio;
|
|
29
|
+
export declare function SetTokenRequestUioFromJSON(json: any): SetTokenRequestUio;
|
|
30
|
+
export declare function SetTokenRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetTokenRequestUio;
|
|
31
|
+
export declare function SetTokenRequestUioToJSON(json: any): SetTokenRequestUio;
|
|
32
|
+
export declare function SetTokenRequestUioToJSONTyped(value?: SetTokenRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfSetTokenRequestUio = instanceOfSetTokenRequestUio;
|
|
17
|
+
exports.SetTokenRequestUioFromJSON = SetTokenRequestUioFromJSON;
|
|
18
|
+
exports.SetTokenRequestUioFromJSONTyped = SetTokenRequestUioFromJSONTyped;
|
|
19
|
+
exports.SetTokenRequestUioToJSON = SetTokenRequestUioToJSON;
|
|
20
|
+
exports.SetTokenRequestUioToJSONTyped = SetTokenRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SetTokenRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSetTokenRequestUio(value) {
|
|
25
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SetTokenRequestUioFromJSON(json) {
|
|
30
|
+
return SetTokenRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SetTokenRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'token': json['token'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SetTokenRequestUioToJSON(json) {
|
|
41
|
+
return SetTokenRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SetTokenRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'token': value['token'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 ToolCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ToolCreateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
orgId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ToolCreateRequestUio
|
|
34
|
+
*/
|
|
35
|
+
description?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* e.g. tool_api | mcp
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ToolCreateRequestUio
|
|
40
|
+
*/
|
|
41
|
+
type: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: any; }}
|
|
45
|
+
* @memberof ToolCreateRequestUio
|
|
46
|
+
*/
|
|
47
|
+
configuration: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ToolCreateRequestUio interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfToolCreateRequestUio(value: object): value is ToolCreateRequestUio;
|
|
55
|
+
export declare function ToolCreateRequestUioFromJSON(json: any): ToolCreateRequestUio;
|
|
56
|
+
export declare function ToolCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolCreateRequestUio;
|
|
57
|
+
export declare function ToolCreateRequestUioToJSON(json: any): ToolCreateRequestUio;
|
|
58
|
+
export declare function ToolCreateRequestUioToJSONTyped(value?: ToolCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfToolCreateRequestUio = instanceOfToolCreateRequestUio;
|
|
17
|
+
exports.ToolCreateRequestUioFromJSON = ToolCreateRequestUioFromJSON;
|
|
18
|
+
exports.ToolCreateRequestUioFromJSONTyped = ToolCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.ToolCreateRequestUioToJSON = ToolCreateRequestUioToJSON;
|
|
20
|
+
exports.ToolCreateRequestUioToJSONTyped = ToolCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolCreateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('configuration' in value) || value['configuration'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ToolCreateRequestUioFromJSON(json) {
|
|
36
|
+
return ToolCreateRequestUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ToolCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'orgId': json['orgId'],
|
|
45
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'configuration': json['configuration'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ToolCreateRequestUioToJSON(json) {
|
|
51
|
+
return ToolCreateRequestUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ToolCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'orgId': value['orgId'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'type': value['type'],
|
|
62
|
+
'configuration': value['configuration'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ToolSecureConfigurationUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolSecureConfigurationUio {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ToolSecureConfigurationUio
|
|
23
|
+
*/
|
|
24
|
+
readonly tokenMasked?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ToolSecureConfigurationUio
|
|
29
|
+
*/
|
|
30
|
+
readonly tokenPreview?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof ToolSecureConfigurationUio
|
|
35
|
+
*/
|
|
36
|
+
readonly hasToken?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* URL du manifest .well-known
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ToolSecureConfigurationUio
|
|
41
|
+
*/
|
|
42
|
+
manifest?: string;
|
|
43
|
+
/**
|
|
44
|
+
* MCP endpoint
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ToolSecureConfigurationUio
|
|
47
|
+
*/
|
|
48
|
+
url?: string;
|
|
49
|
+
/**
|
|
50
|
+
* ex: http, sse
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ToolSecureConfigurationUio
|
|
53
|
+
*/
|
|
54
|
+
transport?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ToolSecureConfigurationUio
|
|
59
|
+
*/
|
|
60
|
+
authType?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof ToolSecureConfigurationUio
|
|
65
|
+
*/
|
|
66
|
+
allowedTools?: Array<string>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the ToolSecureConfigurationUio interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfToolSecureConfigurationUio(value: object): value is ToolSecureConfigurationUio;
|
|
72
|
+
export declare function ToolSecureConfigurationUioFromJSON(json: any): ToolSecureConfigurationUio;
|
|
73
|
+
export declare function ToolSecureConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolSecureConfigurationUio;
|
|
74
|
+
export declare function ToolSecureConfigurationUioToJSON(json: any): ToolSecureConfigurationUio;
|
|
75
|
+
export declare function ToolSecureConfigurationUioToJSONTyped(value?: Omit<ToolSecureConfigurationUio, 'tokenMasked' | 'tokenPreview' | 'hasToken'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfToolSecureConfigurationUio = instanceOfToolSecureConfigurationUio;
|
|
17
|
+
exports.ToolSecureConfigurationUioFromJSON = ToolSecureConfigurationUioFromJSON;
|
|
18
|
+
exports.ToolSecureConfigurationUioFromJSONTyped = ToolSecureConfigurationUioFromJSONTyped;
|
|
19
|
+
exports.ToolSecureConfigurationUioToJSON = ToolSecureConfigurationUioToJSON;
|
|
20
|
+
exports.ToolSecureConfigurationUioToJSONTyped = ToolSecureConfigurationUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolSecureConfigurationUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolSecureConfigurationUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ToolSecureConfigurationUioFromJSON(json) {
|
|
28
|
+
return ToolSecureConfigurationUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ToolSecureConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...json,
|
|
36
|
+
'tokenMasked': json['tokenMasked'] == null ? undefined : json['tokenMasked'],
|
|
37
|
+
'tokenPreview': json['tokenPreview'] == null ? undefined : json['tokenPreview'],
|
|
38
|
+
'hasToken': json['hasToken'] == null ? undefined : json['hasToken'],
|
|
39
|
+
'manifest': json['manifest'] == null ? undefined : json['manifest'],
|
|
40
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
41
|
+
'transport': json['transport'] == null ? undefined : json['transport'],
|
|
42
|
+
'authType': json['authType'] == null ? undefined : json['authType'],
|
|
43
|
+
'allowedTools': json['allowedTools'] == null ? undefined : json['allowedTools'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ToolSecureConfigurationUioToJSON(json) {
|
|
47
|
+
return ToolSecureConfigurationUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ToolSecureConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
...value,
|
|
55
|
+
'manifest': value['manifest'],
|
|
56
|
+
'url': value['url'],
|
|
57
|
+
'transport': value['transport'],
|
|
58
|
+
'authType': value['authType'],
|
|
59
|
+
'allowedTools': value['allowedTools'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 ToolSecureManifestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolSecureManifestUio {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {{ [key: string]: any; }}
|
|
22
|
+
* @memberof ToolSecureManifestUio
|
|
23
|
+
*/
|
|
24
|
+
definition?: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ToolSecureManifestUio interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfToolSecureManifestUio(value: object): value is ToolSecureManifestUio;
|
|
32
|
+
export declare function ToolSecureManifestUioFromJSON(json: any): ToolSecureManifestUio;
|
|
33
|
+
export declare function ToolSecureManifestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolSecureManifestUio;
|
|
34
|
+
export declare function ToolSecureManifestUioToJSON(json: any): ToolSecureManifestUio;
|
|
35
|
+
export declare function ToolSecureManifestUioToJSONTyped(value?: ToolSecureManifestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfToolSecureManifestUio = instanceOfToolSecureManifestUio;
|
|
17
|
+
exports.ToolSecureManifestUioFromJSON = ToolSecureManifestUioFromJSON;
|
|
18
|
+
exports.ToolSecureManifestUioFromJSONTyped = ToolSecureManifestUioFromJSONTyped;
|
|
19
|
+
exports.ToolSecureManifestUioToJSON = ToolSecureManifestUioToJSON;
|
|
20
|
+
exports.ToolSecureManifestUioToJSONTyped = ToolSecureManifestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolSecureManifestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolSecureManifestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ToolSecureManifestUioFromJSON(json) {
|
|
28
|
+
return ToolSecureManifestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ToolSecureManifestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...json,
|
|
36
|
+
'definition': json['definition'] == null ? undefined : json['definition'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ToolSecureManifestUioToJSON(json) {
|
|
40
|
+
return ToolSecureManifestUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ToolSecureManifestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
...value,
|
|
48
|
+
'definition': value['definition'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ToolSecureMcpDefinitionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolSecureMcpDefinitionUio {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ToolSecureMcpDefinitionUio
|
|
23
|
+
*/
|
|
24
|
+
url?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ToolSecureMcpDefinitionUio
|
|
29
|
+
*/
|
|
30
|
+
transport?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ToolSecureMcpDefinitionUio
|
|
35
|
+
*/
|
|
36
|
+
authType?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof ToolSecureMcpDefinitionUio
|
|
41
|
+
*/
|
|
42
|
+
retrievedAt?: Date;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ToolSecureMcpDefinitionUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfToolSecureMcpDefinitionUio(value: object): value is ToolSecureMcpDefinitionUio;
|
|
48
|
+
export declare function ToolSecureMcpDefinitionUioFromJSON(json: any): ToolSecureMcpDefinitionUio;
|
|
49
|
+
export declare function ToolSecureMcpDefinitionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolSecureMcpDefinitionUio;
|
|
50
|
+
export declare function ToolSecureMcpDefinitionUioToJSON(json: any): ToolSecureMcpDefinitionUio;
|
|
51
|
+
export declare function ToolSecureMcpDefinitionUioToJSONTyped(value?: ToolSecureMcpDefinitionUio | 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.instanceOfToolSecureMcpDefinitionUio = instanceOfToolSecureMcpDefinitionUio;
|
|
17
|
+
exports.ToolSecureMcpDefinitionUioFromJSON = ToolSecureMcpDefinitionUioFromJSON;
|
|
18
|
+
exports.ToolSecureMcpDefinitionUioFromJSONTyped = ToolSecureMcpDefinitionUioFromJSONTyped;
|
|
19
|
+
exports.ToolSecureMcpDefinitionUioToJSON = ToolSecureMcpDefinitionUioToJSON;
|
|
20
|
+
exports.ToolSecureMcpDefinitionUioToJSONTyped = ToolSecureMcpDefinitionUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolSecureMcpDefinitionUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolSecureMcpDefinitionUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ToolSecureMcpDefinitionUioFromJSON(json) {
|
|
28
|
+
return ToolSecureMcpDefinitionUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ToolSecureMcpDefinitionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...json,
|
|
36
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
37
|
+
'transport': json['transport'] == null ? undefined : json['transport'],
|
|
38
|
+
'authType': json['authType'] == null ? undefined : json['authType'],
|
|
39
|
+
'retrievedAt': json['retrievedAt'] == null ? undefined : (new Date(json['retrievedAt'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ToolSecureMcpDefinitionUioToJSON(json) {
|
|
43
|
+
return ToolSecureMcpDefinitionUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ToolSecureMcpDefinitionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
...value,
|
|
51
|
+
'url': value['url'],
|
|
52
|
+
'transport': value['transport'],
|
|
53
|
+
'authType': value['authType'],
|
|
54
|
+
'retrievedAt': value['retrievedAt'] == null ? undefined : ((value['retrievedAt']).toISOString()),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 { ToolSecureMcpDefinitionUio } from './ToolSecureMcpDefinitionUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ToolSecureMcpUio
|
|
17
|
+
*/
|
|
18
|
+
export interface ToolSecureMcpUio {
|
|
19
|
+
[key: string]: any | any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ToolSecureMcpDefinitionUio}
|
|
23
|
+
* @memberof ToolSecureMcpUio
|
|
24
|
+
*/
|
|
25
|
+
definition?: ToolSecureMcpDefinitionUio;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {any}
|
|
29
|
+
* @memberof ToolSecureMcpUio
|
|
30
|
+
*/
|
|
31
|
+
introspection?: any | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ToolSecureMcpUio
|
|
36
|
+
*/
|
|
37
|
+
allowedTools?: Array<string>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ToolSecureMcpUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfToolSecureMcpUio(value: object): value is ToolSecureMcpUio;
|
|
43
|
+
export declare function ToolSecureMcpUioFromJSON(json: any): ToolSecureMcpUio;
|
|
44
|
+
export declare function ToolSecureMcpUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolSecureMcpUio;
|
|
45
|
+
export declare function ToolSecureMcpUioToJSON(json: any): ToolSecureMcpUio;
|
|
46
|
+
export declare function ToolSecureMcpUioToJSONTyped(value?: ToolSecureMcpUio | 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.instanceOfToolSecureMcpUio = instanceOfToolSecureMcpUio;
|
|
17
|
+
exports.ToolSecureMcpUioFromJSON = ToolSecureMcpUioFromJSON;
|
|
18
|
+
exports.ToolSecureMcpUioFromJSONTyped = ToolSecureMcpUioFromJSONTyped;
|
|
19
|
+
exports.ToolSecureMcpUioToJSON = ToolSecureMcpUioToJSON;
|
|
20
|
+
exports.ToolSecureMcpUioToJSONTyped = ToolSecureMcpUioToJSONTyped;
|
|
21
|
+
const ToolSecureMcpDefinitionUio_1 = require("./ToolSecureMcpDefinitionUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ToolSecureMcpUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfToolSecureMcpUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ToolSecureMcpUioFromJSON(json) {
|
|
29
|
+
return ToolSecureMcpUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ToolSecureMcpUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
...json,
|
|
37
|
+
'definition': json['definition'] == null ? undefined : (0, ToolSecureMcpDefinitionUio_1.ToolSecureMcpDefinitionUioFromJSON)(json['definition']),
|
|
38
|
+
'introspection': json['introspection'] == null ? undefined : json['introspection'],
|
|
39
|
+
'allowedTools': json['allowedTools'] == null ? undefined : json['allowedTools'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ToolSecureMcpUioToJSON(json) {
|
|
43
|
+
return ToolSecureMcpUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ToolSecureMcpUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
...value,
|
|
51
|
+
'definition': (0, ToolSecureMcpDefinitionUio_1.ToolSecureMcpDefinitionUioToJSON)(value['definition']),
|
|
52
|
+
'introspection': value['introspection'],
|
|
53
|
+
'allowedTools': value['allowedTools'],
|
|
54
|
+
};
|
|
55
|
+
}
|