@breign/client 1.0.136 → 1.0.138
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/LibraryAgentsApi.d.ts +211 -0
- package/dist/apis/LibraryAgentsApi.js +537 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentBundleDiffUio.d.ts +79 -0
- package/dist/models/AgentBundleDiffUio.js +85 -0
- package/dist/models/AgentBundleListDiffUio.d.ts +44 -0
- package/dist/models/AgentBundleListDiffUio.js +58 -0
- package/dist/models/AgentLibraryLinkLatestVersionUio.d.ts +44 -0
- package/dist/models/AgentLibraryLinkLatestVersionUio.js +58 -0
- package/dist/models/AgentLibraryLinkUio.d.ts +81 -0
- package/dist/models/AgentLibraryLinkUio.js +79 -0
- package/dist/models/AgentLibraryLinkUpdateRequestUio.d.ts +38 -0
- package/dist/models/AgentLibraryLinkUpdateRequestUio.js +52 -0
- package/dist/models/AgentLibraryLinkUpdateResponseUio.d.ts +69 -0
- package/dist/models/AgentLibraryLinkUpdateResponseUio.js +75 -0
- package/dist/models/AgentLibraryLinksResponseUio.d.ts +33 -0
- package/dist/models/AgentLibraryLinksResponseUio.js +51 -0
- package/dist/models/FileAttachmentCreateRequestUio.d.ts +6 -0
- package/dist/models/FileAttachmentCreateRequestUio.js +2 -0
- package/dist/models/FileAttachmentDetailsResponseUio.d.ts +6 -0
- package/dist/models/FileAttachmentDetailsResponseUio.js +2 -0
- package/dist/models/FileAttachmentUio.d.ts +6 -0
- package/dist/models/FileAttachmentUio.js +2 -0
- package/dist/models/FileAttachmentUploadResponseUio.d.ts +6 -0
- package/dist/models/FileAttachmentUploadResponseUio.js +2 -0
- package/dist/models/FileCreationResponseUio.d.ts +6 -0
- package/dist/models/FileCreationResponseUio.js +2 -0
- package/dist/models/FileUio.d.ts +6 -0
- package/dist/models/FileUio.js +2 -0
- package/dist/models/FileWithDownloadUrlUio.d.ts +6 -0
- package/dist/models/FileWithDownloadUrlUio.js +2 -0
- package/dist/models/KnowledgeFileCreationRequestUio.d.ts +6 -0
- package/dist/models/KnowledgeFileCreationRequestUio.js +2 -0
- package/dist/models/KnowledgeFileUio.d.ts +6 -0
- package/dist/models/KnowledgeFileUio.js +2 -0
- package/dist/models/LibraryAgentBundleSummaryUio.d.ts +56 -0
- package/dist/models/LibraryAgentBundleSummaryUio.js +66 -0
- package/dist/models/LibraryAgentDiffResponseUio.d.ts +46 -0
- package/dist/models/LibraryAgentDiffResponseUio.js +60 -0
- package/dist/models/LibraryAgentDiffVersionRefUio.d.ts +38 -0
- package/dist/models/LibraryAgentDiffVersionRefUio.js +54 -0
- package/dist/models/LibraryAgentEntryUio.d.ts +87 -0
- package/dist/models/LibraryAgentEntryUio.js +83 -0
- package/dist/models/LibraryAgentInstallRequestUio.d.ts +38 -0
- package/dist/models/LibraryAgentInstallRequestUio.js +52 -0
- package/dist/models/LibraryAgentInstallResponseUio.d.ts +75 -0
- package/dist/models/LibraryAgentInstallResponseUio.js +77 -0
- package/dist/models/LibraryAgentParseBundleRequestUio.d.ts +46 -0
- package/dist/models/LibraryAgentParseBundleRequestUio.js +62 -0
- package/dist/models/LibraryAgentPublishRequestUio.d.ts +68 -0
- package/dist/models/LibraryAgentPublishRequestUio.js +60 -0
- package/dist/models/LibraryAgentPublishVersionRequestUio.d.ts +62 -0
- package/dist/models/LibraryAgentPublishVersionRequestUio.js +58 -0
- package/dist/models/LibraryAgentVersionUio.d.ts +99 -0
- package/dist/models/LibraryAgentVersionUio.js +87 -0
- package/dist/models/LibraryAgentsPageUio.d.ts +63 -0
- package/dist/models/LibraryAgentsPageUio.js +71 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/openapi.json +6035 -4919
- package/package.json +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
* Either agentId (publish a snapshot of that agent) or bundle (publish a composed/edited bundle) must be provided.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LibraryAgentPublishRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentPublishRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* Source agent. When bundle is also provided, only recorded as provenance.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
22
|
+
*/
|
|
23
|
+
agentId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A complete breign-agent export bundle (formatVersion 1), validated server-side.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
28
|
+
*/
|
|
29
|
+
bundle?: object;
|
|
30
|
+
/**
|
|
31
|
+
* Defaults to the kebab-cased agent name, deduplicated with a numeric suffix.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
34
|
+
*/
|
|
35
|
+
slug?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Defaults to 1.0.0.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
40
|
+
*/
|
|
41
|
+
initialVersion?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
52
|
+
*/
|
|
53
|
+
description?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof LibraryAgentPublishRequestUio
|
|
58
|
+
*/
|
|
59
|
+
category?: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the LibraryAgentPublishRequestUio interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfLibraryAgentPublishRequestUio(value: object): value is LibraryAgentPublishRequestUio;
|
|
65
|
+
export declare function LibraryAgentPublishRequestUioFromJSON(json: any): LibraryAgentPublishRequestUio;
|
|
66
|
+
export declare function LibraryAgentPublishRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentPublishRequestUio;
|
|
67
|
+
export declare function LibraryAgentPublishRequestUioToJSON(json: any): LibraryAgentPublishRequestUio;
|
|
68
|
+
export declare function LibraryAgentPublishRequestUioToJSONTyped(value?: LibraryAgentPublishRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfLibraryAgentPublishRequestUio = instanceOfLibraryAgentPublishRequestUio;
|
|
17
|
+
exports.LibraryAgentPublishRequestUioFromJSON = LibraryAgentPublishRequestUioFromJSON;
|
|
18
|
+
exports.LibraryAgentPublishRequestUioFromJSONTyped = LibraryAgentPublishRequestUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentPublishRequestUioToJSON = LibraryAgentPublishRequestUioToJSON;
|
|
20
|
+
exports.LibraryAgentPublishRequestUioToJSONTyped = LibraryAgentPublishRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LibraryAgentPublishRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLibraryAgentPublishRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LibraryAgentPublishRequestUioFromJSON(json) {
|
|
28
|
+
return LibraryAgentPublishRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LibraryAgentPublishRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
36
|
+
'bundle': json['bundle'] == null ? undefined : json['bundle'],
|
|
37
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
38
|
+
'initialVersion': json['initialVersion'] == null ? undefined : json['initialVersion'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
41
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function LibraryAgentPublishRequestUioToJSON(json) {
|
|
45
|
+
return LibraryAgentPublishRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LibraryAgentPublishRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'agentId': value['agentId'],
|
|
53
|
+
'bundle': value['bundle'],
|
|
54
|
+
'slug': value['slug'],
|
|
55
|
+
'initialVersion': value['initialVersion'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'description': value['description'],
|
|
58
|
+
'category': value['category'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* Either agentId (publish a snapshot of that agent) or bundle (publish a composed/edited bundle) must be provided.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LibraryAgentPublishVersionRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentPublishVersionRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* Source agent. When bundle is also provided, only recorded as provenance.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
22
|
+
*/
|
|
23
|
+
agentId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A complete breign-agent export bundle (formatVersion 1), validated server-side.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
28
|
+
*/
|
|
29
|
+
bundle?: object;
|
|
30
|
+
/**
|
|
31
|
+
* Defaults to a patch bump of the latest published version.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
34
|
+
*/
|
|
35
|
+
version?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
46
|
+
*/
|
|
47
|
+
description?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LibraryAgentPublishVersionRequestUio
|
|
52
|
+
*/
|
|
53
|
+
category?: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the LibraryAgentPublishVersionRequestUio interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfLibraryAgentPublishVersionRequestUio(value: object): value is LibraryAgentPublishVersionRequestUio;
|
|
59
|
+
export declare function LibraryAgentPublishVersionRequestUioFromJSON(json: any): LibraryAgentPublishVersionRequestUio;
|
|
60
|
+
export declare function LibraryAgentPublishVersionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentPublishVersionRequestUio;
|
|
61
|
+
export declare function LibraryAgentPublishVersionRequestUioToJSON(json: any): LibraryAgentPublishVersionRequestUio;
|
|
62
|
+
export declare function LibraryAgentPublishVersionRequestUioToJSONTyped(value?: LibraryAgentPublishVersionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfLibraryAgentPublishVersionRequestUio = instanceOfLibraryAgentPublishVersionRequestUio;
|
|
17
|
+
exports.LibraryAgentPublishVersionRequestUioFromJSON = LibraryAgentPublishVersionRequestUioFromJSON;
|
|
18
|
+
exports.LibraryAgentPublishVersionRequestUioFromJSONTyped = LibraryAgentPublishVersionRequestUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentPublishVersionRequestUioToJSON = LibraryAgentPublishVersionRequestUioToJSON;
|
|
20
|
+
exports.LibraryAgentPublishVersionRequestUioToJSONTyped = LibraryAgentPublishVersionRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LibraryAgentPublishVersionRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLibraryAgentPublishVersionRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LibraryAgentPublishVersionRequestUioFromJSON(json) {
|
|
28
|
+
return LibraryAgentPublishVersionRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LibraryAgentPublishVersionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
36
|
+
'bundle': json['bundle'] == null ? undefined : json['bundle'],
|
|
37
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
38
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
39
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
40
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LibraryAgentPublishVersionRequestUioToJSON(json) {
|
|
44
|
+
return LibraryAgentPublishVersionRequestUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LibraryAgentPublishVersionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'agentId': value['agentId'],
|
|
52
|
+
'bundle': value['bundle'],
|
|
53
|
+
'version': value['version'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'description': value['description'],
|
|
56
|
+
'category': value['category'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { LibraryAgentBundleSummaryUio } from './LibraryAgentBundleSummaryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LibraryAgentVersionUio
|
|
17
|
+
*/
|
|
18
|
+
export interface LibraryAgentVersionUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LibraryAgentVersionUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LibraryAgentVersionUio
|
|
29
|
+
*/
|
|
30
|
+
slug: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LibraryAgentVersionUio
|
|
35
|
+
*/
|
|
36
|
+
version: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LibraryAgentVersionUio
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LibraryAgentVersionUio
|
|
47
|
+
*/
|
|
48
|
+
description: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LibraryAgentVersionUio
|
|
53
|
+
*/
|
|
54
|
+
category?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {LibraryAgentBundleSummaryUio}
|
|
58
|
+
* @memberof LibraryAgentVersionUio
|
|
59
|
+
*/
|
|
60
|
+
summary: LibraryAgentBundleSummaryUio;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof LibraryAgentVersionUio
|
|
65
|
+
*/
|
|
66
|
+
isLatest: boolean;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof LibraryAgentVersionUio
|
|
71
|
+
*/
|
|
72
|
+
sourceAgentId?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof LibraryAgentVersionUio
|
|
77
|
+
*/
|
|
78
|
+
publishedAt: Date;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof LibraryAgentVersionUio
|
|
83
|
+
*/
|
|
84
|
+
publishedBy?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof LibraryAgentVersionUio
|
|
89
|
+
*/
|
|
90
|
+
publishedByName?: string | null;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the LibraryAgentVersionUio interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfLibraryAgentVersionUio(value: object): value is LibraryAgentVersionUio;
|
|
96
|
+
export declare function LibraryAgentVersionUioFromJSON(json: any): LibraryAgentVersionUio;
|
|
97
|
+
export declare function LibraryAgentVersionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentVersionUio;
|
|
98
|
+
export declare function LibraryAgentVersionUioToJSON(json: any): LibraryAgentVersionUio;
|
|
99
|
+
export declare function LibraryAgentVersionUioToJSONTyped(value?: LibraryAgentVersionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
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.instanceOfLibraryAgentVersionUio = instanceOfLibraryAgentVersionUio;
|
|
17
|
+
exports.LibraryAgentVersionUioFromJSON = LibraryAgentVersionUioFromJSON;
|
|
18
|
+
exports.LibraryAgentVersionUioFromJSONTyped = LibraryAgentVersionUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentVersionUioToJSON = LibraryAgentVersionUioToJSON;
|
|
20
|
+
exports.LibraryAgentVersionUioToJSONTyped = LibraryAgentVersionUioToJSONTyped;
|
|
21
|
+
const LibraryAgentBundleSummaryUio_1 = require("./LibraryAgentBundleSummaryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LibraryAgentVersionUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLibraryAgentVersionUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('isLatest' in value) || value['isLatest'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('publishedAt' in value) || value['publishedAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function LibraryAgentVersionUioFromJSON(json) {
|
|
45
|
+
return LibraryAgentVersionUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LibraryAgentVersionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'slug': json['slug'],
|
|
54
|
+
'version': json['version'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'description': json['description'],
|
|
57
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
58
|
+
'summary': (0, LibraryAgentBundleSummaryUio_1.LibraryAgentBundleSummaryUioFromJSON)(json['summary']),
|
|
59
|
+
'isLatest': json['isLatest'],
|
|
60
|
+
'sourceAgentId': json['sourceAgentId'] == null ? undefined : json['sourceAgentId'],
|
|
61
|
+
'publishedAt': (new Date(json['publishedAt'])),
|
|
62
|
+
'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
|
|
63
|
+
'publishedByName': json['publishedByName'] == null ? undefined : json['publishedByName'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function LibraryAgentVersionUioToJSON(json) {
|
|
67
|
+
return LibraryAgentVersionUioToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function LibraryAgentVersionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'slug': value['slug'],
|
|
76
|
+
'version': value['version'],
|
|
77
|
+
'name': value['name'],
|
|
78
|
+
'description': value['description'],
|
|
79
|
+
'category': value['category'],
|
|
80
|
+
'summary': (0, LibraryAgentBundleSummaryUio_1.LibraryAgentBundleSummaryUioToJSON)(value['summary']),
|
|
81
|
+
'isLatest': value['isLatest'],
|
|
82
|
+
'sourceAgentId': value['sourceAgentId'],
|
|
83
|
+
'publishedAt': ((value['publishedAt']).toISOString()),
|
|
84
|
+
'publishedBy': value['publishedBy'],
|
|
85
|
+
'publishedByName': value['publishedByName'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { LibraryAgentEntryUio } from './LibraryAgentEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LibraryAgentsPageUio
|
|
17
|
+
*/
|
|
18
|
+
export interface LibraryAgentsPageUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<LibraryAgentEntryUio>}
|
|
22
|
+
* @memberof LibraryAgentsPageUio
|
|
23
|
+
*/
|
|
24
|
+
data: Array<LibraryAgentEntryUio>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof LibraryAgentsPageUio
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof LibraryAgentsPageUio
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof LibraryAgentsPageUio
|
|
41
|
+
*/
|
|
42
|
+
limit: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof LibraryAgentsPageUio
|
|
47
|
+
*/
|
|
48
|
+
totalPages: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof LibraryAgentsPageUio
|
|
53
|
+
*/
|
|
54
|
+
allCategories: Array<string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the LibraryAgentsPageUio interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfLibraryAgentsPageUio(value: object): value is LibraryAgentsPageUio;
|
|
60
|
+
export declare function LibraryAgentsPageUioFromJSON(json: any): LibraryAgentsPageUio;
|
|
61
|
+
export declare function LibraryAgentsPageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentsPageUio;
|
|
62
|
+
export declare function LibraryAgentsPageUioToJSON(json: any): LibraryAgentsPageUio;
|
|
63
|
+
export declare function LibraryAgentsPageUioToJSONTyped(value?: LibraryAgentsPageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfLibraryAgentsPageUio = instanceOfLibraryAgentsPageUio;
|
|
17
|
+
exports.LibraryAgentsPageUioFromJSON = LibraryAgentsPageUioFromJSON;
|
|
18
|
+
exports.LibraryAgentsPageUioFromJSONTyped = LibraryAgentsPageUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentsPageUioToJSON = LibraryAgentsPageUioToJSON;
|
|
20
|
+
exports.LibraryAgentsPageUioToJSONTyped = LibraryAgentsPageUioToJSONTyped;
|
|
21
|
+
const LibraryAgentEntryUio_1 = require("./LibraryAgentEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LibraryAgentsPageUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLibraryAgentsPageUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('allCategories' in value) || value['allCategories'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function LibraryAgentsPageUioFromJSON(json) {
|
|
41
|
+
return LibraryAgentsPageUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function LibraryAgentsPageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': (json['data'].map(LibraryAgentEntryUio_1.LibraryAgentEntryUioFromJSON)),
|
|
49
|
+
'total': json['total'],
|
|
50
|
+
'page': json['page'],
|
|
51
|
+
'limit': json['limit'],
|
|
52
|
+
'totalPages': json['totalPages'],
|
|
53
|
+
'allCategories': json['allCategories'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function LibraryAgentsPageUioToJSON(json) {
|
|
57
|
+
return LibraryAgentsPageUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function LibraryAgentsPageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'data': (value['data'].map(LibraryAgentEntryUio_1.LibraryAgentEntryUioToJSON)),
|
|
65
|
+
'total': value['total'],
|
|
66
|
+
'page': value['page'],
|
|
67
|
+
'limit': value['limit'],
|
|
68
|
+
'totalPages': value['totalPages'],
|
|
69
|
+
'allCategories': value['allCategories'],
|
|
70
|
+
};
|
|
71
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './AdvancedFlowEditorNodePositionUio';
|
|
|
8
8
|
export * from './AdvancedFlowEditorNodeUio';
|
|
9
9
|
export * from './AdvancedFlowEditorUio';
|
|
10
10
|
export * from './AdvancedFlowEditorUpdateRequestUio';
|
|
11
|
+
export * from './AgentBundleDiffUio';
|
|
12
|
+
export * from './AgentBundleListDiffUio';
|
|
11
13
|
export * from './AgentChatOverviewEntryUio';
|
|
12
14
|
export * from './AgentComputerUseConfigurationUio';
|
|
13
15
|
export * from './AgentCreatorUio';
|
|
@@ -26,6 +28,11 @@ export * from './AgentImportReportToolsInnerUio';
|
|
|
26
28
|
export * from './AgentImportReportUio';
|
|
27
29
|
export * from './AgentImportRequestUio';
|
|
28
30
|
export * from './AgentImportResponseUio';
|
|
31
|
+
export * from './AgentLibraryLinkLatestVersionUio';
|
|
32
|
+
export * from './AgentLibraryLinkUio';
|
|
33
|
+
export * from './AgentLibraryLinkUpdateRequestUio';
|
|
34
|
+
export * from './AgentLibraryLinkUpdateResponseUio';
|
|
35
|
+
export * from './AgentLibraryLinksResponseUio';
|
|
29
36
|
export * from './AgentMemoryConfigurationUio';
|
|
30
37
|
export * from './AgentMetricsByAppUio';
|
|
31
38
|
export * from './AgentMetricsEventUio';
|
|
@@ -259,6 +266,17 @@ export * from './KnowledgeFileSummaryUio';
|
|
|
259
266
|
export * from './KnowledgeFileUio';
|
|
260
267
|
export * from './KnowledgeFilesByIdsRequestUio';
|
|
261
268
|
export * from './KnowledgeSitePageUio';
|
|
269
|
+
export * from './LibraryAgentBundleSummaryUio';
|
|
270
|
+
export * from './LibraryAgentDiffResponseUio';
|
|
271
|
+
export * from './LibraryAgentDiffVersionRefUio';
|
|
272
|
+
export * from './LibraryAgentEntryUio';
|
|
273
|
+
export * from './LibraryAgentInstallRequestUio';
|
|
274
|
+
export * from './LibraryAgentInstallResponseUio';
|
|
275
|
+
export * from './LibraryAgentParseBundleRequestUio';
|
|
276
|
+
export * from './LibraryAgentPublishRequestUio';
|
|
277
|
+
export * from './LibraryAgentPublishVersionRequestUio';
|
|
278
|
+
export * from './LibraryAgentVersionUio';
|
|
279
|
+
export * from './LibraryAgentsPageUio';
|
|
262
280
|
export * from './LibrarySkillEntryUio';
|
|
263
281
|
export * from './LibrarySkillInstallRequestUio';
|
|
264
282
|
export * from './LibrarySkillSyncRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,8 @@ __exportStar(require("./AdvancedFlowEditorNodePositionUio"), exports);
|
|
|
26
26
|
__exportStar(require("./AdvancedFlowEditorNodeUio"), exports);
|
|
27
27
|
__exportStar(require("./AdvancedFlowEditorUio"), exports);
|
|
28
28
|
__exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
|
|
29
|
+
__exportStar(require("./AgentBundleDiffUio"), exports);
|
|
30
|
+
__exportStar(require("./AgentBundleListDiffUio"), exports);
|
|
29
31
|
__exportStar(require("./AgentChatOverviewEntryUio"), exports);
|
|
30
32
|
__exportStar(require("./AgentComputerUseConfigurationUio"), exports);
|
|
31
33
|
__exportStar(require("./AgentCreatorUio"), exports);
|
|
@@ -44,6 +46,11 @@ __exportStar(require("./AgentImportReportToolsInnerUio"), exports);
|
|
|
44
46
|
__exportStar(require("./AgentImportReportUio"), exports);
|
|
45
47
|
__exportStar(require("./AgentImportRequestUio"), exports);
|
|
46
48
|
__exportStar(require("./AgentImportResponseUio"), exports);
|
|
49
|
+
__exportStar(require("./AgentLibraryLinkLatestVersionUio"), exports);
|
|
50
|
+
__exportStar(require("./AgentLibraryLinkUio"), exports);
|
|
51
|
+
__exportStar(require("./AgentLibraryLinkUpdateRequestUio"), exports);
|
|
52
|
+
__exportStar(require("./AgentLibraryLinkUpdateResponseUio"), exports);
|
|
53
|
+
__exportStar(require("./AgentLibraryLinksResponseUio"), exports);
|
|
47
54
|
__exportStar(require("./AgentMemoryConfigurationUio"), exports);
|
|
48
55
|
__exportStar(require("./AgentMetricsByAppUio"), exports);
|
|
49
56
|
__exportStar(require("./AgentMetricsEventUio"), exports);
|
|
@@ -277,6 +284,17 @@ __exportStar(require("./KnowledgeFileSummaryUio"), exports);
|
|
|
277
284
|
__exportStar(require("./KnowledgeFileUio"), exports);
|
|
278
285
|
__exportStar(require("./KnowledgeFilesByIdsRequestUio"), exports);
|
|
279
286
|
__exportStar(require("./KnowledgeSitePageUio"), exports);
|
|
287
|
+
__exportStar(require("./LibraryAgentBundleSummaryUio"), exports);
|
|
288
|
+
__exportStar(require("./LibraryAgentDiffResponseUio"), exports);
|
|
289
|
+
__exportStar(require("./LibraryAgentDiffVersionRefUio"), exports);
|
|
290
|
+
__exportStar(require("./LibraryAgentEntryUio"), exports);
|
|
291
|
+
__exportStar(require("./LibraryAgentInstallRequestUio"), exports);
|
|
292
|
+
__exportStar(require("./LibraryAgentInstallResponseUio"), exports);
|
|
293
|
+
__exportStar(require("./LibraryAgentParseBundleRequestUio"), exports);
|
|
294
|
+
__exportStar(require("./LibraryAgentPublishRequestUio"), exports);
|
|
295
|
+
__exportStar(require("./LibraryAgentPublishVersionRequestUio"), exports);
|
|
296
|
+
__exportStar(require("./LibraryAgentVersionUio"), exports);
|
|
297
|
+
__exportStar(require("./LibraryAgentsPageUio"), exports);
|
|
280
298
|
__exportStar(require("./LibrarySkillEntryUio"), exports);
|
|
281
299
|
__exportStar(require("./LibrarySkillInstallRequestUio"), exports);
|
|
282
300
|
__exportStar(require("./LibrarySkillSyncRequestUio"), exports);
|