@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,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 LibraryAgentInstallRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentInstallRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryAgentInstallRequestUio
|
|
22
|
+
*/
|
|
23
|
+
organizationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LibraryAgentInstallRequestUio
|
|
28
|
+
*/
|
|
29
|
+
versionId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LibraryAgentInstallRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLibraryAgentInstallRequestUio(value: object): value is LibraryAgentInstallRequestUio;
|
|
35
|
+
export declare function LibraryAgentInstallRequestUioFromJSON(json: any): LibraryAgentInstallRequestUio;
|
|
36
|
+
export declare function LibraryAgentInstallRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentInstallRequestUio;
|
|
37
|
+
export declare function LibraryAgentInstallRequestUioToJSON(json: any): LibraryAgentInstallRequestUio;
|
|
38
|
+
export declare function LibraryAgentInstallRequestUioToJSONTyped(value?: LibraryAgentInstallRequestUio | 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.instanceOfLibraryAgentInstallRequestUio = instanceOfLibraryAgentInstallRequestUio;
|
|
17
|
+
exports.LibraryAgentInstallRequestUioFromJSON = LibraryAgentInstallRequestUioFromJSON;
|
|
18
|
+
exports.LibraryAgentInstallRequestUioFromJSONTyped = LibraryAgentInstallRequestUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentInstallRequestUioToJSON = LibraryAgentInstallRequestUioToJSON;
|
|
20
|
+
exports.LibraryAgentInstallRequestUioToJSONTyped = LibraryAgentInstallRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LibraryAgentInstallRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLibraryAgentInstallRequestUio(value) {
|
|
25
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function LibraryAgentInstallRequestUioFromJSON(json) {
|
|
30
|
+
return LibraryAgentInstallRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function LibraryAgentInstallRequestUioFromJSONTyped(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 LibraryAgentInstallRequestUioToJSON(json) {
|
|
42
|
+
return LibraryAgentInstallRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function LibraryAgentInstallRequestUioToJSONTyped(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,75 @@
|
|
|
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 LibraryAgentInstallResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface LibraryAgentInstallResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
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 LibraryAgentInstallResponseUio
|
|
35
|
+
*/
|
|
36
|
+
clean: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AgentImportReportUio}
|
|
40
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
41
|
+
*/
|
|
42
|
+
report: AgentImportReportUio;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
47
|
+
*/
|
|
48
|
+
librarySlug: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
53
|
+
*/
|
|
54
|
+
libraryVersionId: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
59
|
+
*/
|
|
60
|
+
libraryVersion: string;
|
|
61
|
+
/**
|
|
62
|
+
* Role assigned to the installed agent (first existing org role, or a base role created on first install). Null when role assignment failed.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof LibraryAgentInstallResponseUio
|
|
65
|
+
*/
|
|
66
|
+
roleId?: string | null;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the LibraryAgentInstallResponseUio interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfLibraryAgentInstallResponseUio(value: object): value is LibraryAgentInstallResponseUio;
|
|
72
|
+
export declare function LibraryAgentInstallResponseUioFromJSON(json: any): LibraryAgentInstallResponseUio;
|
|
73
|
+
export declare function LibraryAgentInstallResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentInstallResponseUio;
|
|
74
|
+
export declare function LibraryAgentInstallResponseUioToJSON(json: any): LibraryAgentInstallResponseUio;
|
|
75
|
+
export declare function LibraryAgentInstallResponseUioToJSONTyped(value?: LibraryAgentInstallResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
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.instanceOfLibraryAgentInstallResponseUio = instanceOfLibraryAgentInstallResponseUio;
|
|
17
|
+
exports.LibraryAgentInstallResponseUioFromJSON = LibraryAgentInstallResponseUioFromJSON;
|
|
18
|
+
exports.LibraryAgentInstallResponseUioFromJSONTyped = LibraryAgentInstallResponseUioFromJSONTyped;
|
|
19
|
+
exports.LibraryAgentInstallResponseUioToJSON = LibraryAgentInstallResponseUioToJSON;
|
|
20
|
+
exports.LibraryAgentInstallResponseUioToJSONTyped = LibraryAgentInstallResponseUioToJSONTyped;
|
|
21
|
+
const AgentImportReportUio_1 = require("./AgentImportReportUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LibraryAgentInstallResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLibraryAgentInstallResponseUio(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 LibraryAgentInstallResponseUioFromJSON(json) {
|
|
43
|
+
return LibraryAgentInstallResponseUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function LibraryAgentInstallResponseUioFromJSONTyped(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
|
+
'roleId': json['roleId'] == null ? undefined : json['roleId'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function LibraryAgentInstallResponseUioToJSON(json) {
|
|
61
|
+
return LibraryAgentInstallResponseUioToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function LibraryAgentInstallResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'agentId': value['agentId'],
|
|
69
|
+
'agentName': value['agentName'],
|
|
70
|
+
'clean': value['clean'],
|
|
71
|
+
'report': (0, AgentImportReportUio_1.AgentImportReportUioToJSON)(value['report']),
|
|
72
|
+
'librarySlug': value['librarySlug'],
|
|
73
|
+
'libraryVersionId': value['libraryVersionId'],
|
|
74
|
+
'libraryVersion': value['libraryVersion'],
|
|
75
|
+
'roleId': value['roleId'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LibraryAgentParseBundleRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryAgentParseBundleRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryAgentParseBundleRequestUio
|
|
22
|
+
*/
|
|
23
|
+
format: LibraryAgentParseBundleRequestUioFormatEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Raw serialized breign-agent bundle.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LibraryAgentParseBundleRequestUio
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const LibraryAgentParseBundleRequestUioFormatEnum: {
|
|
35
|
+
readonly Yaml: "yaml";
|
|
36
|
+
readonly Json: "json";
|
|
37
|
+
};
|
|
38
|
+
export type LibraryAgentParseBundleRequestUioFormatEnum = typeof LibraryAgentParseBundleRequestUioFormatEnum[keyof typeof LibraryAgentParseBundleRequestUioFormatEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the LibraryAgentParseBundleRequestUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfLibraryAgentParseBundleRequestUio(value: object): value is LibraryAgentParseBundleRequestUio;
|
|
43
|
+
export declare function LibraryAgentParseBundleRequestUioFromJSON(json: any): LibraryAgentParseBundleRequestUio;
|
|
44
|
+
export declare function LibraryAgentParseBundleRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentParseBundleRequestUio;
|
|
45
|
+
export declare function LibraryAgentParseBundleRequestUioToJSON(json: any): LibraryAgentParseBundleRequestUio;
|
|
46
|
+
export declare function LibraryAgentParseBundleRequestUioToJSONTyped(value?: LibraryAgentParseBundleRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.LibraryAgentParseBundleRequestUioFormatEnum = void 0;
|
|
17
|
+
exports.instanceOfLibraryAgentParseBundleRequestUio = instanceOfLibraryAgentParseBundleRequestUio;
|
|
18
|
+
exports.LibraryAgentParseBundleRequestUioFromJSON = LibraryAgentParseBundleRequestUioFromJSON;
|
|
19
|
+
exports.LibraryAgentParseBundleRequestUioFromJSONTyped = LibraryAgentParseBundleRequestUioFromJSONTyped;
|
|
20
|
+
exports.LibraryAgentParseBundleRequestUioToJSON = LibraryAgentParseBundleRequestUioToJSON;
|
|
21
|
+
exports.LibraryAgentParseBundleRequestUioToJSONTyped = LibraryAgentParseBundleRequestUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.LibraryAgentParseBundleRequestUioFormatEnum = {
|
|
26
|
+
Yaml: 'yaml',
|
|
27
|
+
Json: 'json'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the LibraryAgentParseBundleRequestUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfLibraryAgentParseBundleRequestUio(value) {
|
|
33
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function LibraryAgentParseBundleRequestUioFromJSON(json) {
|
|
40
|
+
return LibraryAgentParseBundleRequestUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LibraryAgentParseBundleRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'format': json['format'],
|
|
48
|
+
'content': json['content'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function LibraryAgentParseBundleRequestUioToJSON(json) {
|
|
52
|
+
return LibraryAgentParseBundleRequestUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function LibraryAgentParseBundleRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'format': value['format'],
|
|
60
|
+
'content': value['content'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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
|
+
}
|