@breign/client 1.0.91 → 1.0.93
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/SkillsApi.d.ts +63 -1
- package/dist/apis/SkillsApi.js +155 -0
- package/dist/models/ConversationMessagesInnerUio.d.ts +7 -0
- package/dist/models/ConversationMessagesInnerUio.js +3 -0
- package/dist/models/SkillFileCreateRequestUio.d.ts +44 -0
- package/dist/models/SkillFileCreateRequestUio.js +56 -0
- package/dist/models/SkillFileSummaryUio.d.ts +62 -0
- package/dist/models/SkillFileSummaryUio.js +70 -0
- package/dist/models/SkillFileUio.d.ts +68 -0
- package/dist/models/SkillFileUio.js +74 -0
- package/dist/models/SkillFileUpdateRequestUio.d.ts +38 -0
- package/dist/models/SkillFileUpdateRequestUio.js +50 -0
- package/dist/models/ToolResultsToolUio.d.ts +6 -0
- package/dist/models/ToolResultsToolUio.js +2 -0
- package/dist/models/ToolResultsUio.d.ts +20 -0
- package/dist/models/ToolResultsUio.js +12 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/openapi.json +353 -0
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfSkillFileUio = instanceOfSkillFileUio;
|
|
17
|
+
exports.SkillFileUioFromJSON = SkillFileUioFromJSON;
|
|
18
|
+
exports.SkillFileUioFromJSONTyped = SkillFileUioFromJSONTyped;
|
|
19
|
+
exports.SkillFileUioToJSON = SkillFileUioToJSON;
|
|
20
|
+
exports.SkillFileUioToJSONTyped = SkillFileUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SkillFileUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSkillFileUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('skillId' in value) || value['skillId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function SkillFileUioFromJSON(json) {
|
|
42
|
+
return SkillFileUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SkillFileUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'skillId': json['skillId'],
|
|
51
|
+
'filename': json['filename'],
|
|
52
|
+
'mimeType': json['mimeType'],
|
|
53
|
+
'content': json['content'],
|
|
54
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
55
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function SkillFileUioToJSON(json) {
|
|
59
|
+
return SkillFileUioToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function SkillFileUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'skillId': value['skillId'],
|
|
68
|
+
'filename': value['filename'],
|
|
69
|
+
'mimeType': value['mimeType'],
|
|
70
|
+
'content': value['content'],
|
|
71
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 SkillFileUpdateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SkillFileUpdateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SkillFileUpdateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
filename?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkillFileUpdateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
content?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SkillFileUpdateRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSkillFileUpdateRequestUio(value: object): value is SkillFileUpdateRequestUio;
|
|
35
|
+
export declare function SkillFileUpdateRequestUioFromJSON(json: any): SkillFileUpdateRequestUio;
|
|
36
|
+
export declare function SkillFileUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillFileUpdateRequestUio;
|
|
37
|
+
export declare function SkillFileUpdateRequestUioToJSON(json: any): SkillFileUpdateRequestUio;
|
|
38
|
+
export declare function SkillFileUpdateRequestUioToJSONTyped(value?: SkillFileUpdateRequestUio | 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.instanceOfSkillFileUpdateRequestUio = instanceOfSkillFileUpdateRequestUio;
|
|
17
|
+
exports.SkillFileUpdateRequestUioFromJSON = SkillFileUpdateRequestUioFromJSON;
|
|
18
|
+
exports.SkillFileUpdateRequestUioFromJSONTyped = SkillFileUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.SkillFileUpdateRequestUioToJSON = SkillFileUpdateRequestUioToJSON;
|
|
20
|
+
exports.SkillFileUpdateRequestUioToJSONTyped = SkillFileUpdateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SkillFileUpdateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSkillFileUpdateRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SkillFileUpdateRequestUioFromJSON(json) {
|
|
28
|
+
return SkillFileUpdateRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SkillFileUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'filename': json['filename'] == null ? undefined : json['filename'],
|
|
36
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function SkillFileUpdateRequestUioToJSON(json) {
|
|
40
|
+
return SkillFileUpdateRequestUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SkillFileUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'filename': value['filename'],
|
|
48
|
+
'content': value['content'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -35,6 +35,7 @@ function ToolResultsToolUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'tool': json['tool'],
|
|
38
|
+
'toolName': json['toolName'] == null ? undefined : json['toolName'],
|
|
38
39
|
'params': json['params'] == null ? undefined : json['params'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
@@ -47,6 +48,7 @@ function ToolResultsToolUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'tool': value['tool'],
|
|
51
|
+
'toolName': value['toolName'],
|
|
50
52
|
'params': value['params'],
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -29,7 +29,27 @@ export interface ToolResultsUio {
|
|
|
29
29
|
* @memberof ToolResultsUio
|
|
30
30
|
*/
|
|
31
31
|
result?: ToolResultUio;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ToolResultsUio
|
|
36
|
+
*/
|
|
37
|
+
error?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ToolResultsUio
|
|
42
|
+
*/
|
|
43
|
+
status?: ToolResultsUioStatusEnum;
|
|
32
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const ToolResultsUioStatusEnum: {
|
|
49
|
+
readonly Ok: "ok";
|
|
50
|
+
readonly Error: "error";
|
|
51
|
+
};
|
|
52
|
+
export type ToolResultsUioStatusEnum = typeof ToolResultsUioStatusEnum[keyof typeof ToolResultsUioStatusEnum];
|
|
33
53
|
/**
|
|
34
54
|
* Check if a given object implements the ToolResultsUio interface.
|
|
35
55
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ToolResultsUioStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfToolResultsUio = instanceOfToolResultsUio;
|
|
17
18
|
exports.ToolResultsUioFromJSON = ToolResultsUioFromJSON;
|
|
18
19
|
exports.ToolResultsUioFromJSONTyped = ToolResultsUioFromJSONTyped;
|
|
@@ -20,6 +21,13 @@ exports.ToolResultsUioToJSON = ToolResultsUioToJSON;
|
|
|
20
21
|
exports.ToolResultsUioToJSONTyped = ToolResultsUioToJSONTyped;
|
|
21
22
|
const ToolResultUio_1 = require("./ToolResultUio");
|
|
22
23
|
const ToolResultsToolUio_1 = require("./ToolResultsToolUio");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.ToolResultsUioStatusEnum = {
|
|
28
|
+
Ok: 'ok',
|
|
29
|
+
Error: 'error'
|
|
30
|
+
};
|
|
23
31
|
/**
|
|
24
32
|
* Check if a given object implements the ToolResultsUio interface.
|
|
25
33
|
*/
|
|
@@ -36,6 +44,8 @@ function ToolResultsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
44
|
return {
|
|
37
45
|
'tool': json['tool'] == null ? undefined : (0, ToolResultsToolUio_1.ToolResultsToolUioFromJSON)(json['tool']),
|
|
38
46
|
'result': json['result'] == null ? undefined : (0, ToolResultUio_1.ToolResultUioFromJSON)(json['result']),
|
|
47
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
48
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
39
49
|
};
|
|
40
50
|
}
|
|
41
51
|
function ToolResultsUioToJSON(json) {
|
|
@@ -48,5 +58,7 @@ function ToolResultsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
48
58
|
return {
|
|
49
59
|
'tool': (0, ToolResultsToolUio_1.ToolResultsToolUioToJSON)(value['tool']),
|
|
50
60
|
'result': (0, ToolResultUio_1.ToolResultUioToJSON)(value['result']),
|
|
61
|
+
'error': value['error'],
|
|
62
|
+
'status': value['status'],
|
|
51
63
|
};
|
|
52
64
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -226,6 +226,10 @@ export * from './SetupToolRequestUio';
|
|
|
226
226
|
export * from './SimpleAgentUio';
|
|
227
227
|
export * from './SkillAssignRequestUio';
|
|
228
228
|
export * from './SkillCreateRequestUio';
|
|
229
|
+
export * from './SkillFileCreateRequestUio';
|
|
230
|
+
export * from './SkillFileSummaryUio';
|
|
231
|
+
export * from './SkillFileUio';
|
|
232
|
+
export * from './SkillFileUpdateRequestUio';
|
|
229
233
|
export * from './SkillUio';
|
|
230
234
|
export * from './SkillUpdateRequestUio';
|
|
231
235
|
export * from './SubscriptionMetricUio';
|
package/dist/models/index.js
CHANGED
|
@@ -244,6 +244,10 @@ __exportStar(require("./SetupToolRequestUio"), exports);
|
|
|
244
244
|
__exportStar(require("./SimpleAgentUio"), exports);
|
|
245
245
|
__exportStar(require("./SkillAssignRequestUio"), exports);
|
|
246
246
|
__exportStar(require("./SkillCreateRequestUio"), exports);
|
|
247
|
+
__exportStar(require("./SkillFileCreateRequestUio"), exports);
|
|
248
|
+
__exportStar(require("./SkillFileSummaryUio"), exports);
|
|
249
|
+
__exportStar(require("./SkillFileUio"), exports);
|
|
250
|
+
__exportStar(require("./SkillFileUpdateRequestUio"), exports);
|
|
247
251
|
__exportStar(require("./SkillUio"), exports);
|
|
248
252
|
__exportStar(require("./SkillUpdateRequestUio"), exports);
|
|
249
253
|
__exportStar(require("./SubscriptionMetricUio"), exports);
|