@breign/client 1.0.194 → 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 (94) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +31 -3
  2. package/dist/apis/ExecutionNodesApi.js +66 -2
  3. package/dist/apis/NodeGroupsApi.d.ts +353 -0
  4. package/dist/apis/NodeGroupsApi.js +697 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +46 -0
  8. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +62 -0
  9. package/dist/models/AgentExecutionGroupChoiceUio.d.ts +70 -0
  10. package/dist/models/AgentExecutionGroupChoiceUio.js +76 -0
  11. package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.d.ts +44 -0
  12. package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.js +58 -0
  13. package/dist/models/AgentExecutionGroupUio.d.ts +38 -0
  14. package/dist/models/AgentExecutionGroupUio.js +54 -0
  15. package/dist/models/AgentExecutionUio.d.ts +27 -0
  16. package/dist/models/AgentExecutionUio.js +14 -1
  17. package/dist/models/CreateNodeGroupRequestUio.d.ts +56 -0
  18. package/dist/models/CreateNodeGroupRequestUio.js +58 -0
  19. package/dist/models/NodeGroupAgentUio.d.ts +58 -0
  20. package/dist/models/NodeGroupAgentUio.js +70 -0
  21. package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
  22. package/dist/models/NodeGroupBulkIdsUio.js +50 -0
  23. package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
  24. package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
  25. package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
  26. package/dist/models/NodeGroupBulkResultUio.js +51 -0
  27. package/dist/models/NodeGroupCandidateUio.d.ts +115 -0
  28. package/dist/models/NodeGroupCandidateUio.js +109 -0
  29. package/dist/models/NodeGroupDelaysUio.d.ts +44 -0
  30. package/dist/models/NodeGroupDelaysUio.js +52 -0
  31. package/dist/models/NodeGroupDetailUio.d.ts +100 -0
  32. package/dist/models/NodeGroupDetailUio.js +96 -0
  33. package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
  34. package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
  35. package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
  36. package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
  37. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
  38. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
  39. package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
  40. package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
  41. package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
  42. package/dist/models/NodeGroupEnvironmentUio.js +130 -0
  43. package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
  44. package/dist/models/NodeGroupExecutionPageUio.js +59 -0
  45. package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
  46. package/dist/models/NodeGroupExecutionUio.js +155 -0
  47. package/dist/models/NodeGroupMemberNodeUio.d.ts +115 -0
  48. package/dist/models/NodeGroupMemberNodeUio.js +109 -0
  49. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
  50. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
  51. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
  52. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
  53. package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
  54. package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
  55. package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
  56. package/dist/models/NodeGroupNodePageUio.js +55 -0
  57. package/dist/models/NodeGroupNodeUio.d.ts +103 -0
  58. package/dist/models/NodeGroupNodeUio.js +101 -0
  59. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
  60. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
  61. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
  62. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
  63. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
  64. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
  65. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
  66. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
  67. package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
  68. package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
  69. package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
  70. package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
  71. package/dist/models/NodeGroupSummaryUio.d.ts +116 -0
  72. package/dist/models/NodeGroupSummaryUio.js +106 -0
  73. package/dist/models/NodeGroupUio.d.ts +86 -0
  74. package/dist/models/NodeGroupUio.js +86 -0
  75. package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
  76. package/dist/models/NodeQueueTurnGroupUio.js +54 -0
  77. package/dist/models/NodeQueueTurnUio.d.ts +114 -0
  78. package/dist/models/NodeQueueTurnUio.js +106 -0
  79. package/dist/models/NodeRefUio.d.ts +44 -0
  80. package/dist/models/NodeRefUio.js +58 -0
  81. package/dist/models/NodeSessionDetailUio.d.ts +1 -1
  82. package/dist/models/NodeSessionStateUio.d.ts +2 -1
  83. package/dist/models/NodeSessionStateUio.js +2 -1
  84. package/dist/models/NodeSessionUio.d.ts +1 -1
  85. package/dist/models/SetAgentExecutionRequestUio.d.ts +20 -1
  86. package/dist/models/SetAgentExecutionRequestUio.js +8 -1
  87. package/dist/models/UpdateNodeGroupRequestUio.d.ts +56 -0
  88. package/dist/models/UpdateNodeGroupRequestUio.js +56 -0
  89. package/dist/models/WaitingForUio.d.ts +26 -0
  90. package/dist/models/WaitingForUio.js +52 -0
  91. package/dist/models/index.d.ts +38 -0
  92. package/dist/models/index.js +38 -0
  93. package/dist/openapi.json +1994 -8
  94. package/package.json +1 -1
