@breign/client 1.0.194 → 1.0.195

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +2 -2
  2. package/dist/apis/ExecutionNodesApi.js +2 -2
  3. package/dist/apis/NodeGroupsApi.d.ts +126 -0
  4. package/dist/apis/NodeGroupsApi.js +304 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.d.ts +46 -0
  8. package/dist/models/AgentExecutionGroupChoiceRuntimesInnerUio.js +62 -0
  9. package/dist/models/AgentExecutionGroupChoiceUio.d.ts +70 -0
  10. package/dist/models/AgentExecutionGroupChoiceUio.js +76 -0
  11. package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.d.ts +44 -0
  12. package/dist/models/AgentExecutionGroupChoiceWorkspacesInnerUio.js +58 -0
  13. package/dist/models/AgentExecutionGroupUio.d.ts +38 -0
  14. package/dist/models/AgentExecutionGroupUio.js +54 -0
  15. package/dist/models/AgentExecutionUio.d.ts +27 -0
  16. package/dist/models/AgentExecutionUio.js +14 -1
  17. package/dist/models/CreateNodeGroupRequestUio.d.ts +56 -0
  18. package/dist/models/CreateNodeGroupRequestUio.js +58 -0
  19. package/dist/models/NodeGroupAgentUio.d.ts +58 -0
  20. package/dist/models/NodeGroupAgentUio.js +70 -0
  21. package/dist/models/NodeGroupCandidateUio.d.ts +115 -0
  22. package/dist/models/NodeGroupCandidateUio.js +109 -0
  23. package/dist/models/NodeGroupDelaysUio.d.ts +44 -0
  24. package/dist/models/NodeGroupDelaysUio.js +52 -0
  25. package/dist/models/NodeGroupDetailUio.d.ts +100 -0
  26. package/dist/models/NodeGroupDetailUio.js +96 -0
  27. package/dist/models/NodeGroupMemberNodeUio.d.ts +115 -0
  28. package/dist/models/NodeGroupMemberNodeUio.js +109 -0
  29. package/dist/models/NodeGroupNodeUio.d.ts +103 -0
  30. package/dist/models/NodeGroupNodeUio.js +101 -0
  31. package/dist/models/NodeGroupSummaryUio.d.ts +116 -0
  32. package/dist/models/NodeGroupSummaryUio.js +106 -0
  33. package/dist/models/NodeGroupUio.d.ts +86 -0
  34. package/dist/models/NodeGroupUio.js +86 -0
  35. package/dist/models/SetAgentExecutionRequestUio.d.ts +20 -1
  36. package/dist/models/SetAgentExecutionRequestUio.js +8 -1
  37. package/dist/models/UpdateNodeGroupRequestUio.d.ts +56 -0
  38. package/dist/models/UpdateNodeGroupRequestUio.js +56 -0
  39. package/dist/models/index.d.ts +14 -0
  40. package/dist/models/index.js +14 -0
  41. package/dist/openapi.json +714 -5
  42. package/package.json +1 -1
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNodeGroupUio = instanceOfNodeGroupUio;
17
+ exports.NodeGroupUioFromJSON = NodeGroupUioFromJSON;
18
+ exports.NodeGroupUioFromJSONTyped = NodeGroupUioFromJSONTyped;
19
+ exports.NodeGroupUioToJSON = NodeGroupUioToJSON;
20
+ exports.NodeGroupUioToJSONTyped = NodeGroupUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupUio interface.
23
+ */
24
+ function instanceOfNodeGroupUio(value) {
25
+ if (!('envWaitMs' in value) || value['envWaitMs'] === undefined)
26
+ return false;
27
+ if (!('envIdleTtlMs' in value) || value['envIdleTtlMs'] === undefined)
28
+ return false;
29
+ if (!('queueExpiryMs' in value) || value['queueExpiryMs'] === undefined)
30
+ return false;
31
+ if (!('id' in value) || value['id'] === undefined)
32
+ return false;
33
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
34
+ return false;
35
+ if (!('name' in value) || value['name'] === undefined)
36
+ return false;
37
+ if (!('description' in value) || value['description'] === undefined)
38
+ return false;
39
+ if (!('createdByUserId' in value) || value['createdByUserId'] === undefined)
40
+ return false;
41
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
42
+ return false;
43
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ function NodeGroupUioFromJSON(json) {
48
+ return NodeGroupUioFromJSONTyped(json, false);
49
+ }
50
+ function NodeGroupUioFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'envWaitMs': json['envWaitMs'],
56
+ 'envIdleTtlMs': json['envIdleTtlMs'],
57
+ 'queueExpiryMs': json['queueExpiryMs'],
58
+ 'id': json['id'],
59
+ 'organizationId': json['organizationId'],
60
+ 'name': json['name'],
61
+ 'description': json['description'],
62
+ 'createdByUserId': json['createdByUserId'],
63
+ 'createdAt': json['createdAt'],
64
+ 'updatedAt': json['updatedAt'],
65
+ };
66
+ }
67
+ function NodeGroupUioToJSON(json) {
68
+ return NodeGroupUioToJSONTyped(json, false);
69
+ }
70
+ function NodeGroupUioToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'envWaitMs': value['envWaitMs'],
76
+ 'envIdleTtlMs': value['envIdleTtlMs'],
77
+ 'queueExpiryMs': value['queueExpiryMs'],
78
+ 'id': value['id'],
79
+ 'organizationId': value['organizationId'],
80
+ 'name': value['name'],
81
+ 'description': value['description'],
82
+ 'createdByUserId': value['createdByUserId'],
83
+ 'createdAt': value['createdAt'],
84
+ 'updatedAt': value['updatedAt'],
85
+ };
86
+ }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
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.
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. `{ mode: group, … }` le rattache à un groupe de nœuds de son organisation (`nodeGroup.read`).
14
14
  * @export
