@silexpert/core 1.3.161 → 1.3.164

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 (89) hide show
  1. package/dist/cjs/api/resources/BalanceSheet.d.ts +2 -4
  2. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BalanceSheet.js +3 -2
  4. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  5. package/dist/cjs/api/resources/Card.d.ts +2 -4
  6. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Card.js +0 -1
  8. package/dist/cjs/api/resources/Card.js.map +1 -1
  9. package/dist/cjs/types/Enum/BalanceSheet.d.ts +7 -0
  10. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/BalanceSheet.js +61 -0
  12. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  13. package/dist/cjs/types/Enum/Card.d.ts +10 -0
  14. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/Card.js +14 -1
  16. package/dist/cjs/types/Enum/Card.js.map +1 -1
  17. package/dist/cjs/types/Enum/IncomeStatement.d.ts +7 -0
  18. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/IncomeStatement.js +39 -0
  20. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  21. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  22. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  23. package/dist/cjs/types/Enum/TransactionRangeFilter.js +11 -0
  24. package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  25. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  26. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +11 -1
  28. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  30. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
  33. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/card/UpdateCard.js +6 -0
  35. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  36. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  37. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +9 -0
  39. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  40. package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -4
  41. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  42. package/dist/mjs/api/resources/BalanceSheet.js +3 -2
  43. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  44. package/dist/mjs/api/resources/Card.d.ts +2 -4
  45. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  46. package/dist/mjs/api/resources/Card.js +0 -1
  47. package/dist/mjs/api/resources/Card.js.map +1 -1
  48. package/dist/mjs/types/Enum/BalanceSheet.d.ts +7 -0
  49. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  50. package/dist/mjs/types/Enum/BalanceSheet.js +61 -0
  51. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  52. package/dist/mjs/types/Enum/Card.d.ts +10 -0
  53. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  54. package/dist/mjs/types/Enum/Card.js +13 -0
  55. package/dist/mjs/types/Enum/Card.js.map +1 -1
  56. package/dist/mjs/types/Enum/IncomeStatement.d.ts +7 -0
  57. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  58. package/dist/mjs/types/Enum/IncomeStatement.js +39 -0
  59. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  60. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  61. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  62. package/dist/mjs/types/Enum/TransactionRangeFilter.js +8 -0
  63. package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  64. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  65. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  66. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -0
  67. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  68. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  69. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  70. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  71. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
  72. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  73. package/dist/mjs/types/Interface/api/card/UpdateCard.js +8 -1
  74. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  75. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  76. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  77. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +11 -1
  78. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  79. package/package.json +1 -1
  80. package/ts/api/resources/BalanceSheet.ts +4 -2
  81. package/ts/api/resources/Card.ts +2 -3
  82. package/ts/types/Enum/BalanceSheet.ts +69 -0
  83. package/ts/types/Enum/Card.ts +14 -0
  84. package/ts/types/Enum/IncomeStatement.ts +47 -0
  85. package/ts/types/Enum/TransactionRangeFilter.ts +6 -0
  86. package/ts/types/Interface/api/balanceSheet/Query.ts +8 -0
  87. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +3 -0
  88. package/ts/types/Interface/api/card/UpdateCard.ts +6 -1
  89. package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +9 -1
@@ -14,7 +14,7 @@ import {
14
14
  InternalCardStats,
15
15
  BasePaginate,
16
16
  UpdateCardV2,
17
- CardType,
17
+ AssignCard,
18
18
  } from '../../types';
19
19
 