@@ -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.instanceOfCreateNodeGroupRequestUio = instanceOfCreateNodeGroupRequestUio;
17
+ exports.CreateNodeGroupRequestUioFromJSON = CreateNodeGroupRequestUioFromJSON;
18
+ exports.CreateNodeGroupRequestUioFromJSONTyped = CreateNodeGroupRequestUioFromJSONTyped;
19
+ exports.CreateNodeGroupRequestUioToJSON = CreateNodeGroupRequestUioToJSON;
20
+ exports.CreateNodeGroupRequestUioToJSONTyped = CreateNodeGroupRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateNodeGroupRequestUio interface.
23
+ */
24
+ function instanceOfCreateNodeGroupRequestUio(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function CreateNodeGroupRequestUioFromJSON(json) {
30
+ return CreateNodeGroupRequestUioFromJSONTyped(json, false);
31
+ }
32
+ function CreateNodeGroupRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'envWaitMs': json['envWaitMs'] == null ? undefined : json['envWaitMs'],
38
+ 'envIdleTtlMs': json['envIdleTtlMs'] == null ? undefined : json['envIdleTtlMs'],
39
+ 'queueExpiryMs': json['queueExpiryMs'] == null ? undefined : json['queueExpiryMs'],
40
+ 'name': json['name'],
41
+ 'description': json['description'] == null ? undefined : json['description'],
42
+ };
43
+ }
44
+ function CreateNodeGroupRequestUioToJSON(json) {
45
+ return CreateNodeGroupRequestUioToJSONTyped(json, false);
46
+ }
47
+ function CreateNodeGroupRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'envWaitMs': value['envWaitMs'],
53
+ 'envIdleTtlMs': value['envIdleTtlMs'],
54
+ 'queueExpiryMs': value['queueExpiryMs'],
55
+ 'name': value['name'],
56
+ 'description': value['description'],
57
+ };
58
+ }
@@ -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,32 @@
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 NodeGroupBulkIdsUio
16
+ */
17
+ export interface NodeGroupBulkIdsUio {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof NodeGroupBulkIdsUio
22
+ */
23
+ ids: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the NodeGroupBulkIdsUio interface.
27
+ */
28
+ export declare function instanceOfNodeGroupBulkIdsUio(value: object): value is NodeGroupBulkIdsUio;
29
+ export declare function NodeGroupBulkIdsUioFromJSON(json: any): NodeGroupBulkIdsUio;
30
+ export declare function NodeGroupBulkIdsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupBulkIdsUio;
31
+ export declare function NodeGroupBulkIdsUioToJSON(json: any): NodeGroupBulkIdsUio;
32
+ export declare function NodeGroupBulkIdsUioToJSONTyped(value?: NodeGroupBulkIdsUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfNodeGroupBulkIdsUio = instanceOfNodeGroupBulkIdsUio;
17
+ exports.NodeGroupBulkIdsUioFromJSON = NodeGroupBulkIdsUioFromJSON;
18
+ exports.NodeGroupBulkIdsUioFromJSONTyped = NodeGroupBulkIdsUioFromJSONTyped;
19
+ exports.NodeGroupBulkIdsUioToJSON = NodeGroupBulkIdsUioToJSON;
20
+ exports.NodeGroupBulkIdsUioToJSONTyped = NodeGroupBulkIdsUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupBulkIdsUio interface.
23
+ */
24
+ function instanceOfNodeGroupBulkIdsUio(value) {
25
+ if (!('ids' in value) || value['ids'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function NodeGroupBulkIdsUioFromJSON(json) {
30
+ return NodeGroupBulkIdsUioFromJSONTyped(json, false);
31
+ }
32
+ function NodeGroupBulkIdsUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'ids': json['ids'],
38
+ };
39
+ }
40
+ function NodeGroupBulkIdsUioToJSON(json) {
41
+ return NodeGroupBulkIdsUioToJSONTyped(json, false);
42
+ }
43
+ function NodeGroupBulkIdsUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'ids': value['ids'],
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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 NodeGroupBulkResultResultsInnerUio
16
+ */
17
+ export interface NodeGroupBulkResultResultsInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeGroupBulkResultResultsInnerUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof NodeGroupBulkResultResultsInnerUio
28
+ */
29
+ ok: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof NodeGroupBulkResultResultsInnerUio
34
+ */
35
+ state?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof NodeGroupBulkResultResultsInnerUio
40
+ */
41
+ error?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the NodeGroupBulkResultResultsInnerUio interface.
45
+ */
46
+ export declare function instanceOfNodeGroupBulkResultResultsInnerUio(value: object): value is NodeGroupBulkResultResultsInnerUio;
47
+ export declare function NodeGroupBulkResultResultsInnerUioFromJSON(json: any): NodeGroupBulkResultResultsInnerUio;
48
+ export declare function NodeGroupBulkResultResultsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupBulkResultResultsInnerUio;
49
+ export declare function NodeGroupBulkResultResultsInnerUioToJSON(json: any): NodeGroupBulkResultResultsInnerUio;
50
+ export declare function NodeGroupBulkResultResultsInnerUioToJSONTyped(value?: NodeGroupBulkResultResultsInnerUio | 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.instanceOfNodeGroupBulkResultResultsInnerUio = instanceOfNodeGroupBulkResultResultsInnerUio;
17
+ exports.NodeGroupBulkResultResultsInnerUioFromJSON = NodeGroupBulkResultResultsInnerUioFromJSON;
18
+ exports.NodeGroupBulkResultResultsInnerUioFromJSONTyped = NodeGroupBulkResultResultsInnerUioFromJSONTyped;
19
+ exports.NodeGroupBulkResultResultsInnerUioToJSON = NodeGroupBulkResultResultsInnerUioToJSON;
20
+ exports.NodeGroupBulkResultResultsInnerUioToJSONTyped = NodeGroupBulkResultResultsInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupBulkResultResultsInnerUio interface.
23
+ */
24
+ function instanceOfNodeGroupBulkResultResultsInnerUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('ok' in value) || value['ok'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NodeGroupBulkResultResultsInnerUioFromJSON(json) {
32
+ return NodeGroupBulkResultResultsInnerUioFromJSONTyped(json, false);
33
+ }
34
+ function NodeGroupBulkResultResultsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'ok': json['ok'],
41
+ 'state': json['state'] == null ? undefined : json['state'],
42
+ 'error': json['error'] == null ? undefined : json['error'],
43
+ };
44
+ }
45
+ function NodeGroupBulkResultResultsInnerUioToJSON(json) {
46
+ return NodeGroupBulkResultResultsInnerUioToJSONTyped(json, false);
47
+ }
48
+ function NodeGroupBulkResultResultsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'ok': value['ok'],
55
+ 'state': value['state'],
56
+ 'error': value['error'],
57
+ };
58
+ }
@@ -0,0 +1,33 @@
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 { NodeGroupBulkResultResultsInnerUio } from './NodeGroupBulkResultResultsInnerUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NodeGroupBulkResultUio
17
+ */
18
+ export interface NodeGroupBulkResultUio {
19
+ /**
20
+ *
21
+ * @type {Array<NodeGroupBulkResultResultsInnerUio>}
22
+ * @memberof NodeGroupBulkResultUio
23
+ */
24
+ results: Array<NodeGroupBulkResultResultsInnerUio>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the NodeGroupBulkResultUio interface.
28
+ */
29
+ export declare function instanceOfNodeGroupBulkResultUio(value: object): value is NodeGroupBulkResultUio;
30
+ export declare function NodeGroupBulkResultUioFromJSON(json: any): NodeGroupBulkResultUio;
31
+ export declare function NodeGroupBulkResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupBulkResultUio;
32
+ export declare function NodeGroupBulkResultUioToJSON(json: any): NodeGroupBulkResultUio;
33
+ export declare function NodeGroupBulkResultUioToJSONTyped(value?: NodeGroupBulkResultUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfNodeGroupBulkResultUio = instanceOfNodeGroupBulkResultUio;
17
+ exports.NodeGroupBulkResultUioFromJSON = NodeGroupBulkResultUioFromJSON;
18
+ exports.NodeGroupBulkResultUioFromJSONTyped = NodeGroupBulkResultUioFromJSONTyped;
19
+ exports.NodeGroupBulkResultUioToJSON = NodeGroupBulkResultUioToJSON;
20
+ exports.NodeGroupBulkResultUioToJSONTyped = NodeGroupBulkResultUioToJSONTyped;
21
+ const NodeGroupBulkResultResultsInnerUio_1 = require("./NodeGroupBulkResultResultsInnerUio");
22
+ /**
23
+ * Check if a given object implements the NodeGroupBulkResultUio interface.
24
+ */
25
+ function instanceOfNodeGroupBulkResultUio(value) {
26
+ if (!('results' in value) || value['results'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function NodeGroupBulkResultUioFromJSON(json) {
31
+ return NodeGroupBulkResultUioFromJSONTyped(json, false);
32
+ }
33
+ function NodeGroupBulkResultUioFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'results': (json['results'].map(NodeGroupBulkResultResultsInnerUio_1.NodeGroupBulkResultResultsInnerUioFromJSON)),
39
+ };
40
+ }
41
+ function NodeGroupBulkResultUioToJSON(json) {
42
+ return NodeGroupBulkResultUioToJSONTyped(json, false);
43
+ }
44
+ function NodeGroupBulkResultUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'results': (value['results'].map(NodeGroupBulkResultResultsInnerUio_1.NodeGroupBulkResultResultsInnerUioToJSON)),
50
+ };
51
+ }
@@ -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
+ }