@silexpert/core 0.4.142 → 0.4.146

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 (143) hide show
  1. package/es/api/resources/Payment.d.ts +6 -0
  2. package/es/api/resources/Payment.d.ts.map +1 -0
  3. package/es/api/resources/Payment.js +13 -0
  4. package/es/api/resources/Payment.js.map +1 -0
  5. package/es/api/resources/User.d.ts +2 -1
  6. package/es/api/resources/User.d.ts.map +1 -1
  7. package/es/api/resources/User.js +3 -0
  8. package/es/api/resources/User.js.map +1 -1
  9. package/es/api/resources/VatDeclaration.d.ts +3 -0
  10. package/es/api/resources/VatDeclaration.d.ts.map +1 -1
  11. package/es/api/resources/VatDeclaration.js +6 -0
  12. package/es/api/resources/VatDeclaration.js.map +1 -1
  13. package/es/api/resources.d.ts +2 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +2 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/AnswerTypeValue.d.ts +1 -1
  18. package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
  19. package/es/types/Enum/AnswerTypeValue.js +1 -1
  20. package/es/types/Enum/AnswerTypeValue.js.map +1 -1
  21. package/es/types/Enum/BalanceSheetQuestion.d.ts +74 -2
  22. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  23. package/es/types/Enum/BalanceSheetQuestion.js +72 -0
  24. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
  25. package/es/types/Enum/BalanceSheetQuestionWording.d.ts +45 -3
  26. package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  27. package/es/types/Enum/BalanceSheetQuestionWording.js +45 -1
  28. package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  29. package/es/types/Enum/JeDeclare.d.ts +2 -2
  30. package/es/types/Enum/JeDeclare.d.ts.map +1 -1
  31. package/es/types/Enum/JeDeclare.js +2 -2
  32. package/es/types/Enum/JeDeclare.js.map +1 -1
  33. package/es/types/Enum/VatDeclarationType.d.ts +15 -0
  34. package/es/types/Enum/VatDeclarationType.d.ts.map +1 -0
  35. package/es/types/Enum/VatDeclarationType.js +238 -0
  36. package/es/types/Enum/VatDeclarationType.js.map +1 -0
  37. package/es/types/Interface/api/cerfa/2033.d.ts +2 -94
  38. package/es/types/Interface/api/cerfa/2033.d.ts.map +1 -1
  39. package/es/types/Interface/api/cerfa/2033.js +1 -373
  40. package/es/types/Interface/api/cerfa/2033.js.map +1 -1
  41. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +1 -1
  42. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  43. package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  44. package/es/types/Interface/api/cerfa/Utils.d.ts +8 -0
  45. package/es/types/Interface/api/cerfa/Utils.d.ts.map +1 -1
  46. package/es/types/Interface/api/cerfa/Utils.js.map +1 -1
  47. package/es/types/Interface/api/jeDeclare/Util.d.ts +1 -1
  48. package/es/types/Interface/api/jeDeclare/Util.d.ts.map +1 -1
  49. package/es/types/Interface/api/jeDeclare/Util.js.map +1 -1
  50. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts +0 -2
  51. package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts.map +1 -1
  52. package/es/types/Interface/api/jeDeclare/UtilCFONB.js +0 -123
  53. package/es/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
  54. package/es/types/Interface/api/payment/QueryMonthlyPayment.d.ts +4 -0
  55. package/es/types/Interface/api/payment/QueryMonthlyPayment.d.ts.map +1 -0
  56. package/es/types/Interface/api/payment/QueryMonthlyPayment.js +24 -0
  57. package/es/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -0
  58. package/es/types/Interface/api/user/CreateCoworker.d.ts +17 -0
  59. package/es/types/Interface/api/user/CreateCoworker.d.ts.map +1 -0
  60. package/es/types/Interface/api/user/CreateCoworker.js +98 -0
  61. package/es/types/Interface/api/user/CreateCoworker.js.map +1 -0
  62. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.d.ts +10 -0
  63. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.d.ts.map +1 -0
  64. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js +2 -0
  65. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js.map +1 -0
  66. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts +6 -0
  67. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts.map +1 -0
  68. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.js +2 -0
  69. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -0
  70. package/es/types/Interface/models/IApiError.d.ts +1 -0
  71. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  72. package/es/types/Interface/models/IApiError.js +1 -0
  73. package/es/types/Interface/models/IApiError.js.map +1 -1
  74. package/es/types/Interface/models/IUser.d.ts +50 -50
  75. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  76. package/es/types/Interface/models/IUser.js.map +1 -1
  77. package/es/types/index.d.ts +5 -0
  78. package/es/types/index.d.ts.map +1 -1
  79. package/es/types/index.js +5 -0
  80. package/es/types/index.js.map +1 -1
  81. package/es/utils/brands.d.ts +2 -1
  82. package/es/utils/brands.d.ts.map +1 -1
  83. package/es/utils/brands.js +12 -1
  84. package/es/utils/brands.js.map +1 -1
  85. package/js/api/resources/Payment.js +24 -0
  86. package/js/api/resources/Payment.js.map +1 -0
  87. package/js/api/resources/User.js +4 -0
  88. package/js/api/resources/User.js.map +1 -1
  89. package/js/api/resources/VatDeclaration.js +8 -0
  90. package/js/api/resources/VatDeclaration.js.map +1 -1
  91. package/js/api/resources.js +3 -0
  92. package/js/api/resources.js.map +1 -1
  93. package/js/types/Enum/AnswerTypeValue.js +1 -1
  94. package/js/types/Enum/AnswerTypeValue.js.map +1 -1
  95. package/js/types/Enum/BalanceSheetQuestion.js +73 -0
  96. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
  97. package/js/types/Enum/BalanceSheetQuestionWording.js +52 -2
  98. package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  99. package/js/types/Enum/JeDeclare.js +2 -2
  100. package/js/types/Enum/JeDeclare.js.map +1 -1
  101. package/js/types/Enum/VatDeclarationType.js +234 -0
  102. package/js/types/Enum/VatDeclarationType.js.map +1 -0
  103. package/js/types/Interface/api/cerfa/2033.js +0 -186
  104. package/js/types/Interface/api/cerfa/2033.js.map +1 -1
  105. package/js/types/Interface/api/jeDeclare/UtilCFONB.js +0 -128
  106. package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
  107. package/js/types/Interface/api/payment/QueryMonthlyPayment.js +34 -0
  108. package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -0
  109. package/js/types/Interface/api/user/CreateCoworker.js +57 -0
  110. package/js/types/Interface/api/user/CreateCoworker.js.map +1 -0
  111. package/js/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js +6 -0
  112. package/js/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js.map +1 -0
  113. package/js/types/Interface/api/vatDeclaration/ResultFormatToEntries.js +6 -0
  114. package/js/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -0
  115. package/js/types/Interface/models/IApiError.js +2 -1
  116. package/js/types/Interface/models/IApiError.js.map +1 -1
  117. package/js/types/index.js +60 -0
  118. package/js/types/index.js.map +1 -1
  119. package/js/utils/brands.js +10 -1
  120. package/js/utils/brands.js.map +1 -1
  121. package/package.json +1 -1
  122. package/ts/api/resources/Payment.ts +14 -0
  123. package/ts/api/resources/User.ts +4 -1
  124. package/ts/api/resources/VatDeclaration.ts +9 -1
  125. package/ts/api/resources.ts +2 -0
  126. package/ts/types/Enum/AnswerTypeValue.ts +1 -1
  127. package/ts/types/Enum/BalanceSheetQuestion.ts +77 -0
  128. package/ts/types/Enum/BalanceSheetQuestionWording.ts +56 -1
  129. package/ts/types/Enum/JeDeclare.ts +2 -2
  130. package/ts/types/Enum/VatDeclarationType.ts +253 -0
  131. package/ts/types/Interface/api/cerfa/2033.ts +3 -281
  132. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -1
  133. package/ts/types/Interface/api/cerfa/Utils.ts +10 -0
  134. package/ts/types/Interface/api/jeDeclare/Util.ts +1 -1
  135. package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +0 -126
  136. package/ts/types/Interface/api/payment/QueryMonthlyPayment.ts +13 -0
  137. package/ts/types/Interface/api/user/CreateCoworker.ts +76 -0
  138. package/ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts +9 -0
  139. package/ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts +5 -0
  140. package/ts/types/Interface/models/IApiError.ts +1 -0
  141. package/ts/types/Interface/models/IUser.ts +50 -50
  142. package/ts/types/index.ts +5 -0
  143. package/ts/utils/brands.ts +9 -1
