@breign/client 1.0.170 → 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 (46) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +165 -0
  2. package/dist/apis/ExecutionNodesApi.js +399 -0
  3. package/dist/apis/TicketsApi.d.ts +31 -1
  4. package/dist/apis/TicketsApi.js +74 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AgentExecutionNodeChoiceUio.d.ts +58 -0
  8. package/dist/models/AgentExecutionNodeChoiceUio.js +68 -0
  9. package/dist/models/AgentExecutionNodeUio.d.ts +50 -0
  10. package/dist/models/AgentExecutionNodeUio.js +62 -0
  11. package/dist/models/AgentExecutionUio.d.ts +80 -0
  12. package/dist/models/AgentExecutionUio.js +79 -0
  13. package/dist/models/ExecutionNodeAgentUio.d.ts +82 -0
  14. package/dist/models/ExecutionNodeAgentUio.js +86 -0
  15. package/dist/models/ExecutionNodeDetailUio.d.ts +111 -0
  16. package/dist/models/ExecutionNodeDetailUio.js +107 -0
  17. package/dist/models/ExecutionNodeRuntimeUio.d.ts +46 -0
  18. package/dist/models/ExecutionNodeRuntimeUio.js +60 -0
  19. package/dist/models/ExecutionNodeUio.d.ts +104 -0
  20. package/dist/models/ExecutionNodeUio.js +100 -0
  21. package/dist/models/ExecutionNodeWorkspaceUio.d.ts +38 -0
  22. package/dist/models/ExecutionNodeWorkspaceUio.js +54 -0
  23. package/dist/models/NodeSessionDetailUio.d.ts +133 -0
  24. package/dist/models/NodeSessionDetailUio.js +113 -0
  25. package/dist/models/NodeSessionLogEntryUio.d.ts +58 -0
  26. package/dist/models/NodeSessionLogEntryUio.js +70 -0
  27. package/dist/models/NodeSessionLogsUio.d.ts +51 -0
  28. package/dist/models/NodeSessionLogsUio.js +63 -0
  29. package/dist/models/NodeSessionMetricsUio.d.ts +74 -0
  30. package/dist/models/NodeSessionMetricsUio.js +62 -0
  31. package/dist/models/NodeSessionProgressUio.d.ts +44 -0
  32. package/dist/models/NodeSessionProgressUio.js +54 -0
  33. package/dist/models/NodeSessionStateUio.d.ts +29 -0
  34. package/dist/models/NodeSessionStateUio.js +55 -0
  35. package/dist/models/NodeSessionUio.d.ts +127 -0
  36. package/dist/models/NodeSessionUio.js +111 -0
  37. package/dist/models/NodeTurnCancelResultUio.d.ts +32 -0
  38. package/dist/models/NodeTurnCancelResultUio.js +50 -0
  39. package/dist/models/SaveTicketArtifactVersionRequestUio.d.ts +32 -0
  40. package/dist/models/SaveTicketArtifactVersionRequestUio.js +50 -0
  41. package/dist/models/SetAgentExecutionRequestUio.d.ts +72 -0
  42. package/dist/models/SetAgentExecutionRequestUio.js +73 -0
  43. package/dist/models/index.d.ts +18 -0
  44. package/dist/models/index.js +18 -0
  45. package/dist/openapi.json +3053 -2001
  46. package/package.json +1 -1