20
20
  export class Card extends Resource {
@@ -98,8 +98,7 @@ export class Card extends Resource {
98
98
  return this.axios.$put(`/cards/${idCard}/v2`, data);
99
99
  }
100
100
 
101
- // TODO: improve types
102
- assignCard(payload: { type: CardType }): Promise<ICard> {
101
+ assignCard(payload: AssignCard): Promise<ICard> {
103
102
  return this.axios.$post('/cards/assignment', payload);
104
103
  }
105
104
  }
@@ -281,6 +281,13 @@ export const ForecastBalanceSheetDetails = [
281
281
 
282
282
  export type BalanceSheetType = 'active' | 'passive';
283
283
 
284
+ export type BalanceSheetDescriptionAccount = {
285
+ number: number;
286
+ name: string;
287
+ total: number;
288
+ totalPrevious: number;
289
+ };
290
+
284
291
  export type BalanceSheetField = {
285
292
  name: string;
286
293
  key?: string;
@@ -292,6 +299,7 @@ export type BalanceSheetField = {
292
299
  accounts?: string[];
293
300
  accountsDeducted?: string[]; // Liste des comptes pour la colonne "Amortissements et provisions"
294
301
  accountsWithoutType?: string[]; // Prendre en compte
302
+ accountsDescription?: BalanceSheetDescriptionAccount[]; // Liste detaillé des comptes avec leur total (seulement lorsque withDetails est mentionné dans les params)
295
303
 
296
304
  accountsForceToDeduce?: string[]; // Liste des comptes qui doivent être déduit par rapport aux autres comptes
297
305
  totalValueToDeduce?: number; // Liste des comptes qui doivent être déduit par rapport aux autres comptes
@@ -372,35 +380,42 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
372
380
  accountsDeducted: ['2801'],
373
381
  total: 0,
374
382
  totalDeducted: 0,
383
+ accountsDescription: [],
375
384
  },
376
385
  {
377
386
  name: BalanceSheetLabel.FRAIS_DE_RECHERCHE_DEVELOPPEMENT,
378
387
  accounts: ['203'],
379
388
  accountsDeducted: ['2803'],
389
+ accountsDescription: [],
380
390
  },
381
391
  {
382
392
  name: BalanceSheetLabel.CONCESSIONS_BREVETS,
383
393
  accounts: ['205'],
384
394
  accountsDeducted: ['2805', '2905'],
395
+ accountsDescription: [],
385
396
  },
386
397
  {
387
398
  name: BalanceSheetLabel.FOND_COMMERCIAL,
388
399
  accounts: ['206', '207'],
389
400
  accountsDeducted: ['2806', '2807', '2906', '2907'],
401
+ accountsDescription: [],
390
402
  },
391
403
  {
392
404
  name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_INCORPORELLES,
393
405
  accounts: ['200', '208'],
394
406
  accountsDeducted: ['2808', '2908'],
407
+ accountsDescription: [],
395
408
  },
396
409
  {
397
410
  name: 'Immobilisations incorporelles en cours',
398
411
  accounts: ['232'],
399
412
  accountsDeducted: ['2932'],
413
+ accountsDescription: [],
400
414
  },
401
415
  {
402
416
  name: BalanceSheetLabel.AVANCES_ET_ACOMPTES_INCORPORELLES,
403
417
  accounts: ['237'],
418
+ accountsDescription: [],
404
419
  },
405
420
  ],
406
421
  },
@@ -413,30 +428,36 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
413
428
  name: BalanceSheetLabel.TERRAINS,
414
429
  accounts: ['211', '212'],
415
430
  accountsDeducted: ['2811', '2812', '2911'],
431
+ accountsDescription: [],
416
432
  },
417
433
  {
418
434
  name: BalanceSheetLabel.CONSTRUCTIONS,
419
435
  accounts: ['213', '214'],
420
436
  accountsDeducted: ['2813', '2814'],
437
+ accountsDescription: [],
421
438
  },
422
439
  {
423
440
  name: BalanceSheetLabel.INSTALLATIONS_TECHNIQUES,
424
441
  accounts: ['215'],
425
442
  accountsDeducted: ['2815'],
443
+ accountsDescription: [],
426
444
  },
427
445
  {
428
446
  name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_CORPORELLES,
429
447
  accounts: ['218', '22'],
430
448
  accountsDeducted: ['2818', '282', '292'],
449
+ accountsDescription: [],
431
450
  },
432
451
  {
433
452
  name: BalanceSheetLabel.IMMOBILISATIONS_CORPORELLES_EN_COURS,
434
453
  accounts: ['231'],
435
454
  accountsDeducted: ['2931'],
455
+ accountsDescription: [],
436
456
  },
437
457
  {
438
458
  name: BalanceSheetLabel.AVANCES_ET_ACOMPTES_CORPORELLES,
439
459
  accounts: ['238'],
460
+ accountsDescription: [],
440
461
  },
441
462
  ],
442
463
  },
@@ -449,31 +470,37 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
449
470
  name: BalanceSheetLabel.PARTICIPATIONS,
450
471
  accounts: ['261', '266'],
451
472
  accountsDeducted: ['2691', '2966'],
473
+ accountsDescription: [],
452
474
  },
453
475
  {
454
476
  name: BalanceSheetLabel.CREANCES_RATTACHEES_PARTICIPATIONS,
455
477
  accounts: ['267', '268'],
456
478
  accountsDeducted: ['2967', '2968'],
479
+ accountsDescription: [],
457
480
  },
458
481
  {
459
482
  name: "Titres immobilisés de l'activité de portefeuille",
460
483
  accounts: ['273'],
461
484
  accountsDeducted: ['2973'],
485
+ accountsDescription: [],
462
486
  },
