@silexpert/core 0.4.259 → 0.4.262

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.
Files changed (77) hide show
  1. package/es/types/Enum/BrandClementine.d.ts +3 -0
  2. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  3. package/es/types/Enum/BrandClementine.js +1 -0
  4. package/es/types/Enum/BrandClementine.js.map +1 -1
  5. package/es/types/Enum/InternalService.d.ts +6 -5
  6. package/es/types/Enum/InternalService.d.ts.map +1 -1
  7. package/es/types/Enum/InternalService.js +6 -5
  8. package/es/types/Enum/InternalService.js.map +1 -1
  9. package/es/types/Enum/TaskResponseType.d.ts +77 -228
  10. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  11. package/es/types/Enum/TaskResponseType.js +245 -279
  12. package/es/types/Enum/TaskResponseType.js.map +1 -1
  13. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +1 -0
  14. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  15. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +7 -1
  16. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  17. package/es/types/Interface/api/task/QueryCreateTask.d.ts +1 -0
  18. package/es/types/Interface/api/task/QueryCreateTask.d.ts.map +1 -1
  19. package/es/types/Interface/api/task/QueryCreateTask.js +5 -1
  20. package/es/types/Interface/api/task/QueryCreateTask.js.map +1 -1
  21. package/es/types/Interface/api/task/QueryPaginatedTask.js +1 -1
  22. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  23. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +1 -0
  24. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
  25. package/es/types/Interface/api/thirdParty/QueryThirdParty.js +7 -1
  26. package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  27. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +4 -0
  28. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  29. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +13 -0
  30. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  31. package/es/types/Interface/models/ILoan.d.ts +2 -0
  32. package/es/types/Interface/models/ILoan.d.ts.map +1 -1
  33. package/es/types/Interface/models/ILoan.js.map +1 -1
  34. package/es/types/Interface/models/ITask.d.ts +5 -0
  35. package/es/types/Interface/models/ITask.d.ts.map +1 -1
  36. package/es/types/Interface/models/ITask.js.map +1 -1
  37. package/es/types/Interface/models/ITaskAttachment.d.ts +12 -0
  38. package/es/types/Interface/models/ITaskAttachment.d.ts.map +1 -0
  39. package/es/types/Interface/models/ITaskAttachment.js +2 -0
  40. package/es/types/Interface/models/ITaskAttachment.js.map +1 -0
  41. package/es/types/index.d.ts +1 -0
  42. package/es/types/index.d.ts.map +1 -1
  43. package/es/types/index.js +1 -0
  44. package/es/types/index.js.map +1 -1
  45. package/js/types/Enum/BrandClementine.js +1 -0
  46. package/js/types/Enum/BrandClementine.js.map +1 -1
  47. package/js/types/Enum/InternalService.js +9 -5
  48. package/js/types/Enum/InternalService.js.map +1 -1
  49. package/js/types/Enum/TaskResponseType.js +225 -279
  50. package/js/types/Enum/TaskResponseType.js.map +1 -1
  51. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +2 -0
  52. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  53. package/js/types/Interface/api/task/QueryCreateTask.js +2 -0
  54. package/js/types/Interface/api/task/QueryCreateTask.js.map +1 -1
  55. package/js/types/Interface/api/task/QueryPaginatedTask.js +1 -1
  56. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  57. package/js/types/Interface/api/thirdParty/QueryThirdParty.js +2 -0
  58. package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  59. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +9 -1
  60. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  61. package/js/types/Interface/models/ITaskAttachment.js +6 -0
  62. package/js/types/Interface/models/ITaskAttachment.js.map +1 -0
  63. package/js/types/index.js +12 -0
  64. package/js/types/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/ts/types/Enum/BrandClementine.ts +1 -0
  67. package/ts/types/Enum/InternalService.ts +7 -5
  68. package/ts/types/Enum/TaskResponseType.ts +248 -279
  69. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +6 -1
  70. package/ts/types/Interface/api/task/QueryCreateTask.ts +4 -1
  71. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +1 -1
  72. package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +8 -1
  73. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +10 -0
  74. package/ts/types/Interface/models/ILoan.ts +2 -0
  75. package/ts/types/Interface/models/ITask.ts +5 -0
  76. package/ts/types/Interface/models/ITaskAttachment.ts +15 -0
  77. package/ts/types/index.ts +1 -0
