@breign/client 1.0.188 → 1.0.189
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 +2 -1
- package/dist/apis/TicketsApi.js +5 -2
- package/dist/models/CreateTicketRequestUio.d.ts +6 -0
- package/dist/models/CreateTicketRequestUio.js +2 -0
- package/dist/models/TicketParentRefUio.d.ts +51 -0
- package/dist/models/TicketParentRefUio.js +63 -0
- package/dist/models/TicketProposalPayloadUio.d.ts +6 -0
- package/dist/models/TicketProposalPayloadUio.js +2 -0
- package/dist/models/TicketUio.d.ts +31 -0
- package/dist/models/TicketUio.js +21 -0
- package/dist/models/UpdateTicketRequestUio.d.ts +6 -0
- package/dist/models/UpdateTicketRequestUio.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/openapi.json +70 -1
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ export interface ListProjectTicketsRequest {
|
|
|
71
71
|
mine?: boolean;
|
|
72
72
|
attention?: boolean;
|
|
73
73
|
agentsWorking?: boolean;
|
|
74
|
+
parentTicketId?: string;
|
|
74
75
|
search?: string;
|
|
75
76
|
page?: number;
|
|
76
77
|
limit?: number;
|
|
@@ -265,7 +266,7 @@ export declare class TicketsApi extends runtime.BaseAPI {
|
|
|
265
266
|
* Liste paginée. Filtrée sur done, elle est triée du plus récemment terminé au plus ancien ; sinon de la plus récente activité à la plus ancienne.
|
|
266
267
|
* List the tickets of a project
|
|
267
268
|
*/
|
|
268
|
-
listProjectTickets(projectId: string, status?: Array<TicketStatusUio>, mine?: boolean, attention?: boolean, agentsWorking?: boolean, search?: string, page?: number, limit?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TicketUio>>;
|
|
269
|
+
listProjectTickets(projectId: string, status?: Array<TicketStatusUio>, mine?: boolean, attention?: boolean, agentsWorking?: boolean, parentTicketId?: string, search?: string, page?: number, limit?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TicketUio>>;
|
|
269
270
|
/**
|
|
270
271
|
* Artefacts joints au ticket, les plus récents d\'abord.
|
|
271
272
|
* List the artifacts of a ticket
|
package/dist/apis/TicketsApi.js
CHANGED
|
@@ -525,6 +525,9 @@ class TicketsApi extends runtime.BaseAPI {
|
|
|
525
525
|
if (requestParameters['agentsWorking'] != null) {
|
|
526
526
|
queryParameters['agentsWorking'] = requestParameters['agentsWorking'];
|
|
527
527
|
}
|
|
528
|
+
if (requestParameters['parentTicketId'] != null) {
|
|
529
|
+
queryParameters['parentTicketId'] = requestParameters['parentTicketId'];
|
|
530
|
+
}
|
|
528
531
|
if (requestParameters['search'] != null) {
|
|
529
532
|
queryParameters['search'] = requestParameters['search'];
|
|
530
533
|
}
|
|
@@ -550,8 +553,8 @@ class TicketsApi extends runtime.BaseAPI {
|
|
|
550
553
|
* Liste paginée. Filtrée sur done, elle est triée du plus récemment terminé au plus ancien ; sinon de la plus récente activité à la plus ancienne.
|
|
551
554
|
* List the tickets of a project
|
|
552
555
|
*/
|
|
553
|
-
async listProjectTickets(projectId, status, mine, attention, agentsWorking, search, page, limit, initOverrides) {
|
|
554
|
-
const response = await this.listProjectTicketsRaw({ projectId: projectId, status: status, mine: mine, attention: attention, agentsWorking: agentsWorking, search: search, page: page, limit: limit }, initOverrides);
|
|
556
|
+
async listProjectTickets(projectId, status, mine, attention, agentsWorking, parentTicketId, search, page, limit, initOverrides) {
|
|
557
|
+
const response = await this.listProjectTicketsRaw({ projectId: projectId, status: status, mine: mine, attention: attention, agentsWorking: agentsWorking, parentTicketId: parentTicketId, search: search, page: page, limit: limit }, initOverrides);
|
|
555
558
|
return await response.value();
|
|
556
559
|
}
|
|
557
560
|
/**
|
|
@@ -74,6 +74,12 @@ export interface CreateTicketRequestUio {
|
|
|
74
74
|
* @memberof CreateTicketRequestUio
|
|
75
75
|
*/
|
|
76
76
|
startMode?: TicketStartModeUio;
|
|
77
|
+
/**
|
|
78
|
+
* Ticket parent, dans le même projet
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateTicketRequestUio
|
|
81
|
+
*/
|
|
82
|
+
parentTicketId?: string;
|
|
77
83
|
}
|
|
78
84
|
/**
|
|
79
85
|
* Check if a given object implements the CreateTicketRequestUio interface.
|
|
@@ -48,6 +48,7 @@ function CreateTicketRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'assignees': json['assignees'] == null ? undefined : (json['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioFromJSON)),
|
|
49
49
|
'reviewer': json['reviewer'] == null ? undefined : (0, MemberRefUio_1.MemberRefUioFromJSON)(json['reviewer']),
|
|
50
50
|
'startMode': json['startMode'] == null ? undefined : (0, TicketStartModeUio_1.TicketStartModeUioFromJSON)(json['startMode']),
|
|
51
|
+
'parentTicketId': json['parentTicketId'] == null ? undefined : json['parentTicketId'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
function CreateTicketRequestUioToJSON(json) {
|
|
@@ -67,5 +68,6 @@ function CreateTicketRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
68
|
'assignees': value['assignees'] == null ? undefined : (value['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioToJSON)),
|
|
68
69
|
'reviewer': (0, MemberRefUio_1.MemberRefUioToJSON)(value['reviewer']),
|
|
69
70
|
'startMode': (0, TicketStartModeUio_1.TicketStartModeUioToJSON)(value['startMode']),
|
|
71
|
+
'parentTicketId': value['parentTicketId'],
|
|
70
72
|
};
|
|
71
73
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { TicketStatusUio } from './TicketStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
* Le ticket parent d'un sous-ticket, de quoi l'afficher sans le recharger.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TicketParentRefUio
|
|
17
|
+
*/
|
|
18
|
+
export interface TicketParentRefUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TicketParentRefUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TicketParentRefUio
|
|
29
|
+
*/
|
|
30
|
+
key: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TicketParentRefUio
|
|
35
|
+
*/
|
|
36
|
+
title: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {TicketStatusUio}
|
|
40
|
+
* @memberof TicketParentRefUio
|
|
41
|
+
*/
|
|
42
|
+
status: TicketStatusUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the TicketParentRefUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfTicketParentRefUio(value: object): value is TicketParentRefUio;
|
|
48
|
+
export declare function TicketParentRefUioFromJSON(json: any): TicketParentRefUio;
|
|
49
|
+
export declare function TicketParentRefUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketParentRefUio;
|
|
50
|
+
export declare function TicketParentRefUioToJSON(json: any): TicketParentRefUio;
|
|
51
|
+
export declare function TicketParentRefUioToJSONTyped(value?: TicketParentRefUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfTicketParentRefUio = instanceOfTicketParentRefUio;
|
|
17
|
+
exports.TicketParentRefUioFromJSON = TicketParentRefUioFromJSON;
|
|
18
|
+
exports.TicketParentRefUioFromJSONTyped = TicketParentRefUioFromJSONTyped;
|
|
19
|
+
exports.TicketParentRefUioToJSON = TicketParentRefUioToJSON;
|
|
20
|
+
exports.TicketParentRefUioToJSONTyped = TicketParentRefUioToJSONTyped;
|
|
21
|
+
const TicketStatusUio_1 = require("./TicketStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TicketParentRefUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTicketParentRefUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function TicketParentRefUioFromJSON(json) {
|
|
37
|
+
return TicketParentRefUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function TicketParentRefUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'key': json['key'],
|
|
46
|
+
'title': json['title'],
|
|
47
|
+
'status': (0, TicketStatusUio_1.TicketStatusUioFromJSON)(json['status']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function TicketParentRefUioToJSON(json) {
|
|
51
|
+
return TicketParentRefUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function TicketParentRefUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'key': value['key'],
|
|
60
|
+
'title': value['title'],
|
|
61
|
+
'status': (0, TicketStatusUio_1.TicketStatusUioToJSON)(value['status']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -61,6 +61,12 @@ export interface TicketProposalPayloadUio {
|
|
|
61
61
|
* @memberof TicketProposalPayloadUio
|
|
62
62
|
*/
|
|
63
63
|
workspacePaths: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Ticket parent du futur ticket
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof TicketProposalPayloadUio
|
|
68
|
+
*/
|
|
69
|
+
parentTicketId?: string | null;
|
|
64
70
|
}
|
|
65
71
|
/**
|
|
66
72
|
* Check if a given object implements the TicketProposalPayloadUio interface.
|
|
@@ -57,6 +57,7 @@ function TicketProposalPayloadUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'priority': (0, TicketPriorityUio_1.TicketPriorityUioFromJSON)(json['priority']),
|
|
58
58
|
'startMode': (0, TicketStartModeUio_1.TicketStartModeUioFromJSON)(json['startMode']),
|
|
59
59
|
'workspacePaths': json['workspacePaths'],
|
|
60
|
+
'parentTicketId': json['parentTicketId'] == null ? undefined : json['parentTicketId'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
function TicketProposalPayloadUioToJSON(json) {
|
|
@@ -74,5 +75,6 @@ function TicketProposalPayloadUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
74
75
|
'priority': (0, TicketPriorityUio_1.TicketPriorityUioToJSON)(value['priority']),
|
|
75
76
|
'startMode': (0, TicketStartModeUio_1.TicketStartModeUioToJSON)(value['startMode']),
|
|
76
77
|
'workspacePaths': value['workspacePaths'],
|
|
78
|
+
'parentTicketId': value['parentTicketId'],
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -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}
|
package/dist/models/TicketUio.js
CHANGED
|
@@ -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
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
package/dist/openapi.json
CHANGED
|
@@ -18238,6 +18238,14 @@
|
|
|
18238
18238
|
"schema" : {
|
|
18239
18239
|
"type" : "boolean"
|
|
18240
18240
|
}
|
|
18241
|
+
}, {
|
|
18242
|
+
"description" : "Seulement les sous-tickets directs de ce ticket ; none pour les tickets sans parent",
|
|
18243
|
+
"in" : "query",
|
|
18244
|
+
"name" : "parentTicketId",
|
|
18245
|
+
"required" : false,
|
|
18246
|
+
"schema" : {
|
|
18247
|
+
"type" : "string"
|
|
18248
|
+
}
|
|
18241
18249
|
}, {
|
|
18242
18250
|
"description" : "Recherche dans le titre et la clé",
|
|
18243
18251
|
"in" : "query",
|
|
@@ -32887,6 +32895,26 @@
|
|
|
32887
32895
|
"nullable" : true,
|
|
32888
32896
|
"type" : "string"
|
|
32889
32897
|
},
|
|
32898
|
+
"parentTicketId" : {
|
|
32899
|
+
"description" : "Ticket parent, dans le même projet ; le ticket est alors un sous-ticket",
|
|
32900
|
+
"format" : "uuid",
|
|
32901
|
+
"nullable" : true,
|
|
32902
|
+
"type" : "string"
|
|
32903
|
+
},
|
|
32904
|
+
"parent" : {
|
|
32905
|
+
"allOf" : [ {
|
|
32906
|
+
"$ref" : "#/components/schemas/TicketParentRef"
|
|
32907
|
+
} ],
|
|
32908
|
+
"nullable" : true
|
|
32909
|
+
},
|
|
32910
|
+
"childCount" : {
|
|
32911
|
+
"description" : "Nombre de sous-tickets directs",
|
|
32912
|
+
"type" : "integer"
|
|
32913
|
+
},
|
|
32914
|
+
"openChildCount" : {
|
|
32915
|
+
"description" : "Nombre de sous-tickets directs pas encore terminés",
|
|
32916
|
+
"type" : "integer"
|
|
32917
|
+
},
|
|
32890
32918
|
"position" : {
|
|
32891
32919
|
"description" : "Ordre dans la colonne, croissant",
|
|
32892
32920
|
"type" : "number"
|
|
@@ -32918,6 +32946,10 @@
|
|
|
32918
32946
|
"nullable" : true,
|
|
32919
32947
|
"type" : "string"
|
|
32920
32948
|
},
|
|
32949
|
+
"lastActivityAt" : {
|
|
32950
|
+
"description" : "Dernier commentaire, changement de statut ou d'assignation",
|
|
32951
|
+
"type" : "string"
|
|
32952
|
+
},
|
|
32921
32953
|
"createdAt" : {
|
|
32922
32954
|
"type" : "string"
|
|
32923
32955
|
},
|
|
@@ -32925,7 +32957,27 @@
|
|
|
32925
32957
|
"type" : "string"
|
|
32926
32958
|
}
|
|
32927
32959
|
},
|
|
32928
|
-
"required" : [ "artifactCount", "assignees", "commentCount", "createdAt", "createdBy", "description", "doneAt", "dueDate", "id", "key", "labels", "number", "organizationId", "pendingHumanActions", "position", "priority", "projectId", "reviewer", "sourceConversationId", "status", "title", "updatedAt" ],
|
|
32960
|
+
"required" : [ "artifactCount", "assignees", "childCount", "commentCount", "createdAt", "createdBy", "description", "doneAt", "dueDate", "id", "key", "labels", "lastActivityAt", "number", "openChildCount", "organizationId", "parent", "parentTicketId", "pendingHumanActions", "position", "priority", "projectId", "reviewer", "sourceConversationId", "status", "title", "updatedAt" ],
|
|
32961
|
+
"type" : "object"
|
|
32962
|
+
},
|
|
32963
|
+
"TicketParentRef" : {
|
|
32964
|
+
"description" : "Le ticket parent d'un sous-ticket, de quoi l'afficher sans le recharger.",
|
|
32965
|
+
"properties" : {
|
|
32966
|
+
"id" : {
|
|
32967
|
+
"format" : "uuid",
|
|
32968
|
+
"type" : "string"
|
|
32969
|
+
},
|
|
32970
|
+
"key" : {
|
|
32971
|
+
"type" : "string"
|
|
32972
|
+
},
|
|
32973
|
+
"title" : {
|
|
32974
|
+
"type" : "string"
|
|
32975
|
+
},
|
|
32976
|
+
"status" : {
|
|
32977
|
+
"$ref" : "#/components/schemas/TicketStatus"
|
|
32978
|
+
}
|
|
32979
|
+
},
|
|
32980
|
+
"required" : [ "id", "key", "status", "title" ],
|
|
32929
32981
|
"type" : "object"
|
|
32930
32982
|
},
|
|
32931
32983
|
"TicketAssignee" : {
|
|
@@ -33007,6 +33059,11 @@
|
|
|
33007
33059
|
},
|
|
33008
33060
|
"startMode" : {
|
|
33009
33061
|
"$ref" : "#/components/schemas/TicketStartMode"
|
|
33062
|
+
},
|
|
33063
|
+
"parentTicketId" : {
|
|
33064
|
+
"description" : "Ticket parent, dans le même projet",
|
|
33065
|
+
"format" : "uuid",
|
|
33066
|
+
"type" : "string"
|
|
33010
33067
|
}
|
|
33011
33068
|
},
|
|
33012
33069
|
"required" : [ "title" ],
|
|
@@ -33059,6 +33116,12 @@
|
|
|
33059
33116
|
},
|
|
33060
33117
|
"position" : {
|
|
33061
33118
|
"type" : "number"
|
|
33119
|
+
},
|
|
33120
|
+
"parentTicketId" : {
|
|
33121
|
+
"description" : "Ticket parent, dans le même projet ; null détache le ticket de son parent",
|
|
33122
|
+
"format" : "uuid",
|
|
33123
|
+
"nullable" : true,
|
|
33124
|
+
"type" : "string"
|
|
33062
33125
|
}
|
|
33063
33126
|
},
|
|
33064
33127
|
"type" : "object"
|
|
@@ -34910,6 +34973,12 @@
|
|
|
34910
34973
|
"type" : "string"
|
|
34911
34974
|
},
|
|
34912
34975
|
"type" : "array"
|
|
34976
|
+
},
|
|
34977
|
+
"parentTicketId" : {
|
|
34978
|
+
"description" : "Ticket parent du futur ticket",
|
|
34979
|
+
"format" : "uuid",
|
|
34980
|
+
"nullable" : true,
|
|
34981
|
+
"type" : "string"
|
|
34913
34982
|
}
|
|
34914
34983
|
},
|
|
34915
34984
|
"required" : [ "assignees", "description", "priority", "reviewer", "startMode", "title", "workspacePaths" ],
|