@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,156 @@
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.NodeGroupExecutionUioRuntimeEnum = exports.NodeGroupExecutionUioOriginTypeEnum = void 0;
17
+ exports.instanceOfNodeGroupExecutionUio = instanceOfNodeGroupExecutionUio;
18
+ exports.NodeGroupExecutionUioFromJSON = NodeGroupExecutionUioFromJSON;
19
+ exports.NodeGroupExecutionUioFromJSONTyped = NodeGroupExecutionUioFromJSONTyped;
20
+ exports.NodeGroupExecutionUioToJSON = NodeGroupExecutionUioToJSON;
21
+ exports.NodeGroupExecutionUioToJSONTyped = NodeGroupExecutionUioToJSONTyped;
22
+ const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
23
+ const NodeRefUio_1 = require("./NodeRefUio");
24
+ const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
25
+ const WaitingForUio_1 = require("./WaitingForUio");
26
+ /**
27
+ * @export
28
+ */
29
+ exports.NodeGroupExecutionUioOriginTypeEnum = {
30
+ Conversation: 'conversation',
31
+ Ticket: 'ticket',
32
+ Agent: 'agent',
33
+ Task: 'task'
34
+ };
35
+ /**
36
+ * @export
37
+ */
38
+ exports.NodeGroupExecutionUioRuntimeEnum = {
39
+ Claude: 'claude',
40
+ Opencode: 'opencode',
41
+ Fx: 'fx'
42
+ };
43
+ /**
44
+ * Check if a given object implements the NodeGroupExecutionUio interface.
45
+ */
46
+ function instanceOfNodeGroupExecutionUio(value) {
47
+ if (!('id' in value) || value['id'] === undefined)
48
+ return false;
49
+ if (!('state' in value) || value['state'] === undefined)
50
+ return false;
51
+ if (!('reason' in value) || value['reason'] === undefined)
52
+ return false;
53
+ if (!('agentId' in value) || value['agentId'] === undefined)
54
+ return false;
55
+ if (!('agentName' in value) || value['agentName'] === undefined)
56
+ return false;
57
+ if (!('conversationId' in value) || value['conversationId'] === undefined)
58
+ return false;
59
+ if (!('responseMessageId' in value) || value['responseMessageId'] === undefined)
60
+ return false;
61
+ if (!('originType' in value) || value['originType'] === undefined)
62
+ return false;
63
+ if (!('originTitle' in value) || value['originTitle'] === undefined)
64
+ return false;
65
+ if (!('runtime' in value) || value['runtime'] === undefined)
66
+ return false;
67
+ if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
68
+ return false;
69
+ if (!('node' in value) || value['node'] === undefined)
70
+ return false;
71
+ if (!('target' in value) || value['target'] === undefined)
72
+ return false;
73
+ if (!('targetUntil' in value) || value['targetUntil'] === undefined)
74
+ return false;
75
+ if (!('waitingFor' in value) || value['waitingFor'] === undefined)
76
+ return false;
77
+ if (!('position' in value) || value['position'] === undefined)
78
+ return false;
79
+ if (!('progress' in value) || value['progress'] === undefined)
80
+ return false;
81
+ if (!('queuedAt' in value) || value['queuedAt'] === undefined)
82
+ return false;
83
+ if (!('claimedAt' in value) || value['claimedAt'] === undefined)
84
+ return false;
85
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
86
+ return false;
87
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
88
+ return false;
89
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
90
+ return false;
91
+ return true;
92
+ }
93
+ function NodeGroupExecutionUioFromJSON(json) {
94
+ return NodeGroupExecutionUioFromJSONTyped(json, false);
95
+ }
96
+ function NodeGroupExecutionUioFromJSONTyped(json, ignoreDiscriminator) {
97
+ if (json == null) {
98
+ return json;
99
+ }
100
+ return {
101
+ 'id': json['id'],
102
+ 'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
103
+ 'reason': json['reason'],
104
+ 'agentId': json['agentId'],
105
+ 'agentName': json['agentName'],
106
+ 'conversationId': json['conversationId'],
107
+ 'responseMessageId': json['responseMessageId'],
108
+ 'originType': json['originType'],
109
+ 'originTitle': json['originTitle'],
110
+ 'runtime': json['runtime'],
111
+ 'workspaceAlias': json['workspaceAlias'],
112
+ 'node': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['node']),
113
+ 'target': (0, NodeRefUio_1.NodeRefUioFromJSON)(json['target']),
114
+ 'targetUntil': json['targetUntil'],
115
+ 'waitingFor': (0, WaitingForUio_1.WaitingForUioFromJSON)(json['waitingFor']),
116
+ 'position': json['position'],
117
+ 'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioFromJSON)(json['progress']),
118
+ 'queuedAt': json['queuedAt'],
119
+ 'claimedAt': json['claimedAt'],
120
+ 'expiresAt': json['expiresAt'],
121
+ 'createdAt': json['createdAt'],
122
+ 'updatedAt': json['updatedAt'],
123
+ };
124
+ }
125
+ function NodeGroupExecutionUioToJSON(json) {
126
+ return NodeGroupExecutionUioToJSONTyped(json, false);
127
+ }
128
+ function NodeGroupExecutionUioToJSONTyped(value, ignoreDiscriminator = false) {
129
+ if (value == null) {
130
+ return value;
131
+ }
132
+ return {
133
+ 'id': value['id'],
134
+ 'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
135
+ 'reason': value['reason'],
136
+ 'agentId': value['agentId'],
137
+ 'agentName': value['agentName'],
138
+ 'conversationId': value['conversationId'],
139
+ 'responseMessageId': value['responseMessageId'],
140
+ 'originType': value['originType'],
141
+ 'originTitle': value['originTitle'],
142
+ 'runtime': value['runtime'],
143
+ 'workspaceAlias': value['workspaceAlias'],
144
+ 'node': (0, NodeRefUio_1.NodeRefUioToJSON)(value['node']),
145
+ 'target': (0, NodeRefUio_1.NodeRefUioToJSON)(value['target']),
146
+ 'targetUntil': value['targetUntil'],
147
+ 'waitingFor': (0, WaitingForUio_1.WaitingForUioToJSON)(value['waitingFor']),
148
+ 'position': value['position'],
149
+ 'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
150
+ 'queuedAt': value['queuedAt'],
151
+ 'claimedAt': value['claimedAt'],
152
+ 'expiresAt': value['expiresAt'],
153
+ 'createdAt': value['createdAt'],
154
+ 'updatedAt': value['updatedAt'],
155
+ };
156
+ }
@@ -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 NodeGroupNodeOverviewOtherGroupsInnerUio
16
+ */
17
+ export interface NodeGroupNodeOverviewOtherGroupsInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeGroupNodeOverviewOtherGroupsInnerUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeGroupNodeOverviewOtherGroupsInnerUio
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the NodeGroupNodeOverviewOtherGroupsInnerUio interface.
33
+ */
34
+ export declare function instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio(value: object): value is NodeGroupNodeOverviewOtherGroupsInnerUio;
35
+ export declare function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON(json: any): NodeGroupNodeOverviewOtherGroupsInnerUio;
36
+ export declare function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupNodeOverviewOtherGroupsInnerUio;
37
+ export declare function NodeGroupNodeOverviewOtherGroupsInnerUioToJSON(json: any): NodeGroupNodeOverviewOtherGroupsInnerUio;
38
+ export declare function NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(value?: NodeGroupNodeOverviewOtherGroupsInnerUio | 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.instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio = instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio;
17
+ exports.NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON = NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON;
18
+ exports.NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped = NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped;
19
+ exports.NodeGroupNodeOverviewOtherGroupsInnerUioToJSON = NodeGroupNodeOverviewOtherGroupsInnerUioToJSON;
20
+ exports.NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped = NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupNodeOverviewOtherGroupsInnerUio interface.
23
+ */
24
+ function instanceOfNodeGroupNodeOverviewOtherGroupsInnerUio(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 NodeGroupNodeOverviewOtherGroupsInnerUioFromJSON(json) {
32
+ return NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json, false);
33
+ }
34
+ function NodeGroupNodeOverviewOtherGroupsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'name': json['name'],
41
+ };
42
+ }
43
+ function NodeGroupNodeOverviewOtherGroupsInnerUioToJSON(json) {
44
+ return NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(json, false);
45
+ }
46
+ function NodeGroupNodeOverviewOtherGroupsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ };
54
+ }
@@ -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;