@@ -1,22 +1,24 @@
1
+ import { Role } from './Role';
2
+
1
3
  export const InternalService = {
2
4
  COMMERCIAL: {
3
- idRole: 9,
5
+ idRole: Role.COMMERCIAL,
4
6
  name: 'Commercial',
5
7
  },
6
8
  CUSTOMER_SUCCESS: {
7
- idRole: 10,
9
+ idRole: Role.CUSTOMER_SUCCESS,
8
10
  name: 'Customer success',
9
11
  },
10
12
  SOCIAL: {
11
- idRole: 11,
13
+ idRole: Role.SOCIAL,
12
14
  name: 'Social',
13
15
  },
14
16
  JURIDIQUE: {
15
- idRole: 12,
17
+ idRole: Role.JURIDIC,
16
18
  name: 'Juridique',
17
19
  },
18
20
  FACTURATION: {
19
- idRole: 34,
21
+ idRole: Role.FACTURATION,
20
22
  name: 'Facturation',
21
23
  },
22
24
  };
@@ -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
- INTERN_ACTIVITY: {
17
- id: 3,
18
- min: 1,
19
- max: 96,
20
- default: 24,
21
- label: 'Activité Interne',
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
- DEMANDE_ATTESTATION: {
28
+ INTERN: {
34
29
  id: 1,
35
- label: 'Demande attestation',
36
- responseType: ResponseType.INTERN_ACTIVITY.id,
37
- weight: 2,
38
- isExterne: true,
39
- idMailAuto: null,
40
- schedule: 15,
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
- FAIRE_COURRIER: {
144
+ EXTERN: {
43
145
  id: 2,
44
- label: 'Faire courrier',
45
- responseType: ResponseType.INTERN_ACTIVITY.id,
46
- weight: 4,
47
- isExterne: false,
48
- idMailAuto: null,
49
- schedule: 30,
50
- },
51
- ACTIVER_ONGLET_SOCIAL: {
52
- id: 3,
53
- label: 'Activer l\'onglet social',
54
- responseType: ResponseType.MAIL.id,
55
- weight: 1,
56
- isExterne: true,
57
- idMailAuto: null,
58
- schedule: 15,
59
- },
60
- SUPPORT_TECHNIQUE: {
61
- id: 4,
62
- label: 'Support technique',
63
- responseType: ResponseType.CALL.id,
64
- weight: 6,
65
- isExterne: true,
66
- idMailAuto: null,
67
- schedule: 15,
68
- },
69
- SUIVI_BILAN: {
70
- id: 5,
71
- label: 'Suivi bilan',
72
- responseType: ResponseType.INTERN_ACTIVITY.id,
73
- weight: 9,
74
- isExterne: true,
75
- idMailAuto: null,
76
- schedule: 30,
77
- },
78
- SUIVI_IS: {
79
- id: 6,
80
- label: 'Suivi IS',
81
- responseType: ResponseType.INTERN_ACTIVITY.id,
82
- weight: 6,
83
- isExterne: true,
84
- idMailAuto: null,
85
- schedule: 15,
86
- },
87
- SUIVI_TVA: {
88
- id: 7,
89
- label: 'Suivi TVA',
90
- responseType: ResponseType.INTERN_ACTIVITY.id,
91
- weight: 6,
92
- isExterne: true,
93
- idMailAuto: null,
94
- schedule: 15,
95
- },
96
- SUIVI_MISSIONS_COMPLEMENTAIRES: {
97
- id: 8,
98
- label: 'Suivi missions complémentaires',
99
- responseType: ResponseType.INTERN_ACTIVITY.id,
100
- weight: 6,
101
- isExterne: true,
102
- idMailAuto: null,
103
- schedule: 30,
104
- },
105
- // PV_AG_APPROBATION: {
106
- // id: 9,
107
- // label: 'Pv d\'AG/Approbation',
108
- // responseType: ResponseType.INTERN_ACTIVITY.id,
109
- // weight: 4,
110
- // isExterne: true,
111
- // idMailAuto: null,
112
- // schedule: 15,
113
- // },
114
- // DIVIDENDES: {
115
- // id: 10,
116
- // label: 'Dividendes',
117
- // responseType: ResponseType.INTERN_ACTIVITY.id,
118
- // weight: 6,
119
- // isExterne: true,
120
- // idMailAuto: null,
121
- // schedule: 15,
122
- // },
123
- // CREATION_SOCIETE: {
124
- // id: 11,
125
- // label: 'Creation société',
126
- // responseType: ResponseType.INTERN_ACTIVITY.id,
127
- // weight: 8,
128
- // isExterne: true,
129
- // idMailAuto: null,
130
- // schedule: 15,
131
- // },
132
- QUESTIONS_JURIDIQUES: {
133
- id: 12,
134
- label: 'Questions juridiques',
135
- responseType: ResponseType.INTERN_ACTIVITY.id,
136
- weight: 6,
137
- isExterne: true,
138
- idMailAuto: null,
139
- schedule: 15,
140
- },
141
- // BULLETIN_PAIE: {
142
- // id: 13,
143
- // label: 'Bulletin de paie',
144
- // responseType: ResponseType.MAIL.id,
145
- // weight: 2,
146
- // isExterne: true,
147
- // idMailAuto: null,
148
- // schedule: 15,
149
- // },
150
- // DECLARATIONS: {
151
- // id: 14,
152
- // label: 'Déclarations',
153
- // responseType: ResponseType.MAIL.id,
154
- // weight: 3,
155
- // isExterne: true,
156
- // idMailAuto: null,
157
- // schedule: 15,
158
- // },
159
- // EMBAUCHE: {
160
- // id: 15,
161
- // label: 'Embauche',
162
- // responseType: ResponseType.INTERN_ACTIVITY.id,
163
- // weight: 4,
164
- // isExterne: true,
165
- // idMailAuto: null,
166
- // schedule: 15,
167
- // },
168
- QUESTIONS_SOCIALES: {
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,5 +1,5 @@
1
1
  import {
2
- IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,
2
+ IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -45,4 +45,9 @@ export class QueryGeneralLedgerAuxiliary {
45
45
  @IsString()
46
46
  @IsOptional()
47
47
  search?: string;
48
+
49
+ @ApiPropertyOptional()
50
+ @IsNumber()
51
+ @IsOptional()
52
+ idThirdParty?: number;
48
53
  }
@@ -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
  }
@@ -1,4 +1,6 @@
1
- import { IsEnum, IsOptional, IsString } from 'class-validator';
1
+ import {
2
+ IsEnum, IsNumber, IsOptional, IsString,
3
+ } from 'class-validator';
2
4
  import { ThirdPartyType } from '../../..';
3
5
  import { ApiPropertyOptional } from '../../../..';
4
6
 
@@ -12,4 +14,9 @@ export class QueryThirdParty {
12
14
  @IsOptional()
13
15
  @IsEnum(ThirdPartyType)
14
16
  type?: number;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsNumber()
21
+ idThirdParty?: number;
15
22
  }
@@ -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()
@@ -20,6 +20,7 @@ export interface ILoan {
20
20
  idAccountBenefit: number;
21
21
  idAccountInsurance: number;
22
22
  idAccountCommission: number;
23
+ idAccountReleaseLoanCapital: number;
23
24
  createdAt?: Date | null;
24
25
  updatedAt?: Date | null;
25
26
 
@@ -30,5 +31,6 @@ export interface ILoan {
30
31
  accountBenefit?: IAccount;
31
32
  accountInsurance?: IAccount;
32
33
  accountCommission?: IAccount;
34
+ accountReleaseLoanCapital?: IAccount;
33
35
  loanFiles?: ILoanFile[];
34
36
  }