@silexpert/core 1.2.23 → 1.2.24

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 (160) hide show
  1. package/dist/cjs/api/resources/Registration.d.ts +1 -0
  2. package/dist/cjs/api/resources/Registration.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Registration.js +3 -0
  4. package/dist/cjs/api/resources/Registration.js.map +1 -1
  5. package/dist/cjs/api/resources/RegistrationForm.d.ts +6 -0
  6. package/dist/cjs/api/resources/RegistrationForm.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/RegistrationForm.js +11 -0
  8. package/dist/cjs/api/resources/RegistrationForm.js.map +1 -0
  9. package/dist/cjs/api/resources.d.ts +2 -0
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -0
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/Aspone.d.ts +39 -0
  14. package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/Aspone.js +42 -1
  16. package/dist/cjs/types/Enum/Aspone.js.map +1 -1
  17. package/dist/cjs/types/Enum/CerfaType.d.ts +2 -1
  18. package/dist/cjs/types/Enum/CerfaType.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/CerfaType.js +1 -0
  20. package/dist/cjs/types/Enum/CerfaType.js.map +1 -1
  21. package/dist/cjs/types/Enum/GlobalRegime.d.ts.map +1 -1
  22. package/dist/cjs/types/Enum/GlobalRegime.js +47 -0
  23. package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
  24. package/dist/cjs/types/Enum/LegalForm.d.ts +2 -1
  25. package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/LegalForm.js +10 -0
  27. package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +118 -0
  29. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -0
  30. package/dist/cjs/types/Interface/api/cerfa/2069RCI.js +3 -0
  31. package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -0
  32. package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
  33. package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.js +1 -0
  35. package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  36. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +15 -13
  37. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  40. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +6 -0
  42. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/partner/CreatePartner.d.ts +1 -0
  44. package/dist/cjs/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/partner/CreatePartner.js +7 -0
  46. package/dist/cjs/types/Interface/api/partner/CreatePartner.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/partner/UpdatePartner.d.ts +1 -0
  48. package/dist/cjs/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/partner/UpdatePartner.js +7 -0
  50. package/dist/cjs/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -0
  52. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  53. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  54. package/dist/cjs/types/Interface/api/societyConfig/update.d.ts +0 -1
  55. package/dist/cjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
  56. package/dist/cjs/types/Interface/api/societyConfig/update.js +0 -6
  57. package/dist/cjs/types/Interface/api/societyConfig/update.js.map +1 -1
  58. package/dist/cjs/types/Interface/models/IApiError.d.ts +1 -1
  59. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  60. package/dist/cjs/types/Interface/models/IApiError.js +1 -1
  61. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  62. package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +0 -1
  63. package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  64. package/dist/cjs/types/Interface/models/ISocietyConfig.js.map +1 -1
  65. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +3 -1
  66. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  67. package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  68. package/dist/cjs/types/Interface/models/ISocietyPartner.d.ts +1 -0
  69. package/dist/cjs/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  70. package/dist/cjs/types/Interface/models/ISocietyPartner.js.map +1 -1
  71. package/dist/mjs/api/resources/Registration.d.ts +1 -0
  72. package/dist/mjs/api/resources/Registration.d.ts.map +1 -1
  73. package/dist/mjs/api/resources/Registration.js +3 -0
  74. package/dist/mjs/api/resources/Registration.js.map +1 -1
  75. package/dist/mjs/api/resources/RegistrationForm.d.ts +6 -0
  76. package/dist/mjs/api/resources/RegistrationForm.d.ts.map +1 -0
  77. package/dist/mjs/api/resources/RegistrationForm.js +7 -0
  78. package/dist/mjs/api/resources/RegistrationForm.js.map +1 -0
  79. package/dist/mjs/api/resources.d.ts +2 -0
  80. package/dist/mjs/api/resources.d.ts.map +1 -1
  81. package/dist/mjs/api/resources.js +2 -0
  82. package/dist/mjs/api/resources.js.map +1 -1
  83. package/dist/mjs/types/Enum/Aspone.d.ts +39 -0
  84. package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
  85. package/dist/mjs/types/Enum/Aspone.js +41 -0
  86. package/dist/mjs/types/Enum/Aspone.js.map +1 -1
  87. package/dist/mjs/types/Enum/CerfaType.d.ts +2 -1
  88. package/dist/mjs/types/Enum/CerfaType.d.ts.map +1 -1
  89. package/dist/mjs/types/Enum/CerfaType.js +1 -0
  90. package/dist/mjs/types/Enum/CerfaType.js.map +1 -1
  91. package/dist/mjs/types/Enum/GlobalRegime.d.ts.map +1 -1
  92. package/dist/mjs/types/Enum/GlobalRegime.js +47 -0
  93. package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
  94. package/dist/mjs/types/Enum/LegalForm.d.ts +2 -1
  95. package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
  96. package/dist/mjs/types/Enum/LegalForm.js +10 -0
  97. package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
  98. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +118 -0
  99. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -0
  100. package/dist/mjs/types/Interface/api/cerfa/2069RCI.js +2 -0
  101. package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -0
  102. package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
  103. package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  104. package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.js +1 -0
  105. package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  106. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +15 -13
  107. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  108. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  109. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  110. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  111. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +7 -0
  112. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  113. package/dist/mjs/types/Interface/api/partner/CreatePartner.d.ts +1 -0
  114. package/dist/mjs/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
  115. package/dist/mjs/types/Interface/api/partner/CreatePartner.js +8 -0
  116. package/dist/mjs/types/Interface/api/partner/CreatePartner.js.map +1 -1
  117. package/dist/mjs/types/Interface/api/partner/UpdatePartner.d.ts +1 -0
  118. package/dist/mjs/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
  119. package/dist/mjs/types/Interface/api/partner/UpdatePartner.js +8 -0
  120. package/dist/mjs/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  121. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -0
  122. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  123. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  124. package/dist/mjs/types/Interface/api/societyConfig/update.d.ts +0 -1
  125. package/dist/mjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
  126. package/dist/mjs/types/Interface/api/societyConfig/update.js +1 -8
  127. package/dist/mjs/types/Interface/api/societyConfig/update.js.map +1 -1
  128. package/dist/mjs/types/Interface/models/IApiError.d.ts +1 -1
  129. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  130. package/dist/mjs/types/Interface/models/IApiError.js +1 -1
  131. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  132. package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +0 -1
  133. package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  134. package/dist/mjs/types/Interface/models/ISocietyConfig.js.map +1 -1
  135. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +3 -1
  136. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  137. package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  138. package/dist/mjs/types/Interface/models/ISocietyPartner.d.ts +1 -0
  139. package/dist/mjs/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  140. package/dist/mjs/types/Interface/models/ISocietyPartner.js.map +1 -1
  141. package/package.json +1 -1
  142. package/ts/api/resources/Registration.ts +4 -0
  143. package/ts/api/resources/RegistrationForm.ts +8 -0
  144. package/ts/api/resources.ts +2 -0
  145. package/ts/types/Enum/Aspone.ts +41 -0
  146. package/ts/types/Enum/CerfaType.ts +1 -0
  147. package/ts/types/Enum/GlobalRegime.ts +47 -0
  148. package/ts/types/Enum/LegalForm.ts +10 -0
  149. package/ts/types/Interface/api/cerfa/2069RCI.ts +109 -0
  150. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
  151. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +16 -12
  152. package/ts/types/Interface/api/commercialManagement/Create.ts +4 -0
  153. package/ts/types/Interface/api/partner/CreatePartner.ts +5 -0
  154. package/ts/types/Interface/api/partner/UpdatePartner.ts +7 -0
  155. package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -0
  156. package/ts/types/Interface/api/societyConfig/update.ts +1 -6
  157. package/ts/types/Interface/models/IApiError.ts +1 -1
  158. package/ts/types/Interface/models/ISocietyConfig.ts +0 -1
  159. package/ts/types/Interface/models/ISocietyGescom.ts +3 -1
  160. package/ts/types/Interface/models/ISocietyPartner.ts +1 -0
