@silexpert/core 0.4.258 → 0.4.261
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/es/types/Enum/BrandClementine.d.ts +3 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +1 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/InternalService.d.ts +6 -5
- package/es/types/Enum/InternalService.d.ts.map +1 -1
- package/es/types/Enum/InternalService.js +6 -5
- package/es/types/Enum/InternalService.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts +77 -228
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +245 -279
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js +4 -0
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/task/QueryCreateTask.d.ts +1 -0
- package/es/types/Interface/api/task/QueryCreateTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryCreateTask.js +5 -1
- package/es/types/Interface/api/task/QueryCreateTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.js +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +4 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +13 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/models/ITask.d.ts +5 -0
- package/es/types/Interface/models/ITask.d.ts.map +1 -1
- package/es/types/Interface/models/ITask.js.map +1 -1
- package/es/types/Interface/models/ITaskAttachment.d.ts +12 -0
- package/es/types/Interface/models/ITaskAttachment.d.ts.map +1 -0
- package/es/types/Interface/models/ITaskAttachment.js +2 -0
- package/es/types/Interface/models/ITaskAttachment.js.map +1 -0
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +1 -0
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/InternalService.js +9 -5
- package/js/types/Enum/InternalService.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +225 -279
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js +2 -0
- package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/task/QueryCreateTask.js +2 -0
- package/js/types/Interface/api/task/QueryCreateTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryPaginatedTask.js +1 -1
- package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +9 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/Interface/models/ITaskAttachment.js +6 -0
- package/js/types/Interface/models/ITaskAttachment.js.map +1 -0
- package/js/types/index.js +12 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BrandClementine.ts +1 -0
- package/ts/types/Enum/InternalService.ts +7 -5
- package/ts/types/Enum/TaskResponseType.ts +248 -279
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +3 -0
- package/ts/types/Interface/api/task/QueryCreateTask.ts +4 -1
- package/ts/types/Interface/api/task/QueryPaginatedTask.ts +1 -1
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +10 -0
- package/ts/types/Interface/models/ITask.ts +5 -0
- package/ts/types/Interface/models/ITaskAttachment.ts +15 -0
- package/ts/types/index.ts +1 -0
|
@@ -1,25 +1,20 @@
|
|
|
1
|
+
import { Role } from './Role';
|
|
2
|
+
|
|
1
3
|
export const ResponseType = {
|
|
2
4
|
MAIL: {
|
|
3
5
|
id: 1,
|
|
4
|
-
min: 3,
|
|
5
|
-
max: 72,
|
|
6
|
-
default: 24,
|
|
7
6
|
label: 'Mail',
|
|
8
7
|
},
|
|
9
8
|
CALL: {
|
|
10
9
|
id: 2,
|
|
11
|
-
min: 0.5,
|
|
12
|
-
max: 48,
|
|
13
|
-
default: 24,
|
|
14
10
|
label: 'Appel',
|
|
15
11
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const Deadline = {
|
|
15
|
+
min: 24,
|
|
16
|
+
default: 120,
|
|
17
|
+
max: 120,
|
|
23
18
|
};
|
|
24
19
|
|
|
25
20
|
export enum StateTask {
|
|
@@ -30,274 +25,248 @@ export enum StateTask {
|
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
export const TaskResponseType = {
|
|
33
|
-
|
|
28
|
+
INTERN: {
|
|
34
29
|
id: 1,
|
|
35
|
-
label: '
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
label: 'Interne',
|
|
31
|
+
types: [
|
|
32
|
+
{
|
|
33
|
+
id: 1,
|
|
34
|
+
label: 'Social',
|
|
35
|
+
role: Role.SOCIAL,
|
|
36
|
+
deadline: Deadline,
|
|
37
|
+
isForWholeRole: true,
|
|
38
|
+
backToClient: false,
|
|
39
|
+
goToCalendar: false,
|
|
40
|
+
responseType: null,
|
|
41
|
+
description: 'Passer des OD.',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 2,
|
|
45
|
+
label: 'Facturation',
|
|
46
|
+
role: Role.FACTURATION,
|
|
47
|
+
deadline: Deadline,
|
|
48
|
+
isForWholeRole: true,
|
|
49
|
+
backToClient: false,
|
|
50
|
+
goToCalendar: false,
|
|
51
|
+
responseType: null,
|
|
52
|
+
description: 'Est-ce que la facturation du dossier est à jour ?',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 3,
|
|
56
|
+
label: 'Juridique',
|
|
57
|
+
role: Role.JURIDIC,
|
|
58
|
+
deadline: Deadline,
|
|
59
|
+
isForWholeRole: true,
|
|
60
|
+
backToClient: false,
|
|
61
|
+
goToCalendar: false,
|
|
62
|
+
responseType: null,
|
|
63
|
+
description: 'Pouvez-vous remettre le PV AG dans la GED ?',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 4,
|
|
67
|
+
label: 'Administratif',
|
|
68
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
69
|
+
deadline: Deadline,
|
|
70
|
+
isForWholeRole: true,
|
|
71
|
+
backToClient: false,
|
|
72
|
+
goToCalendar: false,
|
|
73
|
+
responseType: null,
|
|
74
|
+
description: 'Pouvez-vous archiver le dossier ?',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 5,
|
|
78
|
+
label: 'Comptable',
|
|
79
|
+
role: Role.FRONT_OFFICE,
|
|
80
|
+
deadline: Deadline,
|
|
81
|
+
isForWholeRole: false,
|
|
82
|
+
backToClient: false,
|
|
83
|
+
goToCalendar: false,
|
|
84
|
+
responseType: null,
|
|
85
|
+
description: 'Comment annoter une facture d\'achat SFR ?',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: 6,
|
|
89
|
+
label: 'Archivage',
|
|
90
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
91
|
+
deadline: Deadline,
|
|
92
|
+
isForWholeRole: true,
|
|
93
|
+
backToClient: false,
|
|
94
|
+
goToCalendar: false,
|
|
95
|
+
responseType: null,
|
|
96
|
+
description: 'Pouvez-vous archiver le dossier (liquidation terminée) ?',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: 7,
|
|
100
|
+
label: 'Commercial',
|
|
101
|
+
role: Role.COMMERCIAL,
|
|
102
|
+
deadline: Deadline,
|
|
103
|
+
isForWholeRole: true,
|
|
104
|
+
backToClient: true,
|
|
105
|
+
goToCalendar: false,
|
|
106
|
+
responseType: ResponseType.MAIL,
|
|
107
|
+
description: 'Client XX veut créer une nouvelle société.',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: 8,
|
|
111
|
+
label: 'Refacturation',
|
|
112
|
+
role: Role.FACTURATION,
|
|
113
|
+
deadline: Deadline,
|
|
114
|
+
isForWholeRole: true,
|
|
115
|
+
backToClient: true,
|
|
116
|
+
goToCalendar: false,
|
|
117
|
+
responseType: ResponseType.MAIL,
|
|
118
|
+
description: 'Bilan 2021 à refaire : à refacturer svp.',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: 9,
|
|
122
|
+
label: 'Facturation client',
|
|
123
|
+
role: Role.FACTURATION,
|
|
124
|
+
deadline: Deadline,
|
|
125
|
+
isForWholeRole: true,
|
|
126
|
+
backToClient: true,
|
|
127
|
+
goToCalendar: false,
|
|
128
|
+
responseType: ResponseType.MAIL,
|
|
129
|
+
description: 'Pouvez-vous intégrer les paiements du client dans la facturation ?',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: 10,
|
|
133
|
+
label: 'Préparation d\'un bilan',
|
|
134
|
+
role: Role.BACK_MANAGER,
|
|
135
|
+
deadline: Deadline,
|
|
136
|
+
isForWholeRole: false,
|
|
137
|
+
backToClient: false,
|
|
138
|
+
goToCalendar: true,
|
|
139
|
+
responseType: null,
|
|
140
|
+
description: 'Controle de la DADS.',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
41
143
|
},
|
|
42
|
-
|
|
144
|
+
EXTERN: {
|
|
43
145
|
id: 2,
|
|
44
|
-
label: '
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
id: 16,
|
|
170
|
-
label: 'Questions sociales',
|
|
171
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
172
|
-
weight: 5,
|
|
173
|
-
isExterne: true,
|
|
174
|
-
idMailAuto: null,
|
|
175
|
-
schedule: 15,
|
|
176
|
-
},
|
|
177
|
-
REFACTURATION: {
|
|
178
|
-
id: 17,
|
|
179
|
-
label: 'Refacturation',
|
|
180
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
181
|
-
weight: 5,
|
|
182
|
-
isExterne: true,
|
|
183
|
-
idMailAuto: null,
|
|
184
|
-
schedule: 15,
|
|
185
|
-
},
|
|
186
|
-
MAJ_INFO_FACTURATION: {
|
|
187
|
-
id: 18,
|
|
188
|
-
label: 'Mise à jour info facturation',
|
|
189
|
-
responseType: ResponseType.MAIL.id,
|
|
190
|
-
weight: 2,
|
|
191
|
-
isExterne: true,
|
|
192
|
-
idMailAuto: null,
|
|
193
|
-
schedule: 15,
|
|
194
|
-
},
|
|
195
|
-
FACTURES_MANQUANTES: {
|
|
196
|
-
id: 19,
|
|
197
|
-
label: 'Facture manquante',
|
|
198
|
-
responseType: ResponseType.MAIL.id,
|
|
199
|
-
weight: 2,
|
|
200
|
-
isExterne: true,
|
|
201
|
-
idMailAuto: null,
|
|
202
|
-
schedule: 15,
|
|
203
|
-
},
|
|
204
|
-
QUESTIONS_FACTURATIONS: {
|
|
205
|
-
id: 20,
|
|
206
|
-
label: 'Questions facturations',
|
|
207
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
208
|
-
weight: 4,
|
|
209
|
-
isExterne: true,
|
|
210
|
-
idMailAuto: null,
|
|
211
|
-
schedule: 15,
|
|
212
|
-
},
|
|
213
|
-
SUIVI_PROSPECT: {
|
|
214
|
-
id: 21,
|
|
215
|
-
label: 'Suivi prospect',
|
|
216
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
217
|
-
weight: 3,
|
|
218
|
-
isExterne: true,
|
|
219
|
-
idMailAuto: null,
|
|
220
|
-
schedule: 15,
|
|
221
|
-
},
|
|
222
|
-
DOC_MANQUANT_CREA_DOSSIER: {
|
|
223
|
-
id: 22,
|
|
224
|
-
label: 'Document manquant pour création dossier',
|
|
225
|
-
responseType: ResponseType.MAIL.id,
|
|
226
|
-
weight: 2,
|
|
227
|
-
isExterne: false,
|
|
228
|
-
idMailAuto: null,
|
|
229
|
-
schedule: 15,
|
|
230
|
-
},
|
|
231
|
-
IMPORT_CSV: {
|
|
232
|
-
id: 23,
|
|
233
|
-
label: 'Faire import csv',
|
|
234
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
235
|
-
weight: 9,
|
|
236
|
-
isExterne: false,
|
|
237
|
-
idMailAuto: null,
|
|
238
|
-
schedule: 30,
|
|
239
|
-
},
|
|
240
|
-
ARCHIVER_CLIENT: {
|
|
241
|
-
id: 24,
|
|
242
|
-
label: 'Archiver un client',
|
|
243
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
244
|
-
weight: 1,
|
|
245
|
-
isExterne: false,
|
|
246
|
-
idMailAuto: null,
|
|
247
|
-
schedule: 15,
|
|
248
|
-
},
|
|
249
|
-
OD_SALAIRE: {
|
|
250
|
-
id: 25,
|
|
251
|
-
label: 'Passer les OD de salaire',
|
|
252
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
253
|
-
weight: 1,
|
|
254
|
-
isExterne: false,
|
|
255
|
-
idMailAuto: null,
|
|
256
|
-
schedule: 15,
|
|
257
|
-
},
|
|
258
|
-
VERIFICATION_IMPAYE: {
|
|
259
|
-
id: 26,
|
|
260
|
-
label: 'Vérification impayé',
|
|
261
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
262
|
-
weight: 2,
|
|
263
|
-
isExterne: false,
|
|
264
|
-
idMailAuto: null,
|
|
265
|
-
schedule: 15,
|
|
266
|
-
},
|
|
267
|
-
MODIFICATION_DIA_CLEMENTINIER: {
|
|
268
|
-
id: 27,
|
|
269
|
-
label: 'Modification Clémentinier/Dia',
|
|
270
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
271
|
-
weight: 2,
|
|
272
|
-
isExterne: false,
|
|
273
|
-
idMailAuto: null,
|
|
274
|
-
schedule: 15,
|
|
275
|
-
},
|
|
276
|
-
RESILIATION: {
|
|
277
|
-
id: 28,
|
|
278
|
-
label: 'Résiliation',
|
|
279
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
280
|
-
weight: 6,
|
|
281
|
-
isExterne: true,
|
|
282
|
-
idMailAuto: null,
|
|
283
|
-
schedule: 30,
|
|
284
|
-
},
|
|
285
|
-
QUESTIONS_COMPTABLES: {
|
|
286
|
-
id: 29,
|
|
287
|
-
label: 'Questions comptables',
|
|
288
|
-
responseType: ResponseType.CALL.id,
|
|
289
|
-
weight: 6,
|
|
290
|
-
isExterne: true,
|
|
291
|
-
idMailAuto: null,
|
|
292
|
-
schedule: 30,
|
|
293
|
-
},
|
|
294
|
-
RELATION_CLIENT: {
|
|
295
|
-
id: 30,
|
|
296
|
-
label: 'Relation client',
|
|
297
|
-
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
298
|
-
weight: 6,
|
|
299
|
-
isExterne: true,
|
|
300
|
-
idMailAuto: null,
|
|
301
|
-
schedule: 30,
|
|
146
|
+
label: 'Externe',
|
|
147
|
+
types: [
|
|
148
|
+
{
|
|
149
|
+
id: 1,
|
|
150
|
+
label: 'Social',
|
|
151
|
+
role: Role.SOCIAL,
|
|
152
|
+
deadline: Deadline,
|
|
153
|
+
isForWholeRole: false,
|
|
154
|
+
backToClient: true,
|
|
155
|
+
goToCalendar: true,
|
|
156
|
+
responseType: ResponseType.MAIL,
|
|
157
|
+
description: 'Prise de salaire par le président faire BP.',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: 3,
|
|
161
|
+
label: 'Juridique',
|
|
162
|
+
role: Role.JURIDIC,
|
|
163
|
+
deadline: Deadline,
|
|
164
|
+
isForWholeRole: false,
|
|
165
|
+
backToClient: true,
|
|
166
|
+
goToCalendar: true,
|
|
167
|
+
responseType: ResponseType.MAIL,
|
|
168
|
+
description: 'Demande de convention CC.',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: 4,
|
|
172
|
+
label: 'Administratif',
|
|
173
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
174
|
+
deadline: Deadline,
|
|
175
|
+
isForWholeRole: false,
|
|
176
|
+
backToClient: true,
|
|
177
|
+
goToCalendar: true,
|
|
178
|
+
responseType: ResponseType.MAIL,
|
|
179
|
+
description: 'Courrier à faire.',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: 5,
|
|
183
|
+
label: 'Comptable',
|
|
184
|
+
role: Role.FRONT_OFFICE,
|
|
185
|
+
deadline: Deadline,
|
|
186
|
+
isForWholeRole: false,
|
|
187
|
+
backToClient: true,
|
|
188
|
+
goToCalendar: true,
|
|
189
|
+
responseType: ResponseType.MAIL,
|
|
190
|
+
description: 'Le client a besoin de la TVA du mois de Septembre 2022 ?',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: 7,
|
|
194
|
+
label: 'Commercial',
|
|
195
|
+
role: Role.COMMERCIAL,
|
|
196
|
+
deadline: Deadline,
|
|
197
|
+
isForWholeRole: false,
|
|
198
|
+
backToClient: false,
|
|
199
|
+
goToCalendar: false,
|
|
200
|
+
responseType: null,
|
|
201
|
+
description: 'Documents manquant pour validation facturation.',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
id: 9,
|
|
205
|
+
label: 'Impayés',
|
|
206
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
207
|
+
deadline: Deadline,
|
|
208
|
+
isForWholeRole: false,
|
|
209
|
+
backToClient: true,
|
|
210
|
+
goToCalendar: false,
|
|
211
|
+
responseType: ResponseType.MAIL,
|
|
212
|
+
description: 'Resiliation du client car 6 mois d\'impayés.',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: 10,
|
|
216
|
+
label: 'Application',
|
|
217
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
218
|
+
deadline: Deadline,
|
|
219
|
+
isForWholeRole: false,
|
|
220
|
+
backToClient: true,
|
|
221
|
+
goToCalendar: true,
|
|
222
|
+
responseType: ResponseType.MAIL,
|
|
223
|
+
description: 'Prendre RDV myclementine pour explication plateforme.',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
id: 11,
|
|
227
|
+
label: 'Expert comptable gestion conflit',
|
|
228
|
+
role: Role.EXPERT_ACCOUNTANT,
|
|
229
|
+
deadline: Deadline,
|
|
230
|
+
isForWholeRole: false,
|
|
231
|
+
backToClient: true,
|
|
232
|
+
goToCalendar: true,
|
|
233
|
+
responseType: ResponseType.MAIL,
|
|
234
|
+
description: 'RDV client refus bilan, prendre RDV.',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
id: 12,
|
|
238
|
+
label: 'Expert comptable demande de conseil',
|
|
239
|
+
role: Role.EXPERT_ACCOUNTANT,
|
|
240
|
+
deadline: Deadline,
|
|
241
|
+
isForWholeRole: false,
|
|
242
|
+
backToClient: true,
|
|
243
|
+
goToCalendar: true,
|
|
244
|
+
responseType: ResponseType.MAIL,
|
|
245
|
+
description: 'RDV client réintégration fiscale - conseil.',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: 13,
|
|
249
|
+
label: 'Expert comptable calendly',
|
|
250
|
+
role: Role.EXPERT_ACCOUNTANT,
|
|
251
|
+
deadline: Deadline,
|
|
252
|
+
isForWholeRole: false,
|
|
253
|
+
backToClient: true,
|
|
254
|
+
goToCalendar: true,
|
|
255
|
+
responseType: ResponseType.MAIL,
|
|
256
|
+
description: 'Prendre RDV Clementine.',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
id: 14,
|
|
260
|
+
label: 'Litige dossier',
|
|
261
|
+
role: Role.BACK_MANAGER,
|
|
262
|
+
deadline: Deadline,
|
|
263
|
+
isForWholeRole: false,
|
|
264
|
+
backToClient: true,
|
|
265
|
+
goToCalendar: true,
|
|
266
|
+
responseType: ResponseType.MAIL,
|
|
267
|
+
description: 'Le client veut avoir une explication de bilan par le responsable comptable',
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
|
|
302
271
|
},
|
|
303
272
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { IsString, IsInt, IsDate } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class QueryCreateTask {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
isIntern: boolean;
|
|
7
|
+
|
|
5
8
|
@ApiProperty()
|
|
6
9
|
idTaskType: number;
|
|
7
10
|
|
|
@@ -95,6 +95,6 @@ export class QueryPaginatedTask {
|
|
|
95
95
|
@IsString({
|
|
96
96
|
each: true,
|
|
97
97
|
})
|
|
98
|
-
@IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate'], { each: true })
|
|
98
|
+
@IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })
|
|
99
99
|
include?: string[];
|
|
100
100
|
}
|
|
@@ -40,6 +40,16 @@ export class CreateAttachmentParams {
|
|
|
40
40
|
@IsArray()
|
|
41
41
|
files?: TFile[];
|
|
42
42
|
}
|
|
43
|
+
export class CreateAttachmentParamsForTask {
|
|
44
|
+
@ApiProperty()
|
|
45
|
+
@IsNumber()
|
|
46
|
+
idTask: number;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
@IsArray()
|
|
51
|
+
files?: TFile[];
|
|
52
|
+
}
|
|
43
53
|
export class MigrateParams {
|
|
44
54
|
@ApiProperty({ default: 50 })
|
|
45
55
|
@IsNumber()
|
|
@@ -5,9 +5,12 @@ import { INotification } from './INotification';
|
|
|
5
5
|
import { IRole } from './IRole';
|
|
6
6
|
import { ISociety } from './ISociety';
|
|
7
7
|
import { IUser } from './IUser';
|
|
8
|
+
import { TFile } from '../api/file/TFile';
|
|
9
|
+
import { ITaskAttachment } from './ITaskAttachment';
|
|
8
10
|
|
|
9
11
|
export interface ITask {
|
|
10
12
|
id?: number,
|
|
13
|
+
isIntern?: boolean | null,
|
|
11
14
|
idTaskType: number,
|
|
12
15
|
idUserWhoCreated: number,
|
|
13
16
|
idSociety: number,
|
|
@@ -20,6 +23,7 @@ export interface ITask {
|
|
|
20
23
|
idUserWhoRefused?: number,
|
|
21
24
|
processedAt?: Date,
|
|
22
25
|
responseType?: number,
|
|
26
|
+
files?: TFile[],
|
|
23
27
|
|
|
24
28
|
// Associations
|
|
25
29
|
userWhoCreated?: IUser;
|
|
@@ -32,4 +36,5 @@ export interface ITask {
|
|
|
32
36
|
comments?: IComment[];
|
|
33
37
|
mail?: IMail;
|
|
34
38
|
notifications?: INotification[];
|
|
39
|
+
attachments?: ITaskAttachment[];
|
|
35
40
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFile } from './IFile';
|
|
2
|
+
import { ITask } from './ITask';
|
|
3
|
+
|
|
4
|
+
// taskAttachment
|
|
5
|
+
export interface ITaskAttachment {
|
|
6
|
+
id?: number;
|
|
7
|
+
idFile: number;
|
|
8
|
+
idTask: number;
|
|
9
|
+
createdAt?: Date | null;
|
|
10
|
+
updatedAt?: Date | null;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
task?: ITask;
|
|
14
|
+
file?: IFile;
|
|
15
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -269,6 +269,7 @@ export * from './Interface/models/IVatDeclarationCertificate';
|
|
|
269
269
|
export * from './Interface/models/IVatDeclarationSocietyDetail';
|
|
270
270
|
export * from './Interface/models/IMail';
|
|
271
271
|
export * from './Interface/models/IMailAttachment';
|
|
272
|
+
export * from './Interface/models/ITaskAttachment';
|
|
272
273
|
export * from './Interface/models/IMailContent';
|
|
273
274
|
export * from './Interface/models/IWebMail';
|
|
274
275
|
export * from './Interface/models/IWebMailAttachment';
|