@silexpert/core 1.2.35 → 1.2.37
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/Report.d.ts +2 -1
- package/dist/cjs/api/resources/Report.d.ts.map +1 -1
- package/dist/cjs/api/resources/Report.js +12 -0
- package/dist/cjs/api/resources/Report.js.map +1 -1
- package/dist/cjs/types/Enum/IssueType.d.ts +53 -0
- package/dist/cjs/types/Enum/IssueType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/IssueType.js +72 -0
- package/dist/cjs/types/Enum/IssueType.js.map +1 -0
- package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js +124 -5
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +4 -15
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +2 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +57 -26
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/ReportType.d.ts +35 -76
- package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReportType.js +72 -20
- package/dist/cjs/types/Enum/ReportType.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +2 -0
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.js +35 -0
- package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +9 -0
- package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/report/ExternalReport.js +48 -0
- package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -0
- package/dist/cjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/cjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.d.ts +13 -3
- package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/cjs/types/Interface/models/ITicketSupport.d.ts +27 -2
- package/dist/cjs/types/Interface/models/ITicketSupport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ITicketSupport.js.map +1 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js +2 -2
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js +6 -6
- package/dist/cjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/dist/mjs/api/resources/Report.d.ts +2 -1
- package/dist/mjs/api/resources/Report.d.ts.map +1 -1
- package/dist/mjs/api/resources/Report.js +12 -0
- package/dist/mjs/api/resources/Report.js.map +1 -1
- package/dist/mjs/types/Enum/IssueType.d.ts +53 -0
- package/dist/mjs/types/Enum/IssueType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/IssueType.js +69 -0
- package/dist/mjs/types/Enum/IssueType.js.map +1 -0
- package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js +124 -5
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +4 -15
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +2 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +57 -26
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/ReportType.d.ts +35 -76
- package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReportType.js +71 -19
- package/dist/mjs/types/Enum/ReportType.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +2 -0
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.js +37 -0
- package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +9 -0
- package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/report/ExternalReport.js +49 -0
- package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -0
- package/dist/mjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/mjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.d.ts +13 -3
- package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/mjs/types/Interface/models/ITicketSupport.d.ts +27 -2
- package/dist/mjs/types/Interface/models/ITicketSupport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ITicketSupport.js.map +1 -1
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js +2 -2
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js +6 -6
- package/dist/mjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Report.ts +16 -1
- package/ts/types/Enum/IssueType.ts +85 -0
- package/ts/types/Enum/KilometricAllowanceScale.ts +130 -12
- package/ts/types/Enum/MailAuto.ts +4 -15
- package/ts/types/Enum/PrestationType.ts +60 -29
- package/ts/types/Enum/ReportType.ts +86 -21
- package/ts/types/Interface/api/report/CreateReport.ts +48 -15
- package/ts/types/Interface/api/report/ExternalReport.ts +30 -0
- package/ts/types/Interface/models/IFile.ts +2 -1
- package/ts/types/Interface/models/IReport.ts +13 -3
- package/ts/types/Interface/models/ITicketSupport.ts +31 -2
- package/ts/types/index.ts +5 -4
- package/ts/utils/commercialManagement/internationalization/choices.ts +2 -2
- package/ts/utils/commercialManagement/templates/common.ts +6 -6
|
@@ -5,24 +5,23 @@ type KilometricAllowanceScaleDistance = {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
type KilometricAllowanceScaleDistanceContent = {
|
|
8
|
-
km: KilometricAllowanceScaleDistance[]
|
|
8
|
+
km: KilometricAllowanceScaleDistance[];
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
type KilometricAllowanceScalePowerContent = {
|
|
12
|
-
[key: string]: KilometricAllowanceScaleDistanceContent
|
|
12
|
+
[key: string]: KilometricAllowanceScaleDistanceContent;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
type KilometricAllowanceScaleYearContent = {
|
|
16
|
-
[key: string]: KilometricAllowanceScalePowerContent
|
|
17
|
-
|
|
16
|
+
[key: string]: KilometricAllowanceScalePowerContent;
|
|
18
17
|
};
|
|
19
18
|
|
|
20
19
|
export type KilometricAllowanceScaleContent = {
|
|
21
|
-
[key: string]: KilometricAllowanceScaleYearContent
|
|
20
|
+
[key: string]: KilometricAllowanceScaleYearContent;
|
|
22
21
|
};
|
|
23
22
|
|
|
24
23
|
export type KilometricAllowanceScaleType = {
|
|
25
|
-
[key: string]: KilometricAllowanceScaleContent
|
|
24
|
+
[key: string]: KilometricAllowanceScaleContent;
|
|
26
25
|
};
|
|
27
26
|
|
|
28
27
|
export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
@@ -74,7 +73,7 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
74
73
|
7: {
|
|
75
74
|
km: [
|
|
76
75
|
{ maxDistance: 5000, ratio: 0.601, fixAmount: 0 },
|
|
77
|
-
{ maxDistance: 20000, ratio: 0.
|
|
76
|
+
{ maxDistance: 20000, ratio: 0.34, fixAmount: 1301 },
|
|
78
77
|
{ maxDistance: 0, ratio: 0.405, fixAmount: 0 },
|
|
79
78
|
],
|
|
80
79
|
},
|
|
@@ -291,7 +290,7 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
291
290
|
4: {
|
|
292
291
|
km: [
|
|
293
292
|
{ maxDistance: 5000, ratio: 0.606, fixAmount: 0 },
|
|
294
|
-
{ maxDistance: 20000, ratio: 0.
|
|
293
|
+
{ maxDistance: 20000, ratio: 0.34, fixAmount: 1330 },
|
|
295
294
|
{ maxDistance: 0, ratio: 0.407, fixAmount: 0 },
|
|
296
295
|
],
|
|
297
296
|
},
|
|
@@ -313,7 +312,7 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
313
312
|
km: [
|
|
314
313
|
{ maxDistance: 5000, ratio: 0.697, fixAmount: 0 },
|
|
315
314
|
{ maxDistance: 20000, ratio: 0.394, fixAmount: 1515 },
|
|
316
|
-
{ maxDistance: 0, ratio: 0.
|
|
315
|
+
{ maxDistance: 0, ratio: 0.47, fixAmount: 0 },
|
|
317
316
|
],
|
|
318
317
|
},
|
|
319
318
|
},
|
|
@@ -410,7 +409,126 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
410
409
|
4: {
|
|
411
410
|
km: [
|
|
412
411
|
{ maxDistance: 5000, ratio: 0.606, fixAmount: 0 },
|
|
413
|
-
{ maxDistance: 20000, ratio: 0.
|
|
412
|
+
{ maxDistance: 20000, ratio: 0.34, fixAmount: 1330 },
|
|
413
|
+
{ maxDistance: 0, ratio: 0.407, fixAmount: 0 },
|
|
414
|
+
],
|
|
415
|
+
},
|
|
416
|
+
5: {
|
|
417
|
+
km: [
|
|
418
|
+
{ maxDistance: 5000, ratio: 0.636, fixAmount: 0 },
|
|
419
|
+
{ maxDistance: 20000, ratio: 0.357, fixAmount: 1395 },
|
|
420
|
+
{ maxDistance: 0, ratio: 0.427, fixAmount: 0 },
|
|
421
|
+
],
|
|
422
|
+
},
|
|
423
|
+
6: {
|
|
424
|
+
km: [
|
|
425
|
+
{ maxDistance: 5000, ratio: 0.665, fixAmount: 0 },
|
|
426
|
+
{ maxDistance: 20000, ratio: 0.374, fixAmount: 1457 },
|
|
427
|
+
{ maxDistance: 0, ratio: 0.447, fixAmount: 0 },
|
|
428
|
+
],
|
|
429
|
+
},
|
|
430
|
+
7: {
|
|
431
|
+
km: [
|
|
432
|
+
{ maxDistance: 5000, ratio: 0.697, fixAmount: 0 },
|
|
433
|
+
{ maxDistance: 20000, ratio: 0.394, fixAmount: 1515 },
|
|
434
|
+
{ maxDistance: 0, ratio: 0.47, fixAmount: 0 },
|
|
435
|
+
],
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
2: {
|
|
440
|
+
power: {
|
|
441
|
+
1: {
|
|
442
|
+
km: [
|
|
443
|
+
{ maxDistance: 3000, ratio: 0.395, fixAmount: 0 },
|
|
444
|
+
{ maxDistance: 6000, ratio: 0.099, fixAmount: 891 },
|
|
445
|
+
{ maxDistance: 0, ratio: 0.248, fixAmount: 0 },
|
|
446
|
+
],
|
|
447
|
+
},
|
|
448
|
+
2: {
|
|
449
|
+
km: [
|
|
450
|
+
{ maxDistance: 3000, ratio: 0.395, fixAmount: 0 },
|
|
451
|
+
{ maxDistance: 6000, ratio: 0.099, fixAmount: 891 },
|
|
452
|
+
{ maxDistance: 0, ratio: 0.248, fixAmount: 0 },
|
|
453
|
+
],
|
|
454
|
+
},
|
|
455
|
+
3: {
|
|
456
|
+
km: [
|
|
457
|
+
{ maxDistance: 3000, ratio: 0.468, fixAmount: 0 },
|
|
458
|
+
{ maxDistance: 6000, ratio: 0.082, fixAmount: 1158 },
|
|
459
|
+
{ maxDistance: 0, ratio: 0.275, fixAmount: 0 },
|
|
460
|
+
],
|
|
461
|
+
},
|
|
462
|
+
4: {
|
|
463
|
+
km: [
|
|
464
|
+
{ maxDistance: 3000, ratio: 0.468, fixAmount: 0 },
|
|
465
|
+
{ maxDistance: 6000, ratio: 0.082, fixAmount: 1158 },
|
|
466
|
+
{ maxDistance: 0, ratio: 0.275, fixAmount: 0 },
|
|
467
|
+
],
|
|
468
|
+
},
|
|
469
|
+
5: {
|
|
470
|
+
km: [
|
|
471
|
+
{ maxDistance: 3000, ratio: 0.468, fixAmount: 0 },
|
|
472
|
+
{ maxDistance: 6000, ratio: 0.082, fixAmount: 1158 },
|
|
473
|
+
{ maxDistance: 0, ratio: 0.275, fixAmount: 0 },
|
|
474
|
+
],
|
|
475
|
+
},
|
|
476
|
+
6: {
|
|
477
|
+
km: [
|
|
478
|
+
{ maxDistance: 3000, ratio: 0.606, fixAmount: 0 },
|
|
479
|
+
{ maxDistance: 6000, ratio: 0.079, fixAmount: 1583 },
|
|
480
|
+
{ maxDistance: 0, ratio: 0.343, fixAmount: 0 },
|
|
481
|
+
],
|
|
482
|
+
},
|
|
483
|
+
7: {
|
|
484
|
+
km: [
|
|
485
|
+
{ maxDistance: 3000, ratio: 0.606, fixAmount: 0 },
|
|
486
|
+
{ maxDistance: 6000, ratio: 0.079, fixAmount: 1583 },
|
|
487
|
+
{ maxDistance: 0, ratio: 0.343, fixAmount: 0 },
|
|
488
|
+
],
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
3: {
|
|
493
|
+
power: {
|
|
494
|
+
1: {
|
|
495
|
+
km: [
|
|
496
|
+
{ maxDistance: 2000, ratio: 0.315, fixAmount: 0 },
|
|
497
|
+
{ maxDistance: 5000, ratio: 0.079, fixAmount: 711 },
|
|
498
|
+
{ maxDistance: 0, ratio: 0.198, fixAmount: 0 },
|
|
499
|
+
],
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
2025: {
|
|
505
|
+
1: {
|
|
506
|
+
power: {
|
|
507
|
+
1: {
|
|
508
|
+
km: [
|
|
509
|
+
{ maxDistance: 5000, ratio: 0.529, fixAmount: 0 },
|
|
510
|
+
{ maxDistance: 20000, ratio: 0.316, fixAmount: 1065 },
|
|
511
|
+
{ maxDistance: 0, ratio: 0.37, fixAmount: 0 },
|
|
512
|
+
],
|
|
513
|
+
},
|
|
514
|
+
2: {
|
|
515
|
+
km: [
|
|
516
|
+
{ maxDistance: 5000, ratio: 0.529, fixAmount: 0 },
|
|
517
|
+
{ maxDistance: 20000, ratio: 0.316, fixAmount: 1065 },
|
|
518
|
+
{ maxDistance: 0, ratio: 0.37, fixAmount: 0 },
|
|
519
|
+
],
|
|
520
|
+
},
|
|
521
|
+
3: {
|
|
522
|
+
km: [
|
|
523
|
+
{ maxDistance: 5000, ratio: 0.529, fixAmount: 0 },
|
|
524
|
+
{ maxDistance: 20000, ratio: 0.316, fixAmount: 1065 },
|
|
525
|
+
{ maxDistance: 0, ratio: 0.37, fixAmount: 0 },
|
|
526
|
+
],
|
|
527
|
+
},
|
|
528
|
+
4: {
|
|
529
|
+
km: [
|
|
530
|
+
{ maxDistance: 5000, ratio: 0.606, fixAmount: 0 },
|
|
531
|
+
{ maxDistance: 20000, ratio: 0.34, fixAmount: 1330 },
|
|
414
532
|
{ maxDistance: 0, ratio: 0.407, fixAmount: 0 },
|
|
415
533
|
],
|
|
416
534
|
},
|
|
@@ -432,7 +550,7 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
432
550
|
km: [
|
|
433
551
|
{ maxDistance: 5000, ratio: 0.697, fixAmount: 0 },
|
|
434
552
|
{ maxDistance: 20000, ratio: 0.394, fixAmount: 1515 },
|
|
435
|
-
{ maxDistance: 0, ratio: 0.
|
|
553
|
+
{ maxDistance: 0, ratio: 0.47, fixAmount: 0 },
|
|
436
554
|
],
|
|
437
555
|
},
|
|
438
556
|
},
|
|
@@ -502,4 +620,4 @@ export const KilometricAllowanceScale: KilometricAllowanceScaleType = {
|
|
|
502
620
|
},
|
|
503
621
|
},
|
|
504
622
|
},
|
|
505
|
-
};
|
|
623
|
+
};
|
|
@@ -130,6 +130,7 @@ export enum MailAuto {
|
|
|
130
130
|
EMPLOYEE_RELEASE_DOCUMENT = 157,
|
|
131
131
|
EMPLOYEMENT_CONTRACT = 158,
|
|
132
132
|
TERMINATION_UNPAYED = 159,
|
|
133
|
+
FORECAST_BALANCE_SHEET_AT_0 = 161,
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
export enum MailAutoType {
|
|
@@ -220,11 +221,7 @@ export const MailAutoList = [
|
|
|
220
221
|
alias: 'ask-documents-for-balance-sheet',
|
|
221
222
|
title: 'Demande de document pour votre bilan comptable',
|
|
222
223
|
subject: 'Demande de document pour votre bilan comptable',
|
|
223
|
-
fields: [
|
|
224
|
-
{ name: 'to', lg: 'xs12 sm5' },
|
|
225
|
-
{ name: 'subject', lg: 'xs12 sm7' },
|
|
226
|
-
{ name: 'contentHtml' },
|
|
227
|
-
],
|
|
224
|
+
fields: [{ name: 'to', lg: 'xs12 sm5' }, { name: 'subject', lg: 'xs12 sm7' }, { name: 'contentHtml' }],
|
|
228
225
|
},
|
|
229
226
|
{
|
|
230
227
|
id: MailAuto.ASK_SIGNED_DOCUMENTS_FOR_BALANCE_SHEET,
|
|
@@ -232,11 +229,7 @@ export const MailAutoList = [
|
|
|
232
229
|
alias: 'ask-signed-documents-for-balance-sheet',
|
|
233
230
|
title: 'Signer vos documents pour mon bilan comptable',
|
|
234
231
|
subject: 'Signer vos documents pour mon bilan comptable',
|
|
235
|
-
fields: [
|
|
236
|
-
{ name: 'to', lg: 'xs12 sm5' },
|
|
237
|
-
{ name: 'subject', lg: 'xs12 sm7' },
|
|
238
|
-
{ name: 'contentHtml' },
|
|
239
|
-
],
|
|
232
|
+
fields: [{ name: 'to', lg: 'xs12 sm5' }, { name: 'subject', lg: 'xs12 sm7' }, { name: 'contentHtml' }],
|
|
240
233
|
},
|
|
241
234
|
{
|
|
242
235
|
id: MailAuto.PAYMENT_REJECTED,
|
|
@@ -244,10 +237,6 @@ export const MailAutoList = [
|
|
|
244
237
|
alias: 'paymentRejected',
|
|
245
238
|
title: 'Rejet de prélèvement',
|
|
246
239
|
subject: 'Rejet de prélèvement',
|
|
247
|
-
fields: [
|
|
248
|
-
{ name: 'to', lg: 'xs12 sm5' },
|
|
249
|
-
{ name: 'subject', lg: 'xs12 sm7' },
|
|
250
|
-
{ name: 'contentHtml' },
|
|
251
|
-
],
|
|
240
|
+
fields: [{ name: 'to', lg: 'xs12 sm5' }, { name: 'subject', lg: 'xs12 sm7' }, { name: 'contentHtml' }],
|
|
252
241
|
},
|
|
253
242
|
];
|
|
@@ -177,30 +177,42 @@ export enum PrestationType {
|
|
|
177
177
|
COMPTA_EI_KLEMS_EXPRESS = 220,
|
|
178
178
|
COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS = 221,
|
|
179
179
|
ENVOIE_LRAR = 222,
|
|
180
|
+
FORECAST_BALANCE_SHEET_AT_0 = 226,
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
// Liste des prestations avec une lettre de mission à signer
|
|
183
184
|
export const allPrestationsWithBrochure = [
|
|
184
|
-
PrestationType.GESTION_JURIDIQUE,
|
|
185
|
-
PrestationType.
|
|
186
|
-
PrestationType.
|
|
187
|
-
PrestationType.
|
|
188
|
-
PrestationType.
|
|
189
|
-
PrestationType.
|
|
190
|
-
PrestationType.
|
|
191
|
-
PrestationType.
|
|
192
|
-
PrestationType.
|
|
193
|
-
PrestationType.
|
|
194
|
-
PrestationType.
|
|
185
|
+
PrestationType.GESTION_JURIDIQUE,
|
|
186
|
+
PrestationType.COMPTA_ASSISTANCE,
|
|
187
|
+
PrestationType.EXPERTISE_COMPTABLE,
|
|
188
|
+
PrestationType.EXPERTISE_COMPTABLE_PLUS,
|
|
189
|
+
PrestationType.COMPTA_PRO,
|
|
190
|
+
PrestationType.COMPTA_PRO_EXPRESS,
|
|
191
|
+
PrestationType.COMPTA_ENTREPRISE,
|
|
192
|
+
PrestationType.COMPTA_ENTREPRISE_EXPRESS,
|
|
193
|
+
PrestationType.COMPTA_MICRO,
|
|
194
|
+
PrestationType.COMPTA_MICRO_EXPRESS,
|
|
195
|
+
PrestationType.COMPTA_SCI,
|
|
196
|
+
PrestationType.COMPTA_SCI_EXPRESS,
|
|
197
|
+
PrestationType.COMPTA_PRO_COMPTASTART,
|
|
198
|
+
PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS,
|
|
199
|
+
PrestationType.COMPTA_POURCENTAGE,
|
|
200
|
+
PrestationType.COMPTA_POURCENTAGE_PREMIUM,
|
|
201
|
+
PrestationType.COMPTA_POURCENTAGE_EXPRESS,
|
|
202
|
+
PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS,
|
|
203
|
+
PrestationType.CREATION_SOCIETE,
|
|
204
|
+
PrestationType.BILAN_PREVISIONNEL,
|
|
205
|
+
PrestationType.SOCIAL,
|
|
206
|
+
PrestationType.EXCEPTIONNEL,
|
|
195
207
|
PrestationType.DECLARATION_IR,
|
|
196
208
|
];
|
|
197
209
|
|
|
198
210
|
export interface PrestationDetailEnum {
|
|
199
|
-
[key: string]: IPrestationList
|
|
211
|
+
[key: string]: IPrestationList;
|
|
200
212
|
}
|
|
201
213
|
|
|
202
214
|
/**
|
|
203
|
-
* @deprecated
|
|
215
|
+
* @deprecated
|
|
204
216
|
* @description Don't use this ENUM but use model prestationList
|
|
205
217
|
*/
|
|
206
218
|
export const PrestationDetail: PrestationDetailEnum = {
|
|
@@ -1079,7 +1091,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1079
1091
|
},
|
|
1080
1092
|
CESSION_ACTIONS: {
|
|
1081
1093
|
id: 51,
|
|
1082
|
-
name:
|
|
1094
|
+
name: "Cession d'actions",
|
|
1083
1095
|
isComptable: false,
|
|
1084
1096
|
isJuridique: true,
|
|
1085
1097
|
isSocial: false,
|
|
@@ -1136,7 +1148,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1136
1148
|
},
|
|
1137
1149
|
MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
|
|
1138
1150
|
id: 54,
|
|
1139
|
-
name:
|
|
1151
|
+
name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
|
|
1140
1152
|
isComptable: false,
|
|
1141
1153
|
isJuridique: true,
|
|
1142
1154
|
isSocial: false,
|
|
@@ -1288,7 +1300,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1288
1300
|
},
|
|
1289
1301
|
MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
|
|
1290
1302
|
id: 62,
|
|
1291
|
-
name:
|
|
1303
|
+
name: "Modification de l'objet social (EURL/SASU)",
|
|
1292
1304
|
isComptable: false,
|
|
1293
1305
|
isJuridique: true,
|
|
1294
1306
|
isSocial: false,
|
|
@@ -1630,7 +1642,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1630
1642
|
},
|
|
1631
1643
|
CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
|
|
1632
1644
|
id: 80,
|
|
1633
|
-
name:
|
|
1645
|
+
name: "Création d'un dossier informatique par salarié",
|
|
1634
1646
|
isComptable: false,
|
|
1635
1647
|
isJuridique: false,
|
|
1636
1648
|
isSocial: true,
|
|
@@ -1649,7 +1661,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1649
1661
|
},
|
|
1650
1662
|
ETABLISSEMENT_CONTRAT_TRAVAIL: {
|
|
1651
1663
|
id: 81,
|
|
1652
|
-
name:
|
|
1664
|
+
name: "Etablissement d'un contrat de travail",
|
|
1653
1665
|
isComptable: false,
|
|
1654
1666
|
isJuridique: false,
|
|
1655
1667
|
isSocial: true,
|
|
@@ -1706,7 +1718,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1706
1718
|
},
|
|
1707
1719
|
TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
|
|
1708
1720
|
id: 84,
|
|
1709
|
-
name:
|
|
1721
|
+
name: "Taxe d'apprentissage et formation continue",
|
|
1710
1722
|
isComptable: false,
|
|
1711
1723
|
isJuridique: false,
|
|
1712
1724
|
isSocial: true,
|
|
@@ -1935,7 +1947,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1935
1947
|
},
|
|
1936
1948
|
ATTESTATION_CA: {
|
|
1937
1949
|
id: 97,
|
|
1938
|
-
name:
|
|
1950
|
+
name: "Attestation de chiffre d'affaires",
|
|
1939
1951
|
isComptable: true,
|
|
1940
1952
|
isJuridique: false,
|
|
1941
1953
|
isSocial: false,
|
|
@@ -1973,7 +1985,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1973
1985
|
},
|
|
1974
1986
|
MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
|
|
1975
1987
|
id: 99,
|
|
1976
|
-
name:
|
|
1988
|
+
name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
|
|
1977
1989
|
isComptable: false,
|
|
1978
1990
|
isJuridique: true,
|
|
1979
1991
|
isSocial: false,
|
|
@@ -2011,7 +2023,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2011
2023
|
},
|
|
2012
2024
|
MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
|
|
2013
2025
|
id: 103,
|
|
2014
|
-
name:
|
|
2026
|
+
name: "Modification de l'objet social (SARL/SAS/SCI)",
|
|
2015
2027
|
isComptable: false,
|
|
2016
2028
|
isJuridique: true,
|
|
2017
2029
|
isSocial: false,
|
|
@@ -2068,7 +2080,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2068
2080
|
},
|
|
2069
2081
|
MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
|
|
2070
2082
|
id: 106,
|
|
2071
|
-
name:
|
|
2083
|
+
name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
|
|
2072
2084
|
isComptable: false,
|
|
2073
2085
|
isJuridique: true,
|
|
2074
2086
|
isSocial: false,
|
|
@@ -2638,7 +2650,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2638
2650
|
},
|
|
2639
2651
|
CONTRAT_APPORT_EN_NATURE: {
|
|
2640
2652
|
id: 138,
|
|
2641
|
-
name:
|
|
2653
|
+
name: "Contrat d'apport en nature",
|
|
2642
2654
|
isComptable: false,
|
|
2643
2655
|
isJuridique: true,
|
|
2644
2656
|
isSocial: false,
|
|
@@ -3227,7 +3239,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3227
3239
|
},
|
|
3228
3240
|
DECLARATION_IR: {
|
|
3229
3241
|
id: 206,
|
|
3230
|
-
name:
|
|
3242
|
+
name: "Déclaration d'IR",
|
|
3231
3243
|
isComptable: true,
|
|
3232
3244
|
isJuridique: false,
|
|
3233
3245
|
isSocial: false,
|
|
@@ -3341,7 +3353,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3341
3353
|
},
|
|
3342
3354
|
STATUTS_FREE: {
|
|
3343
3355
|
id: PrestationType.STATUTS_FREE,
|
|
3344
|
-
name:
|
|
3356
|
+
name: "Statuts - Just' Statuts",
|
|
3345
3357
|
isComptable: true,
|
|
3346
3358
|
isJuridique: true,
|
|
3347
3359
|
isSocial: false,
|
|
@@ -3360,7 +3372,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3360
3372
|
},
|
|
3361
3373
|
STATUTS_OPTION_1: {
|
|
3362
3374
|
id: PrestationType.STATUTS_OPTION_1,
|
|
3363
|
-
name:
|
|
3375
|
+
name: "Statuts - Just' Création",
|
|
3364
3376
|
isComptable: true,
|
|
3365
3377
|
isJuridique: true,
|
|
3366
3378
|
isSocial: false,
|
|
@@ -3379,7 +3391,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3379
3391
|
},
|
|
3380
3392
|
STATUTS_OPTION_2: {
|
|
3381
3393
|
id: PrestationType.STATUTS_OPTION_2,
|
|
3382
|
-
name:
|
|
3394
|
+
name: "Statuts - Full'Créa",
|
|
3383
3395
|
isComptable: true,
|
|
3384
3396
|
isJuridique: true,
|
|
3385
3397
|
isSocial: false,
|
|
@@ -3548,4 +3560,23 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3548
3560
|
signaturePage: null,
|
|
3549
3561
|
point: 0,
|
|
3550
3562
|
},
|
|
3551
|
-
|
|
3563
|
+
FORECAST_BALANCE_SHEET_AT_0: {
|
|
3564
|
+
id: PrestationType.FORECAST_BALANCE_SHEET_AT_0,
|
|
3565
|
+
name: 'Bilan Prévisonnel à 0',
|
|
3566
|
+
isComptable: true,
|
|
3567
|
+
isJuridique: false,
|
|
3568
|
+
isSocial: false,
|
|
3569
|
+
isAttestation: false,
|
|
3570
|
+
inAverageCart: false,
|
|
3571
|
+
isBack: false,
|
|
3572
|
+
minimumPrice: null,
|
|
3573
|
+
price: null,
|
|
3574
|
+
isCatalog: false,
|
|
3575
|
+
isPlannable: false,
|
|
3576
|
+
hidden: false,
|
|
3577
|
+
isComplementary: false,
|
|
3578
|
+
signaturePosition: '400,54,569,90',
|
|
3579
|
+
signaturePage: null,
|
|
3580
|
+
point: 0,
|
|
3581
|
+
},
|
|
3582
|
+
};
|
|
@@ -1,78 +1,143 @@
|
|
|
1
|
-
|
|
1
|
+
import { IssueType, IssueTypeEnum, issueTypes } from './IssueType';
|
|
2
|
+
|
|
3
|
+
export enum ReportTypeEnum {
|
|
4
|
+
LETTER = 1,
|
|
5
|
+
FRAUD = 2,
|
|
6
|
+
ATTITUDE = 3,
|
|
7
|
+
BLOCKED = 4,
|
|
8
|
+
NO_RESPONSE = 5,
|
|
9
|
+
NEGATIVE_OPINION = 6,
|
|
10
|
+
LATE_ANSWER = 7,
|
|
11
|
+
UNHAPPY_CUSTOMER = 8,
|
|
12
|
+
FISCAL_CONTROL = 9,
|
|
13
|
+
REDRESSEMENT = 10,
|
|
14
|
+
BALANCE_SHEET_DELAYS = 11,
|
|
15
|
+
OTHER_DECLARATION_DELAYS = 12,
|
|
16
|
+
CUSTOMER_PLATFORM = 13,
|
|
17
|
+
REVALUATION = 14,
|
|
18
|
+
INVOICING_AND_FEES = 15,
|
|
19
|
+
APPOINTMENT = 16,
|
|
20
|
+
CLAIM_MAIL = 17,
|
|
21
|
+
ACCOUNTANT_CHANGE = 18,
|
|
22
|
+
VOLONTARY_UNPAID = 19,
|
|
23
|
+
LACK_OF_COMMUNICATION = 20,
|
|
24
|
+
LACK_OF_ADVICE = 21,
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface ReportTypeInterface {
|
|
28
|
+
id: ReportTypeEnum;
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const ReportType: { [key: string]: ReportTypeInterface } = {
|
|
2
33
|
LETTER: {
|
|
3
|
-
id:
|
|
34
|
+
id: ReportTypeEnum.LETTER,
|
|
4
35
|
name: 'Lettre à l\'ordre',
|
|
5
36
|
},
|
|
6
37
|
FRAUD: {
|
|
7
|
-
id:
|
|
38
|
+
id: ReportTypeEnum.FRAUD,
|
|
8
39
|
name: 'Suspicion de fraude',
|
|
9
40
|
},
|
|
10
41
|
ATTITUDE: {
|
|
11
|
-
id:
|
|
42
|
+
id: ReportTypeEnum.ATTITUDE,
|
|
12
43
|
name: 'Attitude déplacée',
|
|
13
44
|
},
|
|
14
45
|
BLOCKED: {
|
|
15
|
-
id:
|
|
46
|
+
id: ReportTypeEnum.BLOCKED,
|
|
16
47
|
name: 'Dossier bloqué',
|
|
17
48
|
},
|
|
18
49
|
NO_RESPONSE: {
|
|
19
|
-
id:
|
|
50
|
+
id: ReportTypeEnum.NO_RESPONSE,
|
|
20
51
|
name: 'Pas de réponse',
|
|
21
52
|
},
|
|
22
53
|
NEGATIVE_OPINION: {
|
|
23
|
-
id:
|
|
54
|
+
id: ReportTypeEnum.NEGATIVE_OPINION,
|
|
24
55
|
name: 'Avis négatif',
|
|
25
56
|
},
|
|
26
57
|
LATE_ANSWER: {
|
|
27
|
-
id:
|
|
58
|
+
id: ReportTypeEnum.LATE_ANSWER,
|
|
28
59
|
name: 'Réponse de + de 3 mois',
|
|
29
60
|
},
|
|
30
61
|
UNHAPPY_CUSTOMER: {
|
|
31
|
-
id:
|
|
62
|
+
id: ReportTypeEnum.UNHAPPY_CUSTOMER,
|
|
32
63
|
name: 'Client mécontent',
|
|
33
64
|
},
|
|
34
65
|
FISCAL_CONTROL: {
|
|
35
|
-
id:
|
|
66
|
+
id: ReportTypeEnum.FISCAL_CONTROL,
|
|
36
67
|
name: 'Contrôle fiscal en cours',
|
|
37
68
|
},
|
|
38
69
|
REDRESSEMENT: {
|
|
39
|
-
id:
|
|
70
|
+
id: ReportTypeEnum.REDRESSEMENT,
|
|
40
71
|
name: 'Redressement',
|
|
41
72
|
},
|
|
42
73
|
BALANCE_SHEET_DELAYS: {
|
|
43
|
-
id:
|
|
74
|
+
id: ReportTypeEnum.BALANCE_SHEET_DELAYS,
|
|
44
75
|
name: 'Retard de production bilan',
|
|
45
76
|
},
|
|
46
77
|
OTHER_DECLARATION_DELAYS: {
|
|
47
|
-
id:
|
|
78
|
+
id: ReportTypeEnum.OTHER_DECLARATION_DELAYS,
|
|
48
79
|
name: 'Retard de production autre déclaration',
|
|
49
80
|
},
|
|
50
81
|
CUSTOMER_PLATFORM: {
|
|
51
|
-
id:
|
|
82
|
+
id: ReportTypeEnum.CUSTOMER_PLATFORM,
|
|
52
83
|
name: 'Plateforme client',
|
|
53
84
|
},
|
|
54
85
|
REVALUATION: {
|
|
55
|
-
id:
|
|
86
|
+
id: ReportTypeEnum.REVALUATION,
|
|
56
87
|
name: 'Revalorisation',
|
|
57
88
|
},
|
|
58
89
|
INVOICING_AND_FEES: {
|
|
59
|
-
id:
|
|
90
|
+
id: ReportTypeEnum.INVOICING_AND_FEES,
|
|
60
91
|
name: 'Facturation et honoraire',
|
|
61
92
|
},
|
|
62
93
|
APPOINTMENT: {
|
|
63
|
-
id:
|
|
94
|
+
id: ReportTypeEnum.APPOINTMENT,
|
|
64
95
|
name: 'Rendez-vous non honorés',
|
|
65
96
|
},
|
|
66
97
|
CLAIM_MAIL: {
|
|
67
|
-
id:
|
|
98
|
+
id: ReportTypeEnum.CLAIM_MAIL,
|
|
68
99
|
name: 'Réclamation courrier reçu',
|
|
69
100
|
},
|
|
70
101
|
ACCOUNTANT_CHANGE: {
|
|
71
|
-
id:
|
|
102
|
+
id: ReportTypeEnum.ACCOUNTANT_CHANGE,
|
|
72
103
|
name: 'Demande de changement de comptable',
|
|
73
104
|
},
|
|
74
105
|
VOLONTARY_UNPAID: {
|
|
75
|
-
id:
|
|
106
|
+
id: ReportTypeEnum.VOLONTARY_UNPAID,
|
|
76
107
|
name: 'Impayé volontaire',
|
|
77
108
|
},
|
|
78
|
-
|
|
109
|
+
LACK_OF_COMMUNICATION: {
|
|
110
|
+
id: ReportTypeEnum.LACK_OF_COMMUNICATION,
|
|
111
|
+
name: 'Manque de communication',
|
|
112
|
+
},
|
|
113
|
+
LACK_OF_ADVICE: {
|
|
114
|
+
id: ReportTypeEnum.LACK_OF_ADVICE,
|
|
115
|
+
name: 'Manque de conseil',
|
|
116
|
+
},
|
|
117
|
+
} as const;
|
|
118
|
+
|
|
119
|
+
export interface ReportExternalCategoryInterface {
|
|
120
|
+
label: string
|
|
121
|
+
options: ReportTypeInterface[] | IssueType[]
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const ReportTypeValues = Object.values(ReportType);
|
|
125
|
+
|
|
126
|
+
export const reportExternalCategory: ReportExternalCategoryInterface[] = [
|
|
127
|
+
{
|
|
128
|
+
label: 'Retards de prestations',
|
|
129
|
+
options: ReportTypeValues.filter((report) => [ReportTypeEnum.BALANCE_SHEET_DELAYS, ReportTypeEnum.OTHER_DECLARATION_DELAYS].includes(report.id))
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: 'Logiciel / Application client',
|
|
133
|
+
options: issueTypes.filter((issue) => [IssueTypeEnum.ANNOTATIONS, IssueTypeEnum.SYNCHRONIZATIONS, IssueTypeEnum.OTHER].includes(issue.id))
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
label: 'Facturation et honoraires',
|
|
137
|
+
options: ReportTypeValues.filter((report) => [ReportTypeEnum.INVOICING_AND_FEES].includes(report.id))
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label: 'Accompagnement client',
|
|
141
|
+
options: ReportTypeValues.filter((report) => [ReportTypeEnum.LACK_OF_COMMUNICATION, ReportTypeEnum.LACK_OF_ADVICE].includes(report.id))
|
|
142
|
+
}
|
|
143
|
+
] as const;
|