@@ -171,6 +171,7 @@ import { PrevisionalForm } from './resources/PrevisionalForm';
171
171
  import { Refund } from './resources/Refund';
172
172
  import { HumanResourceLibrary } from './resources/HumanResourceLibrary';
173
173
  import { YouSign } from './resources/YouSign';
174
+ import { RegistrationForm } from './resources/RegistrationForm';
174
175
 
175
176
  export const resources = {
176
177
  simulation: Simulation,
@@ -346,4 +347,5 @@ export const resources = {
346
347
  refund: Refund,
347
348
  humanResourceLibrary: HumanResourceLibrary,
348
349
  youSign: YouSign,
350
+ registrationForm: RegistrationForm,
349
351
  };
@@ -75,4 +75,45 @@ export enum AsponeMotorType {
75
75
  HYDROGENE = 'H2',
76
76
  HYBRIDE = 'HEV',
77
77
  ELECTRIQUE = 'EL',
78
+ }
79
+
80
+ export enum AsponeCR5_2024 {
81
+ 'CIC' = 'CIC', // 'Crédit d\'impôt pour la compétitivité et l\'emploi',
82
+ 'MEC' = 'MEC', // 'Réduction d\'impôt au titre du mécénat',
83
+ 'FOR' = 'FOR', // 'Crédit d\'impôt formation des dirigeants d\'entreprise',
84
+ 'RAC' = 'RAC', // 'Crédit d\'impôt pour le rachat d\'une entreprise par ses salariés',
85
+ 'AUD' = 'AUD', // 'Crédit d\'impôt pour dépenses de production d\'oeuvres audiovisuelles',
86
+ 'CIN' = 'CIN', // 'Crédit d\'impôt pour dépenses de production d\'oeuvres cinématographiques',
87
+ 'CCI' = 'CCI', // 'Crédit d\'impôt pour dépenses de production de films et d\'oeuvres audiovisuelles étrangers',
88
+ 'CSV' = 'CSV', // 'Crédit d\'impôt en faveur des entreprises de spectacles vivants musicaux ou de variétés et crédit d’impôt en faveur des représentations théâtrales d’oeuvres dramatiques',
89
+ 'VEL' = 'VEL', // 'Réduction d\'impôt pour mise à disposition d\'une flotte de vélos',
90
+ 'PRE' = 'PRE', // 'Réduction d’impôt pour souscriptions en numéraire au capital des entreprises de presse',
91
+ 'RTD' = 'RTD', // 'Crédit d’impôt en faveur des représentations théâtrales d’œuvres dramatiques',
92
+ 'CPG' = 'CPG', // 'Crédit d’impôt en faveur des entreprises agricoles dans le secteur des cultures permanentes sans glyphosate',
93
+ 'HVE' = 'HVE', // 'Crédit d’impôt en faveur des entreprises agricoles disposant d’une certification d’exploitation à haute valeur environnementale',
94
+ 'COM' = 'COM', // 'Réduction d’impôt collectivités outre-mer',
95
+ 'REB' = 'REB', // 'Crédit d\'impôt rénovation énergétique des bâtiments à usage tertiaire ',
96
+ '2LI' = '2LI', // 'Crédit impôt en faveur des investisseurs institutionnels dans le logement locatif intermédiaire au titre de N',
97
+ '3IV' = '3IV', // 'Crédit d’impôt au titre des investissements dans l’industrie verte',
98
+ 'AUT' = 'AUT', // 'Autres crédits d\'impôts',
99
+ }
100
+
101
+ export enum AsponeCR6_2024 {
102
+ 'COR' = 'COR', // 'Crédit d\'impôt pour investissement en Corse',
103
+ 'CIR' = 'CIR', // 'Crédit d\'impôt en faveur de la recherche',
104
+ 'FAM' = 'FAM', // 'Crédit d\'impôt famille',
105
+ 'BIO' = 'BIO', // 'Crédit d\'impôt en faveur de l\'agriculture biologique',
106
+ 'PHO' = 'PHO', // 'Crédit d\'impôt pour dépenses de production d\'oeuvres phonographiques',
107
+ 'ART' = 'ART', // 'Crédit d\'impôt en faveur des métiers d\'art',
108
+ 'CJV' = 'CJV', // 'Crédit d\'impôt en faveur des créateurs de jeux vidéo',
109
+ 'CPE' = 'CPE', // 'Crédit d\'impôt sur les avances remboursables pour travaux d\'amélioration de la performance énergétique',
110
+ 'PTR' = 'PTR', // 'Crédit d\'impôt prêt à taux zéro renforcé',
111
+ 'COL' = 'COL', // 'Crédit d\'impôt pour investissement outre-mer dans le secteur du logement social',
112
+ 'CIO' = 'CIO', // 'Crédit d\'impôt pour investissement outre-mer dans le secteur productif',
113
+ 'RTA' = 'RTA', // 'Crédit d\'impôt pour remplacement temporaire de l\'exploitant agricole',
114
+ 'PVM' = 'PVM', // 'Crédits d\'impôts afférents aux valeurs mobilières',
115
+ 'CRC' = 'CRC', // 'Crédit impôt recherche collaborative au titre de N ',
116
+ 'EOM' = 'EOM', // 'Crédit d’impôt en faveur des éditeurs d’œuvres musicales',
117
+ 'TZM' = 'TZM', // 'Réduction d’impôt prêt à taux zéro mobilité au titre de N',
118
+ 'AUT' = 'AUT', // 'Autres crédits d\'impôts',
78
119
  }
@@ -18,4 +18,5 @@ export enum CerfaType {
18
18
  CERFA_2571_2023_C = 17,
19
19
  CERFA_2571_2023_D = 18,
20
20
  CERFA_DAS2_2023 = 19,
21
+ CERFA_2069RCI = 20,
21
22
  }
@@ -548,4 +548,51 @@ export const GlobalRegime: GlobalRegimeType = {
548
548
  },
549
549
  ],