15
15
  * @interface SetAgentExecutionRequestUio
16
16
  */
@@ -27,6 +27,24 @@ export interface SetAgentExecutionRequestUio {
27
27
  * @memberof SetAgentExecutionRequestUio
28
28
  */
29
29
  nodeId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SetAgentExecutionRequestUio
34
+ */
35
+ groupId?: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SetAgentExecutionRequestUio
40
+ */
41
+ keepEnvironment?: boolean;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SetAgentExecutionRequestUio
46
+ */
47
+ envWaitMs?: number | null;
30
48
  /**
31
49
  *
32
50
  * @type {string}
@@ -52,6 +70,7 @@ export interface SetAgentExecutionRequestUio {
52
70
  export declare const SetAgentExecutionRequestUioModeEnum: {
53
71
  readonly Server: "server";
54
72
  readonly Node: "node";
73
+ readonly Group: "group";
55
74
  };
56
75
  export type SetAgentExecutionRequestUioModeEnum = typeof SetAgentExecutionRequestUioModeEnum[keyof typeof SetAgentExecutionRequestUioModeEnum];
57
76
  /**
@@ -24,7 +24,8 @@ exports.SetAgentExecutionRequestUioToJSONTyped = SetAgentExecutionRequestUioToJS
24
24
  */
25
25
  exports.SetAgentExecutionRequestUioModeEnum = {
26
26
  Server: 'server',
27
- Node: 'node'
27
+ Node: 'node',
28
+ Group: 'group'
28
29
  };
29
30
  /**
30
31
  * @export
@@ -51,6 +52,9 @@ function SetAgentExecutionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
51
52
  return {
52
53
  'mode': json['mode'],
53
54
  'nodeId': json['nodeId'] == null ? undefined : json['nodeId'],
55
+ 'groupId': json['groupId'] == null ? undefined : json['groupId'],
56
+ 'keepEnvironment': json['keepEnvironment'] == null ? undefined : json['keepEnvironment'],
57
+ 'envWaitMs': json['envWaitMs'] == null ? undefined : json['envWaitMs'],
54
58
  'runtime': json['runtime'] == null ? undefined : json['runtime'],
55
59
  'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
56
60
  'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
@@ -66,6 +70,9 @@ function SetAgentExecutionRequestUioToJSONTyped(value, ignoreDiscriminator = fal
66
70
  return {
67
71
  'mode': value['mode'],
68
72
  'nodeId': value['nodeId'],
73
+ 'groupId': value['groupId'],
74
+ 'keepEnvironment': value['keepEnvironment'],
75
+ 'envWaitMs': value['envWaitMs'],
69
76
  'runtime': value['runtime'],
70
77
  'workspaceAlias': value['workspaceAlias'],
71
78
  'autoResume': value['autoResume'],
@@ -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
+ *
14
+ * @export
15
+ * @interface UpdateNodeGroupRequestUio
16
+ */
17
+ export interface UpdateNodeGroupRequestUio {
18
+ /**
19
+ * Attente du nœud qui garde l'environnement d'une conversation, en millisecondes, avant d'en prendre un autre ; `null` : sans limite ; 0 : aucune attente.
20
+ * @type {number}
21
+ * @memberof UpdateNodeGroupRequestUio
22
+ */
23
+ envWaitMs?: number | null;
24
+ /**
25
+ * Libération d'un environnement après ce temps sans activité ; `null` : jamais.
26
+ * @type {number}
27
+ * @memberof UpdateNodeGroupRequestUio
28
+ */
29
+ envIdleTtlMs?: number | null;
30
+ /**
31
+ * Une exécution qu'aucun nœud ne prend dans ce délai échoue.
32
+ * @type {number}
33
+ * @memberof UpdateNodeGroupRequestUio
34
+ */
35
+ queueExpiryMs?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UpdateNodeGroupRequestUio
40
+ */
41
+ name?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UpdateNodeGroupRequestUio
46
+ */
47
+ description?: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the UpdateNodeGroupRequestUio interface.
51
+ */
52
+ export declare function instanceOfUpdateNodeGroupRequestUio(value: object): value is UpdateNodeGroupRequestUio;
53
+ export declare function UpdateNodeGroupRequestUioFromJSON(json: any): UpdateNodeGroupRequestUio;
54
+ export declare function UpdateNodeGroupRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNodeGroupRequestUio;
55
+ export declare function UpdateNodeGroupRequestUioToJSON(json: any): UpdateNodeGroupRequestUio;
56
+ export declare function UpdateNodeGroupRequestUioToJSONTyped(value?: UpdateNodeGroupRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfUpdateNodeGroupRequestUio = instanceOfUpdateNodeGroupRequestUio;
17
+ exports.UpdateNodeGroupRequestUioFromJSON = UpdateNodeGroupRequestUioFromJSON;
18
+ exports.UpdateNodeGroupRequestUioFromJSONTyped = UpdateNodeGroupRequestUioFromJSONTyped;
19
+ exports.UpdateNodeGroupRequestUioToJSON = UpdateNodeGroupRequestUioToJSON;
20
+ exports.UpdateNodeGroupRequestUioToJSONTyped = UpdateNodeGroupRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateNodeGroupRequestUio interface.
23
+ */
24
+ function instanceOfUpdateNodeGroupRequestUio(value) {
25
+ return true;
26
+ }
27
+ function UpdateNodeGroupRequestUioFromJSON(json) {
28
+ return UpdateNodeGroupRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function UpdateNodeGroupRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'envWaitMs': json['envWaitMs'] == null ? undefined : json['envWaitMs'],
36
+ 'envIdleTtlMs': json['envIdleTtlMs'] == null ? undefined : json['envIdleTtlMs'],
37
+ 'queueExpiryMs': json['queueExpiryMs'] == null ? undefined : json['queueExpiryMs'],
38
+ 'name': json['name'] == null ? undefined : json['name'],
39
+ 'description': json['description'] == null ? undefined : json['description'],
40
+ };
41
+ }
42
+ function UpdateNodeGroupRequestUioToJSON(json) {
43
+ return UpdateNodeGroupRequestUioToJSONTyped(json, false);
44
+ }
45
+ function UpdateNodeGroupRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'envWaitMs': value['envWaitMs'],
51
+ 'envIdleTtlMs': value['envIdleTtlMs'],
52
+ 'queueExpiryMs': value['queueExpiryMs'],
53
+ 'name': value['name'],
54
+ 'description': value['description'],
55
+ };
56
+ }
@@ -30,6 +30,10 @@ export * from './AgentComputerUseConfigurationUio';
30
30
  export * from './AgentCreatorUio';
