@breign/client 1.0.200 → 1.0.201
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/ProjectsApi.d.ts +17 -4
- package/dist/apis/ProjectsApi.js +33 -4
- package/dist/apis/TicketsApi.d.ts +15 -1
- package/dist/apis/TicketsApi.js +34 -0
- package/dist/models/CreateProjectRequestUio.d.ts +6 -0
- package/dist/models/CreateProjectRequestUio.js +2 -0
- package/dist/models/MoveTicketsRequestUio.d.ts +38 -0
- package/dist/models/MoveTicketsRequestUio.js +54 -0
- package/dist/models/MoveTicketsResultUio.d.ts +40 -0
- package/dist/models/MoveTicketsResultUio.js +56 -0
- package/dist/models/MovedTicketUio.d.ts +44 -0
- package/dist/models/MovedTicketUio.js +58 -0
- package/dist/models/ProjectSummaryUio.d.ts +7 -1
- package/dist/models/ProjectSummaryUio.js +4 -0
- package/dist/models/ProjectUio.d.ts +7 -1
- package/dist/models/ProjectUio.js +4 -0
- package/dist/models/RemovedTicketMemberUio.d.ts +39 -0
- package/dist/models/RemovedTicketMemberUio.js +55 -0
- package/dist/models/TicketEventUio.d.ts +1 -1
- 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 +4 -0
- package/dist/models/index.js +4 -0
- package/dist/openapi.json +205 -20
- package/package.json +1 -1
|
@@ -15,6 +15,9 @@ export interface CreateProjectRequest {
|
|
|
15
15
|
organizationId: string;
|
|
16
16
|
createProjectRequestUio: CreateProjectRequestUio;
|
|
17
17
|
}
|
|
18
|
+
export interface GetPersonalProjectRequest {
|
|
19
|
+
organizationId: string;
|
|
20
|
+
}
|
|
18
21
|
export interface GetProjectRequest {
|
|
19
22
|
projectId: string;
|
|
20
23
|
}
|
|
@@ -41,15 +44,25 @@ export interface UpdateProjectRequest {
|
|
|
41
44
|
*/
|
|
42
45
|
export declare class ProjectsApi extends runtime.BaseAPI {
|
|
43
46
|
/**
|
|
44
|
-
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation.
|
|
47
|
+
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation ; PERSO est réservée (400 PROJECT_KEY_RESERVED).
|
|
45
48
|
* Create a project
|
|
46
49
|
*/
|
|
47
50
|
createProjectRaw(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUio>>;
|
|
48
51
|
/**
|
|
49
|
-
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation.
|
|
52
|
+
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation ; PERSO est réservée (400 PROJECT_KEY_RESERVED).
|
|
50
53
|
* Create a project
|
|
51
54
|
*/
|
|
52
55
|
createProject(organizationId: string, createProjectRequestUio: CreateProjectRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUio>;
|
|
56
|
+
/**
|
|
57
|
+
* Espace de travail personnel de l\'utilisateur courant dans l\'organisation (clé PERSO), créé à la première demande.
|
|
58
|
+
* Get the caller\'s personal workspace
|
|
59
|
+
*/
|
|
60
|
+
getPersonalProjectRaw(requestParameters: GetPersonalProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectUio>>;
|
|
61
|
+
/**
|
|
62
|
+
* Espace de travail personnel de l\'utilisateur courant dans l\'organisation (clé PERSO), créé à la première demande.
|
|
63
|
+
* Get the caller\'s personal workspace
|
|
64
|
+
*/
|
|
65
|
+
getPersonalProject(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectUio>;
|
|
53
66
|
/**
|
|
54
67
|
* Projet et ses réglages.
|
|
55
68
|
* Get a project
|
|
@@ -81,12 +94,12 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
81
94
|
*/
|
|
82
95
|
listProjectMembers(projectId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectMemberUio>>;
|
|
83
96
|
/**
|
|
84
|
-
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent.
|
|
97
|
+
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent. Son espace personnel vient en tête, créé au besoin ; ceux des autres n\'apparaissent jamais, même pour un admin.
|
|
85
98
|
* List the projects of an organization
|
|
86
99
|
*/
|
|
87
100
|
listProjectsRaw(requestParameters: ListProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectSummaryUio>>>;
|
|
88
101
|
/**
|
|
89
|
-
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent.
|
|
102
|
+
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent. Son espace personnel vient en tête, créé au besoin ; ceux des autres n\'apparaissent jamais, même pour un admin.
|
|
90
103
|
* List the projects of an organization
|
|
91
104
|
*/
|
|
92
105
|
listProjects(organizationId: string, includeArchived?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectSummaryUio>>;
|
package/dist/apis/ProjectsApi.js
CHANGED
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class ProjectsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation.
|
|
57
|
+
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation ; PERSO est réservée (400 PROJECT_KEY_RESERVED).
|
|
58
58
|
* Create a project
|
|
59
59
|
*/
|
|
60
60
|
async createProjectRaw(requestParameters, initOverrides) {
|
|
@@ -80,13 +80,42 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
80
80
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectUioFromJSON)(jsonValue));
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation.
|
|
83
|
+
* Crée un projet ; le créateur en devient owner. La clé doit être unique dans l\'organisation ; PERSO est réservée (400 PROJECT_KEY_RESERVED).
|
|
84
84
|
* Create a project
|
|
85
85
|
*/
|
|
86
86
|
async createProject(organizationId, createProjectRequestUio, initOverrides) {
|
|
87
87
|
const response = await this.createProjectRaw({ organizationId: organizationId, createProjectRequestUio: createProjectRequestUio }, initOverrides);
|
|
88
88
|
return await response.value();
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Espace de travail personnel de l\'utilisateur courant dans l\'organisation (clé PERSO), créé à la première demande.
|
|
92
|
+
* Get the caller\'s personal workspace
|
|
93
|
+
*/
|
|
94
|
+
async getPersonalProjectRaw(requestParameters, initOverrides) {
|
|
95
|
+
if (requestParameters['organizationId'] == null) {
|
|
96
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling getPersonalProject().');
|
|
97
|
+
}
|
|
98
|
+
const queryParameters = {};
|
|
99
|
+
const headerParameters = {};
|
|
100
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
101
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
102
|
+
}
|
|
103
|
+
const response = await this.request({
|
|
104
|
+
path: `/organizations/{organizationId}/projects/personal`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
105
|
+
method: 'GET',
|
|
106
|
+
headers: headerParameters,
|
|
107
|
+
query: queryParameters,
|
|
108
|
+
}, initOverrides);
|
|
109
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectUioFromJSON)(jsonValue));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Espace de travail personnel de l\'utilisateur courant dans l\'organisation (clé PERSO), créé à la première demande.
|
|
113
|
+
* Get the caller\'s personal workspace
|
|
114
|
+
*/
|
|
115
|
+
async getPersonalProject(organizationId, initOverrides) {
|
|
116
|
+
const response = await this.getPersonalProjectRaw({ organizationId: organizationId }, initOverrides);
|
|
117
|
+
return await response.value();
|
|
118
|
+
}
|
|
90
119
|
/**
|
|
91
120
|
* Projet et ses réglages.
|
|
92
121
|
* Get a project
|
|
@@ -175,7 +204,7 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
175
204
|
return await response.value();
|
|
176
205
|
}
|
|
177
206
|
/**
|
|
178
|
-
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent.
|
|
207
|
+
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent. Son espace personnel vient en tête, créé au besoin ; ceux des autres n\'apparaissent jamais, même pour un admin.
|
|
179
208
|
* List the projects of an organization
|
|
180
209
|
*/
|
|
181
210
|
async listProjectsRaw(requestParameters, initOverrides) {
|
|
@@ -199,7 +228,7 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
199
228
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ProjectSummaryUioFromJSON));
|
|
200
229
|
}
|
|
201
230
|
/**
|
|
202
|
-
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent.
|
|
231
|
+
* Projets de l\'organisation visibles par l\'utilisateur courant (membre du projet, ou admin de l\'organisation), avec leurs compteurs, leurs membres et les actions qui l\'attendent. Son espace personnel vient en tête, créé au besoin ; ceux des autres n\'apparaissent jamais, même pour un admin.
|
|
203
232
|
* List the projects of an organization
|
|
204
233
|
*/
|
|
205
234
|
async listProjects(organizationId, includeArchived, initOverrides) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AcceptTicketProposalRequestUio, AgentAtWorkUio, ConversationTicketProposalUio, CreateTicketArtifactRequestUio, CreateTicketArtifactResponseUio, CreateTicketEventRequestUio, CreateTicketRequestUio, MemberTypeUio, SaveTicketArtifactVersionRequestUio, SetTicketAssigneesRequestUio, TicketAgentExecutionUio, TicketApprovalRequestUio, TicketArtifactDownloadUrlUio, TicketArtifactUio, TicketBoardUio, TicketEventUio, TicketReviewRequestUio, TicketSessionMessageRequestUio, TicketStatusUio, TicketThreadsUio, TicketUio, TicketUsageUio, UpdateTicketRequestUio } from '../models/index';
|
|
13
|
+
import type { AcceptTicketProposalRequestUio, AgentAtWorkUio, ConversationTicketProposalUio, CreateTicketArtifactRequestUio, CreateTicketArtifactResponseUio, CreateTicketEventRequestUio, CreateTicketRequestUio, MemberTypeUio, MoveTicketsRequestUio, MoveTicketsResultUio, SaveTicketArtifactVersionRequestUio, SetTicketAssigneesRequestUio, TicketAgentExecutionUio, TicketApprovalRequestUio, TicketArtifactDownloadUrlUio, TicketArtifactUio, TicketBoardUio, TicketEventUio, TicketReviewRequestUio, TicketSessionMessageRequestUio, TicketStatusUio, TicketThreadsUio, TicketUio, TicketUsageUio, UpdateTicketRequestUio } from '../models/index';
|
|
14
14
|
export interface AcceptTicketProposalRequest {
|
|
15
15
|
proposalId: string;
|
|
16
16
|
acceptTicketProposalRequestUio: AcceptTicketProposalRequestUio;
|
|
@@ -96,6 +96,10 @@ export interface MarkTicketArtifactUploadedRequest {
|
|
|
96
96
|
ticketId: string;
|
|
97
97
|
artifactId: string;
|
|
98
98
|
}
|
|
99
|
+
export interface MoveTicketsRequest {
|
|
100
|
+
projectId: string;
|
|
101
|
+
moveTicketsRequestUio: MoveTicketsRequestUio;
|
|
102
|
+
}
|
|
99
103
|
export interface RejectTicketProposalRequest {
|
|
100
104
|
proposalId: string;
|
|
101
105
|
}
|
|
@@ -330,6 +334,16 @@ export declare class TicketsApi extends runtime.BaseAPI {
|
|
|
330
334
|
* Mark an artifact as uploaded
|
|
331
335
|
*/
|
|
332
336
|
markTicketArtifactUploaded(ticketId: string, artifactId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TicketArtifactUio>;
|
|
337
|
+
/**
|
|
338
|
+
* Emporte des tickets de l\'espace personnel de l\'appelant dans cet espace partagé, dont il est membre. Chaque ticket prend une clé de l\'espace (PERSO-16 devient REF-1) et garde son historique ; l\'ancienne clé ne mène plus nulle part. Un parent ou un enfant resté en arrière perd le lien ; les assignés et relecteurs qui ne sont pas membres de l\'espace sont retirés.
|
|
339
|
+
* Move tickets into a project
|
|
340
|
+
*/
|
|
341
|
+
moveTicketsRaw(requestParameters: MoveTicketsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MoveTicketsResultUio>>;
|
|
342
|
+
/**
|
|
343
|
+
* Emporte des tickets de l\'espace personnel de l\'appelant dans cet espace partagé, dont il est membre. Chaque ticket prend une clé de l\'espace (PERSO-16 devient REF-1) et garde son historique ; l\'ancienne clé ne mène plus nulle part. Un parent ou un enfant resté en arrière perd le lien ; les assignés et relecteurs qui ne sont pas membres de l\'espace sont retirés.
|
|
344
|
+
* Move tickets into a project
|
|
345
|
+
*/
|
|
346
|
+
moveTickets(projectId: string, moveTicketsRequestUio: MoveTicketsRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveTicketsResultUio>;
|
|
333
347
|
/**
|
|
334
348
|
* Écarte la proposition ; aucun ticket n\'est créé.
|
|
335
349
|
* Reject a ticket proposal
|
package/dist/apis/TicketsApi.js
CHANGED
|
@@ -717,6 +717,40 @@ class TicketsApi extends runtime.BaseAPI {
|
|
|
717
717
|
const response = await this.markTicketArtifactUploadedRaw({ ticketId: ticketId, artifactId: artifactId }, initOverrides);
|
|
718
718
|
return await response.value();
|
|
719
719
|
}
|
|
720
|
+
/**
|
|
721
|
+
* Emporte des tickets de l\'espace personnel de l\'appelant dans cet espace partagé, dont il est membre. Chaque ticket prend une clé de l\'espace (PERSO-16 devient REF-1) et garde son historique ; l\'ancienne clé ne mène plus nulle part. Un parent ou un enfant resté en arrière perd le lien ; les assignés et relecteurs qui ne sont pas membres de l\'espace sont retirés.
|
|
722
|
+
* Move tickets into a project
|
|
723
|
+
*/
|
|
724
|
+
async moveTicketsRaw(requestParameters, initOverrides) {
|
|
725
|
+
if (requestParameters['projectId'] == null) {
|
|
726
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling moveTickets().');
|
|
727
|
+
}
|
|
728
|
+
if (requestParameters['moveTicketsRequestUio'] == null) {
|
|
729
|
+
throw new runtime.RequiredError('moveTicketsRequestUio', 'Required parameter "moveTicketsRequestUio" was null or undefined when calling moveTickets().');
|
|
730
|
+
}
|
|
731
|
+
const queryParameters = {};
|
|
732
|
+
const headerParameters = {};
|
|
733
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
734
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
735
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
736
|
+
}
|
|
737
|
+
const response = await this.request({
|
|
738
|
+
path: `/projects/{projectId}/tickets/move`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
|
|
739
|
+
method: 'POST',
|
|
740
|
+
headers: headerParameters,
|
|
741
|
+
query: queryParameters,
|
|
742
|
+
body: (0, index_1.MoveTicketsRequestUioToJSON)(requestParameters['moveTicketsRequestUio']),
|
|
743
|
+
}, initOverrides);
|
|
744
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MoveTicketsResultUioFromJSON)(jsonValue));
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* Emporte des tickets de l\'espace personnel de l\'appelant dans cet espace partagé, dont il est membre. Chaque ticket prend une clé de l\'espace (PERSO-16 devient REF-1) et garde son historique ; l\'ancienne clé ne mène plus nulle part. Un parent ou un enfant resté en arrière perd le lien ; les assignés et relecteurs qui ne sont pas membres de l\'espace sont retirés.
|
|
748
|
+
* Move tickets into a project
|
|
749
|
+
*/
|
|
750
|
+
async moveTickets(projectId, moveTicketsRequestUio, initOverrides) {
|
|
751
|
+
const response = await this.moveTicketsRaw({ projectId: projectId, moveTicketsRequestUio: moveTicketsRequestUio }, initOverrides);
|
|
752
|
+
return await response.value();
|
|
753
|
+
}
|
|
720
754
|
/**
|
|
721
755
|
* Écarte la proposition ; aucun ticket n\'est créé.
|
|
722
756
|
* Reject a ticket proposal
|
|
@@ -59,6 +59,12 @@ export interface CreateProjectRequestUio {
|
|
|
59
59
|
* @memberof CreateProjectRequestUio
|
|
60
60
|
*/
|
|
61
61
|
members?: Array<ProjectMemberUio>;
|
|
62
|
+
/**
|
|
63
|
+
* Tickets de l'espace personnel de l'appelant à emporter dans le nouvel espace ; leurs agents assignés ou relecteurs en deviennent membres
|
|
64
|
+
* @type {Array<string>}
|
|
65
|
+
* @memberof CreateProjectRequestUio
|
|
66
|
+
*/
|
|
67
|
+
moveTicketIds?: Array<string>;
|
|
62
68
|
}
|
|
63
69
|
/**
|
|
64
70
|
* Check if a given object implements the CreateProjectRequestUio interface.
|
|
@@ -45,6 +45,7 @@ function CreateProjectRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'dueDate': json['dueDate'] == null ? undefined : json['dueDate'],
|
|
46
46
|
'settings': json['settings'] == null ? undefined : (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
|
|
47
47
|
'members': json['members'] == null ? undefined : (json['members'].map(ProjectMemberUio_1.ProjectMemberUioFromJSON)),
|
|
48
|
+
'moveTicketIds': json['moveTicketIds'] == null ? undefined : json['moveTicketIds'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
function CreateProjectRequestUioToJSON(json) {
|
|
@@ -62,5 +63,6 @@ function CreateProjectRequestUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
62
63
|
'dueDate': value['dueDate'],
|
|
63
64
|
'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
|
|
64
65
|
'members': value['members'] == null ? undefined : (value['members'].map(ProjectMemberUio_1.ProjectMemberUioToJSON)),
|
|
66
|
+
'moveTicketIds': value['moveTicketIds'],
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -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 MoveTicketsRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveTicketsRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* L'espace personnel de l'appelant, seul point de départ possible
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoveTicketsRequestUio
|
|
22
|
+
*/
|
|
23
|
+
fromProjectId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof MoveTicketsRequestUio
|
|
28
|
+
*/
|
|
29
|
+
ticketIds: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MoveTicketsRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMoveTicketsRequestUio(value: object): value is MoveTicketsRequestUio;
|
|
35
|
+
export declare function MoveTicketsRequestUioFromJSON(json: any): MoveTicketsRequestUio;
|
|
36
|
+
export declare function MoveTicketsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveTicketsRequestUio;
|
|
37
|
+
export declare function MoveTicketsRequestUioToJSON(json: any): MoveTicketsRequestUio;
|
|
38
|
+
export declare function MoveTicketsRequestUioToJSONTyped(value?: MoveTicketsRequestUio | 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.instanceOfMoveTicketsRequestUio = instanceOfMoveTicketsRequestUio;
|
|
17
|
+
exports.MoveTicketsRequestUioFromJSON = MoveTicketsRequestUioFromJSON;
|
|
18
|
+
exports.MoveTicketsRequestUioFromJSONTyped = MoveTicketsRequestUioFromJSONTyped;
|
|
19
|
+
exports.MoveTicketsRequestUioToJSON = MoveTicketsRequestUioToJSON;
|
|
20
|
+
exports.MoveTicketsRequestUioToJSONTyped = MoveTicketsRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MoveTicketsRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMoveTicketsRequestUio(value) {
|
|
25
|
+
if (!('fromProjectId' in value) || value['fromProjectId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('ticketIds' in value) || value['ticketIds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function MoveTicketsRequestUioFromJSON(json) {
|
|
32
|
+
return MoveTicketsRequestUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function MoveTicketsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'fromProjectId': json['fromProjectId'],
|
|
40
|
+
'ticketIds': json['ticketIds'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MoveTicketsRequestUioToJSON(json) {
|
|
44
|
+
return MoveTicketsRequestUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MoveTicketsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'fromProjectId': value['fromProjectId'],
|
|
52
|
+
'ticketIds': value['ticketIds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { MovedTicketUio } from './MovedTicketUio';
|
|
13
|
+
import type { RemovedTicketMemberUio } from './RemovedTicketMemberUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MoveTicketsResultUio
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveTicketsResultUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<MovedTicketUio>}
|
|
23
|
+
* @memberof MoveTicketsResultUio
|
|
24
|
+
*/
|
|
25
|
+
moved: Array<MovedTicketUio>;
|
|
26
|
+
/**
|
|
27
|
+
* Assignés et relecteurs retirés des tickets, faute d'être membres de l'espace d'arrivée
|
|
28
|
+
* @type {Array<RemovedTicketMemberUio>}
|
|
29
|
+
* @memberof MoveTicketsResultUio
|
|
30
|
+
*/
|
|
31
|
+
removed: Array<RemovedTicketMemberUio>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the MoveTicketsResultUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfMoveTicketsResultUio(value: object): value is MoveTicketsResultUio;
|
|
37
|
+
export declare function MoveTicketsResultUioFromJSON(json: any): MoveTicketsResultUio;
|
|
38
|
+
export declare function MoveTicketsResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveTicketsResultUio;
|
|
39
|
+
export declare function MoveTicketsResultUioToJSON(json: any): MoveTicketsResultUio;
|
|
40
|
+
export declare function MoveTicketsResultUioToJSONTyped(value?: MoveTicketsResultUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMoveTicketsResultUio = instanceOfMoveTicketsResultUio;
|
|
17
|
+
exports.MoveTicketsResultUioFromJSON = MoveTicketsResultUioFromJSON;
|
|
18
|
+
exports.MoveTicketsResultUioFromJSONTyped = MoveTicketsResultUioFromJSONTyped;
|
|
19
|
+
exports.MoveTicketsResultUioToJSON = MoveTicketsResultUioToJSON;
|
|
20
|
+
exports.MoveTicketsResultUioToJSONTyped = MoveTicketsResultUioToJSONTyped;
|
|
21
|
+
const MovedTicketUio_1 = require("./MovedTicketUio");
|
|
22
|
+
const RemovedTicketMemberUio_1 = require("./RemovedTicketMemberUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the MoveTicketsResultUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfMoveTicketsResultUio(value) {
|
|
27
|
+
if (!('moved' in value) || value['moved'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('removed' in value) || value['removed'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function MoveTicketsResultUioFromJSON(json) {
|
|
34
|
+
return MoveTicketsResultUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function MoveTicketsResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'moved': (json['moved'].map(MovedTicketUio_1.MovedTicketUioFromJSON)),
|
|
42
|
+
'removed': (json['removed'].map(RemovedTicketMemberUio_1.RemovedTicketMemberUioFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function MoveTicketsResultUioToJSON(json) {
|
|
46
|
+
return MoveTicketsResultUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function MoveTicketsResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'moved': (value['moved'].map(MovedTicketUio_1.MovedTicketUioToJSON)),
|
|
54
|
+
'removed': (value['removed'].map(RemovedTicketMemberUio_1.RemovedTicketMemberUioToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 MovedTicketUio
|
|
16
|
+
*/
|
|
17
|
+
export interface MovedTicketUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MovedTicketUio
|
|
22
|
+
*/
|
|
23
|
+
ticketId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MovedTicketUio
|
|
28
|
+
*/
|
|
29
|
+
fromKey: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MovedTicketUio
|
|
34
|
+
*/
|
|
35
|
+
toKey: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MovedTicketUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMovedTicketUio(value: object): value is MovedTicketUio;
|
|
41
|
+
export declare function MovedTicketUioFromJSON(json: any): MovedTicketUio;
|
|
42
|
+
export declare function MovedTicketUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MovedTicketUio;
|
|
43
|
+
export declare function MovedTicketUioToJSON(json: any): MovedTicketUio;
|
|
44
|
+
export declare function MovedTicketUioToJSONTyped(value?: MovedTicketUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfMovedTicketUio = instanceOfMovedTicketUio;
|
|
17
|
+
exports.MovedTicketUioFromJSON = MovedTicketUioFromJSON;
|
|
18
|
+
exports.MovedTicketUioFromJSONTyped = MovedTicketUioFromJSONTyped;
|
|
19
|
+
exports.MovedTicketUioToJSON = MovedTicketUioToJSON;
|
|
20
|
+
exports.MovedTicketUioToJSONTyped = MovedTicketUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MovedTicketUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMovedTicketUio(value) {
|
|
25
|
+
if (!('ticketId' in value) || value['ticketId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fromKey' in value) || value['fromKey'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('toKey' in value) || value['toKey'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function MovedTicketUioFromJSON(json) {
|
|
34
|
+
return MovedTicketUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function MovedTicketUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'ticketId': json['ticketId'],
|
|
42
|
+
'fromKey': json['fromKey'],
|
|
43
|
+
'toKey': json['toKey'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function MovedTicketUioToJSON(json) {
|
|
47
|
+
return MovedTicketUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function MovedTicketUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'ticketId': value['ticketId'],
|
|
55
|
+
'fromKey': value['fromKey'],
|
|
56
|
+
'toKey': value['toKey'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -34,7 +34,7 @@ export interface ProjectSummaryUio {
|
|
|
34
34
|
*/
|
|
35
35
|
organizationId: string;
|
|
36
36
|
/**
|
|
37
|
-
* Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation
|
|
37
|
+
* Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation sauf PERSO, la clé de tous les espaces personnels
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ProjectSummaryUio
|
|
40
40
|
*/
|
|
@@ -75,6 +75,12 @@ export interface ProjectSummaryUio {
|
|
|
75
75
|
* @memberof ProjectSummaryUio
|
|
76
76
|
*/
|
|
77
77
|
archivedAt: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Espace de travail personnel de l'appelant (clé PERSO), visible par lui seul ; ni partageable, ni renommable, ni archivable. Ses membres sont l'appelant et les agents qui lui sont accessibles.
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof ProjectSummaryUio
|
|
82
|
+
*/
|
|
83
|
+
personal: boolean;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {ActorRefUio}
|
|
@@ -46,6 +46,8 @@ function instanceOfProjectSummaryUio(value) {
|
|
|
46
46
|
return false;
|
|
47
47
|
if (!('archivedAt' in value) || value['archivedAt'] === undefined)
|
|
48
48
|
return false;
|
|
49
|
+
if (!('personal' in value) || value['personal'] === undefined)
|
|
50
|
+
return false;
|
|
49
51
|
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
50
52
|
return false;
|
|
51
53
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -79,6 +81,7 @@ function ProjectSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
81
|
'dueDate': json['dueDate'],
|
|
80
82
|
'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
|
|
81
83
|
'archivedAt': json['archivedAt'],
|
|
84
|
+
'personal': json['personal'],
|
|
82
85
|
'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
|
|
83
86
|
'createdAt': json['createdAt'],
|
|
84
87
|
'updatedAt': json['updatedAt'],
|
|
@@ -105,6 +108,7 @@ function ProjectSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
105
108
|
'dueDate': value['dueDate'],
|
|
106
109
|
'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
|
|
107
110
|
'archivedAt': value['archivedAt'],
|
|
111
|
+
'personal': value['personal'],
|
|
108
112
|
'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
|
|
109
113
|
'createdAt': value['createdAt'],
|
|
110
114
|
'updatedAt': value['updatedAt'],
|
|
@@ -30,7 +30,7 @@ export interface ProjectUio {
|
|
|
30
30
|
*/
|
|
31
31
|
organizationId: string;
|
|
32
32
|
/**
|
|
33
|
-
* Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation
|
|
33
|
+
* Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation sauf PERSO, la clé de tous les espaces personnels
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ProjectUio
|
|
36
36
|
*/
|
|
@@ -71,6 +71,12 @@ export interface ProjectUio {
|
|
|
71
71
|
* @memberof ProjectUio
|
|
72
72
|
*/
|
|
73
73
|
archivedAt: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Espace de travail personnel de l'appelant (clé PERSO), visible par lui seul ; ni partageable, ni renommable, ni archivable. Ses membres sont l'appelant et les agents qui lui sont accessibles.
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof ProjectUio
|
|
78
|
+
*/
|
|
79
|
+
personal: boolean;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {ActorRefUio}
|
|
@@ -42,6 +42,8 @@ function instanceOfProjectUio(value) {
|
|
|
42
42
|
return false;
|
|
43
43
|
if (!('archivedAt' in value) || value['archivedAt'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
+
if (!('personal' in value) || value['personal'] === undefined)
|
|
46
|
+
return false;
|
|
45
47
|
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
46
48
|
return false;
|
|
47
49
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -67,6 +69,7 @@ function ProjectUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
69
|
'dueDate': json['dueDate'],
|
|
68
70
|
'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
|
|
69
71
|
'archivedAt': json['archivedAt'],
|
|
72
|
+
'personal': json['personal'],
|
|
70
73
|
'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
|
|
71
74
|
'createdAt': json['createdAt'],
|
|
72
75
|
'updatedAt': json['updatedAt'],
|
|
@@ -89,6 +92,7 @@ function ProjectUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
89
92
|
'dueDate': value['dueDate'],
|
|
90
93
|
'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
|
|
91
94
|
'archivedAt': value['archivedAt'],
|
|
95
|
+
'personal': value['personal'],
|
|
92
96
|
'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
|
|
93
97
|
'createdAt': value['createdAt'],
|
|
94
98
|
'updatedAt': value['updatedAt'],
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { MemberRefUio } from './MemberRefUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RemovedTicketMemberUio
|
|
17
|
+
*/
|
|
18
|
+
export interface RemovedTicketMemberUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RemovedTicketMemberUio
|
|
23
|
+
*/
|
|
24
|
+
ticketId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MemberRefUio}
|
|
28
|
+
* @memberof RemovedTicketMemberUio
|
|
29
|
+
*/
|
|
30
|
+
member: MemberRefUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RemovedTicketMemberUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRemovedTicketMemberUio(value: object): value is RemovedTicketMemberUio;
|
|
36
|
+
export declare function RemovedTicketMemberUioFromJSON(json: any): RemovedTicketMemberUio;
|
|
37
|
+
export declare function RemovedTicketMemberUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemovedTicketMemberUio;
|
|
38
|
+
export declare function RemovedTicketMemberUioToJSON(json: any): RemovedTicketMemberUio;
|
|
39
|
+
export declare function RemovedTicketMemberUioToJSONTyped(value?: RemovedTicketMemberUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfRemovedTicketMemberUio = instanceOfRemovedTicketMemberUio;
|
|
17
|
+
exports.RemovedTicketMemberUioFromJSON = RemovedTicketMemberUioFromJSON;
|
|
18
|
+
exports.RemovedTicketMemberUioFromJSONTyped = RemovedTicketMemberUioFromJSONTyped;
|
|
19
|
+
exports.RemovedTicketMemberUioToJSON = RemovedTicketMemberUioToJSON;
|
|
20
|
+
exports.RemovedTicketMemberUioToJSONTyped = RemovedTicketMemberUioToJSONTyped;
|
|
21
|
+
const MemberRefUio_1 = require("./MemberRefUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the RemovedTicketMemberUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfRemovedTicketMemberUio(value) {
|
|
26
|
+
if (!('ticketId' in value) || value['ticketId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('member' in value) || value['member'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function RemovedTicketMemberUioFromJSON(json) {
|
|
33
|
+
return RemovedTicketMemberUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function RemovedTicketMemberUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'ticketId': json['ticketId'],
|
|
41
|
+
'member': (0, MemberRefUio_1.MemberRefUioFromJSON)(json['member']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function RemovedTicketMemberUioToJSON(json) {
|
|
45
|
+
return RemovedTicketMemberUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function RemovedTicketMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'ticketId': value['ticketId'],
|
|
53
|
+
'member': (0, MemberRefUio_1.MemberRefUioToJSON)(value['member']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -48,7 +48,7 @@ export interface TicketEventUio {
|
|
|
48
48
|
*/
|
|
49
49
|
body: string | null;
|
|
50
50
|
/**
|
|
51
|
-
* Détails selon le type : pour event, { action, from?, to?, member? } ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.
|
|
51
|
+
* Détails selon le type : pour event, { action, from?, to?, member? } (action moved : from et to valent { projectId, key }) ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.
|
|
52
52
|
* @type {{ [key: string]: any; }}
|
|
53
53
|
* @memberof TicketEventUio
|
|
54
54
|
*/
|
|
@@ -33,6 +33,12 @@ export interface UpdateUserChatPreferencesRequestUio {
|
|
|
33
33
|
* @memberof UpdateUserChatPreferencesRequestUio
|
|
34
34
|
*/
|
|
35
35
|
railOpen?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof UpdateUserChatPreferencesRequestUio
|
|
40
|
+
*/
|
|
41
|
+
dismissedHints?: Array<string>;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the UpdateUserChatPreferencesRequestUio interface.
|
|
@@ -35,6 +35,7 @@ function UpdateUserChatPreferencesRequestUioFromJSONTyped(json, ignoreDiscrimina
|
|
|
35
35
|
'pinnedAgentIds': json['pinnedAgentIds'] == null ? undefined : json['pinnedAgentIds'],
|
|
36
36
|
'pinnedProjectIds': json['pinnedProjectIds'] == null ? undefined : json['pinnedProjectIds'],
|
|
37
37
|
'railOpen': json['railOpen'] == null ? undefined : json['railOpen'],
|
|
38
|
+
'dismissedHints': json['dismissedHints'] == null ? undefined : json['dismissedHints'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function UpdateUserChatPreferencesRequestUioToJSON(json) {
|
|
@@ -48,5 +49,6 @@ function UpdateUserChatPreferencesRequestUioToJSONTyped(value, ignoreDiscriminat
|
|
|
48
49
|
'pinnedAgentIds': value['pinnedAgentIds'],
|
|
49
50
|
'pinnedProjectIds': value['pinnedProjectIds'],
|
|
50
51
|
'railOpen': value['railOpen'],
|
|
52
|
+
'dismissedHints': value['dismissedHints'],
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -34,6 +34,12 @@ export interface UserChatPreferencesUio {
|
|
|
34
34
|
* @memberof UserChatPreferencesUio
|
|
35
35
|
*/
|
|
36
36
|
railOpen: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Aides et appels à l'action refermés par l'utilisateur (personal-workspace-cta)
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof UserChatPreferencesUio
|
|
41
|
+
*/
|
|
42
|
+
dismissedHints: Array<string>;
|
|
37
43
|
/**
|
|
38
44
|
* Conversation en cours avec chaque agent de l'organisation
|
|
39
45
|
* @type {Array<UserAgentConversationUio>}
|
|
@@ -29,6 +29,8 @@ function instanceOfUserChatPreferencesUio(value) {
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('railOpen' in value) || value['railOpen'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
+
if (!('dismissedHints' in value) || value['dismissedHints'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
if (!('agentConversations' in value) || value['agentConversations'] === undefined)
|
|
33
35
|
return false;
|
|
34
36
|
return true;
|
|
@@ -44,6 +46,7 @@ function UserChatPreferencesUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
'pinnedAgentIds': json['pinnedAgentIds'],
|
|
45
47
|
'pinnedProjectIds': json['pinnedProjectIds'],
|
|
46
48
|
'railOpen': json['railOpen'],
|
|
49
|
+
'dismissedHints': json['dismissedHints'],
|
|
47
50
|
'agentConversations': (json['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioFromJSON)),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
@@ -58,6 +61,7 @@ function UserChatPreferencesUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
61
|
'pinnedAgentIds': value['pinnedAgentIds'],
|
|
59
62
|
'pinnedProjectIds': value['pinnedProjectIds'],
|
|
60
63
|
'railOpen': value['railOpen'],
|
|
64
|
+
'dismissedHints': value['dismissedHints'],
|
|
61
65
|
'agentConversations': (value['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioToJSON)),
|
|
62
66
|
};
|
|
63
67
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -495,6 +495,9 @@ export * from './ModelDefinitionUio';
|
|
|
495
495
|
export * from './ModelUio';
|
|
496
496
|
export * from './ModelUsedUio';
|
|
497
497
|
export * from './ModelUserAccessUio';
|
|
498
|
+
export * from './MoveTicketsRequestUio';
|
|
499
|
+
export * from './MoveTicketsResultUio';
|
|
500
|
+
export * from './MovedTicketUio';
|
|
498
501
|
export * from './NodeAssociationPolicyUio';
|
|
499
502
|
export * from './NodeGroupAgentUio';
|
|
500
503
|
export * from './NodeGroupBulkIdsUio';
|
|
@@ -604,6 +607,7 @@ export * from './ProviderCreateRequestUio';
|
|
|
604
607
|
export * from './ProviderTypeUio';
|
|
605
608
|
export * from './ProviderUio';
|
|
606
609
|
export * from './ProviderValiationRequestUio';
|
|
610
|
+
export * from './RemovedTicketMemberUio';
|
|
607
611
|
export * from './RevealTokenRequestUio';
|
|
608
612
|
export * from './RevealTokenResponseUio';
|
|
609
613
|
export * from './RoleCreateRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -513,6 +513,9 @@ __exportStar(require("./ModelDefinitionUio"), exports);
|
|
|
513
513
|
__exportStar(require("./ModelUio"), exports);
|
|
514
514
|
__exportStar(require("./ModelUsedUio"), exports);
|
|
515
515
|
__exportStar(require("./ModelUserAccessUio"), exports);
|
|
516
|
+
__exportStar(require("./MoveTicketsRequestUio"), exports);
|
|
517
|
+
__exportStar(require("./MoveTicketsResultUio"), exports);
|
|
518
|
+
__exportStar(require("./MovedTicketUio"), exports);
|
|
516
519
|
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
517
520
|
__exportStar(require("./NodeGroupAgentUio"), exports);
|
|
518
521
|
__exportStar(require("./NodeGroupBulkIdsUio"), exports);
|
|
@@ -622,6 +625,7 @@ __exportStar(require("./ProviderCreateRequestUio"), exports);
|
|
|
622
625
|
__exportStar(require("./ProviderTypeUio"), exports);
|
|
623
626
|
__exportStar(require("./ProviderUio"), exports);
|
|
624
627
|
__exportStar(require("./ProviderValiationRequestUio"), exports);
|
|
628
|
+
__exportStar(require("./RemovedTicketMemberUio"), exports);
|
|
625
629
|
__exportStar(require("./RevealTokenRequestUio"), exports);
|
|
626
630
|
__exportStar(require("./RevealTokenResponseUio"), exports);
|
|
627
631
|
__exportStar(require("./RoleCreateRequestUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -18015,7 +18015,7 @@
|
|
|
18015
18015
|
},
|
|
18016
18016
|
"/organizations/{organizationId}/projects" : {
|
|
18017
18017
|
"get" : {
|
|
18018
|
-
"description" : "Projets de l'organisation visibles par l'utilisateur courant (membre du projet, ou admin de l'organisation), avec leurs compteurs, leurs membres et les actions qui l'attendent.",
|
|
18018
|
+
"description" : "Projets de l'organisation visibles par l'utilisateur courant (membre du projet, ou admin de l'organisation), avec leurs compteurs, leurs membres et les actions qui l'attendent. Son espace personnel vient en tête, créé au besoin ; ceux des autres n'apparaissent jamais, même pour un admin.",
|
|
18019
18019
|
"operationId" : "listProjects",
|
|
18020
18020
|
"parameters" : [ {
|
|
18021
18021
|
"description" : "ID of the organization",
|
|
@@ -18059,7 +18059,7 @@
|
|
|
18059
18059
|
"tags" : [ "projects" ]
|
|
18060
18060
|
},
|
|
18061
18061
|
"post" : {
|
|
18062
|
-
"description" : "Crée un projet ; le créateur en devient owner. La clé doit être unique dans l'organisation.",
|
|
18062
|
+
"description" : "Crée un projet ; le créateur en devient owner. La clé doit être unique dans l'organisation ; PERSO est réservée (400 PROJECT_KEY_RESERVED).",
|
|
18063
18063
|
"operationId" : "createProject",
|
|
18064
18064
|
"parameters" : [ {
|
|
18065
18065
|
"description" : "ID of the organization",
|
|
@@ -18108,6 +18108,41 @@
|
|
|
18108
18108
|
"tags" : [ "projects" ]
|
|
18109
18109
|
}
|
|
18110
18110
|
},
|
|
18111
|
+
"/organizations/{organizationId}/projects/personal" : {
|
|
18112
|
+
"get" : {
|
|
18113
|
+
"description" : "Espace de travail personnel de l'utilisateur courant dans l'organisation (clé PERSO), créé à la première demande.",
|
|
18114
|
+
"operationId" : "getPersonalProject",
|
|
18115
|
+
"parameters" : [ {
|
|
18116
|
+
"description" : "ID of the organization",
|
|
18117
|
+
"in" : "path",
|
|
18118
|
+
"name" : "organizationId",
|
|
18119
|
+
"required" : true,
|
|
18120
|
+
"schema" : {
|
|
18121
|
+
"type" : "string"
|
|
18122
|
+
}
|
|
18123
|
+
} ],
|
|
18124
|
+
"responses" : {
|
|
18125
|
+
"200" : {
|
|
18126
|
+
"content" : {
|
|
18127
|
+
"application/json" : {
|
|
18128
|
+
"schema" : {
|
|
18129
|
+
"$ref" : "#/components/schemas/Project"
|
|
18130
|
+
}
|
|
18131
|
+
}
|
|
18132
|
+
},
|
|
18133
|
+
"description" : "OK"
|
|
18134
|
+
},
|
|
18135
|
+
"401" : {
|
|
18136
|
+
"description" : "Unauthenticated"
|
|
18137
|
+
},
|
|
18138
|
+
"403" : {
|
|
18139
|
+
"description" : "Forbidden — the caller is not part of the organization"
|
|
18140
|
+
}
|
|
18141
|
+
},
|
|
18142
|
+
"summary" : "Get the caller's personal workspace",
|
|
18143
|
+
"tags" : [ "projects" ]
|
|
18144
|
+
}
|
|
18145
|
+
},
|
|
18111
18146
|
"/projects/{projectId}" : {
|
|
18112
18147
|
"get" : {
|
|
18113
18148
|
"description" : "Projet et ses réglages.",
|
|
@@ -18191,6 +18226,9 @@
|
|
|
18191
18226
|
},
|
|
18192
18227
|
"404" : {
|
|
18193
18228
|
"description" : "Not found"
|
|
18229
|
+
},
|
|
18230
|
+
"409" : {
|
|
18231
|
+
"description" : "Conflict — PERSONAL_PROJECT"
|
|
18194
18232
|
}
|
|
18195
18233
|
},
|
|
18196
18234
|
"summary" : "Update a project",
|
|
@@ -18325,6 +18363,9 @@
|
|
|
18325
18363
|
},
|
|
18326
18364
|
"404" : {
|
|
18327
18365
|
"description" : "Not found"
|
|
18366
|
+
},
|
|
18367
|
+
"409" : {
|
|
18368
|
+
"description" : "Conflict — PERSONAL_PROJECT"
|
|
18328
18369
|
}
|
|
18329
18370
|
},
|
|
18330
18371
|
"summary" : "Replace the members of a project",
|
|
@@ -18568,6 +18609,61 @@
|
|
|
18568
18609
|
"tags" : [ "tickets" ]
|
|
18569
18610
|
}
|
|
18570
18611
|
},
|
|
18612
|
+
"/projects/{projectId}/tickets/move" : {
|
|
18613
|
+
"post" : {
|
|
18614
|
+
"description" : "Emporte des tickets de l'espace personnel de l'appelant dans cet espace partagé, dont il est membre. Chaque ticket prend une clé de l'espace (PERSO-16 devient REF-1) et garde son historique ; l'ancienne clé ne mène plus nulle part. Un parent ou un enfant resté en arrière perd le lien ; les assignés et relecteurs qui ne sont pas membres de l'espace sont retirés.",
|
|
18615
|
+
"operationId" : "moveTickets",
|
|
18616
|
+
"parameters" : [ {
|
|
18617
|
+
"description" : "ID of the project",
|
|
18618
|
+
"in" : "path",
|
|
18619
|
+
"name" : "projectId",
|
|
18620
|
+
"required" : true,
|
|
18621
|
+
"schema" : {
|
|
18622
|
+
"format" : "uuid",
|
|
18623
|
+
"type" : "string"
|
|
18624
|
+
}
|
|
18625
|
+
} ],
|
|
18626
|
+
"requestBody" : {
|
|
18627
|
+
"content" : {
|
|
18628
|
+
"application/json" : {
|
|
18629
|
+
"schema" : {
|
|
18630
|
+
"$ref" : "#/components/schemas/MoveTicketsRequest"
|
|
18631
|
+
}
|
|
18632
|
+
}
|
|
18633
|
+
},
|
|
18634
|
+
"required" : true
|
|
18635
|
+
},
|
|
18636
|
+
"responses" : {
|
|
18637
|
+
"200" : {
|
|
18638
|
+
"content" : {
|
|
18639
|
+
"application/json" : {
|
|
18640
|
+
"schema" : {
|
|
18641
|
+
"$ref" : "#/components/schemas/MoveTicketsResult"
|
|
18642
|
+
}
|
|
18643
|
+
}
|
|
18644
|
+
},
|
|
18645
|
+
"description" : "OK"
|
|
18646
|
+
},
|
|
18647
|
+
"400" : {
|
|
18648
|
+
"description" : "Invalid request — MOVE_ONLY_FROM_PERSONAL_PROJECT"
|
|
18649
|
+
},
|
|
18650
|
+
"401" : {
|
|
18651
|
+
"description" : "Unauthenticated"
|
|
18652
|
+
},
|
|
18653
|
+
"403" : {
|
|
18654
|
+
"description" : "Forbidden — the caller is not a member of one of the projects"
|
|
18655
|
+
},
|
|
18656
|
+
"404" : {
|
|
18657
|
+
"description" : "Not found"
|
|
18658
|
+
},
|
|
18659
|
+
"409" : {
|
|
18660
|
+
"description" : "Conflict — the project is archived"
|
|
18661
|
+
}
|
|
18662
|
+
},
|
|
18663
|
+
"summary" : "Move tickets into a project",
|
|
18664
|
+
"tags" : [ "tickets" ]
|
|
18665
|
+
}
|
|
18666
|
+
},
|
|
18571
18667
|
"/projects/{projectId}/threads" : {
|
|
18572
18668
|
"get" : {
|
|
18573
18669
|
"description" : "Vue « Fils » : tous les tickets ouverts et les terminés les plus récents, chacun avec les sessions de travail de ses agents. L'arbre des sous-tickets, les filtres et la recherche se font côté client.",
|
|
@@ -28755,6 +28851,13 @@
|
|
|
28755
28851
|
"railOpen" : {
|
|
28756
28852
|
"type" : "boolean"
|
|
28757
28853
|
},
|
|
28854
|
+
"dismissedHints" : {
|
|
28855
|
+
"description" : "Aides et appels à l'action refermés par l'utilisateur (personal-workspace-cta)",
|
|
28856
|
+
"items" : {
|
|
28857
|
+
"type" : "string"
|
|
28858
|
+
},
|
|
28859
|
+
"type" : "array"
|
|
28860
|
+
},
|
|
28758
28861
|
"agentConversations" : {
|
|
28759
28862
|
"description" : "Conversation en cours avec chaque agent de l'organisation",
|
|
28760
28863
|
"items" : {
|
|
@@ -28763,7 +28866,7 @@
|
|
|
28763
28866
|
"type" : "array"
|
|
28764
28867
|
}
|
|
28765
28868
|
},
|
|
28766
|
-
"required" : [ "agentConversations", "pinnedAgentIds", "pinnedProjectIds", "railOpen" ],
|
|
28869
|
+
"required" : [ "agentConversations", "dismissedHints", "pinnedAgentIds", "pinnedProjectIds", "railOpen" ],
|
|
28767
28870
|
"type" : "object"
|
|
28768
28871
|
},
|
|
28769
28872
|
"UserAgentConversation" : {
|
|
@@ -28799,6 +28902,12 @@
|
|
|
28799
28902
|
},
|
|
28800
28903
|
"railOpen" : {
|
|
28801
28904
|
"type" : "boolean"
|
|
28905
|
+
},
|
|
28906
|
+
"dismissedHints" : {
|
|
28907
|
+
"items" : {
|
|
28908
|
+
"type" : "string"
|
|
28909
|
+
},
|
|
28910
|
+
"type" : "array"
|
|
28802
28911
|
}
|
|
28803
28912
|
},
|
|
28804
28913
|
"type" : "object"
|
|
@@ -34179,7 +34288,7 @@
|
|
|
34179
34288
|
"type" : "string"
|
|
34180
34289
|
},
|
|
34181
34290
|
"key" : {
|
|
34182
|
-
"description" : "Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation",
|
|
34291
|
+
"description" : "Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation sauf PERSO, la clé de tous les espaces personnels",
|
|
34183
34292
|
"type" : "string"
|
|
34184
34293
|
},
|
|
34185
34294
|
"name" : {
|
|
@@ -34204,6 +34313,10 @@
|
|
|
34204
34313
|
"nullable" : true,
|
|
34205
34314
|
"type" : "string"
|
|
34206
34315
|
},
|
|
34316
|
+
"personal" : {
|
|
34317
|
+
"description" : "Espace de travail personnel de l'appelant (clé PERSO), visible par lui seul ; ni partageable, ni renommable, ni archivable. Ses membres sont l'appelant et les agents qui lui sont accessibles.",
|
|
34318
|
+
"type" : "boolean"
|
|
34319
|
+
},
|
|
34207
34320
|
"createdBy" : {
|
|
34208
34321
|
"$ref" : "#/components/schemas/ActorRef"
|
|
34209
34322
|
},
|
|
@@ -34214,7 +34327,7 @@
|
|
|
34214
34327
|
"type" : "string"
|
|
34215
34328
|
}
|
|
34216
34329
|
},
|
|
34217
|
-
"required" : [ "archivedAt", "color", "createdAt", "createdBy", "description", "dueDate", "id", "key", "name", "organizationId", "settings", "updatedAt" ],
|
|
34330
|
+
"required" : [ "archivedAt", "color", "createdAt", "createdBy", "description", "dueDate", "id", "key", "name", "organizationId", "personal", "settings", "updatedAt" ],
|
|
34218
34331
|
"type" : "object"
|
|
34219
34332
|
},
|
|
34220
34333
|
"ProjectSettings" : {
|
|
@@ -34377,6 +34490,14 @@
|
|
|
34377
34490
|
"$ref" : "#/components/schemas/ProjectMember"
|
|
34378
34491
|
},
|
|
34379
34492
|
"type" : "array"
|
|
34493
|
+
},
|
|
34494
|
+
"moveTicketIds" : {
|
|
34495
|
+
"description" : "Tickets de l'espace personnel de l'appelant à emporter dans le nouvel espace ; leurs agents assignés ou relecteurs en deviennent membres",
|
|
34496
|
+
"items" : {
|
|
34497
|
+
"type" : "string"
|
|
34498
|
+
},
|
|
34499
|
+
"maxItems" : 100,
|
|
34500
|
+
"type" : "array"
|
|
34380
34501
|
}
|
|
34381
34502
|
},
|
|
34382
34503
|
"required" : [ "key", "name" ],
|
|
@@ -34769,6 +34890,84 @@
|
|
|
34769
34890
|
"required" : [ "id", "type" ],
|
|
34770
34891
|
"type" : "object"
|
|
34771
34892
|
},
|
|
34893
|
+
"MoveTicketsRequest" : {
|
|
34894
|
+
"properties" : {
|
|
34895
|
+
"fromProjectId" : {
|
|
34896
|
+
"description" : "L'espace personnel de l'appelant, seul point de départ possible",
|
|
34897
|
+
"type" : "string"
|
|
34898
|
+
},
|
|
34899
|
+
"ticketIds" : {
|
|
34900
|
+
"items" : {
|
|
34901
|
+
"type" : "string"
|
|
34902
|
+
},
|
|
34903
|
+
"maxItems" : 100,
|
|
34904
|
+
"minItems" : 1,
|
|
34905
|
+
"type" : "array"
|
|
34906
|
+
}
|
|
34907
|
+
},
|
|
34908
|
+
"required" : [ "fromProjectId", "ticketIds" ],
|
|
34909
|
+
"type" : "object"
|
|
34910
|
+
},
|
|
34911
|
+
"MoveTicketsResult" : {
|
|
34912
|
+
"properties" : {
|
|
34913
|
+
"moved" : {
|
|
34914
|
+
"items" : {
|
|
34915
|
+
"$ref" : "#/components/schemas/MovedTicket"
|
|
34916
|
+
},
|
|
34917
|
+
"type" : "array"
|
|
34918
|
+
},
|
|
34919
|
+
"removed" : {
|
|
34920
|
+
"description" : "Assignés et relecteurs retirés des tickets, faute d'être membres de l'espace d'arrivée",
|
|
34921
|
+
"items" : {
|
|
34922
|
+
"$ref" : "#/components/schemas/RemovedTicketMember"
|
|
34923
|
+
},
|
|
34924
|
+
"type" : "array"
|
|
34925
|
+
}
|
|
34926
|
+
},
|
|
34927
|
+
"required" : [ "moved", "removed" ],
|
|
34928
|
+
"type" : "object"
|
|
34929
|
+
},
|
|
34930
|
+
"MovedTicket" : {
|
|
34931
|
+
"properties" : {
|
|
34932
|
+
"ticketId" : {
|
|
34933
|
+
"type" : "string"
|
|
34934
|
+
},
|
|
34935
|
+
"fromKey" : {
|
|
34936
|
+
"type" : "string"
|
|
34937
|
+
},
|
|
34938
|
+
"toKey" : {
|
|
34939
|
+
"type" : "string"
|
|
34940
|
+
}
|
|
34941
|
+
},
|
|
34942
|
+
"required" : [ "fromKey", "ticketId", "toKey" ],
|
|
34943
|
+
"type" : "object"
|
|
34944
|
+
},
|
|
34945
|
+
"RemovedTicketMember" : {
|
|
34946
|
+
"properties" : {
|
|
34947
|
+
"ticketId" : {
|
|
34948
|
+
"type" : "string"
|
|
34949
|
+
},
|
|
34950
|
+
"member" : {
|
|
34951
|
+
"$ref" : "#/components/schemas/MemberRef"
|
|
34952
|
+
}
|
|
34953
|
+
},
|
|
34954
|
+
"required" : [ "member", "ticketId" ],
|
|
34955
|
+
"type" : "object"
|
|
34956
|
+
},
|
|
34957
|
+
"MemberRef" : {
|
|
34958
|
+
"description" : "Un humain ou un agent.",
|
|
34959
|
+
"properties" : {
|
|
34960
|
+
"type" : {
|
|
34961
|
+
"$ref" : "#/components/schemas/MemberType"
|
|
34962
|
+
},
|
|
34963
|
+
"id" : {
|
|
34964
|
+
"format" : "uuid",
|
|
34965
|
+
"type" : "string"
|
|
34966
|
+
}
|
|
34967
|
+
},
|
|
34968
|
+
"required" : [ "id", "type" ],
|
|
34969
|
+
"type" : "object"
|
|
34970
|
+
},
|
|
34772
34971
|
"TicketThreads" : {
|
|
34773
34972
|
"properties" : {
|
|
34774
34973
|
"open" : {
|
|
@@ -35071,7 +35270,7 @@
|
|
|
35071
35270
|
},
|
|
35072
35271
|
"data" : {
|
|
35073
35272
|
"additionalProperties" : true,
|
|
35074
|
-
"description" : "Détails selon le type : pour event, { action, from?, to?, member? } ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.",
|
|
35273
|
+
"description" : "Détails selon le type : pour event, { action, from?, to?, member? } (action moved : from et to valent { projectId, key }) ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.",
|
|
35075
35274
|
"type" : "object"
|
|
35076
35275
|
},
|
|
35077
35276
|
"artifactIds" : {
|
|
@@ -38945,20 +39144,6 @@
|
|
|
38945
39144
|
"enum" : [ "low", "medium", "high" ],
|
|
38946
39145
|
"type" : "string"
|
|
38947
39146
|
},
|
|
38948
|
-
"MemberRef" : {
|
|
38949
|
-
"description" : "Un humain ou un agent.",
|
|
38950
|
-
"properties" : {
|
|
38951
|
-
"type" : {
|
|
38952
|
-
"$ref" : "#/components/schemas/MemberType"
|
|
38953
|
-
},
|
|
38954
|
-
"id" : {
|
|
38955
|
-
"format" : "uuid",
|
|
38956
|
-
"type" : "string"
|
|
38957
|
-
}
|
|
38958
|
-
},
|
|
38959
|
-
"required" : [ "id", "type" ],
|
|
38960
|
-
"type" : "object"
|
|
38961
|
-
},
|
|
38962
39147
|
"TicketAgentRunStatus" : {
|
|
38963
39148
|
"description" : "Où en est le travail d'un agent sur un ticket : idle (rien en cours), queued (réveil en attente), running (il travaille), waiting_human (il attend la réponse à une question), failed (la dernière exécution a échoué).",
|
|
38964
39149
|
"enum" : [ "idle", "queued", "running", "waiting_human", "failed" ],
|