@breign/client 1.0.173 → 1.0.174
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/ExecutionNodesApi.d.ts +83 -1
- package/dist/apis/ExecutionNodesApi.js +186 -0
- package/dist/models/ExecutionNodeDetailUio.d.ts +7 -0
- package/dist/models/ExecutionNodeDetailUio.js +5 -0
- package/dist/models/ExecutionNodeOrganizationUio.d.ts +44 -0
- package/dist/models/ExecutionNodeOrganizationUio.js +58 -0
- package/dist/models/ExecutionNodeSettingsUio.d.ts +33 -0
- package/dist/models/ExecutionNodeSettingsUio.js +51 -0
- package/dist/models/ExecutionNodeUio.d.ts +7 -0
- package/dist/models/ExecutionNodeUio.js +5 -0
- package/dist/models/NodeAssociationPolicyUio.d.ts +26 -0
- package/dist/models/NodeAssociationPolicyUio.js +52 -0
- package/dist/models/NodeSessionDetailUio.d.ts +1 -1
- package/dist/models/NodeSessionUio.d.ts +1 -1
- package/dist/models/OrganizationExecutionNodeAgentUio.d.ts +52 -0
- package/dist/models/OrganizationExecutionNodeAgentUio.js +66 -0
- package/dist/models/OrganizationExecutionNodeUio.d.ts +97 -0
- package/dist/models/OrganizationExecutionNodeUio.js +97 -0
- package/dist/models/OrganizationExecutionNodeUserUio.d.ts +38 -0
- package/dist/models/OrganizationExecutionNodeUserUio.js +54 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/openapi.json +356 -2
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ exports.ExecutionNodeUioToJSON = ExecutionNodeUioToJSON;
|
|
|
21
21
|
exports.ExecutionNodeUioToJSONTyped = ExecutionNodeUioToJSONTyped;
|
|
22
22
|
const ExecutionNodeAgentUio_1 = require("./ExecutionNodeAgentUio");
|
|
23
23
|
const ExecutionNodeWorkspaceUio_1 = require("./ExecutionNodeWorkspaceUio");
|
|
24
|
+
const ExecutionNodeOrganizationUio_1 = require("./ExecutionNodeOrganizationUio");
|
|
24
25
|
const ExecutionNodeRuntimeUio_1 = require("./ExecutionNodeRuntimeUio");
|
|
25
26
|
/**
|
|
26
27
|
* @export
|
|
@@ -54,6 +55,8 @@ function instanceOfExecutionNodeUio(value) {
|
|
|
54
55
|
return false;
|
|
55
56
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
56
57
|
return false;
|
|
58
|
+
if (!('organizations' in value) || value['organizations'] === undefined)
|
|
59
|
+
return false;
|
|
57
60
|
return true;
|
|
58
61
|
}
|
|
59
62
|
function ExecutionNodeUioFromJSON(json) {
|
|
@@ -74,6 +77,7 @@ function ExecutionNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
77
|
'lastSeenAt': json['lastSeenAt'],
|
|
75
78
|
'revokedAt': json['revokedAt'],
|
|
76
79
|
'createdAt': json['createdAt'],
|
|
80
|
+
'organizations': (json['organizations'].map(ExecutionNodeOrganizationUio_1.ExecutionNodeOrganizationUioFromJSON)),
|
|
77
81
|
'agents': json['agents'] == null ? undefined : (json['agents'].map(ExecutionNodeAgentUio_1.ExecutionNodeAgentUioFromJSON)),
|
|
78
82
|
};
|
|
79
83
|
}
|
|
@@ -95,6 +99,7 @@ function ExecutionNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
95
99
|
'lastSeenAt': value['lastSeenAt'],
|
|
96
100
|
'revokedAt': value['revokedAt'],
|
|
97
101
|
'createdAt': value['createdAt'],
|
|
102
|
+
'organizations': (value['organizations'].map(ExecutionNodeOrganizationUio_1.ExecutionNodeOrganizationUioToJSON)),
|
|
98
103
|
'agents': value['agents'] == null ? undefined : (value['agents'].map(ExecutionNodeAgentUio_1.ExecutionNodeAgentUioToJSON)),
|
|
99
104
|
};
|
|
100
105
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Qui peut associer un nœud à l'organisation : tous ses membres, ses admins seulement, ou personne. Les nœuds déjà associés ne sont pas touchés par un changement.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const NodeAssociationPolicyUio: {
|
|
17
|
+
readonly Members: "members";
|
|
18
|
+
readonly Admins: "admins";
|
|
19
|
+
readonly None: "none";
|
|
20
|
+
};
|
|
21
|
+
export type NodeAssociationPolicyUio = typeof NodeAssociationPolicyUio[keyof typeof NodeAssociationPolicyUio];
|
|
22
|
+
export declare function instanceOfNodeAssociationPolicyUio(value: any): boolean;
|
|
23
|
+
export declare function NodeAssociationPolicyUioFromJSON(json: any): NodeAssociationPolicyUio;
|
|
24
|
+
export declare function NodeAssociationPolicyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeAssociationPolicyUio;
|
|
25
|
+
export declare function NodeAssociationPolicyUioToJSON(value?: NodeAssociationPolicyUio | null): any;
|
|
26
|
+
export declare function NodeAssociationPolicyUioToJSONTyped(value: any, ignoreDiscriminator: boolean): NodeAssociationPolicyUio;
|
|
@@ -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.NodeAssociationPolicyUio = void 0;
|
|
17
|
+
exports.instanceOfNodeAssociationPolicyUio = instanceOfNodeAssociationPolicyUio;
|
|
18
|
+
exports.NodeAssociationPolicyUioFromJSON = NodeAssociationPolicyUioFromJSON;
|
|
19
|
+
exports.NodeAssociationPolicyUioFromJSONTyped = NodeAssociationPolicyUioFromJSONTyped;
|
|
20
|
+
exports.NodeAssociationPolicyUioToJSON = NodeAssociationPolicyUioToJSON;
|
|
21
|
+
exports.NodeAssociationPolicyUioToJSONTyped = NodeAssociationPolicyUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Qui peut associer un nœud à l'organisation : tous ses membres, ses admins seulement, ou personne. Les nœuds déjà associés ne sont pas touchés par un changement.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeAssociationPolicyUio = {
|
|
27
|
+
Members: 'members',
|
|
28
|
+
Admins: 'admins',
|
|
29
|
+
None: 'none'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfNodeAssociationPolicyUio(value) {
|
|
32
|
+
for (const key in exports.NodeAssociationPolicyUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.NodeAssociationPolicyUio, key)) {
|
|
34
|
+
if (exports.NodeAssociationPolicyUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function NodeAssociationPolicyUioFromJSON(json) {
|
|
42
|
+
return NodeAssociationPolicyUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function NodeAssociationPolicyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function NodeAssociationPolicyUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function NodeAssociationPolicyUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionDetailUio {
|
|
|
67
67
|
*/
|
|
68
68
|
state: NodeSessionStateUio;
|
|
69
69
|
/**
|
|
70
|
-
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node, node_dissociated (nœud retiré de l'organisation du tour)…
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof NodeSessionDetailUio
|
|
73
73
|
*/
|
|
@@ -67,7 +67,7 @@ export interface NodeSessionUio {
|
|
|
67
67
|
*/
|
|
68
68
|
state: NodeSessionStateUio;
|
|
69
69
|
/**
|
|
70
|
-
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node, node_dissociated (nœud retiré de l'organisation du tour)…
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof NodeSessionUio
|
|
73
73
|
*/
|
|
@@ -0,0 +1,52 @@
|
|
|
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 OrganizationExecutionNodeAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationExecutionNodeAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
22
|
+
*/
|
|
23
|
+
agentId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
28
|
+
*/
|
|
29
|
+
agentName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationExecutionNodeAgentUio
|
|
34
|
+
*/
|
|
35
|
+
runtime: OrganizationExecutionNodeAgentUioRuntimeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const OrganizationExecutionNodeAgentUioRuntimeEnum: {
|
|
41
|
+
readonly Claude: "claude";
|
|
42
|
+
readonly Opencode: "opencode";
|
|
43
|
+
};
|
|
44
|
+
export type OrganizationExecutionNodeAgentUioRuntimeEnum = typeof OrganizationExecutionNodeAgentUioRuntimeEnum[keyof typeof OrganizationExecutionNodeAgentUioRuntimeEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the OrganizationExecutionNodeAgentUio interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfOrganizationExecutionNodeAgentUio(value: object): value is OrganizationExecutionNodeAgentUio;
|
|
49
|
+
export declare function OrganizationExecutionNodeAgentUioFromJSON(json: any): OrganizationExecutionNodeAgentUio;
|
|
50
|
+
export declare function OrganizationExecutionNodeAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeAgentUio;
|
|
51
|
+
export declare function OrganizationExecutionNodeAgentUioToJSON(json: any): OrganizationExecutionNodeAgentUio;
|
|
52
|
+
export declare function OrganizationExecutionNodeAgentUioToJSONTyped(value?: OrganizationExecutionNodeAgentUio | 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.OrganizationExecutionNodeAgentUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfOrganizationExecutionNodeAgentUio = instanceOfOrganizationExecutionNodeAgentUio;
|
|
18
|
+
exports.OrganizationExecutionNodeAgentUioFromJSON = OrganizationExecutionNodeAgentUioFromJSON;
|
|
19
|
+
exports.OrganizationExecutionNodeAgentUioFromJSONTyped = OrganizationExecutionNodeAgentUioFromJSONTyped;
|
|
20
|
+
exports.OrganizationExecutionNodeAgentUioToJSON = OrganizationExecutionNodeAgentUioToJSON;
|
|
21
|
+
exports.OrganizationExecutionNodeAgentUioToJSONTyped = OrganizationExecutionNodeAgentUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.OrganizationExecutionNodeAgentUioRuntimeEnum = {
|
|
26
|
+
Claude: 'claude',
|
|
27
|
+
Opencode: 'opencode'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the OrganizationExecutionNodeAgentUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfOrganizationExecutionNodeAgentUio(value) {
|
|
33
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function OrganizationExecutionNodeAgentUioFromJSON(json) {
|
|
42
|
+
return OrganizationExecutionNodeAgentUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationExecutionNodeAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'agentId': json['agentId'],
|
|
50
|
+
'agentName': json['agentName'],
|
|
51
|
+
'runtime': json['runtime'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function OrganizationExecutionNodeAgentUioToJSON(json) {
|
|
55
|
+
return OrganizationExecutionNodeAgentUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function OrganizationExecutionNodeAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'agentId': value['agentId'],
|
|
63
|
+
'agentName': value['agentName'],
|
|
64
|
+
'runtime': value['runtime'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { OrganizationExecutionNodeUserUio } from './OrganizationExecutionNodeUserUio';
|
|
13
|
+
import type { OrganizationExecutionNodeAgentUio } from './OrganizationExecutionNodeAgentUio';
|
|
14
|
+
/**
|
|
15
|
+
* Un nœud associé à l'organisation, vu par ses admins.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OrganizationExecutionNodeUio
|
|
18
|
+
*/
|
|
19
|
+
export interface OrganizationExecutionNodeUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof OrganizationExecutionNodeUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof OrganizationExecutionNodeUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OrganizationExecutionNodeUio
|
|
36
|
+
*/
|
|
37
|
+
os: OrganizationExecutionNodeUioOsEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof OrganizationExecutionNodeUio
|
|
42
|
+
*/
|
|
43
|
+
appVersion: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof OrganizationExecutionNodeUio
|
|
48
|
+
*/
|
|
49
|
+
connected: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof OrganizationExecutionNodeUio
|
|
54
|
+
*/
|
|
55
|
+
lastSeenAt: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {OrganizationExecutionNodeUserUio}
|
|
59
|
+
* @memberof OrganizationExecutionNodeUio
|
|
60
|
+
*/
|
|
61
|
+
owner: OrganizationExecutionNodeUserUio;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {OrganizationExecutionNodeUserUio}
|
|
65
|
+
* @memberof OrganizationExecutionNodeUio
|
|
66
|
+
*/
|
|
67
|
+
associatedBy: OrganizationExecutionNodeUserUio;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof OrganizationExecutionNodeUio
|
|
72
|
+
*/
|
|
73
|
+
associatedAt: string;
|
|
74
|
+
/**
|
|
75
|
+
* Les agents de cette organisation rattachés au nœud ; ceux des autres n'y figurent pas.
|
|
76
|
+
* @type {Array<OrganizationExecutionNodeAgentUio>}
|
|
77
|
+
* @memberof OrganizationExecutionNodeUio
|
|
78
|
+
*/
|
|
79
|
+
agents: Array<OrganizationExecutionNodeAgentUio>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const OrganizationExecutionNodeUioOsEnum: {
|
|
85
|
+
readonly Macos: "macos";
|
|
86
|
+
readonly Windows: "windows";
|
|
87
|
+
readonly Linux: "linux";
|
|
88
|
+
};
|
|
89
|
+
export type OrganizationExecutionNodeUioOsEnum = typeof OrganizationExecutionNodeUioOsEnum[keyof typeof OrganizationExecutionNodeUioOsEnum];
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the OrganizationExecutionNodeUio interface.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instanceOfOrganizationExecutionNodeUio(value: object): value is OrganizationExecutionNodeUio;
|
|
94
|
+
export declare function OrganizationExecutionNodeUioFromJSON(json: any): OrganizationExecutionNodeUio;
|
|
95
|
+
export declare function OrganizationExecutionNodeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeUio;
|
|
96
|
+
export declare function OrganizationExecutionNodeUioToJSON(json: any): OrganizationExecutionNodeUio;
|
|
97
|
+
export declare function OrganizationExecutionNodeUioToJSONTyped(value?: OrganizationExecutionNodeUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
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.OrganizationExecutionNodeUioOsEnum = void 0;
|
|
17
|
+
exports.instanceOfOrganizationExecutionNodeUio = instanceOfOrganizationExecutionNodeUio;
|
|
18
|
+
exports.OrganizationExecutionNodeUioFromJSON = OrganizationExecutionNodeUioFromJSON;
|
|
19
|
+
exports.OrganizationExecutionNodeUioFromJSONTyped = OrganizationExecutionNodeUioFromJSONTyped;
|
|
20
|
+
exports.OrganizationExecutionNodeUioToJSON = OrganizationExecutionNodeUioToJSON;
|
|
21
|
+
exports.OrganizationExecutionNodeUioToJSONTyped = OrganizationExecutionNodeUioToJSONTyped;
|
|
22
|
+
const OrganizationExecutionNodeUserUio_1 = require("./OrganizationExecutionNodeUserUio");
|
|
23
|
+
const OrganizationExecutionNodeAgentUio_1 = require("./OrganizationExecutionNodeAgentUio");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.OrganizationExecutionNodeUioOsEnum = {
|
|
28
|
+
Macos: 'macos',
|
|
29
|
+
Windows: 'windows',
|
|
30
|
+
Linux: 'linux'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationExecutionNodeUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfOrganizationExecutionNodeUio(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('os' in value) || value['os'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('appVersion' in value) || value['appVersion'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('connected' in value) || value['connected'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('owner' in value) || value['owner'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('associatedBy' in value) || value['associatedBy'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('associatedAt' in value) || value['associatedAt'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function OrganizationExecutionNodeUioFromJSON(json) {
|
|
59
|
+
return OrganizationExecutionNodeUioFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function OrganizationExecutionNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'name': json['name'],
|
|
68
|
+
'os': json['os'],
|
|
69
|
+
'appVersion': json['appVersion'],
|
|
70
|
+
'connected': json['connected'],
|
|
71
|
+
'lastSeenAt': json['lastSeenAt'],
|
|
72
|
+
'owner': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioFromJSON)(json['owner']),
|
|
73
|
+
'associatedBy': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioFromJSON)(json['associatedBy']),
|
|
74
|
+
'associatedAt': json['associatedAt'],
|
|
75
|
+
'agents': (json['agents'].map(OrganizationExecutionNodeAgentUio_1.OrganizationExecutionNodeAgentUioFromJSON)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function OrganizationExecutionNodeUioToJSON(json) {
|
|
79
|
+
return OrganizationExecutionNodeUioToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function OrganizationExecutionNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'os': value['os'],
|
|
89
|
+
'appVersion': value['appVersion'],
|
|
90
|
+
'connected': value['connected'],
|
|
91
|
+
'lastSeenAt': value['lastSeenAt'],
|
|
92
|
+
'owner': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioToJSON)(value['owner']),
|
|
93
|
+
'associatedBy': (0, OrganizationExecutionNodeUserUio_1.OrganizationExecutionNodeUserUioToJSON)(value['associatedBy']),
|
|
94
|
+
'associatedAt': value['associatedAt'],
|
|
95
|
+
'agents': (value['agents'].map(OrganizationExecutionNodeAgentUio_1.OrganizationExecutionNodeAgentUioToJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -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 OrganizationExecutionNodeUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationExecutionNodeUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationExecutionNodeUserUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationExecutionNodeUserUio
|
|
28
|
+
*/
|
|
29
|
+
email: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationExecutionNodeUserUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationExecutionNodeUserUio(value: object): value is OrganizationExecutionNodeUserUio;
|
|
35
|
+
export declare function OrganizationExecutionNodeUserUioFromJSON(json: any): OrganizationExecutionNodeUserUio;
|
|
36
|
+
export declare function OrganizationExecutionNodeUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationExecutionNodeUserUio;
|
|
37
|
+
export declare function OrganizationExecutionNodeUserUioToJSON(json: any): OrganizationExecutionNodeUserUio;
|
|
38
|
+
export declare function OrganizationExecutionNodeUserUioToJSONTyped(value?: OrganizationExecutionNodeUserUio | 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.instanceOfOrganizationExecutionNodeUserUio = instanceOfOrganizationExecutionNodeUserUio;
|
|
17
|
+
exports.OrganizationExecutionNodeUserUioFromJSON = OrganizationExecutionNodeUserUioFromJSON;
|
|
18
|
+
exports.OrganizationExecutionNodeUserUioFromJSONTyped = OrganizationExecutionNodeUserUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationExecutionNodeUserUioToJSON = OrganizationExecutionNodeUserUioToJSON;
|
|
20
|
+
exports.OrganizationExecutionNodeUserUioToJSONTyped = OrganizationExecutionNodeUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationExecutionNodeUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationExecutionNodeUserUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function OrganizationExecutionNodeUserUioFromJSON(json) {
|
|
32
|
+
return OrganizationExecutionNodeUserUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function OrganizationExecutionNodeUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function OrganizationExecutionNodeUserUioToJSON(json) {
|
|
44
|
+
return OrganizationExecutionNodeUserUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function OrganizationExecutionNodeUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'email': value['email'],
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -256,7 +256,9 @@ export * from './EphemeralInstancesMetricsResponseUio';
|
|
|
256
256
|
export * from './EphemeralInstancesTimeSeriesPointUio';
|
|
257
257
|
export * from './ExecutionNodeAgentUio';
|
|
258
258
|
export * from './ExecutionNodeDetailUio';
|
|
259
|
+
export * from './ExecutionNodeOrganizationUio';
|
|
259
260
|
export * from './ExecutionNodeRuntimeUio';
|
|
261
|
+
export * from './ExecutionNodeSettingsUio';
|
|
260
262
|
export * from './ExecutionNodeUio';
|
|
261
263
|
export * from './ExecutionNodeWorkspaceUio';
|
|
262
264
|
export * from './FileAttachmentCreateRequestUio';
|
|
@@ -406,6 +408,7 @@ export * from './ModelConsumptionItemUio';
|
|
|
406
408
|
export * from './ModelConsumptionSliceUio';
|
|
407
409
|
export * from './ModelDefinitionUio';
|
|
408
410
|
export * from './ModelUio';
|
|
411
|
+
export * from './NodeAssociationPolicyUio';
|
|
409
412
|
export * from './NodeSessionDetailUio';
|
|
410
413
|
export * from './NodeSessionLogEntryUio';
|
|
411
414
|
export * from './NodeSessionLogsUio';
|
|
@@ -423,6 +426,9 @@ export * from './OrgUsageMetricsResponseUio';
|
|
|
423
426
|
export * from './OrgUsageTimeSeriesPointUio';
|
|
424
427
|
export * from './OrganisationPlatformEngineUsageUio';
|
|
425
428
|
export * from './OrganizationEngineUio';
|
|
429
|
+
export * from './OrganizationExecutionNodeAgentUio';
|
|
430
|
+
export * from './OrganizationExecutionNodeUio';
|
|
431
|
+
export * from './OrganizationExecutionNodeUserUio';
|
|
426
432
|
export * from './OrganizationMemberUio';
|
|
427
433
|
export * from './OrganizationMemberUserUio';
|
|
428
434
|
export * from './OrganizationModelConsumptionTotalUio';
|
package/dist/models/index.js
CHANGED
|
@@ -274,7 +274,9 @@ __exportStar(require("./EphemeralInstancesMetricsResponseUio"), exports);
|
|
|
274
274
|
__exportStar(require("./EphemeralInstancesTimeSeriesPointUio"), exports);
|
|
275
275
|
__exportStar(require("./ExecutionNodeAgentUio"), exports);
|
|
276
276
|
__exportStar(require("./ExecutionNodeDetailUio"), exports);
|
|
277
|
+
__exportStar(require("./ExecutionNodeOrganizationUio"), exports);
|
|
277
278
|
__exportStar(require("./ExecutionNodeRuntimeUio"), exports);
|
|
279
|
+
__exportStar(require("./ExecutionNodeSettingsUio"), exports);
|
|
278
280
|
__exportStar(require("./ExecutionNodeUio"), exports);
|
|
279
281
|
__exportStar(require("./ExecutionNodeWorkspaceUio"), exports);
|
|
280
282
|
__exportStar(require("./FileAttachmentCreateRequestUio"), exports);
|
|
@@ -424,6 +426,7 @@ __exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
|
424
426
|
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
425
427
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
426
428
|
__exportStar(require("./ModelUio"), exports);
|
|
429
|
+
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
427
430
|
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
428
431
|
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
429
432
|
__exportStar(require("./NodeSessionLogsUio"), exports);
|
|
@@ -441,6 +444,9 @@ __exportStar(require("./OrgUsageMetricsResponseUio"), exports);
|
|
|
441
444
|
__exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
442
445
|
__exportStar(require("./OrganisationPlatformEngineUsageUio"), exports);
|
|
443
446
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
447
|
+
__exportStar(require("./OrganizationExecutionNodeAgentUio"), exports);
|
|
448
|
+
__exportStar(require("./OrganizationExecutionNodeUio"), exports);
|
|
449
|
+
__exportStar(require("./OrganizationExecutionNodeUserUio"), exports);
|
|
444
450
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
445
451
|
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
446
452
|
__exportStar(require("./OrganizationModelConsumptionTotalUio"), exports);
|