550
550
  },
551
+ SCCV: {
552
+ name: 'SCCV',
553
+ id: 11,
554
+ idLegalForms: [LegalForm.SCCV.id],
555
+ choices: [
556
+ {
557
+ name: 'Presta de services (BIC - IR - RS - 2031 & 2033)',
558
+ idActivity: Activity.AUTRES,
559
+ idTaxSystem: TaxSystem.IR,
560
+ profitsType: ProfitsType.BIC,
561
+ idFiscalRegime: FiscalRegime.RS,
562
+ declaration: CerfaType.CERFA_2031,
563
+ annexe: CerfaType.CERFA_2033,
564
+ hidden: false,
565
+ },
566
+ {
567
+ name: 'Presta de services (BIC - IR - RN - 2031 & 2050)',
568
+ idActivity: Activity.AUTRES,
569
+ idTaxSystem: TaxSystem.IR,
570
+ profitsType: ProfitsType.BIC,
571
+ idFiscalRegime: FiscalRegime.RN,
572
+ declaration: CerfaType.CERFA_2031,
573
+ annexe: CerfaType.CERFA_2050,
574
+ hidden: false,
575
+ },
576
+ {
577
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
578
+ idActivity: Activity.AUTRES,
579
+ idTaxSystem: TaxSystem.IS,
580
+ profitsType: ProfitsType.BIC,
581
+ idFiscalRegime: FiscalRegime.RS,
582
+ declaration: CerfaType.CERFA_2065,
583
+ annexe: CerfaType.CERFA_2033,
584
+ hidden: false,
585
+ },
586
+ {
587
+ name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
588
+ idActivity: Activity.AUTRES,
589
+ idTaxSystem: TaxSystem.IS,
590
+ profitsType: ProfitsType.BIC,
591
+ idFiscalRegime: FiscalRegime.RN,
592
+ declaration: CerfaType.CERFA_2065,
593
+ annexe: CerfaType.CERFA_2050,
594
+ hidden: false,
595
+ },
596
+ ],
597
+ },
551
598
  };
