@breign/client 1.0.188 → 1.0.190

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.
@@ -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
+ }
@@ -13,6 +13,7 @@ import type { ActorRefUio } from './ActorRefUio';
13
13
  import type { TicketActiveAgentUio } from './TicketActiveAgentUio';
14
14
  import type { TicketPriorityUio } from './TicketPriorityUio';
15
15
  import type { MemberRefUio } from './MemberRefUio';
16
+ import type { TicketParentRefUio } from './TicketParentRefUio';
16
17
  import type { TicketAssigneeUio } from './TicketAssigneeUio';
17
18
  import type { TicketStatusUio } from './TicketStatusUio';
18
19
  /**
@@ -105,6 +106,30 @@ export interface TicketUio {
105
106
  * @memberof TicketUio
106
107
  */
107
108
  sourceConversationId: string | null;
109
+ /**
110
+ * Ticket parent, dans le même projet ; le ticket est alors un sous-ticket
111
+ * @type {string}
112
+ * @memberof TicketUio
113
+ */
114
+ parentTicketId: string | null;
115
+ /**
116
+ *
117
+ * @type {TicketParentRefUio}
118
+ * @memberof TicketUio
119
+ */
120
+ parent: TicketParentRefUio | null;
121
+ /**
122
+ * Nombre de sous-tickets directs
123
+ * @type {number}
124
+ * @memberof TicketUio
125
+ */
126
+ childCount: number;
127
+ /**
128
+ * Nombre de sous-tickets directs pas encore terminés
129
+ * @type {number}
130
+ * @memberof TicketUio
131
+ */
132
+ openChildCount: number;
108
133
  /**
109
134
  * Ordre dans la colonne, croissant
110
135
  * @type {number}
@@ -147,6 +172,12 @@ export interface TicketUio {
147
172
  * @memberof TicketUio
148
173
  */
149
174
  doneAt: string | null;
175
+ /**
176
+ * Dernier commentaire, changement de statut ou d'assignation
177
+ * @type {string}
178
+ * @memberof TicketUio
179
+ */
180
+ lastActivityAt: string;
150
181
  /**
151
182
  *
152
183
  * @type {string}
@@ -22,6 +22,7 @@ const ActorRefUio_1 = require("./ActorRefUio");
22
22
  const TicketActiveAgentUio_1 = require("./TicketActiveAgentUio");
23
23
  const TicketPriorityUio_1 = require("./TicketPriorityUio");
24
24
  const MemberRefUio_1 = require("./MemberRefUio");
25
+ const TicketParentRefUio_1 = require("./TicketParentRefUio");
25
26
  const TicketAssigneeUio_1 = require("./TicketAssigneeUio");
26
27
  const TicketStatusUio_1 = require("./TicketStatusUio");
27
28
  /**
@@ -56,6 +57,14 @@ function instanceOfTicketUio(value) {
56
57
  return false;
57
58
  if (!('sourceConversationId' in value) || value['sourceConversationId'] === undefined)
58
59
  return false;
60
+ if (!('parentTicketId' in value) || value['parentTicketId'] === undefined)
61
+ return false;
62
+ if (!('parent' in value) || value['parent'] === undefined)
63
+ return false;
64
+ if (!('childCount' in value) || value['childCount'] === undefined)
65
+ return false;
66
+ if (!('openChildCount' in value) || value['openChildCount'] === undefined)
67
+ return false;
59
68
  if (!('position' in value) || value['position'] === undefined)
60
69
  return false;
61
70
  if (!('assignees' in value) || value['assignees'] === undefined)
@@ -68,6 +77,8 @@ function instanceOfTicketUio(value) {
68
77
  return false;
69
78
  if (!('doneAt' in value) || value['doneAt'] === undefined)
70
79
  return false;
80
+ if (!('lastActivityAt' in value) || value['lastActivityAt'] === undefined)
81
+ return false;
71
82
  if (!('createdAt' in value) || value['createdAt'] === undefined)
72
83
  return false;
73
84
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -96,6 +107,10 @@ function TicketUioFromJSONTyped(json, ignoreDiscriminator) {
96
107
  'reviewer': (0, MemberRefUio_1.MemberRefUioFromJSON)(json['reviewer']),
97
108
  'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
98
109
  'sourceConversationId': json['sourceConversationId'],
110
+ 'parentTicketId': json['parentTicketId'],
111
+ 'parent': (0, TicketParentRefUio_1.TicketParentRefUioFromJSON)(json['parent']),
112
+ 'childCount': json['childCount'],
113
+ 'openChildCount': json['openChildCount'],
99
114
  'position': json['position'],
100
115
  'assignees': (json['assignees'].map(TicketAssigneeUio_1.TicketAssigneeUioFromJSON)),
101
116
  'commentCount': json['commentCount'],
@@ -103,6 +118,7 @@ function TicketUioFromJSONTyped(json, ignoreDiscriminator) {
103
118
  'pendingHumanActions': json['pendingHumanActions'],
104
119
  'activeAgents': json['activeAgents'] == null ? undefined : (json['activeAgents'].map(TicketActiveAgentUio_1.TicketActiveAgentUioFromJSON)),
105
120
  'doneAt': json['doneAt'],
121
+ 'lastActivityAt': json['lastActivityAt'],
106
122
  'createdAt': json['createdAt'],
107
123
  'updatedAt': json['updatedAt'],
108
124
  };
@@ -129,6 +145,10 @@ function TicketUioToJSONTyped(value, ignoreDiscriminator = false) {
129
145
  'reviewer': (0, MemberRefUio_1.MemberRefUioToJSON)(value['reviewer']),
130
146
  'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
131
147
  'sourceConversationId': value['sourceConversationId'],
148
+ 'parentTicketId': value['parentTicketId'],
149
+ 'parent': (0, TicketParentRefUio_1.TicketParentRefUioToJSON)(value['parent']),
150
+ 'childCount': value['childCount'],
151
+ 'openChildCount': value['openChildCount'],
132
152
  'position': value['position'],
133
153
  'assignees': (value['assignees'].map(TicketAssigneeUio_1.TicketAssigneeUioToJSON)),
134
154
  'commentCount': value['commentCount'],
@@ -136,6 +156,7 @@ function TicketUioToJSONTyped(value, ignoreDiscriminator = false) {
136
156
  'pendingHumanActions': value['pendingHumanActions'],
137
157
  'activeAgents': value['activeAgents'] == null ? undefined : (value['activeAgents'].map(TicketActiveAgentUio_1.TicketActiveAgentUioToJSON)),
138
158
  'doneAt': value['doneAt'],
159
+ 'lastActivityAt': value['lastActivityAt'],
139
160
  'createdAt': value['createdAt'],
140
161
  'updatedAt': value['updatedAt'],
141
162
  };
@@ -66,6 +66,12 @@ export interface UpdateTicketRequestUio {
66
66
  * @memberof UpdateTicketRequestUio
67
67
  */
