@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,85 @@
|
|
|
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.AgentBundleDiffUioFlowEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentBundleDiffUio = instanceOfAgentBundleDiffUio;
|
|
18
|
+
exports.AgentBundleDiffUioFromJSON = AgentBundleDiffUioFromJSON;
|
|
19
|
+
exports.AgentBundleDiffUioFromJSONTyped = AgentBundleDiffUioFromJSONTyped;
|
|
20
|
+
exports.AgentBundleDiffUioToJSON = AgentBundleDiffUioToJSON;
|
|
21
|
+
exports.AgentBundleDiffUioToJSONTyped = AgentBundleDiffUioToJSONTyped;
|
|
22
|
+
const AgentBundleListDiffUio_1 = require("./AgentBundleListDiffUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AgentBundleDiffUioFlowEnum = {
|
|
27
|
+
Unchanged: 'unchanged',
|
|
28
|
+
Added: 'added',
|
|
29
|
+
Removed: 'removed',
|
|
30
|
+
Changed: 'changed'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AgentBundleDiffUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfAgentBundleDiffUio(value) {
|
|
36
|
+
if (!('changedAgentFields' in value) || value['changedAgentFields'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('skills' in value) || value['skills'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('tools' in value) || value['tools'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('apps' in value) || value['apps'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('flow' in value) || value['flow'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('hasChanges' in value) || value['hasChanges'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function AgentBundleDiffUioFromJSON(json) {
|
|
53
|
+
return AgentBundleDiffUioFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AgentBundleDiffUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'changedAgentFields': json['changedAgentFields'],
|
|
61
|
+
'skills': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioFromJSON)(json['skills']),
|
|
62
|
+
'tools': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioFromJSON)(json['tools']),
|
|
63
|
+
'knowledgeBases': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioFromJSON)(json['knowledgeBases']),
|
|
64
|
+
'apps': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioFromJSON)(json['apps']),
|
|
65
|
+
'flow': json['flow'],
|
|
66
|
+
'hasChanges': json['hasChanges'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function AgentBundleDiffUioToJSON(json) {
|
|
70
|
+
return AgentBundleDiffUioToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function AgentBundleDiffUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'changedAgentFields': value['changedAgentFields'],
|
|
78
|
+
'skills': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioToJSON)(value['skills']),
|
|
79
|
+
'tools': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioToJSON)(value['tools']),
|
|
80
|
+
'knowledgeBases': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioToJSON)(value['knowledgeBases']),
|
|
81
|
+
'apps': (0, AgentBundleListDiffUio_1.AgentBundleListDiffUioToJSON)(value['apps']),
|
|
82
|
+
'flow': value['flow'],
|
|
83
|
+
'hasChanges': value['hasChanges'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AgentBundleListDiffUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentBundleListDiffUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof AgentBundleListDiffUio
|
|
22
|
+
*/
|
|
23
|
+
added: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof AgentBundleListDiffUio
|
|
28
|
+
*/
|
|
29
|
+
removed: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof AgentBundleListDiffUio
|
|
34
|
+
*/
|
|
35
|
+
updated: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AgentBundleListDiffUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAgentBundleListDiffUio(value: object): value is AgentBundleListDiffUio;
|
|
41
|
+
export declare function AgentBundleListDiffUioFromJSON(json: any): AgentBundleListDiffUio;
|
|
42
|
+
export declare function AgentBundleListDiffUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentBundleListDiffUio;
|
|
43
|
+
export declare function AgentBundleListDiffUioToJSON(json: any): AgentBundleListDiffUio;
|
|
44
|
+
export declare function AgentBundleListDiffUioToJSONTyped(value?: AgentBundleListDiffUio | 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.instanceOfAgentBundleListDiffUio = instanceOfAgentBundleListDiffUio;
|
|
17
|
+
exports.AgentBundleListDiffUioFromJSON = AgentBundleListDiffUioFromJSON;
|
|
18
|
+
exports.AgentBundleListDiffUioFromJSONTyped = AgentBundleListDiffUioFromJSONTyped;
|
|
19
|
+
exports.AgentBundleListDiffUioToJSON = AgentBundleListDiffUioToJSON;
|
|
20
|
+
exports.AgentBundleListDiffUioToJSONTyped = AgentBundleListDiffUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentBundleListDiffUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentBundleListDiffUio(value) {
|
|
25
|
+
if (!('added' in value) || value['added'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('removed' in value) || value['removed'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('updated' in value) || value['updated'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AgentBundleListDiffUioFromJSON(json) {
|
|
34
|
+
return AgentBundleListDiffUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AgentBundleListDiffUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'added': json['added'],
|
|
42
|
+
'removed': json['removed'],
|
|
43
|
+
'updated': json['updated'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AgentBundleListDiffUioToJSON(json) {
|
|
47
|
+
return AgentBundleListDiffUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AgentBundleListDiffUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'added': value['added'],
|
|
55
|
+
'removed': value['removed'],
|
|
56
|
+
'updated': value['updated'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AgentLibraryLinkLatestVersionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentLibraryLinkLatestVersionUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentLibraryLinkLatestVersionUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentLibraryLinkLatestVersionUio
|
|
28
|
+
*/
|
|
29
|
+
version: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof AgentLibraryLinkLatestVersionUio
|
|
34
|
+
*/
|
|
35
|
+
publishedAt: Date;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AgentLibraryLinkLatestVersionUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAgentLibraryLinkLatestVersionUio(value: object): value is AgentLibraryLinkLatestVersionUio;
|
|
41
|
+
export declare function AgentLibraryLinkLatestVersionUioFromJSON(json: any): AgentLibraryLinkLatestVersionUio;
|
|
42
|
+
export declare function AgentLibraryLinkLatestVersionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentLibraryLinkLatestVersionUio;
|
|
43
|
+
export declare function AgentLibraryLinkLatestVersionUioToJSON(json: any): AgentLibraryLinkLatestVersionUio;
|
|
44
|
+
export declare function AgentLibraryLinkLatestVersionUioToJSONTyped(value?: AgentLibraryLinkLatestVersionUio | 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.instanceOfAgentLibraryLinkLatestVersionUio = instanceOfAgentLibraryLinkLatestVersionUio;
|
|
17
|
+
exports.AgentLibraryLinkLatestVersionUioFromJSON = AgentLibraryLinkLatestVersionUioFromJSON;
|
|
18
|
+
exports.AgentLibraryLinkLatestVersionUioFromJSONTyped = AgentLibraryLinkLatestVersionUioFromJSONTyped;
|
|
19
|
+
exports.AgentLibraryLinkLatestVersionUioToJSON = AgentLibraryLinkLatestVersionUioToJSON;
|
|
20
|
+
exports.AgentLibraryLinkLatestVersionUioToJSONTyped = AgentLibraryLinkLatestVersionUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentLibraryLinkLatestVersionUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentLibraryLinkLatestVersionUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('publishedAt' in value) || value['publishedAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AgentLibraryLinkLatestVersionUioFromJSON(json) {
|
|
34
|
+
return AgentLibraryLinkLatestVersionUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AgentLibraryLinkLatestVersionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'version': json['version'],
|
|
43
|
+
'publishedAt': (new Date(json['publishedAt'])),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AgentLibraryLinkLatestVersionUioToJSON(json) {
|
|
47
|
+
return AgentLibraryLinkLatestVersionUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AgentLibraryLinkLatestVersionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'version': value['version'],
|
|
56
|
+
'publishedAt': ((value['publishedAt']).toISOString()),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { AgentLibraryLinkLatestVersionUio } from './AgentLibraryLinkLatestVersionUio';
|
|
13
|
+
/**
|
|
14
|
+
* Provenance link between an installed (managed) agent and its marketplace catalog entry, enriched with the latest published version of that entry.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentLibraryLinkUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentLibraryLinkUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentLibraryLinkUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentLibraryLinkUio
|
|
29
|
+
*/
|
|
30
|
+
librarySlug: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AgentLibraryLinkUio
|
|
35
|
+
*/
|
|
36
|
+
libraryVersionId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AgentLibraryLinkUio
|
|
41
|
+
*/
|
|
42
|
+
libraryVersion: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof AgentLibraryLinkUio
|
|
47
|
+
*/
|
|
48
|
+
installedAt: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof AgentLibraryLinkUio
|
|
53
|
+
*/
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
/**
|
|
56
|
+
* Name of the catalog entry (null when the entry was unpublished).
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AgentLibraryLinkUio
|
|
59
|
+
*/
|
|
60
|
+
entryName?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {AgentLibraryLinkLatestVersionUio}
|
|
64
|
+
* @memberof AgentLibraryLinkUio
|
|
65
|
+
*/
|
|
66
|
+
latestVersion?: AgentLibraryLinkLatestVersionUio;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof AgentLibraryLinkUio
|
|
71
|
+
*/
|
|
72
|
+
updateAvailable: boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the AgentLibraryLinkUio interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfAgentLibraryLinkUio(value: object): value is AgentLibraryLinkUio;
|
|
78
|
+
export declare function AgentLibraryLinkUioFromJSON(json: any): AgentLibraryLinkUio;
|
|
79
|
+
export declare function AgentLibraryLinkUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentLibraryLinkUio;
|
|
80
|
+
export declare function AgentLibraryLinkUioToJSON(json: any): AgentLibraryLinkUio;
|
|
81
|
+
export declare function AgentLibraryLinkUioToJSONTyped(value?: AgentLibraryLinkUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfAgentLibraryLinkUio = instanceOfAgentLibraryLinkUio;
|
|
17
|
+
exports.AgentLibraryLinkUioFromJSON = AgentLibraryLinkUioFromJSON;
|
|
18
|
+
exports.AgentLibraryLinkUioFromJSONTyped = AgentLibraryLinkUioFromJSONTyped;
|
|
19
|
+
exports.AgentLibraryLinkUioToJSON = AgentLibraryLinkUioToJSON;
|
|
20
|
+
exports.AgentLibraryLinkUioToJSONTyped = AgentLibraryLinkUioToJSONTyped;
|
|
21
|
+
const AgentLibraryLinkLatestVersionUio_1 = require("./AgentLibraryLinkLatestVersionUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentLibraryLinkUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentLibraryLinkUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('librarySlug' in value) || value['librarySlug'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('libraryVersionId' in value) || value['libraryVersionId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('libraryVersion' in value) || value['libraryVersion'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('installedAt' in value) || value['installedAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('updateAvailable' in value) || value['updateAvailable'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AgentLibraryLinkUioFromJSON(json) {
|
|
43
|
+
return AgentLibraryLinkUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AgentLibraryLinkUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'agentId': json['agentId'],
|
|
51
|
+
'librarySlug': json['librarySlug'],
|
|
52
|
+
'libraryVersionId': json['libraryVersionId'],
|
|
53
|
+
'libraryVersion': json['libraryVersion'],
|
|
54
|
+
'installedAt': (new Date(json['installedAt'])),
|
|
55
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
56
|
+
'entryName': json['entryName'] == null ? undefined : json['entryName'],
|
|
57
|
+
'latestVersion': json['latestVersion'] == null ? undefined : (0, AgentLibraryLinkLatestVersionUio_1.AgentLibraryLinkLatestVersionUioFromJSON)(json['latestVersion']),
|
|
58
|
+
'updateAvailable': json['updateAvailable'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function AgentLibraryLinkUioToJSON(json) {
|
|
62
|
+
return AgentLibraryLinkUioToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function AgentLibraryLinkUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'agentId': value['agentId'],
|
|
70
|
+
'librarySlug': value['librarySlug'],
|
|
71
|
+
'libraryVersionId': value['libraryVersionId'],
|
|
72
|
+
'libraryVersion': value['libraryVersion'],
|
|
73
|
+
'installedAt': ((value['installedAt']).toISOString()),
|
|
74
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
75
|
+
'entryName': value['entryName'],
|
|
76
|
+
'latestVersion': (0, AgentLibraryLinkLatestVersionUio_1.AgentLibraryLinkLatestVersionUioToJSON)(value['latestVersion']),
|
|
77
|
+
'updateAvailable': value['updateAvailable'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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 AgentLibraryLinkUpdateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentLibraryLinkUpdateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentLibraryLinkUpdateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
organizationId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Target version. Defaults to the latest published version of the linked entry.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentLibraryLinkUpdateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
versionId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AgentLibraryLinkUpdateRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAgentLibraryLinkUpdateRequestUio(value: object): value is AgentLibraryLinkUpdateRequestUio;
|
|
35
|
+
export declare function AgentLibraryLinkUpdateRequestUioFromJSON(json: any): AgentLibraryLinkUpdateRequestUio;
|
|
36
|
+
export declare function AgentLibraryLinkUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentLibraryLinkUpdateRequestUio;
|
|
37
|
+
export declare function AgentLibraryLinkUpdateRequestUioToJSON(json: any): AgentLibraryLinkUpdateRequestUio;
|
|
38
|
+
export declare function AgentLibraryLinkUpdateRequestUioToJSONTyped(value?: AgentLibraryLinkUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfAgentLibraryLinkUpdateRequestUio = instanceOfAgentLibraryLinkUpdateRequestUio;
|
|
17
|
+
exports.AgentLibraryLinkUpdateRequestUioFromJSON = AgentLibraryLinkUpdateRequestUioFromJSON;
|
|
18
|
+
exports.AgentLibraryLinkUpdateRequestUioFromJSONTyped = AgentLibraryLinkUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AgentLibraryLinkUpdateRequestUioToJSON = AgentLibraryLinkUpdateRequestUioToJSON;
|
|
20
|
+
exports.AgentLibraryLinkUpdateRequestUioToJSONTyped = AgentLibraryLinkUpdateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentLibraryLinkUpdateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentLibraryLinkUpdateRequestUio(value) {
|
|
25
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AgentLibraryLinkUpdateRequestUioFromJSON(json) {
|
|
30
|
+
return AgentLibraryLinkUpdateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AgentLibraryLinkUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'organizationId': json['organizationId'],
|
|
38
|
+
'versionId': json['versionId'] == null ? undefined : json['versionId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AgentLibraryLinkUpdateRequestUioToJSON(json) {
|
|
42
|
+
return AgentLibraryLinkUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentLibraryLinkUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'organizationId': value['organizationId'],
|
|
50
|
+
'versionId': value['versionId'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 AgentLibraryLinkUpdateResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentLibraryLinkUpdateResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
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 AgentLibraryLinkUpdateResponseUio
|
|
35
|
+
*/
|
|
36
|
+
clean: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AgentImportReportUio}
|
|
40
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
41
|
+
*/
|
|
42
|
+
report: AgentImportReportUio;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
47
|
+
*/
|
|
48
|
+
librarySlug: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
53
|
+
*/
|
|
54
|
+
libraryVersionId: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AgentLibraryLinkUpdateResponseUio
|
|
59
|
+
*/
|
|
60
|
+
libraryVersion: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the AgentLibraryLinkUpdateResponseUio interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfAgentLibraryLinkUpdateResponseUio(value: object): value is AgentLibraryLinkUpdateResponseUio;
|
|
66
|
+
export declare function AgentLibraryLinkUpdateResponseUioFromJSON(json: any): AgentLibraryLinkUpdateResponseUio;
|
|
67
|
+
export declare function AgentLibraryLinkUpdateResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentLibraryLinkUpdateResponseUio;
|
|
68
|
+
export declare function AgentLibraryLinkUpdateResponseUioToJSON(json: any): AgentLibraryLinkUpdateResponseUio;
|
|
69
|
+
export declare function AgentLibraryLinkUpdateResponseUioToJSONTyped(value?: AgentLibraryLinkUpdateResponseUio | null, ignoreDiscriminator?: boolean): any;
|