@@ -1,4 +1,4 @@
1
- import { ApiPropertyOptional, ApiProperty } from '../../../..';
1
+ import { ApiPropertyOptional } from '../../../..';
2
2
  import { PhysicShareholder, MoralShareholder, Subsidiarie } from './CreateCerfa';
3
3
 
4
4
  export class Cerfa2033Society {
@@ -294,7 +294,7 @@ export type Cerfa2033ProvisionMovesDotationsAndRevivals = {
294
294
  };
295
295
 
296
296
  export type Cerfa2033ProvisionMovesVentilation = {
297
- label: number;
297
+ label: string;
298
298
  amount: number;
299
299
  };
300
300
 
@@ -399,6 +399,7 @@ export interface Cerfa2033ShareCapital {
399
399
 
400
400
  export interface Cerfa2033 {
401
401
  isNil: boolean;
402
+ isPageBNil: boolean;
402
403
  isPageCNil: boolean;
403
404
  isPageDNil: boolean;
404
405
  society: Cerfa2033Society;
@@ -445,283 +446,4 @@ export interface Cerfa2033 {
445
446
  export class ParamsGenerate2033 {
446
447
  @ApiPropertyOptional({ description: 'Modifie le chemin du PDF' })
447
448
  isTest?: boolean;
448
-
449
- @ApiProperty()
450
- isNil: boolean; // Néant
451
-
452
- @ApiPropertyOptional()
453
- equityOtherReservePurchaseOfOriginalWorks?: number | null; // Passif > Capitaux propres > Autres réserves (ligne 131)
454
-
455
- @ApiPropertyOptional()
456
- referralFixedAssets?: number | null; // Passif > Renvois > Dont immobilisations financières à moins d'un an (ligne 193)
457
-
458
- @ApiPropertyOptional()
459
- referralDebtsMoreThanOneYear?: number | null; // Passif > Renvois > Dont immobilisations financières à moins d'un an (ligne 195)
460
-
461
- @ApiPropertyOptional()
462
- referralClaims?: number | null; // Passif > Renvois > Dont immobilisations financières à moins d'un an (ligne 197)
463
-
464
- @ApiPropertyOptional()
465
- saleOfMerchandiseExport?: number | null; // Résultat comptable > Produits d'exploitation > Ventes de marchandises > Dont export (ligne 209)
466
-
467
- @ApiPropertyOptional()
468
- saleOfProductionGoodsExport?: number | null; // Résultat comptable > Produits d'exploitation > Production vendue - biens > Dont export (ligne 215)
469
-
470
- @ApiPropertyOptional()
471
- saleOfProductionServicesExport?: number | null; // Résultat comptable > Produits d'exploitation > Production vendue - services > Dont export (ligne 217)
472
-
473
- @ApiPropertyOptional()
474
- otherExpensesProvisions?: number | null; // Résultat comptable > Charges d'exploitation > Autres charges > dont provisions fiscales pour implantations commerciales à l'étranger (ligne 259)
475
-
476
- @ApiPropertyOptional()
477
- otherExpensesCotisations?: number | null; // Résultat comptable > Charges d'exploitation > Autres charges > dont provisions fiscales pour implantations commerciales à l'étranger (ligne 260)
478
-
479
- @ApiPropertyOptional()
480
- exceptionalExpensesSubscriptions?: number | null; // Résultat d'exploitation > Charges exceptionnelles > dont amortissements des souscriptions
481
-
482
- @ApiPropertyOptional()
483
- exceptionalExpensesExceptional?: number | null; // Résultat d'exploitation > Charges exceptionnelles > dont amortissements exceptionnels
484
-
485
- @ApiPropertyOptional()
486
- reinstatementsRemuneration?: number | null; // Résultat fiscal > Rémunérations et avantages personnels non déductibles (ligne 316)
487
-
488
- @ApiPropertyOptional()
489
- reinstatementsAmortizations?: number | null; // Résultat fiscal > Amortissements excédentaires (art. 39-4 du CGI) et autres amortissements non déductibles (ligne 318)
490
-
491
- @ApiPropertyOptional()
492
- reinstatementsProvisions?: number | null; // Résultat fiscal > Provisions non déductibles (ligne 322)
493
-
494
- @ApiPropertyOptional()
495
- reinstatementsDiverse?: number | null; // Résultat fiscal > Réintégrations (ligne 247)
496
-
497
- @ApiPropertyOptional()
498
- reinstatementsDeviations?: number | null; // Résultat fiscal > Réintégrations (ligne 248)
499
-
500
- @ApiPropertyOptional()
501
- reinstatementsShareOfRent?: number | null; // Résultat fiscal > Réintégrations (ligne )
502
-
503
- @ApiPropertyOptional()
504
- reinstatementsFractionOfRents?: number | null; // Résultat fiscal > Réintégrations (ligne 249)
505
-
506
- @ApiPropertyOptional()
507
- reinstatementsRelatedCharges?: number | null; // Résultat fiscal > Réintégrations (ligne 998)
508
-
509
- @ApiPropertyOptional()
510
- reinstatementsFiscalResult?: number | null; // Résultat fiscal > Réintégrations (ligne 999)
511
-
512
- @ApiPropertyOptional()
513
- maritimeTransportDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 997)
514
-
515
- @ApiPropertyOptional()
516
- newBusinessDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 986)
517
-
518
- @ApiPropertyOptional()
519
- ZFUDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 987)
520
-
521
- @ApiPropertyOptional()
522
- difficultBusinessDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 981)
523
-
524
- @ApiPropertyOptional()
525
- JEIDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 989)
526
-
527
- @ApiPropertyOptional()
528
- ZRDDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 127)
529
-
530
- @ApiPropertyOptional()
531
- ZRRDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 138)
532
-
533
- @ApiPropertyOptional()
534
- revitalizeDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 991)
535
-
536
- @ApiPropertyOptional()
537
- overseasInvestmentDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 344)
538
-
539
- @ApiPropertyOptional()
540
- ZFANGDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 345)
541
-
542
- @ApiPropertyOptional()
543
- BUDDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 992)
544
-
545
- @ApiPropertyOptional()
546
- priorityDevelopmentDeduction?: number | null; // Résultat fiscal > Déductions > ( ligne 993)
547
-
548
- @ApiPropertyOptional()
549
- diverseDebts?: number | null; // Résultat fiscal > Divers
550
-
551
- @ApiPropertyOptional()
552
- exceptionalDeduction?: number | null; // Résultat fiscal > Divers
553
-
554
- @ApiPropertyOptional()
555
- exceptionalDeductionA?: number | null; // Résultat fiscal > Divers
556
-
557
- @ApiPropertyOptional()
558
- exceptionalDeductionB?: number | null; // Résultat fiscal > Divers
559
-
560
- @ApiPropertyOptional()
561
- exceptionalDeductionC?: number | null; // Résultat fiscal > Divers
562
-
563
- @ApiPropertyOptional()
564
- exceptionalDeductionD?: number | null; // Résultat fiscal > Divers
565
-
566
- @ApiPropertyOptional()
567
- exceptionalDeductionE?: number | null; // Résultat fiscal > Divers
568
-
569
- @ApiPropertyOptional()
570
- exceptionalDeductionF?: number | null; // Résultat fiscal > Divers
571
-
572
- @ApiPropertyOptional()
573
- exceptionalDeductionG?: number | null; // Résultat fiscal > Divers
574
-
575
- @ApiPropertyOptional()
576
- deficitsExercise?: number | null; // Déficit de l'exercice reporté en arrière
577
-
578
- @ApiPropertyOptional()
579
- deficitsReportable?: number | null; // Déficits antérieurs reportables
580
-
581
- @ApiPropertyOptional()
582
- deficitsImputed?: number | null; // dont imputés sur le résultat
583
-
584
- @ApiPropertyOptional()
585
- addedValueNatures?: string[]; // Nature des immobilisations cédées virées de poste à poste, mise hors service ou réintégrées dans le patrimoine privé
586
-
587
- @ApiPropertyOptional()
588
- majorationsBeginingAmount?: number;
589
-
590
- @ApiPropertyOptional()
591
- majorationsIncreases?: number;
592
-
593
- @ApiPropertyOptional()
594
- majorationsDiminution?: number;
595
-
596
- @ApiPropertyOptional()
597
- provisionsMovesBodilyDotations?: number;
598
-
599
- @ApiPropertyOptional()
600
- provisionsMovesBodilyRevivals?: number;
601
-
602
- @ApiPropertyOptional()
603
- provisionsMovesBodilyAmount?: number;
604
-
605
- @ApiPropertyOptional()
606
- provisionsMovesLandDotations?: number;
607
-
608
- @ApiPropertyOptional()
609
- provisionsMovesLandRevivals?: number;
610
-
611
- @ApiPropertyOptional()
612
- provisionsMovesLandLabel?: number;
613
-
614
- @ApiPropertyOptional()
615
- provisionsMovesLandAmount?: number;
616
-
617
- @ApiPropertyOptional()
618
- provisionsMovesConstructionsDotations?: number;
619
-
620
- @ApiPropertyOptional()
621
- provisionsMovesConstructionsRevivals?: number;
622
-
623
- @ApiPropertyOptional()
624
- provisionsMovesConstructionsLabel?: number;
625
-
626
- @ApiPropertyOptional()
627
- provisionsMovesConstructionsAmount?: number;
628
-
629
- @ApiPropertyOptional()
630
- provisionsMovesTechicalInstallationsDotations?: number;
631
-
632
- @ApiPropertyOptional()
633
- provisionsMovesTechicalInstallationsRevivals?: number;
634
-
635
- @ApiPropertyOptional()
636
- provisionsMovesTechicalInstallationsLabel?: number;
637
-
638
- @ApiPropertyOptional()
639
- provisionsMovesTechicalInstallationsAmount?: number;
640
-
641
- @ApiPropertyOptional()
642
- provisionsMovesGeneralInstallationsDotations?: number;
643
-
644
- @ApiPropertyOptional()
645
- provisionsMovesGeneralInstallationsRevivals?: number;
646
-
647
- @ApiPropertyOptional()
648
- provisionsMovesGeneralInstallationsLabel?: number;
649
-
650
- @ApiPropertyOptional()
651
- provisionsMovesGeneralInstallationsAmount?: number;
652
-
653
- @ApiPropertyOptional()
654
- provisionsMovesEquipmentTransactionDotations?: number;
655
-
656
- @ApiPropertyOptional()
657
- provisionsMovesEquipmentTransactionRevivals?: number;
658
-
659
- @ApiPropertyOptional()
660
- provisionsMovesEquipmentTransactionLabel?: number;
661
-
662
- @ApiPropertyOptional()
663
- provisionsMovesEquipmentTransactionAmount?: number;
664
-
665
- @ApiPropertyOptional()
666
- provisionsMovesOtherDotations?: number;
667
-
668
- @ApiPropertyOptional()
669
- provisionsMovesOtherRevivals?: number;
670
-
671
- @ApiPropertyOptional()
672
- provisionsMovesOtherLabel?: number;
673
-
674
- @ApiPropertyOptional()
675
- provisionsMovesOtherAmount?: number;
676
-
677
- @ApiPropertyOptional()
678
- ventilations?: Cerfa2033ProvisionMovesVentilation[];
679
-
680
- @ApiPropertyOptional()
681
- applicationDeficitsResult?: number;
682
-
683
- @ApiPropertyOptional()
684
- applicationDeficitsStranger?: number;
685
-
686
- @ApiPropertyOptional()
687
- applicationDeficitsDeductible?: number;
688
-
689
- @ApiPropertyOptional()
690
- applicationDeficitsCotisations?: number;
691
-
692
- @ApiPropertyOptional()
693
- applicationDeficitsTotal?: number;
694
-
695
- @ApiPropertyOptional()
696
- cotisationsDeductible?: number;
697
-
698
- @ApiPropertyOptional()
699
- cotisationsTotal?: number;
700
-
701
- @ApiPropertyOptional()
702
- approvedManagementCenter?: number;
703
-
704
- @ApiPropertyOptional()
705
- vatCollected?: number;
706
-
707
- @ApiPropertyOptional()
708
- vatDeductible?: number;
709
-
710
- @ApiPropertyOptional()
711
- specimens?: number;
712
-
713
- @ApiPropertyOptional()
714
- aidReceived?: number;
715
-
716
- @ApiPropertyOptional()
717
- investment?: number;
718
-
719
- @ApiPropertyOptional()
720
- reportableDeficitsTransferred?: number;
721
-
722
- @ApiPropertyOptional()
723
- reportableDeficitsOperations?: number;
724
-
725
- @ApiPropertyOptional()
726
- deductionsDiverseTotal?: number;
727
449
  }
