@breign/client 1.0.189 → 1.0.191
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.
- package/dist/apis/TicketsApi.d.ts +44 -1
- package/dist/apis/TicketsApi.js +101 -0
- package/dist/models/AgentAtWorkProjectUio.d.ts +44 -0
- package/dist/models/AgentAtWorkProjectUio.js +58 -0
- package/dist/models/AgentAtWorkUio.d.ts +65 -0
- package/dist/models/AgentAtWorkUio.js +73 -0
- package/dist/models/ProjectAttentionUio.d.ts +6 -0
- package/dist/models/ProjectAttentionUio.js +4 -0
- package/dist/models/TicketSessionMessageRequestUio.d.ts +32 -0
- package/dist/models/TicketSessionMessageRequestUio.js +50 -0
- package/dist/models/TicketThreadSessionUio.d.ts +69 -0
- package/dist/models/TicketThreadSessionUio.js +75 -0
- package/dist/models/TicketThreadUio.d.ts +208 -0
- package/dist/models/TicketThreadUio.js +168 -0
- package/dist/models/TicketThreadsUio.d.ts +45 -0
- package/dist/models/TicketThreadsUio.js +59 -0
- package/dist/models/UpdateUserChatPreferencesRequestUio.d.ts +6 -0
- package/dist/models/UpdateUserChatPreferencesRequestUio.js +2 -0
- package/dist/models/UserChatPreferencesUio.d.ts +6 -0
- package/dist/models/UserChatPreferencesUio.js +4 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/openapi.json +349 -41
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfTicketThreadSessionUio = instanceOfTicketThreadSessionUio;
|
|
17
|
+
exports.TicketThreadSessionUioFromJSON = TicketThreadSessionUioFromJSON;
|
|
18
|
+
exports.TicketThreadSessionUioFromJSONTyped = TicketThreadSessionUioFromJSONTyped;
|
|
19
|
+
exports.TicketThreadSessionUioToJSON = TicketThreadSessionUioToJSON;
|
|
20
|
+
exports.TicketThreadSessionUioToJSONTyped = TicketThreadSessionUioToJSONTyped;
|
|
21
|
+
const TicketAgentRunStatusUio_1 = require("./TicketAgentRunStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TicketThreadSessionUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTicketThreadSessionUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('planDone' in value) || value['planDone'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('planTotal' in value) || value['planTotal'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('currentStep' in value) || value['currentStep'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('lastRunAt' in value) || value['lastRunAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function TicketThreadSessionUioFromJSON(json) {
|
|
43
|
+
return TicketThreadSessionUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function TicketThreadSessionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'agentId': json['agentId'],
|
|
51
|
+
'status': (0, TicketAgentRunStatusUio_1.TicketAgentRunStatusUioFromJSON)(json['status']),
|
|
52
|
+
'conversationId': json['conversationId'],
|
|
53
|
+
'planDone': json['planDone'],
|
|
54
|
+
'planTotal': json['planTotal'],
|
|
55
|
+
'currentStep': json['currentStep'],
|
|
56
|
+
'lastRunAt': json['lastRunAt'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function TicketThreadSessionUioToJSON(json) {
|
|
60
|
+
return TicketThreadSessionUioToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function TicketThreadSessionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'agentId': value['agentId'],
|
|
68
|
+
'status': (0, TicketAgentRunStatusUio_1.TicketAgentRunStatusUioToJSON)(value['status']),
|
|
69
|
+
'conversationId': value['conversationId'],
|
|
70
|
+
'planDone': value['planDone'],
|
|
71
|
+
'planTotal': value['planTotal'],
|
|
72
|
+
'currentStep': value['currentStep'],
|
|
73
|
+
'lastRunAt': value['lastRunAt'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
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 { TicketThreadSessionUio } from './TicketThreadSessionUio';
|
|
13
|
+
import type { ActorRefUio } from './ActorRefUio';
|
|
14
|
+
import type { TicketActiveAgentUio } from './TicketActiveAgentUio';
|
|
15
|
+
import type { TicketPriorityUio } from './TicketPriorityUio';
|
|
16
|
+
import type { MemberRefUio } from './MemberRefUio';
|
|
17
|
+
import type { TicketParentRefUio } from './TicketParentRefUio';
|
|
18
|
+
import type { TicketAssigneeUio } from './TicketAssigneeUio';
|
|
19
|
+
import type { TicketStatusUio } from './TicketStatusUio';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface TicketThreadUio
|
|
24
|
+
*/
|
|
25
|
+
export interface TicketThreadUio {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TicketThreadUio
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof TicketThreadUio
|
|
36
|
+
*/
|
|
37
|
+
organizationId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof TicketThreadUio
|
|
42
|
+
*/
|
|
43
|
+
projectId: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof TicketThreadUio
|
|
48
|
+
*/
|
|
49
|
+
number: number;
|
|
50
|
+
/**
|
|
51
|
+
* Clé du projet suivie du numéro (BRN-142)
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof TicketThreadUio
|
|
54
|
+
*/
|
|
55
|
+
key: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof TicketThreadUio
|
|
60
|
+
*/
|
|
61
|
+
title: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof TicketThreadUio
|
|
66
|
+
*/
|
|
67
|
+
description: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {TicketStatusUio}
|
|
71
|
+
* @memberof TicketThreadUio
|
|
72
|
+
*/
|
|
73
|
+
status: TicketStatusUio;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {TicketPriorityUio}
|
|
77
|
+
* @memberof TicketThreadUio
|
|
78
|
+
*/
|
|
79
|
+
priority: TicketPriorityUio;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<string>}
|
|
83
|
+
* @memberof TicketThreadUio
|
|
84
|
+
*/
|
|
85
|
+
labels: Array<string>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof TicketThreadUio
|
|
90
|
+
*/
|
|
91
|
+
dueDate: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Relecteur optionnel ; avec lui, le ticket passe par review avant done
|
|
94
|
+
* @type {MemberRefUio}
|
|
95
|
+
* @memberof TicketThreadUio
|
|
96
|
+
*/
|
|
97
|
+
reviewer: MemberRefUio | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {ActorRefUio}
|
|
101
|
+
* @memberof TicketThreadUio
|
|
102
|
+
*/
|
|
103
|
+
createdBy: ActorRefUio;
|
|
104
|
+
/**
|
|
105
|
+
* Conversation dont le ticket est issu (proposition d'agent)
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof TicketThreadUio
|
|
108
|
+
*/
|
|
109
|
+
sourceConversationId: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Ticket parent, dans le même projet ; le ticket est alors un sous-ticket
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof TicketThreadUio
|
|
114
|
+
*/
|
|
115
|
+
parentTicketId: string | null;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {TicketParentRefUio}
|
|
119
|
+
* @memberof TicketThreadUio
|
|
120
|
+
*/
|
|
121
|
+
parent: TicketParentRefUio | null;
|
|
122
|
+
/**
|
|
123
|
+
* Nombre de sous-tickets directs
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof TicketThreadUio
|
|
126
|
+
*/
|
|
127
|
+
childCount: number;
|
|
128
|
+
/**
|
|
129
|
+
* Nombre de sous-tickets directs pas encore terminés
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof TicketThreadUio
|
|
132
|
+
*/
|
|
133
|
+
openChildCount: number;
|
|
134
|
+
/**
|
|
135
|
+
* Ordre dans la colonne, croissant
|
|
136
|
+
* @type {number}
|
|
137
|
+
* @memberof TicketThreadUio
|
|
138
|
+
*/
|
|
139
|
+
position: number;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {Array<TicketAssigneeUio>}
|
|
143
|
+
* @memberof TicketThreadUio
|
|
144
|
+
*/
|
|
145
|
+
assignees: Array<TicketAssigneeUio>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {number}
|
|
149
|
+
* @memberof TicketThreadUio
|
|
150
|
+
*/
|
|
151
|
+
commentCount: number;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {number}
|
|
155
|
+
* @memberof TicketThreadUio
|
|
156
|
+
*/
|
|
157
|
+
artifactCount: number;
|
|
158
|
+
/**
|
|
159
|
+
* Questions, relectures et feux verts en attente sur ce ticket, tous humains confondus
|
|
160
|
+
* @type {number}
|
|
161
|
+
* @memberof TicketThreadUio
|
|
162
|
+
*/
|
|
163
|
+
pendingHumanActions: number;
|
|
164
|
+
/**
|
|
165
|
+
* Agents qui travaillent sur le ticket en ce moment, assignés ou non : en cours d'exécution, réveil en attente, ou question posée à un humain.
|
|
166
|
+
* @type {Array<TicketActiveAgentUio>}
|
|
167
|
+
* @memberof TicketThreadUio
|
|
168
|
+
*/
|
|
169
|
+
activeAgents?: Array<TicketActiveAgentUio>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof TicketThreadUio
|
|
174
|
+
*/
|
|
175
|
+
doneAt: string | null;
|
|
176
|
+
/**
|
|
177
|
+
* Dernier commentaire, changement de statut ou d'assignation
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof TicketThreadUio
|
|
180
|
+
*/
|
|
181
|
+
lastActivityAt: string;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof TicketThreadUio
|
|
186
|
+
*/
|
|
187
|
+
createdAt: string;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof TicketThreadUio
|
|
192
|
+
*/
|
|
193
|
+
updatedAt: string;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {Array<TicketThreadSessionUio>}
|
|
197
|
+
* @memberof TicketThreadUio
|
|
198
|
+
*/
|
|
199
|
+
sessions: Array<TicketThreadSessionUio>;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Check if a given object implements the TicketThreadUio interface.
|
|
203
|
+
*/
|
|
204
|
+
export declare function instanceOfTicketThreadUio(value: object): value is TicketThreadUio;
|
|
205
|
+
export declare function TicketThreadUioFromJSON(json: any): TicketThreadUio;
|
|
206
|
+
export declare function TicketThreadUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketThreadUio;
|
|
207
|
+
export declare function TicketThreadUioToJSON(json: any): TicketThreadUio;
|
|
208
|
+
export declare function TicketThreadUioToJSONTyped(value?: TicketThreadUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,168 @@
|
|
|
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.instanceOfTicketThreadUio = instanceOfTicketThreadUio;
|
|
17
|
+
exports.TicketThreadUioFromJSON = TicketThreadUioFromJSON;
|
|
18
|
+
exports.TicketThreadUioFromJSONTyped = TicketThreadUioFromJSONTyped;
|
|
19
|
+
exports.TicketThreadUioToJSON = TicketThreadUioToJSON;
|
|
20
|
+
exports.TicketThreadUioToJSONTyped = TicketThreadUioToJSONTyped;
|
|
21
|
+
const TicketThreadSessionUio_1 = require("./TicketThreadSessionUio");
|
|
22
|
+
const ActorRefUio_1 = require("./ActorRefUio");
|
|
23
|
+
const TicketActiveAgentUio_1 = require("./TicketActiveAgentUio");
|
|
24
|
+
const TicketPriorityUio_1 = require("./TicketPriorityUio");
|
|
25
|
+
const MemberRefUio_1 = require("./MemberRefUio");
|
|
26
|
+
const TicketParentRefUio_1 = require("./TicketParentRefUio");
|
|
27
|
+
const TicketAssigneeUio_1 = require("./TicketAssigneeUio");
|
|
28
|
+
const TicketStatusUio_1 = require("./TicketStatusUio");
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the TicketThreadUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfTicketThreadUio(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('number' in value) || value['number'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('priority' in value) || value['priority'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('labels' in value) || value['labels'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('dueDate' in value) || value['dueDate'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('reviewer' in value) || value['reviewer'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('sourceConversationId' in value) || value['sourceConversationId'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('parentTicketId' in value) || value['parentTicketId'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('parent' in value) || value['parent'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('childCount' in value) || value['childCount'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('openChildCount' in value) || value['openChildCount'] === undefined)
|
|
68
|
+
return false;
|
|
69
|
+
if (!('position' in value) || value['position'] === undefined)
|
|
70
|
+
return false;
|
|
71
|
+
if (!('assignees' in value) || value['assignees'] === undefined)
|
|
72
|
+
return false;
|
|
73
|
+
if (!('commentCount' in value) || value['commentCount'] === undefined)
|
|
74
|
+
return false;
|
|
75
|
+
if (!('artifactCount' in value) || value['artifactCount'] === undefined)
|
|
76
|
+
return false;
|
|
77
|
+
if (!('pendingHumanActions' in value) || value['pendingHumanActions'] === undefined)
|
|
78
|
+
return false;
|
|
79
|
+
if (!('doneAt' in value) || value['doneAt'] === undefined)
|
|
80
|
+
return false;
|
|
81
|
+
if (!('lastActivityAt' in value) || value['lastActivityAt'] === undefined)
|
|
82
|
+
return false;
|
|
83
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
84
|
+
return false;
|
|
85
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
86
|
+
return false;
|
|
87
|
+
if (!('sessions' in value) || value['sessions'] === undefined)
|
|
88
|
+
return false;
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
function TicketThreadUioFromJSON(json) {
|
|
92
|
+
return TicketThreadUioFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
function TicketThreadUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
95
|
+
if (json == null) {
|
|
96
|
+
return json;
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
'id': json['id'],
|
|
100
|
+
'organizationId': json['organizationId'],
|
|
101
|
+
'projectId': json['projectId'],
|
|
102
|
+
'number': json['number'],
|
|
103
|
+
'key': json['key'],
|
|
104
|
+
'title': json['title'],
|
|
105
|
+
'description': json['description'],
|
|
106
|
+
'status': (0, TicketStatusUio_1.TicketStatusUioFromJSON)(json['status']),
|
|
107
|
+
'priority': (0, TicketPriorityUio_1.TicketPriorityUioFromJSON)(json['priority']),
|
|
108
|
+
'labels': json['labels'],
|
|
109
|
+
'dueDate': json['dueDate'],
|
|
110
|
+
'reviewer': (0, MemberRefUio_1.MemberRefUioFromJSON)(json['reviewer']),
|
|
111
|
+
'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
|
|
112
|
+
'sourceConversationId': json['sourceConversationId'],
|
|
113
|
+
'parentTicketId': json['parentTicketId'],
|
|
114
|
+
'parent': (0, TicketParentRefUio_1.TicketParentRefUioFromJSON)(json['parent']),
|
|
115
|
+
'childCount': json['childCount'],
|
|
116
|
+
'openChildCount': json['openChildCount'],
|
|
117
|
+
'position': json['position'],
|
|
118
|
+
'assignees': (json['assignees'].map(TicketAssigneeUio_1.TicketAssigneeUioFromJSON)),
|
|
119
|
+
'commentCount': json['commentCount'],
|
|
120
|
+
'artifactCount': json['artifactCount'],
|
|
121
|
+
'pendingHumanActions': json['pendingHumanActions'],
|
|
122
|
+
'activeAgents': json['activeAgents'] == null ? undefined : (json['activeAgents'].map(TicketActiveAgentUio_1.TicketActiveAgentUioFromJSON)),
|
|
123
|
+
'doneAt': json['doneAt'],
|
|
124
|
+
'lastActivityAt': json['lastActivityAt'],
|
|
125
|
+
'createdAt': json['createdAt'],
|
|
126
|
+
'updatedAt': json['updatedAt'],
|
|
127
|
+
'sessions': (json['sessions'].map(TicketThreadSessionUio_1.TicketThreadSessionUioFromJSON)),
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function TicketThreadUioToJSON(json) {
|
|
131
|
+
return TicketThreadUioToJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
function TicketThreadUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
134
|
+
if (value == null) {
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
'id': value['id'],
|
|
139
|
+
'organizationId': value['organizationId'],
|
|
140
|
+
'projectId': value['projectId'],
|
|
141
|
+
'number': value['number'],
|
|
142
|
+
'key': value['key'],
|
|
143
|
+
'title': value['title'],
|
|
144
|
+
'description': value['description'],
|
|
145
|
+
'status': (0, TicketStatusUio_1.TicketStatusUioToJSON)(value['status']),
|
|
146
|
+
'priority': (0, TicketPriorityUio_1.TicketPriorityUioToJSON)(value['priority']),
|
|
147
|
+
'labels': value['labels'],
|
|
148
|
+
'dueDate': value['dueDate'],
|
|
149
|
+
'reviewer': (0, MemberRefUio_1.MemberRefUioToJSON)(value['reviewer']),
|
|
150
|
+
'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
|
|
151
|
+
'sourceConversationId': value['sourceConversationId'],
|
|
152
|
+
'parentTicketId': value['parentTicketId'],
|
|
153
|
+
'parent': (0, TicketParentRefUio_1.TicketParentRefUioToJSON)(value['parent']),
|
|
154
|
+
'childCount': value['childCount'],
|
|
155
|
+
'openChildCount': value['openChildCount'],
|
|
156
|
+
'position': value['position'],
|
|
157
|
+
'assignees': (value['assignees'].map(TicketAssigneeUio_1.TicketAssigneeUioToJSON)),
|
|
158
|
+
'commentCount': value['commentCount'],
|
|
159
|
+
'artifactCount': value['artifactCount'],
|
|
160
|
+
'pendingHumanActions': value['pendingHumanActions'],
|
|
161
|
+
'activeAgents': value['activeAgents'] == null ? undefined : (value['activeAgents'].map(TicketActiveAgentUio_1.TicketActiveAgentUioToJSON)),
|
|
162
|
+
'doneAt': value['doneAt'],
|
|
163
|
+
'lastActivityAt': value['lastActivityAt'],
|
|
164
|
+
'createdAt': value['createdAt'],
|
|
165
|
+
'updatedAt': value['updatedAt'],
|
|
166
|
+
'sessions': (value['sessions'].map(TicketThreadSessionUio_1.TicketThreadSessionUioToJSON)),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TicketThreadUio } from './TicketThreadUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TicketThreadsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface TicketThreadsUio {
|
|
19
|
+
/**
|
|
20
|
+
* Tous les tickets ouverts du projet
|
|
21
|
+
* @type {Array<TicketThreadUio>}
|
|
22
|
+
* @memberof TicketThreadsUio
|
|
23
|
+
*/
|
|
24
|
+
open: Array<TicketThreadUio>;
|
|
25
|
+
/**
|
|
26
|
+
* Les tickets terminés les plus récents
|
|
27
|
+
* @type {Array<TicketThreadUio>}
|
|
28
|
+
* @memberof TicketThreadsUio
|
|
29
|
+
*/
|
|
30
|
+
done: Array<TicketThreadUio>;
|
|
31
|
+
/**
|
|
32
|
+
* Nombre total de tickets terminés
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof TicketThreadsUio
|
|
35
|
+
*/
|
|
36
|
+
doneTotal: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TicketThreadsUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfTicketThreadsUio(value: object): value is TicketThreadsUio;
|
|
42
|
+
export declare function TicketThreadsUioFromJSON(json: any): TicketThreadsUio;
|
|
43
|
+
export declare function TicketThreadsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketThreadsUio;
|
|
44
|
+
export declare function TicketThreadsUioToJSON(json: any): TicketThreadsUio;
|
|
45
|
+
export declare function TicketThreadsUioToJSONTyped(value?: TicketThreadsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTicketThreadsUio = instanceOfTicketThreadsUio;
|
|
17
|
+
exports.TicketThreadsUioFromJSON = TicketThreadsUioFromJSON;
|
|
18
|
+
exports.TicketThreadsUioFromJSONTyped = TicketThreadsUioFromJSONTyped;
|
|
19
|
+
exports.TicketThreadsUioToJSON = TicketThreadsUioToJSON;
|
|
20
|
+
exports.TicketThreadsUioToJSONTyped = TicketThreadsUioToJSONTyped;
|
|
21
|
+
const TicketThreadUio_1 = require("./TicketThreadUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TicketThreadsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTicketThreadsUio(value) {
|
|
26
|
+
if (!('open' in value) || value['open'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('done' in value) || value['done'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('doneTotal' in value) || value['doneTotal'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function TicketThreadsUioFromJSON(json) {
|
|
35
|
+
return TicketThreadsUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function TicketThreadsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'open': (json['open'].map(TicketThreadUio_1.TicketThreadUioFromJSON)),
|
|
43
|
+
'done': (json['done'].map(TicketThreadUio_1.TicketThreadUioFromJSON)),
|
|
44
|
+
'doneTotal': json['doneTotal'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function TicketThreadsUioToJSON(json) {
|
|
48
|
+
return TicketThreadsUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function TicketThreadsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'open': (value['open'].map(TicketThreadUio_1.TicketThreadUioToJSON)),
|
|
56
|
+
'done': (value['done'].map(TicketThreadUio_1.TicketThreadUioToJSON)),
|
|
57
|
+
'doneTotal': value['doneTotal'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -21,6 +21,12 @@ export interface UpdateUserChatPreferencesRequestUio {
|
|
|
21
21
|
* @memberof UpdateUserChatPreferencesRequestUio
|
|
22
22
|
*/
|
|
23
23
|
pinnedAgentIds?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UpdateUserChatPreferencesRequestUio
|
|
28
|
+
*/
|
|
29
|
+
pinnedProjectIds?: Array<string>;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {boolean}
|
|
@@ -33,6 +33,7 @@ function UpdateUserChatPreferencesRequestUioFromJSONTyped(json, ignoreDiscrimina
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'pinnedAgentIds': json['pinnedAgentIds'] == null ? undefined : json['pinnedAgentIds'],
|
|
36
|
+
'pinnedProjectIds': json['pinnedProjectIds'] == null ? undefined : json['pinnedProjectIds'],
|
|
36
37
|
'railOpen': json['railOpen'] == null ? undefined : json['railOpen'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
@@ -45,6 +46,7 @@ function UpdateUserChatPreferencesRequestUioToJSONTyped(value, ignoreDiscriminat
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'pinnedAgentIds': value['pinnedAgentIds'],
|
|
49
|
+
'pinnedProjectIds': value['pinnedProjectIds'],
|
|
48
50
|
'railOpen': value['railOpen'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -22,6 +22,12 @@ export interface UserChatPreferencesUio {
|
|
|
22
22
|
* @memberof UserChatPreferencesUio
|
|
23
23
|
*/
|
|
24
24
|
pinnedAgentIds: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Liste ordonnée des espaces de travail épinglés dans la barre latérale
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof UserChatPreferencesUio
|
|
29
|
+
*/
|
|
30
|
+
pinnedProjectIds: Array<string>;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {boolean}
|
|
@@ -25,6 +25,8 @@ const UserAgentConversationUio_1 = require("./UserAgentConversationUio");
|
|
|
25
25
|
function instanceOfUserChatPreferencesUio(value) {
|
|
26
26
|
if (!('pinnedAgentIds' in value) || value['pinnedAgentIds'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('pinnedProjectIds' in value) || value['pinnedProjectIds'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
if (!('railOpen' in value) || value['railOpen'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
if (!('agentConversations' in value) || value['agentConversations'] === undefined)
|
|
@@ -40,6 +42,7 @@ function UserChatPreferencesUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
}
|
|
41
43
|
return {
|
|
42
44
|
'pinnedAgentIds': json['pinnedAgentIds'],
|
|
45
|
+
'pinnedProjectIds': json['pinnedProjectIds'],
|
|
43
46
|
'railOpen': json['railOpen'],
|
|
44
47
|
'agentConversations': (json['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioFromJSON)),
|
|
45
48
|
};
|
|
@@ -53,6 +56,7 @@ function UserChatPreferencesUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
56
|
}
|
|
54
57
|
return {
|
|
55
58
|
'pinnedAgentIds': value['pinnedAgentIds'],
|
|
59
|
+
'pinnedProjectIds': value['pinnedProjectIds'],
|
|
56
60
|
'railOpen': value['railOpen'],
|
|
57
61
|
'agentConversations': (value['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioToJSON)),
|
|
58
62
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export * from './AdvancedFlowEditorNodeUio';
|
|
|
18
18
|
export * from './AdvancedFlowEditorUio';
|
|
19
19
|
export * from './AdvancedFlowEditorUpdateRequestUio';
|
|
20
20
|
export * from './AgentAssignmentUio';
|
|
21
|
+
export * from './AgentAtWorkProjectUio';
|
|
22
|
+
export * from './AgentAtWorkUio';
|
|
21
23
|
export * from './AgentBuilderMcpConfigurationUio';
|
|
22
24
|
export * from './AgentBundleDiffUio';
|
|
23
25
|
export * from './AgentBundleListDiffUio';
|
|
@@ -649,8 +651,12 @@ export * from './TicketProposalPayloadUio';
|
|
|
649
651
|
export * from './TicketProposalStatusUio';
|
|
650
652
|
export * from './TicketReviewDecisionUio';
|
|
651
653
|
export * from './TicketReviewRequestUio';
|
|
654
|
+
export * from './TicketSessionMessageRequestUio';
|
|
652
655
|
export * from './TicketStartModeUio';
|
|
653
656
|
export * from './TicketStatusUio';
|
|
657
|
+
export * from './TicketThreadSessionUio';
|
|
658
|
+
export * from './TicketThreadUio';
|
|
659
|
+
export * from './TicketThreadsUio';
|
|
654
660
|
export * from './TicketUio';
|
|
655
661
|
export * from './TicketUsageUio';
|
|
656
662
|
export * from './TokenPriceSuggestionRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -36,6 +36,8 @@ __exportStar(require("./AdvancedFlowEditorNodeUio"), exports);
|
|
|
36
36
|
__exportStar(require("./AdvancedFlowEditorUio"), exports);
|
|
37
37
|
__exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
|
|
38
38
|
__exportStar(require("./AgentAssignmentUio"), exports);
|
|
39
|
+
__exportStar(require("./AgentAtWorkProjectUio"), exports);
|
|
40
|
+
__exportStar(require("./AgentAtWorkUio"), exports);
|
|
39
41
|
__exportStar(require("./AgentBuilderMcpConfigurationUio"), exports);
|
|
40
42
|
__exportStar(require("./AgentBundleDiffUio"), exports);
|
|
41
43
|
__exportStar(require("./AgentBundleListDiffUio"), exports);
|
|
@@ -667,8 +669,12 @@ __exportStar(require("./TicketProposalPayloadUio"), exports);
|
|
|
667
669
|
__exportStar(require("./TicketProposalStatusUio"), exports);
|
|
668
670
|
__exportStar(require("./TicketReviewDecisionUio"), exports);
|
|
669
671
|
__exportStar(require("./TicketReviewRequestUio"), exports);
|
|
672
|
+
__exportStar(require("./TicketSessionMessageRequestUio"), exports);
|
|
670
673
|
__exportStar(require("./TicketStartModeUio"), exports);
|
|
671
674
|
__exportStar(require("./TicketStatusUio"), exports);
|
|
675
|
+
__exportStar(require("./TicketThreadSessionUio"), exports);
|
|
676
|
+
__exportStar(require("./TicketThreadUio"), exports);
|
|
677
|
+
__exportStar(require("./TicketThreadsUio"), exports);
|
|
672
678
|
__exportStar(require("./TicketUio"), exports);
|
|
673
679
|
__exportStar(require("./TicketUsageUio"), exports);
|
|
674
680
|
__exportStar(require("./TokenPriceSuggestionRequestUio"), exports);
|