68
68
  position?: number;
69
+ /**
70
+ * Ticket parent, dans le même projet ; null détache le ticket de son parent
71
+ * @type {string}
72
+ * @memberof UpdateTicketRequestUio
73
+ */
74
+ parentTicketId?: string | null;
69
75
  }
70
76
  /**
71
77
  * Check if a given object implements the UpdateTicketRequestUio interface.
@@ -43,6 +43,7 @@ function UpdateTicketRequestUioFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'dueDate': json['dueDate'] == null ? undefined : json['dueDate'],
44
44
  'reviewer': json['reviewer'] == null ? undefined : (0, MemberRefUio_1.MemberRefUioFromJSON)(json['reviewer']),
45
45
  'position': json['position'] == null ? undefined : json['position'],
46
+ 'parentTicketId': json['parentTicketId'] == null ? undefined : json['parentTicketId'],
46
47
  };
47
48
  }
48
49
  function UpdateTicketRequestUioToJSON(json) {
@@ -61,5 +62,6 @@ function UpdateTicketRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
61
62
  'dueDate': value['dueDate'],
62
63
  'reviewer': (0, MemberRefUio_1.MemberRefUioToJSON)(value['reviewer']),
63
64
  'position': value['position'],
65
+ 'parentTicketId': value['parentTicketId'],
64
66
  };
65
67
  }
@@ -641,6 +641,7 @@ export * from './TicketBoardUio';
641
641
  export * from './TicketEventKindUio';
642
642
  export * from './TicketEventUio';
643
643
  export * from './TicketModelUsageUio';
644
+ export * from './TicketParentRefUio';
644
645
  export * from './TicketPlanStepStatusUio';
645
646
  export * from './TicketPlanStepUio';
646
647
  export * from './TicketPriorityUio';
@@ -648,8 +649,12 @@ export * from './TicketProposalPayloadUio';
648
649
  export * from './TicketProposalStatusUio';
649
650
  export * from './TicketReviewDecisionUio';
650
651
  export * from './TicketReviewRequestUio';
652
+ export * from './TicketSessionMessageRequestUio';
651
653
  export * from './TicketStartModeUio';
652
654
  export * from './TicketStatusUio';
655
+ export * from './TicketThreadSessionUio';
656
+ export * from './TicketThreadUio';
657
+ export * from './TicketThreadsUio';
653
658
  export * from './TicketUio';
654
659
  export * from './TicketUsageUio';
655
660
  export * from './TokenPriceSuggestionRequestUio';
@@ -659,6 +659,7 @@ __exportStar(require("./TicketBoardUio"), exports);
659
659
  __exportStar(require("./TicketEventKindUio"), exports);
660
660
  __exportStar(require("./TicketEventUio"), exports);
661
661
  __exportStar(require("./TicketModelUsageUio"), exports);
662
+ __exportStar(require("./TicketParentRefUio"), exports);
662
663
  __exportStar(require("./TicketPlanStepStatusUio"), exports);
663
664
  __exportStar(require("./TicketPlanStepUio"), exports);
664
665
  __exportStar(require("./TicketPriorityUio"), exports);
@@ -666,8 +667,12 @@ __exportStar(require("./TicketProposalPayloadUio"), exports);
666
667
  __exportStar(require("./TicketProposalStatusUio"), exports);
667
668
  __exportStar(require("./TicketReviewDecisionUio"), exports);
668
669
  __exportStar(require("./TicketReviewRequestUio"), exports);
670
+ __exportStar(require("./TicketSessionMessageRequestUio"), exports);
669
671
  __exportStar(require("./TicketStartModeUio"), exports);
670
672
  __exportStar(require("./TicketStatusUio"), exports);
673
+ __exportStar(require("./TicketThreadSessionUio"), exports);
674
+ __exportStar(require("./TicketThreadUio"), exports);
675
+ __exportStar(require("./TicketThreadsUio"), exports);
671
676
  __exportStar(require("./TicketUio"), exports);
672
677
  __exportStar(require("./TicketUsageUio"), exports);
673
678
  __exportStar(require("./TokenPriceSuggestionRequestUio"), exports);