@silexpert/core 1.1.342 → 1.1.343
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/cjs/api/resources/Card.d.ts +2 -1
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +3 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Log.d.ts +2 -1
- package/dist/cjs/api/resources/Log.d.ts.map +1 -1
- package/dist/cjs/api/resources/Log.js +3 -0
- package/dist/cjs/api/resources/Log.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +2 -2
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +2 -2
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +5 -3
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/Log.d.ts +229 -1
- package/dist/cjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Log.js +228 -0
- package/dist/cjs/types/Enum/Log.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +3 -3
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +8 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +40 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.d.ts +9 -0
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.js +56 -6
- package/dist/cjs/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +10 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +2 -1
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +6 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Log.d.ts +2 -1
- package/dist/mjs/api/resources/Log.d.ts.map +1 -1
- package/dist/mjs/api/resources/Log.js +3 -0
- package/dist/mjs/api/resources/Log.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -2
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +2 -2
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +5 -3
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/Log.d.ts +229 -1
- package/dist/mjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Log.js +228 -0
- package/dist/mjs/types/Enum/Log.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +3 -3
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +8 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +38 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.d.ts +9 -0
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.js +57 -5
- package/dist/mjs/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +11 -2
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +8 -1
- package/ts/api/resources/Log.ts +5 -0
- package/ts/api/resources/Subscription.ts +3 -3
- package/ts/types/Enum/BalanceSheet.ts +5 -3
- package/ts/types/Enum/Log.ts +228 -0
- package/ts/types/Enum/TimeSlot.ts +3 -3
- package/ts/types/Interface/api/card/QueryUserCards.ts +31 -0
- package/ts/types/Interface/api/log/QueryLogPagination.ts +40 -1
- package/ts/types/Interface/api/stripe/Create.ts +10 -2
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -47,6 +47,7 @@ export enum LogType {
|
|
|
47
47
|
TYPE_CLIENT = 35,
|
|
48
48
|
ATTRIBUTION_MAIL = 36,
|
|
49
49
|
UP_TO_DATE = 37,
|
|
50
|
+
LOGIN_AS = 38,
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
export const LogTypeDetail = {
|
|
@@ -55,221 +56,448 @@ export const LogTypeDetail = {
|
|
|
55
56
|
label: 'TVA',
|
|
56
57
|
color: 'light-blue darken-1',
|
|
57
58
|
icon: null,
|
|
59
|
+
actions: {
|
|
60
|
+
post: 'a annoté',
|
|
61
|
+
put: 'a modifié',
|
|
62
|
+
delete: 'a supprimé',
|
|
63
|
+
},
|
|
64
|
+
message: 'la TVA',
|
|
58
65
|
},
|
|
59
66
|
TAX: {
|
|
60
67
|
id: LogType.TAX,
|
|
61
68
|
label: 'IS',
|
|
62
69
|
color: 'teal darken-1',
|
|
63
70
|
icon: null,
|
|
71
|
+
actions: {
|
|
72
|
+
post: 'a annoté',
|
|
73
|
+
put: 'a modifié',
|
|
74
|
+
delete: 'a supprimé',
|
|
75
|
+
},
|
|
76
|
+
message: 'l\'IS',
|
|
64
77
|
},
|
|
65
78
|
BALANCESHEET: {
|
|
66
79
|
id: LogType.BALANCESHEET,
|
|
67
80
|
label: 'Bilan',
|
|
68
81
|
color: 'light-greendarken-1',
|
|
69
82
|
icon: null,
|
|
83
|
+
actions: {
|
|
84
|
+
post: 'a enregistré',
|
|
85
|
+
put: 'a modifié',
|
|
86
|
+
delete: 'a supprimé',
|
|
87
|
+
},
|
|
88
|
+
message: 'l\'état d\'un bilan',
|
|
70
89
|
},
|
|
71
90
|
SUPERVISION: {
|
|
72
91
|
id: LogType.SUPERVISION,
|
|
73
92
|
label: 'Supervision',
|
|
74
93
|
color: 'amber darken-1',
|
|
75
94
|
icon: null,
|
|
95
|
+
actions: {
|
|
96
|
+
post: 'a enregistré',
|
|
97
|
+
put: 'a modifié',
|
|
98
|
+
delete: 'a supprimé',
|
|
99
|
+
},
|
|
100
|
+
message: 'la supervision',
|
|
76
101
|
},
|
|
77
102
|
TASK: {
|
|
78
103
|
id: LogType.TASK,
|
|
79
104
|
label: 'Tâche',
|
|
80
105
|
color: 'green darken-1',
|
|
81
106
|
icon: null,
|
|
107
|
+
actions: {
|
|
108
|
+
post: 'a ajouté',
|
|
109
|
+
put: 'a modifié',
|
|
110
|
+
delete: 'a supprimé',
|
|
111
|
+
},
|
|
112
|
+
message: 'une tâche',
|
|
82
113
|
},
|
|
83
114
|
COMMENT: {
|
|
84
115
|
id: LogType.COMMENT,
|
|
85
116
|
label: 'Commentaire',
|
|
86
117
|
color: 'blue-grey darken-1',
|
|
87
118
|
icon: null,
|
|
119
|
+
actions: {
|
|
120
|
+
post: 'a ajouté',
|
|
121
|
+
put: 'a modifié',
|
|
122
|
+
delete: 'a supprimé',
|
|
123
|
+
},
|
|
124
|
+
message: 'un commentaire',
|
|
88
125
|
},
|
|
89
126
|
MAIL: {
|
|
90
127
|
id: LogType.MAIL,
|
|
91
128
|
label: 'Mail',
|
|
92
129
|
color: 'grey',
|
|
93
130
|
icon: null,
|
|
131
|
+
actions: {
|
|
132
|
+
post: 'a envoyé',
|
|
133
|
+
put: 'a modifié',
|
|
134
|
+
delete: 'a supprimé',
|
|
135
|
+
},
|
|
136
|
+
message: 'un mail',
|
|
94
137
|
},
|
|
95
138
|
REPORT: {
|
|
96
139
|
id: LogType.REPORT,
|
|
97
140
|
label: 'Signalement',
|
|
98
141
|
color: 'lred darken-2',
|
|
99
142
|
icon: null,
|
|
143
|
+
actions: {
|
|
144
|
+
post: 'a ajouté',
|
|
145
|
+
put: 'a modifié',
|
|
146
|
+
delete: 'a supprimé',
|
|
147
|
+
},
|
|
148
|
+
message: 'un signalement',
|
|
100
149
|
},
|
|
101
150
|
EXPORT: {
|
|
102
151
|
id: LogType.EXPORT,
|
|
103
152
|
label: 'Exportation',
|
|
104
153
|
color: 'cyan darken-1',
|
|
105
154
|
icon: null,
|
|
155
|
+
actions: {
|
|
156
|
+
post: 'a effectué',
|
|
157
|
+
put: 'a modifié',
|
|
158
|
+
delete: 'a supprimé',
|
|
159
|
+
},
|
|
160
|
+
message: 'une exportation en comptabilité',
|
|
106
161
|
},
|
|
107
162
|
REVISION: {
|
|
108
163
|
id: LogType.REVISION,
|
|
109
164
|
label: 'Révision',
|
|
110
165
|
color: null,
|
|
111
166
|
icon: null,
|
|
167
|
+
actions: {
|
|
168
|
+
post: null,
|
|
169
|
+
put: 'a modifié',
|
|
170
|
+
delete: 'a supprimé',
|
|
171
|
+
},
|
|
112
172
|
},
|
|
113
173
|
ARCHIVING: {
|
|
114
174
|
id: LogType.ARCHIVING,
|
|
115
175
|
label: 'Archivage',
|
|
116
176
|
color: 'grey lighten-1',
|
|
117
177
|
icon: null,
|
|
178
|
+
actions: {
|
|
179
|
+
post: null,
|
|
180
|
+
put: 'a modifié',
|
|
181
|
+
delete: 'a supprimé',
|
|
182
|
+
},
|
|
118
183
|
},
|
|
119
184
|
UNARCHIVING: {
|
|
120
185
|
id: LogType.UNARCHIVING,
|
|
121
186
|
label: 'Désarchivage',
|
|
122
187
|
color: 'grey lighten-2',
|
|
123
188
|
icon: null,
|
|
189
|
+
actions: {
|
|
190
|
+
post: null,
|
|
191
|
+
put: 'a modifié',
|
|
192
|
+
delete: 'a supprimé',
|
|
193
|
+
},
|
|
124
194
|
},
|
|
125
195
|
PAYMENT_DELETED: {
|
|
126
196
|
id: LogType.PAYMENT_DELETED,
|
|
127
197
|
label: 'Paiement supprimé',
|
|
128
198
|
color: 'red',
|
|
129
199
|
icon: null,
|
|
200
|
+
actions: {
|
|
201
|
+
post: null,
|
|
202
|
+
put: 'a modifié',
|
|
203
|
+
delete: 'a supprimé',
|
|
204
|
+
},
|
|
130
205
|
},
|
|
131
206
|
LOGIN: {
|
|
132
207
|
id: LogType.LOGIN,
|
|
133
208
|
label: 'Connexion',
|
|
134
209
|
color: 'grey darken-2',
|
|
135
210
|
icon: null,
|
|
211
|
+
actions: {
|
|
212
|
+
post: 's\'est connecté',
|
|
213
|
+
put: 'a modifié',
|
|
214
|
+
delete: 'a supprimé',
|
|
215
|
+
},
|
|
216
|
+
message: 'avec l\'IP %ip%',
|
|
136
217
|
},
|
|
137
218
|
PAUSE: {
|
|
138
219
|
id: LogType.PAUSE,
|
|
139
220
|
label: 'Pause',
|
|
140
221
|
color: 'grey darken-2',
|
|
141
222
|
icon: null,
|
|
223
|
+
actions: {
|
|
224
|
+
post: 'a fait une pause',
|
|
225
|
+
put: 'a modifié',
|
|
226
|
+
delete: 'a supprimé',
|
|
227
|
+
},
|
|
228
|
+
message: '(IP %ip%)',
|
|
142
229
|
},
|
|
143
230
|
DAY_END: {
|
|
144
231
|
id: LogType.DAY_END,
|
|
145
232
|
label: 'Journée terminée',
|
|
146
233
|
color: 'grey darken-2',
|
|
147
234
|
icon: null,
|
|
235
|
+
actions: {
|
|
236
|
+
post: 'a fini sa journée',
|
|
237
|
+
put: 'a modifié',
|
|
238
|
+
delete: 'a supprimé',
|
|
239
|
+
},
|
|
240
|
+
message: '(IP %ip%)',
|
|
148
241
|
},
|
|
149
242
|
GENERIC_ACCOUNT: {
|
|
150
243
|
id: LogType.GENERIC_ACCOUNT,
|
|
151
244
|
label: 'Plan comptable générique',
|
|
152
245
|
color: 'purple darken-4',
|
|
153
246
|
icon: null,
|
|
247
|
+
actions: {
|
|
248
|
+
post: 'a créé un plan comptable générique',
|
|
249
|
+
put: 'a modifié',
|
|
250
|
+
delete: 'a supprimé',
|
|
251
|
+
},
|
|
154
252
|
},
|
|
155
253
|
BANK_ACCOUNT_FUSION: {
|
|
156
254
|
id: LogType.BANK_ACCOUNT_FUSION,
|
|
157
255
|
label: 'Fusion compte bancaire',
|
|
158
256
|
color: 'purple',
|
|
159
257
|
icon: null,
|
|
258
|
+
actions: {
|
|
259
|
+
post: null,
|
|
260
|
+
put: 'a fusionné deux comptes bancaires',
|
|
261
|
+
delete: 'a supprimé',
|
|
262
|
+
},
|
|
263
|
+
message: '#%bankAccount% (source #%bankAccountSource%)',
|
|
160
264
|
},
|
|
161
265
|
IMPORT: {
|
|
162
266
|
id: LogType.IMPORT,
|
|
163
267
|
label: 'Importation',
|
|
164
268
|
color: 'cyan darken-1',
|
|
165
269
|
icon: null,
|
|
270
|
+
actions: {
|
|
271
|
+
post: 'a fait une importation',
|
|
272
|
+
put: 'a modifié',
|
|
273
|
+
delete: 'a supprimé',
|
|
274
|
+
},
|
|
275
|
+
message: 'd\'un fichier',
|
|
166
276
|
},
|
|
167
277
|
PAUSE_END: {
|
|
168
278
|
id: LogType.PAUSE_END,
|
|
169
279
|
label: 'Pause terminée',
|
|
170
280
|
color: 'cyan darken-1',
|
|
171
281
|
icon: null,
|
|
282
|
+
actions: {
|
|
283
|
+
post: null,
|
|
284
|
+
put: 'a modifié',
|
|
285
|
+
delete: 'a supprimé',
|
|
286
|
+
},
|
|
172
287
|
},
|
|
173
288
|
UNPAID: {
|
|
174
289
|
id: LogType.UNPAID,
|
|
175
290
|
label: 'Impayé',
|
|
176
291
|
color: 'red lighten-2',
|
|
177
292
|
icon: null,
|
|
293
|
+
actions: {
|
|
294
|
+
post: null,
|
|
295
|
+
put: 'a modifié',
|
|
296
|
+
delete: 'a supprimé',
|
|
297
|
+
},
|
|
178
298
|
},
|
|
179
299
|
DELETE: {
|
|
180
300
|
id: LogType.DELETE,
|
|
181
301
|
label: 'Suppression',
|
|
182
302
|
color: 'cyan darken-1',
|
|
183
303
|
icon: null,
|
|
304
|
+
actions: {
|
|
305
|
+
post: 'a été supprimée',
|
|
306
|
+
put: 'a modifié',
|
|
307
|
+
delete: 'a supprimé',
|
|
308
|
+
},
|
|
309
|
+
message: '%societyName% avec pour id %societyId% avec l\'utilisateur %user%, email : %mail%',
|
|
184
310
|
},
|
|
185
311
|
REGULATION_DELETE: {
|
|
186
312
|
id: LogType.REGULATION_DELETE,
|
|
187
313
|
label: 'Suppression régule',
|
|
188
314
|
color: '#c21530',
|
|
189
315
|
icon: null,
|
|
316
|
+
actions: {
|
|
317
|
+
post: null,
|
|
318
|
+
put: 'a modifié',
|
|
319
|
+
delete: 'a supprimé',
|
|
320
|
+
},
|
|
321
|
+
message: 'une régule d\'un montant de %amount% €',
|
|
190
322
|
},
|
|
191
323
|
TERMINATION: {
|
|
192
324
|
id: LogType.TERMINATION,
|
|
193
325
|
label: 'Résiliation',
|
|
194
326
|
color: 'cyan darken-1',
|
|
195
327
|
icon: null,
|
|
328
|
+
actions: {
|
|
329
|
+
post: 'a ajoutée en résiliation',
|
|
330
|
+
put: 'a modifié',
|
|
331
|
+
delete: 'a supprimé',
|
|
332
|
+
},
|
|
333
|
+
message: 'la prestation: %prestation% pour la société: %society%',
|
|
196
334
|
},
|
|
197
335
|
CHECKLIST: {
|
|
198
336
|
id: LogType.CHECKLIST,
|
|
199
337
|
label: 'Checklist',
|
|
200
338
|
color: 'cyan darken-1',
|
|
201
339
|
icon: null,
|
|
340
|
+
actions: {
|
|
341
|
+
post: 'a validé la checklist',
|
|
342
|
+
put: 'a modifié',
|
|
343
|
+
delete: 'a supprimé',
|
|
344
|
+
},
|
|
345
|
+
message: 'du %date%',
|
|
202
346
|
},
|
|
203
347
|
TRANSACTION_DELETE: {
|
|
204
348
|
id: LogType.TRANSACTION_DELETE,
|
|
205
349
|
label: 'Suppression de transaction',
|
|
206
350
|
color: 'red darken-3',
|
|
207
351
|
icon: null,
|
|
352
|
+
actions: {
|
|
353
|
+
post: null,
|
|
354
|
+
put: 'a modifié',
|
|
355
|
+
delete: 'a supprimé',
|
|
356
|
+
},
|
|
357
|
+
message: 'du %dateStart% au %dateEnd%',
|
|
208
358
|
},
|
|
209
359
|
INPI_DELETE: {
|
|
210
360
|
id: LogType.INPI_DELETE,
|
|
211
361
|
label: 'Suppression INPI',
|
|
212
362
|
color: 'red darken-2',
|
|
213
363
|
icon: null,
|
|
364
|
+
actions: {
|
|
365
|
+
post: null,
|
|
366
|
+
put: 'a modifié',
|
|
367
|
+
delete: 'a supprimé',
|
|
368
|
+
},
|
|
369
|
+
message: 'le paiement INPI lié à la prestation %prestation% pour l\'exercice %dateStart%-%dateEnd% et ayant le numéros de dossier %file%',
|
|
214
370
|
},
|
|
215
371
|
VALIDATE_CALENDAR: {
|
|
216
372
|
id: LogType.VALIDATE_CALENDAR,
|
|
217
373
|
label: 'Validation de journée',
|
|
218
374
|
color: 'green lighten-1',
|
|
219
375
|
icon: null,
|
|
376
|
+
actions: {
|
|
377
|
+
post: 'a validé',
|
|
378
|
+
put: 'a modifié',
|
|
379
|
+
delete: 'a supprimé',
|
|
380
|
+
},
|
|
381
|
+
message: 'l\'agenda pour le collaborateur, %user%, à la date du %date%',
|
|
220
382
|
},
|
|
221
383
|
INACTIVITY: {
|
|
222
384
|
id: LogType.INACTIVITY,
|
|
223
385
|
label: 'Inactivité',
|
|
224
386
|
color: 'red darken-2',
|
|
225
387
|
icon: null,
|
|
388
|
+
actions: {
|
|
389
|
+
post: null,
|
|
390
|
+
put: 'a modifié',
|
|
391
|
+
delete: 'a supprimé',
|
|
392
|
+
},
|
|
393
|
+
message: '',
|
|
226
394
|
},
|
|
227
395
|
SOCIAL: {
|
|
228
396
|
id: LogType.SOCIAL,
|
|
229
397
|
label: 'Social',
|
|
230
398
|
color: 'cyan darken-2',
|
|
231
399
|
icon: null,
|
|
400
|
+
actions: {
|
|
401
|
+
post: null,
|
|
402
|
+
put: 'a validé',
|
|
403
|
+
delete: 'a supprimé',
|
|
404
|
+
},
|
|
405
|
+
message: 'un paiement social (%payment%) d\'une valeur de %amount% €',
|
|
232
406
|
},
|
|
233
407
|
CONSTITUTION: {
|
|
234
408
|
id: LogType.CONSTITUTION,
|
|
235
409
|
label: 'Constitution',
|
|
236
410
|
color: 'blue-grey lighten-1',
|
|
237
411
|
icon: null,
|
|
412
|
+
actions: {
|
|
413
|
+
post: null,
|
|
414
|
+
put: 'a modifié',
|
|
415
|
+
delete: 'a supprimé',
|
|
416
|
+
},
|
|
417
|
+
message: 'l\'état de la constitution en: %state%',
|
|
238
418
|
},
|
|
239
419
|
APPROBATION: {
|
|
240
420
|
id: LogType.APPROBATION,
|
|
241
421
|
label: 'Approbation',
|
|
242
422
|
color: 'blue-grey lighten-2',
|
|
243
423
|
icon: null,
|
|
424
|
+
actions: {
|
|
425
|
+
post: null,
|
|
426
|
+
put: 'a validé',
|
|
427
|
+
delete: 'a supprimé',
|
|
428
|
+
},
|
|
429
|
+
message: 'l\'approbation de compte',
|
|
244
430
|
},
|
|
245
431
|
ACCEPTATION: {
|
|
246
432
|
id: LogType.ACCEPTATION,
|
|
247
433
|
label: 'Acceptation',
|
|
248
434
|
color: 'blue-grey darken-1',
|
|
249
435
|
icon: null,
|
|
436
|
+
actions: {
|
|
437
|
+
post: null,
|
|
438
|
+
put: 'a modifié',
|
|
439
|
+
delete: 'a supprimé',
|
|
440
|
+
},
|
|
441
|
+
message: 'l\'acceptation de la mission',
|
|
250
442
|
},
|
|
251
443
|
IP: {
|
|
252
444
|
id: LogType.IP,
|
|
253
445
|
label: 'IP',
|
|
254
446
|
color: 'blue-grey darken-2',
|
|
255
447
|
icon: null,
|
|
448
|
+
actions: {
|
|
449
|
+
post: null,
|
|
450
|
+
put: 'a modifié',
|
|
451
|
+
delete: 'a supprimé',
|
|
452
|
+
},
|
|
453
|
+
message: 'l\'ip du collaborateur %firstname% %lastname%',
|
|
256
454
|
},
|
|
257
455
|
TYPE_CLIENT: {
|
|
258
456
|
id: LogType.TYPE_CLIENT,
|
|
259
457
|
label: 'Type de client',
|
|
260
458
|
color: 'cyan',
|
|
261
459
|
icon: null,
|
|
460
|
+
actions: {
|
|
461
|
+
post: null,
|
|
462
|
+
put: 'a modifié',
|
|
463
|
+
delete: 'a supprimé',
|
|
464
|
+
},
|
|
465
|
+
message: 'le type de client de %typeStart% à %typeEnd%',
|
|
262
466
|
},
|
|
263
467
|
ATTRIBUTION_MAIL: {
|
|
264
468
|
id: LogType.ATTRIBUTION_MAIL,
|
|
265
469
|
label: 'Attribution de mail',
|
|
266
470
|
color: 'grey',
|
|
267
471
|
icon: null,
|
|
472
|
+
actions: {
|
|
473
|
+
post: null,
|
|
474
|
+
put: 'a attribué',
|
|
475
|
+
delete: 'a supprimé',
|
|
476
|
+
},
|
|
477
|
+
message: 'le mail %mail% au role %role%',
|
|
268
478
|
},
|
|
269
479
|
UP_TO_DATE: {
|
|
270
480
|
id: LogType.UP_TO_DATE,
|
|
271
481
|
label: 'upToDate',
|
|
272
482
|
color: 'cyan lighten-1',
|
|
273
483
|
icon: null,
|
|
484
|
+
actions: {
|
|
485
|
+
post: null,
|
|
486
|
+
put: 'a modifié',
|
|
487
|
+
delete: 'a supprimé',
|
|
488
|
+
},
|
|
489
|
+
message: 'à mis à jour le mandat de la société %society% en "%type%"',
|
|
490
|
+
},
|
|
491
|
+
LOGIN_AS: {
|
|
492
|
+
id: LogType.LOGIN_AS,
|
|
493
|
+
label: 'Connexion en tant que',
|
|
494
|
+
color: 'grey darken-2',
|
|
495
|
+
icon: null,
|
|
496
|
+
actions: {
|
|
497
|
+
post: 's\'est connecté en tant que',
|
|
498
|
+
put: 'a modifié',
|
|
499
|
+
delete: 'a supprimé',
|
|
500
|
+
},
|
|
501
|
+
message: '%user%',
|
|
274
502
|
},
|
|
275
503
|
};
|
|
@@ -70,7 +70,7 @@ export const TimeSlotCategoryDetail:TimeSlotCategoryDetailType[] = [
|
|
|
70
70
|
{
|
|
71
71
|
id: TimeSlotCategory.SPECIALISED,
|
|
72
72
|
name: 'Conseils spécialisés',
|
|
73
|
-
description: 'Vous souhaitez une explication de vos comptes annuels ? Vous avez des questions très pointues ou un besoin d\'information spécifique ?
|
|
73
|
+
description: 'Vous souhaitez une explication de vos comptes annuels ? Vous avez des questions très pointues ou un besoin d\'information spécifique ? Nous sommes là pour vous accompagner !',
|
|
74
74
|
},
|
|
75
75
|
];
|
|
76
76
|
|
|
@@ -86,8 +86,8 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
id: TimeSlot.ONBOARDING_SHORT,
|
|
89
|
-
name: 'OnBoarding
|
|
90
|
-
internalName: 'Rdv OnBoarding',
|
|
89
|
+
name: 'OnBoarding',
|
|
90
|
+
internalName: 'Rdv OnBoarding Court',
|
|
91
91
|
duration: 45,
|
|
92
92
|
idRole: [Role.ON_BOARDER],
|
|
93
93
|
forWholeService: true,
|
|
@@ -25,6 +25,37 @@ export class QueryUserCards {
|
|
|
25
25
|
@IsArray()
|
|
26
26
|
declare types?: CardType[];
|
|
27
27
|
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsEnum(CardState)
|
|
31
|
+
declare state?: CardState;
|
|
32
|
+
}
|
|
33
|
+
export class QueryUserCardsAdmin {
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsInt()
|
|
37
|
+
declare idUser?: number;
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
@IsDate()
|
|
42
|
+
declare startDate?: Date;
|
|
43
|
+
|
|
44
|
+
@ApiPropertyOptional()
|
|
45
|
+
@IsOptional()
|
|
46
|
+
@IsDate()
|
|
47
|
+
declare endDate?: Date;
|
|
48
|
+
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
@IsOptional()
|
|
51
|
+
@IsString()
|
|
52
|
+
declare search?: string;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
@IsOptional()
|
|
56
|
+
@IsArray()
|
|
57
|
+
declare types?: CardType[];
|
|
58
|
+
|
|
28
59
|
@ApiPropertyOptional()
|
|
29
60
|
@IsOptional()
|
|
30
61
|
@IsEnum(CardState)
|
|
@@ -1,10 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
IsDate,
|
|
3
|
+
IsEnum, IsInt, IsNumber, IsOptional, IsString,
|
|
3
4
|
} from 'class-validator';
|
|
4
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
6
|
import { LogType } from '../../../Enum/Log';
|
|
6
7
|
|
|
7
8
|
export class QueryLogPagination {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
limit?: number = 25;
|
|
13
|
+
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsNumber()
|
|
17
|
+
page?: number = 1;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
@IsOptional()
|
|
21
|
+
@IsDate()
|
|
22
|
+
dateStart?: Date;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsOptional()
|
|
26
|
+
@IsDate()
|
|
27
|
+
dateEnd?: Date;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsNumber()
|
|
32
|
+
@IsEnum(LogType)
|
|
33
|
+
idTypeLog: number;
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsNumber()
|
|
38
|
+
idSociety?: number;
|
|
39
|
+
|
|
40
|
+
@ApiPropertyOptional()
|
|
41
|
+
@IsOptional()
|
|
42
|
+
@IsNumber()
|
|
43
|
+
idUser?: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class QueryLogPaginationByUser {
|
|
8
47
|
@ApiPropertyOptional()
|
|
9
48
|
@IsOptional()
|
|
10
49
|
@IsInt()
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class CreateStripeConnection {
|
|
5
5
|
@ApiProperty()
|
|
6
6
|
@IsString()
|
|
7
7
|
code: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class CreateStripePortals {
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
stripeCustomerId?: string;
|
|
15
|
+
|
|
8
16
|
}
|