@silexpert/core 2.0.19 → 2.0.20-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.
- package/dist/api/resources/Exercice.d.ts +2 -2
- package/dist/api/resources/Exercice.d.ts.map +1 -1
- package/dist/api/resources/Exercice.js +2 -2
- package/dist/api/resources/Exercice.js.map +1 -1
- package/dist/types/Enum/BalanceSheet.d.ts +8 -1
- package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/types/Enum/BalanceSheet.js +11 -3
- package/dist/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/types/Enum/Ged.d.ts +4 -2
- package/dist/types/Enum/Ged.d.ts.map +1 -1
- package/dist/types/Enum/Ged.js +12 -0
- package/dist/types/Enum/Ged.js.map +1 -1
- package/dist/types/Interface/api/exercice/Create.d.ts +3 -0
- package/dist/types/Interface/api/exercice/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/exercice/Create.js +10 -0
- package/dist/types/Interface/api/exercice/Create.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Exercice.ts +3 -2
- package/ts/types/Enum/BalanceSheet.ts +19 -11
- package/ts/types/Enum/Ged.ts +224 -212
- package/ts/types/Interface/api/exercice/Create.ts +8 -0
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -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,
|
|
@@ -173,6 +173,8 @@ export enum TypeFile {
|
|
|
173
173
|
PURCHASE_DEED = 111, // Acte d'achat
|
|
174
174
|
APPROVAL = 112, // Appro des comptes
|
|
175
175
|
BANK_STATEMENT = 113, // Relevé bancaire
|
|
176
|
+
ACCOUNTING_CONSISTENCY_CHECK = 114, // Contrôle de cohérence
|
|
177
|
+
ACCOUNTING_PREVIEW_PLAQUETTE = 115, // Preview plaquette comptable
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
/** @deprecated this is a legacy enum try to use TypeFile enum if you can or use both enum's */
|
|
@@ -420,203 +422,203 @@ export const GedFolderList: Array<{
|
|
|
420
422
|
idGedCategory: GedCategory;
|
|
421
423
|
name: string;
|
|
422
424
|
}> = [
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
];
|
|
425
|
+
{
|
|
426
|
+
id: GedFolder.KBIS,
|
|
427
|
+
name: 'K-bis & Carte d\'identité & Mémento fiscal',
|
|
428
|
+
isVisibleForClient: true,
|
|
429
|
+
idGedCategory: GedCategory.COMPANY,
|
|
430
|
+
},
|
|
431
|
+
{ id: GedFolder.LDM, name: 'Lettres de missions', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
|
|
432
|
+
{ id: GedFolder.RIB_MANDATES, name: 'Mandats & RIB', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
|
|
433
|
+
{
|
|
434
|
+
id: GedFolder.BALANCE_GL,
|
|
435
|
+
name: 'Balance-GL Journaux',
|
|
436
|
+
isVisibleForClient: true,
|
|
437
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
id: GedFolder.CLOSE_BALANCE_SHEET,
|
|
441
|
+
name: 'Clôtures & Bilans',
|
|
442
|
+
isVisibleForClient: true,
|
|
443
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
id: GedFolder.VAT,
|
|
447
|
+
name: 'Déclarations de TVA',
|
|
448
|
+
isVisibleForClient: true,
|
|
449
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
id: GedFolder.IS_DECLARATIONS,
|
|
453
|
+
name: 'Déclarations d\'IS',
|
|
454
|
+
isVisibleForClient: true,
|
|
455
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
456
|
+
},
|
|
457
|
+
{ id: GedFolder.STATUTES, name: 'Statuts & avenants', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
|
|
458
|
+
{
|
|
459
|
+
id: GedFolder.TRAINING_AND_PROFESSIONAL_TAX,
|
|
460
|
+
name: 'Formation et taxe professionnelle',
|
|
461
|
+
isVisibleForClient: true,
|
|
462
|
+
idGedCategory: GedCategory.SOCIAL,
|
|
463
|
+
},
|
|
464
|
+
{ id: GedFolder.DADS_U_DUE, name: 'DADS-U & DUE', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
465
|
+
{ id: GedFolder.URSSAF, name: 'URSSAF & Pôle-Emploi', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
466
|
+
{
|
|
467
|
+
id: GedFolder.PAY_SLIPS,
|
|
468
|
+
name: 'Bulletins de salaires',
|
|
469
|
+
isVisibleForClient: true,
|
|
470
|
+
idGedCategory: GedCategory.SOCIAL,
|
|
471
|
+
},
|
|
472
|
+
{ id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
473
|
+
{ id: GedFolder.AGM, name: 'PV d\'AG', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
|
|
474
|
+
{
|
|
475
|
+
id: GedFolder.CONTRACTS_LEASES,
|
|
476
|
+
name: 'Contrats & Baux',
|
|
477
|
+
isVisibleForClient: true,
|
|
478
|
+
idGedCategory: GedCategory.GENERALITY,
|
|
479
|
+
},
|
|
480
|
+
{ id: GedFolder.INSURANCES, name: 'Assurances', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
481
|
+
{
|
|
482
|
+
id: GedFolder.CABINET_INVOICES,
|
|
483
|
+
name: 'Factures Cabinet',
|
|
484
|
+
isVisibleForClient: true,
|
|
485
|
+
idGedCategory: GedCategory.BILLING,
|
|
486
|
+
},
|
|
487
|
+
{ id: GedFolder.OTHER, name: 'Autres', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
488
|
+
{ id: GedFolder.VEHICLES, name: 'Véhicules', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
489
|
+
{
|
|
490
|
+
id: GedFolder.BORROWING_TABLES,
|
|
491
|
+
name: 'Tableaux d’emprunts',
|
|
492
|
+
isVisibleForClient: true,
|
|
493
|
+
idGedCategory: GedCategory.GENERALITY,
|
|
494
|
+
},
|
|
495
|
+
{ id: GedFolder.RSI_URSSAF, name: 'RSI & URSSAF', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
496
|
+
{
|
|
497
|
+
id: GedFolder.GA_BALANCE_PV,
|
|
498
|
+
name: 'Bilan & PV d’AG antérieur',
|
|
499
|
+
isVisibleForClient: true,
|
|
500
|
+
idGedCategory: GedCategory.GENERALITY,
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
id: GedFolder.SLIPS_CFE,
|
|
504
|
+
name: 'Bordereaux pour la CFE',
|
|
505
|
+
isVisibleForClient: true,
|
|
506
|
+
idGedCategory: GedCategory.GENERALITY,
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
id: GedFolder.APPENDIX_PROVIDERS_CUSTOMERS,
|
|
510
|
+
name: 'Annexes fournisseurs/clients',
|
|
511
|
+
isVisibleForClient: true,
|
|
512
|
+
idGedCategory: GedCategory.GENERALITY,
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
id: GedFolder.MISCELLANEOUS,
|
|
516
|
+
name: 'Divers',
|
|
517
|
+
isVisibleForClient: true,
|
|
518
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
id: GedFolder.LEGAL_ANNOUNCEMENTS,
|
|
522
|
+
name: 'Annonces Légales',
|
|
523
|
+
isVisibleForClient: true,
|
|
524
|
+
idGedCategory: GedCategory.JURIDIC,
|
|
525
|
+
},
|
|
526
|
+
{ id: GedFolder.CERTIFICATES, name: 'Attestations', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
527
|
+
{ id: GedFolder.PARTNERS, name: 'Associés', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
|
|
528
|
+
{
|
|
529
|
+
id: GedFolder.INCOMING_MAILS,
|
|
530
|
+
name: 'Courriers entrants',
|
|
531
|
+
isVisibleForClient: true,
|
|
532
|
+
idGedCategory: GedCategory.MAIL,
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
id: GedFolder.OUTGOING_MAIL,
|
|
536
|
+
name: 'Courriers sortants',
|
|
537
|
+
isVisibleForClient: true,
|
|
538
|
+
idGedCategory: GedCategory.MAIL,
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
id: GedFolder.BANK_STATEMENT,
|
|
542
|
+
name: 'Relevés Bancaires',
|
|
543
|
+
isVisibleForClient: true,
|
|
544
|
+
idGedCategory: GedCategory.BANK_STATEMENT,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
id: GedFolder.FORMALISM,
|
|
548
|
+
name: 'Formalisme',
|
|
549
|
+
isVisibleForClient: false,
|
|
550
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
id: GedFolder.PENDING_POINTS,
|
|
554
|
+
name: 'Points en suspens',
|
|
555
|
+
isVisibleForClient: false,
|
|
556
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
id: GedFolder.BALANCE_GL_JOURNALS_YEAR,
|
|
560
|
+
name: 'Balance-GL Journaux Année N-1',
|
|
561
|
+
isVisibleForClient: true,
|
|
562
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
563
|
+
},
|
|
564
|
+
{ id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
|
|
565
|
+
{ id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
566
|
+
{
|
|
567
|
+
id: GedFolder.EMPLOYEMENT_CONTRACT,
|
|
568
|
+
name: 'Contrats de travail & avenants',
|
|
569
|
+
isVisibleForClient: true,
|
|
570
|
+
idGedCategory: GedCategory.SOCIAL,
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
id: GedFolder.EXIT_DOCUMENT,
|
|
574
|
+
name: 'Documents de sorties',
|
|
575
|
+
isVisibleForClient: true,
|
|
576
|
+
idGedCategory: GedCategory.SOCIAL,
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
id: GedFolder.JEDECLARE_MANDATES,
|
|
580
|
+
name: 'Mandat JeDeclare',
|
|
581
|
+
isVisibleForClient: true,
|
|
582
|
+
idGedCategory: GedCategory.COMPANY,
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
id: GedFolder.COMPANY_PASSWORD_SERVICE,
|
|
586
|
+
name: 'Mot de passe service entreprise',
|
|
587
|
+
isVisibleForClient: false,
|
|
588
|
+
idGedCategory: GedCategory.COMPANY,
|
|
589
|
+
},
|
|
590
|
+
{ id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
|
|
591
|
+
{
|
|
592
|
+
id: GedFolder.PREVISIONAL,
|
|
593
|
+
name: 'Prévisionnels',
|
|
594
|
+
isVisibleForClient: true,
|
|
595
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
id: GedFolder.PREVISIONAL_ANNEX,
|
|
599
|
+
name: 'Annexes Prévisionnels',
|
|
600
|
+
isVisibleForClient: false,
|
|
601
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
id: GedFolder.CASH_BOOK,
|
|
605
|
+
name: 'Caisse',
|
|
606
|
+
isVisibleForClient: true,
|
|
607
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
id: GedFolder.STOCK,
|
|
611
|
+
name: 'Stock',
|
|
612
|
+
isVisibleForClient: true,
|
|
613
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
id: GedFolder.SUMMARY,
|
|
617
|
+
name: 'Récapitulatif',
|
|
618
|
+
isVisibleForClient: true,
|
|
619
|
+
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
620
|
+
},
|
|
621
|
+
];
|
|
620
622
|
|
|
621
623
|
export const gedCategoryWithName: Array<{
|
|
622
624
|
idGedCategory: number;
|
|
@@ -624,20 +626,20 @@ export const gedCategoryWithName: Array<{
|
|
|
624
626
|
usableByClient: boolean;
|
|
625
627
|
brandCondition?: string[];
|
|
626
628
|
}> = [
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
];
|
|
629
|
+
{ idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
|
|
630
|
+
{ idGedCategory: GedCategory.ACCOUNTING_AND_TAX, name: 'Comptabilité', usableByClient: false },
|
|
631
|
+
{ idGedCategory: GedCategory.SOCIAL, name: 'Social', usableByClient: false },
|
|
632
|
+
{ idGedCategory: GedCategory.JURIDIC, name: 'Juridique', usableByClient: false },
|
|
633
|
+
{ idGedCategory: GedCategory.GENERALITY, name: 'Généralités', usableByClient: true },
|
|
634
|
+
{ idGedCategory: GedCategory.BILLING, name: 'Facturation', usableByClient: false },
|
|
635
|
+
{
|
|
636
|
+
idGedCategory: GedCategory.MAIL,
|
|
637
|
+
name: 'Courriers',
|
|
638
|
+
usableByClient: true,
|
|
639
|
+
brandCondition: ['Clementine', 'Comptastart'],
|
|
640
|
+
},
|
|
641
|
+
{ idGedCategory: GedCategory.BANK_STATEMENT, name: 'Relevés bancaires', usableByClient: true },
|
|
642
|
+
];
|
|
641
643
|
|
|
642
644
|
export type TypeFileDetailType = {
|
|
643
645
|
typeFile: TypeFile;
|
|
@@ -990,4 +992,14 @@ Le montant de l’indemnité calculée`,
|
|
|
990
992
|
name: 'Relevé bancaire',
|
|
991
993
|
idGedFolder: GedFolder.BANK_STATEMENT,
|
|
992
994
|
},
|
|
995
|
+
[TypeFile.ACCOUNTING_CONSISTENCY_CHECK]: {
|
|
996
|
+
typeFile: TypeFile.ACCOUNTING_CONSISTENCY_CHECK,
|
|
997
|
+
name: 'Contrôle de cohérence',
|
|
998
|
+
idGedFolder: GedFolder.FORMALISM,
|
|
999
|
+
},
|
|
1000
|
+
[TypeFile.ACCOUNTING_PREVIEW_PLAQUETTE]: {
|
|
1001
|
+
typeFile: TypeFile.ACCOUNTING_PREVIEW_PLAQUETTE,
|
|
1002
|
+
name: 'Projet',
|
|
1003
|
+
idGedFolder: GedFolder.PREVISIONAL_ANNEX,
|
|
1004
|
+
}
|
|
993
1005
|
};
|