@breign/client 1.0.194 → 1.0.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/apis/ExecutionNodesApi.d.ts +31 -3
  2. package/dist/apis/ExecutionNodesApi.js +66 -2
  3. package/dist/apis/NodeGroupsApi.d.ts +353 -0
  4. package/dist/apis/NodeGroupsApi.js +697 -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/NodeGroupBulkIdsUio.d.ts +32 -0
  22. package/dist/models/NodeGroupBulkIdsUio.js +50 -0
  23. package/dist/models/NodeGroupBulkResultResultsInnerUio.d.ts +50 -0
  24. package/dist/models/NodeGroupBulkResultResultsInnerUio.js +58 -0
  25. package/dist/models/NodeGroupBulkResultUio.d.ts +33 -0
  26. package/dist/models/NodeGroupBulkResultUio.js +51 -0
  27. package/dist/models/NodeGroupCandidateUio.d.ts +115 -0
  28. package/dist/models/NodeGroupCandidateUio.js +109 -0
  29. package/dist/models/NodeGroupDelaysUio.d.ts +44 -0
  30. package/dist/models/NodeGroupDelaysUio.js +52 -0
  31. package/dist/models/NodeGroupDetailUio.d.ts +100 -0
  32. package/dist/models/NodeGroupDetailUio.js +96 -0
  33. package/dist/models/NodeGroupEnvironmentPageCountsUio.d.ts +56 -0
  34. package/dist/models/NodeGroupEnvironmentPageCountsUio.js +66 -0
  35. package/dist/models/NodeGroupEnvironmentPageUio.d.ts +52 -0
  36. package/dist/models/NodeGroupEnvironmentPageUio.js +64 -0
  37. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.d.ts +45 -0
  38. package/dist/models/NodeGroupEnvironmentReleaseFilterUio.js +59 -0
  39. package/dist/models/NodeGroupEnvironmentReleaseUio.d.ts +39 -0
  40. package/dist/models/NodeGroupEnvironmentReleaseUio.js +51 -0
  41. package/dist/models/NodeGroupEnvironmentUio.d.ts +140 -0
  42. package/dist/models/NodeGroupEnvironmentUio.js +130 -0
  43. package/dist/models/NodeGroupExecutionPageUio.d.ts +45 -0
  44. package/dist/models/NodeGroupExecutionPageUio.js +59 -0
  45. package/dist/models/NodeGroupExecutionUio.d.ts +180 -0
  46. package/dist/models/NodeGroupExecutionUio.js +155 -0
  47. package/dist/models/NodeGroupMemberNodeUio.d.ts +115 -0
  48. package/dist/models/NodeGroupMemberNodeUio.js +109 -0
  49. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.d.ts +38 -0
  50. package/dist/models/NodeGroupNodeOverviewOtherGroupsInnerUio.js +54 -0
  51. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.d.ts +62 -0
  52. package/dist/models/NodeGroupNodeOverviewRunningInnerUio.js +70 -0
  53. package/dist/models/NodeGroupNodeOverviewUio.d.ts +135 -0
  54. package/dist/models/NodeGroupNodeOverviewUio.js +123 -0
  55. package/dist/models/NodeGroupNodePageUio.d.ts +39 -0
  56. package/dist/models/NodeGroupNodePageUio.js +55 -0
  57. package/dist/models/NodeGroupNodeUio.d.ts +103 -0
  58. package/dist/models/NodeGroupNodeUio.js +101 -0
  59. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.d.ts +44 -0
  60. package/dist/models/NodeGroupQueueSummaryEnvironmentsUio.js +58 -0
  61. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.d.ts +38 -0
  62. package/dist/models/NodeGroupQueueSummaryMedianWaitMsUio.js +54 -0
  63. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.d.ts +56 -0
  64. package/dist/models/NodeGroupQueueSummaryNodesInnerUio.js +66 -0
  65. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.d.ts +44 -0
  66. package/dist/models/NodeGroupQueueSummaryPendingByAgentInnerUio.js +58 -0
  67. package/dist/models/NodeGroupQueueSummaryUio.d.ts +115 -0
  68. package/dist/models/NodeGroupQueueSummaryUio.js +107 -0
  69. package/dist/models/NodeGroupQueueSummaryWaitingForUio.d.ts +44 -0
  70. package/dist/models/NodeGroupQueueSummaryWaitingForUio.js +58 -0
  71. package/dist/models/NodeGroupSummaryUio.d.ts +116 -0
  72. package/dist/models/NodeGroupSummaryUio.js +106 -0
  73. package/dist/models/NodeGroupUio.d.ts +86 -0
  74. package/dist/models/NodeGroupUio.js +86 -0
  75. package/dist/models/NodeQueueTurnGroupUio.d.ts +38 -0
  76. package/dist/models/NodeQueueTurnGroupUio.js +54 -0
  77. package/dist/models/NodeQueueTurnUio.d.ts +114 -0
  78. package/dist/models/NodeQueueTurnUio.js +106 -0
  79. package/dist/models/NodeRefUio.d.ts +44 -0
  80. package/dist/models/NodeRefUio.js +58 -0
  81. package/dist/models/NodeSessionDetailUio.d.ts +1 -1
  82. package/dist/models/NodeSessionStateUio.d.ts +2 -1
  83. package/dist/models/NodeSessionStateUio.js +2 -1
  84. package/dist/models/NodeSessionUio.d.ts +1 -1
  85. package/dist/models/SetAgentExecutionRequestUio.d.ts +20 -1
  86. package/dist/models/SetAgentExecutionRequestUio.js +8 -1
  87. package/dist/models/UpdateNodeGroupRequestUio.d.ts +56 -0
  88. package/dist/models/UpdateNodeGroupRequestUio.js +56 -0
  89. package/dist/models/WaitingForUio.d.ts +26 -0
  90. package/dist/models/WaitingForUio.js +52 -0
  91. package/dist/models/index.d.ts +38 -0
  92. package/dist/models/index.js +38 -0
  93. package/dist/openapi.json +1994 -8
  94. package/package.json +1 -1