@@ -22,6 +22,7 @@ export enum LegalFormTypeEnum {
22
22
  SELASU = 21,
23
23
  SELARLU = 22,
24
24
  LMNP = 23,
25
+ SCCV = 24,
25
26
  }
26
27
 
27
28
  export type LegalFormTypeContent = {
@@ -243,4 +244,13 @@ export const LegalForm: LegalFormType = {
243
244
  individual: true,
244
245
  pappersLabel: 'Loueur en meublé non professionnel',
245
246
  },
247
+ SCCV: {
248
+ id: LegalFormTypeEnum.SCCV,
249
+ name: 'SCCV',
250
+ alias: 'Sccv',
251
+ diaCode: null,
252
+ hideVat: false,
253
+ individual: true,
254
+ pappersLabel: 'Société civile construction vente',
255
+ },
246
256
  };
@@ -0,0 +1,109 @@
1
+ import { AsponeCR5_2024, AsponeCR6_2024 } from '../../../Enum/Aspone';
2
+ import { CerfaAddress } from './ReadCerfa';
3
+
4
+ export type Cerfa2069RCI_2024 = {
5
+ credits: {
6
+ withoutRegistration: {
7
+ '2LI': number | null;
8
+ '3IV': number | null;
9
+ 'AUD': number | null;
10
+ 'CCI': number | null;
11
+ 'CIC': {
12
+ prePay: number | null;
13
+ total: number | null;
14
+ };
15
+ 'CIN': number | null;
16
+ 'COM': number | null;
17
+ 'CPG': number | null;
18
+ 'CSV': number | null;
19
+ 'FOR': number | null;
20
+ 'HVE': number | null;
21
+ 'MEC': {
22
+ donation: number | null;
23
+ federations: number | null;
24
+ notreDameDeParis: number | null;
25
+ total: number | null;
26
+ }
27
+ 'PRE': number | null;
28
+ 'RAC': number | null;
29
+ 'REB': number | null;
30
+ 'RTD': number | null;
31
+ 'VLO': number | null;
32
+ onParticipation: number | null;
33
+ remunerations: {
34
+ mandatory: number | null;
35
+ smic: number | null;
36
+ };
37
+ };
38
+ withRegistration: {
39
+ 'PVM': number | null;
40
+ 'COR': number | null;
41
+ 'CIR': {
42
+ exposedInDOM: number | null;
43
+ total: number | null;
44
+ };
45
+ 'CRC': number | null;
46
+ 'FAM': number | null;
47
+ 'TZM': number | null;
48
+ 'BIO': number | null;
49
+ 'PHO': number | null;
50
+ 'ART': number | null;
51
+ 'CJV': number | null;
52
+ 'EOM': number | null;
53
+ 'CPE': number | null;
54
+ 'PTR': number | null;
55
+ 'RTA': number | null;
56
+ 'CIO': number | null;
57
+ 'COL': number | null;
58
+ }
59
+ };
60
+ declaration: {
61
+ period: {
62
+ startDate: string;
63
+ endDate: string;
64
+ };
65
+ societyInGroup: null | {
66
+ siren: string;
67
+ address: CerfaAddress;
68
+ name: string;
69
+ };
70
+ siren: string | null;
71
+ };
72
+ isNil: boolean;
73
+ isPME: boolean;
74
+ isParentSociety: boolean;
75
+ };
76
+
77
+ export type Cerfa2069RCI_2024_Payload = {
78
+ isParentSociety: boolean;
79
+ parentSociety: null | {
80
+ siren: string;
81
+ name: string;
82
+ address: {
83
+ number: string;
84
+ street: string;
85
+ zipCode: string;
86
+ city: string;
87
+ idCountry: number;
88
+ }
89
+ };
90
+ creditsWithoutRegistration: Array<{ id: AsponeCR5_2024; amount: number; }>
91
+ creditsWithRegistration: Array<{ id: AsponeCR6_2024; amount: number; }>
92
+ isNil: boolean;
93
+ isPME: boolean;
94
+ };
95
+
96
+ export type ReadCerfa2069RCIInputs = {
97
+ withoutRegistrationMandatory: Array<{
98
+ id: AsponeCR5_2024;
99
+ label: string;
100
+ defaultValue?: number | null;
101
+ }>;
102
+ withRegistration: Array<{
103
+ id: AsponeCR6_2024;
104
+ label: string;
105
+ defaultValue?: number | null;
106
+ }>;
107
+ };
108
+
109
+ export type PrepareCerfa2069RCI = { idExercice: number; idSociety: number; values: { cerfa2069RCI: Cerfa2069RCI_2024 } };
@@ -8,6 +8,7 @@ export * from './2050';
8
8
  export * from './2065';
