@breign/client 1.0.212 → 1.0.214

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 (62) hide show
  1. package/README.md +1 -5
  2. package/dist/apis/GitApi.d.ts +166 -0
  3. package/dist/apis/GitApi.js +406 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/models/AgentExecutionGroupChoiceUio.d.ts +6 -0
  7. package/dist/models/AgentExecutionGroupChoiceUio.js +2 -0
  8. package/dist/models/AgentExecutionNodeChoiceUio.d.ts +6 -0
  9. package/dist/models/AgentExecutionNodeChoiceUio.js +2 -0
  10. package/dist/models/AgentExecutionUio.d.ts +7 -0
  11. package/dist/models/AgentExecutionUio.js +3 -0
  12. package/dist/models/AgentPatchUio.d.ts +7 -0
  13. package/dist/models/AgentPatchUio.js +3 -0
  14. package/dist/models/AgentSubtaskConfigurationUio.d.ts +39 -0
  15. package/dist/models/AgentSubtaskConfigurationUio.js +51 -0
  16. package/dist/models/AgentSubtaskModelUio.d.ts +38 -0
  17. package/dist/models/AgentSubtaskModelUio.js +54 -0
  18. package/dist/models/AgentUio.d.ts +7 -0
  19. package/dist/models/AgentUio.js +3 -0
  20. package/dist/models/AppUio.d.ts +3 -3
  21. package/dist/models/AppUio.js +2 -2
  22. package/dist/models/AppUpdateRequestUio.d.ts +1 -1
  23. package/dist/models/GitBotConnectionCreateUio.d.ts +38 -0
  24. package/dist/models/GitBotConnectionCreateUio.js +52 -0
  25. package/dist/models/GitConnectionKindUio.d.ts +26 -0
  26. package/dist/models/GitConnectionKindUio.js +52 -0
  27. package/dist/models/GitConnectionUio.d.ts +115 -0
  28. package/dist/models/GitConnectionUio.js +101 -0
  29. package/dist/models/GitGithubAppConnectionCreateUio.d.ts +56 -0
  30. package/dist/models/GitGithubAppConnectionCreateUio.js +62 -0
  31. package/dist/models/GitOAuthAppCreateUio.d.ts +51 -0
  32. package/dist/models/GitOAuthAppCreateUio.js +63 -0
  33. package/dist/models/GitOAuthAppUio.d.ts +81 -0
  34. package/dist/models/GitOAuthAppUio.js +77 -0
  35. package/dist/models/GitOAuthAppUpdateUio.d.ts +38 -0
  36. package/dist/models/GitOAuthAppUpdateUio.js +50 -0
  37. package/dist/models/GitOAuthAuthorizeRequestUio.d.ts +32 -0
  38. package/dist/models/GitOAuthAuthorizeRequestUio.js +48 -0
  39. package/dist/models/GitOAuthAuthorizeResponseUio.d.ts +32 -0
  40. package/dist/models/GitOAuthAuthorizeResponseUio.js +50 -0
  41. package/dist/models/GitOAuthCompleteRequestUio.d.ts +38 -0
  42. package/dist/models/GitOAuthCompleteRequestUio.js +54 -0
  43. package/dist/models/GitOAuthCompleteResponseUio.d.ts +39 -0
  44. package/dist/models/GitOAuthCompleteResponseUio.js +55 -0
  45. package/dist/models/GitOAuthConfigUio.d.ts +32 -0
  46. package/dist/models/GitOAuthConfigUio.js +50 -0
  47. package/dist/models/GitProviderUio.d.ts +25 -0
  48. package/dist/models/GitProviderUio.js +51 -0
  49. package/dist/models/NodeAgentGitConfigAuthorUio.d.ts +38 -0
  50. package/dist/models/NodeAgentGitConfigAuthorUio.js +54 -0
  51. package/dist/models/NodeAgentGitConfigUio.d.ts +46 -0
  52. package/dist/models/NodeAgentGitConfigUio.js +56 -0
  53. package/dist/models/NodeGitRepositoryConnectionUio.d.ts +46 -0
  54. package/dist/models/NodeGitRepositoryConnectionUio.js +60 -0
  55. package/dist/models/NodeGitRepositoryUio.d.ts +79 -0
  56. package/dist/models/NodeGitRepositoryUio.js +82 -0
  57. package/dist/models/SetAgentExecutionRequestUio.d.ts +8 -1
  58. package/dist/models/SetAgentExecutionRequestUio.js +3 -0
  59. package/dist/models/index.d.ts +19 -0
  60. package/dist/models/index.js +19 -0
  61. package/dist/openapi.json +824 -2
  62. package/package.json +1 -1