463
487
  {
464
488
  name: BalanceSheetLabel.AUTRES_TITRES_IMMOBILISES,
465
489
  accounts: ['271', '272'],
466
490
  accountsDeducted: ['2971', '2972'],
491
+ accountsDescription: [],
467
492
  },
468
493
  {
469
494
  name: BalanceSheetLabel.PRETS,
470
495
  accounts: ['274'],
471
496
  accountsDeducted: ['2974'],
497
+ accountsDescription: [],
472
498
  },
473
499
  {
474
500
  name: BalanceSheetLabel.AUTRES_IMMOBILISATIONS_FINANCIERES,
475
501
  accounts: ['236', '275', '276', '277'],
476
502
  accountsDeducted: ['2975', '2976'],
503
+ accountsDescription: [],
477
504
  },
478
505
  ],
479
506
  },
@@ -503,21 +530,25 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
503
530
  name: BalanceSheetLabel.MATIERES_PREMIERES_ET_AUTRES_APPROVISIONNEMENTS,
504
531
  accounts: ['31', '32'],
505
532
  accountsDeducted: ['391', '392'],
533
+ accountsDescription: [],
506
534
  },
507
535
  {
508
536
  name: 'En cours de production (biens et services)',
509
537
  accounts: ['33', '34'],
510
538
  accountsDeducted: ['393', '394'],
539
+ accountsDescription: [],
511
540
  },
512
541
  {
513
542
  name: BalanceSheetLabel.PRODUITS_INTERMEDIAIRES_ET_FINIS,
514
543
  accounts: ['35', '36'],
515
544
  accountsDeducted: ['395', '396'],
545
+ accountsDescription: [],
516
546
  },
517
547
  {
518
548
  name: BalanceSheetLabel.MARCHANDISES,
519
549
  accounts: ['37'],
520
550
  accountsDeducted: ['397'],
551
+ accountsDescription: [],
521
552
  },
522
553
  ],
523
554
  },
@@ -537,6 +568,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
537
568
  accounts: ['411', '413', '416', '417', '418'],
538
569
  idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],
539
570
  accountsDeducted: ['491'],
571
+ accountsDescription: [],
540
572
  type: 'active',
541
573
  },
542
574
  {
@@ -575,10 +607,12 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
575
607
  idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],
576
608
  accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4
577
609
  type: 'active',
610
+ accountsDescription: [],
578
611
  },
579
612
  {
580
613
  name: BalanceSheetLabel.CAPITAL_SOUSCRIT_APPELE_NON_VERSE,
581
614
  accounts: ['4562'],
615
+ accountsDescription: [],
582
616
  },
583
617
  ],
584
618
  },
@@ -591,11 +625,13 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
591
625
  name: BalanceSheetLabel.VALEUR_MOBILIERE_PLACEMENT_ACTION_PROPRE,
592
626
  accounts: ['502'],
593
627
  accountsDeducted: ['5902'],
628
+ accountsDescription: [],
594
629
  },
595
630
  {
596
631
  name: 'Autres titres',
597
632
  accounts: ['503', '504', '505', '506', '507', '508'],
598
633
  accountsDeducted: ['5903', '5904', '5905', '5906', '5907', '5908'],
634
+ accountsDescription: [],
599
635
  },
600
636
  ],
601
637
  },
@@ -604,17 +640,20 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
604
640
  key: 'treasuryInstruments',
605
641
  accounts: ['52'],
606
642
  type: 'active',
643
+ accountsDescription: [],
607
644
  },
608
645
  {
609
646
  name: BalanceSheetLabel.DISPONIBILITES,
610
647
  key: 'availabilities',
611
648
  accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],
612
649
  type: 'active',
650
+ accountsDescription: [],
613
651
  },
614
652
  {
615
653
  name: BalanceSheetLabel.CHARGES_CONSTATEES_AVANCE,
616
654
  key: 'establishedInAdvance',
617
655
  accounts: ['486'],
656
+ accountsDescription: [],
618
657
  },
619
658
  ],
620
659
  },
@@ -631,6 +670,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
631
670
  name: 'Charges à répartir sur plusieurs exercices (III)',
632
671
  key: 'total3',
633
672
  accounts: ['481'],
673
+ accountsDescription: [],
634
674
  isTotal: true,
635
675
  total: 0,
636
676
  totalDeducted: 0,
@@ -639,6 +679,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
639
679
  name: BalanceSheetLabel.PRIMES_DE_REMBOURSEMENT_DES_EMPRUNTS,
640
680
  key: 'total4',
641
681
  accounts: ['169'],
682
+ accountsDescription: [],
642
683
  isTotal: true,
