@breign/client 1.0.193 → 1.0.195
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 +2 -2
- package/dist/apis/ExecutionNodesApi.js +2 -2
- package/dist/apis/NodeGroupsApi.d.ts +126 -0
- package/dist/apis/NodeGroupsApi.js +304 -0
- package/dist/apis/OrganizationsApi.d.ts +14 -2
- package/dist/apis/OrganizationsApi.js +32 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +46 -0
- package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +62 -0
- package/dist/models/AgentExecutionGroupChoiceUio.d.ts +70 -0
- package/dist/models/AgentExecutionGroupChoiceUio.js +76 -0
- package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.d.ts +44 -0
- package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.js +58 -0
- package/dist/models/AgentExecutionGroupUio.d.ts +38 -0
- package/dist/models/AgentExecutionGroupUio.js +54 -0
- package/dist/models/AgentExecutionUio.d.ts +27 -0
- package/dist/models/AgentExecutionUio.js +14 -1
- package/dist/models/CreateNodeGroupRequestUio.d.ts +56 -0
- package/dist/models/CreateNodeGroupRequestUio.js +58 -0
- package/dist/models/MemberAccessRolesUio.d.ts +38 -0
- package/dist/models/MemberAccessRolesUio.js +54 -0
- package/dist/models/NodeGroupAgentUio.d.ts +58 -0
- package/dist/models/NodeGroupAgentUio.js +70 -0
- package/dist/models/NodeGroupCandidateUio.d.ts +115 -0
- package/dist/models/NodeGroupCandidateUio.js +109 -0
- package/dist/models/NodeGroupDelaysUio.d.ts +44 -0
- package/dist/models/NodeGroupDelaysUio.js +52 -0
- package/dist/models/NodeGroupDetailUio.d.ts +100 -0
- package/dist/models/NodeGroupDetailUio.js +96 -0
- package/dist/models/NodeGroupMemberNodeUio.d.ts +115 -0
- package/dist/models/NodeGroupMemberNodeUio.js +109 -0
- package/dist/models/NodeGroupNodeUio.d.ts +103 -0
- package/dist/models/NodeGroupNodeUio.js +101 -0
- package/dist/models/NodeGroupSummaryUio.d.ts +116 -0
- package/dist/models/NodeGroupSummaryUio.js +106 -0
- package/dist/models/NodeGroupUio.d.ts +86 -0
- package/dist/models/NodeGroupUio.js +86 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +20 -1
- package/dist/models/SetAgentExecutionRequestUio.js +8 -1
- package/dist/models/UpdateNodeGroupRequestUio.d.ts +56 -0
- package/dist/models/UpdateNodeGroupRequestUio.js +56 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +778 -5
- package/package.json +1 -1
|
@@ -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.instanceOfMemberAccessRolesUio = instanceOfMemberAccessRolesUio;
|
|
17
|
+
exports.MemberAccessRolesUioFromJSON = MemberAccessRolesUioFromJSON;
|
|
18
|
+
exports.MemberAccessRolesUioFromJSONTyped = MemberAccessRolesUioFromJSONTyped;
|
|
19
|
+
exports.MemberAccessRolesUioToJSON = MemberAccessRolesUioToJSON;
|
|
20
|
+
exports.MemberAccessRolesUioToJSONTyped = MemberAccessRolesUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MemberAccessRolesUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMemberAccessRolesUio(value) {
|
|
25
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('roleIds' in value) || value['roleIds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function MemberAccessRolesUioFromJSON(json) {
|
|
32
|
+
return MemberAccessRolesUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function MemberAccessRolesUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'userId': json['userId'],
|
|
40
|
+
'roleIds': json['roleIds'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MemberAccessRolesUioToJSON(json) {
|
|
44
|
+
return MemberAccessRolesUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MemberAccessRolesUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'userId': value['userId'],
|
|
52
|
+
'roleIds': value['roleIds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 NodeGroupAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeGroupAgentUio
|
|
22
|
+
*/
|
|
23
|
+
agentId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeGroupAgentUio
|
|
28
|
+
*/
|
|
29
|
+
agentName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NodeGroupAgentUio
|
|
34
|
+
*/
|
|
35
|
+
runtime: NodeGroupAgentUioRuntimeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NodeGroupAgentUio
|
|
40
|
+
*/
|
|
41
|
+
workspaceAlias: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const NodeGroupAgentUioRuntimeEnum: {
|
|
47
|
+
readonly Claude: "claude";
|
|
48
|
+
readonly Opencode: "opencode";
|
|
49
|
+
};
|
|
50
|
+
export type NodeGroupAgentUioRuntimeEnum = typeof NodeGroupAgentUioRuntimeEnum[keyof typeof NodeGroupAgentUioRuntimeEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the NodeGroupAgentUio interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfNodeGroupAgentUio(value: object): value is NodeGroupAgentUio;
|
|
55
|
+
export declare function NodeGroupAgentUioFromJSON(json: any): NodeGroupAgentUio;
|
|
56
|
+
export declare function NodeGroupAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupAgentUio;
|
|
57
|
+
export declare function NodeGroupAgentUioToJSON(json: any): NodeGroupAgentUio;
|
|
58
|
+
export declare function NodeGroupAgentUioToJSONTyped(value?: NodeGroupAgentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.NodeGroupAgentUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGroupAgentUio = instanceOfNodeGroupAgentUio;
|
|
18
|
+
exports.NodeGroupAgentUioFromJSON = NodeGroupAgentUioFromJSON;
|
|
19
|
+
exports.NodeGroupAgentUioFromJSONTyped = NodeGroupAgentUioFromJSONTyped;
|
|
20
|
+
exports.NodeGroupAgentUioToJSON = NodeGroupAgentUioToJSON;
|
|
21
|
+
exports.NodeGroupAgentUioToJSONTyped = NodeGroupAgentUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NodeGroupAgentUioRuntimeEnum = {
|
|
26
|
+
Claude: 'claude',
|
|
27
|
+
Opencode: 'opencode'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the NodeGroupAgentUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfNodeGroupAgentUio(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
|
+
if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function NodeGroupAgentUioFromJSON(json) {
|
|
44
|
+
return NodeGroupAgentUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeGroupAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'agentId': json['agentId'],
|
|
52
|
+
'agentName': json['agentName'],
|
|
53
|
+
'runtime': json['runtime'],
|
|
54
|
+
'workspaceAlias': json['workspaceAlias'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function NodeGroupAgentUioToJSON(json) {
|
|
58
|
+
return NodeGroupAgentUioToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function NodeGroupAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'agentId': value['agentId'],
|
|
66
|
+
'agentName': value['agentName'],
|
|
67
|
+
'runtime': value['runtime'],
|
|
68
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { ExecutionNodeWorkspaceUio } from './ExecutionNodeWorkspaceUio';
|
|
13
|
+
import type { ExecutionNodeRuntimeUio } from './ExecutionNodeRuntimeUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NodeGroupCandidateUio
|
|
18
|
+
*/
|
|
19
|
+
export interface NodeGroupCandidateUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof NodeGroupCandidateUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof NodeGroupCandidateUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof NodeGroupCandidateUio
|
|
36
|
+
*/
|
|
37
|
+
os: NodeGroupCandidateUioOsEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof NodeGroupCandidateUio
|
|
42
|
+
*/
|
|
43
|
+
appVersion: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof NodeGroupCandidateUio
|
|
48
|
+
*/
|
|
49
|
+
connected: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof NodeGroupCandidateUio
|
|
54
|
+
*/
|
|
55
|
+
revoked: boolean;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof NodeGroupCandidateUio
|
|
60
|
+
*/
|
|
61
|
+
lastSeenAt: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Exécutions que le nœud mène en même temps
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof NodeGroupCandidateUio
|
|
66
|
+
*/
|
|
67
|
+
slots: number;
|
|
68
|
+
/**
|
|
69
|
+
* Version du contrat parlée par le nœud ; un nœud v1 n'entre dans aucun groupe.
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof NodeGroupCandidateUio
|
|
72
|
+
*/
|
|
73
|
+
contractVersion: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Array<ExecutionNodeRuntimeUio>}
|
|
77
|
+
* @memberof NodeGroupCandidateUio
|
|
78
|
+
*/
|
|
79
|
+
runtimes: Array<ExecutionNodeRuntimeUio>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<ExecutionNodeWorkspaceUio>}
|
|
83
|
+
* @memberof NodeGroupCandidateUio
|
|
84
|
+
*/
|
|
85
|
+
workspaces: Array<ExecutionNodeWorkspaceUio>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof NodeGroupCandidateUio
|
|
90
|
+
*/
|
|
91
|
+
eligible: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Pourquoi le nœud ne peut pas entrer dans un groupe (mise à jour à faire…)
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof NodeGroupCandidateUio
|
|
96
|
+
*/
|
|
97
|
+
ineligibleReason: string | null;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export declare const NodeGroupCandidateUioOsEnum: {
|
|
103
|
+
readonly Macos: "macos";
|
|
104
|
+
readonly Windows: "windows";
|
|
105
|
+
readonly Linux: "linux";
|
|
106
|
+
};
|
|
107
|
+
export type NodeGroupCandidateUioOsEnum = typeof NodeGroupCandidateUioOsEnum[keyof typeof NodeGroupCandidateUioOsEnum];
|
|
108
|
+
/**
|
|
109
|
+
* Check if a given object implements the NodeGroupCandidateUio interface.
|
|
110
|
+
*/
|
|
111
|
+
export declare function instanceOfNodeGroupCandidateUio(value: object): value is NodeGroupCandidateUio;
|
|
112
|
+
export declare function NodeGroupCandidateUioFromJSON(json: any): NodeGroupCandidateUio;
|
|
113
|
+
export declare function NodeGroupCandidateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupCandidateUio;
|
|
114
|
+
export declare function NodeGroupCandidateUioToJSON(json: any): NodeGroupCandidateUio;
|
|
115
|
+
export declare function NodeGroupCandidateUioToJSONTyped(value?: NodeGroupCandidateUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,109 @@
|
|
|
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.NodeGroupCandidateUioOsEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGroupCandidateUio = instanceOfNodeGroupCandidateUio;
|
|
18
|
+
exports.NodeGroupCandidateUioFromJSON = NodeGroupCandidateUioFromJSON;
|
|
19
|
+
exports.NodeGroupCandidateUioFromJSONTyped = NodeGroupCandidateUioFromJSONTyped;
|
|
20
|
+
exports.NodeGroupCandidateUioToJSON = NodeGroupCandidateUioToJSON;
|
|
21
|
+
exports.NodeGroupCandidateUioToJSONTyped = NodeGroupCandidateUioToJSONTyped;
|
|
22
|
+
const ExecutionNodeWorkspaceUio_1 = require("./ExecutionNodeWorkspaceUio");
|
|
23
|
+
const ExecutionNodeRuntimeUio_1 = require("./ExecutionNodeRuntimeUio");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.NodeGroupCandidateUioOsEnum = {
|
|
28
|
+
Macos: 'macos',
|
|
29
|
+
Windows: 'windows',
|
|
30
|
+
Linux: 'linux'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NodeGroupCandidateUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfNodeGroupCandidateUio(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 (!('revoked' in value) || value['revoked'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('slots' in value) || value['slots'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('contractVersion' in value) || value['contractVersion'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('runtimes' in value) || value['runtimes'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('workspaces' in value) || value['workspaces'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('eligible' in value) || value['eligible'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('ineligibleReason' in value) || value['ineligibleReason'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
function NodeGroupCandidateUioFromJSON(json) {
|
|
65
|
+
return NodeGroupCandidateUioFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function NodeGroupCandidateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': json['id'],
|
|
73
|
+
'name': json['name'],
|
|
74
|
+
'os': json['os'],
|
|
75
|
+
'appVersion': json['appVersion'],
|
|
76
|
+
'connected': json['connected'],
|
|
77
|
+
'revoked': json['revoked'],
|
|
78
|
+
'lastSeenAt': json['lastSeenAt'],
|
|
79
|
+
'slots': json['slots'],
|
|
80
|
+
'contractVersion': json['contractVersion'],
|
|
81
|
+
'runtimes': (json['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioFromJSON)),
|
|
82
|
+
'workspaces': (json['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioFromJSON)),
|
|
83
|
+
'eligible': json['eligible'],
|
|
84
|
+
'ineligibleReason': json['ineligibleReason'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function NodeGroupCandidateUioToJSON(json) {
|
|
88
|
+
return NodeGroupCandidateUioToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function NodeGroupCandidateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'name': value['name'],
|
|
97
|
+
'os': value['os'],
|
|
98
|
+
'appVersion': value['appVersion'],
|
|
99
|
+
'connected': value['connected'],
|
|
100
|
+
'revoked': value['revoked'],
|
|
101
|
+
'lastSeenAt': value['lastSeenAt'],
|
|
102
|
+
'slots': value['slots'],
|
|
103
|
+
'contractVersion': value['contractVersion'],
|
|
104
|
+
'runtimes': (value['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioToJSON)),
|
|
105
|
+
'workspaces': (value['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioToJSON)),
|
|
106
|
+
'eligible': value['eligible'],
|
|
107
|
+
'ineligibleReason': value['ineligibleReason'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -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 NodeGroupDelaysUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupDelaysUio {
|
|
18
|
+
/**
|
|
19
|
+
* Attente du nœud qui garde l'environnement d'une conversation, en millisecondes, avant d'en prendre un autre ; `null` : sans limite ; 0 : aucune attente.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeGroupDelaysUio
|
|
22
|
+
*/
|
|
23
|
+
envWaitMs?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Libération d'un environnement après ce temps sans activité ; `null` : jamais.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeGroupDelaysUio
|
|
28
|
+
*/
|
|
29
|
+
envIdleTtlMs?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Une exécution qu'aucun nœud ne prend dans ce délai échoue.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeGroupDelaysUio
|
|
34
|
+
*/
|
|
35
|
+
queueExpiryMs?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeGroupDelaysUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeGroupDelaysUio(value: object): value is NodeGroupDelaysUio;
|
|
41
|
+
export declare function NodeGroupDelaysUioFromJSON(json: any): NodeGroupDelaysUio;
|
|
42
|
+
export declare function NodeGroupDelaysUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupDelaysUio;
|
|
43
|
+
export declare function NodeGroupDelaysUioToJSON(json: any): NodeGroupDelaysUio;
|
|
44
|
+
export declare function NodeGroupDelaysUioToJSONTyped(value?: NodeGroupDelaysUio | 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.instanceOfNodeGroupDelaysUio = instanceOfNodeGroupDelaysUio;
|
|
17
|
+
exports.NodeGroupDelaysUioFromJSON = NodeGroupDelaysUioFromJSON;
|
|
18
|
+
exports.NodeGroupDelaysUioFromJSONTyped = NodeGroupDelaysUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupDelaysUioToJSON = NodeGroupDelaysUioToJSON;
|
|
20
|
+
exports.NodeGroupDelaysUioToJSONTyped = NodeGroupDelaysUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupDelaysUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupDelaysUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function NodeGroupDelaysUioFromJSON(json) {
|
|
28
|
+
return NodeGroupDelaysUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function NodeGroupDelaysUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'envWaitMs': json['envWaitMs'] == null ? undefined : json['envWaitMs'],
|
|
36
|
+
'envIdleTtlMs': json['envIdleTtlMs'] == null ? undefined : json['envIdleTtlMs'],
|
|
37
|
+
'queueExpiryMs': json['queueExpiryMs'] == null ? undefined : json['queueExpiryMs'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function NodeGroupDelaysUioToJSON(json) {
|
|
41
|
+
return NodeGroupDelaysUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function NodeGroupDelaysUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'envWaitMs': value['envWaitMs'],
|
|
49
|
+
'envIdleTtlMs': value['envIdleTtlMs'],
|
|
50
|
+
'queueExpiryMs': value['queueExpiryMs'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { NodeGroupAgentUio } from './NodeGroupAgentUio';
|
|
13
|
+
import type { NodeGroupMemberNodeUio } from './NodeGroupMemberNodeUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NodeGroupDetailUio
|
|
18
|
+
*/
|
|
19
|
+
export interface NodeGroupDetailUio {
|
|
20
|
+
/**
|
|
21
|
+
* Attente du nœud qui garde l'environnement d'une conversation, en millisecondes, avant d'en prendre un autre ; `null` : sans limite ; 0 : aucune attente.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof NodeGroupDetailUio
|
|
24
|
+
*/
|
|
25
|
+
envWaitMs: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Libération d'un environnement après ce temps sans activité ; `null` : jamais.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof NodeGroupDetailUio
|
|
30
|
+
*/
|
|
31
|
+
envIdleTtlMs: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* Une exécution qu'aucun nœud ne prend dans ce délai échoue.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof NodeGroupDetailUio
|
|
36
|
+
*/
|
|
37
|
+
queueExpiryMs: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof NodeGroupDetailUio
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof NodeGroupDetailUio
|
|
48
|
+
*/
|
|
49
|
+
organizationId: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof NodeGroupDetailUio
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof NodeGroupDetailUio
|
|
60
|
+
*/
|
|
61
|
+
description: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof NodeGroupDetailUio
|
|
66
|
+
*/
|
|
67
|
+
createdByUserId: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof NodeGroupDetailUio
|
|
72
|
+
*/
|
|
73
|
+
createdAt: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof NodeGroupDetailUio
|
|
78
|
+
*/
|
|
79
|
+
updatedAt: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<NodeGroupMemberNodeUio>}
|
|
83
|
+
* @memberof NodeGroupDetailUio
|
|
84
|
+
*/
|
|
85
|
+
nodes: Array<NodeGroupMemberNodeUio>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Array<NodeGroupAgentUio>}
|
|
89
|
+
* @memberof NodeGroupDetailUio
|
|
90
|
+
*/
|
|
91
|
+
agents: Array<NodeGroupAgentUio>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the NodeGroupDetailUio interface.
|
|
95
|
+
*/
|
|
96
|
+
export declare function instanceOfNodeGroupDetailUio(value: object): value is NodeGroupDetailUio;
|
|
97
|
+
export declare function NodeGroupDetailUioFromJSON(json: any): NodeGroupDetailUio;
|
|
98
|
+
export declare function NodeGroupDetailUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupDetailUio;
|
|
99
|
+
export declare function NodeGroupDetailUioToJSON(json: any): NodeGroupDetailUio;
|
|
100
|
+
export declare function NodeGroupDetailUioToJSONTyped(value?: NodeGroupDetailUio | null, ignoreDiscriminator?: boolean): any;
|