31
31
  export * from './AgentCreatorUserUio';
32
32
  export * from './AgentDuplicateRequestUio';
33
+ export * from './AgentExecutionGroupChoiceRuntimesInnerUio';
34
+ export * from './AgentExecutionGroupChoiceUio';
35
+ export * from './AgentExecutionGroupChoiceWorkspacesInnerUio';
36
+ export * from './AgentExecutionGroupUio';
33
37
  export * from './AgentExecutionNodeChoiceUio';
34
38
  export * from './AgentExecutionNodeUio';
35
39
  export * from './AgentExecutionUio';
@@ -256,6 +260,7 @@ export * from './CreateCustomVariable200ResponseUio';
256
260
  export * from './CreateKnowledgeBaseRequestEmbeddingConfigUio';
257
261
  export * from './CreateKnowledgeBaseRequestUio';
258
262
  export * from './CreateKnowledgeBaseResponseUio';
263
+ export * from './CreateNodeGroupRequestUio';
259
264
  export * from './CreateProjectRequestUio';
260
265
  export * from './CreateTicketArtifactRequestUio';
261
266
  export * from './CreateTicketArtifactResponseUio';
@@ -488,6 +493,14 @@ export * from './ModelDefinitionUio';
488
493
  export * from './ModelUio';
489
494
  export * from './ModelUserAccessUio';
490
495
  export * from './NodeAssociationPolicyUio';