643
684
  total: 0,
644
685
  totalDeducted: 0,
@@ -649,6 +690,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
649
690
  total: 0,
650
691
  totalDeducted: 0,
651
692
  accounts: ['476'],
693
+ accountsDescription: [],
652
694
  isTotal: true,
653
695
  },
654
696
  {
@@ -716,6 +758,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
716
758
  accounts: ['104'],
717
759
  isSubcategory: true,
718
760
  total: 0,
761
+ accountsDescription: [],
719
762
  },
720
763
  {
721
764
  name: BalanceSheetPassiveLabel.ECART_DE_REEVALUATION,
@@ -723,6 +766,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
723
766
  accounts: ['105'],
724
767
  isSubcategory: true,
725
768
  total: 0,
769
+ accountsDescription: [],
726
770
  },
727
771
  {
728
772
  name: "Ecart d'équivalence",
@@ -730,6 +774,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
730
774
  accounts: ['107'],
731
775
  isSubcategory: true,
732
776
  total: 0,
777
+ accountsDescription: [],
733
778
  },
734
779
  {
735
780
  name: 'Réserves',
@@ -742,18 +787,22 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
742
787
  accounts: ['1061'],
743
788
  total: 0,
744
789
  totalDeducted: 0,
790
+ accountsDescription: [],
745
791
  },
746
792
  {
747
793
  name: BalanceSheetPassiveLabel.RESERVES_STATUAIRES,
748
794
  accounts: ['1063'],
795
+ accountsDescription: [],
749
796
  },
750
797
  {
751
798
  name: BalanceSheetPassiveLabel.RESERVES_REGLEMENTEES,
752
799
  accounts: ['1062', '1064'],
800
+ accountsDescription: [],
753
801
  },
754
802
  {
755
803
  name: BalanceSheetPassiveLabel.AUTRES_RESERVES,
756
804
  accounts: ['1068'],
805
+ accountsDescription: [],
757
806
  },
758
807
  ],
759
808
  },
@@ -763,6 +812,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
763
812
  accounts: ['11', '12'],
764
813
  isSubcategory: true,
765
814
  total: 0,
815
+ accountsDescription: [],
766
816
  },
767
817
  {
768
818
  name: "Résultat de l'exercice (bénéfice ou perte)",
@@ -770,6 +820,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
770
820
  accounts: ['12'], // comptes 6 - 7
771
821
  isSubcategory: true,
772
822
  total: 0,
823
+ accountsDescription: [],
773
824
  },
774
825
  {
775
826
  name: BalanceSheetPassiveLabel.SUBVENTIONS_INVESTISSEMENT,
@@ -777,6 +828,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
777
828
  accounts: ['13'],
778
829
  isSubcategory: true,
779
830
  total: 0,
831
+ accountsDescription: [],
780
832
  },
781
833
  {
782
834
  name: BalanceSheetPassiveLabel.PROVISIONS_REFLEMENTEES,
@@ -784,6 +836,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
784
836
  accounts: ['14'],
785
837
  isSubcategory: true,
786
838
  total: 0,
839
+ accountsDescription: [],
787
840
  },
788
841
  {
789
842
  name: 'Total (I)',
@@ -813,12 +866,14 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
813
866
  accounts: ['151'],
814
867
  isSubcategory: true,
815
868
  total: 0,
869
+ accountsDescription: [],
816
870
  },
817
871
  {
818
872
  name: BalanceSheetPassiveLabel.PROVISIONS_POUR_CHARGES,
819
873
  accounts: ['153', '155', '156', '157', '158'],
820
874
  isSubcategory: true,
821
875
  total: 0,
876
+ accountsDescription: [],
822
877
  },
823
878
  ],
824
879
  },
@@ -841,6 +896,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
841
896
  accounts: ['161', '16881'],
842
897
  isSubcategory: true,
843
898
  total: 0,
899
+ accountsDescription: [],
844
900
  },
845
901
  {
846
902
  name: BalanceSheetPassiveLabel.AUTRES_EMPRUNTS_OBLIGATAIRES_CONVERTIBLES,
@@ -848,6 +904,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
848
904
  accounts: ['163', '16883'],
849
905
  isSubcategory: true,
850
906
  total: 0,
907
+ accountsDescription: [],
851
908
  },
852
909
  {
853
910
  name: BalanceSheetPassiveLabel.EMPRUNTS_ET_DETTES_AUPRES_ETABLISSEMENTS,
@@ -857,6 +914,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
857
914
  isSubcategory: true,
858
915
  total: 0,
859
916
  type: 'passive',
917
+ accountsDescription: [],
860
918
  },
