@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.
Files changed (60) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +29 -1
  2. package/dist/apis/ExecutionNodesApi.js +64 -0
  3. package/dist/apis/NodeGroupsApi.d.ts +228 -1
  4. package/dist/apis/NodeGroupsApi.js +394 -1
  5. package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
  6. package/dist/models/NodeGroupBulkIdsUio.js +50 -0
  7. package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
  8. package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
  9. package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
  10. package/dist/models/NodeGroupBulkResultUio.js +51 -0
  11. package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
  12. package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
  13. package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
  14. package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
  15. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
  16. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
  17. package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
  18. package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
  19. package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
  20. package/dist/models/NodeGroupEnvironmentUio.js +130 -0
  21. package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
  22. package/dist/models/NodeGroupExecutionPageUio.js +59 -0
  23. package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
  24. package/dist/models/NodeGroupExecutionUio.js +155 -0
  25. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
  26. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
  27. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
  28. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
  29. package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
  30. package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
  31. package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
  32. package/dist/models/NodeGroupNodePageUio.js +55 -0
  33. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
  34. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
  35. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
  36. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
  37. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
  38. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
  39. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
  40. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
  41. package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
  42. package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
  43. package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
  44. package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
  45. package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
  46. package/dist/models/NodeQueueTurnGroupUio.js +54 -0
  47. package/dist/models/NodeQueueTurnUio.d.ts +114 -0
  48. package/dist/models/NodeQueueTurnUio.js +106 -0
  49. package/dist/models/NodeRefUio.d.ts +44 -0
  50. package/dist/models/NodeRefUio.js +58 -0
  51. package/dist/models/NodeSessionDetailUio.d.ts +1 -1
  52. package/dist/models/NodeSessionStateUio.d.ts +2 -1
  53. package/dist/models/NodeSessionStateUio.js +2 -1
  54. package/dist/models/NodeSessionUio.d.ts +1 -1
  55. package/dist/models/WaitingForUio.d.ts +26 -0
  56. package/dist/models/WaitingForUio.js +52 -0
  57. package/dist/models/index.d.ts +24 -0
  58. package/dist/models/index.js +24 -0
  59. package/dist/openapi.json +2857 -1580
  60. package/package.json +1 -1
