@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,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,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
+ }