861
919
  {
862
920
  name: BalanceSheetPassiveLabel.EMPRUNTS_ET_DETTES_FINANCIERES_DIVERSES,
@@ -865,6 +923,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
865
923
  isSubcategory: true,
866
924
  total: 0,
867
925
  type: 'passive',
926
+ accountsDescription: [],
868
927
  },
869
928
  {
870
929
  name: BalanceSheetPassiveLabel.AVANCES_ET_ACOMPTES_RECUES,
@@ -873,6 +932,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
873
932
  isSubcategory: true,
874
933
  total: 0,
875
934
  type: 'passive',
935
+ accountsDescription: [],
876
936
  },
877
937
  {
878
938
  name: BalanceSheetPassiveLabel.DETTES_FOURNISSEURS_ET_COMPTES_RATTACHES,
@@ -883,6 +943,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
883
943
  isSubcategory: true,
884
944
  total: 0,
885
945
  type: 'passive',
946
+ accountsDescription: [],
886
947
  },
887
948
  {
888
949
  name: BalanceSheetPassiveLabel.DETTES_FISCALES_ET_SOCIALES,
@@ -891,6 +952,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
891
952
  isSubcategory: true,
892
953
  total: 0,
893
954
  type: 'passive',
955
+ accountsDescription: [],
894
956
  },
895
957
  {
896
958
  name: BalanceSheetPassiveLabel.DETTES_SUR_IMMOBILISATIONS_ET_COMPTES_RATTACHES,
@@ -899,6 +961,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
899
961
  isSubcategory: true,
900
962
  total: 0,
901
963
  type: 'passive',
964
+ accountsDescription: [],
902
965
  },
903
966
  {
904
967
  name: BalanceSheetPassiveLabel.AUTRES_DETTES,
@@ -909,6 +972,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
909
972
  isSubcategory: true,
910
973
  total: 0,
911
974
  type: 'passive',
975
+ accountsDescription: [],
912
976
  },
913
977
  {
914
978
  name: 'Instruments de trésorerie',
@@ -917,6 +981,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
917
981
  isSubcategory: true,
918
982
  total: 0,
919
983
  type: 'passive',
984
+ accountsDescription: [],
920
985
  },
921
986
  {
922
987
  name: BalanceSheetPassiveLabel.PRODUITS_CONSTATES_D_AVANCE,
@@ -924,6 +989,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
924
989
  accounts: ['487', '489'],
925
990
  isSubcategory: true,
926
991
  total: 0,
992
+ accountsDescription: [],
927
993
  },
928
994
  ],
929
995
  },
@@ -941,6 +1007,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
941
1007
  total: 0,
942
1008
  accounts: ['477'],
943
1009
  isTotal: true,
1010
+ accountsDescription: [],
944
1011
  },
945
1012
  {
946
1013
  name: BalanceSheetPassiveLabel.TOTAL_GENERAL,
@@ -971,12 +1038,14 @@ export const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[] = [
971
1038
  accounts: ['512', '519', '58'],
972
1039
  total: 0,
973
1040
  type: 'passive',
1041
+ accountsDescription: [],
974
1042
  },
975
1043
  {
976
1044
  name: BalanceSheetPassiveLabel.EMPRUNTS_PARTICIPATIFS,
977
1045
  accounts: ['1675'],
978
1046
  total: 0,
979
1047
  type: 'passive',
1048
+ accountsDescription: [],
980
1049
  },
981
1050
  ];
982
1051
 
@@ -66,6 +66,20 @@ export interface CardGroupType {
66
66
  teamType: TeamType;
67
67
  }
68
68
 
69
+ export enum TransactionRangeFilter {
70
+ RANGE_0_TO_100 = 1,
71
+ RANGE_101_TO_500 = 2,
72
+ RANGE_501_TO_1000 = 3,
73
+ RANGE_1001_PLUS = 4,
74
+ }
75
+
76
+ export const TransactionRangeFilterValues: Record<TransactionRangeFilter, { min: number; max: number | null }> = {
77
+ [TransactionRangeFilter.RANGE_0_TO_100]: { min: 0, max: 100 },
78
+ [TransactionRangeFilter.RANGE_101_TO_500]: { min: 101, max: 500 },
79
+ [TransactionRangeFilter.RANGE_501_TO_1000]: { min: 501, max: 1000 },
80
+ [TransactionRangeFilter.RANGE_1001_PLUS]: { min: 1001, max: null },
81
+ };
82
+
69
83
  export const CardGroup: readonly CardGroupType[] = [
70
84
  {
71
85
  id: CardGroupEnum.BALANCE_SHEET_GROUP,