@@ -0,0 +1,56 @@
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 NodeGroupQueueSummaryNodesInnerUio
16
+ */
17
+ export interface NodeGroupQueueSummaryNodesInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeGroupQueueSummaryNodesInnerUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeGroupQueueSummaryNodesInnerUio
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof NodeGroupQueueSummaryNodesInnerUio
34
+ */
35
+ connected: boolean;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof NodeGroupQueueSummaryNodesInnerUio
40
+ */
41
+ slots: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof NodeGroupQueueSummaryNodesInnerUio
46
+ */
47
+ usedSlots: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the NodeGroupQueueSummaryNodesInnerUio interface.
51
+ */
52
+ export declare function instanceOfNodeGroupQueueSummaryNodesInnerUio(value: object): value is NodeGroupQueueSummaryNodesInnerUio;
53
+ export declare function NodeGroupQueueSummaryNodesInnerUioFromJSON(json: any): NodeGroupQueueSummaryNodesInnerUio;
54
+ export declare function NodeGroupQueueSummaryNodesInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryNodesInnerUio;
55
+ export declare function NodeGroupQueueSummaryNodesInnerUioToJSON(json: any): NodeGroupQueueSummaryNodesInnerUio;
56
+ export declare function NodeGroupQueueSummaryNodesInnerUioToJSONTyped(value?: NodeGroupQueueSummaryNodesInnerUio | 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.instanceOfNodeGroupQueueSummaryNodesInnerUio = instanceOfNodeGroupQueueSummaryNodesInnerUio;
17
+ exports.NodeGroupQueueSummaryNodesInnerUioFromJSON = NodeGroupQueueSummaryNodesInnerUioFromJSON;
18
+ exports.NodeGroupQueueSummaryNodesInnerUioFromJSONTyped = NodeGroupQueueSummaryNodesInnerUioFromJSONTyped;
19
+ exports.NodeGroupQueueSummaryNodesInnerUioToJSON = NodeGroupQueueSummaryNodesInnerUioToJSON;
20
+ exports.NodeGroupQueueSummaryNodesInnerUioToJSONTyped = NodeGroupQueueSummaryNodesInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupQueueSummaryNodesInnerUio interface.
23
+ */
24
+ function instanceOfNodeGroupQueueSummaryNodesInnerUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('connected' in value) || value['connected'] === undefined)
30
+ return false;
31
+ if (!('slots' in value) || value['slots'] === undefined)
32
+ return false;
33
+ if (!('usedSlots' in value) || value['usedSlots'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function NodeGroupQueueSummaryNodesInnerUioFromJSON(json) {
38
+ return NodeGroupQueueSummaryNodesInnerUioFromJSONTyped(json, false);
39
+ }
40
+ function NodeGroupQueueSummaryNodesInnerUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'connected': json['connected'],
48
+ 'slots': json['slots'],
49
+ 'usedSlots': json['usedSlots'],
50
+ };
51
+ }
52
+ function NodeGroupQueueSummaryNodesInnerUioToJSON(json) {
53
+ return NodeGroupQueueSummaryNodesInnerUioToJSONTyped(json, false);
54
+ }
55
+ function NodeGroupQueueSummaryNodesInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'name': value['name'],
62
+ 'connected': value['connected'],
63
+ 'slots': value['slots'],
64
+ 'usedSlots': value['usedSlots'],
65
+ };
66
+ }
@@ -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 NodeGroupQueueSummaryPendingByAgentInnerUio
16
+ */
17
+ export interface NodeGroupQueueSummaryPendingByAgentInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeGroupQueueSummaryPendingByAgentInnerUio
22
+ */
23
+ agentId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeGroupQueueSummaryPendingByAgentInnerUio
28
+ */
29
+ agentName: string | null;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof NodeGroupQueueSummaryPendingByAgentInnerUio
34
+ */
35
+ count: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the NodeGroupQueueSummaryPendingByAgentInnerUio interface.
39
+ */
40
+ export declare function instanceOfNodeGroupQueueSummaryPendingByAgentInnerUio(value: object): value is NodeGroupQueueSummaryPendingByAgentInnerUio;
41
+ export declare function NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON(json: any): NodeGroupQueueSummaryPendingByAgentInnerUio;
42
+ export declare function NodeGroupQueueSummaryPendingByAgentInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryPendingByAgentInnerUio;
43
+ export declare function NodeGroupQueueSummaryPendingByAgentInnerUioToJSON(json: any): NodeGroupQueueSummaryPendingByAgentInnerUio;
44
+ export declare function NodeGroupQueueSummaryPendingByAgentInnerUioToJSONTyped(value?: NodeGroupQueueSummaryPendingByAgentInnerUio | 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.instanceOfNodeGroupQueueSummaryPendingByAgentInnerUio = instanceOfNodeGroupQueueSummaryPendingByAgentInnerUio;
17
+ exports.NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON = NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON;
18
+ exports.NodeGroupQueueSummaryPendingByAgentInnerUioFromJSONTyped = NodeGroupQueueSummaryPendingByAgentInnerUioFromJSONTyped;
19
+ exports.NodeGroupQueueSummaryPendingByAgentInnerUioToJSON = NodeGroupQueueSummaryPendingByAgentInnerUioToJSON;
20
+ exports.NodeGroupQueueSummaryPendingByAgentInnerUioToJSONTyped = NodeGroupQueueSummaryPendingByAgentInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupQueueSummaryPendingByAgentInnerUio interface.
23
+ */
24
+ function instanceOfNodeGroupQueueSummaryPendingByAgentInnerUio(value) {
25
+ if (!('agentId' in value) || value['agentId'] === undefined)
26
+ return false;
27
+ if (!('agentName' in value) || value['agentName'] === undefined)
28
+ return false;
29
+ if (!('count' in value) || value['count'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON(json) {
34
+ return NodeGroupQueueSummaryPendingByAgentInnerUioFromJSONTyped(json, false);
35
+ }
36
+ function NodeGroupQueueSummaryPendingByAgentInnerUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'agentId': json['agentId'],
42
+ 'agentName': json['agentName'],
43
+ 'count': json['count'],
44
+ };
45
+ }
46
+ function NodeGroupQueueSummaryPendingByAgentInnerUioToJSON(json) {
47
+ return NodeGroupQueueSummaryPendingByAgentInnerUioToJSONTyped(json, false);
48
+ }
49
+ function NodeGroupQueueSummaryPendingByAgentInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'agentId': value['agentId'],
55
+ 'agentName': value['agentName'],
56
+ 'count': value['count'],
57
+ };
58
+ }
@@ -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 { NodeGroupQueueSummaryMedianWaitMsUio } from './NodeGroupQueueSummaryMedianWaitMsUio';
13
+ import type { NodeGroupQueueSummaryWaitingForUio } from './NodeGroupQueueSummaryWaitingForUio';
14
+ import type { NodeGroupQueueSummaryNodesInnerUio } from './NodeGroupQueueSummaryNodesInnerUio';
15
+ import type { NodeGroupQueueSummaryPendingByAgentInnerUio } from './NodeGroupQueueSummaryPendingByAgentInnerUio';
16
+ import type { NodeGroupQueueSummaryEnvironmentsUio } from './NodeGroupQueueSummaryEnvironmentsUio';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface NodeGroupQueueSummaryUio
21
+ */
22
+ export interface NodeGroupQueueSummaryUio {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof NodeGroupQueueSummaryUio
27
+ */
28
+ pendingCount: number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof NodeGroupQueueSummaryUio
33
+ */
34
+ runningCount: number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof NodeGroupQueueSummaryUio
39
+ */
40
+ oldestQueuedAt: string | null;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof NodeGroupQueueSummaryUio
45
+ */
46
+ nodeCount: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof NodeGroupQueueSummaryUio
51
+ */
52
+ onlineNodeCount: number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof NodeGroupQueueSummaryUio
57
+ */
58
+ slots: number;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof NodeGroupQueueSummaryUio
63
+ */
64
+ onlineSlots: number;
65
+ /**
66
+ *
67
+ * @type {NodeGroupQueueSummaryMedianWaitMsUio}
68
+ * @memberof NodeGroupQueueSummaryUio
69
+ */
70
+ medianWaitMs: NodeGroupQueueSummaryMedianWaitMsUio;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof NodeGroupQueueSummaryUio
75
+ */
76
+ claimedLastDay: number;
77
+ /**
78
+ *
79
+ * @type {NodeGroupQueueSummaryWaitingForUio}
80
+ * @memberof NodeGroupQueueSummaryUio
81
+ */
82
+ waitingFor: NodeGroupQueueSummaryWaitingForUio;
83
+ /**
84
+ * Les agents lisibles par l'appelant, du plus en attente au moins
85
+ * @type {Array<NodeGroupQueueSummaryPendingByAgentInnerUio>}
86
+ * @memberof NodeGroupQueueSummaryUio
87
+ */
88
+ pendingByAgent: Array<NodeGroupQueueSummaryPendingByAgentInnerUio>;
89
+ /**
90
+ * Les tours en attente d'agents que l'appelant ne peut pas lire
91
+ * @type {number}
92
+ * @memberof NodeGroupQueueSummaryUio
93
+ */
94
+ hiddenPendingCount: number;
95
+ /**
96
+ *
97
+ * @type {Array<NodeGroupQueueSummaryNodesInnerUio>}
98
+ * @memberof NodeGroupQueueSummaryUio
99
+ */
100
+ nodes: Array<NodeGroupQueueSummaryNodesInnerUio>;
101
+ /**
102
+ *
103
+ * @type {NodeGroupQueueSummaryEnvironmentsUio}
104
+ * @memberof NodeGroupQueueSummaryUio
105
+ */
106
+ environments: NodeGroupQueueSummaryEnvironmentsUio;
107
+ }
108
+ /**
109
+ * Check if a given object implements the NodeGroupQueueSummaryUio interface.
110
+ */
111
+ export declare function instanceOfNodeGroupQueueSummaryUio(value: object): value is NodeGroupQueueSummaryUio;
112
+ export declare function NodeGroupQueueSummaryUioFromJSON(json: any): NodeGroupQueueSummaryUio;
113
+ export declare function NodeGroupQueueSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryUio;
114
+ export declare function NodeGroupQueueSummaryUioToJSON(json: any): NodeGroupQueueSummaryUio;
115
+ export declare function NodeGroupQueueSummaryUioToJSONTyped(value?: NodeGroupQueueSummaryUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,107 @@
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.instanceOfNodeGroupQueueSummaryUio = instanceOfNodeGroupQueueSummaryUio;
17
+ exports.NodeGroupQueueSummaryUioFromJSON = NodeGroupQueueSummaryUioFromJSON;
18
+ exports.NodeGroupQueueSummaryUioFromJSONTyped = NodeGroupQueueSummaryUioFromJSONTyped;
19
+ exports.NodeGroupQueueSummaryUioToJSON = NodeGroupQueueSummaryUioToJSON;
20
+ exports.NodeGroupQueueSummaryUioToJSONTyped = NodeGroupQueueSummaryUioToJSONTyped;
21
+ const NodeGroupQueueSummaryMedianWaitMsUio_1 = require("./NodeGroupQueueSummaryMedianWaitMsUio");
22
+ const NodeGroupQueueSummaryWaitingForUio_1 = require("./NodeGroupQueueSummaryWaitingForUio");
23
+ const NodeGroupQueueSummaryNodesInnerUio_1 = require("./NodeGroupQueueSummaryNodesInnerUio");
24
+ const NodeGroupQueueSummaryPendingByAgentInnerUio_1 = require("./NodeGroupQueueSummaryPendingByAgentInnerUio");
25
+ const NodeGroupQueueSummaryEnvironmentsUio_1 = require("./NodeGroupQueueSummaryEnvironmentsUio");
26
+ /**
27
+ * Check if a given object implements the NodeGroupQueueSummaryUio interface.
28
+ */
29
+ function instanceOfNodeGroupQueueSummaryUio(value) {
30
+ if (!('pendingCount' in value) || value['pendingCount'] === undefined)
31
+ return false;
32
+ if (!('runningCount' in value) || value['runningCount'] === undefined)
33
+ return false;
34
+ if (!('oldestQueuedAt' in value) || value['oldestQueuedAt'] === undefined)
35
+ return false;
36
+ if (!('nodeCount' in value) || value['nodeCount'] === undefined)
37
+ return false;
38
+ if (!('onlineNodeCount' in value) || value['onlineNodeCount'] === undefined)
39
+ return false;
40
+ if (!('slots' in value) || value['slots'] === undefined)
41
+ return false;
42
+ if (!('onlineSlots' in value) || value['onlineSlots'] === undefined)
43
+ return false;
44
+ if (!('medianWaitMs' in value) || value['medianWaitMs'] === undefined)
45
+ return false;
46
+ if (!('claimedLastDay' in value) || value['claimedLastDay'] === undefined)
47
+ return false;
48
+ if (!('waitingFor' in value) || value['waitingFor'] === undefined)
49
+ return false;
50
+ if (!('pendingByAgent' in value) || value['pendingByAgent'] === undefined)
51
+ return false;
52
+ if (!('hiddenPendingCount' in value) || value['hiddenPendingCount'] === undefined)
53
+ return false;
54
+ if (!('nodes' in value) || value['nodes'] === undefined)
55
+ return false;
56
+ if (!('environments' in value) || value['environments'] === undefined)
57
+ return false;
58
+ return true;
59
+ }
60
+ function NodeGroupQueueSummaryUioFromJSON(json) {
61
+ return NodeGroupQueueSummaryUioFromJSONTyped(json, false);
62
+ }
63
+ function NodeGroupQueueSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+ 'pendingCount': json['pendingCount'],
69
+ 'runningCount': json['runningCount'],
70
+ 'oldestQueuedAt': json['oldestQueuedAt'],
71
+ 'nodeCount': json['nodeCount'],
72
+ 'onlineNodeCount': json['onlineNodeCount'],
73
+ 'slots': json['slots'],
74
+ 'onlineSlots': json['onlineSlots'],
75
+ 'medianWaitMs': (0, NodeGroupQueueSummaryMedianWaitMsUio_1.NodeGroupQueueSummaryMedianWaitMsUioFromJSON)(json['medianWaitMs']),
76
+ 'claimedLastDay': json['claimedLastDay'],
77
+ 'waitingFor': (0, NodeGroupQueueSummaryWaitingForUio_1.NodeGroupQueueSummaryWaitingForUioFromJSON)(json['waitingFor']),
78
+ 'pendingByAgent': (json['pendingByAgent'].map(NodeGroupQueueSummaryPendingByAgentInnerUio_1.NodeGroupQueueSummaryPendingByAgentInnerUioFromJSON)),
79
+ 'hiddenPendingCount': json['hiddenPendingCount'],
80
+ 'nodes': (json['nodes'].map(NodeGroupQueueSummaryNodesInnerUio_1.NodeGroupQueueSummaryNodesInnerUioFromJSON)),
81
+ 'environments': (0, NodeGroupQueueSummaryEnvironmentsUio_1.NodeGroupQueueSummaryEnvironmentsUioFromJSON)(json['environments']),
82
+ };
83
+ }
84
+ function NodeGroupQueueSummaryUioToJSON(json) {
85
+ return NodeGroupQueueSummaryUioToJSONTyped(json, false);
86
+ }
87
+ function NodeGroupQueueSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+ return {
92
+ 'pendingCount': value['pendingCount'],
93
+ 'runningCount': value['runningCount'],
94
+ 'oldestQueuedAt': value['oldestQueuedAt'],
95
+ 'nodeCount': value['nodeCount'],
96
+ 'onlineNodeCount': value['onlineNodeCount'],
97
+ 'slots': value['slots'],
98
+ 'onlineSlots': value['onlineSlots'],
99
+ 'medianWaitMs': (0, NodeGroupQueueSummaryMedianWaitMsUio_1.NodeGroupQueueSummaryMedianWaitMsUioToJSON)(value['medianWaitMs']),
100
+ 'claimedLastDay': value['claimedLastDay'],
101
+ 'waitingFor': (0, NodeGroupQueueSummaryWaitingForUio_1.NodeGroupQueueSummaryWaitingForUioToJSON)(value['waitingFor']),
102
+ 'pendingByAgent': (value['pendingByAgent'].map(NodeGroupQueueSummaryPendingByAgentInnerUio_1.NodeGroupQueueSummaryPendingByAgentInnerUioToJSON)),
103
+ 'hiddenPendingCount': value['hiddenPendingCount'],
104
+ 'nodes': (value['nodes'].map(NodeGroupQueueSummaryNodesInnerUio_1.NodeGroupQueueSummaryNodesInnerUioToJSON)),
105
+ 'environments': (0, NodeGroupQueueSummaryEnvironmentsUio_1.NodeGroupQueueSummaryEnvironmentsUioToJSON)(value['environments']),
106
+ };
107
+ }
@@ -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 NodeGroupQueueSummaryWaitingForUio
16
+ */
17
+ export interface NodeGroupQueueSummaryWaitingForUio {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof NodeGroupQueueSummaryWaitingForUio
22
+ */
23
+ free: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof NodeGroupQueueSummaryWaitingForUio
28
+ */
29
+ envBusy: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof NodeGroupQueueSummaryWaitingForUio
34
+ */
35
+ envOffline: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the NodeGroupQueueSummaryWaitingForUio interface.
39
+ */
40
+ export declare function instanceOfNodeGroupQueueSummaryWaitingForUio(value: object): value is NodeGroupQueueSummaryWaitingForUio;
41
+ export declare function NodeGroupQueueSummaryWaitingForUioFromJSON(json: any): NodeGroupQueueSummaryWaitingForUio;
42
+ export declare function NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupQueueSummaryWaitingForUio;
43
+ export declare function NodeGroupQueueSummaryWaitingForUioToJSON(json: any): NodeGroupQueueSummaryWaitingForUio;
44
+ export declare function NodeGroupQueueSummaryWaitingForUioToJSONTyped(value?: NodeGroupQueueSummaryWaitingForUio | 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.instanceOfNodeGroupQueueSummaryWaitingForUio = instanceOfNodeGroupQueueSummaryWaitingForUio;
17
+ exports.NodeGroupQueueSummaryWaitingForUioFromJSON = NodeGroupQueueSummaryWaitingForUioFromJSON;
18
+ exports.NodeGroupQueueSummaryWaitingForUioFromJSONTyped = NodeGroupQueueSummaryWaitingForUioFromJSONTyped;
19
+ exports.NodeGroupQueueSummaryWaitingForUioToJSON = NodeGroupQueueSummaryWaitingForUioToJSON;
20
+ exports.NodeGroupQueueSummaryWaitingForUioToJSONTyped = NodeGroupQueueSummaryWaitingForUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupQueueSummaryWaitingForUio interface.
23
+ */
24
+ function instanceOfNodeGroupQueueSummaryWaitingForUio(value) {
25
+ if (!('free' in value) || value['free'] === undefined)
26
+ return false;
27
+ if (!('envBusy' in value) || value['envBusy'] === undefined)
28
+ return false;
29
+ if (!('envOffline' in value) || value['envOffline'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function NodeGroupQueueSummaryWaitingForUioFromJSON(json) {
34
+ return NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json, false);
35
+ }
36
+ function NodeGroupQueueSummaryWaitingForUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'free': json['free'],
42
+ 'envBusy': json['env_busy'],
43
+ 'envOffline': json['env_offline'],
44
+ };
45
+ }
46
+ function NodeGroupQueueSummaryWaitingForUioToJSON(json) {
47
+ return NodeGroupQueueSummaryWaitingForUioToJSONTyped(json, false);
48
+ }
49
+ function NodeGroupQueueSummaryWaitingForUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'free': value['free'],
55
+ 'env_busy': value['envBusy'],
56
+ 'env_offline': value['envOffline'],
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 NodeQueueTurnGroupUio
16
+ */
17
+ export interface NodeQueueTurnGroupUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeQueueTurnGroupUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeQueueTurnGroupUio
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the NodeQueueTurnGroupUio interface.
33
+ */
34
+ export declare function instanceOfNodeQueueTurnGroupUio(value: object): value is NodeQueueTurnGroupUio;
35
+ export declare function NodeQueueTurnGroupUioFromJSON(json: any): NodeQueueTurnGroupUio;
36
+ export declare function NodeQueueTurnGroupUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeQueueTurnGroupUio;
37
+ export declare function NodeQueueTurnGroupUioToJSON(json: any): NodeQueueTurnGroupUio;
38
+ export declare function NodeQueueTurnGroupUioToJSONTyped(value?: NodeQueueTurnGroupUio | 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.instanceOfNodeQueueTurnGroupUio = instanceOfNodeQueueTurnGroupUio;
17
+ exports.NodeQueueTurnGroupUioFromJSON = NodeQueueTurnGroupUioFromJSON;
18
+ exports.NodeQueueTurnGroupUioFromJSONTyped = NodeQueueTurnGroupUioFromJSONTyped;
19
+ exports.NodeQueueTurnGroupUioToJSON = NodeQueueTurnGroupUioToJSON;
20
+ exports.NodeQueueTurnGroupUioToJSONTyped = NodeQueueTurnGroupUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeQueueTurnGroupUio interface.
23
+ */
24
+ function instanceOfNodeQueueTurnGroupUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NodeQueueTurnGroupUioFromJSON(json) {
32
+ return NodeQueueTurnGroupUioFromJSONTyped(json, false);
33
+ }
34
+ function NodeQueueTurnGroupUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'name': json['name'],
41
+ };
42
+ }
43
+ function NodeQueueTurnGroupUioToJSON(json) {
44
+ return NodeQueueTurnGroupUioToJSONTyped(json, false);
45
+ }
46
+ function NodeQueueTurnGroupUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ };
54
+ }