@breign/client 1.0.195 → 1.0.196
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 +29 -1
- package/dist/apis/ExecutionNodesApi.js +64 -0
- package/dist/apis/NodeGroupsApi.d.ts +228 -1
- package/dist/apis/NodeGroupsApi.js +394 -1
- package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
- package/dist/models/NodeGroupBulkIdsUio.js +50 -0
- package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
- package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
- package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
- package/dist/models/NodeGroupBulkResultUio.js +51 -0
- package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
- package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
- package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
- package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
- package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
- package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
- package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
- package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
- package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
- package/dist/models/NodeGroupEnvironmentUio.js +130 -0
- package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
- package/dist/models/NodeGroupExecutionPageUio.js +59 -0
- package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
- package/dist/models/NodeGroupExecutionUio.js +155 -0
- package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
- package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
- package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
- package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
- package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
- package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
- package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
- package/dist/models/NodeGroupNodePageUio.js +55 -0
- package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
- package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
- package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
- package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
- package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
- package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
- package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
- package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
- package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
- package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
- package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
- package/dist/models/NodeQueueTurnGroupUio.js +54 -0
- package/dist/models/NodeQueueTurnUio.d.ts +114 -0
- package/dist/models/NodeQueueTurnUio.js +106 -0
- package/dist/models/NodeRefUio.d.ts +44 -0
- package/dist/models/NodeRefUio.js +58 -0
- package/dist/models/NodeSessionDetailUio.d.ts +1 -1
- package/dist/models/NodeSessionStateUio.d.ts +2 -1
- package/dist/models/NodeSessionStateUio.js +2 -1
- package/dist/models/NodeSessionUio.d.ts +1 -1
- package/dist/models/WaitingForUio.d.ts +26 -0
- package/dist/models/WaitingForUio.js +52 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/openapi.json +2857 -1580
- package/package.json +1 -1
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NodeGroupNodeOverviewRunningInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupNodeOverviewRunningInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
22
|
+
*/
|
|
23
|
+
sessionId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
28
|
+
*/
|
|
29
|
+
agentId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
34
|
+
*/
|
|
35
|
+
agentName: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
40
|
+
*/
|
|
41
|
+
originType: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
46
|
+
*/
|
|
47
|
+
originTitle: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NodeGroupNodeOverviewRunningInnerUio
|
|
52
|
+
*/
|
|
53
|
+
claimedAt: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the NodeGroupNodeOverviewRunningInnerUio interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfNodeGroupNodeOverviewRunningInnerUio(value: object): value is NodeGroupNodeOverviewRunningInnerUio;
|
|
59
|
+
export declare function NodeGroupNodeOverviewRunningInnerUioFromJSON(json: any): NodeGroupNodeOverviewRunningInnerUio;
|
|
60
|
+
export declare function NodeGroupNodeOverviewRunningInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupNodeOverviewRunningInnerUio;
|
|
61
|
+
export declare function NodeGroupNodeOverviewRunningInnerUioToJSON(json: any): NodeGroupNodeOverviewRunningInnerUio;
|
|
62
|
+
export declare function NodeGroupNodeOverviewRunningInnerUioToJSONTyped(value?: NodeGroupNodeOverviewRunningInnerUio | 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.instanceOfNodeGroupNodeOverviewRunningInnerUio = instanceOfNodeGroupNodeOverviewRunningInnerUio;
|
|
17
|
+
exports.NodeGroupNodeOverviewRunningInnerUioFromJSON = NodeGroupNodeOverviewRunningInnerUioFromJSON;
|
|
18
|
+
exports.NodeGroupNodeOverviewRunningInnerUioFromJSONTyped = NodeGroupNodeOverviewRunningInnerUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupNodeOverviewRunningInnerUioToJSON = NodeGroupNodeOverviewRunningInnerUioToJSON;
|
|
20
|
+
exports.NodeGroupNodeOverviewRunningInnerUioToJSONTyped = NodeGroupNodeOverviewRunningInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupNodeOverviewRunningInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupNodeOverviewRunningInnerUio(value) {
|
|
25
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('originType' in value) || value['originType'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('originTitle' in value) || value['originTitle'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('claimedAt' in value) || value['claimedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function NodeGroupNodeOverviewRunningInnerUioFromJSON(json) {
|
|
40
|
+
return NodeGroupNodeOverviewRunningInnerUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function NodeGroupNodeOverviewRunningInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'sessionId': json['sessionId'],
|
|
48
|
+
'agentId': json['agentId'],
|
|
49
|
+
'agentName': json['agentName'],
|
|
50
|
+
'originType': json['originType'],
|
|
51
|
+
'originTitle': json['originTitle'],
|
|
52
|
+
'claimedAt': json['claimedAt'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function NodeGroupNodeOverviewRunningInnerUioToJSON(json) {
|
|
56
|
+
return NodeGroupNodeOverviewRunningInnerUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function NodeGroupNodeOverviewRunningInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'sessionId': value['sessionId'],
|
|
64
|
+
'agentId': value['agentId'],
|
|
65
|
+
'agentName': value['agentName'],
|
|
66
|
+
'originType': value['originType'],
|
|
67
|
+
'originTitle': value['originTitle'],
|
|
68
|
+
'claimedAt': value['claimedAt'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
+
import type { NodeGroupNodeOverviewRunningInnerUio } from './NodeGroupNodeOverviewRunningInnerUio';
|
|
15
|
+
import type { NodeGroupNodeOverviewOtherGroupsInnerUio } from './NodeGroupNodeOverviewOtherGroupsInnerUio';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NodeGroupNodeOverviewUio
|
|
20
|
+
*/
|
|
21
|
+
export interface NodeGroupNodeOverviewUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
38
|
+
*/
|
|
39
|
+
os: NodeGroupNodeOverviewUioOsEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
44
|
+
*/
|
|
45
|
+
appVersion: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
50
|
+
*/
|
|
51
|
+
ownerUserId: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
56
|
+
*/
|
|
57
|
+
connected: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
62
|
+
*/
|
|
63
|
+
lastSeenAt: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
68
|
+
*/
|
|
69
|
+
slots: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
74
|
+
*/
|
|
75
|
+
usedSlots: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<ExecutionNodeRuntimeUio>}
|
|
79
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
80
|
+
*/
|
|
81
|
+
runtimes: Array<ExecutionNodeRuntimeUio>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<ExecutionNodeWorkspaceUio>}
|
|
85
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
86
|
+
*/
|
|
87
|
+
workspaces: Array<ExecutionNodeWorkspaceUio>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<NodeGroupNodeOverviewRunningInnerUio>}
|
|
91
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
92
|
+
*/
|
|
93
|
+
running: Array<NodeGroupNodeOverviewRunningInnerUio>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
98
|
+
*/
|
|
99
|
+
environmentCount: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
104
|
+
*/
|
|
105
|
+
idleEnvironmentCount: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
110
|
+
*/
|
|
111
|
+
releasePendingCount: number;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {Array<NodeGroupNodeOverviewOtherGroupsInnerUio>}
|
|
115
|
+
* @memberof NodeGroupNodeOverviewUio
|
|
116
|
+
*/
|
|
117
|
+
otherGroups: Array<NodeGroupNodeOverviewOtherGroupsInnerUio>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @export
|
|
121
|
+
*/
|
|
122
|
+
export declare const NodeGroupNodeOverviewUioOsEnum: {
|
|
123
|
+
readonly Macos: "macos";
|
|
124
|
+
readonly Windows: "windows";
|
|
125
|
+
readonly Linux: "linux";
|
|
126
|
+
};
|
|
127
|
+
export type NodeGroupNodeOverviewUioOsEnum = typeof NodeGroupNodeOverviewUioOsEnum[keyof typeof NodeGroupNodeOverviewUioOsEnum];
|
|
128
|
+
/**
|
|
129
|
+
* Check if a given object implements the NodeGroupNodeOverviewUio interface.
|
|
130
|
+
*/
|
|
131
|
+
export declare function instanceOfNodeGroupNodeOverviewUio(value: object): value is NodeGroupNodeOverviewUio;
|
|
132
|
+
export declare function NodeGroupNodeOverviewUioFromJSON(json: any): NodeGroupNodeOverviewUio;
|
|
133
|
+
export declare function NodeGroupNodeOverviewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupNodeOverviewUio;
|
|
134
|
+
export declare function NodeGroupNodeOverviewUioToJSON(json: any): NodeGroupNodeOverviewUio;
|
|
135
|
+
export declare function NodeGroupNodeOverviewUioToJSONTyped(value?: NodeGroupNodeOverviewUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,123 @@
|
|
|
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.NodeGroupNodeOverviewUioOsEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGroupNodeOverviewUio = instanceOfNodeGroupNodeOverviewUio;
|
|
18
|
+
exports.NodeGroupNodeOverviewUioFromJSON = NodeGroupNodeOverviewUioFromJSON;
|
|
19
|
+
exports.NodeGroupNodeOverviewUioFromJSONTyped = NodeGroupNodeOverviewUioFromJSONTyped;
|
|
20
|
+
exports.NodeGroupNodeOverviewUioToJSON = NodeGroupNodeOverviewUioToJSON;
|
|
21
|
+
exports.NodeGroupNodeOverviewUioToJSONTyped = NodeGroupNodeOverviewUioToJSONTyped;
|
|
22
|
+
const ExecutionNodeWorkspaceUio_1 = require("./ExecutionNodeWorkspaceUio");
|
|
23
|
+
const ExecutionNodeRuntimeUio_1 = require("./ExecutionNodeRuntimeUio");
|
|
24
|
+
const NodeGroupNodeOverviewRunningInnerUio_1 = require("./NodeGroupNodeOverviewRunningInnerUio");
|
|
25
|
+
const NodeGroupNodeOverviewOtherGroupsInnerUio_1 = require("./NodeGroupNodeOverviewOtherGroupsInnerUio");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.NodeGroupNodeOverviewUioOsEnum = {
|
|
30
|
+
Macos: 'macos',
|
|
31
|
+
Windows: 'windows',
|
|
32
|
+
Linux: 'linux'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the NodeGroupNodeOverviewUio interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfNodeGroupNodeOverviewUio(value) {
|
|
38
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('os' in value) || value['os'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('appVersion' in value) || value['appVersion'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('ownerUserId' in value) || value['ownerUserId'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('connected' in value) || value['connected'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('slots' in value) || value['slots'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('usedSlots' in value) || value['usedSlots'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('runtimes' in value) || value['runtimes'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('workspaces' in value) || value['workspaces'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('running' in value) || value['running'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('environmentCount' in value) || value['environmentCount'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('idleEnvironmentCount' in value) || value['idleEnvironmentCount'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('releasePendingCount' in value) || value['releasePendingCount'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('otherGroups' in value) || value['otherGroups'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
function NodeGroupNodeOverviewUioFromJSON(json) {
|
|
73
|
+
return NodeGroupNodeOverviewUioFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
function NodeGroupNodeOverviewUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
'id': json['id'],
|
|
81
|
+
'name': json['name'],
|
|
82
|
+
'os': json['os'],
|
|
83
|
+
'appVersion': json['appVersion'],
|
|
84
|
+
'ownerUserId': json['ownerUserId'],
|
|
85
|
+
'connected': json['connected'],
|
|
86
|
+
'lastSeenAt': json['lastSeenAt'],
|
|
87
|
+
'slots': json['slots'],
|
|
88
|
+
'usedSlots': json['usedSlots'],
|
|
89
|
+
'runtimes': (json['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioFromJSON)),
|
|
90
|
+
'workspaces': (json['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioFromJSON)),
|
|
91
|
+
'running': (json['running'].map(NodeGroupNodeOverviewRunningInnerUio_1.NodeGroupNodeOverviewRunningInnerUioFromJSON)),
|
|
92
|
+
'environmentCount': json['environmentCount'],
|
|
93
|
+
'idleEnvironmentCount': json['idleEnvironmentCount'],
|
|
94
|
+
'releasePendingCount': json['releasePendingCount'],
|
|
95
|
+
'otherGroups': (json['otherGroups'].map(NodeGroupNodeOverviewOtherGroupsInnerUio_1.NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function NodeGroupNodeOverviewUioToJSON(json) {
|
|
99
|
+
return NodeGroupNodeOverviewUioToJSONTyped(json, false);
|
|
100
|
+
}
|
|
101
|
+
function NodeGroupNodeOverviewUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
102
|
+
if (value == null) {
|
|
103
|
+
return value;
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
'id': value['id'],
|
|
107
|
+
'name': value['name'],
|
|
108
|
+
'os': value['os'],
|
|
109
|
+
'appVersion': value['appVersion'],
|
|
110
|
+
'ownerUserId': value['ownerUserId'],
|
|
111
|
+
'connected': value['connected'],
|
|
112
|
+
'lastSeenAt': value['lastSeenAt'],
|
|
113
|
+
'slots': value['slots'],
|
|
114
|
+
'usedSlots': value['usedSlots'],
|
|
115
|
+
'runtimes': (value['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioToJSON)),
|
|
116
|
+
'workspaces': (value['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioToJSON)),
|
|
117
|
+
'running': (value['running'].map(NodeGroupNodeOverviewRunningInnerUio_1.NodeGroupNodeOverviewRunningInnerUioToJSON)),
|
|
118
|
+
'environmentCount': value['environmentCount'],
|
|
119
|
+
'idleEnvironmentCount': value['idleEnvironmentCount'],
|
|
120
|
+
'releasePendingCount': value['releasePendingCount'],
|
|
121
|
+
'otherGroups': (value['otherGroups'].map(NodeGroupNodeOverviewOtherGroupsInnerUio_1.NodeGroupNodeOverviewOtherGroupsInnerUioToJSON)),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { NodeGroupNodeOverviewUio } from './NodeGroupNodeOverviewUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NodeGroupNodePageUio
|
|
17
|
+
*/
|
|
18
|
+
export interface NodeGroupNodePageUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<NodeGroupNodeOverviewUio>}
|
|
22
|
+
* @memberof NodeGroupNodePageUio
|
|
23
|
+
*/
|
|
24
|
+
items: Array<NodeGroupNodeOverviewUio>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NodeGroupNodePageUio
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NodeGroupNodePageUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfNodeGroupNodePageUio(value: object): value is NodeGroupNodePageUio;
|
|
36
|
+
export declare function NodeGroupNodePageUioFromJSON(json: any): NodeGroupNodePageUio;
|
|
37
|
+
export declare function NodeGroupNodePageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupNodePageUio;
|
|
38
|
+
export declare function NodeGroupNodePageUioToJSON(json: any): NodeGroupNodePageUio;
|
|
39
|
+
export declare function NodeGroupNodePageUioToJSONTyped(value?: NodeGroupNodePageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfNodeGroupNodePageUio = instanceOfNodeGroupNodePageUio;
|
|
17
|
+
exports.NodeGroupNodePageUioFromJSON = NodeGroupNodePageUioFromJSON;
|
|
18
|
+
exports.NodeGroupNodePageUioFromJSONTyped = NodeGroupNodePageUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupNodePageUioToJSON = NodeGroupNodePageUioToJSON;
|
|
20
|
+
exports.NodeGroupNodePageUioToJSONTyped = NodeGroupNodePageUioToJSONTyped;
|
|
21
|
+
const NodeGroupNodeOverviewUio_1 = require("./NodeGroupNodeOverviewUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the NodeGroupNodePageUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfNodeGroupNodePageUio(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function NodeGroupNodePageUioFromJSON(json) {
|
|
33
|
+
return NodeGroupNodePageUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function NodeGroupNodePageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(NodeGroupNodeOverviewUio_1.NodeGroupNodeOverviewUioFromJSON)),
|
|
41
|
+
'total': json['total'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function NodeGroupNodePageUioToJSON(json) {
|
|
45
|
+
return NodeGroupNodePageUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function NodeGroupNodePageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'items': (value['items'].map(NodeGroupNodeOverviewUio_1.NodeGroupNodeOverviewUioToJSON)),
|
|
53
|
+
'total': value['total'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 NodeGroupQueueSummaryEnvironmentsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupQueueSummaryEnvironmentsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeGroupQueueSummaryEnvironmentsUio
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeGroupQueueSummaryEnvironmentsUio
|
|
28
|
+
*/
|
|
29
|
+
idleOver12h: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeGroupQueueSummaryEnvironmentsUio
|
|
34
|
+
*/
|
|
35
|
+
releasePending: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeGroupQueueSummaryEnvironmentsUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeGroupQueueSummaryEnvironmentsUio(value: object): value is NodeGroupQueueSummaryEnvironmentsUio;
|
|
41
|
+
export declare function NodeGroupQueueSummaryEnvironmentsUioFromJSON(json: any): NodeGroupQueueSummaryEnvironmentsUio;
|
|
42
|
+
export declare function NodeGroupQueueSummaryEnvironmentsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryEnvironmentsUio;
|
|
43
|
+
export declare function NodeGroupQueueSummaryEnvironmentsUioToJSON(json: any): NodeGroupQueueSummaryEnvironmentsUio;
|
|
44
|
+
export declare function NodeGroupQueueSummaryEnvironmentsUioToJSONTyped(value?: NodeGroupQueueSummaryEnvironmentsUio | 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.instanceOfNodeGroupQueueSummaryEnvironmentsUio = instanceOfNodeGroupQueueSummaryEnvironmentsUio;
|
|
17
|
+
exports.NodeGroupQueueSummaryEnvironmentsUioFromJSON = NodeGroupQueueSummaryEnvironmentsUioFromJSON;
|
|
18
|
+
exports.NodeGroupQueueSummaryEnvironmentsUioFromJSONTyped = NodeGroupQueueSummaryEnvironmentsUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupQueueSummaryEnvironmentsUioToJSON = NodeGroupQueueSummaryEnvironmentsUioToJSON;
|
|
20
|
+
exports.NodeGroupQueueSummaryEnvironmentsUioToJSONTyped = NodeGroupQueueSummaryEnvironmentsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupQueueSummaryEnvironmentsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupQueueSummaryEnvironmentsUio(value) {
|
|
25
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('idleOver12h' in value) || value['idleOver12h'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('releasePending' in value) || value['releasePending'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function NodeGroupQueueSummaryEnvironmentsUioFromJSON(json) {
|
|
34
|
+
return NodeGroupQueueSummaryEnvironmentsUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function NodeGroupQueueSummaryEnvironmentsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'total': json['total'],
|
|
42
|
+
'idleOver12h': json['idleOver12h'],
|
|
43
|
+
'releasePending': json['releasePending'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function NodeGroupQueueSummaryEnvironmentsUioToJSON(json) {
|
|
47
|
+
return NodeGroupQueueSummaryEnvironmentsUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function NodeGroupQueueSummaryEnvironmentsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'total': value['total'],
|
|
55
|
+
'idleOver12h': value['idleOver12h'],
|
|
56
|
+
'releasePending': value['releasePending'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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 NodeGroupQueueSummaryMedianWaitMsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGroupQueueSummaryMedianWaitMsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeGroupQueueSummaryMedianWaitMsUio
|
|
22
|
+
*/
|
|
23
|
+
lastHour: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeGroupQueueSummaryMedianWaitMsUio
|
|
28
|
+
*/
|
|
29
|
+
lastDay: number | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NodeGroupQueueSummaryMedianWaitMsUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNodeGroupQueueSummaryMedianWaitMsUio(value: object): value is NodeGroupQueueSummaryMedianWaitMsUio;
|
|
35
|
+
export declare function NodeGroupQueueSummaryMedianWaitMsUioFromJSON(json: any): NodeGroupQueueSummaryMedianWaitMsUio;
|
|
36
|
+
export declare function NodeGroupQueueSummaryMedianWaitMsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryMedianWaitMsUio;
|
|
37
|
+
export declare function NodeGroupQueueSummaryMedianWaitMsUioToJSON(json: any): NodeGroupQueueSummaryMedianWaitMsUio;
|
|
38
|
+
export declare function NodeGroupQueueSummaryMedianWaitMsUioToJSONTyped(value?: NodeGroupQueueSummaryMedianWaitMsUio | 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.instanceOfNodeGroupQueueSummaryMedianWaitMsUio = instanceOfNodeGroupQueueSummaryMedianWaitMsUio;
|
|
17
|
+
exports.NodeGroupQueueSummaryMedianWaitMsUioFromJSON = NodeGroupQueueSummaryMedianWaitMsUioFromJSON;
|
|
18
|
+
exports.NodeGroupQueueSummaryMedianWaitMsUioFromJSONTyped = NodeGroupQueueSummaryMedianWaitMsUioFromJSONTyped;
|
|
19
|
+
exports.NodeGroupQueueSummaryMedianWaitMsUioToJSON = NodeGroupQueueSummaryMedianWaitMsUioToJSON;
|
|
20
|
+
exports.NodeGroupQueueSummaryMedianWaitMsUioToJSONTyped = NodeGroupQueueSummaryMedianWaitMsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeGroupQueueSummaryMedianWaitMsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeGroupQueueSummaryMedianWaitMsUio(value) {
|
|
25
|
+
if (!('lastHour' in value) || value['lastHour'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lastDay' in value) || value['lastDay'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function NodeGroupQueueSummaryMedianWaitMsUioFromJSON(json) {
|
|
32
|
+
return NodeGroupQueueSummaryMedianWaitMsUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function NodeGroupQueueSummaryMedianWaitMsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'lastHour': json['lastHour'],
|
|
40
|
+
'lastDay': json['lastDay'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function NodeGroupQueueSummaryMedianWaitMsUioToJSON(json) {
|
|
44
|
+
return NodeGroupQueueSummaryMedianWaitMsUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeGroupQueueSummaryMedianWaitMsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'lastHour': value['lastHour'],
|
|
52
|
+
'lastDay': value['lastDay'],
|
|
53
|
+
};
|
|
54
|
+
}
|