@silexpert/core 1.3.131-2 → 1.3.131-4

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 (473) hide show
  1. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +10 -0
  2. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
  4. package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
  5. package/dist/cjs/api/resources/Checklist.d.ts +29 -1
  6. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Checklist.js +47 -0
  8. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  9. package/dist/cjs/api/resources/DashboardLayout.d.ts +9 -0
  10. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -0
  11. package/dist/cjs/api/resources/DashboardLayout.js +20 -0
  12. package/dist/cjs/api/resources/DashboardLayout.js.map +1 -0
  13. package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
  14. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
  15. package/dist/cjs/api/resources/DocumentRequest.js +23 -0
  16. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
  17. package/dist/cjs/api/resources/Exercice.d.ts +1 -0
  18. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Exercice.js +3 -0
  20. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  21. package/dist/cjs/api/resources/Mfa.d.ts +3 -0
  22. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  23. package/dist/cjs/api/resources/Mfa.js +4 -0
  24. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  25. package/dist/cjs/api/resources/Payment.d.ts +3 -2
  26. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  27. package/dist/cjs/api/resources/Payment.js +3 -0
  28. package/dist/cjs/api/resources/Payment.js.map +1 -1
  29. package/dist/cjs/api/resources/Registration.js +1 -1
  30. package/dist/cjs/api/resources/Registration.js.map +1 -1
  31. package/dist/cjs/api/resources/Team.d.ts +21 -1
  32. package/dist/cjs/api/resources/Team.d.ts.map +1 -1
  33. package/dist/cjs/api/resources/Team.js +26 -0
  34. package/dist/cjs/api/resources/Team.js.map +1 -1
  35. package/dist/cjs/api/resources.d.ts +6 -0
  36. package/dist/cjs/api/resources.d.ts.map +1 -1
  37. package/dist/cjs/api/resources.js +6 -0
  38. package/dist/cjs/api/resources.js.map +1 -1
  39. package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
  40. package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Aspone.js +11 -1
  42. package/dist/cjs/types/Enum/Aspone.js.map +1 -1
  43. package/dist/cjs/types/Enum/BalanceSheet.d.ts +66 -0
  44. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  45. package/dist/cjs/types/Enum/BalanceSheet.js +136 -69
  46. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  47. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  48. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  49. package/dist/cjs/types/Enum/BalanceSheetQuestion.js +62 -0
  50. package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  51. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  52. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  53. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  54. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  55. package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
  56. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  57. package/dist/cjs/types/Enum/ChecklistType.js +8 -0
  58. package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
  59. package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
  60. package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
  61. package/dist/cjs/types/Enum/DashboardBlock.d.ts +13 -0
  62. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  63. package/dist/cjs/types/Enum/DashboardBlock.js +17 -0
  64. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -0
  65. package/dist/cjs/types/Enum/Ged.d.ts +31 -1
  66. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  67. package/dist/cjs/types/Enum/Ged.js +152 -5
  68. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  69. package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
  70. package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
  71. package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
  72. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  73. package/dist/cjs/types/Enum/IncomeStatement.js +74 -41
  74. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  75. package/dist/cjs/types/Enum/LegalForm.d.ts +1 -0
  76. package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
  77. package/dist/cjs/types/Enum/LegalForm.js +39 -4
  78. package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
  79. package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
  80. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  81. package/dist/cjs/types/Enum/MailAuto.js +1 -0
  82. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  83. package/dist/cjs/types/Enum/PrestationType.d.ts +8 -1
  84. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  85. package/dist/cjs/types/Enum/PrestationType.js +162 -15
  86. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  87. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
  88. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  89. package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
  90. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  91. package/dist/cjs/types/Enum/ZoneCode.js +7 -0
  92. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +24 -0
  94. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  95. package/dist/cjs/types/Interface/api/DashboardLayout.js +3 -0
  96. package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -0
  97. package/dist/cjs/types/Interface/api/OnBoarding.d.ts +1 -0
  98. package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  99. package/dist/cjs/types/Interface/api/OnBoarding.js +6 -0
  100. package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
  101. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  102. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  105. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  106. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
  107. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  108. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  109. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  110. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  111. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  112. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
  114. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  115. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  116. package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
  117. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  118. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  119. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  120. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +6 -0
  121. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  122. package/dist/cjs/types/Interface/api/checklist/Query.js +20 -1
  123. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  124. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
  125. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  126. package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
  127. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  128. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  129. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  130. package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
  131. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  132. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  133. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  134. package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
  135. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  136. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  137. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  138. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +3 -0
  139. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  140. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  141. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  142. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
  143. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  144. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  145. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  146. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  147. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  148. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  149. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -2
  150. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  151. package/dist/cjs/types/Interface/api/payment/Params.d.ts +4 -0
  152. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  153. package/dist/cjs/types/Interface/api/payment/Params.js +18 -1
  154. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  155. package/dist/cjs/types/Interface/api/payment/Util.d.ts +0 -2
  156. package/dist/cjs/types/Interface/api/payment/Util.d.ts.map +1 -1
  157. package/dist/cjs/types/Interface/api/payment/Util.js.map +1 -1
  158. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  159. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  160. package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  161. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +8 -6
  162. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  163. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  164. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
  165. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
  166. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js +38 -0
  167. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
  168. package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
  169. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  170. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  171. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  172. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  173. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  174. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  175. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  176. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  177. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  178. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  179. package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
  180. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  181. package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
  182. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  183. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  184. package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  185. package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
  186. package/dist/cjs/types/index.d.ts +7 -0
  187. package/dist/cjs/types/index.d.ts.map +1 -1
  188. package/dist/cjs/types/index.js +7 -0
  189. package/dist/cjs/types/index.js.map +1 -1
  190. package/dist/cjs/utils/payment.js +54 -50
  191. package/dist/cjs/utils/payment.js.map +1 -1
  192. package/dist/cjs/utils/prestation.d.ts +1 -0
  193. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  194. package/dist/cjs/utils/prestation.js +1 -0
  195. package/dist/cjs/utils/prestation.js.map +1 -1
  196. package/dist/cjs/utils/tests/payment.spec.js +33 -33
  197. package/dist/cjs/utils/tests/payment.spec.js.map +1 -1
  198. package/dist/cjs/utils/vat/3310/century25.js +1 -1
  199. package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
  200. package/dist/cjs/utils/vat/3517/century25.js +1 -1
  201. package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
  202. package/dist/cjs/utils/vat/utils.js +3 -3
  203. package/dist/cjs/utils/vat/utils.js.map +1 -1
  204. package/dist/cjs/utils/webmail.d.ts.map +1 -1
  205. package/dist/cjs/utils/webmail.js +4 -3
  206. package/dist/cjs/utils/webmail.js.map +1 -1
  207. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
  208. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  209. package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
  210. package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
  211. package/dist/mjs/api/resources/Checklist.d.ts +29 -1
  212. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  213. package/dist/mjs/api/resources/Checklist.js +47 -0
  214. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  215. package/dist/mjs/api/resources/DashboardLayout.d.ts +9 -0
  216. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -0
  217. package/dist/mjs/api/resources/DashboardLayout.js +16 -0
  218. package/dist/mjs/api/resources/DashboardLayout.js.map +1 -0
  219. package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
  220. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
  221. package/dist/mjs/api/resources/DocumentRequest.js +27 -0
  222. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
  223. package/dist/mjs/api/resources/Exercice.d.ts +1 -0
  224. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  225. package/dist/mjs/api/resources/Exercice.js +3 -0
  226. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  227. package/dist/mjs/api/resources/Mfa.d.ts +3 -0
  228. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  229. package/dist/mjs/api/resources/Mfa.js +4 -0
  230. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  231. package/dist/mjs/api/resources/Payment.d.ts +3 -2
  232. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  233. package/dist/mjs/api/resources/Payment.js +3 -0
  234. package/dist/mjs/api/resources/Payment.js.map +1 -1
  235. package/dist/mjs/api/resources/Registration.js +1 -1
  236. package/dist/mjs/api/resources/Registration.js.map +1 -1
  237. package/dist/mjs/api/resources/Team.d.ts +21 -1
  238. package/dist/mjs/api/resources/Team.d.ts.map +1 -1
  239. package/dist/mjs/api/resources/Team.js +26 -0
  240. package/dist/mjs/api/resources/Team.js.map +1 -1
  241. package/dist/mjs/api/resources.d.ts +6 -0
  242. package/dist/mjs/api/resources.d.ts.map +1 -1
  243. package/dist/mjs/api/resources.js +6 -0
  244. package/dist/mjs/api/resources.js.map +1 -1
  245. package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
  246. package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
  247. package/dist/mjs/types/Enum/Aspone.js +10 -0
  248. package/dist/mjs/types/Enum/Aspone.js.map +1 -1
  249. package/dist/mjs/types/Enum/BalanceSheet.d.ts +66 -0
  250. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  251. package/dist/mjs/types/Enum/BalanceSheet.js +135 -68
  252. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  253. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  254. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  255. package/dist/mjs/types/Enum/BalanceSheetQuestion.js +62 -0
  256. package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  257. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  258. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  259. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  260. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  261. package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
  262. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  263. package/dist/mjs/types/Enum/ChecklistType.js +8 -0
  264. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  265. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  266. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  267. package/dist/mjs/types/Enum/DashboardBlock.d.ts +13 -0
  268. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  269. package/dist/mjs/types/Enum/DashboardBlock.js +14 -0
  270. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -0
  271. package/dist/mjs/types/Enum/Ged.d.ts +31 -1
  272. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  273. package/dist/mjs/types/Enum/Ged.js +151 -4
  274. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  275. package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
  276. package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
  277. package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
  278. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  279. package/dist/mjs/types/Enum/IncomeStatement.js +73 -40
  280. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  281. package/dist/mjs/types/Enum/LegalForm.d.ts +1 -0
  282. package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
  283. package/dist/mjs/types/Enum/LegalForm.js +39 -4
  284. package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
  285. package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
  286. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  287. package/dist/mjs/types/Enum/MailAuto.js +1 -0
  288. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  289. package/dist/mjs/types/Enum/PrestationType.d.ts +8 -1
  290. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  291. package/dist/mjs/types/Enum/PrestationType.js +162 -15
  292. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  293. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
  294. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  295. package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
  296. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  297. package/dist/mjs/types/Enum/ZoneCode.js +7 -0
  298. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  299. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +24 -0
  300. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  301. package/dist/mjs/types/Interface/api/DashboardLayout.js +2 -0
  302. package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -0
  303. package/dist/mjs/types/Interface/api/OnBoarding.d.ts +1 -0
  304. package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  305. package/dist/mjs/types/Interface/api/OnBoarding.js +7 -0
  306. package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
  307. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  308. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  309. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  310. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  311. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  312. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
  313. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  314. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  315. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  316. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  317. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  318. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  319. package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
  320. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  321. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  322. package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
  323. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  324. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  325. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  326. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +6 -0
  327. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  328. package/dist/mjs/types/Interface/api/checklist/Query.js +19 -0
  329. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  330. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
  331. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  332. package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
  333. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  334. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  335. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  336. package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
  337. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  338. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  339. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  340. package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
  341. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  342. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  343. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  344. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +2 -0
  345. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  346. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  347. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  348. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
  349. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  350. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  351. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  352. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  353. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  354. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  355. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +9 -3
  356. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  357. package/dist/mjs/types/Interface/api/payment/Params.d.ts +4 -0
  358. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  359. package/dist/mjs/types/Interface/api/payment/Params.js +19 -1
  360. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  361. package/dist/mjs/types/Interface/api/payment/Util.d.ts +0 -2
  362. package/dist/mjs/types/Interface/api/payment/Util.d.ts.map +1 -1
  363. package/dist/mjs/types/Interface/api/payment/Util.js.map +1 -1
  364. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  365. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  366. package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  367. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +8 -6
  368. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  369. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  370. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
  371. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
  372. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js +37 -0
  373. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
  374. package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
  375. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  376. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  377. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  378. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  379. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  380. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  381. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  382. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  383. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  384. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  385. package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
  386. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  387. package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
  388. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  389. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  390. package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  391. package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
  392. package/dist/mjs/types/index.d.ts +7 -0
  393. package/dist/mjs/types/index.d.ts.map +1 -1
  394. package/dist/mjs/types/index.js +7 -0
  395. package/dist/mjs/types/index.js.map +1 -1
  396. package/dist/mjs/utils/payment.js +52 -48
  397. package/dist/mjs/utils/payment.js.map +1 -1
  398. package/dist/mjs/utils/prestation.d.ts +1 -0
  399. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  400. package/dist/mjs/utils/prestation.js +1 -0
  401. package/dist/mjs/utils/prestation.js.map +1 -1
  402. package/dist/mjs/utils/tests/payment.spec.js +34 -34
  403. package/dist/mjs/utils/tests/payment.spec.js.map +1 -1
  404. package/dist/mjs/utils/vat/3310/century25.js +1 -1
  405. package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
  406. package/dist/mjs/utils/vat/3517/century25.js +1 -1
  407. package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
  408. package/dist/mjs/utils/vat/utils.js +3 -3
  409. package/dist/mjs/utils/vat/utils.js.map +1 -1
  410. package/dist/mjs/utils/webmail.d.ts.map +1 -1
  411. package/dist/mjs/utils/webmail.js +4 -3
  412. package/dist/mjs/utils/webmail.js.map +1 -1
  413. package/package.json +14 -14
  414. package/ts/api/resources/BalanceSheetReport.ts +36 -0
  415. package/ts/api/resources/Checklist.ts +59 -0
  416. package/ts/api/resources/DashboardLayout.ts +20 -0
  417. package/ts/api/resources/DocumentRequest.ts +32 -0
  418. package/ts/api/resources/Exercice.ts +4 -0
  419. package/ts/api/resources/Mfa.ts +5 -0
  420. package/ts/api/resources/Payment.ts +6 -1
  421. package/ts/api/resources/Registration.ts +1 -1
  422. package/ts/api/resources/Team.ts +31 -1
  423. package/ts/api/resources.ts +6 -0
  424. package/ts/types/Enum/Aspone.ts +10 -0
  425. package/ts/types/Enum/BalanceSheet.ts +137 -68
  426. package/ts/types/Enum/BalanceSheetQuestion.ts +63 -0
  427. package/ts/types/Enum/BalanceSheetQuestionWording.ts +130 -81
  428. package/ts/types/Enum/ChecklistType.ts +9 -0
  429. package/ts/types/Enum/ConstitutionState.ts +1 -1
  430. package/ts/types/Enum/DashboardBlock.ts +12 -0
  431. package/ts/types/Enum/Ged.ts +345 -193
  432. package/ts/types/Enum/GlobalRegime.ts +19 -19
  433. package/ts/types/Enum/IncomeStatement.ts +73 -40
  434. package/ts/types/Enum/LegalForm.ts +40 -4
  435. package/ts/types/Enum/MailAuto.ts +1 -0
  436. package/ts/types/Enum/PrestationType.ts +162 -15
  437. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
  438. package/ts/types/Enum/ZoneCode.ts +7 -0
  439. package/ts/types/Interface/api/DashboardLayout.ts +27 -0
  440. package/ts/types/Interface/api/OnBoarding.ts +5 -0
  441. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
  442. package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
  443. package/ts/types/Interface/api/cerfa/2031.ts +3 -2
  444. package/ts/types/Interface/api/cerfa/2050.ts +1580 -1399
  445. package/ts/types/Interface/api/cerfa/2065.ts +2 -2
  446. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +20 -2
  447. package/ts/types/Interface/api/checklist/Query.ts +15 -0
  448. package/ts/types/Interface/api/checklist/Update.ts +44 -3
  449. package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
  450. package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
  451. package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +5 -0
  452. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
  453. package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +4 -2
  454. package/ts/types/Interface/api/library/QueryLibrary.ts +4 -2
  455. package/ts/types/Interface/api/payment/Params.ts +14 -1
  456. package/ts/types/Interface/api/payment/Util.ts +2 -2
  457. package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
  458. package/ts/types/Interface/api/society/ReadSociety.ts +8 -6
  459. package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +22 -0
  460. package/ts/types/Interface/models/IAttestation.ts +20 -18
  461. package/ts/types/Interface/models/IChecklist.ts +2 -2
  462. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  463. package/ts/types/Interface/models/IDocumentRequest.ts +25 -0
  464. package/ts/types/Interface/models/IGedFile.ts +6 -1
  465. package/ts/types/Interface/models/IPrestation.ts +1 -0
  466. package/ts/types/index.ts +7 -0
  467. package/ts/utils/payment.ts +49 -49
  468. package/ts/utils/prestation.ts +1 -0
  469. package/ts/utils/tests/payment.spec.ts +34 -34
  470. package/ts/utils/vat/3310/century25.ts +1 -1
  471. package/ts/utils/vat/3517/century25.ts +1 -1
  472. package/ts/utils/vat/utils.ts +3 -3
  473. package/ts/utils/webmail.ts +19 -16
