@silexpert/core 2.0.21 → 2.0.23-0

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 (41) hide show
  1. package/dist/api/resources/Exercice.d.ts +8 -2
  2. package/dist/api/resources/Exercice.d.ts.map +1 -1
  3. package/dist/api/resources/Exercice.js +12 -2
  4. package/dist/api/resources/Exercice.js.map +1 -1
  5. package/dist/types/Enum/AIPrompt.d.ts +1 -0
  6. package/dist/types/Enum/AIPrompt.d.ts.map +1 -1
  7. package/dist/types/Enum/AIPrompt.js +10 -0
  8. package/dist/types/Enum/AIPrompt.js.map +1 -1
  9. package/dist/types/Enum/BalanceSheet.d.ts +8 -1
  10. package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
  11. package/dist/types/Enum/BalanceSheet.js +11 -3
  12. package/dist/types/Enum/BalanceSheet.js.map +1 -1
  13. package/dist/types/Enum/CommercialManagement.d.ts +4 -0
  14. package/dist/types/Enum/CommercialManagement.d.ts.map +1 -1
  15. package/dist/types/Enum/CommercialManagement.js +23 -0
  16. package/dist/types/Enum/CommercialManagement.js.map +1 -1
  17. package/dist/types/Enum/Ged.d.ts +4 -2
  18. package/dist/types/Enum/Ged.d.ts.map +1 -1
  19. package/dist/types/Enum/Ged.js +30 -18
  20. package/dist/types/Enum/Ged.js.map +1 -1
  21. package/dist/types/Interface/api/exercice/Create.d.ts +4 -0
  22. package/dist/types/Interface/api/exercice/Create.d.ts.map +1 -1
  23. package/dist/types/Interface/api/exercice/Create.js +18 -0
  24. package/dist/types/Interface/api/exercice/Create.js.map +1 -1
  25. package/dist/types/Interface/models/IRefund.d.ts +4 -0
  26. package/dist/types/Interface/models/IRefund.d.ts.map +1 -1
  27. package/dist/types/Interface/models/IRefund.js +4 -0
  28. package/dist/types/Interface/models/IRefund.js.map +1 -1
  29. package/dist/utils/email/templates/signature.d.ts +1 -1
  30. package/dist/utils/email/templates/signature.d.ts.map +1 -1
  31. package/dist/utils/email/templates/signature.js +8 -4
  32. package/dist/utils/email/templates/signature.js.map +1 -1
  33. package/package.json +1 -1
  34. package/ts/api/resources/Exercice.ts +16 -2
  35. package/ts/types/Enum/AIPrompt.ts +11 -0
  36. package/ts/types/Enum/BalanceSheet.ts +19 -11
  37. package/ts/types/Enum/CommercialManagement.ts +27 -0
  38. package/ts/types/Enum/Ged.ts +239 -227
  39. package/ts/types/Interface/api/exercice/Create.ts +15 -0
  40. package/ts/types/Interface/models/IRefund.ts +4 -0
  41. package/ts/utils/email/templates/signature.ts +8 -4