9
9
  export * from './2571';
10
10
  export * from './2572';
11
+ export * from './2069RCI';
11
12
  export * from './Utils';
12
13
 
13
14
  export interface DeterminedResult {
@@ -5,6 +5,7 @@ import {
5
5
  Cerfa2031_2024,
6
6
  Cerfa2065,
7
7
  Cerfa2065_2024,
8
+ Cerfa2069RCI_2024,
8
9
  Cerfa2571_2023,
9
10
  Cerfa2571_2024,
10
11
  Cerfa2572_2022,
@@ -119,20 +120,23 @@ export interface RegistrationPayload {
119
120
  cerfa2033?: AnyCerfa2033Century;
120
121
  cerfa2065?: Cerfa2065 | Cerfa2065_2024;
121
122
  cerfa2035?: FullCerfa2035 | FullCerfa2035_2024;
123
+ cerfa2069RCI?: Cerfa2069RCI_2024;
122
124
  }
123
125
 
126
+ export type ReadFormFile = {
127
+ name: string,
128
+ idFile: number,
129
+ size: number,
130
+ token: string,
131
+ id?: number,
132
+ Location: string,
133
+ ETag: string,
134
+ Bucket: string,
135
+ Key?: string
136
+ mimeType?: string,
137
+ };
138
+
124
139
  export interface ReadFormGeneration {
125
- file: {
126
- name: string,
127
- idFile: number,
128
- size: number,
129
- token: string,
130
- id?: number,
131
- Location: string,
132
- ETag: string,
133
- Bucket: string,
134
- Key?: string
135
- mimeType?: string,
136
- };
140
+ file: ReadFormFile;
137
141
  payload: RegistrationPayload
138
142
  }
@@ -291,6 +291,10 @@ export class CreateCommercialSetting {
291
291
  @IsInt()
292
292
  idRibFile?: number | null;
293
293
 
294
+ @ApiPropertyOptional()
295
+ @IsOptional()
296
+ @IsInt()
297
+ idSignatureFile?: number | null;
294
298
  }
295
299
 
296
300
  export class CreateCommercialMail {
@@ -1,5 +1,6 @@
1
1
  import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';
2
2
  import { ISocietyPartner, PartnerType } from '../../..';
3
+ import { IsNumber, IsOptional } from 'class-validator';
3
4
 
4
5
  export class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {
5
6
  @ApiPropertyOptional()
@@ -19,4 +20,8 @@ export class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccou
19
20
  description: 'You can retrieve the enum Partner Type in @core',
20
21
  })
21
22
  idPartnerType: PartnerType;
23
+ @ApiPropertyOptional()
24
+ @IsNumber()
25
+ @IsOptional()
26
+ maximalAmountForExpense?: number;
22
27
  }
@@ -1,5 +1,6 @@
1
1
  import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';
2
2
  import { ISocietyPartner, PartnerType } from '../../..';
3
+ import { IsNumber, IsOptional } from 'class-validator';
3
4
 
4
5
  export class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {
5
6
  @ApiPropertyOptional()
@@ -19,4 +20,10 @@ export class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccou
19
20
  description: 'You can retrieve the enum Partner Type in @core',
20
21
  })