@@ -1,4 +1,4 @@
1
- import { AnyCerfa2033Century, ApiPropertyOptional } from '../../../..';
1
+ import { AnyCerfa2033Century, AnyCerfa2050Century, ApiPropertyOptional } from '../../../..';
2
2
  import { CerfaAddress, ViewerDetails, Accountant, CouncilDetails, EcfDetails, Termination } from './ReadCerfa';
3
3
  import { PartnersLegalEntity } from './Utils';
4
4
 
@@ -257,7 +257,7 @@ export type PrepareCerfa2065 = {
257
257
  idExercice: number;
258
258
  idSociety: number;
259
259
  idUser: number;
260
- values: { cerfa2065: AnyCerfa2065Century; cerfa2033: AnyCerfa2033Century };
260
+ values: { cerfa2065: AnyCerfa2065Century; cerfa2033?: AnyCerfa2033Century; cerfa2050?: AnyCerfa2050Century };
261
261
  };
262
262
 
263
263
  export interface Cerfa2065_2025 {
@@ -2,6 +2,7 @@ import { CerfaType } from '../../../Enum/CerfaType';
2
2
  import {
3
3
  AnyCerfa2031Century,
4
4
  AnyCerfa2033Century,
5
+ AnyCerfa2050Century,
5
6
  AnyCerfa2035Century,
6
7
  AnyCerfa2065Century,
7
8
  AnyCerfa2571Century,
@@ -112,8 +113,19 @@ export type Termination = {
112
113
  date: string | null;
113
114
  };
114
115
 
115
- export type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;
116
- export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
116
+ export type AsponeFormFields = Array<{
117
+ name: string;
118
+ /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
119
+ nilKey?: string;
120
+ fields: FieldForGeneration[];
121
+ index?: number;
122
+ }>;
123
+ export type AsponeFormField = {
124
+ name: string;
125
+ /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
126
+ nilKey?: string;
127
+ fields: FieldForGeneration[];
128
+ };
117
129
 
118
130
  export interface RegistrationPayload {
119
131
  cerfa2573?: Cerfa2573_2024;
@@ -121,6 +133,7 @@ export interface RegistrationPayload {
121
133
  cerfa2571?: AnyCerfa2571Century;
122
134
  cerfa2031?: AnyCerfa2031Century;
123
135
  cerfa2033?: AnyCerfa2033Century;
136
+ cerfa2050?: AnyCerfa2050Century;
124
137
  cerfa2065?: AnyCerfa2065Century;
125
138
  cerfa2035?: AnyCerfa2035Century;
126
139
  cerfa2069RCI?: Cerfa2069RCI_2024;
@@ -143,3 +156,8 @@ export interface ReadFormGeneration {
143
156
  file: ReadFormFile;
144
157
  payload: RegistrationPayload;
145
158
  }
159
+
160
+ export interface ReadAnnexFormGeneration {
161
+ file?: ReadFormFile;
162
+ payload: RegistrationPayload;
163
+ }
@@ -167,6 +167,13 @@ export class QueryGetToComplete {
167
167
  idSociety: number;
168
168
  }
169
169
 
170
+ export class QueryChecklistQuestions {
171
+ @ApiProperty()
172
+ @IsNumber()
173
+ @IsPositive()
174
+ idExercice: number;
175
+ }
176
+
170
177
  export class QueryChecklistUpdate {
171
178
  @ApiProperty()
172
179
  @IsBoolean()
@@ -184,3 +191,11 @@ export class QueryGenerateAdvice {
184
191
  @IsInt()
185
192
  idExercice: number;
186
193
  }
194
+
195
+ export class SendAskDocumentsOptions {
196
+ @ApiPropertyOptional()
197
+ @IsOptional()
198
+ @IsBoolean()
199
+ @ToBoolean()
200
+ addAdviceNote?: boolean;
201
+ }
@@ -1,6 +1,8 @@
1
- import { IsEnum, IsString } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
- import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
1
+ import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
4
+ import { IChecklist } from '../../models/IChecklist';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
6
 
5
7
  export class UpdateAnswer {
6
8
  @ApiProperty()
@@ -11,3 +13,42 @@ export class UpdateAnswer {
11
13
  @IsEnum(ChecklistDetailValue)
12
14
  value: ChecklistDetailValue;
13
15
  }
16
+
17
+ export class UpdateChecklist implements Partial<IChecklist> {
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsDate()
21
+ revisionDate?: Date;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsInt()
26
+ idUserWhoValidate?: number;
27
+
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ @IsDate()
31
+ validateDate?: Date;
32
+
33
+ @ApiProperty()
34
+ @IsOptional()
35
+ @IsInt()
36
+ idUserFront?: number;
37
+
38
+ @ApiProperty()
39
+ @IsOptional()
40
+ @IsBoolean()
41
+ @ToBoolean()
42
+ isConfirmed?: boolean;
43
+
44
+ @ApiPropertyOptional()
45
+ @IsOptional()
46
+ @IsEnum(ChecklistTypeEnum)
47
+ type?: ChecklistTypeEnum;
48
+
49
+ @ApiPropertyOptional()
50
+ @IsOptional()
51
+ @IsBoolean()
52
+ @ToBoolean()
53
+ force?: boolean;
54
+ }
@@ -0,0 +1,28 @@
1
+ import { IsEnum, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { IDocumentRequest } from '../../models/IDocumentRequest';
4
+ import { TypeFile } from '../../../Enum/Ged';
5
+
6
+ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idSociety: number;
10
+
11
+ @ApiProperty()
12
+ @IsEnum(TypeFile)
13
+ typeFile: TypeFile;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsInt()
18
+ idExercice?: number;
19
+
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsInt()
23
+ idBalanceSheet?: number;
24
+
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ comment?: string;
28
+ }
@@ -0,0 +1,14 @@
1
+ import { IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class QueryDocumentRequest {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsInt()
8
+ idExercice?: number;
9
+
10
+ @ApiPropertyOptional()
11
+ @IsOptional()
12
+ @IsInt()
13
+ idBalanceSheet?: number;
14
+ }
@@ -0,0 +1,5 @@
1
+ import { DashboardBlock } from '../../../Enum/DashboardBlock';
2
+
3
+ export interface GetAvailableDashboardBlocksResponse {
4
+ dashboardBlocks: DashboardBlock[];
5
+ }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
3
3
  import { TFile } from '../file/TFile';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -22,6 +22,7 @@ export class CreateFileAndGed {
22
22
  @ApiPropertyOptional()
23
23
  @IsNumber()
24
24
  @IsOptional()
25
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
25
26
  idTypeGedFile?: number;
26
27
 
27
28
  @ApiProperty()
@@ -72,4 +73,9 @@ export class CreateFileAndGed {
72
73
  @IsBoolean()
73
74
  @ToBoolean()
74
75
  formatFileName?: boolean | null;
76
+
77
+ @ApiPropertyOptional()
78
+ @IsOptional()
79
+ @IsInt()
80
+ idDocumentRequest?: number | null;
75
81
  }
@@ -1,6 +1,8 @@
1
- export type ReadIncomeStatement = Array<{
1
+ export type ReadIncomeStatementItem = {
2
2
  name: string;
3
3
  total: number;
4
4
  description?: ReadIncomeStatement;
5
5
  key: string;
6
- }>;
6
+ };
7
+
8
+ export type ReadIncomeStatement = ReadIncomeStatementItem[];
@@ -1,6 +1,6 @@
1
1
  import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
- import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
3
+ import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
4
4
  import { RequiredQueryPaginate } from '../BasePaginate';
5
5
  import { TFile } from '../file/TFile';
6
6
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -13,6 +13,7 @@ export class QueryLibraryFile {
13
13
  idGedFolder?: GedFolder;
14
14
 
15
15
  @ApiPropertyOptional()
16
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
16
17
  idTypeGedFile?: GedFileType | GedFileType[];
17
18
 
18
19
  @ApiPropertyOptional()
@@ -36,7 +37,7 @@ export class QueryLibraryFile {
36
37
  @ApiPropertyOptional()
37
38
  @IsNumber()
38
39
  @IsOptional()
39
- typeFile?: number;
40
+ typeFile?: TypeFile;
40
41
 
41
42
  @ApiPropertyOptional()
42
43
  @IsBoolean()
@@ -149,6 +150,7 @@ export class QueryLastFileOfType {
149
150
  idSociety: number;
150
151
 
151
152
  @ApiProperty()
153
+ /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
152
154
  idTypeGedFile: GedFileType;
153
155
 
154
156
  @ApiPropertyOptional()
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -8,6 +8,19 @@ export class CreatePaymentsAutoBilling {
8
8
  @IsInt()
9
9
  idSociety?: number;
10
10
  }
11
+ export class CreatePaymentsRebilling {
12
+ @ApiProperty()
13
+ @IsInt()
14
+ idSociety: number;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsString()
19
+ @Matches(/^\d{4}-(0[1-9]|1[0-2])$/, {
20
+ message: 'endDate doit être au format YYYY-MM',
21
+ })
22
+ endDate?: string;
23
+ }
11
24
 
12
25
  export class UpdateCollectable {
13
26
  @ApiProperty()
@@ -10,8 +10,8 @@ export interface ParamsForPaymentsAuto {
10
10
  idTypeBrand: number;
11
11
  firstExerciceNonExpresssEndDate: Date;
12
12
  idPrestation: number;
13
- idLegalForm: number;
14
- isWithApplicationFees: boolean;
13
+ // idLegalForm: number; // Application fees are not charged anymore
14
+ // isWithApplicationFees: boolean;
15
15
  idVat: number;
16
16
  prestationList: IPrestationList;
17
17
  yearlyAmountNonExpress: number;
@@ -15,6 +15,10 @@ export interface ReadSynchronization {
15
15
 
16
16
  export type ReadRegistrationFormValues = {
17
17
  carriedForwardDeficit: number;
18
+ sellOfMerchandises: number;
19
+ productionOfGoods: number;
20
+ productionOfServices: number;
21
+ paidUpShareCapital: number;
18
22
  };
19
23
 
20
24
  export type ReadRegistrationHistory = InterchangeState;
@@ -1,4 +1,4 @@
1
- import { IFile } from '../../..';
1
+ import { IFile, IGedFile, TypeFile } from '../../..';
2
2
 
3
3
  export type UnpaidDetail = {
4
4
  datePayment: Date;
@@ -15,11 +15,13 @@ export type ReadInvalidFieldState = {
15
15
  };
16
16
 
17
17
  export type ReadAskOrRequiredDocuments = {
18
- idGedFile?: number;
19
- idFile?: number;
20
18
  name: string;
21
- status: string;
22
19
  idGedFolder: number;
23
- idGedFileType: number;
24
- fileType: number;
20
+ idGedFileType?: number;
21
+ typeFile?: TypeFile;
22
+ idDocumentRequest?: number;
23
+ idExercice?: number;
24
+ idBalanceSheet?: number;
25
+ idBankAccount?: number;
26
+ gedFiles: IGedFile[];
25
27
  };
@@ -0,0 +1,22 @@
1
+ import { IsArray, IsBoolean, IsInt, IsNumber, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class UpdateTeamsForUser {
6
+ @ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })
7
+ @IsArray()
8
+ @IsInt({ each: true })
9
+ teamIds: number[];
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsBoolean()
14
+ @ToBoolean()
15
+ replace?: boolean;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsNumber()
20
+ oldTeamId?: number;
21
+
22
+ }
@@ -14,27 +14,29 @@ export interface IAttestation {
14
14
  idExercice: number | null;
15
15
  idSociety: number | null;
16
16
  idSupervisor: number | null;
17
- idUserDemand: number | null;
18
- idPaymentExpectation: number | null;
19
- idFile: number | null;
17
+ idUserDemand?: number | null;
18
+ idPaymentExpectation?: number | null;
19
+ idFile?: number | null;
20
20
  annoted: boolean;
21
- sendDate: Date | null;
22
- textPdf: string | null;
23
- isSign: boolean | null;
24
- done: boolean | null;
25
- idMailPayment: number | null;
26
- idMailValidation: number | null;
21
+ factured: number;
22
+ sendDate?: Date | null;
23
+ textPdf?: string | null;
24
+ isSign?: boolean | null;
25
+ done?: boolean | null;
26
+ idMailPayment?: number | null;
27
+ idMailValidation?: number | null;
28
+ fileLink?: string;
27
29
  createdAt?: Date | null;
28
30
  updatedAt?: Date | null;
29
31
 
30
32
  // Associations
31
- attestationSupervisor: IUser;
32
- attestationUserDemand: IUser;
33
- prestationsList: IPrestationList;
34
- attestationPaymentExpectation: IPaymentExpectation;
35
- attestationFiles: IFile;
36
- society: ISociety;
37
- exercices: IExercice;
38
- paymentMail: IMail;
39
- validationMail: IMail;
33
+ attestationSupervisor?: IUser | null;
34
+ attestationUserDemand?: IUser | null;
35
+ prestationsList?: IPrestationList;
36
+ attestationPaymentExpectation?: IPaymentExpectation | null;
37
+ attestationFiles?: IFile | null;
38
+ society?: ISociety | null;
39
+ exercices?: IExercice | null;
40
+ paymentMail?: IMail | null;
41
+ validationMail?: IMail | null;
40
42
  }
@@ -20,8 +20,8 @@ export interface IChecklist {
20
20
  startDate?: Date | null;
21
21
  endDate?: Date | null;
22
22
  notifyFront?: boolean;
23
- idExercice: number | null;
24
- idCustomerVat: number | null;
23
+ idExercice?: number | null;
24
+ idCustomerVat?: number | null;
25
25
  createdAt?: Date | null;
26
26
  updatedAt?: Date | null;
27
27
 
@@ -6,13 +6,13 @@ export interface IChecklistDetail {
6
6
  id?: number;
7
7
  value: string;
8
8
  isAutomatic: boolean;
9
- idBankAccount: number | null;
9
+ idBankAccount?: number | null;
10
10
  idTypeChecklist: number;
11
11
  idChecklist: number;
12
12
  createdAt?: Date | null;
13
13
  updatedAt?: Date | null;
14
14
 
15
15
  // Associations
16
- typeChecklist: IChecklistType;
17
- detailHasOneChecklist: IChecklist;
16
+ typeChecklist?: IChecklistType;
17
+ detailHasOneChecklist?: IChecklist;
18
18
  }
@@ -0,0 +1,25 @@
1
+ import { TypeFile } from '../../Enum/Ged';
2
+ import { ISociety } from './ISociety';
3
+ import { IExercice } from './IExercice';
4
+ import { IBalanceSheet } from './IBalanceSheet';
5
+ import { IUser } from './IUser';
6
+ import { IFile } from './IFile';
7
+ import { IGedFile } from './IGedFile';
8
+
9
+ export interface IDocumentRequest {
10
+ id: number;
11
+ idSociety: number;
12
+ idExercice?: number | null;
13
+ idBalanceSheet?: number | null;
14
+ idRequestedBy: number;
15
+ typeFile: TypeFile;
16
+ comment?: string | null;
17
+
18
+ // Associations
19
+ society?: ISociety;
20
+ exercice?: IExercice;
21
+ balanceSheet?: IBalanceSheet;
22
+ requestedBy?: IUser;
23
+ gedFiles?: IGedFile[];
24
+ files?: IFile[];
25
+ }
@@ -8,18 +8,21 @@ import { ICustomerSignature } from './ICustomerSignature';
8
8
  import { IBalanceSheet } from './IBalanceSheet';
9
9
  import { IBusinessPartner } from './IBusinessPartner';
10
10
  import { IBankAccount } from './IBankAccount';
11
+ import { TypeFile } from '../../Enum/Ged';
12
+ import { IDocumentRequest } from './IDocumentRequest';
11
13
 
12
14
  // gedFile
13
15
  export interface IGedFile {
14
16
  id?: number;
15
17
  emissionDate?: Date | null;
16
18
  statutFile?: number | null;
19
+ /** @deprecated Use typeFile field instead with TypeFile enum */
17
20
  idTypeGedFile?: number | null;
18
21
  idUser?: number | null;
19
22
  idGedFolder: number;
20
23
  idSociety: number;
21
24
  idFile: number;
22
- typeFile?: number | null;
25
+ typeFile?: TypeFile | null;
23
26
  startDate?: Date | null;
24
27
  endDate?: Date | null;
25
28
  idExercice?: number | null;
@@ -27,6 +30,7 @@ export interface IGedFile {
27
30
  idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
28
31
  idBusinessPartner?: number | null;
29
32
  idBankAccount?: number | null;
33
+ idDocumentRequest?: number | null;
30
34
  createdAt?: Date | null;
31
35
  updatedAt?: Date | null;
32
36
 
@@ -42,4 +46,5 @@ export interface IGedFile {
42
46
  userBP?: IUser;
43
47
  customerSignature?: ICustomerSignature;
44
48
  bankAccount?: IBankAccount;
49
+ documentRequest?: IDocumentRequest;
45
50
  }
@@ -32,6 +32,7 @@ export interface IPrestation {
32
32
  goToFacturation?: Date | null;
33
33
  dateLeavingFacturation?: Date | null;
34
34
  scoring: number | null;
35
+ // @deprecated Application fees are not charged anymore
35
36
  isWithApplicationFees?: boolean;
36
37
  state: boolean;
37
38
  commentPdf: string | null;
package/ts/types/index.ts CHANGED
@@ -324,6 +324,7 @@ export * from './Interface/models/IStateBankAccount';
324
324
  export * from './Interface/models/IAIQuestion';
325
325
  export * from './Interface/models/IAIConversation';
326
326
  export * from './Interface/models/IPaymentAttempt';
327
+ export * from './Interface/models/IDocumentRequest';
327
328
 
328
329
  // Schemas
329
330
  export * from './Interface/schemas/IRegistrationDetail';
@@ -343,6 +344,7 @@ export * from './Enum/VisualizedInformation';
343
344
  export * from './Enum/NafCode';
344
345
  export * from './Enum/Acceptance';
345
346
  export * from './Enum/FolderFile';
347
+ export * from './Enum/DashboardBlock';
346
348
  export * from './Enum/CommercialGrade';
347
349
  export * from './Enum/CommercialOfferType';
348
350
  export * from './Enum/CommercialManagement';
@@ -772,6 +774,7 @@ export * from './Interface/api/inpi/inpi';
772
774
  export * from './Interface/api/team/QueryCreate';
773
775
  export * from './Interface/api/team/QueryGetAllWithIncludes';
774
776
  export * from './Interface/api/team/QueryUpdate';
777
+ export * from './Interface/api/team/UpdateTeamsForUser';
775
778
  export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
776
779
  export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
777
780
  export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
@@ -828,6 +831,7 @@ export * from './Interface/api/pappers/CreatePappers';
828
831
  export * from './Interface/api/bankAccount/Query';
829
832
  export * from './Interface/api/bankAccount/Update';
830
833
  export * from './Interface/api/stripe/QueryStripe';
834
+ export * from './Interface/api/balanceSheetReport/Query';
831
835
  export * from './Interface/api/supervision/Query';
832
836
  export * from './Interface/api/supervision/Read';
833
837
  export * from './Interface/api/salariesFile/ReadSalariesFile';
@@ -934,6 +938,7 @@ export * from './Interface/api/thirdParty/CreateThirdPartyForm';
934
938
  export * from './Interface/api/thirdParty/UpdateThirdPartyForm';
935
939
  export * from './Interface/api/thirdParty/QueryThirdParty';
936
940
  export * from './Interface/api/bankAccount/Read';
941
+ export * from './Interface/api/DashboardLayout';
937
942
  export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
938
943
  export * from './Interface/api/calendarEvent/createCalendarEvent';
939
944
  export * from './Interface/api/calendarEvent/createCalendarEventForUsers';
@@ -1136,6 +1141,8 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
1136
1141
  export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
1137
1142
  export * from './Interface/api/recurrence/Query';
1138
1143
  export * from './Interface/api/recurrence/Read';
1144
+ export * from './Interface/api/documentRequest/Query';
1145
+ export * from './Interface/api/documentRequest/Create';
1139
1146
 
1140
1147
  // Enums types
1141
1148
  export * from './Interface/enum/Util';