@@ -49,6 +49,7 @@ function AgentExecutionNodeChoiceUioFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'connected': json['connected'],
50
50
  'runtimes': (json['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioFromJSON)),
51
51
  'workspaces': (json['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioFromJSON)),
52
+ 'git': json['git'] == null ? undefined : json['git'],
52
53
  };
53
54
  }
54
55
  function AgentExecutionNodeChoiceUioToJSON(json) {
@@ -64,5 +65,6 @@ function AgentExecutionNodeChoiceUioToJSONTyped(value, ignoreDiscriminator = fal
64
65
  'connected': value['connected'],
65
66
  'runtimes': (value['runtimes'].map(ExecutionNodeRuntimeUio_1.ExecutionNodeRuntimeUioToJSON)),
66
67
  'workspaces': (value['workspaces'].map(ExecutionNodeWorkspaceUio_1.ExecutionNodeWorkspaceUioToJSON)),
68
+ 'git': value['git'],
67
69
  };
68
70
  }
@@ -12,6 +12,7 @@
12
12
  import type { AgentExecutionNodeChoiceUio } from './AgentExecutionNodeChoiceUio';
13
13
  import type { AgentExecutionGroupUio } from './AgentExecutionGroupUio';
14
14
  import type { AgentExecutionGroupChoiceUio } from './AgentExecutionGroupChoiceUio';
15
+ import type { NodeAgentGitConfigUio } from './NodeAgentGitConfigUio';
15
16
  import type { AgentExecutionNodeUio } from './AgentExecutionNodeUio';
16
17
  /**
17
18
  *
@@ -67,6 +68,12 @@ export interface AgentExecutionUio {
67
68
  * @memberof AgentExecutionUio
68
69
  */
69
70
  autoResume?: boolean;
71
+ /**
72
+ * Modes node et group — les dépôts Git de l'agent ; nul s'il travaille dans un dossier du nœud.
73
+ * @type {NodeAgentGitConfigUio}
74
+ * @memberof AgentExecutionUio
75
+ */
76
+ git?: NodeAgentGitConfigUio | null;
70
77
  /**
71
78
  *
72
79
  * @type {Array<AgentExecutionNodeChoiceUio>}
@@ -22,6 +22,7 @@ exports.AgentExecutionUioToJSONTyped = AgentExecutionUioToJSONTyped;
22
22
  const AgentExecutionNodeChoiceUio_1 = require("./AgentExecutionNodeChoiceUio");
23
23
  const AgentExecutionGroupUio_1 = require("./AgentExecutionGroupUio");
24
24
  const AgentExecutionGroupChoiceUio_1 = require("./AgentExecutionGroupChoiceUio");
25
+ const NodeAgentGitConfigUio_1 = require("./NodeAgentGitConfigUio");
25
26
  const AgentExecutionNodeUio_1 = require("./AgentExecutionNodeUio");
26
27
  /**
27
28
  * @export
@@ -67,6 +68,7 @@ function AgentExecutionUioFromJSONTyped(json, ignoreDiscriminator) {
67
68
  'runtime': json['runtime'] == null ? undefined : json['runtime'],
68
69
  'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
69
70
  'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
71
+ 'git': json['git'] == null ? undefined : (0, NodeAgentGitConfigUio_1.NodeAgentGitConfigUioFromJSON)(json['git']),
70
72
  'availableNodes': (json['availableNodes'].map(AgentExecutionNodeChoiceUio_1.AgentExecutionNodeChoiceUioFromJSON)),
71
73
  'availableGroups': (json['availableGroups'] == null ? null : json['availableGroups'].map(AgentExecutionGroupChoiceUio_1.AgentExecutionGroupChoiceUioFromJSON)),
72
74
  };
@@ -87,6 +89,7 @@ function AgentExecutionUioToJSONTyped(value, ignoreDiscriminator = false) {
87
89
  'runtime': value['runtime'],
88
90
  'workspaceAlias': value['workspaceAlias'],
89
91
  'autoResume': value['autoResume'],
92
+ 'git': (0, NodeAgentGitConfigUio_1.NodeAgentGitConfigUioToJSON)(value['git']),
90
93
  'availableNodes': (value['availableNodes'].map(AgentExecutionNodeChoiceUio_1.AgentExecutionNodeChoiceUioToJSON)),
91
94
  'availableGroups': (value['availableGroups'] == null ? null : value['availableGroups'].map(AgentExecutionGroupChoiceUio_1.AgentExecutionGroupChoiceUioToJSON)),
92
95
  };
@@ -14,6 +14,7 @@ import type { PersonaUio } from './PersonaUio';
14
14
  import type { PromptInitUio } from './PromptInitUio';
15
15
  import type { AgentHumanEscalationConfigurationUio } from './AgentHumanEscalationConfigurationUio';
16
16
  import type { AgentSandboxConfigurationUio } from './AgentSandboxConfigurationUio';
17
+ import type { AgentSubtaskConfigurationUio } from './AgentSubtaskConfigurationUio';
17
18
  import type { AgentMcpExposureConfigurationUio } from './AgentMcpExposureConfigurationUio';
18
19
  import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
19
20
  import type { AgentCodeModeConfigurationUio } from './AgentCodeModeConfigurationUio';
@@ -196,6 +197,12 @@ export interface AgentPatchUio {
196
197
  * @memberof AgentPatchUio
197
198
  */
198
199
  agentCallConfiguration?: AgentCallConfigurationUio | null;
200
+ /**
201
+ *
202
+ * @type {AgentSubtaskConfigurationUio}
203
+ * @memberof AgentPatchUio
204
+ */
205
+ subtaskConfiguration?: AgentSubtaskConfigurationUio | null;
199
206
  /**
200
207
  *
201
208
  * @type {AgentMcpExposureConfigurationUio}
@@ -23,6 +23,7 @@ const PersonaUio_1 = require("./PersonaUio");
23
23
  const PromptInitUio_1 = require("./PromptInitUio");
24
24
  const AgentHumanEscalationConfigurationUio_1 = require("./AgentHumanEscalationConfigurationUio");
25
25
  const AgentSandboxConfigurationUio_1 = require("./AgentSandboxConfigurationUio");
26
+ const AgentSubtaskConfigurationUio_1 = require("./AgentSubtaskConfigurationUio");
26
27
  const AgentMcpExposureConfigurationUio_1 = require("./AgentMcpExposureConfigurationUio");
27
28
  const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
28
29
  const AgentCodeModeConfigurationUio_1 = require("./AgentCodeModeConfigurationUio");
@@ -74,6 +75,7 @@ function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
74
75
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
75
76
  'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
76
77
  'agentCallConfiguration': json['agentCallConfiguration'] == null ? undefined : (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioFromJSON)(json['agentCallConfiguration']),
78
+ 'subtaskConfiguration': json['subtaskConfiguration'] == null ? undefined : (0, AgentSubtaskConfigurationUio_1.AgentSubtaskConfigurationUioFromJSON)(json['subtaskConfiguration']),
77
79
  'mcpExposureConfiguration': json['mcpExposureConfiguration'] == null ? undefined : (0, AgentMcpExposureConfigurationUio_1.AgentMcpExposureConfigurationUioFromJSON)(json['mcpExposureConfiguration']),
78
80
  'builderMcpConfiguration': json['builderMcpConfiguration'] == null ? undefined : (0, AgentBuilderMcpConfigurationUio_1.AgentBuilderMcpConfigurationUioFromJSON)(json['builderMcpConfiguration']),
79
81
  'humanEscalationConfiguration': json['humanEscalationConfiguration'] == null ? undefined : (0, AgentHumanEscalationConfigurationUio_1.AgentHumanEscalationConfigurationUioFromJSON)(json['humanEscalationConfiguration']),
@@ -115,6 +117,7 @@ function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
115
117
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
116
118
  'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
117
119
  'agentCallConfiguration': (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioToJSON)(value['agentCallConfiguration']),
120
+ 'subtaskConfiguration': (0, AgentSubtaskConfigurationUio_1.AgentSubtaskConfigurationUioToJSON)(value['subtaskConfiguration']),
118
121
  'mcpExposureConfiguration': (0, AgentMcpExposureConfigurationUio_1.AgentMcpExposureConfigurationUioToJSON)(value['mcpExposureConfiguration']),
119
122
  'builderMcpConfiguration': (0, AgentBuilderMcpConfigurationUio_1.AgentBuilderMcpConfigurationUioToJSON)(value['builderMcpConfiguration']),
120
123
  'humanEscalationConfiguration': (0, AgentHumanEscalationConfigurationUio_1.AgentHumanEscalationConfigurationUioToJSON)(value['humanEscalationConfiguration']),
@@ -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 { AgentSubtaskModelUio } from './AgentSubtaskModelUio';
13
+ /**
14
+ * Per-agent activation of subtasks: the agent may hand a self-contained piece of work to a fresh conversation of its own, optionally on another model. Opt-in.
15
+ * @export
16
+ * @interface AgentSubtaskConfigurationUio
17
+ */
18
+ export interface AgentSubtaskConfigurationUio {
19
+ /**
20
+ * Enables the Subtask_run tool for this agent.
21
+ * @type {boolean}
22
+ * @memberof AgentSubtaskConfigurationUio
23
+ */
24
+ enabled?: boolean;
25
+ /**
26
+ * Models a subtask may run on, besides the agent's own. Each must be available to the organisation, enforced server-side. Empty: the agent's own model only.
27
+ * @type {Array<AgentSubtaskModelUio>}
28
+ * @memberof AgentSubtaskConfigurationUio
29
+ */
30
+ allowedModels?: Array<AgentSubtaskModelUio>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AgentSubtaskConfigurationUio interface.
34
+ */
35
+ export declare function instanceOfAgentSubtaskConfigurationUio(value: object): value is AgentSubtaskConfigurationUio;
36
+ export declare function AgentSubtaskConfigurationUioFromJSON(json: any): AgentSubtaskConfigurationUio;
37
+ export declare function AgentSubtaskConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSubtaskConfigurationUio;
38
+ export declare function AgentSubtaskConfigurationUioToJSON(json: any): AgentSubtaskConfigurationUio;
39
+ export declare function AgentSubtaskConfigurationUioToJSONTyped(value?: AgentSubtaskConfigurationUio | 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.instanceOfAgentSubtaskConfigurationUio = instanceOfAgentSubtaskConfigurationUio;
17
+ exports.AgentSubtaskConfigurationUioFromJSON = AgentSubtaskConfigurationUioFromJSON;
18
+ exports.AgentSubtaskConfigurationUioFromJSONTyped = AgentSubtaskConfigurationUioFromJSONTyped;
19
+ exports.AgentSubtaskConfigurationUioToJSON = AgentSubtaskConfigurationUioToJSON;
20
+ exports.AgentSubtaskConfigurationUioToJSONTyped = AgentSubtaskConfigurationUioToJSONTyped;
21
+ const AgentSubtaskModelUio_1 = require("./AgentSubtaskModelUio");
22
+ /**
23
+ * Check if a given object implements the AgentSubtaskConfigurationUio interface.
24
+ */
25
+ function instanceOfAgentSubtaskConfigurationUio(value) {
26
+ return true;
27
+ }
28
+ function AgentSubtaskConfigurationUioFromJSON(json) {
29
+ return AgentSubtaskConfigurationUioFromJSONTyped(json, false);
30
+ }
31
+ function AgentSubtaskConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
37
+ 'allowedModels': json['allowedModels'] == null ? undefined : (json['allowedModels'].map(AgentSubtaskModelUio_1.AgentSubtaskModelUioFromJSON)),
38
+ };
39
+ }
40
+ function AgentSubtaskConfigurationUioToJSON(json) {
41
+ return AgentSubtaskConfigurationUioToJSONTyped(json, false);
42
+ }
43
+ function AgentSubtaskConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'enabled': value['enabled'],
49
+ 'allowedModels': value['allowedModels'] == null ? undefined : (value['allowedModels'].map(AgentSubtaskModelUio_1.AgentSubtaskModelUioToJSON)),
50
+ };
51
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AgentSubtaskModelUio
16
+ */
17
+ export interface AgentSubtaskModelUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AgentSubtaskModelUio
22
+ */
23
+ providerId: string;
24
+ /**
25
+ * The provider's model identifier (`modelId`), as shown in the metrics.
26
+ * @type {string}
27
+ * @memberof AgentSubtaskModelUio
28
+ */
29
+ modelId: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AgentSubtaskModelUio interface.
33
+ */
34
+ export declare function instanceOfAgentSubtaskModelUio(value: object): value is AgentSubtaskModelUio;
35
+ export declare function AgentSubtaskModelUioFromJSON(json: any): AgentSubtaskModelUio;
36
+ export declare function AgentSubtaskModelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSubtaskModelUio;
37
+ export declare function AgentSubtaskModelUioToJSON(json: any): AgentSubtaskModelUio;
38
+ export declare function AgentSubtaskModelUioToJSONTyped(value?: AgentSubtaskModelUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAgentSubtaskModelUio = instanceOfAgentSubtaskModelUio;
17
+ exports.AgentSubtaskModelUioFromJSON = AgentSubtaskModelUioFromJSON;
18
+ exports.AgentSubtaskModelUioFromJSONTyped = AgentSubtaskModelUioFromJSONTyped;
19
+ exports.AgentSubtaskModelUioToJSON = AgentSubtaskModelUioToJSON;
20
+ exports.AgentSubtaskModelUioToJSONTyped = AgentSubtaskModelUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentSubtaskModelUio interface.
23
+ */
24
+ function instanceOfAgentSubtaskModelUio(value) {
25
+ if (!('providerId' in value) || value['providerId'] === undefined)
26
+ return false;
27
+ if (!('modelId' in value) || value['modelId'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function AgentSubtaskModelUioFromJSON(json) {
32
+ return AgentSubtaskModelUioFromJSONTyped(json, false);
33
+ }
34
+ function AgentSubtaskModelUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'providerId': json['providerId'],
40
+ 'modelId': json['modelId'],
41
+ };
42
+ }
43
+ function AgentSubtaskModelUioToJSON(json) {
44
+ return AgentSubtaskModelUioToJSONTyped(json, false);
45
+ }
46
+ function AgentSubtaskModelUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'providerId': value['providerId'],
52
+ 'modelId': value['modelId'],
53
+ };
54
+ }
@@ -16,6 +16,7 @@ import type { EngineUio } from './EngineUio';
16
16
  import type { PromptInitUio } from './PromptInitUio';
17
17
  import type { AgentHumanEscalationConfigurationUio } from './AgentHumanEscalationConfigurationUio';
18
18
  import type { AgentSandboxConfigurationUio } from './AgentSandboxConfigurationUio';
19
+ import type { AgentSubtaskConfigurationUio } from './AgentSubtaskConfigurationUio';
19
20
  import type { AgentMcpExposureConfigurationUio } from './AgentMcpExposureConfigurationUio';
20
21
  import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
21
22
  import type { AgentToolUio } from './AgentToolUio';
@@ -217,6 +218,12 @@ export interface AgentUio {
217
218
  * @memberof AgentUio
218
219
  */
219
220
  agentCallConfiguration?: AgentCallConfigurationUio | null;
221
+ /**
222
+ *
223
+ * @type {AgentSubtaskConfigurationUio}
224
+ * @memberof AgentUio
225
+ */
226
+ subtaskConfiguration?: AgentSubtaskConfigurationUio | null;
220
227
  /**
221
228
  *
222
229
  * @type {AgentMcpExposureConfigurationUio}
@@ -26,6 +26,7 @@ const EngineUio_1 = require("./EngineUio");
26
26
  const PromptInitUio_1 = require("./PromptInitUio");
27
27
  const AgentHumanEscalationConfigurationUio_1 = require("./AgentHumanEscalationConfigurationUio");
28
28
  const AgentSandboxConfigurationUio_1 = require("./AgentSandboxConfigurationUio");
29
+ const AgentSubtaskConfigurationUio_1 = require("./AgentSubtaskConfigurationUio");
29
30
  const AgentMcpExposureConfigurationUio_1 = require("./AgentMcpExposureConfigurationUio");
30
31
  const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
31
32
  const AgentToolUio_1 = require("./AgentToolUio");
@@ -107,6 +108,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
107
108
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
108
109
  'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
109
110
  'agentCallConfiguration': json['agentCallConfiguration'] == null ? undefined : (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioFromJSON)(json['agentCallConfiguration']),
111
+ 'subtaskConfiguration': json['subtaskConfiguration'] == null ? undefined : (0, AgentSubtaskConfigurationUio_1.AgentSubtaskConfigurationUioFromJSON)(json['subtaskConfiguration']),
110
112
  'mcpExposureConfiguration': json['mcpExposureConfiguration'] == null ? undefined : (0, AgentMcpExposureConfigurationUio_1.AgentMcpExposureConfigurationUioFromJSON)(json['mcpExposureConfiguration']),
111
113
  'builderMcpConfiguration': json['builderMcpConfiguration'] == null ? undefined : (0, AgentBuilderMcpConfigurationUio_1.AgentBuilderMcpConfigurationUioFromJSON)(json['builderMcpConfiguration']),
112
114
  'humanEscalationConfiguration': json['humanEscalationConfiguration'] == null ? undefined : (0, AgentHumanEscalationConfigurationUio_1.AgentHumanEscalationConfigurationUioFromJSON)(json['humanEscalationConfiguration']),
@@ -156,6 +158,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
156
158
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
157
159
  'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
158
160
  'agentCallConfiguration': (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioToJSON)(value['agentCallConfiguration']),
161
+ 'subtaskConfiguration': (0, AgentSubtaskConfigurationUio_1.AgentSubtaskConfigurationUioToJSON)(value['subtaskConfiguration']),
159
162
  'mcpExposureConfiguration': (0, AgentMcpExposureConfigurationUio_1.AgentMcpExposureConfigurationUioToJSON)(value['mcpExposureConfiguration']),
160
163
  'builderMcpConfiguration': (0, AgentBuilderMcpConfigurationUio_1.AgentBuilderMcpConfigurationUioToJSON)(value['builderMcpConfiguration']),
161
164
  'humanEscalationConfiguration': (0, AgentHumanEscalationConfigurationUio_1.AgentHumanEscalationConfigurationUioToJSON)(value['humanEscalationConfiguration']),
@@ -93,11 +93,11 @@ export interface AppUio {
93
93
  */
94
94
  voiceProvider?: string;
95
95
  /**
96
- *
97
- * @type {string}
96
+ * Whether a voice provider API key is saved for this app. The key itself is write-only and never returned.
97
+ * @type {boolean}
98
98
  * @memberof AppUio
99
99
  */
100
- voiceProviderApiKey?: string;
100
+ hasVoiceProviderApiKey?: boolean;
101
101
  /**
102
102
  *
103
103
  * @type {string}
@@ -70,7 +70,7 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
70
70
  'authSecret': json['authSecret'],
71
71
  'streamingEnabled': json['streamingEnabled'],
72
72
  'voiceProvider': json['voiceProvider'] == null ? undefined : json['voiceProvider'],
73
- 'voiceProviderApiKey': json['voiceProviderApiKey'] == null ? undefined : json['voiceProviderApiKey'],
73
+ 'hasVoiceProviderApiKey': json['hasVoiceProviderApiKey'] == null ? undefined : json['hasVoiceProviderApiKey'],
74
74
  'voiceProviderOrganization': json['voiceProviderOrganization'] == null ? undefined : json['voiceProviderOrganization'],
75
75
  'voiceId': json['voiceId'],
76
76
  'voiceModelId': json['voiceModelId'],
@@ -110,7 +110,7 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
110
110
  'authSecret': value['authSecret'],
111
111
  'streamingEnabled': value['streamingEnabled'],
112
112
  'voiceProvider': value['voiceProvider'],
113
- 'voiceProviderApiKey': value['voiceProviderApiKey'],
113
+ 'hasVoiceProviderApiKey': value['hasVoiceProviderApiKey'],
114
114
  'voiceProviderOrganization': value['voiceProviderOrganization'],
115
115
  'voiceId': value['voiceId'],
116
116
  'voiceModelId': value['voiceModelId'],
@@ -43,7 +43,7 @@ export interface AppUpdateRequestUio {
43
43
  */
44
44
  voiceProvider?: string | null;
45
45
  /**
46
- *
46
+ * Write-only. Omit to keep the saved key, null to remove it (the platform key is then used).
47
47
  * @type {string}
48
48
  * @memberof AppUpdateRequestUio
49
49
  */
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GitBotConnectionCreateUio
16
+ */
17
+ export interface GitBotConnectionCreateUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GitBotConnectionCreateUio
22
+ */
23
+ gitlabBotAccountId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GitBotConnectionCreateUio
28
+ */
29
+ name?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GitBotConnectionCreateUio interface.
33
+ */
34
+ export declare function instanceOfGitBotConnectionCreateUio(value: object): value is GitBotConnectionCreateUio;
35
+ export declare function GitBotConnectionCreateUioFromJSON(json: any): GitBotConnectionCreateUio;
36
+ export declare function GitBotConnectionCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitBotConnectionCreateUio;
37
+ export declare function GitBotConnectionCreateUioToJSON(json: any): GitBotConnectionCreateUio;
38
+ export declare function GitBotConnectionCreateUioToJSONTyped(value?: GitBotConnectionCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfGitBotConnectionCreateUio = instanceOfGitBotConnectionCreateUio;
17
+ exports.GitBotConnectionCreateUioFromJSON = GitBotConnectionCreateUioFromJSON;
18
+ exports.GitBotConnectionCreateUioFromJSONTyped = GitBotConnectionCreateUioFromJSONTyped;
19
+ exports.GitBotConnectionCreateUioToJSON = GitBotConnectionCreateUioToJSON;
20
+ exports.GitBotConnectionCreateUioToJSONTyped = GitBotConnectionCreateUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GitBotConnectionCreateUio interface.
23
+ */
24
+ function instanceOfGitBotConnectionCreateUio(value) {
25
+ if (!('gitlabBotAccountId' in value) || value['gitlabBotAccountId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function GitBotConnectionCreateUioFromJSON(json) {
30
+ return GitBotConnectionCreateUioFromJSONTyped(json, false);
31
+ }
32
+ function GitBotConnectionCreateUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'gitlabBotAccountId': json['gitlabBotAccountId'],
38
+ 'name': json['name'] == null ? undefined : json['name'],
39
+ };
40
+ }
41
+ function GitBotConnectionCreateUioToJSON(json) {
42
+ return GitBotConnectionCreateUioToJSONTyped(json, false);
43
+ }
44
+ function GitBotConnectionCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'gitlabBotAccountId': value['gitlabBotAccountId'],
50
+ 'name': value['name'],
51
+ };
52
+ }
@@ -0,0 +1,26 @@
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
+ */
16
+ export declare const GitConnectionKindUio: {
17
+ readonly UserOauth: "user_oauth";
18
+ readonly GitlabBot: "gitlab_bot";
19
+ readonly GithubApp: "github_app";
20
+ };
21
+ export type GitConnectionKindUio = typeof GitConnectionKindUio[keyof typeof GitConnectionKindUio];
22
+ export declare function instanceOfGitConnectionKindUio(value: any): boolean;
23
+ export declare function GitConnectionKindUioFromJSON(json: any): GitConnectionKindUio;
24
+ export declare function GitConnectionKindUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitConnectionKindUio;
25
+ export declare function GitConnectionKindUioToJSON(value?: GitConnectionKindUio | null): any;
26
+ export declare function GitConnectionKindUioToJSONTyped(value: any, ignoreDiscriminator: boolean): GitConnectionKindUio;
@@ -0,0 +1,52 @@
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.GitConnectionKindUio = void 0;
17
+ exports.instanceOfGitConnectionKindUio = instanceOfGitConnectionKindUio;
18
+ exports.GitConnectionKindUioFromJSON = GitConnectionKindUioFromJSON;
19
+ exports.GitConnectionKindUioFromJSONTyped = GitConnectionKindUioFromJSONTyped;
20
+ exports.GitConnectionKindUioToJSON = GitConnectionKindUioToJSON;
21
+ exports.GitConnectionKindUioToJSONTyped = GitConnectionKindUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.GitConnectionKindUio = {
27
+ UserOauth: 'user_oauth',
28
+ GitlabBot: 'gitlab_bot',
29
+ GithubApp: 'github_app'
30
+ };
31
+ function instanceOfGitConnectionKindUio(value) {
32
+ for (const key in exports.GitConnectionKindUio) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.GitConnectionKindUio, key)) {
34
+ if (exports.GitConnectionKindUio[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function GitConnectionKindUioFromJSON(json) {
42
+ return GitConnectionKindUioFromJSONTyped(json, false);
43
+ }
44
+ function GitConnectionKindUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function GitConnectionKindUioToJSON(value) {
48
+ return value;
49
+ }
50
+ function GitConnectionKindUioToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }