@breign/client 1.0.195 → 1.0.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +29 -1
  2. package/dist/apis/ExecutionNodesApi.js +64 -0
  3. package/dist/apis/NodeGroupsApi.d.ts +228 -1
  4. package/dist/apis/NodeGroupsApi.js +394 -1
  5. package/dist/models/NodeGroupBulkIdsUio.d.ts +32 -0
  6. package/dist/models/NodeGroupBulkIdsUio.js +50 -0
  7. package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
  8. package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
  9. package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
  10. package/dist/models/NodeGroupBulkResultUio.js +51 -0
  11. package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
  12. package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
  13. package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
  14. package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
  15. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
  16. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
  17. package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
  18. package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
  19. package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
  20. package/dist/models/NodeGroupEnvironmentUio.js +130 -0
  21. package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
  22. package/dist/models/NodeGroupExecutionPageUio.js +59 -0
  23. package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
  24. package/dist/models/NodeGroupExecutionUio.js +155 -0
  25. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
  26. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
  27. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
  28. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
  29. package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
  30. package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
  31. package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
  32. package/dist/models/NodeGroupNodePageUio.js +55 -0
  33. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
  34. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
  35. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
  36. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
  37. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
  38. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
  39. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
  40. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
  41. package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
  42. package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
  43. package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
  44. package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
  45. package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
  46. package/dist/models/NodeQueueTurnGroupUio.js +54 -0
  47. package/dist/models/NodeQueueTurnUio.d.ts +114 -0
  48. package/dist/models/NodeQueueTurnUio.js +106 -0
  49. package/dist/models/NodeRefUio.d.ts +44 -0
  50. package/dist/models/NodeRefUio.js +58 -0
  51. package/dist/models/NodeSessionDetailUio.d.ts +1 -1
  52. package/dist/models/NodeSessionStateUio.d.ts +2 -1
  53. package/dist/models/NodeSessionStateUio.js +2 -1
  54. package/dist/models/NodeSessionUio.d.ts +1 -1
  55. package/dist/models/WaitingForUio.d.ts +26 -0
  56. package/dist/models/WaitingForUio.js +52 -0
  57. package/dist/models/index.d.ts +24 -0
  58. package/dist/models/index.js +24 -0
  59. package/dist/openapi.json +2857 -1580
  60. package/package.json +1 -1
@@ -0,0 +1,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,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
+ * Par état, sur tout le groupe
14
+ * @export
15
+ * @interface NodeGroupEnvironmentPageCountsUio
16
+ */
17
+ export interface NodeGroupEnvironmentPageCountsUio {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof NodeGroupEnvironmentPageCountsUio
22
+ */
23
+ all: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof NodeGroupEnvironmentPageCountsUio
28
+ */
29
+ running: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof NodeGroupEnvironmentPageCountsUio
34
+ */
35
+ waiting: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof NodeGroupEnvironmentPageCountsUio
40
+ */
41
+ idle: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof NodeGroupEnvironmentPageCountsUio
46
+ */
47
+ releasing: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the NodeGroupEnvironmentPageCountsUio interface.
51
+ */
52
+ export declare function instanceOfNodeGroupEnvironmentPageCountsUio(value: object): value is NodeGroupEnvironmentPageCountsUio;
53
+ export declare function NodeGroupEnvironmentPageCountsUioFromJSON(json: any): NodeGroupEnvironmentPageCountsUio;
54
+ export declare function NodeGroupEnvironmentPageCountsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupEnvironmentPageCountsUio;
55
+ export declare function NodeGroupEnvironmentPageCountsUioToJSON(json: any): NodeGroupEnvironmentPageCountsUio;
56
+ export declare function NodeGroupEnvironmentPageCountsUioToJSONTyped(value?: NodeGroupEnvironmentPageCountsUio | 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.instanceOfNodeGroupEnvironmentPageCountsUio = instanceOfNodeGroupEnvironmentPageCountsUio;
17
+ exports.NodeGroupEnvironmentPageCountsUioFromJSON = NodeGroupEnvironmentPageCountsUioFromJSON;
18
+ exports.NodeGroupEnvironmentPageCountsUioFromJSONTyped = NodeGroupEnvironmentPageCountsUioFromJSONTyped;
19
+ exports.NodeGroupEnvironmentPageCountsUioToJSON = NodeGroupEnvironmentPageCountsUioToJSON;
20
+ exports.NodeGroupEnvironmentPageCountsUioToJSONTyped = NodeGroupEnvironmentPageCountsUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupEnvironmentPageCountsUio interface.
23
+ */
24
+ function instanceOfNodeGroupEnvironmentPageCountsUio(value) {
25
+ if (!('all' in value) || value['all'] === undefined)
26
+ return false;
27
+ if (!('running' in value) || value['running'] === undefined)
28
+ return false;
29
+ if (!('waiting' in value) || value['waiting'] === undefined)
30
+ return false;
31
+ if (!('idle' in value) || value['idle'] === undefined)
32
+ return false;
33
+ if (!('releasing' in value) || value['releasing'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function NodeGroupEnvironmentPageCountsUioFromJSON(json) {
38
+ return NodeGroupEnvironmentPageCountsUioFromJSONTyped(json, false);
39
+ }
40
+ function NodeGroupEnvironmentPageCountsUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'all': json['all'],
46
+ 'running': json['running'],
47
+ 'waiting': json['waiting'],
48
+ 'idle': json['idle'],
49
+ 'releasing': json['releasing'],
50
+ };
51
+ }
52
+ function NodeGroupEnvironmentPageCountsUioToJSON(json) {
53
+ return NodeGroupEnvironmentPageCountsUioToJSONTyped(json, false);
54
+ }
55
+ function NodeGroupEnvironmentPageCountsUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'all': value['all'],
61
+ 'running': value['running'],
62
+ 'waiting': value['waiting'],
63
+ 'idle': value['idle'],
64
+ 'releasing': value['releasing'],
65
+ };
66
+ }
@@ -0,0 +1,52 @@
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 { NodeGroupEnvironmentPageCountsUio } from './NodeGroupEnvironmentPageCountsUio';
13
+ import type { NodeGroupEnvironmentUio } from './NodeGroupEnvironmentUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface NodeGroupEnvironmentPageUio
18
+ */
19
+ export interface NodeGroupEnvironmentPageUio {
20
+ /**
21
+ *
22
+ * @type {NodeGroupEnvironmentPageCountsUio}
23
+ * @memberof NodeGroupEnvironmentPageUio
24
+ */
25
+ counts: NodeGroupEnvironmentPageCountsUio;
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof NodeGroupEnvironmentPageUio
30
+ */
31
+ hiddenCount: number;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof NodeGroupEnvironmentPageUio
36
+ */
37
+ total: number;
38
+ /**
39
+ *
40
+ * @type {Array<NodeGroupEnvironmentUio>}
41
+ * @memberof NodeGroupEnvironmentPageUio
42
+ */
43
+ items: Array<NodeGroupEnvironmentUio>;
44
+ }
45
+ /**
46
+ * Check if a given object implements the NodeGroupEnvironmentPageUio interface.
47
+ */
48
+ export declare function instanceOfNodeGroupEnvironmentPageUio(value: object): value is NodeGroupEnvironmentPageUio;
49
+ export declare function NodeGroupEnvironmentPageUioFromJSON(json: any): NodeGroupEnvironmentPageUio;
50
+ export declare function NodeGroupEnvironmentPageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupEnvironmentPageUio;
51
+ export declare function NodeGroupEnvironmentPageUioToJSON(json: any): NodeGroupEnvironmentPageUio;
52
+ export declare function NodeGroupEnvironmentPageUioToJSONTyped(value?: NodeGroupEnvironmentPageUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfNodeGroupEnvironmentPageUio = instanceOfNodeGroupEnvironmentPageUio;
17
+ exports.NodeGroupEnvironmentPageUioFromJSON = NodeGroupEnvironmentPageUioFromJSON;
18
+ exports.NodeGroupEnvironmentPageUioFromJSONTyped = NodeGroupEnvironmentPageUioFromJSONTyped;
19
+ exports.NodeGroupEnvironmentPageUioToJSON = NodeGroupEnvironmentPageUioToJSON;
20
+ exports.NodeGroupEnvironmentPageUioToJSONTyped = NodeGroupEnvironmentPageUioToJSONTyped;
21
+ const NodeGroupEnvironmentPageCountsUio_1 = require("./NodeGroupEnvironmentPageCountsUio");
22
+ const NodeGroupEnvironmentUio_1 = require("./NodeGroupEnvironmentUio");
23
+ /**
24
+ * Check if a given object implements the NodeGroupEnvironmentPageUio interface.
25
+ */
26
+ function instanceOfNodeGroupEnvironmentPageUio(value) {
27
+ if (!('counts' in value) || value['counts'] === undefined)
28
+ return false;
29
+ if (!('hiddenCount' in value) || value['hiddenCount'] === undefined)
30
+ return false;
31
+ if (!('total' in value) || value['total'] === undefined)
32
+ return false;
33
+ if (!('items' in value) || value['items'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function NodeGroupEnvironmentPageUioFromJSON(json) {
38
+ return NodeGroupEnvironmentPageUioFromJSONTyped(json, false);
39
+ }
40
+ function NodeGroupEnvironmentPageUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'counts': (0, NodeGroupEnvironmentPageCountsUio_1.NodeGroupEnvironmentPageCountsUioFromJSON)(json['counts']),
46
+ 'hiddenCount': json['hiddenCount'],
47
+ 'total': json['total'],
48
+ 'items': (json['items'].map(NodeGroupEnvironmentUio_1.NodeGroupEnvironmentUioFromJSON)),
49
+ };
50
+ }
51
+ function NodeGroupEnvironmentPageUioToJSON(json) {
52
+ return NodeGroupEnvironmentPageUioToJSONTyped(json, false);
53
+ }
54
+ function NodeGroupEnvironmentPageUioToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'counts': (0, NodeGroupEnvironmentPageCountsUio_1.NodeGroupEnvironmentPageCountsUioToJSON)(value['counts']),
60
+ 'hiddenCount': value['hiddenCount'],
61
+ 'total': value['total'],
62
+ 'items': (value['items'].map(NodeGroupEnvironmentUio_1.NodeGroupEnvironmentUioToJSON)),
63
+ };
64
+ }
@@ -0,0 +1,45 @@
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 NodeGroupEnvironmentReleaseFilterUio
16
+ */
17
+ export interface NodeGroupEnvironmentReleaseFilterUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeGroupEnvironmentReleaseFilterUio
22
+ */
23
+ state: NodeGroupEnvironmentReleaseFilterUioStateEnum;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof NodeGroupEnvironmentReleaseFilterUio
28
+ */
29
+ idleBefore?: Date;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const NodeGroupEnvironmentReleaseFilterUioStateEnum: {
35
+ readonly Idle: "idle";
36
+ };
37
+ export type NodeGroupEnvironmentReleaseFilterUioStateEnum = typeof NodeGroupEnvironmentReleaseFilterUioStateEnum[keyof typeof NodeGroupEnvironmentReleaseFilterUioStateEnum];
38
+ /**
39
+ * Check if a given object implements the NodeGroupEnvironmentReleaseFilterUio interface.
40
+ */
41
+ export declare function instanceOfNodeGroupEnvironmentReleaseFilterUio(value: object): value is NodeGroupEnvironmentReleaseFilterUio;
42
+ export declare function NodeGroupEnvironmentReleaseFilterUioFromJSON(json: any): NodeGroupEnvironmentReleaseFilterUio;
43
+ export declare function NodeGroupEnvironmentReleaseFilterUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupEnvironmentReleaseFilterUio;
44
+ export declare function NodeGroupEnvironmentReleaseFilterUioToJSON(json: any): NodeGroupEnvironmentReleaseFilterUio;
45
+ export declare function NodeGroupEnvironmentReleaseFilterUioToJSONTyped(value?: NodeGroupEnvironmentReleaseFilterUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.NodeGroupEnvironmentReleaseFilterUioStateEnum = void 0;
17
+ exports.instanceOfNodeGroupEnvironmentReleaseFilterUio = instanceOfNodeGroupEnvironmentReleaseFilterUio;
18
+ exports.NodeGroupEnvironmentReleaseFilterUioFromJSON = NodeGroupEnvironmentReleaseFilterUioFromJSON;
19
+ exports.NodeGroupEnvironmentReleaseFilterUioFromJSONTyped = NodeGroupEnvironmentReleaseFilterUioFromJSONTyped;
20
+ exports.NodeGroupEnvironmentReleaseFilterUioToJSON = NodeGroupEnvironmentReleaseFilterUioToJSON;
21
+ exports.NodeGroupEnvironmentReleaseFilterUioToJSONTyped = NodeGroupEnvironmentReleaseFilterUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NodeGroupEnvironmentReleaseFilterUioStateEnum = {
26
+ Idle: 'idle'
27
+ };
28
+ /**
29
+ * Check if a given object implements the NodeGroupEnvironmentReleaseFilterUio interface.
30
+ */
31
+ function instanceOfNodeGroupEnvironmentReleaseFilterUio(value) {
32
+ if (!('state' in value) || value['state'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function NodeGroupEnvironmentReleaseFilterUioFromJSON(json) {
37
+ return NodeGroupEnvironmentReleaseFilterUioFromJSONTyped(json, false);
38
+ }
39
+ function NodeGroupEnvironmentReleaseFilterUioFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'state': json['state'],
45
+ 'idleBefore': json['idleBefore'] == null ? undefined : (new Date(json['idleBefore'])),
46
+ };
47
+ }
48
+ function NodeGroupEnvironmentReleaseFilterUioToJSON(json) {
49
+ return NodeGroupEnvironmentReleaseFilterUioToJSONTyped(json, false);
50
+ }
51
+ function NodeGroupEnvironmentReleaseFilterUioToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'state': value['state'],
57
+ 'idleBefore': value['idleBefore'] == null ? undefined : ((value['idleBefore']).toISOString()),
58
+ };
59
+ }
@@ -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 { NodeGroupEnvironmentReleaseFilterUio } from './NodeGroupEnvironmentReleaseFilterUio';
13
+ /**
14
+ * `{ ids }` libère ces environnements ; `{ filter: { state: idle, idleBefore? } }` libère tous les environnements inactifs (sans exécution) du groupe, inactifs depuis `idleBefore` si donné.
15
+ * @export
16
+ * @interface NodeGroupEnvironmentReleaseUio
17
+ */
18
+ export interface NodeGroupEnvironmentReleaseUio {
19
+ /**
20
+ *
21
+ * @type {Array<string>}
22
+ * @memberof NodeGroupEnvironmentReleaseUio
23
+ */
24
+ ids?: Array<string>;
25
+ /**
26
+ *
27
+ * @type {NodeGroupEnvironmentReleaseFilterUio}
28
+ * @memberof NodeGroupEnvironmentReleaseUio
29
+ */
30
+ filter?: NodeGroupEnvironmentReleaseFilterUio;
31
+ }
32
+ /**
33
+ * Check if a given object implements the NodeGroupEnvironmentReleaseUio interface.
34
+ */
35
+ export declare function instanceOfNodeGroupEnvironmentReleaseUio(value: object): value is NodeGroupEnvironmentReleaseUio;
36
+ export declare function NodeGroupEnvironmentReleaseUioFromJSON(json: any): NodeGroupEnvironmentReleaseUio;
37
+ export declare function NodeGroupEnvironmentReleaseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupEnvironmentReleaseUio;
38
+ export declare function NodeGroupEnvironmentReleaseUioToJSON(json: any): NodeGroupEnvironmentReleaseUio;
39
+ export declare function NodeGroupEnvironmentReleaseUioToJSONTyped(value?: NodeGroupEnvironmentReleaseUio | 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.instanceOfNodeGroupEnvironmentReleaseUio = instanceOfNodeGroupEnvironmentReleaseUio;
17
+ exports.NodeGroupEnvironmentReleaseUioFromJSON = NodeGroupEnvironmentReleaseUioFromJSON;
18
+ exports.NodeGroupEnvironmentReleaseUioFromJSONTyped = NodeGroupEnvironmentReleaseUioFromJSONTyped;
19
+ exports.NodeGroupEnvironmentReleaseUioToJSON = NodeGroupEnvironmentReleaseUioToJSON;
20
+ exports.NodeGroupEnvironmentReleaseUioToJSONTyped = NodeGroupEnvironmentReleaseUioToJSONTyped;
21
+ const NodeGroupEnvironmentReleaseFilterUio_1 = require("./NodeGroupEnvironmentReleaseFilterUio");
22
+ /**
23
+ * Check if a given object implements the NodeGroupEnvironmentReleaseUio interface.
24
+ */
25
+ function instanceOfNodeGroupEnvironmentReleaseUio(value) {
26
+ return true;
27
+ }
28
+ function NodeGroupEnvironmentReleaseUioFromJSON(json) {
29
+ return NodeGroupEnvironmentReleaseUioFromJSONTyped(json, false);
30
+ }
31
+ function NodeGroupEnvironmentReleaseUioFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'ids': json['ids'] == null ? undefined : json['ids'],
37
+ 'filter': json['filter'] == null ? undefined : (0, NodeGroupEnvironmentReleaseFilterUio_1.NodeGroupEnvironmentReleaseFilterUioFromJSON)(json['filter']),
38
+ };
39
+ }
40
+ function NodeGroupEnvironmentReleaseUioToJSON(json) {
41
+ return NodeGroupEnvironmentReleaseUioToJSONTyped(json, false);
42
+ }
43
+ function NodeGroupEnvironmentReleaseUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'ids': value['ids'],
49
+ 'filter': (0, NodeGroupEnvironmentReleaseFilterUio_1.NodeGroupEnvironmentReleaseFilterUioToJSON)(value['filter']),
50
+ };
51
+ }
@@ -0,0 +1,140 @@
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 { NodeRefUio } from './NodeRefUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NodeGroupEnvironmentUio
17
+ */
18
+ export interface NodeGroupEnvironmentUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof NodeGroupEnvironmentUio
23
+ */
24
+ id: string;
25
+ /**
26
+ * `running` une exécution l'utilise, `waiting` une exécution l'attend, `idle` inactif, `releasing` libération demandée au nœud.
27
+ * @type {string}
28
+ * @memberof NodeGroupEnvironmentUio
29
+ */
30
+ state: NodeGroupEnvironmentUioStateEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof NodeGroupEnvironmentUio
35
+ */
36
+ agentId: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof NodeGroupEnvironmentUio
41
+ */
42
+ agentName: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof NodeGroupEnvironmentUio
47
+ */
48
+ conversationId: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof NodeGroupEnvironmentUio
53
+ */
54
+ originType: string | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof NodeGroupEnvironmentUio
59
+ */
60
+ originTitle: string | null;
61
+ /**
62
+ *
63
+ * @type {NodeRefUio}
64
+ * @memberof NodeGroupEnvironmentUio
65
+ */
66
+ node: NodeRefUio | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof NodeGroupEnvironmentUio
71
+ */
72
+ runtime: NodeGroupEnvironmentUioRuntimeEnum;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof NodeGroupEnvironmentUio
77
+ */
78
+ workspaceAlias: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof NodeGroupEnvironmentUio
83
+ */
84
+ lastUsedAt: string;
85
+ /**
86
+ * Libération automatique ; nul pendant une exécution ou si le groupe ne libère jamais
87
+ * @type {string}
88
+ * @memberof NodeGroupEnvironmentUio
89
+ */
90
+ releaseAfter: string | null;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof NodeGroupEnvironmentUio
95
+ */
96
+ releaseRequestedAt: string | null;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof NodeGroupEnvironmentUio
101
+ */
102
+ releaseReason: NodeGroupEnvironmentUioReleaseReasonEnum | null;
103
+ }
104
+ /**
105
+ * @export
106
+ */
107
+ export declare const NodeGroupEnvironmentUioStateEnum: {
108
+ readonly Running: "running";
109
+ readonly Waiting: "waiting";
110
+ readonly Idle: "idle";
111
+ readonly Releasing: "releasing";
112
+ };
113
+ export type NodeGroupEnvironmentUioStateEnum = typeof NodeGroupEnvironmentUioStateEnum[keyof typeof NodeGroupEnvironmentUioStateEnum];
114
+ /**
115
+ * @export
116
+ */
117
+ export declare const NodeGroupEnvironmentUioRuntimeEnum: {
118
+ readonly Claude: "claude";
119
+ readonly Opencode: "opencode";
120
+ };
121
+ export type NodeGroupEnvironmentUioRuntimeEnum = typeof NodeGroupEnvironmentUioRuntimeEnum[keyof typeof NodeGroupEnvironmentUioRuntimeEnum];
122
+ /**
123
+ * @export
124
+ */
125
+ export declare const NodeGroupEnvironmentUioReleaseReasonEnum: {
126
+ readonly Idle: "idle";
127
+ readonly Manual: "manual";
128
+ readonly Moved: "moved";
129
+ readonly Node: "node";
130
+ readonly Dissociated: "dissociated";
131
+ };
132
+ export type NodeGroupEnvironmentUioReleaseReasonEnum = typeof NodeGroupEnvironmentUioReleaseReasonEnum[keyof typeof NodeGroupEnvironmentUioReleaseReasonEnum];
133
+ /**
134
+ * Check if a given object implements the NodeGroupEnvironmentUio interface.
135
+ */
136
+ export declare function instanceOfNodeGroupEnvironmentUio(value: object): value is NodeGroupEnvironmentUio;
137
+ export declare function NodeGroupEnvironmentUioFromJSON(json: any): NodeGroupEnvironmentUio;
138
+ export declare function NodeGroupEnvironmentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupEnvironmentUio;
139
+ export declare function NodeGroupEnvironmentUioToJSON(json: any): NodeGroupEnvironmentUio;
140
+ export declare function NodeGroupEnvironmentUioToJSONTyped(value?: NodeGroupEnvironmentUio | null, ignoreDiscriminator?: boolean): any;