21
22
  idPartnerType: PartnerType;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsNumber()
26
+ @IsOptional()
27
+ maximalAmountForExpense?: number;
28
+
22
29
  }
@@ -13,6 +13,7 @@ import { Cerfa3519_2017 } from '../cerfa/3519';
13
13
  import { CerfaFormValue } from '../cerfa/ReadCerfa';
14
14
  import { UpdatedAnnotation } from './ReadRegistration';
15
15
  import { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';
16
+ import { Cerfa2069RCI_2024_Payload } from '../cerfa/2069RCI';
16
17
 
17
18
  export class CreateRegistrationSetting {
18
19
  @ApiPropertyOptional()
@@ -70,6 +71,7 @@ export type ForcedValues_2571 = {
70
71
 
71
72
  export type ForcedValues = {
72
73
  cerfa2571?: ForcedValues_2571;
74
+ cerfa2069RCI?: Cerfa2069RCI_2024_Payload;
73
75
  };
74
76
 
75
77
  export class CreateRegistration {
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsNumber, IsOptional } from 'class-validator';
1
+ import { IsBoolean, IsOptional } from 'class-validator';
2
2
  import { ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -20,11 +20,6 @@ export class UpdateSocietyConfig {
20
20
  @ToBoolean()
21
21
  @IsOptional()
22
22
  onCollection?: boolean;
23
-
24
- @ApiPropertyOptional()
25
- @IsNumber()
26
- @IsOptional()
27
- maximalAmountForExpense?: number;
28
23
 
29
24
  @ApiPropertyOptional()
30
25
  @IsOptional()
@@ -193,7 +193,7 @@ export enum Code {
193
193
  INVALID_INVOICE_TYPE = 'invalid_invoice_type',
194
194
 
195
195
  // Expense Notes
196
- LIMIT_MONTH_REACHED = 'limit_month_reached',
196
+ LIMIT_EXERCICE_REACHED = 'limit_exercice_reached',
197
197
  REQUIRED_PARAM_IS_MISSING = 'required_param_is_missing',
198
198
  LIMIT_REACHED = 'limit_reached',
199
199
  }
@@ -6,7 +6,6 @@ export interface ISocietyConfig {
6
6
  disableExport: boolean;
7
7
  noVat: boolean;
8
8
  dateActiveVat?: Date | null;
9
- maximalAmountForExpense?: number | null;
10
9
  logo?: string | null;
11
10
  adjournment: boolean;
12
11
  acceptCgv: boolean;
@@ -63,7 +63,9 @@ export interface ISocietyGescom {
63
63
  externalBorderType?: string | null;
64
64
  externalBorderColor?: string | null;
65
65
  idRibFile?: number | null;
66
- ribFile?: IFile | null;
66
+ idSignatureFile?: number | null;
67
+ ribFile?: IFile
68
+ signatureFile?: IFile;
67
69
  createdAt?: Date | null;
68
70
  updatedAt?: Date | null;
69
71
  }
@@ -10,6 +10,7 @@ export interface ISocietyPartner {
10
10
  siret?: string;
11
11
  fonction: string;
12
12
  soldeInit: number;
13
+ maximalAmountForExpense?: number;
13
14
  idAccount: number;
14
15
  idSociety: number;
15
16
  idPartnerType: PartnerType