@@ -47,7 +47,8 @@ export interface CerfaAddress {
47
47
  }
48
48
 
49
49
  export type CerfaAnswers = {
50
- [key in keyof typeof QuestionWording | keyof typeof Question | 'OTHER_TAX_DEDUCTION_AMOUNT_1' | 'OTHER_TAX_DEDUCTION_AMOUNT_2'| 'OTHER_TAX_DEDUCTION_AMOUNT_3' | 'OTHER_TAX_DEDUCTION_AMOUNT_4'| 'OTHER_TAX_DEDUCTION_AMOUNT_5' | 'OTHER_ADDITION_AMOUNT_1' | 'OTHER_ADDITION_AMOUNT_2' | 'OTHER_ADDITION_AMOUNT_3' | 'OTHER_ADDITION_AMOUNT_4' | 'OTHER_ADDITION_AMOUNT_5' | '39_DECIES' | '39_DECIES_A' | '39_DECIES_B' | '39_DECIES_C' | '39_DECIES_D' | '39_DECIES_E' | '39_DECIES_F' | '39_DECIES_G']: any
50
+ [key in keyof typeof QuestionWording
51
+ | keyof typeof Question]: any
51
52
  };
52
53
 
53
54
  export type Termination = {
@@ -81,3 +81,13 @@ export interface LabelAndAmount {
81
81
  amount: number;
82
82
  label: string;
83
83
  }
84
+
85
+ export interface OtherAllocation {
86
+ amount: number;
87
+ label: string;
88
+ }
89
+
90
+ export interface ImmobilizationSelected {
91
+ id: number;
92
+ label: string;
93
+ }
@@ -50,7 +50,7 @@ type UsableBankStatementTransaction = {
50
50
 
51
51
  type BankStatementData = {
52
52
  balance: number;
53
- dateBalance?: string;
53
+ dateBalance: string;
54
54
  };
55
55
 
56
56
  export type UsableBankStatement = {
@@ -1,5 +1,3 @@
1
- import { AmountType } from './Util';
2
-
3
1
  export const CFONB_START_LINE = 0;
4
2
  export const CFONB_START_LINE_LENGTH = 2;
5
3
  export const CFFONB_LINE_LENGHT = 120;
@@ -260,128 +258,4 @@ export function initializeCFONBStructreObject(structure:CFONBStructureObejct): {
260
258
  object = { ...(object ? { ...object, [key]: null } : { [key]: null }) };
261
259
  });
262
260
  return object;
263
- }
264
-
265
- export function codeInterbankToTypeAmount(code: string | null): AmountType {
266
- switch (code) {
267
- case '02':
268
- case '04':
269
- case '05':
270
- case '12':
271
- case '13':
272
- case '15':
273
- case '16':
274
- case '17':
275
- case '18':
276
- case '24':
277
- case '25':
278
- case '30':
279
- case '31':
280
- case '32':
281
- case '35':
282
- case '37':
283
- case '39':
284
- case '40':
285
- case '45':
286
- case '47':
287
- case '49':
288
- case '54':
289
- case '57':
290
- case '59':
291
- case '63':
292
- case '69':
293
- case '71':
294
- case '73':
295
- case '74':
296
- case '77':
297
- case '78':
298
- case '81':
299
- case '85':
300
- case '87':
301
- case '89':
302
- case '94':
303
- case '97':
304
- case 'A1':
305
- case 'A2':
306
- case 'A3':
307
- case 'A4':
308
- case 'B5':
309
- case 'B6':
310
- case 'C2':
311
- case 'C3':
312
- case 'C5':
313
- return 'credit';
314
- case '01':
315
- case '03':
316
- case '06':
317
- case '07':
318
- case '08':
319
- case '10':
320
- case '14':
321
- case '19':
322
- case '20':
323
- case '21':
324
- case '22':
325
- case '23':
326
- case '26':
327
- case '27':
328
- case '28':
329
- case '29':
330
- case '33':
331
- case '36':
332
- case '38':
333
- case '44':
334
- case '46':
335
- case '48':
336
- case '50':
337
- case '53':
338
- case '56':
339
- case '58':
340
- case '62':
341
- case '64':
342
- case '65':
343
- case '66':
344
- case '67':
345
- case '68':
346
- case '70':
347
- case '72':
348
- case '75':
349
- case '76':
350
- case '79':
351
- case '80':
352
- case '84':
353
- case '88':
354
- case '90':
355
- case '95':
356
- case '96':
357
- case '98':
358
- case 'A5':
359
- case 'A6':
360
- case 'B1':
361
- case 'B2':
362
- case 'B3':
363
- case 'B4':
364
- case 'C1':
365
- case 'C4':
366
- return 'debit';
367
- // here we have a problème to infer the symbol for amount, because all this code have credit and debit. for now it will match credit when infering the amount in
368
- // transformData function
369
- case '11':
370
- case '34':
371
- case '41':
372
- case '42':
373
- case '43':
374
- case '52':
375
- case '55':
376
- case '61':
377
- case '82':
378
- case '83':
379
- case '91':
380
- case '92':
381
- case '93':
382
- case '99':
383
- return 'neutral';
384
- default:
385
- return 'unknown';
386
- }
387
261
  }
@@ -0,0 +1,13 @@
1
+ import { IsDefined } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class QueryMonthlyPayment {
5
+ @IsDefined()
6
+ @ApiProperty({
7
+ description: 'date of the month',
8
+ required: true,
9
+ type: Date,
10
+ example: '2022-03',
11
+ })
12
+ dateMonth: Date;
13
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ IsBoolean, IsDate, IsDefined, IsEmail, IsNumber, IsOptional, IsPhoneNumber, IsString, IsUrl,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
5
+
6
+ export class CreateCoworker {
7
+ @ApiProperty()
8
+ @IsDefined()
9
+ @IsString()
10
+ firstname: string;
11
+
12
+ @ApiProperty()
13
+ @IsDefined()
14
+ @IsString()
15
+ lastname: string;
16
+
17
+ @ApiProperty()
18
+ @IsDefined()
19
+ @IsEmail()
20
+ email: string;
21
+
22
+ @ApiProperty()
23
+ @IsDefined()
24
+ @IsString()
25
+ username: string;
26
+
27
+ @ApiProperty()
28
+ @IsDefined()
29
+ @IsString()
30
+ password: string;
31
+
32
+ @ApiProperty()
33
+ @IsDefined()
34
+ @IsPhoneNumber()
35
+ phone: string;
36
+
37
+ @ApiPropertyOptional()
38
+ @IsOptional()
39
+ @IsNumber()
40
+ idCivility?: number;
41
+
42
+ @ApiProperty({ default: true })
43
+ @IsDefined()
44
+ @IsBoolean()
45
+ active: boolean;
46
+
47
+ @ApiPropertyOptional()
48
+ @IsOptional()
49
+ @IsUrl()
50
+ calendlyUrl?: string;
51
+
52
+ @ApiPropertyOptional()
53
+ @IsOptional()
54
+ @IsString()
55
+ positionLabel?: string;
56
+
57
+ @ApiPropertyOptional()
58
+ @IsOptional()
59
+ @IsBoolean()
60
+ apprentice?: boolean;
61
+
62
+ @ApiPropertyOptional()
63
+ @IsOptional()
64
+ @IsDate()
65
+ birthdate?: Date;
66
+
67
+ @ApiPropertyOptional()
68
+ @IsOptional()
69
+ @IsDate()
70
+ arrivalDate?: Date;
71
+
72
+ @ApiPropertyOptional()
73
+ @IsOptional()
74
+ @IsDate()
75
+ confirmedAt?: Date;
76
+ }
@@ -0,0 +1,9 @@
1
+ export interface ReadVatVariousOperations {
2
+ debit: number,
3
+ credit: number,
4
+ master: boolean,
5
+ designation: string,
6
+ dateValue: Date,
7
+ idAccount?: number,
8
+ idThirdParty?: number,
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface ResultFormatToEntries {
2
+ name: string,
3
+ number: number,
4
+ amount: number
5
+ }
@@ -113,6 +113,7 @@ export enum Code {
113
113
  userEmailAlreadyExist = 'user-username-already-exists',
114
114
  userPhoneAlreadyExist = 'user-phone-already-exists',
115
115
  couldNotFindUser = 'could-not-find-user',
116
+ wrongBrandEmail = 'wrong-brand-email',
116
117
 
117
118
  // Cerfa
118
119
  civilityNotFound = 'civility_not_found',