@@ -114,7 +114,7 @@ export enum TypeFile {
114
114
  AUTHORIZATION = 52,
115
115
  COMMERCIAL_LEASE_AND_RELEASE = 53,
116
116
  CLOSE_BALANCE_SHEET = 54,
117
- PLAQUETTE = 55,
117
+ PLAQUETTE = 55, // Plaquette bilan comptable
118
118
  BALANCE_SHEET_NOTE = 56,
119
119
  SUMMARY_NOTE = 57,
120
120
  STATUTES = 58,
@@ -174,6 +174,8 @@ export enum TypeFile {
174
174
  APPROVAL = 112, // Appro des comptes
175
175
  BANK_STATEMENT = 113, // Relevé bancaire
176
176
  CUSTOMER_REPORTING = 114, // reporting client (customerActivity)
177
+ ACCOUNTING_CONSISTENCY_CHECK = 115, // Contrôle de cohérence
178
+ ACCOUNTING_PREVIEW_PLAQUETTE = 116, // Preview plaquette comptable
177
179
  }
178
180
 
179
181
  /** @deprecated this is a legacy enum try to use TypeFile enum if you can or use both enum's */
@@ -287,7 +289,7 @@ export const GedFileTypeDetail = {
287
289
  },
288
290
  IDENTITY_CARD: {
289
291
  id: GedFileType.IDENTITY_CARD,
290
- name: "Carte d'identité",
292
+ name: 'Carte d\'identité',
291
293
  idGedFolder: GedFolder.KBIS,
292
294
  typeFile: TypeFile.IDENTITY_CARD_RECTO,
293
295
  },
@@ -421,203 +423,203 @@ export const GedFolderList: Array<{
421
423
  idGedCategory: GedCategory;
422
424
  name: string;
423
425
  }> = [
424
- {
425
- id: GedFolder.KBIS,
426
- name: "K-bis & Carte d'identité & Mémento fiscal",
427
- isVisibleForClient: true,
428
- idGedCategory: GedCategory.COMPANY,
429
- },
430
- { id: GedFolder.LDM, name: 'Lettres de missions', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
431
- { id: GedFolder.RIB_MANDATES, name: 'Mandats & RIB', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
432
- {
433
- id: GedFolder.BALANCE_GL,
434
- name: 'Balance-GL Journaux',
435
- isVisibleForClient: true,
436
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
437
- },
438
- {
439
- id: GedFolder.CLOSE_BALANCE_SHEET,
440
- name: 'Clôtures & Bilans',
441
- isVisibleForClient: true,
442
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
443
- },
444
- {
445
- id: GedFolder.VAT,
446
- name: 'Déclarations de TVA',
447
- isVisibleForClient: true,
448
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
449
- },
450
- {
451
- id: GedFolder.IS_DECLARATIONS,
452
- name: "Déclarations d'IS",
453
- isVisibleForClient: true,
454
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
455
- },
456
- { id: GedFolder.STATUTES, name: 'Statuts & avenants', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
457
- {
458
- id: GedFolder.TRAINING_AND_PROFESSIONAL_TAX,
459
- name: 'Formation et taxe professionnelle',
460
- isVisibleForClient: true,
461
- idGedCategory: GedCategory.SOCIAL,
462
- },
463
- { id: GedFolder.DADS_U_DUE, name: 'DADS-U & DUE', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
464
- { id: GedFolder.URSSAF, name: 'URSSAF & Pôle-Emploi', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
465
- {
466
- id: GedFolder.PAY_SLIPS,
467
- name: 'Bulletins de salaires',
468
- isVisibleForClient: true,
469
- idGedCategory: GedCategory.SOCIAL,
470
- },
471
- { id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
472
- { id: GedFolder.AGM, name: "PV d'AG", isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
473
- {
474
- id: GedFolder.CONTRACTS_LEASES,
475
- name: 'Contrats & Baux',
476
- isVisibleForClient: true,
477
- idGedCategory: GedCategory.GENERALITY,
478
- },
479
- { id: GedFolder.INSURANCES, name: 'Assurances', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
480
- {
481
- id: GedFolder.CABINET_INVOICES,
482
- name: 'Factures Cabinet',
483
- isVisibleForClient: true,
484
- idGedCategory: GedCategory.BILLING,
485
- },
486
- { id: GedFolder.OTHER, name: 'Autres', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
487
- { id: GedFolder.VEHICLES, name: 'Véhicules', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
488
- {
489
- id: GedFolder.BORROWING_TABLES,
490
- name: 'Tableaux d’emprunts',
491
- isVisibleForClient: true,
492
- idGedCategory: GedCategory.GENERALITY,
493
- },
494
- { id: GedFolder.RSI_URSSAF, name: 'RSI & URSSAF', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
495
- {
496
- id: GedFolder.GA_BALANCE_PV,
497
- name: 'Bilan & PV d’AG antérieur',
498
- isVisibleForClient: true,
499
- idGedCategory: GedCategory.GENERALITY,
500
- },
501
- {
502
- id: GedFolder.SLIPS_CFE,
503
- name: 'Bordereaux pour la CFE',
504
- isVisibleForClient: true,
505
- idGedCategory: GedCategory.GENERALITY,
506
- },
507
- {
508
- id: GedFolder.APPENDIX_PROVIDERS_CUSTOMERS,
509
- name: 'Annexes fournisseurs/clients',
510
- isVisibleForClient: true,
511
- idGedCategory: GedCategory.GENERALITY,
512
- },
513
- {
514
- id: GedFolder.MISCELLANEOUS,
515
- name: 'Divers',
516
- isVisibleForClient: true,
517
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
518
- },
519
- {
520
- id: GedFolder.LEGAL_ANNOUNCEMENTS,
521
- name: 'Annonces Légales',
522
- isVisibleForClient: true,
523
- idGedCategory: GedCategory.JURIDIC,
524
- },
525
- { id: GedFolder.CERTIFICATES, name: 'Attestations', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
526
- { id: GedFolder.PARTNERS, name: 'Associés', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
527
- {
528
- id: GedFolder.INCOMING_MAILS,
529
- name: 'Courriers entrants',
530
- isVisibleForClient: true,
531
- idGedCategory: GedCategory.MAIL,
532
- },
533
- {
534
- id: GedFolder.OUTGOING_MAIL,
535
- name: 'Courriers sortants',
536
- isVisibleForClient: true,
537
- idGedCategory: GedCategory.MAIL,
538
- },
539
- {
540
- id: GedFolder.BANK_STATEMENT,
541
- name: 'Relevés Bancaires',
542
- isVisibleForClient: true,
543
- idGedCategory: GedCategory.BANK_STATEMENT,
544
- },
545
- {
546
- id: GedFolder.FORMALISM,
547
- name: 'Formalisme',
548
- isVisibleForClient: false,
549
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
550
- },
551
- {
552
- id: GedFolder.PENDING_POINTS,
553
- name: 'Points en suspens',
554
- isVisibleForClient: false,
555
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
556
- },
557
- {
558
- id: GedFolder.BALANCE_GL_JOURNALS_YEAR,
559
- name: 'Balance-GL Journaux Année N-1',
560
- isVisibleForClient: true,
561
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
562
- },
563
- { id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
564
- { id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
565
- {
566
- id: GedFolder.EMPLOYEMENT_CONTRACT,
567
- name: 'Contrats de travail & avenants',
568
- isVisibleForClient: true,
569
- idGedCategory: GedCategory.SOCIAL,
570
- },
571
- {
572
- id: GedFolder.EXIT_DOCUMENT,
573
- name: 'Documents de sorties',
574
- isVisibleForClient: true,
575
- idGedCategory: GedCategory.SOCIAL,
576
- },
577
- {
578
- id: GedFolder.JEDECLARE_MANDATES,
579
- name: 'Mandat JeDeclare',
580
- isVisibleForClient: true,
581
- idGedCategory: GedCategory.COMPANY,
582
- },
583
- {
584
- id: GedFolder.COMPANY_PASSWORD_SERVICE,
585
- name: 'Mot de passe service entreprise',
586
- isVisibleForClient: false,
587
- idGedCategory: GedCategory.COMPANY,
588
- },
589
- { id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
590
- {
591
- id: GedFolder.PREVISIONAL,
592
- name: 'Prévisionnels',
593
- isVisibleForClient: true,
594
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
595
- },
596
- {
597
- id: GedFolder.PREVISIONAL_ANNEX,
598
- name: 'Annexes Prévisionnels',
599
- isVisibleForClient: false,
600
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
601
- },
602
- {
603
- id: GedFolder.CASH_BOOK,
604
- name: 'Caisse',
605
- isVisibleForClient: true,
606
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
607
- },
608
- {
609
- id: GedFolder.STOCK,
610
- name: 'Stock',
611
- isVisibleForClient: true,
612
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
613
- },
614
- {
615
- id: GedFolder.SUMMARY,
616
- name: 'Récapitulatif',
617
- isVisibleForClient: true,
618
- idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
619
- },
620
- ];
426
+ {
427
+ id: GedFolder.KBIS,
428
+ name: 'K-bis & Carte d\'identité & Mémento fiscal',
429
+ isVisibleForClient: true,
430
+ idGedCategory: GedCategory.COMPANY,
431
+ },
432
+ { id: GedFolder.LDM, name: 'Lettres de missions', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
433
+ { id: GedFolder.RIB_MANDATES, name: 'Mandats & RIB', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
434
+ {
435
+ id: GedFolder.BALANCE_GL,
436
+ name: 'Balance-GL Journaux',
437
+ isVisibleForClient: true,
438
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
439
+ },
440
+ {
441
+ id: GedFolder.CLOSE_BALANCE_SHEET,
442
+ name: 'Clôtures & Bilans',
443
+ isVisibleForClient: true,
444
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
445
+ },
446
+ {
447
+ id: GedFolder.VAT,
448
+ name: 'Déclarations de TVA',
449
+ isVisibleForClient: true,
450
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
451
+ },
452
+ {
453
+ id: GedFolder.IS_DECLARATIONS,
454
+ name: 'Déclarations d\'IS',
455
+ isVisibleForClient: true,
456
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
457
+ },
458
+ { id: GedFolder.STATUTES, name: 'Statuts & avenants', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
459
+ {
460
+ id: GedFolder.TRAINING_AND_PROFESSIONAL_TAX,
461
+ name: 'Formation et taxe professionnelle',
462
+ isVisibleForClient: true,
463
+ idGedCategory: GedCategory.SOCIAL,
464
+ },
465
+ { id: GedFolder.DADS_U_DUE, name: 'DADS-U & DUE', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
466
+ { id: GedFolder.URSSAF, name: 'URSSAF & Pôle-Emploi', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
467
+ {
468
+ id: GedFolder.PAY_SLIPS,
469
+ name: 'Bulletins de salaires',
470
+ isVisibleForClient: true,
471
+ idGedCategory: GedCategory.SOCIAL,
472
+ },
473
+ { id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
474
+ { id: GedFolder.AGM, name: 'PV d\'AG', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
475
+ {
476
+ id: GedFolder.CONTRACTS_LEASES,
477
+ name: 'Contrats & Baux',
478
+ isVisibleForClient: true,
479
+ idGedCategory: GedCategory.GENERALITY,
480
+ },
481
+ { id: GedFolder.INSURANCES, name: 'Assurances', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
482
+ {
483
+ id: GedFolder.CABINET_INVOICES,
484
+ name: 'Factures Cabinet',
485
+ isVisibleForClient: true,
486
+ idGedCategory: GedCategory.BILLING,
487
+ },
488
+ { id: GedFolder.OTHER, name: 'Autres', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
489
+ { id: GedFolder.VEHICLES, name: 'Véhicules', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
490
+ {
491
+ id: GedFolder.BORROWING_TABLES,
492
+ name: 'Tableaux d’emprunts',
493
+ isVisibleForClient: true,
494
+ idGedCategory: GedCategory.GENERALITY,
495
+ },
496
+ { id: GedFolder.RSI_URSSAF, name: 'RSI & URSSAF', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
497
+ {
498
+ id: GedFolder.GA_BALANCE_PV,
499
+ name: 'Bilan & PV d’AG antérieur',
500
+ isVisibleForClient: true,
501
+ idGedCategory: GedCategory.GENERALITY,
502
+ },
503
+ {
504
+ id: GedFolder.SLIPS_CFE,
505
+ name: 'Bordereaux pour la CFE',
506
+ isVisibleForClient: true,
507
+ idGedCategory: GedCategory.GENERALITY,
508
+ },
509
+ {
510
+ id: GedFolder.APPENDIX_PROVIDERS_CUSTOMERS,
511
+ name: 'Annexes fournisseurs/clients',
512
+ isVisibleForClient: true,
513
+ idGedCategory: GedCategory.GENERALITY,
514
+ },
515
+ {
516
+ id: GedFolder.MISCELLANEOUS,
517
+ name: 'Divers',
518
+ isVisibleForClient: true,
519
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
520
+ },
521
+ {
522
+ id: GedFolder.LEGAL_ANNOUNCEMENTS,
523
+ name: 'Annonces Légales',
524
+ isVisibleForClient: true,
525
+ idGedCategory: GedCategory.JURIDIC,
526
+ },
527
+ { id: GedFolder.CERTIFICATES, name: 'Attestations', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
528
+ { id: GedFolder.PARTNERS, name: 'Associés', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
529
+ {
530
+ id: GedFolder.INCOMING_MAILS,
531
+ name: 'Courriers entrants',
532
+ isVisibleForClient: true,
533
+ idGedCategory: GedCategory.MAIL,
534
+ },
535
+ {
536
+ id: GedFolder.OUTGOING_MAIL,
537
+ name: 'Courriers sortants',
538
+ isVisibleForClient: true,
539
+ idGedCategory: GedCategory.MAIL,
540
+ },
541
+ {
542
+ id: GedFolder.BANK_STATEMENT,
543
+ name: 'Relevés Bancaires',
544
+ isVisibleForClient: true,
545
+ idGedCategory: GedCategory.BANK_STATEMENT,
546
+ },
547
+ {
548
+ id: GedFolder.FORMALISM,
549
+ name: 'Formalisme',
550
+ isVisibleForClient: false,
551
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
552
+ },
553
+ {
554
+ id: GedFolder.PENDING_POINTS,
555
+ name: 'Points en suspens',
556
+ isVisibleForClient: false,
557
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
558
+ },
559
+ {
560
+ id: GedFolder.BALANCE_GL_JOURNALS_YEAR,
561
+ name: 'Balance-GL Journaux Année N-1',
562
+ isVisibleForClient: true,
563
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
564
+ },
565
+ { id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
566
+ { id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
567
+ {
568
+ id: GedFolder.EMPLOYEMENT_CONTRACT,
569
+ name: 'Contrats de travail & avenants',
570
+ isVisibleForClient: true,
571
+ idGedCategory: GedCategory.SOCIAL,
572
+ },
573
+ {
574
+ id: GedFolder.EXIT_DOCUMENT,
575
+ name: 'Documents de sorties',
576
+ isVisibleForClient: true,
577
+ idGedCategory: GedCategory.SOCIAL,
578
+ },
579
+ {
580
+ id: GedFolder.JEDECLARE_MANDATES,
581
+ name: 'Mandat JeDeclare',
582
+ isVisibleForClient: true,
583
+ idGedCategory: GedCategory.COMPANY,
584
+ },
585
+ {
586
+ id: GedFolder.COMPANY_PASSWORD_SERVICE,
587
+ name: 'Mot de passe service entreprise',
588
+ isVisibleForClient: false,
589
+ idGedCategory: GedCategory.COMPANY,
590
+ },
591
+ { id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
592
+ {
593
+ id: GedFolder.PREVISIONAL,
594
+ name: 'Prévisionnels',
595
+ isVisibleForClient: true,
596
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
597
+ },
598
+ {
599
+ id: GedFolder.PREVISIONAL_ANNEX,
600
+ name: 'Annexes Prévisionnels',
601
+ isVisibleForClient: false,
602
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
603
+ },
604
+ {
605
+ id: GedFolder.CASH_BOOK,
606
+ name: 'Caisse',
607
+ isVisibleForClient: true,
608
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
609
+ },
610
+ {
611
+ id: GedFolder.STOCK,
612
+ name: 'Stock',
613
+ isVisibleForClient: true,
614
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
615
+ },
616
+ {
617
+ id: GedFolder.SUMMARY,
618
+ name: 'Récapitulatif',
619
+ isVisibleForClient: true,
620
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
621
+ },
622
+ ];
621
623
 
622
624
  export const gedCategoryWithName: Array<{
623
625
  idGedCategory: number;
@@ -625,20 +627,20 @@ export const gedCategoryWithName: Array<{
625
627
  usableByClient: boolean;
626
628
  brandCondition?: string[];
627
629
  }> = [
628
- { idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
629
- { idGedCategory: GedCategory.ACCOUNTING_AND_TAX, name: 'Comptabilité', usableByClient: false },
630
- { idGedCategory: GedCategory.SOCIAL, name: 'Social', usableByClient: false },
631
- { idGedCategory: GedCategory.JURIDIC, name: 'Juridique', usableByClient: false },
632
- { idGedCategory: GedCategory.GENERALITY, name: 'Généralités', usableByClient: true },
633
- { idGedCategory: GedCategory.BILLING, name: 'Facturation', usableByClient: false },
634
- {
635
- idGedCategory: GedCategory.MAIL,
636
- name: 'Courriers',
637
- usableByClient: true,
638
- brandCondition: ['Clementine', 'Comptastart'],
639
- },
640
- { idGedCategory: GedCategory.BANK_STATEMENT, name: 'Relevés bancaires', usableByClient: true },
641
- ];
630
+ { idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
631
+ { idGedCategory: GedCategory.ACCOUNTING_AND_TAX, name: 'Comptabilité', usableByClient: false },
632
+ { idGedCategory: GedCategory.SOCIAL, name: 'Social', usableByClient: false },
633
+ { idGedCategory: GedCategory.JURIDIC, name: 'Juridique', usableByClient: false },
634
+ { idGedCategory: GedCategory.GENERALITY, name: 'Généralités', usableByClient: true },
635
+ { idGedCategory: GedCategory.BILLING, name: 'Facturation', usableByClient: false },
636
+ {
637
+ idGedCategory: GedCategory.MAIL,
638
+ name: 'Courriers',
639
+ usableByClient: true,
640
+ brandCondition: ['Clementine', 'Comptastart'],
641
+ },
642
+ { idGedCategory: GedCategory.BANK_STATEMENT, name: 'Relevés bancaires', usableByClient: true },
643
+ ];
642
644
 
643
645
  export type TypeFileDetailType = {
644
646
  typeFile: TypeFile;
@@ -657,7 +659,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
657
659
  },
658
660
  [TypeFile.IDENTITY_CARD_RECTO]: {
659
661
  typeFile: TypeFile.IDENTITY_CARD_RECTO,
660
- name: "Carte d'identité",
662
+ name: 'Carte d\'identité',
661
663
  idGedFolder: GedFolder.KBIS,
662
664
  idGedFileType: GedFileType.IDENTITY_CARD,
663
665
  },
@@ -771,7 +773,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
771
773
  },
772
774
  [TypeFile.INSURANCE_CONTRACT]: {
773
775
  typeFile: TypeFile.INSURANCE_CONTRACT,
774
- name: "Contrat d'assurance",
776
+ name: 'Contrat d\'assurance',
775
777
  idGedFolder: GedFolder.INSURANCES,
776
778
  },
777
779
  [TypeFile.COMPANY_CONTRIBUTION_PROOF]: {
@@ -779,7 +781,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
779
781
  name: 'Justificatif des apports faits à la société',
780
782
  idGedFolder: GedFolder.JURIDICAL,
781
783
  helpText:
782
- "Vos relevés bancaires personnels indiquant le montant d’épargne disponible, votre avis d'imposition personnel",
784
+ 'Vos relevés bancaires personnels indiquant le montant d’épargne disponible, votre avis d\'imposition personnel',
783
785
  },
784
786
  [TypeFile.NOTARY_STATEMENT]: {
785
787
  typeFile: TypeFile.NOTARY_STATEMENT,
@@ -789,12 +791,12 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
789
791
  },
790
792
  [TypeFile.PURCHASE_DEED]: {
791
793
  typeFile: TypeFile.PURCHASE_DEED,
792
- name: "Acte d'achat",
794
+ name: 'Acte d\'achat',
793
795
  idGedFolder: GedFolder.JURIDICAL,
794
796
  },
795
797
  [TypeFile.PV_RESULT_ALLOCATION]: {
796
798
  typeFile: TypeFile.PV_RESULT_ALLOCATION,
797
- name: "PV d'AG d'affectation du résultat",
799
+ name: 'PV d\'AG d\'affectation du résultat',
798
800
  idGedFolder: GedFolder.AGM,
799
801
  },
800
802
  [TypeFile.SUBSIDY_PROOF]: {
@@ -804,7 +806,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
804
806
  },
805
807
  [TypeFile.LOAN_AMORTIZATION_TABLE]: {
806
808
  typeFile: TypeFile.LOAN_AMORTIZATION_TABLE,
807
- name: "Tableau d'amortissement des emprunts",
809
+ name: 'Tableau d\'amortissement des emprunts',
808
810
  idGedFolder: GedFolder.BORROWING_TABLES,
809
811
  },
810
812
  [TypeFile.COMMERCIAL_OR_RENTAL_LEASE]: {
@@ -824,7 +826,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
824
826
  },
825
827
  [TypeFile.LIVESTOCK_REGISTER]: {
826
828
  typeFile: TypeFile.LIVESTOCK_REGISTER,
827
- name: "Registre d'élevage",
829
+ name: 'Registre d\'élevage',
828
830
  idGedFolder: GedFolder.OTHER,
829
831
  },
830
832
  [TypeFile.LIVESTOCK_INVENTORY]: {
@@ -854,7 +856,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
854
856
  },
855
857
  [TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF]: {
856
858
  typeFile: TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF,
857
- name: "Justificatifs de crédits d'impôt agricoles",
859
+ name: 'Justificatifs de crédits d\'impôt agricoles',
858
860
  idGedFolder: GedFolder.MISCELLANEOUS,
859
861
  },
860
862
  [TypeFile.LOAN_REPAYMENT_PROOF]: {
@@ -879,17 +881,17 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
879
881
  },
880
882
  [TypeFile.CONDOMINIUM_AGM_MINUTES]: {
881
883
  typeFile: TypeFile.CONDOMINIUM_AGM_MINUTES,
882
- name: "Procès-verbaux d'AG de copropriété",
884
+ name: 'Procès-verbaux d\'AG de copropriété',
883
885
  idGedFolder: GedFolder.AGM,
884
886
  },
885
887
  [TypeFile.TAX_NOTICE]: {
886
888
  typeFile: TypeFile.TAX_NOTICE,
887
- name: "Avis d'imposition (CFE, taxe foncière)",
889
+ name: 'Avis d\'imposition (CFE, taxe foncière)',
888
890
  idGedFolder: GedFolder.SLIPS_CFE,
889
891
  },
890
892
  [TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION]: {
891
893
  typeFile: TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION,
892
- name: "Notifications d'attribution de subventions publiques",
894
+ name: 'Notifications d\'attribution de subventions publiques',
893
895
  idGedFolder: GedFolder.SUBVENTION,
894
896
  },
895
897
  [TypeFile.FINANCING_CONTRACTS_OR_SUBSIDY_AGREEMENTS]: {
@@ -906,7 +908,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
906
908
  },
907
909
  [TypeFile.STOCK]: {
908
910
  typeFile: TypeFile.STOCK,
909
- name: "L'état de vos stocks à la date de clôture",
911
+ name: 'L\'état de vos stocks à la date de clôture',
910
912
  idGedFolder: GedFolder.STOCK,
911
913
  helpText:
912
914
  'L’état des stocks doit recenser l’ensemble des produits disponibles à la date de clôture. Chaque article doit être identifié précisément, classé par catégorie (matières premières, marchandises, produits finis, consommables...), et valorisé au prix d’achat hors taxes (HT). Ce document doit impérativement être daté et signé.',
@@ -916,7 +918,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
916
918
  name: 'Le grand livre de réciprocité des comptes',
917
919
  idGedFolder: GedFolder.BALANCE_GL,
918
920
  helpText:
919
- "Votre société détient ou a cédé des actions à une autre entité, ce qui établit un lien capitalistique entre les deux sociétés. En conséquence, des mouvements comptables peuvent exister entre elles. Afin d'assurer la cohérence des écritures comptables, nous vous demandons de nous transmettre les grands livres des opérations enregistrées dans la comptabilité de l’autre société. Cela nous permettra de rapprocher et cadrer les flux entre les deux entités.",
921
+ 'Votre société détient ou a cédé des actions à une autre entité, ce qui établit un lien capitalistique entre les deux sociétés. En conséquence, des mouvements comptables peuvent exister entre elles. Afin d\'assurer la cohérence des écritures comptables, nous vous demandons de nous transmettre les grands livres des opérations enregistrées dans la comptabilité de l’autre société. Cela nous permettra de rapprocher et cadrer les flux entre les deux entités.',
920
922
  },
921
923
  [TypeFile.SUPPLIER_DEBTS]: {
922
924
  typeFile: TypeFile.SUPPLIER_DEBTS,
@@ -968,7 +970,7 @@ Paypal : relevés mensuels à télécharger sur le site → Activité → Icône
968
970
  },
969
971
  [TypeFile.INVOICING_SOFTWARE_SUMMARY]: {
970
972
  typeFile: TypeFile.INVOICING_SOFTWARE_SUMMARY,
971
- name: "Un récapitulatif de votre logiciel de facturation détaille par type d'encaissement et par taux de TVA",
973
+ name: 'Un récapitulatif de votre logiciel de facturation détaille par type d\'encaissement et par taux de TVA',
972
974
  idGedFolder: GedFolder.SUMMARY,
973
975
  helpText:
974
976
  'Il doit provenir de votre logiciel de facturation et détailler le total des ventes par mode de paiement (carte, virement, espèces, etc.) et par taux de TVA (20%, 10%, 5,5%).',
@@ -991,4 +993,14 @@ Le montant de l’indemnité calculée`,
991
993
  name: 'Relevé bancaire',
992
994
  idGedFolder: GedFolder.BANK_STATEMENT,
993
995
  },
996
+ [TypeFile.ACCOUNTING_CONSISTENCY_CHECK]: {
997
+ typeFile: TypeFile.ACCOUNTING_CONSISTENCY_CHECK,
998
+ name: 'Contrôle de cohérence',
999
+ idGedFolder: GedFolder.FORMALISM,
1000
+ },
1001
+ [TypeFile.ACCOUNTING_PREVIEW_PLAQUETTE]: {
1002
+ typeFile: TypeFile.ACCOUNTING_PREVIEW_PLAQUETTE,
1003
+ name: 'Projet',
1004
+ idGedFolder: GedFolder.CLOSE_BALANCE_SHEET,
1005
+ }
994
1006
  };
@@ -129,3 +129,18 @@ export class CreateProjectExercice {
129
129
  @IsOptional()
130
130
  files?: TFile[];
131
131
  }
132
+
133
+ export class GenerateProjectExercice {
134
+ @ApiPropertyOptional()
135
+ @IsOptional()
136
+ @IsBoolean()
137
+ @ToBoolean()
138
+ isPreview?: boolean;
139
+
140
+
141
+ @ApiPropertyOptional()
142
+ @IsOptional()
143
+ @IsBoolean()
144
+ @ToBoolean()
145
+ withReporting?: boolean;
146
+ }
@@ -10,14 +10,17 @@ export class IRefund {
10
10
  refundDate: Date | null;
11
11
  refundAt?: Date | null;
12
12
  processed: boolean;
13
+ processedAsset?: boolean;
13
14
  isAmountChecked?: boolean;
14
15
  idRefundMotif: number;
15
16
  idSociety: number;
16
17
  idUserDemand: number;
17
18
  refundBy?: number | null;
19
+ assetBy?: number | null;
18
20
  idFile?: number | null; //non obligatoire désormais, utilisé avant pour rattacher le RIB
19
21
  idUserAgreement?: number | null;
20
22
  dateAgreement?: Date | null;
23
+ assetAt?: Date | null;
21
24
  exceptionalAgreement?: boolean | null;
22
25
  agreement?: number | null;
23
26
  createdAt?: Date | null;
@@ -26,5 +29,6 @@ export class IRefund {
26
29
  file?: IFile;
27
30
  userDemand?: IUser;
28
31
  refundByUser?: IUser | null;
32
+ assetByUser?: IUser | null;
29
33
  agreementUser?: IUser | null;
30
34
  }
@@ -171,14 +171,18 @@ class="signatureClementine">
171
171
  </table>
172
172
  <p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p>
173
173
  <p style="margin:0px 0; padding:0 0 4px; color:#6E6E71;">
174
- Standard : <%- standardPhoneSignature %><br/>
174
+ <% if (standardPhoneSignature) { %>
175
+ Standard : <%- standardPhoneSignature %><br/>
176
+ <% } %>
175
177
  <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
176
178
  Ligne directe : <%- phoneSignature %><br/>
177
179
  <% } %>
178
- Nos horaires : <%- horaires %>
180
+ <% if (brandName !== 'Teamsystem Facture') { %>
181
+ Nos horaires : <%- horaires %>
179
182
 
180
- <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>
181
- <br/>Adresse : 35, avenue Jean Médecin - 06000 NICE
183
+ <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>
184
+ <br/>Adresse : 35, avenue Jean Médecin - 06000 NICE
185
+ <% } %>
182
186
  <% } %>
183
187
  </p>
184
188