@breign/client 1.0.171 → 1.0.172

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 (42) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +165 -0
  2. package/dist/apis/ExecutionNodesApi.js +399 -0
  3. package/dist/apis/index.d.ts +1 -0
  4. package/dist/apis/index.js +1 -0
  5. package/dist/models/AgentExecutionNodeChoiceUio.d.ts +58 -0
  6. package/dist/models/AgentExecutionNodeChoiceUio.js +68 -0
  7. package/dist/models/AgentExecutionNodeUio.d.ts +50 -0
  8. package/dist/models/AgentExecutionNodeUio.js +62 -0
  9. package/dist/models/AgentExecutionUio.d.ts +80 -0
  10. package/dist/models/AgentExecutionUio.js +79 -0
  11. package/dist/models/ExecutionNodeAgentUio.d.ts +82 -0
  12. package/dist/models/ExecutionNodeAgentUio.js +86 -0
  13. package/dist/models/ExecutionNodeDetailUio.d.ts +111 -0
  14. package/dist/models/ExecutionNodeDetailUio.js +107 -0
  15. package/dist/models/ExecutionNodeRuntimeUio.d.ts +46 -0
  16. package/dist/models/ExecutionNodeRuntimeUio.js +60 -0
  17. package/dist/models/ExecutionNodeUio.d.ts +104 -0
  18. package/dist/models/ExecutionNodeUio.js +100 -0
  19. package/dist/models/ExecutionNodeWorkspaceUio.d.ts +38 -0
  20. package/dist/models/ExecutionNodeWorkspaceUio.js +54 -0
  21. package/dist/models/NodeSessionDetailUio.d.ts +133 -0
  22. package/dist/models/NodeSessionDetailUio.js +113 -0
  23. package/dist/models/NodeSessionLogEntryUio.d.ts +58 -0
  24. package/dist/models/NodeSessionLogEntryUio.js +70 -0
  25. package/dist/models/NodeSessionLogsUio.d.ts +51 -0
  26. package/dist/models/NodeSessionLogsUio.js +63 -0
  27. package/dist/models/NodeSessionMetricsUio.d.ts +74 -0
  28. package/dist/models/NodeSessionMetricsUio.js +62 -0
  29. package/dist/models/NodeSessionProgressUio.d.ts +44 -0
  30. package/dist/models/NodeSessionProgressUio.js +54 -0
  31. package/dist/models/NodeSessionStateUio.d.ts +29 -0
  32. package/dist/models/NodeSessionStateUio.js +55 -0
  33. package/dist/models/NodeSessionUio.d.ts +127 -0
  34. package/dist/models/NodeSessionUio.js +111 -0
  35. package/dist/models/NodeTurnCancelResultUio.d.ts +32 -0
  36. package/dist/models/NodeTurnCancelResultUio.js +50 -0
  37. package/dist/models/SetAgentExecutionRequestUio.d.ts +72 -0
  38. package/dist/models/SetAgentExecutionRequestUio.js +73 -0
  39. package/dist/models/index.d.ts +17 -0
  40. package/dist/models/index.js +17 -0
  41. package/dist/openapi.json +5805 -4892
  42. package/package.json +1 -1