@@ -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.instanceOfNodeSessionProgressUio = instanceOfNodeSessionProgressUio;
17
+ exports.NodeSessionProgressUioFromJSON = NodeSessionProgressUioFromJSON;
18
+ exports.NodeSessionProgressUioFromJSONTyped = NodeSessionProgressUioFromJSONTyped;
19
+ exports.NodeSessionProgressUioToJSON = NodeSessionProgressUioToJSON;
20
+ exports.NodeSessionProgressUioToJSONTyped = NodeSessionProgressUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeSessionProgressUio interface.
23
+ */
24
+ function instanceOfNodeSessionProgressUio(value) {
25
+ if (!('label' in value) || value['label'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function NodeSessionProgressUioFromJSON(json) {
30
+ return NodeSessionProgressUioFromJSONTyped(json, false);
31
+ }
32
+ function NodeSessionProgressUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'label': json['label'],
38
+ 'step': json['step'] == null ? undefined : json['step'],
39
+ 'total': json['total'] == null ? undefined : json['total'],
40
+ };
41
+ }
42
+ function NodeSessionProgressUioToJSON(json) {
43
+ return NodeSessionProgressUioToJSONTyped(json, false);
44
+ }
45
+ function NodeSessionProgressUioToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'label': value['label'],
51
+ 'step': value['step'],
52
+ 'total': value['total'],
53
+ };
54
+ }
@@ -0,0 +1,29 @@
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
+ * `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
14
+ * @export
15
+ */
16
+ export declare const NodeSessionStateUio: {
17
+ readonly Dispatching: "dispatching";
18
+ readonly Queued: "queued";
19
+ readonly Running: "running";
20
+ readonly Interrupted: "interrupted";
21
+ readonly Finished: "finished";
22
+ readonly Failed: "failed";
23
+ };
24
+ export type NodeSessionStateUio = typeof NodeSessionStateUio[keyof typeof NodeSessionStateUio];
25
+ export declare function instanceOfNodeSessionStateUio(value: any): boolean;
26
+ export declare function NodeSessionStateUioFromJSON(json: any): NodeSessionStateUio;
27
+ export declare function NodeSessionStateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
28
+ export declare function NodeSessionStateUioToJSON(value?: NodeSessionStateUio | null): any;
29
+ export declare function NodeSessionStateUioToJSONTyped(value: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
@@ -0,0 +1,55 @@
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.NodeSessionStateUio = void 0;
17
+ exports.instanceOfNodeSessionStateUio = instanceOfNodeSessionStateUio;
18
+ exports.NodeSessionStateUioFromJSON = NodeSessionStateUioFromJSON;
19
+ exports.NodeSessionStateUioFromJSONTyped = NodeSessionStateUioFromJSONTyped;
20
+ exports.NodeSessionStateUioToJSON = NodeSessionStateUioToJSON;
21
+ exports.NodeSessionStateUioToJSONTyped = NodeSessionStateUioToJSONTyped;
22
+ /**
23
+ * `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
24
+ * @export
25
+ */
26
+ exports.NodeSessionStateUio = {
27
+ Dispatching: 'dispatching',
28
+ Queued: 'queued',
29
+ Running: 'running',
30
+ Interrupted: 'interrupted',
31
+ Finished: 'finished',
32
+ Failed: 'failed'
33
+ };
34
+ function instanceOfNodeSessionStateUio(value) {
35
+ for (const key in exports.NodeSessionStateUio) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.NodeSessionStateUio, key)) {
37
+ if (exports.NodeSessionStateUio[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function NodeSessionStateUioFromJSON(json) {
45
+ return NodeSessionStateUioFromJSONTyped(json, false);
46
+ }
47
+ function NodeSessionStateUioFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function NodeSessionStateUioToJSON(value) {
51
+ return value;
52
+ }
53
+ function NodeSessionStateUioToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -0,0 +1,127 @@
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 { NodeSessionMetricsUio } from './NodeSessionMetricsUio';
13
+ import type { NodeSessionStateUio } from './NodeSessionStateUio';
14
+ import type { NodeSessionProgressUio } from './NodeSessionProgressUio';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface NodeSessionUio
19
+ */
20
+ export interface NodeSessionUio {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof NodeSessionUio
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof NodeSessionUio
31
+ */
32
+ agentId: string;
33
+ /**
34
+ * Nom de l'agent, résolu par l'API ; null pour un agent supprimé.
35
+ * @type {string}
36
+ * @memberof NodeSessionUio
37
+ */
38
+ agentName: string | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof NodeSessionUio
43
+ */
44
+ conversationId: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof NodeSessionUio
49
+ */
50
+ responseMessageId?: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof NodeSessionUio
55
+ */
56
+ runtime: NodeSessionUioRuntimeEnum;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof NodeSessionUio
61
+ */
62
+ workspaceAlias: string;
63
+ /**
64
+ *
65
+ * @type {NodeSessionStateUio}
66
+ * @memberof NodeSessionUio
67
+ */
68
+ state: NodeSessionStateUio;
69
+ /**
70
+ * Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
71
+ * @type {string}
72
+ * @memberof NodeSessionUio
73
+ */
74
+ reason: string | null;
75
+ /**
76
+ *
77
+ * @type {NodeSessionMetricsUio}
78
+ * @memberof NodeSessionUio
79
+ */
80
+ metrics: NodeSessionMetricsUio | null;
81
+ /**
82
+ *
83
+ * @type {NodeSessionProgressUio}
84
+ * @memberof NodeSessionUio
85
+ */
86
+ progress: NodeSessionProgressUio | null;
87
+ /**
88
+ *
89
+ * @type {boolean}
90
+ * @memberof NodeSessionUio
91
+ */
92
+ autoResumed?: boolean;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof NodeSessionUio
97
+ */
98
+ lastFrameAt?: string | null;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof NodeSessionUio
103
+ */
104
+ createdAt: string;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof NodeSessionUio
109
+ */
110
+ updatedAt: string;
111
+ }
112
+ /**
113
+ * @export
114
+ */
115
+ export declare const NodeSessionUioRuntimeEnum: {
116
+ readonly Claude: "claude";
117
+ readonly Opencode: "opencode";
118
+ };
119
+ export type NodeSessionUioRuntimeEnum = typeof NodeSessionUioRuntimeEnum[keyof typeof NodeSessionUioRuntimeEnum];
120
+ /**
121
+ * Check if a given object implements the NodeSessionUio interface.
122
+ */
123
+ export declare function instanceOfNodeSessionUio(value: object): value is NodeSessionUio;
124
+ export declare function NodeSessionUioFromJSON(json: any): NodeSessionUio;
125
+ export declare function NodeSessionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionUio;
126
+ export declare function NodeSessionUioToJSON(json: any): NodeSessionUio;
127
+ export declare function NodeSessionUioToJSONTyped(value?: NodeSessionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,111 @@
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.NodeSessionUioRuntimeEnum = void 0;
17
+ exports.instanceOfNodeSessionUio = instanceOfNodeSessionUio;
18
+ exports.NodeSessionUioFromJSON = NodeSessionUioFromJSON;
19
+ exports.NodeSessionUioFromJSONTyped = NodeSessionUioFromJSONTyped;
20
+ exports.NodeSessionUioToJSON = NodeSessionUioToJSON;
21
+ exports.NodeSessionUioToJSONTyped = NodeSessionUioToJSONTyped;
22
+ const NodeSessionMetricsUio_1 = require("./NodeSessionMetricsUio");
23
+ const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
24
+ const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.NodeSessionUioRuntimeEnum = {
29
+ Claude: 'claude',
30
+ Opencode: 'opencode'
31
+ };
32
+ /**
33
+ * Check if a given object implements the NodeSessionUio interface.
34
+ */
35
+ function instanceOfNodeSessionUio(value) {
36
+ if (!('id' in value) || value['id'] === undefined)
37
+ return false;
38
+ if (!('agentId' in value) || value['agentId'] === undefined)
39
+ return false;
40
+ if (!('agentName' in value) || value['agentName'] === undefined)
41
+ return false;
42
+ if (!('conversationId' in value) || value['conversationId'] === undefined)
43
+ return false;
44
+ if (!('runtime' in value) || value['runtime'] === undefined)
45
+ return false;
46
+ if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
47
+ return false;
48
+ if (!('state' in value) || value['state'] === undefined)
49
+ return false;
50
+ if (!('reason' in value) || value['reason'] === undefined)
51
+ return false;
52
+ if (!('metrics' in value) || value['metrics'] === undefined)
53
+ return false;
54
+ if (!('progress' in value) || value['progress'] === undefined)
55
+ return false;
56
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
57
+ return false;
58
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
59
+ return false;
60
+ return true;
61
+ }
62
+ function NodeSessionUioFromJSON(json) {
63
+ return NodeSessionUioFromJSONTyped(json, false);
64
+ }
65
+ function NodeSessionUioFromJSONTyped(json, ignoreDiscriminator) {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+ 'id': json['id'],
71
+ 'agentId': json['agentId'],
72
+ 'agentName': json['agentName'],
73
+ 'conversationId': json['conversationId'],
74
+ 'responseMessageId': json['responseMessageId'] == null ? undefined : json['responseMessageId'],
75
+ 'runtime': json['runtime'],
76
+ 'workspaceAlias': json['workspaceAlias'],
77
+ 'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
78
+ 'reason': json['reason'],
79
+ 'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioFromJSON)(json['metrics']),
80
+ 'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioFromJSON)(json['progress']),
81
+ 'autoResumed': json['autoResumed'] == null ? undefined : json['autoResumed'],
82
+ 'lastFrameAt': json['lastFrameAt'] == null ? undefined : json['lastFrameAt'],
83
+ 'createdAt': json['createdAt'],
84
+ 'updatedAt': json['updatedAt'],
85
+ };
86
+ }
87
+ function NodeSessionUioToJSON(json) {
88
+ return NodeSessionUioToJSONTyped(json, false);
89
+ }
90
+ function NodeSessionUioToJSONTyped(value, ignoreDiscriminator = false) {
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+ return {
95
+ 'id': value['id'],
96
+ 'agentId': value['agentId'],
97
+ 'agentName': value['agentName'],
98
+ 'conversationId': value['conversationId'],
99
+ 'responseMessageId': value['responseMessageId'],
100
+ 'runtime': value['runtime'],
101
+ 'workspaceAlias': value['workspaceAlias'],
102
+ 'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
103
+ 'reason': value['reason'],
104
+ 'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioToJSON)(value['metrics']),
105
+ 'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
106
+ 'autoResumed': value['autoResumed'],
107
+ 'lastFrameAt': value['lastFrameAt'],
108
+ 'createdAt': value['createdAt'],
109
+ 'updatedAt': value['updatedAt'],
110
+ };
111
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface NodeTurnCancelResultUio
16
+ */
17
+ export interface NodeTurnCancelResultUio {
18
+ /**
19
+ * Faux quand le message n'a pas de tour ouvert sur un nœud
20
+ * @type {boolean}
21
+ * @memberof NodeTurnCancelResultUio
22
+ */
23
+ cancelled: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the NodeTurnCancelResultUio interface.
27
+ */
28
+ export declare function instanceOfNodeTurnCancelResultUio(value: object): value is NodeTurnCancelResultUio;
29
+ export declare function NodeTurnCancelResultUioFromJSON(json: any): NodeTurnCancelResultUio;
30
+ export declare function NodeTurnCancelResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeTurnCancelResultUio;
31
+ export declare function NodeTurnCancelResultUioToJSON(json: any): NodeTurnCancelResultUio;
32
+ export declare function NodeTurnCancelResultUioToJSONTyped(value?: NodeTurnCancelResultUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNodeTurnCancelResultUio = instanceOfNodeTurnCancelResultUio;
17
+ exports.NodeTurnCancelResultUioFromJSON = NodeTurnCancelResultUioFromJSON;
18
+ exports.NodeTurnCancelResultUioFromJSONTyped = NodeTurnCancelResultUioFromJSONTyped;
19
+ exports.NodeTurnCancelResultUioToJSON = NodeTurnCancelResultUioToJSON;
20
+ exports.NodeTurnCancelResultUioToJSONTyped = NodeTurnCancelResultUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeTurnCancelResultUio interface.
23
+ */
24
+ function instanceOfNodeTurnCancelResultUio(value) {
25
+ if (!('cancelled' in value) || value['cancelled'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function NodeTurnCancelResultUioFromJSON(json) {
30
+ return NodeTurnCancelResultUioFromJSONTyped(json, false);
31
+ }
32
+ function NodeTurnCancelResultUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'cancelled': json['cancelled'],
38
+ };
39
+ }
40
+ function NodeTurnCancelResultUioToJSON(json) {
41
+ return NodeTurnCancelResultUioToJSONTyped(json, false);
42
+ }
43
+ function NodeTurnCancelResultUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'cancelled': value['cancelled'],
49
+ };
50
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SaveTicketArtifactVersionRequestUio
16
+ */
17
+ export interface SaveTicketArtifactVersionRequestUio {
18
+ /**
19
+ * Le texte complet de la nouvelle version
20
+ * @type {string}
21
+ * @memberof SaveTicketArtifactVersionRequestUio
22
+ */
23
+ content: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SaveTicketArtifactVersionRequestUio interface.
27
+ */
28
+ export declare function instanceOfSaveTicketArtifactVersionRequestUio(value: object): value is SaveTicketArtifactVersionRequestUio;
29
+ export declare function SaveTicketArtifactVersionRequestUioFromJSON(json: any): SaveTicketArtifactVersionRequestUio;
30
+ export declare function SaveTicketArtifactVersionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveTicketArtifactVersionRequestUio;
31
+ export declare function SaveTicketArtifactVersionRequestUioToJSON(json: any): SaveTicketArtifactVersionRequestUio;
32
+ export declare function SaveTicketArtifactVersionRequestUioToJSONTyped(value?: SaveTicketArtifactVersionRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSaveTicketArtifactVersionRequestUio = instanceOfSaveTicketArtifactVersionRequestUio;
17
+ exports.SaveTicketArtifactVersionRequestUioFromJSON = SaveTicketArtifactVersionRequestUioFromJSON;
18
+ exports.SaveTicketArtifactVersionRequestUioFromJSONTyped = SaveTicketArtifactVersionRequestUioFromJSONTyped;
19
+ exports.SaveTicketArtifactVersionRequestUioToJSON = SaveTicketArtifactVersionRequestUioToJSON;
20
+ exports.SaveTicketArtifactVersionRequestUioToJSONTyped = SaveTicketArtifactVersionRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SaveTicketArtifactVersionRequestUio interface.
23
+ */
24
+ function instanceOfSaveTicketArtifactVersionRequestUio(value) {
25
+ if (!('content' in value) || value['content'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SaveTicketArtifactVersionRequestUioFromJSON(json) {
30
+ return SaveTicketArtifactVersionRequestUioFromJSONTyped(json, false);
31
+ }
32
+ function SaveTicketArtifactVersionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'content': json['content'],
38
+ };
39
+ }
40
+ function SaveTicketArtifactVersionRequestUioToJSON(json) {
41
+ return SaveTicketArtifactVersionRequestUioToJSONTyped(json, false);
42
+ }
43
+ function SaveTicketArtifactVersionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'content': value['content'],
49
+ };
50
+ }
@@ -0,0 +1,72 @@
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
+ * `{ mode: server }` ramène l'agent sur le serveur Breign. `{ mode: node, … }` le fait tourner sur un nœud ; seul son propriétaire peut le choisir, sur un runtime et un alias déclarés.
14
+ * @export
15
+ * @interface SetAgentExecutionRequestUio
16
+ */
17
+ export interface SetAgentExecutionRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SetAgentExecutionRequestUio
22
+ */
23
+ mode: SetAgentExecutionRequestUioModeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SetAgentExecutionRequestUio
28
+ */
29
+ nodeId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SetAgentExecutionRequestUio
34
+ */
35
+ runtime?: SetAgentExecutionRequestUioRuntimeEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SetAgentExecutionRequestUio
40
+ */
41
+ workspaceAlias?: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof SetAgentExecutionRequestUio
46
+ */
47
+ autoResume?: boolean;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const SetAgentExecutionRequestUioModeEnum: {
53
+ readonly Server: "server";
54
+ readonly Node: "node";
55
+ };
56
+ export type SetAgentExecutionRequestUioModeEnum = typeof SetAgentExecutionRequestUioModeEnum[keyof typeof SetAgentExecutionRequestUioModeEnum];
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const SetAgentExecutionRequestUioRuntimeEnum: {
61
+ readonly Claude: "claude";
62
+ readonly Opencode: "opencode";
63
+ };
64
+ export type SetAgentExecutionRequestUioRuntimeEnum = typeof SetAgentExecutionRequestUioRuntimeEnum[keyof typeof SetAgentExecutionRequestUioRuntimeEnum];
65
+ /**
66
+ * Check if a given object implements the SetAgentExecutionRequestUio interface.
67
+ */
68
+ export declare function instanceOfSetAgentExecutionRequestUio(value: object): value is SetAgentExecutionRequestUio;
69
+ export declare function SetAgentExecutionRequestUioFromJSON(json: any): SetAgentExecutionRequestUio;
70
+ export declare function SetAgentExecutionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetAgentExecutionRequestUio;
71
+ export declare function SetAgentExecutionRequestUioToJSON(json: any): SetAgentExecutionRequestUio;
72
+ export declare function SetAgentExecutionRequestUioToJSONTyped(value?: SetAgentExecutionRequestUio | null, ignoreDiscriminator?: boolean): any;