@@ -0,0 +1,116 @@
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 NodeGroupSummaryUio
16
+ */
17
+ export interface NodeGroupSummaryUio {
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 NodeGroupSummaryUio
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 NodeGroupSummaryUio
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 NodeGroupSummaryUio
34
+ */
35
+ queueExpiryMs: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof NodeGroupSummaryUio
40
+ */
41
+ id: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof NodeGroupSummaryUio
46
+ */
47
+ organizationId: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof NodeGroupSummaryUio
52
+ */
53
+ name: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof NodeGroupSummaryUio
58
+ */
59
+ description: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof NodeGroupSummaryUio
64
+ */
65
+ createdByUserId: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof NodeGroupSummaryUio
70
+ */
71
+ createdAt: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof NodeGroupSummaryUio
76
+ */
77
+ updatedAt: string;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof NodeGroupSummaryUio
82
+ */
83
+ nodeCount: number;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof NodeGroupSummaryUio
88
+ */
89
+ onlineNodeCount: number;
90
+ /**
91
+ * Emplacements de tous les nœuds du groupe
92
+ * @type {number}
93
+ * @memberof NodeGroupSummaryUio
94
+ */
95
+ slots: number;
96
+ /**
97
+ * Emplacements des nœuds en ligne
98
+ * @type {number}
99
+ * @memberof NodeGroupSummaryUio
100
+ */
101
+ onlineSlots: number;
102
+ /**
103
+ *
104
+ * @type {number}
105
+ * @memberof NodeGroupSummaryUio
106
+ */
107
+ agentCount: number;
108
+ }
109
+ /**
110
+ * Check if a given object implements the NodeGroupSummaryUio interface.
111
+ */
112
+ export declare function instanceOfNodeGroupSummaryUio(value: object): value is NodeGroupSummaryUio;
113
+ export declare function NodeGroupSummaryUioFromJSON(json: any): NodeGroupSummaryUio;
114
+ export declare function NodeGroupSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupSummaryUio;
115
+ export declare function NodeGroupSummaryUioToJSON(json: any): NodeGroupSummaryUio;
116
+ export declare function NodeGroupSummaryUioToJSONTyped(value?: NodeGroupSummaryUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,106 @@
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.instanceOfNodeGroupSummaryUio = instanceOfNodeGroupSummaryUio;
17
+ exports.NodeGroupSummaryUioFromJSON = NodeGroupSummaryUioFromJSON;
18
+ exports.NodeGroupSummaryUioFromJSONTyped = NodeGroupSummaryUioFromJSONTyped;
19
+ exports.NodeGroupSummaryUioToJSON = NodeGroupSummaryUioToJSON;
20
+ exports.NodeGroupSummaryUioToJSONTyped = NodeGroupSummaryUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeGroupSummaryUio interface.
23
+ */
24
+ function instanceOfNodeGroupSummaryUio(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
+ if (!('nodeCount' in value) || value['nodeCount'] === undefined)
46
+ return false;
47
+ if (!('onlineNodeCount' in value) || value['onlineNodeCount'] === undefined)
48
+ return false;
49
+ if (!('slots' in value) || value['slots'] === undefined)
50
+ return false;
51
+ if (!('onlineSlots' in value) || value['onlineSlots'] === undefined)
52
+ return false;
53
+ if (!('agentCount' in value) || value['agentCount'] === undefined)
54
+ return false;
55
+ return true;
56
+ }
57
+ function NodeGroupSummaryUioFromJSON(json) {
58
+ return NodeGroupSummaryUioFromJSONTyped(json, false);
59
+ }
60
+ function NodeGroupSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+ 'envWaitMs': json['envWaitMs'],
66
+ 'envIdleTtlMs': json['envIdleTtlMs'],
67
+ 'queueExpiryMs': json['queueExpiryMs'],
68
+ 'id': json['id'],
69
+ 'organizationId': json['organizationId'],
70
+ 'name': json['name'],
71
+ 'description': json['description'],
72
+ 'createdByUserId': json['createdByUserId'],
73
+ 'createdAt': json['createdAt'],
74
+ 'updatedAt': json['updatedAt'],
75
+ 'nodeCount': json['nodeCount'],
76
+ 'onlineNodeCount': json['onlineNodeCount'],
77
+ 'slots': json['slots'],
78
+ 'onlineSlots': json['onlineSlots'],
79
+ 'agentCount': json['agentCount'],
80
+ };
81
+ }
82
+ function NodeGroupSummaryUioToJSON(json) {
83
+ return NodeGroupSummaryUioToJSONTyped(json, false);
84
+ }
85
+ function NodeGroupSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+ return {
90
+ 'envWaitMs': value['envWaitMs'],
91
+ 'envIdleTtlMs': value['envIdleTtlMs'],
92
+ 'queueExpiryMs': value['queueExpiryMs'],
93
+ 'id': value['id'],
94
+ 'organizationId': value['organizationId'],
95
+ 'name': value['name'],
96
+ 'description': value['description'],
97
+ 'createdByUserId': value['createdByUserId'],
98
+ 'createdAt': value['createdAt'],
99
+ 'updatedAt': value['updatedAt'],
100
+ 'nodeCount': value['nodeCount'],
101
+ 'onlineNodeCount': value['onlineNodeCount'],
102
+ 'slots': value['slots'],
103
+ 'onlineSlots': value['onlineSlots'],
104
+ 'agentCount': value['agentCount'],
105
+ };
106
+ }
@@ -0,0 +1,86 @@
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 NodeGroupUio
16
+ */
17
+ export interface NodeGroupUio {
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 NodeGroupUio
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 NodeGroupUio
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 NodeGroupUio
34
+ */
35
+ queueExpiryMs: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof NodeGroupUio
40
+ */
41
+ id: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof NodeGroupUio
46
+ */
47
+ organizationId: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof NodeGroupUio
52
+ */
53
+ name: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof NodeGroupUio
58
+ */
59
+ description: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof NodeGroupUio
64
+ */
65
+ createdByUserId: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof NodeGroupUio
70
+ */
71
+ createdAt: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof NodeGroupUio
76
+ */
77
+ updatedAt: string;
78
+ }
79
+ /**
80
+ * Check if a given object implements the NodeGroupUio interface.
81
+ */
82
+ export declare function instanceOfNodeGroupUio(value: object): value is NodeGroupUio;
83
+ export declare function NodeGroupUioFromJSON(json: any): NodeGroupUio;
84
+ export declare function NodeGroupUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGroupUio;
85
+ export declare function NodeGroupUioToJSON(json: any): NodeGroupUio;
86
+ export declare function NodeGroupUioToJSONTyped(value?: NodeGroupUio | null, ignoreDiscriminator?: boolean): any;
@@ -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
+ }
@@ -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 NodeQueueTurnGroupUio
16
+ */
17
+ export interface NodeQueueTurnGroupUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeQueueTurnGroupUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeQueueTurnGroupUio
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the NodeQueueTurnGroupUio interface.
33
+ */
34
+ export declare function instanceOfNodeQueueTurnGroupUio(value: object): value is NodeQueueTurnGroupUio;
35
+ export declare function NodeQueueTurnGroupUioFromJSON(json: any): NodeQueueTurnGroupUio;
36
+ export declare function NodeQueueTurnGroupUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeQueueTurnGroupUio;
37
+ export declare function NodeQueueTurnGroupUioToJSON(json: any): NodeQueueTurnGroupUio;
38
+ export declare function NodeQueueTurnGroupUioToJSONTyped(value?: NodeQueueTurnGroupUio | 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.instanceOfNodeQueueTurnGroupUio = instanceOfNodeQueueTurnGroupUio;
17
+ exports.NodeQueueTurnGroupUioFromJSON = NodeQueueTurnGroupUioFromJSON;
18
+ exports.NodeQueueTurnGroupUioFromJSONTyped = NodeQueueTurnGroupUioFromJSONTyped;
19
+ exports.NodeQueueTurnGroupUioToJSON = NodeQueueTurnGroupUioToJSON;
20
+ exports.NodeQueueTurnGroupUioToJSONTyped = NodeQueueTurnGroupUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeQueueTurnGroupUio interface.
23
+ */
24
+ function instanceOfNodeQueueTurnGroupUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NodeQueueTurnGroupUioFromJSON(json) {
32
+ return NodeQueueTurnGroupUioFromJSONTyped(json, false);
33
+ }
34
+ function NodeQueueTurnGroupUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'name': json['name'],
41
+ };
42
+ }
43
+ function NodeQueueTurnGroupUioToJSON(json) {
44
+ return NodeQueueTurnGroupUioToJSONTyped(json, false);
45
+ }
46
+ function NodeQueueTurnGroupUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ };
54
+ }
@@ -0,0 +1,114 @@
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 { NodeSessionStateUio } from './NodeSessionStateUio';
13
+ import type { NodeQueueTurnGroupUio } from './NodeQueueTurnGroupUio';
14
+ import type { NodeRefUio } from './NodeRefUio';
15
+ import type { WaitingForUio } from './WaitingForUio';
16
+ /**
17
+ * La carte d'attente du chat — où en est le tour qui complète un message.
18
+ * @export
19
+ * @interface NodeQueueTurnUio
20
+ */
21
+ export interface NodeQueueTurnUio {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof NodeQueueTurnUio
26
+ */
27
+ sessionId: string;
28
+ /**
29
+ *
30
+ * @type {NodeSessionStateUio}
31
+ * @memberof NodeQueueTurnUio
32
+ */
33
+ state: NodeSessionStateUio;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof NodeQueueTurnUio
38
+ */
39
+ reason: string | null;
40
+ /**
41
+ *
42
+ * @type {NodeQueueTurnGroupUio}
43
+ * @memberof NodeQueueTurnUio
44
+ */
45
+ group: NodeQueueTurnGroupUio | null;
46
+ /**
47
+ *
48
+ * @type {WaitingForUio}
49
+ * @memberof NodeQueueTurnUio
50
+ */
51
+ waitingFor: WaitingForUio | null;
52
+ /**
53
+ * Le nœud attendu (rattachement direct, ou celui de l'environnement)
54
+ * @type {NodeRefUio}
55
+ * @memberof NodeQueueTurnUio
56
+ */
57
+ target: NodeRefUio | null;
58
+ /**
59
+ * Fin de l'attente du nœud de l'environnement ; ensuite, un autre nœud du groupe
60
+ * @type {string}
61
+ * @memberof NodeQueueTurnUio
62
+ */
63
+ targetUntil: string | null;
64
+ /**
65
+ * Le nœud qui a pris le tour
66
+ * @type {NodeRefUio}
67
+ * @memberof NodeQueueTurnUio
68
+ */
69
+ node: NodeRefUio | null;
70
+ /**
71
+ * La place dans sa file (1 = le prochain)
72
+ * @type {number}
73
+ * @memberof NodeQueueTurnUio
74
+ */
75
+ position: number | null;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof NodeQueueTurnUio
80
+ */
81
+ queuedAt: string | null;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof NodeQueueTurnUio
86
+ */
87
+ claimedAt: string | null;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof NodeQueueTurnUio
92
+ */
93
+ expiresAt: string | null;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof NodeQueueTurnUio
98
+ */
99
+ environmentId: string | null;
100
+ /**
101
+ *
102
+ * @type {boolean}
103
+ * @memberof NodeQueueTurnUio
104
+ */
105
+ canStartElsewhere: boolean;
106
+ }
107
+ /**
108
+ * Check if a given object implements the NodeQueueTurnUio interface.
109
+ */
110
+ export declare function instanceOfNodeQueueTurnUio(value: object): value is NodeQueueTurnUio;
111
+ export declare function NodeQueueTurnUioFromJSON(json: any): NodeQueueTurnUio;
112
+ export declare function NodeQueueTurnUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeQueueTurnUio;
113
+ export declare function NodeQueueTurnUioToJSON(json: any): NodeQueueTurnUio;
114
+ export declare function NodeQueueTurnUioToJSONTyped(value?: NodeQueueTurnUio | null, ignoreDiscriminator?: boolean): any;