@breign/client 1.0.137 → 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/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 +6124 -5023
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfAgentLibraryLinkUpdateResponseUio = instanceOfAgentLibraryLinkUpdateResponseUio;
|
|
17
|
+
exports.AgentLibraryLinkUpdateResponseUioFromJSON = AgentLibraryLinkUpdateResponseUioFromJSON;
|
|
18
|
+
exports.AgentLibraryLinkUpdateResponseUioFromJSONTyped = AgentLibraryLinkUpdateResponseUioFromJSONTyped;
|
|
19
|
+
exports.AgentLibraryLinkUpdateResponseUioToJSON = AgentLibraryLinkUpdateResponseUioToJSON;
|
|
20
|
+
exports.AgentLibraryLinkUpdateResponseUioToJSONTyped = AgentLibraryLinkUpdateResponseUioToJSONTyped;
|
|
21
|
+
const AgentImportReportUio_1 = require("./AgentImportReportUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentLibraryLinkUpdateResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentLibraryLinkUpdateResponseUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('clean' in value) || value['clean'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('report' in value) || value['report'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('librarySlug' in value) || value['librarySlug'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('libraryVersionId' in value) || value['libraryVersionId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('libraryVersion' in value) || value['libraryVersion'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AgentLibraryLinkUpdateResponseUioFromJSON(json) {
|
|
43
|
+
return AgentLibraryLinkUpdateResponseUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AgentLibraryLinkUpdateResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'agentId': json['agentId'],
|
|
51
|
+
'agentName': json['agentName'],
|
|
52
|
+
'clean': json['clean'],
|
|
53
|
+
'report': (0, AgentImportReportUio_1.AgentImportReportUioFromJSON)(json['report']),
|
|
54
|
+
'librarySlug': json['librarySlug'],
|
|
55
|
+
'libraryVersionId': json['libraryVersionId'],
|
|
56
|
+
'libraryVersion': json['libraryVersion'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AgentLibraryLinkUpdateResponseUioToJSON(json) {
|
|
60
|
+
return AgentLibraryLinkUpdateResponseUioToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AgentLibraryLinkUpdateResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'agentId': value['agentId'],
|
|
68
|
+
'agentName': value['agentName'],
|
|
69
|
+
'clean': value['clean'],
|
|
70
|
+
'report': (0, AgentImportReportUio_1.AgentImportReportUioToJSON)(value['report']),
|
|
71
|
+
'librarySlug': value['librarySlug'],
|
|
72
|
+
'libraryVersionId': value['libraryVersionId'],
|
|
73
|
+
'libraryVersion': value['libraryVersion'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { AgentLibraryLinkUio } from './AgentLibraryLinkUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentLibraryLinksResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentLibraryLinksResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AgentLibraryLinkUio>}
|
|
22
|
+
* @memberof AgentLibraryLinksResponseUio
|
|
23
|
+
*/
|
|
24
|
+
data: Array<AgentLibraryLinkUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AgentLibraryLinksResponseUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAgentLibraryLinksResponseUio(value: object): value is AgentLibraryLinksResponseUio;
|
|
30
|
+
export declare function AgentLibraryLinksResponseUioFromJSON(json: any): AgentLibraryLinksResponseUio;
|
|
31
|
+
export declare function AgentLibraryLinksResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentLibraryLinksResponseUio;
|
|
32
|
+
export declare function AgentLibraryLinksResponseUioToJSON(json: any): AgentLibraryLinksResponseUio;
|
|
33
|
+
export declare function AgentLibraryLinksResponseUioToJSONTyped(value?: AgentLibraryLinksResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAgentLibraryLinksResponseUio = instanceOfAgentLibraryLinksResponseUio;
|
|
17
|
+
exports.AgentLibraryLinksResponseUioFromJSON = AgentLibraryLinksResponseUioFromJSON;
|
|
18
|
+
exports.AgentLibraryLinksResponseUioFromJSONTyped = AgentLibraryLinksResponseUioFromJSONTyped;
|
|
19
|
+
exports.AgentLibraryLinksResponseUioToJSON = AgentLibraryLinksResponseUioToJSON;
|
|
20
|
+
exports.AgentLibraryLinksResponseUioToJSONTyped = AgentLibraryLinksResponseUioToJSONTyped;
|
|
21
|
+
const AgentLibraryLinkUio_1 = require("./AgentLibraryLinkUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentLibraryLinksResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentLibraryLinksResponseUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AgentLibraryLinksResponseUioFromJSON(json) {
|
|
31
|
+
return AgentLibraryLinksResponseUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AgentLibraryLinksResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (json['data'].map(AgentLibraryLinkUio_1.AgentLibraryLinkUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AgentLibraryLinksResponseUioToJSON(json) {
|
|
42
|
+
return AgentLibraryLinksResponseUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentLibraryLinksResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (value['data'].map(AgentLibraryLinkUio_1.AgentLibraryLinkUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* Content overview of a published agent bundle (computed at publish time).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LibraryAgentBundleSummaryUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentBundleSummaryUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LibraryAgentBundleSummaryUio
|
|
22
|
+
*/
|
|
23
|
+
skills: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LibraryAgentBundleSummaryUio
|
|
28
|
+
*/
|
|
29
|
+
tools: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof LibraryAgentBundleSummaryUio
|
|
34
|
+
*/
|
|
35
|
+
knowledgeBases: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LibraryAgentBundleSummaryUio
|
|
40
|
+
*/
|
|
41
|
+
apps: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof LibraryAgentBundleSummaryUio
|
|
46
|
+
*/
|
|
47
|
+
hasFlow: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the LibraryAgentBundleSummaryUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfLibraryAgentBundleSummaryUio(value: object): value is LibraryAgentBundleSummaryUio;
|
|
53
|
+
export declare function LibraryAgentBundleSummaryUioFromJSON(json: any): LibraryAgentBundleSummaryUio;
|
|
54
|
+
export declare function LibraryAgentBundleSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentBundleSummaryUio;
|
|
55
|
+
export declare function LibraryAgentBundleSummaryUioToJSON(json: any): LibraryAgentBundleSummaryUio;
|
|
56
|
+
export declare function LibraryAgentBundleSummaryUioToJSONTyped(value?: LibraryAgentBundleSummaryUio | 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.instanceOfLibraryAgentBundleSummaryUio = instanceOfLibraryAgentBundleSummaryUio;
|
|
17
|
+
exports.LibraryAgentBundleSummaryUioFromJSON = LibraryAgentBundleSummaryUioFromJSON;
|
|
18
|
+
exports.LibraryAgentBundleSummaryUioFromJSONTyped = LibraryAgentBundleSummaryUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentBundleSummaryUioToJSON = LibraryAgentBundleSummaryUioToJSON;
|
|
20
|
+
exports.LibraryAgentBundleSummaryUioToJSONTyped = LibraryAgentBundleSummaryUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LibraryAgentBundleSummaryUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLibraryAgentBundleSummaryUio(value) {
|
|
25
|
+
if (!('skills' in value) || value['skills'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('tools' in value) || value['tools'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('apps' in value) || value['apps'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('hasFlow' in value) || value['hasFlow'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function LibraryAgentBundleSummaryUioFromJSON(json) {
|
|
38
|
+
return LibraryAgentBundleSummaryUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function LibraryAgentBundleSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'skills': json['skills'],
|
|
46
|
+
'tools': json['tools'],
|
|
47
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
48
|
+
'apps': json['apps'],
|
|
49
|
+
'hasFlow': json['hasFlow'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function LibraryAgentBundleSummaryUioToJSON(json) {
|
|
53
|
+
return LibraryAgentBundleSummaryUioToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function LibraryAgentBundleSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'skills': value['skills'],
|
|
61
|
+
'tools': value['tools'],
|
|
62
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
63
|
+
'apps': value['apps'],
|
|
64
|
+
'hasFlow': value['hasFlow'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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 { AgentBundleDiffUio } from './AgentBundleDiffUio';
|
|
13
|
+
import type { LibraryAgentDiffVersionRefUio } from './LibraryAgentDiffVersionRefUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LibraryAgentDiffResponseUio
|
|
18
|
+
*/
|
|
19
|
+
export interface LibraryAgentDiffResponseUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {LibraryAgentDiffVersionRefUio}
|
|
23
|
+
* @memberof LibraryAgentDiffResponseUio
|
|
24
|
+
*/
|
|
25
|
+
from: LibraryAgentDiffVersionRefUio;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {LibraryAgentDiffVersionRefUio}
|
|
29
|
+
* @memberof LibraryAgentDiffResponseUio
|
|
30
|
+
*/
|
|
31
|
+
to: LibraryAgentDiffVersionRefUio;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AgentBundleDiffUio}
|
|
35
|
+
* @memberof LibraryAgentDiffResponseUio
|
|
36
|
+
*/
|
|
37
|
+
diff: AgentBundleDiffUio;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the LibraryAgentDiffResponseUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfLibraryAgentDiffResponseUio(value: object): value is LibraryAgentDiffResponseUio;
|
|
43
|
+
export declare function LibraryAgentDiffResponseUioFromJSON(json: any): LibraryAgentDiffResponseUio;
|
|
44
|
+
export declare function LibraryAgentDiffResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentDiffResponseUio;
|
|
45
|
+
export declare function LibraryAgentDiffResponseUioToJSON(json: any): LibraryAgentDiffResponseUio;
|
|
46
|
+
export declare function LibraryAgentDiffResponseUioToJSONTyped(value?: LibraryAgentDiffResponseUio | 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.instanceOfLibraryAgentDiffResponseUio = instanceOfLibraryAgentDiffResponseUio;
|
|
17
|
+
exports.LibraryAgentDiffResponseUioFromJSON = LibraryAgentDiffResponseUioFromJSON;
|
|
18
|
+
exports.LibraryAgentDiffResponseUioFromJSONTyped = LibraryAgentDiffResponseUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentDiffResponseUioToJSON = LibraryAgentDiffResponseUioToJSON;
|
|
20
|
+
exports.LibraryAgentDiffResponseUioToJSONTyped = LibraryAgentDiffResponseUioToJSONTyped;
|
|
21
|
+
const AgentBundleDiffUio_1 = require("./AgentBundleDiffUio");
|
|
22
|
+
const LibraryAgentDiffVersionRefUio_1 = require("./LibraryAgentDiffVersionRefUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the LibraryAgentDiffResponseUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfLibraryAgentDiffResponseUio(value) {
|
|
27
|
+
if (!('from' in value) || value['from'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('to' in value) || value['to'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('diff' in value) || value['diff'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function LibraryAgentDiffResponseUioFromJSON(json) {
|
|
36
|
+
return LibraryAgentDiffResponseUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function LibraryAgentDiffResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'from': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioFromJSON)(json['from']),
|
|
44
|
+
'to': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioFromJSON)(json['to']),
|
|
45
|
+
'diff': (0, AgentBundleDiffUio_1.AgentBundleDiffUioFromJSON)(json['diff']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function LibraryAgentDiffResponseUioToJSON(json) {
|
|
49
|
+
return LibraryAgentDiffResponseUioToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function LibraryAgentDiffResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'from': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioToJSON)(value['from']),
|
|
57
|
+
'to': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioToJSON)(value['to']),
|
|
58
|
+
'diff': (0, AgentBundleDiffUio_1.AgentBundleDiffUioToJSON)(value['diff']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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 LibraryAgentDiffVersionRefUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentDiffVersionRefUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryAgentDiffVersionRefUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LibraryAgentDiffVersionRefUio
|
|
28
|
+
*/
|
|
29
|
+
version: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LibraryAgentDiffVersionRefUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLibraryAgentDiffVersionRefUio(value: object): value is LibraryAgentDiffVersionRefUio;
|
|
35
|
+
export declare function LibraryAgentDiffVersionRefUioFromJSON(json: any): LibraryAgentDiffVersionRefUio;
|
|
36
|
+
export declare function LibraryAgentDiffVersionRefUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentDiffVersionRefUio;
|
|
37
|
+
export declare function LibraryAgentDiffVersionRefUioToJSON(json: any): LibraryAgentDiffVersionRefUio;
|
|
38
|
+
export declare function LibraryAgentDiffVersionRefUioToJSONTyped(value?: LibraryAgentDiffVersionRefUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfLibraryAgentDiffVersionRefUio = instanceOfLibraryAgentDiffVersionRefUio;
|
|
17
|
+
exports.LibraryAgentDiffVersionRefUioFromJSON = LibraryAgentDiffVersionRefUioFromJSON;
|
|
18
|
+
exports.LibraryAgentDiffVersionRefUioFromJSONTyped = LibraryAgentDiffVersionRefUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentDiffVersionRefUioToJSON = LibraryAgentDiffVersionRefUioToJSON;
|
|
20
|
+
exports.LibraryAgentDiffVersionRefUioToJSONTyped = LibraryAgentDiffVersionRefUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LibraryAgentDiffVersionRefUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLibraryAgentDiffVersionRefUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function LibraryAgentDiffVersionRefUioFromJSON(json) {
|
|
32
|
+
return LibraryAgentDiffVersionRefUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function LibraryAgentDiffVersionRefUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'version': json['version'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LibraryAgentDiffVersionRefUioToJSON(json) {
|
|
44
|
+
return LibraryAgentDiffVersionRefUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LibraryAgentDiffVersionRefUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'version': value['version'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { LibraryAgentVersionUio } from './LibraryAgentVersionUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LibraryAgentEntryUio
|
|
17
|
+
*/
|
|
18
|
+
export interface LibraryAgentEntryUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LibraryAgentEntryUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LibraryAgentEntryUio
|
|
29
|
+
*/
|
|
30
|
+
slug: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LibraryAgentEntryUio
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LibraryAgentEntryUio
|
|
41
|
+
*/
|
|
42
|
+
description: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LibraryAgentEntryUio
|
|
47
|
+
*/
|
|
48
|
+
sourceAgentId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LibraryAgentEntryUio
|
|
53
|
+
*/
|
|
54
|
+
latestVersionId: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof LibraryAgentEntryUio
|
|
59
|
+
*/
|
|
60
|
+
createdAt: Date;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof LibraryAgentEntryUio
|
|
65
|
+
*/
|
|
66
|
+
updatedAt: Date;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<LibraryAgentVersionUio>}
|
|
70
|
+
* @memberof LibraryAgentEntryUio
|
|
71
|
+
*/
|
|
72
|
+
versions: Array<LibraryAgentVersionUio>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {LibraryAgentVersionUio}
|
|
76
|
+
* @memberof LibraryAgentEntryUio
|
|
77
|
+
*/
|
|
78
|
+
latestVersion?: LibraryAgentVersionUio;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the LibraryAgentEntryUio interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfLibraryAgentEntryUio(value: object): value is LibraryAgentEntryUio;
|
|
84
|
+
export declare function LibraryAgentEntryUioFromJSON(json: any): LibraryAgentEntryUio;
|
|
85
|
+
export declare function LibraryAgentEntryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentEntryUio;
|
|
86
|
+
export declare function LibraryAgentEntryUioToJSON(json: any): LibraryAgentEntryUio;
|
|
87
|
+
export declare function LibraryAgentEntryUioToJSONTyped(value?: LibraryAgentEntryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.instanceOfLibraryAgentEntryUio = instanceOfLibraryAgentEntryUio;
|
|
17
|
+
exports.LibraryAgentEntryUioFromJSON = LibraryAgentEntryUioFromJSON;
|
|
18
|
+
exports.LibraryAgentEntryUioFromJSONTyped = LibraryAgentEntryUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentEntryUioToJSON = LibraryAgentEntryUioToJSON;
|
|
20
|
+
exports.LibraryAgentEntryUioToJSONTyped = LibraryAgentEntryUioToJSONTyped;
|
|
21
|
+
const LibraryAgentVersionUio_1 = require("./LibraryAgentVersionUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LibraryAgentEntryUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLibraryAgentEntryUio(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 (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('latestVersionId' in value) || value['latestVersionId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('versions' in value) || value['versions'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function LibraryAgentEntryUioFromJSON(json) {
|
|
45
|
+
return LibraryAgentEntryUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LibraryAgentEntryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'slug': json['slug'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'description': json['description'],
|
|
56
|
+
'sourceAgentId': json['sourceAgentId'] == null ? undefined : json['sourceAgentId'],
|
|
57
|
+
'latestVersionId': json['latestVersionId'],
|
|
58
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
59
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
60
|
+
'versions': (json['versions'].map(LibraryAgentVersionUio_1.LibraryAgentVersionUioFromJSON)),
|
|
61
|
+
'latestVersion': json['latestVersion'] == null ? undefined : (0, LibraryAgentVersionUio_1.LibraryAgentVersionUioFromJSON)(json['latestVersion']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function LibraryAgentEntryUioToJSON(json) {
|
|
65
|
+
return LibraryAgentEntryUioToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function LibraryAgentEntryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'slug': value['slug'],
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'description': value['description'],
|
|
76
|
+
'sourceAgentId': value['sourceAgentId'],
|
|
77
|
+
'latestVersionId': value['latestVersionId'],
|
|
78
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
79
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
80
|
+
'versions': (value['versions'].map(LibraryAgentVersionUio_1.LibraryAgentVersionUioToJSON)),
|
|
81
|
+
'latestVersion': (0, LibraryAgentVersionUio_1.LibraryAgentVersionUioToJSON)(value['latestVersion']),
|
|
82
|
+
};
|
|
83
|
+
}
|