@@ -0,0 +1,68 @@
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.instanceOfAgentExecutionNodeChoiceUio = instanceOfAgentExecutionNodeChoiceUio;
17
+ exports.AgentExecutionNodeChoiceUioFromJSON = AgentExecutionNodeChoiceUioFromJSON;
18
+ exports.AgentExecutionNodeChoiceUioFromJSONTyped = AgentExecutionNodeChoiceUioFromJSONTyped;
19
+ exports.AgentExecutionNodeChoiceUioToJSON = AgentExecutionNodeChoiceUioToJSON;
20
+ exports.AgentExecutionNodeChoiceUioToJSONTyped = AgentExecutionNodeChoiceUioToJSONTyped;
21
+ const ExecutionNodeWorkspaceUio_1 = require("./ExecutionNodeWorkspaceUio");
22
+ const ExecutionNodeRuntimeUio_1 = require("./ExecutionNodeRuntimeUio");
23
+ /**
24
+ * Check if a given object implements the AgentExecutionNodeChoiceUio interface.
25
+ */
26
+ function instanceOfAgentExecutionNodeChoiceUio(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('connected' in value) || value['connected'] === undefined)
32
+ return false;
33
+ if (!('runtimes' in value) || value['runtimes'] === undefined)
34
+ return false;
35
+ if (!('workspaces' in value) || value['workspaces'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function AgentExecutionNodeChoiceUioFromJSON(json) {
40
+ return AgentExecutionNodeChoiceUioFromJSONTyped(json, false);
41
+ }
42
+ function AgentExecutionNodeChoiceUioFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'],
48
+ 'name': json['name'],
49
+ 'connected': json['connected'],
50
+ 'runtimes': (json['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioFromJSON)),
51
+ 'workspaces': (json['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioFromJSON)),
52
+ };
53
+ }
54
+ function AgentExecutionNodeChoiceUioToJSON(json) {
55
+ return AgentExecutionNodeChoiceUioToJSONTyped(json, false);
56
+ }
57
+ function AgentExecutionNodeChoiceUioToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'id': value['id'],
63
+ 'name': value['name'],
64
+ 'connected': value['connected'],
65
+ 'runtimes': (value['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioToJSON)),
66
+ 'workspaces': (value['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioToJSON)),
67
+ };
68
+ }
@@ -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
+ * Présent en mode node
14
+ * @export
15
+ * @interface AgentExecutionNodeUio
16
+ */
17
+ export interface AgentExecutionNodeUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AgentExecutionNodeUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AgentExecutionNodeUio
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof AgentExecutionNodeUio
34
+ */
35
+ connected: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof AgentExecutionNodeUio
40
+ */
41
+ ownedByMe: boolean;
42
+ }
43
+ /**
44
+ * Check if a given object implements the AgentExecutionNodeUio interface.
45
+ */
46
+ export declare function instanceOfAgentExecutionNodeUio(value: object): value is AgentExecutionNodeUio;
47
+ export declare function AgentExecutionNodeUioFromJSON(json: any): AgentExecutionNodeUio;
48
+ export declare function AgentExecutionNodeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentExecutionNodeUio;
49
+ export declare function AgentExecutionNodeUioToJSON(json: any): AgentExecutionNodeUio;
50
+ export declare function AgentExecutionNodeUioToJSONTyped(value?: AgentExecutionNodeUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfAgentExecutionNodeUio = instanceOfAgentExecutionNodeUio;
17
+ exports.AgentExecutionNodeUioFromJSON = AgentExecutionNodeUioFromJSON;
18
+ exports.AgentExecutionNodeUioFromJSONTyped = AgentExecutionNodeUioFromJSONTyped;
19
+ exports.AgentExecutionNodeUioToJSON = AgentExecutionNodeUioToJSON;
20
+ exports.AgentExecutionNodeUioToJSONTyped = AgentExecutionNodeUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentExecutionNodeUio interface.
23
+ */
24
+ function instanceOfAgentExecutionNodeUio(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 (!('ownedByMe' in value) || value['ownedByMe'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AgentExecutionNodeUioFromJSON(json) {
36
+ return AgentExecutionNodeUioFromJSONTyped(json, false);
37
+ }
38
+ function AgentExecutionNodeUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'name': json['name'],
45
+ 'connected': json['connected'],
46
+ 'ownedByMe': json['ownedByMe'],
47
+ };
48
+ }
49
+ function AgentExecutionNodeUioToJSON(json) {
50
+ return AgentExecutionNodeUioToJSONTyped(json, false);
51
+ }
52
+ function AgentExecutionNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'name': value['name'],
59
+ 'connected': value['connected'],
60
+ 'ownedByMe': value['ownedByMe'],
61
+ };
62
+ }
@@ -0,0 +1,80 @@
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 { AgentExecutionNodeChoiceUio } from './AgentExecutionNodeChoiceUio';
13
+ import type { AgentExecutionNodeUio } from './AgentExecutionNodeUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AgentExecutionUio
18
+ */
19
+ export interface AgentExecutionUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AgentExecutionUio
24
+ */
25
+ mode: AgentExecutionUioModeEnum;
26
+ /**
27
+ *
28
+ * @type {AgentExecutionNodeUio}
29
+ * @memberof AgentExecutionUio
30
+ */
31
+ node?: AgentExecutionNodeUio;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof AgentExecutionUio
36
+ */
37
+ runtime?: AgentExecutionUioRuntimeEnum;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof AgentExecutionUio
42
+ */
43
+ workspaceAlias?: string;
44
+ /**
45
+ *
46
+ * @type {boolean}
47
+ * @memberof AgentExecutionUio
48
+ */
49
+ autoResume?: boolean;
50
+ /**
51
+ *
52
+ * @type {Array<AgentExecutionNodeChoiceUio>}
53
+ * @memberof AgentExecutionUio
54
+ */
55
+ availableNodes: Array<AgentExecutionNodeChoiceUio>;
56
+ }
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const AgentExecutionUioModeEnum: {
61
+ readonly Server: "server";
62
+ readonly Node: "node";
63
+ };
64
+ export type AgentExecutionUioModeEnum = typeof AgentExecutionUioModeEnum[keyof typeof AgentExecutionUioModeEnum];
65
+ /**
66
+ * @export
67
+ */
68
+ export declare const AgentExecutionUioRuntimeEnum: {
69
+ readonly Claude: "claude";
70
+ readonly Opencode: "opencode";
71
+ };
72
+ export type AgentExecutionUioRuntimeEnum = typeof AgentExecutionUioRuntimeEnum[keyof typeof AgentExecutionUioRuntimeEnum];
73
+ /**
74
+ * Check if a given object implements the AgentExecutionUio interface.
75
+ */
76
+ export declare function instanceOfAgentExecutionUio(value: object): value is AgentExecutionUio;
77
+ export declare function AgentExecutionUioFromJSON(json: any): AgentExecutionUio;
78
+ export declare function AgentExecutionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentExecutionUio;
79
+ export declare function AgentExecutionUioToJSON(json: any): AgentExecutionUio;
80
+ export declare function AgentExecutionUioToJSONTyped(value?: AgentExecutionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,79 @@
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.AgentExecutionUioRuntimeEnum = exports.AgentExecutionUioModeEnum = void 0;
17
+ exports.instanceOfAgentExecutionUio = instanceOfAgentExecutionUio;
18
+ exports.AgentExecutionUioFromJSON = AgentExecutionUioFromJSON;
19
+ exports.AgentExecutionUioFromJSONTyped = AgentExecutionUioFromJSONTyped;
20
+ exports.AgentExecutionUioToJSON = AgentExecutionUioToJSON;
21
+ exports.AgentExecutionUioToJSONTyped = AgentExecutionUioToJSONTyped;
22
+ const AgentExecutionNodeChoiceUio_1 = require("./AgentExecutionNodeChoiceUio");
23
+ const AgentExecutionNodeUio_1 = require("./AgentExecutionNodeUio");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.AgentExecutionUioModeEnum = {
28
+ Server: 'server',
29
+ Node: 'node'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.AgentExecutionUioRuntimeEnum = {
35
+ Claude: 'claude',
36
+ Opencode: 'opencode'
37
+ };
38
+ /**
39
+ * Check if a given object implements the AgentExecutionUio interface.
40
+ */
41
+ function instanceOfAgentExecutionUio(value) {
42
+ if (!('mode' in value) || value['mode'] === undefined)
43
+ return false;
44
+ if (!('availableNodes' in value) || value['availableNodes'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function AgentExecutionUioFromJSON(json) {
49
+ return AgentExecutionUioFromJSONTyped(json, false);
50
+ }
51
+ function AgentExecutionUioFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'mode': json['mode'],
57
+ 'node': json['node'] == null ? undefined : (0, AgentExecutionNodeUio_1.AgentExecutionNodeUioFromJSON)(json['node']),
58
+ 'runtime': json['runtime'] == null ? undefined : json['runtime'],
59
+ 'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
60
+ 'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
61
+ 'availableNodes': (json['availableNodes'].map(AgentExecutionNodeChoiceUio_1.AgentExecutionNodeChoiceUioFromJSON)),
62
+ };
63
+ }
64
+ function AgentExecutionUioToJSON(json) {
65
+ return AgentExecutionUioToJSONTyped(json, false);
66
+ }
67
+ function AgentExecutionUioToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'mode': value['mode'],
73
+ 'node': (0, AgentExecutionNodeUio_1.AgentExecutionNodeUioToJSON)(value['node']),
74
+ 'runtime': value['runtime'],
75
+ 'workspaceAlias': value['workspaceAlias'],
76
+ 'autoResume': value['autoResume'],
77
+ 'availableNodes': (value['availableNodes'].map(AgentExecutionNodeChoiceUio_1.AgentExecutionNodeChoiceUioToJSON)),
78
+ };
79
+ }
@@ -0,0 +1,82 @@
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
+ * Un agent rattaché au nœud, avec le runtime et le dossier où il tourne.
14
+ * @export
15
+ * @interface ExecutionNodeAgentUio
16
+ */
17
+ export interface ExecutionNodeAgentUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionNodeAgentUio
22
+ */
23
+ agentId: string;
24
+ /**
25
+ * Nom de l'agent, résolu par l'API : un nœud fait tourner des agents de plusieurs organisations. Null pour un agent supprimé.
26
+ * @type {string}
27
+ * @memberof ExecutionNodeAgentUio
28
+ */
29
+ agentName: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionNodeAgentUio
34
+ */
35
+ organizationId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ExecutionNodeAgentUio
40
+ */
41
+ runtime: ExecutionNodeAgentUioRuntimeEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ExecutionNodeAgentUio
46
+ */
47
+ workspaceAlias: string;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof ExecutionNodeAgentUio
52
+ */
53
+ autoResume: boolean;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ExecutionNodeAgentUio
58
+ */
59
+ createdAt: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ExecutionNodeAgentUio
64
+ */
65
+ updatedAt: string;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const ExecutionNodeAgentUioRuntimeEnum: {
71
+ readonly Claude: "claude";
72
+ readonly Opencode: "opencode";
73
+ };
74
+ export type ExecutionNodeAgentUioRuntimeEnum = typeof ExecutionNodeAgentUioRuntimeEnum[keyof typeof ExecutionNodeAgentUioRuntimeEnum];
75
+ /**
76
+ * Check if a given object implements the ExecutionNodeAgentUio interface.
77
+ */
78
+ export declare function instanceOfExecutionNodeAgentUio(value: object): value is ExecutionNodeAgentUio;
79
+ export declare function ExecutionNodeAgentUioFromJSON(json: any): ExecutionNodeAgentUio;
80
+ export declare function ExecutionNodeAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionNodeAgentUio;
81
+ export declare function ExecutionNodeAgentUioToJSON(json: any): ExecutionNodeAgentUio;
82
+ export declare function ExecutionNodeAgentUioToJSONTyped(value?: ExecutionNodeAgentUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,86 @@
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.ExecutionNodeAgentUioRuntimeEnum = void 0;
17
+ exports.instanceOfExecutionNodeAgentUio = instanceOfExecutionNodeAgentUio;
18
+ exports.ExecutionNodeAgentUioFromJSON = ExecutionNodeAgentUioFromJSON;
19
+ exports.ExecutionNodeAgentUioFromJSONTyped = ExecutionNodeAgentUioFromJSONTyped;
20
+ exports.ExecutionNodeAgentUioToJSON = ExecutionNodeAgentUioToJSON;
21
+ exports.ExecutionNodeAgentUioToJSONTyped = ExecutionNodeAgentUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ExecutionNodeAgentUioRuntimeEnum = {
26
+ Claude: 'claude',
27
+ Opencode: 'opencode'
28
+ };
29
+ /**
30
+ * Check if a given object implements the ExecutionNodeAgentUio interface.
31
+ */
32
+ function instanceOfExecutionNodeAgentUio(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 (!('organizationId' in value) || value['organizationId'] === undefined)
38
+ return false;
39
+ if (!('runtime' in value) || value['runtime'] === undefined)
40
+ return false;
41
+ if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
42
+ return false;
43
+ if (!('autoResume' in value) || value['autoResume'] === undefined)
44
+ return false;
45
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
46
+ return false;
47
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function ExecutionNodeAgentUioFromJSON(json) {
52
+ return ExecutionNodeAgentUioFromJSONTyped(json, false);
53
+ }
54
+ function ExecutionNodeAgentUioFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'agentId': json['agentId'],
60
+ 'agentName': json['agentName'],
61
+ 'organizationId': json['organizationId'],
62
+ 'runtime': json['runtime'],
63
+ 'workspaceAlias': json['workspaceAlias'],
64
+ 'autoResume': json['autoResume'],
65
+ 'createdAt': json['createdAt'],
66
+ 'updatedAt': json['updatedAt'],
67
+ };
68
+ }
69
+ function ExecutionNodeAgentUioToJSON(json) {
70
+ return ExecutionNodeAgentUioToJSONTyped(json, false);
71
+ }
72
+ function ExecutionNodeAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+ return {
77
+ 'agentId': value['agentId'],
78
+ 'agentName': value['agentName'],
79
+ 'organizationId': value['organizationId'],
80
+ 'runtime': value['runtime'],
81
+ 'workspaceAlias': value['workspaceAlias'],
82
+ 'autoResume': value['autoResume'],
83
+ 'createdAt': value['createdAt'],
84
+ 'updatedAt': value['updatedAt'],
85
+ };
86
+ }
@@ -0,0 +1,111 @@
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 { ExecutionNodeAgentUio } from './ExecutionNodeAgentUio';
13
+ import type { ExecutionNodeWorkspaceUio } from './ExecutionNodeWorkspaceUio';
14
+ import type { ExecutionNodeRuntimeUio } from './ExecutionNodeRuntimeUio';
15
+ import type { NodeSessionUio } from './NodeSessionUio';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ExecutionNodeDetailUio
20
+ */
21
+ export interface ExecutionNodeDetailUio {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ExecutionNodeDetailUio
26
+ */
27
+ id: string;
28
+ /**
29
+ * Nom du poste
30
+ * @type {string}
31
+ * @memberof ExecutionNodeDetailUio
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ExecutionNodeDetailUio
38
+ */
39
+ os: ExecutionNodeDetailUioOsEnum;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ExecutionNodeDetailUio
44
+ */
45
+ appVersion: string;
46
+ /**
47
+ *
48
+ * @type {Array<ExecutionNodeRuntimeUio>}
49
+ * @memberof ExecutionNodeDetailUio
50
+ */
51
+ runtimes: Array<ExecutionNodeRuntimeUio>;
52
+ /**
53
+ *
54
+ * @type {Array<ExecutionNodeWorkspaceUio>}
55
+ * @memberof ExecutionNodeDetailUio
56
+ */
57
+ workspaces: Array<ExecutionNodeWorkspaceUio>;
58
+ /**
59
+ *
60
+ * @type {boolean}
61
+ * @memberof ExecutionNodeDetailUio
62
+ */
63
+ connected: boolean;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof ExecutionNodeDetailUio
68
+ */
69
+ lastSeenAt: string | null;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof ExecutionNodeDetailUio
74
+ */
75
+ revokedAt: string | null;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof ExecutionNodeDetailUio
80
+ */
81
+ createdAt: string;
82
+ /**
83
+ *
84
+ * @type {Array<ExecutionNodeAgentUio>}
85
+ * @memberof ExecutionNodeDetailUio
86
+ */
87
+ agents: Array<ExecutionNodeAgentUio>;
88
+ /**
89
+ * Les derniers tours du nœud, du plus récent au plus ancien.
90
+ * @type {Array<NodeSessionUio>}
91
+ * @memberof ExecutionNodeDetailUio
92
+ */
93
+ sessions: Array<NodeSessionUio>;
94
+ }
95
+ /**
96
+ * @export
97
+ */
98
+ export declare const ExecutionNodeDetailUioOsEnum: {
99
+ readonly Macos: "macos";
100
+ readonly Windows: "windows";
101
+ readonly Linux: "linux";
102
+ };
103
+ export type ExecutionNodeDetailUioOsEnum = typeof ExecutionNodeDetailUioOsEnum[keyof typeof ExecutionNodeDetailUioOsEnum];
104
+ /**
105
+ * Check if a given object implements the ExecutionNodeDetailUio interface.
106
+ */
107
+ export declare function instanceOfExecutionNodeDetailUio(value: object): value is ExecutionNodeDetailUio;
108
+ export declare function ExecutionNodeDetailUioFromJSON(json: any): ExecutionNodeDetailUio;
109
+ export declare function ExecutionNodeDetailUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionNodeDetailUio;
110
+ export declare function ExecutionNodeDetailUioToJSON(json: any): ExecutionNodeDetailUio;
111
+ export declare function ExecutionNodeDetailUioToJSONTyped(value?: ExecutionNodeDetailUio | null, ignoreDiscriminator?: boolean): any;