@breign/client 1.0.195 → 1.0.197

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 (76) 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 +230 -1
  4. package/dist/apis/NodeGroupsApi.js +396 -1
  5. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +1 -0
  6. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +2 -1
  7. package/dist/models/AgentExecutionUio.d.ts +1 -0
  8. package/dist/models/AgentExecutionUio.js +2 -1
  9. package/dist/models/ExecutionNodeAgentUio.d.ts +1 -0
  10. package/dist/models/ExecutionNodeAgentUio.js +2 -1
  11. package/dist/models/ExecutionNodeRuntimeUio.d.ts +1 -0
  12. package/dist/models/ExecutionNodeRuntimeUio.js +2 -1
  13. package/dist/models/NodeGroupAgentUio.d.ts +1 -0
  14. package/dist/models/NodeGroupAgentUio.js +2 -1
  15. package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
  16. package/dist/models/NodeGroupBulkIdsUio.js +50 -0
  17. package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
  18. package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
  19. package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
  20. package/dist/models/NodeGroupBulkResultUio.js +51 -0
  21. package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
  22. package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
  23. package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
  24. package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
  25. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
  26. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
  27. package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
  28. package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
  29. package/dist/models/NodeGroupEnvironmentUio.d.ts +141 -0
  30. package/dist/models/NodeGroupEnvironmentUio.js +131 -0
  31. package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
  32. package/dist/models/NodeGroupExecutionPageUio.js +59 -0
  33. package/dist/models/NodeGroupExecutionUio.d.ts +181 -0
  34. package/dist/models/NodeGroupExecutionUio.js +156 -0
  35. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
  36. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
  37. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
  38. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
  39. package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
  40. package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
  41. package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
  42. package/dist/models/NodeGroupNodePageUio.js +55 -0
  43. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
  44. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
  45. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
  46. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
  47. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
  48. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
  49. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
  50. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
  51. package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
  52. package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
  53. package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
  54. package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
  55. package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
  56. package/dist/models/NodeQueueTurnGroupUio.js +54 -0
  57. package/dist/models/NodeQueueTurnUio.d.ts +114 -0
  58. package/dist/models/NodeQueueTurnUio.js +106 -0
  59. package/dist/models/NodeRefUio.d.ts +44 -0
  60. package/dist/models/NodeRefUio.js +58 -0
  61. package/dist/models/NodeSessionDetailUio.d.ts +2 -1
  62. package/dist/models/NodeSessionDetailUio.js +2 -1
  63. package/dist/models/NodeSessionStateUio.d.ts +2 -1
  64. package/dist/models/NodeSessionStateUio.js +2 -1
  65. package/dist/models/NodeSessionUio.d.ts +2 -1
  66. package/dist/models/NodeSessionUio.js +2 -1
  67. package/dist/models/OrganizationExecutionNodeAgentUio.d.ts +1 -0
  68. package/dist/models/OrganizationExecutionNodeAgentUio.js +2 -1
  69. package/dist/models/SetAgentExecutionRequestUio.d.ts +1 -0
  70. package/dist/models/SetAgentExecutionRequestUio.js +2 -1
  71. package/dist/models/WaitingForUio.d.ts +26 -0
  72. package/dist/models/WaitingForUio.js +52 -0
  73. package/dist/models/index.d.ts +24 -0
  74. package/dist/models/index.js +24 -0
  75. package/dist/openapi.json +2962 -1685
  76. package/package.json +1 -1
@@ -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
+ }
@@ -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;