@breign/client 1.0.120 → 1.0.121
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 +36 -1
- package/dist/apis/AgentApi.js +76 -1
- package/dist/models/AgentImportReportAgentRenamedUio.d.ts +38 -0
- package/dist/models/AgentImportReportAgentRenamedUio.js +54 -0
- package/dist/models/AgentImportReportContextualKnowledgeUio.d.ts +46 -0
- package/dist/models/AgentImportReportContextualKnowledgeUio.js +60 -0
- package/dist/models/AgentImportReportEngineRequestedUio.d.ts +38 -0
- package/dist/models/AgentImportReportEngineRequestedUio.js +54 -0
- package/dist/models/AgentImportReportEngineUio.d.ts +48 -0
- package/dist/models/AgentImportReportEngineUio.js +62 -0
- package/dist/models/AgentImportReportFlowUio.d.ts +46 -0
- package/dist/models/AgentImportReportFlowUio.js +60 -0
- package/dist/models/AgentImportReportSkillsInnerUio.d.ts +60 -0
- package/dist/models/AgentImportReportSkillsInnerUio.js +68 -0
- package/dist/models/AgentImportReportToolsInnerUio.d.ts +54 -0
- package/dist/models/AgentImportReportToolsInnerUio.js +66 -0
- package/dist/models/AgentImportReportUio.d.ts +80 -0
- package/dist/models/AgentImportReportUio.js +80 -0
- package/dist/models/AgentImportRequestUio.d.ts +52 -0
- package/dist/models/AgentImportRequestUio.js +66 -0
- package/dist/models/AgentImportResponseUio.d.ts +51 -0
- package/dist/models/AgentImportResponseUio.js +63 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/openapi.json +286 -0
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
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.AgentImportReportFlowUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentImportReportFlowUio = instanceOfAgentImportReportFlowUio;
|
|
18
|
+
exports.AgentImportReportFlowUioFromJSON = AgentImportReportFlowUioFromJSON;
|
|
19
|
+
exports.AgentImportReportFlowUioFromJSONTyped = AgentImportReportFlowUioFromJSONTyped;
|
|
20
|
+
exports.AgentImportReportFlowUioToJSON = AgentImportReportFlowUioToJSON;
|
|
21
|
+
exports.AgentImportReportFlowUioToJSONTyped = AgentImportReportFlowUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentImportReportFlowUioStatusEnum = {
|
|
26
|
+
Imported: 'imported',
|
|
27
|
+
None: 'none'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AgentImportReportFlowUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAgentImportReportFlowUio(value) {
|
|
33
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function AgentImportReportFlowUioFromJSON(json) {
|
|
38
|
+
return AgentImportReportFlowUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function AgentImportReportFlowUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
'unresolvedToolNames': json['unresolvedToolNames'] == null ? undefined : json['unresolvedToolNames'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AgentImportReportFlowUioToJSON(json) {
|
|
50
|
+
return AgentImportReportFlowUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AgentImportReportFlowUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'status': value['status'],
|
|
58
|
+
'unresolvedToolNames': value['unresolvedToolNames'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 AgentImportReportSkillsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentImportReportSkillsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentImportReportSkillsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
slug: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentImportReportSkillsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
status: AgentImportReportSkillsInnerUioStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentImportReportSkillsInnerUio
|
|
34
|
+
*/
|
|
35
|
+
newSlug?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgentImportReportSkillsInnerUio
|
|
40
|
+
*/
|
|
41
|
+
reason?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const AgentImportReportSkillsInnerUioStatusEnum: {
|
|
47
|
+
readonly Linked: "linked";
|
|
48
|
+
readonly Created: "created";
|
|
49
|
+
readonly Renamed: "renamed";
|
|
50
|
+
readonly Skipped: "skipped";
|
|
51
|
+
};
|
|
52
|
+
export type AgentImportReportSkillsInnerUioStatusEnum = typeof AgentImportReportSkillsInnerUioStatusEnum[keyof typeof AgentImportReportSkillsInnerUioStatusEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the AgentImportReportSkillsInnerUio interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfAgentImportReportSkillsInnerUio(value: object): value is AgentImportReportSkillsInnerUio;
|
|
57
|
+
export declare function AgentImportReportSkillsInnerUioFromJSON(json: any): AgentImportReportSkillsInnerUio;
|
|
58
|
+
export declare function AgentImportReportSkillsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentImportReportSkillsInnerUio;
|
|
59
|
+
export declare function AgentImportReportSkillsInnerUioToJSON(json: any): AgentImportReportSkillsInnerUio;
|
|
60
|
+
export declare function AgentImportReportSkillsInnerUioToJSONTyped(value?: AgentImportReportSkillsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.AgentImportReportSkillsInnerUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentImportReportSkillsInnerUio = instanceOfAgentImportReportSkillsInnerUio;
|
|
18
|
+
exports.AgentImportReportSkillsInnerUioFromJSON = AgentImportReportSkillsInnerUioFromJSON;
|
|
19
|
+
exports.AgentImportReportSkillsInnerUioFromJSONTyped = AgentImportReportSkillsInnerUioFromJSONTyped;
|
|
20
|
+
exports.AgentImportReportSkillsInnerUioToJSON = AgentImportReportSkillsInnerUioToJSON;
|
|
21
|
+
exports.AgentImportReportSkillsInnerUioToJSONTyped = AgentImportReportSkillsInnerUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentImportReportSkillsInnerUioStatusEnum = {
|
|
26
|
+
Linked: 'linked',
|
|
27
|
+
Created: 'created',
|
|
28
|
+
Renamed: 'renamed',
|
|
29
|
+
Skipped: 'skipped'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AgentImportReportSkillsInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfAgentImportReportSkillsInnerUio(value) {
|
|
35
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AgentImportReportSkillsInnerUioFromJSON(json) {
|
|
42
|
+
return AgentImportReportSkillsInnerUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentImportReportSkillsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'slug': json['slug'],
|
|
50
|
+
'status': json['status'],
|
|
51
|
+
'newSlug': json['newSlug'] == null ? undefined : json['newSlug'],
|
|
52
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AgentImportReportSkillsInnerUioToJSON(json) {
|
|
56
|
+
return AgentImportReportSkillsInnerUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AgentImportReportSkillsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'slug': value['slug'],
|
|
64
|
+
'status': value['status'],
|
|
65
|
+
'newSlug': value['newSlug'],
|
|
66
|
+
'reason': value['reason'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 AgentImportReportToolsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentImportReportToolsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentImportReportToolsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentImportReportToolsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
status: AgentImportReportToolsInnerUioStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentImportReportToolsInnerUio
|
|
34
|
+
*/
|
|
35
|
+
reason?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const AgentImportReportToolsInnerUioStatusEnum: {
|
|
41
|
+
readonly Linked: "linked";
|
|
42
|
+
readonly Created: "created";
|
|
43
|
+
readonly Renamed: "renamed";
|
|
44
|
+
readonly Skipped: "skipped";
|
|
45
|
+
};
|
|
46
|
+
export type AgentImportReportToolsInnerUioStatusEnum = typeof AgentImportReportToolsInnerUioStatusEnum[keyof typeof AgentImportReportToolsInnerUioStatusEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the AgentImportReportToolsInnerUio interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfAgentImportReportToolsInnerUio(value: object): value is AgentImportReportToolsInnerUio;
|
|
51
|
+
export declare function AgentImportReportToolsInnerUioFromJSON(json: any): AgentImportReportToolsInnerUio;
|
|
52
|
+
export declare function AgentImportReportToolsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentImportReportToolsInnerUio;
|
|
53
|
+
export declare function AgentImportReportToolsInnerUioToJSON(json: any): AgentImportReportToolsInnerUio;
|
|
54
|
+
export declare function AgentImportReportToolsInnerUioToJSONTyped(value?: AgentImportReportToolsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.AgentImportReportToolsInnerUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentImportReportToolsInnerUio = instanceOfAgentImportReportToolsInnerUio;
|
|
18
|
+
exports.AgentImportReportToolsInnerUioFromJSON = AgentImportReportToolsInnerUioFromJSON;
|
|
19
|
+
exports.AgentImportReportToolsInnerUioFromJSONTyped = AgentImportReportToolsInnerUioFromJSONTyped;
|
|
20
|
+
exports.AgentImportReportToolsInnerUioToJSON = AgentImportReportToolsInnerUioToJSON;
|
|
21
|
+
exports.AgentImportReportToolsInnerUioToJSONTyped = AgentImportReportToolsInnerUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentImportReportToolsInnerUioStatusEnum = {
|
|
26
|
+
Linked: 'linked',
|
|
27
|
+
Created: 'created',
|
|
28
|
+
Renamed: 'renamed',
|
|
29
|
+
Skipped: 'skipped'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AgentImportReportToolsInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfAgentImportReportToolsInnerUio(value) {
|
|
35
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AgentImportReportToolsInnerUioFromJSON(json) {
|
|
42
|
+
return AgentImportReportToolsInnerUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentImportReportToolsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'status': json['status'],
|
|
51
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function AgentImportReportToolsInnerUioToJSON(json) {
|
|
55
|
+
return AgentImportReportToolsInnerUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function AgentImportReportToolsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'name': value['name'],
|
|
63
|
+
'status': value['status'],
|
|
64
|
+
'reason': value['reason'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { AgentImportReportFlowUio } from './AgentImportReportFlowUio';
|
|
13
|
+
import type { AgentImportReportSkillsInnerUio } from './AgentImportReportSkillsInnerUio';
|
|
14
|
+
import type { AgentImportReportContextualKnowledgeUio } from './AgentImportReportContextualKnowledgeUio';
|
|
15
|
+
import type { AgentImportReportAgentRenamedUio } from './AgentImportReportAgentRenamedUio';
|
|
16
|
+
import type { AgentImportReportEngineUio } from './AgentImportReportEngineUio';
|
|
17
|
+
import type { AgentImportReportToolsInnerUio } from './AgentImportReportToolsInnerUio';
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AgentImportReportUio
|
|
22
|
+
*/
|
|
23
|
+
export interface AgentImportReportUio {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {AgentImportReportAgentRenamedUio}
|
|
27
|
+
* @memberof AgentImportReportUio
|
|
28
|
+
*/
|
|
29
|
+
agentRenamed?: AgentImportReportAgentRenamedUio | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AgentImportReportToolsInnerUio>}
|
|
33
|
+
* @memberof AgentImportReportUio
|
|
34
|
+
*/
|
|
35
|
+
tools: Array<AgentImportReportToolsInnerUio>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<AgentImportReportSkillsInnerUio>}
|
|
39
|
+
* @memberof AgentImportReportUio
|
|
40
|
+
*/
|
|
41
|
+
skills: Array<AgentImportReportSkillsInnerUio>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<AgentImportReportToolsInnerUio>}
|
|
45
|
+
* @memberof AgentImportReportUio
|
|
46
|
+
*/
|
|
47
|
+
knowledgeBases: Array<AgentImportReportToolsInnerUio>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<AgentImportReportToolsInnerUio>}
|
|
51
|
+
* @memberof AgentImportReportUio
|
|
52
|
+
*/
|
|
53
|
+
apps: Array<AgentImportReportToolsInnerUio>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {AgentImportReportEngineUio}
|
|
57
|
+
* @memberof AgentImportReportUio
|
|
58
|
+
*/
|
|
59
|
+
engine: AgentImportReportEngineUio;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {AgentImportReportContextualKnowledgeUio}
|
|
63
|
+
* @memberof AgentImportReportUio
|
|
64
|
+
*/
|
|
65
|
+
contextualKnowledge?: AgentImportReportContextualKnowledgeUio;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {AgentImportReportFlowUio}
|
|
69
|
+
* @memberof AgentImportReportUio
|
|
70
|
+
*/
|
|
71
|
+
flow: AgentImportReportFlowUio;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the AgentImportReportUio interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfAgentImportReportUio(value: object): value is AgentImportReportUio;
|
|
77
|
+
export declare function AgentImportReportUioFromJSON(json: any): AgentImportReportUio;
|
|
78
|
+
export declare function AgentImportReportUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentImportReportUio;
|
|
79
|
+
export declare function AgentImportReportUioToJSON(json: any): AgentImportReportUio;
|
|
80
|
+
export declare function AgentImportReportUioToJSONTyped(value?: AgentImportReportUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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.instanceOfAgentImportReportUio = instanceOfAgentImportReportUio;
|
|
17
|
+
exports.AgentImportReportUioFromJSON = AgentImportReportUioFromJSON;
|
|
18
|
+
exports.AgentImportReportUioFromJSONTyped = AgentImportReportUioFromJSONTyped;
|
|
19
|
+
exports.AgentImportReportUioToJSON = AgentImportReportUioToJSON;
|
|
20
|
+
exports.AgentImportReportUioToJSONTyped = AgentImportReportUioToJSONTyped;
|
|
21
|
+
const AgentImportReportFlowUio_1 = require("./AgentImportReportFlowUio");
|
|
22
|
+
const AgentImportReportSkillsInnerUio_1 = require("./AgentImportReportSkillsInnerUio");
|
|
23
|
+
const AgentImportReportContextualKnowledgeUio_1 = require("./AgentImportReportContextualKnowledgeUio");
|
|
24
|
+
const AgentImportReportAgentRenamedUio_1 = require("./AgentImportReportAgentRenamedUio");
|
|
25
|
+
const AgentImportReportEngineUio_1 = require("./AgentImportReportEngineUio");
|
|
26
|
+
const AgentImportReportToolsInnerUio_1 = require("./AgentImportReportToolsInnerUio");
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the AgentImportReportUio interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfAgentImportReportUio(value) {
|
|
31
|
+
if (!('tools' in value) || value['tools'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('skills' in value) || value['skills'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('apps' in value) || value['apps'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('engine' in value) || value['engine'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('flow' in value) || value['flow'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function AgentImportReportUioFromJSON(json) {
|
|
46
|
+
return AgentImportReportUioFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AgentImportReportUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'agentRenamed': json['agentRenamed'] == null ? undefined : (0, AgentImportReportAgentRenamedUio_1.AgentImportReportAgentRenamedUioFromJSON)(json['agentRenamed']),
|
|
54
|
+
'tools': (json['tools'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioFromJSON)),
|
|
55
|
+
'skills': (json['skills'].map(AgentImportReportSkillsInnerUio_1.AgentImportReportSkillsInnerUioFromJSON)),
|
|
56
|
+
'knowledgeBases': (json['knowledgeBases'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioFromJSON)),
|
|
57
|
+
'apps': (json['apps'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioFromJSON)),
|
|
58
|
+
'engine': (0, AgentImportReportEngineUio_1.AgentImportReportEngineUioFromJSON)(json['engine']),
|
|
59
|
+
'contextualKnowledge': json['contextualKnowledge'] == null ? undefined : (0, AgentImportReportContextualKnowledgeUio_1.AgentImportReportContextualKnowledgeUioFromJSON)(json['contextualKnowledge']),
|
|
60
|
+
'flow': (0, AgentImportReportFlowUio_1.AgentImportReportFlowUioFromJSON)(json['flow']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function AgentImportReportUioToJSON(json) {
|
|
64
|
+
return AgentImportReportUioToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AgentImportReportUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'agentRenamed': (0, AgentImportReportAgentRenamedUio_1.AgentImportReportAgentRenamedUioToJSON)(value['agentRenamed']),
|
|
72
|
+
'tools': (value['tools'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioToJSON)),
|
|
73
|
+
'skills': (value['skills'].map(AgentImportReportSkillsInnerUio_1.AgentImportReportSkillsInnerUioToJSON)),
|
|
74
|
+
'knowledgeBases': (value['knowledgeBases'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioToJSON)),
|
|
75
|
+
'apps': (value['apps'].map(AgentImportReportToolsInnerUio_1.AgentImportReportToolsInnerUioToJSON)),
|
|
76
|
+
'engine': (0, AgentImportReportEngineUio_1.AgentImportReportEngineUioToJSON)(value['engine']),
|
|
77
|
+
'contextualKnowledge': (0, AgentImportReportContextualKnowledgeUio_1.AgentImportReportContextualKnowledgeUioToJSON)(value['contextualKnowledge']),
|
|
78
|
+
'flow': (0, AgentImportReportFlowUio_1.AgentImportReportFlowUioToJSON)(value['flow']),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 AgentImportRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentImportRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentImportRequestUio
|
|
22
|
+
*/
|
|
23
|
+
organisationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentImportRequestUio
|
|
28
|
+
*/
|
|
29
|
+
format: AgentImportRequestUioFormatEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Raw content of the agent export file (YAML or JSON), max 1 MB.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentImportRequestUio
|
|
34
|
+
*/
|
|
35
|
+
content: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const AgentImportRequestUioFormatEnum: {
|
|
41
|
+
readonly Yaml: "yaml";
|
|
42
|
+
readonly Json: "json";
|
|
43
|
+
};
|
|
44
|
+
export type AgentImportRequestUioFormatEnum = typeof AgentImportRequestUioFormatEnum[keyof typeof AgentImportRequestUioFormatEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the AgentImportRequestUio interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfAgentImportRequestUio(value: object): value is AgentImportRequestUio;
|
|
49
|
+
export declare function AgentImportRequestUioFromJSON(json: any): AgentImportRequestUio;
|
|
50
|
+
export declare function AgentImportRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentImportRequestUio;
|
|
51
|
+
export declare function AgentImportRequestUioToJSON(json: any): AgentImportRequestUio;
|
|
52
|
+
export declare function AgentImportRequestUioToJSONTyped(value?: AgentImportRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.AgentImportRequestUioFormatEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentImportRequestUio = instanceOfAgentImportRequestUio;
|
|
18
|
+
exports.AgentImportRequestUioFromJSON = AgentImportRequestUioFromJSON;
|
|
19
|
+
exports.AgentImportRequestUioFromJSONTyped = AgentImportRequestUioFromJSONTyped;
|
|
20
|
+
exports.AgentImportRequestUioToJSON = AgentImportRequestUioToJSON;
|
|
21
|
+
exports.AgentImportRequestUioToJSONTyped = AgentImportRequestUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentImportRequestUioFormatEnum = {
|
|
26
|
+
Yaml: 'yaml',
|
|
27
|
+
Json: 'json'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AgentImportRequestUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAgentImportRequestUio(value) {
|
|
33
|
+
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AgentImportRequestUioFromJSON(json) {
|
|
42
|
+
return AgentImportRequestUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentImportRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'organisationId': json['organisationId'],
|
|
50
|
+
'format': json['format'],
|
|
51
|
+
'content': json['content'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function AgentImportRequestUioToJSON(json) {
|
|
55
|
+
return AgentImportRequestUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function AgentImportRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'organisationId': value['organisationId'],
|
|
63
|
+
'format': value['format'],
|
|
64
|
+
'content': value['content'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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
|
+
import type { AgentImportReportUio } from './AgentImportReportUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentImportResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentImportResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentImportResponseUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentImportResponseUio
|
|
29
|
+
*/
|
|
30
|
+
agentName: string;
|
|
31
|
+
/**
|
|
32
|
+
* True when everything was linked as-is; false when the UI should show the import recap.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof AgentImportResponseUio
|
|
35
|
+
*/
|
|
36
|
+
clean: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AgentImportReportUio}
|
|
40
|
+
* @memberof AgentImportResponseUio
|
|
41
|
+
*/
|
|
42
|
+
report: AgentImportReportUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AgentImportResponseUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAgentImportResponseUio(value: object): value is AgentImportResponseUio;
|
|
48
|
+
export declare function AgentImportResponseUioFromJSON(json: any): AgentImportResponseUio;
|
|
49
|
+
export declare function AgentImportResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentImportResponseUio;
|
|
50
|
+
export declare function AgentImportResponseUioToJSON(json: any): AgentImportResponseUio;
|
|
51
|
+
export declare function AgentImportResponseUioToJSONTyped(value?: AgentImportResponseUio | null, ignoreDiscriminator?: boolean): any;
|