496
+ export * from './NodeGroupAgentUio';
497
+ export * from './NodeGroupCandidateUio';
498
+ export * from './NodeGroupDelaysUio';
499
+ export * from './NodeGroupDetailUio';
500
+ export * from './NodeGroupMemberNodeUio';
501
+ export * from './NodeGroupNodeUio';
502
+ export * from './NodeGroupSummaryUio';
503
+ export * from './NodeGroupUio';
491
504
  export * from './NodeSessionDetailUio';
492
505
  export * from './NodeSessionLogEntryUio';
493
506
  export * from './NodeSessionLogsUio';
@@ -706,6 +719,7 @@ export * from './ToolUsedUio';
706
719
  export * from './TotalTokensUsedByAgentUio';
707
720
  export * from './TransactionUio';
708
721
  export * from './UpdateConversationTitleRequestUio';
722
+ export * from './UpdateNodeGroupRequestUio';
709
723
  export * from './UpdateProjectRequestUio';
710
724
  export * from './UpdateSelectedFillers200ResponseUio';
711
725
  export * from './UpdateSelectedFillersRequestDataInnerUio';
@@ -48,6 +48,10 @@ __exportStar(require("./AgentComputerUseConfigurationUio"), exports);
48
48
  __exportStar(require("./AgentCreatorUio"), exports);
49
49
  __exportStar(require("./AgentCreatorUserUio"), exports);
50
50
  __exportStar(require("./AgentDuplicateRequestUio"), exports);
51
+ __exportStar(require("./AgentExecutionGroupChoiceRuntimesInnerUio"), exports);
52
+ __exportStar(require("./AgentExecutionGroupChoiceUio"), exports);
53
+ __exportStar(require("./AgentExecutionGroupChoiceWorkspacesInnerUio"), exports);
54
+ __exportStar(require("./AgentExecutionGroupUio"), exports);
51
55
  __exportStar(require("./AgentExecutionNodeChoiceUio"), exports);
52
56
  __exportStar(require("./AgentExecutionNodeUio"), exports);
53
57
  __exportStar(require("./AgentExecutionUio"), exports);
@@ -274,6 +278,7 @@ __exportStar(require("./CreateCustomVariable200ResponseUio"), exports);
274
278
  __exportStar(require("./CreateKnowledgeBaseRequestEmbeddingConfigUio"), exports);
275
279
  __exportStar(require("./CreateKnowledgeBaseRequestUio"), exports);
276
280
  __exportStar(require("./CreateKnowledgeBaseResponseUio"), exports);
281
+ __exportStar(require("./CreateNodeGroupRequestUio"), exports);
277
282
  __exportStar(require("./CreateProjectRequestUio"), exports);
278
283
  __exportStar(require("./CreateTicketArtifactRequestUio"), exports);
279
284
  __exportStar(require("./CreateTicketArtifactResponseUio"), exports);
@@ -506,6 +511,14 @@ __exportStar(require("./ModelDefinitionUio"), exports);
506
511
  __exportStar(require("./ModelUio"), exports);
507
512
  __exportStar(require("./ModelUserAccessUio"), exports);
508
513
  __exportStar(require("./NodeAssociationPolicyUio"), exports);
514
+ __exportStar(require("./NodeGroupAgentUio"), exports);
515
+ __exportStar(require("./NodeGroupCandidateUio"), exports);
516
+ __exportStar(require("./NodeGroupDelaysUio"), exports);
517
+ __exportStar(require("./NodeGroupDetailUio"), exports);
518
+ __exportStar(require("./NodeGroupMemberNodeUio"), exports);
519
+ __exportStar(require("./NodeGroupNodeUio"), exports);
520
+ __exportStar(require("./NodeGroupSummaryUio"), exports);
521
+ __exportStar(require("./NodeGroupUio"), exports);
509
522
  __exportStar(require("./NodeSessionDetailUio"), exports);
510
523
  __exportStar(require("./NodeSessionLogEntryUio"), exports);
511
524
  __exportStar(require("./NodeSessionLogsUio"), exports);
@@ -724,6 +737,7 @@ __exportStar(require("./ToolUsedUio"), exports);
724
737
  __exportStar(require("./TotalTokensUsedByAgentUio"), exports);
725
738
  __exportStar(require("./TransactionUio"), exports);
726
739
  __exportStar(require("./UpdateConversationTitleRequestUio"), exports);
740
+ __exportStar(require("./UpdateNodeGroupRequestUio"), exports);
727
741
  __exportStar(require("./UpdateProjectRequestUio"), exports);
728
742
  __exportStar(require("./UpdateSelectedFillers200ResponseUio"), exports);
729
743
  __exportStar(require("./UpdateSelectedFillersRequestDataInnerUio"), exports);