@silexpert/core 1.3.192-0 → 1.3.193-1

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 (539) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +0 -6
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +0 -6
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/Comment.d.ts +2 -2
  6. package/dist/cjs/api/resources/Comment.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Comment.js.map +1 -1
  8. package/dist/cjs/api/resources/DocumentRequest.d.ts +1 -3
  9. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/DocumentRequest.js +0 -6
  11. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  12. package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  13. package/dist/cjs/api/resources/InternalInvoicing.js +8 -0
  14. package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
  15. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  16. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  17. package/dist/cjs/api/resources/Mfa.js +0 -4
  18. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  19. package/dist/cjs/api/resources/Report.d.ts +3 -4
  20. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  21. package/dist/cjs/api/resources/Report.js +1 -15
  22. package/dist/cjs/api/resources/Report.js.map +1 -1
  23. package/dist/cjs/api/resources/Shine.d.ts +1 -2
  24. package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
  25. package/dist/cjs/api/resources/Shine.js +0 -3
  26. package/dist/cjs/api/resources/Shine.js.map +1 -1
  27. package/dist/cjs/api/resources/Society.d.ts +1 -2
  28. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  29. package/dist/cjs/api/resources/Society.js +0 -3
  30. package/dist/cjs/api/resources/Society.js.map +1 -1
  31. package/dist/cjs/api/resources/User.d.ts +6 -1
  32. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  33. package/dist/cjs/api/resources/User.js +15 -0
  34. package/dist/cjs/api/resources/User.js.map +1 -1
  35. package/dist/cjs/api/resources.d.ts +0 -6
  36. package/dist/cjs/api/resources.d.ts.map +1 -1
  37. package/dist/cjs/api/resources.js +0 -6
  38. package/dist/cjs/api/resources.js.map +1 -1
  39. package/dist/cjs/types/Enum/AdjustmentType.js +4 -4
  40. package/dist/cjs/types/Enum/AdjustmentType.js.map +1 -1
  41. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  42. package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
  43. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  44. package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
  45. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  46. package/dist/cjs/types/Enum/Card.d.ts +1 -7
  47. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  48. package/dist/cjs/types/Enum/Card.js +1 -9
  49. package/dist/cjs/types/Enum/Card.js.map +1 -1
  50. package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
  51. package/dist/cjs/types/Enum/Consistency.js +7 -7
  52. package/dist/cjs/types/Enum/Consistency.js.map +1 -1
  53. package/dist/cjs/types/Enum/DashboardBlock.d.ts +1 -2
  54. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  55. package/dist/cjs/types/Enum/DashboardBlock.js +0 -1
  56. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
  57. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  58. package/dist/cjs/types/Enum/EntityType.js +2 -2
  59. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  60. package/dist/cjs/types/Enum/Ged.d.ts +1 -2
  61. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  62. package/dist/cjs/types/Enum/Ged.js +56 -40
  63. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  64. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  65. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  66. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  67. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  68. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  69. package/dist/cjs/types/Enum/InformationRequestType.js +6 -12
  70. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
  71. package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  72. package/dist/cjs/types/Enum/KilometricAllowanceScale.js +0 -119
  73. package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  74. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -5
  75. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  76. package/dist/cjs/types/Enum/MailAuto.js +0 -4
  77. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  78. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  79. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  80. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  81. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  82. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  83. package/dist/cjs/types/Enum/Proceding.js +0 -4
  84. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  85. package/dist/cjs/types/Enum/ReportService.d.ts +1 -4
  86. package/dist/cjs/types/Enum/ReportService.d.ts.map +1 -1
  87. package/dist/cjs/types/Enum/ReportService.js +18 -39
  88. package/dist/cjs/types/Enum/ReportService.js.map +1 -1
  89. package/dist/cjs/types/Enum/ReportType.d.ts +1 -9
  90. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  91. package/dist/cjs/types/Enum/ReportType.js +1 -41
  92. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  93. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  94. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  95. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  96. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  97. package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  98. package/dist/cjs/types/Enum/TaskResponseType.js +0 -33
  99. package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
  100. package/dist/cjs/types/Enum/Unit.d.ts +1 -2
  101. package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
  102. package/dist/cjs/types/Enum/Unit.js +0 -11
  103. package/dist/cjs/types/Enum/Unit.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  105. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  106. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  108. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  109. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  110. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  111. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  112. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/api/documentRequest/Query.js +1 -43
  114. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  115. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  116. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  117. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  118. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -3
  119. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/api/report/CreateReport.js +2 -11
  121. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  122. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -5
  123. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  124. package/dist/cjs/types/Interface/api/report/QueryReports.js +1 -21
  125. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  126. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  127. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  128. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +3 -4
  129. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  130. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +6 -13
  131. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  132. package/dist/cjs/types/Interface/api/report/UpdateReport.js +0 -120
  133. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  134. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  135. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +15 -16
  137. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  138. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  139. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  140. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +14 -1
  141. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  142. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  143. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  144. package/dist/cjs/types/Interface/api/shine/{Query.js → GetConnect.js} +2 -9
  145. package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  146. package/dist/cjs/types/Interface/models/IReport.d.ts +1 -10
  147. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  148. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  149. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  150. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  151. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  152. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  153. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  154. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  155. package/dist/cjs/types/index.d.ts +1 -12
  156. package/dist/cjs/types/index.d.ts.map +1 -1
  157. package/dist/cjs/types/index.js +1 -12
  158. package/dist/cjs/types/index.js.map +1 -1
  159. package/dist/cjs/utils/checkup.d.ts +368 -12
  160. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  161. package/dist/cjs/utils/checkup.js +565 -342
  162. package/dist/cjs/utils/checkup.js.map +1 -1
  163. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  164. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  165. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  166. package/dist/cjs/utils/index.d.ts +0 -1
  167. package/dist/cjs/utils/index.d.ts.map +1 -1
  168. package/dist/cjs/utils/index.js +0 -1
  169. package/dist/cjs/utils/index.js.map +1 -1
  170. package/dist/cjs/utils/vat/centuries.js +2 -2
  171. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  172. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  173. package/dist/cjs/utils/vat/utils.js +2 -5
  174. package/dist/cjs/utils/vat/utils.js.map +1 -1
  175. package/dist/mjs/api/resources/Checklist.d.ts +0 -6
  176. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  177. package/dist/mjs/api/resources/Checklist.js +0 -6
  178. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  179. package/dist/mjs/api/resources/Comment.d.ts +2 -2
  180. package/dist/mjs/api/resources/Comment.d.ts.map +1 -1
  181. package/dist/mjs/api/resources/Comment.js.map +1 -1
  182. package/dist/mjs/api/resources/DocumentRequest.d.ts +1 -3
  183. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  184. package/dist/mjs/api/resources/DocumentRequest.js +0 -6
  185. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  186. package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  187. package/dist/mjs/api/resources/InternalInvoicing.js +8 -0
  188. package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
  189. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  190. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  191. package/dist/mjs/api/resources/Mfa.js +0 -4
  192. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  193. package/dist/mjs/api/resources/Report.d.ts +3 -4
  194. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  195. package/dist/mjs/api/resources/Report.js +1 -17
  196. package/dist/mjs/api/resources/Report.js.map +1 -1
  197. package/dist/mjs/api/resources/Shine.d.ts +1 -2
  198. package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
  199. package/dist/mjs/api/resources/Shine.js +0 -3
  200. package/dist/mjs/api/resources/Shine.js.map +1 -1
  201. package/dist/mjs/api/resources/Society.d.ts +1 -2
  202. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  203. package/dist/mjs/api/resources/Society.js +0 -3
  204. package/dist/mjs/api/resources/Society.js.map +1 -1
  205. package/dist/mjs/api/resources/User.d.ts +6 -1
  206. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  207. package/dist/mjs/api/resources/User.js +15 -0
  208. package/dist/mjs/api/resources/User.js.map +1 -1
  209. package/dist/mjs/api/resources.d.ts +0 -6
  210. package/dist/mjs/api/resources.d.ts.map +1 -1
  211. package/dist/mjs/api/resources.js +0 -6
  212. package/dist/mjs/api/resources.js.map +1 -1
  213. package/dist/mjs/types/Enum/AdjustmentType.js +4 -4
  214. package/dist/mjs/types/Enum/AdjustmentType.js.map +1 -1
  215. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  216. package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
  217. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  218. package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
  219. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  220. package/dist/mjs/types/Enum/Card.d.ts +1 -7
  221. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  222. package/dist/mjs/types/Enum/Card.js +1 -9
  223. package/dist/mjs/types/Enum/Card.js.map +1 -1
  224. package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
  225. package/dist/mjs/types/Enum/Consistency.js +7 -7
  226. package/dist/mjs/types/Enum/Consistency.js.map +1 -1
  227. package/dist/mjs/types/Enum/DashboardBlock.d.ts +1 -2
  228. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  229. package/dist/mjs/types/Enum/DashboardBlock.js +0 -1
  230. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
  231. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  232. package/dist/mjs/types/Enum/EntityType.js +2 -2
  233. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  234. package/dist/mjs/types/Enum/Ged.d.ts +1 -2
  235. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  236. package/dist/mjs/types/Enum/Ged.js +56 -40
  237. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  238. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  239. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  240. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  241. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  242. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  243. package/dist/mjs/types/Enum/InformationRequestType.js +6 -12
  244. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
  245. package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  246. package/dist/mjs/types/Enum/KilometricAllowanceScale.js +0 -119
  247. package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  248. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -5
  249. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  250. package/dist/mjs/types/Enum/MailAuto.js +0 -4
  251. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  252. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  253. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  254. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  255. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  256. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  257. package/dist/mjs/types/Enum/Proceding.js +0 -4
  258. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  259. package/dist/mjs/types/Enum/ReportService.d.ts +1 -4
  260. package/dist/mjs/types/Enum/ReportService.d.ts.map +1 -1
  261. package/dist/mjs/types/Enum/ReportService.js +18 -39
  262. package/dist/mjs/types/Enum/ReportService.js.map +1 -1
  263. package/dist/mjs/types/Enum/ReportType.d.ts +1 -9
  264. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  265. package/dist/mjs/types/Enum/ReportType.js +1 -41
  266. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  267. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  268. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  269. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  270. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  271. package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  272. package/dist/mjs/types/Enum/TaskResponseType.js +0 -33
  273. package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
  274. package/dist/mjs/types/Enum/Unit.d.ts +1 -2
  275. package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
  276. package/dist/mjs/types/Enum/Unit.js +0 -11
  277. package/dist/mjs/types/Enum/Unit.js.map +1 -1
  278. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  279. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  280. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  281. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  282. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  283. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  284. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  285. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  286. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  287. package/dist/mjs/types/Interface/api/documentRequest/Query.js +2 -48
  288. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  289. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  290. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  291. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  292. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -3
  293. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  294. package/dist/mjs/types/Interface/api/report/CreateReport.js +2 -13
  295. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  296. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -5
  297. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  298. package/dist/mjs/types/Interface/api/report/QueryReports.js +2 -24
  299. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  300. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  301. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  302. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +3 -5
  303. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  304. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +6 -13
  305. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  306. package/dist/mjs/types/Interface/api/report/UpdateReport.js +1 -135
  307. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  308. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  309. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  310. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +12 -13
  311. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  312. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  313. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  314. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +22 -2
  315. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  316. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  317. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  318. package/dist/mjs/types/Interface/api/shine/{Query.js → GetConnect.js} +1 -8
  319. package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  320. package/dist/mjs/types/Interface/models/IReport.d.ts +1 -10
  321. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  322. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  323. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  324. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  325. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  326. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  327. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  328. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  329. package/dist/mjs/types/index.d.ts +1 -12
  330. package/dist/mjs/types/index.d.ts.map +1 -1
  331. package/dist/mjs/types/index.js +1 -12
  332. package/dist/mjs/types/index.js.map +1 -1
  333. package/dist/mjs/utils/checkup.d.ts +368 -12
  334. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  335. package/dist/mjs/utils/checkup.js +566 -343
  336. package/dist/mjs/utils/checkup.js.map +1 -1
  337. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  338. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  339. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  340. package/dist/mjs/utils/index.d.ts +0 -1
  341. package/dist/mjs/utils/index.d.ts.map +1 -1
  342. package/dist/mjs/utils/index.js +0 -1
  343. package/dist/mjs/utils/index.js.map +1 -1
  344. package/dist/mjs/utils/vat/centuries.js +2 -2
  345. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  346. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  347. package/dist/mjs/utils/vat/utils.js +2 -5
  348. package/dist/mjs/utils/vat/utils.js.map +1 -1
  349. package/package.json +1 -1
  350. package/ts/api/resources/Checklist.ts +0 -6
  351. package/ts/api/resources/Comment.ts +2 -2
  352. package/ts/api/resources/DocumentRequest.ts +1 -9
  353. package/ts/api/resources/InternalInvoicing.ts +8 -0
  354. package/ts/api/resources/Mfa.ts +0 -6
  355. package/ts/api/resources/Report.ts +4 -19
  356. package/ts/api/resources/Shine.ts +1 -11
  357. package/ts/api/resources/Society.ts +0 -5
  358. package/ts/api/resources/User.ts +23 -0
  359. package/ts/api/resources.ts +0 -6
  360. package/ts/types/Enum/AdjustmentType.ts +4 -4
  361. package/ts/types/Enum/BalanceSheet.ts +17 -17
  362. package/ts/types/Enum/BrandPourcentage.ts +8 -8
  363. package/ts/types/Enum/Card.ts +1 -9
  364. package/ts/types/Enum/Consistency.ts +7 -7
  365. package/ts/types/Enum/DashboardBlock.ts +0 -1
  366. package/ts/types/Enum/EntityType.ts +2 -2
  367. package/ts/types/Enum/Ged.ts +271 -267
  368. package/ts/types/Enum/InformationRequestState.ts +0 -1
  369. package/ts/types/Enum/InformationRequestType.ts +6 -12
  370. package/ts/types/Enum/KilometricAllowanceScale.ts +0 -119
  371. package/ts/types/Enum/MailAuto.ts +0 -4
  372. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  373. package/ts/types/Enum/Proceding.ts +0 -4
  374. package/ts/types/Enum/ReportService.ts +3 -24
  375. package/ts/types/Enum/ReportType.ts +1 -41
  376. package/ts/types/Enum/StatutsSection.ts +7 -15
  377. package/ts/types/Enum/TaskResponseType.ts +0 -33
  378. package/ts/types/Enum/Unit.ts +0 -11
  379. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  380. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  381. package/ts/types/Interface/api/documentRequest/Query.ts +2 -40
  382. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  383. package/ts/types/Interface/api/report/CreateReport.ts +2 -9
  384. package/ts/types/Interface/api/report/QueryReports.ts +2 -18
  385. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  386. package/ts/types/Interface/api/report/UpdateReport.ts +6 -85
  387. package/ts/types/Interface/api/revenue/revenueMovement.ts +9 -11
  388. package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +21 -2
  389. package/ts/types/Interface/api/shine/{Query.ts → GetConnect.ts} +0 -5
  390. package/ts/types/Interface/models/IReport.ts +1 -10
  391. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  392. package/ts/types/Interface/models/IUser.ts +0 -2
  393. package/ts/types/index.ts +1 -12
  394. package/ts/utils/checkup.ts +566 -347
  395. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  396. package/ts/utils/index.ts +0 -1
  397. package/ts/utils/vat/centuries.ts +2 -2
  398. package/ts/utils/vat/utils.ts +2 -7
  399. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  400. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  401. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  402. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  403. package/dist/cjs/api/resources/ReportHistory.d.ts +0 -13
  404. package/dist/cjs/api/resources/ReportHistory.d.ts.map +0 -1
  405. package/dist/cjs/api/resources/ReportHistory.js +0 -18
  406. package/dist/cjs/api/resources/ReportHistory.js.map +0 -1
  407. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  408. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  409. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  410. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  411. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  412. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  413. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  414. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  415. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  416. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  417. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  418. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  419. package/dist/cjs/types/Enum/ReportSource.d.ts +0 -13
  420. package/dist/cjs/types/Enum/ReportSource.d.ts.map +0 -1
  421. package/dist/cjs/types/Enum/ReportSource.js +0 -29
  422. package/dist/cjs/types/Enum/ReportSource.js.map +0 -1
  423. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -27
  424. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  425. package/dist/cjs/types/Enum/SocietyApproval.js +0 -205
  426. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  427. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  428. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  429. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  430. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  431. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  432. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  433. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  434. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  435. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  436. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  437. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -27
  438. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  439. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  440. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  441. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  442. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  443. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
  444. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
  445. package/dist/cjs/types/Interface/api/reportHistory/Query.js +0 -23
  446. package/dist/cjs/types/Interface/api/reportHistory/Query.js.map +0 -1
  447. package/dist/cjs/types/Interface/api/shine/Query.d.ts +0 -7
  448. package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  449. package/dist/cjs/types/Interface/api/shine/Query.js.map +0 -1
  450. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  451. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  452. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  453. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  454. package/dist/cjs/types/Interface/models/IReportHistory.d.ts +0 -19
  455. package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
  456. package/dist/cjs/types/Interface/models/IReportHistory.js +0 -3
  457. package/dist/cjs/types/Interface/models/IReportHistory.js.map +0 -1
  458. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  459. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  460. package/dist/cjs/utils/societyApproval.js +0 -101
  461. package/dist/cjs/utils/societyApproval.js.map +0 -1
  462. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  463. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  464. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  465. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  466. package/dist/mjs/api/resources/ReportHistory.d.ts +0 -13
  467. package/dist/mjs/api/resources/ReportHistory.d.ts.map +0 -1
  468. package/dist/mjs/api/resources/ReportHistory.js +0 -17
  469. package/dist/mjs/api/resources/ReportHistory.js.map +0 -1
  470. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  471. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  472. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  473. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  474. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  475. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  476. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  477. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  478. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  479. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  480. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  481. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  482. package/dist/mjs/types/Enum/ReportSource.d.ts +0 -13
  483. package/dist/mjs/types/Enum/ReportSource.d.ts.map +0 -1
  484. package/dist/mjs/types/Enum/ReportSource.js +0 -26
  485. package/dist/mjs/types/Enum/ReportSource.js.map +0 -1
  486. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -27
  487. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  488. package/dist/mjs/types/Enum/SocietyApproval.js +0 -202
  489. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  490. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  491. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  492. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  493. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  494. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  495. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  496. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  497. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  498. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  499. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  500. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -25
  501. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  502. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  503. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  504. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  505. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  506. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
  507. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
  508. package/dist/mjs/types/Interface/api/reportHistory/Query.js +0 -20
  509. package/dist/mjs/types/Interface/api/reportHistory/Query.js.map +0 -1
  510. package/dist/mjs/types/Interface/api/shine/Query.d.ts +0 -7
  511. package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  512. package/dist/mjs/types/Interface/api/shine/Query.js.map +0 -1
  513. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  514. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  515. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  516. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  517. package/dist/mjs/types/Interface/models/IReportHistory.d.ts +0 -19
  518. package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
  519. package/dist/mjs/types/Interface/models/IReportHistory.js +0 -2
  520. package/dist/mjs/types/Interface/models/IReportHistory.js.map +0 -1
  521. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  522. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  523. package/dist/mjs/utils/societyApproval.js +0 -109
  524. package/dist/mjs/utils/societyApproval.js.map +0 -1
  525. package/ts/api/resources/LoginApproval.ts +0 -20
  526. package/ts/api/resources/ReportHistory.ts +0 -18
  527. package/ts/api/resources/SocietyApproval.ts +0 -75
  528. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  529. package/ts/types/Enum/MfaMode.ts +0 -11
  530. package/ts/types/Enum/ReportSource.ts +0 -30
  531. package/ts/types/Enum/SocietyApproval.ts +0 -218
  532. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  533. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  534. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  535. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  536. package/ts/types/Interface/api/reportHistory/Query.ts +0 -8
  537. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  538. package/ts/types/Interface/models/IReportHistory.ts +0 -22
  539. package/ts/utils/societyApproval.ts +0 -129
@@ -1,218 +0,0 @@
1
- import { getLegalFormName } from '../../utils/societyApproval';
2
- import { LegalFormTypeEnum } from './LegalForm';
3
- import { DocumentSectionType } from './StatutsSection';
4
-
5
- export enum SocietyApprovalDocumentType {
6
- PV_AG = 1,
7
- POWER_MANDATE = 2,
8
- DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,
9
- DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,
10
- INCOME_APPROPRIATION = 5,
11
- LIST_OF_CONVENTIONS = 6,
12
- LIST_OF_DIVIDENDS = 7,
13
- }
14
-
15
- export type SocietyApprovalDocumentTemplate = {
16
- idDocumentType: SocietyApprovalDocumentType;
17
- docName: string;
18
- templateName: string;
19
- documentSectionType: DocumentSectionType;
20
- token?: string;
21
- htmlContent?: string;
22
- idDocumentSection?: number;
23
- };
24
-
25
- export type SocietyApprovalDocumentConfig = {
26
- idLegalForm: LegalFormTypeEnum;
27
- legalFormName: string;
28
- documents: SocietyApprovalDocumentTemplate[];
29
- };
30
-
31
- export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [
32
- {
33
- idLegalForm: LegalFormTypeEnum.EURL,
34
- legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),
35
- documents: [
36
- {
37
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
38
- docName: "Procès-verbal d'approbation des comptes",
39
- templateName: 'APPROVAL_EURL',
40
- documentSectionType: DocumentSectionType.APPROVAL_PV,
41
- },
42
- {
43
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
44
- docName: 'Mandat de pouvoir',
45
- templateName: 'POWER_MANDATE_EURL',
46
- documentSectionType: DocumentSectionType.POWER_MANDATE,
47
- },
48
- {
49
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
50
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
51
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',
52
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
53
- },
54
- {
55
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
56
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
57
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',
58
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
59
- },
60
- {
61
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
62
- docName: 'Affectation du résultat',
63
- templateName: 'INCOME_APPROPRIATION_EURL',
64
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
65
- },
66
- {
67
- idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,
68
- docName: 'Liste de conventions',
69
- templateName: 'LIST_OF_CONVENTIONS_EURL',
70
- documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,
71
- },
72
- ],
73
- },
74
- // {
75
- // idLegalForm: LegalFormTypeEnum.SARL,
76
- // legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),
77
- // documents: [
78
- // {
79
- // idDocumentType: SocietyApprovalDocumentType.PV_AG,
80
- // docName: "Procès-verbal d'approbation des comptes",
81
- // templateName: 'APPROVAL_SARL',
82
- // documentSectionType: DocumentSectionType.APPROVAL_PV,
83
- // },
84
- // {
85
- // idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
86
- // docName: 'Mandat de pouvoir',
87
- // templateName: 'POWER_MANDATE_SARL',
88
- // documentSectionType: DocumentSectionType.POWER_MANDATE,
89
- // },
90
- // {
91
- // idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
92
- // docName: 'Déclaration de confidentialité pour les comptes annuels',
93
- // templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',
94
- // documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
95
- // },
96
- // {
97
- // idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
98
- // docName: 'Affectation du résultat',
99
- // templateName: 'INCOME_APPROPRIATION_SARL',
100
- // documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
101
- // },
102
- // ],
103
- // },
104
- {
105
- idLegalForm: LegalFormTypeEnum.SASU,
106
- legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),
107
- documents: [
108
- {
109
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
110
- docName: "Procès-verbal d'approbation des comptes",
111
- templateName: 'APPROVAL_SASU',
112
- documentSectionType: DocumentSectionType.APPROVAL_PV,
113
- },
114
- {
115
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
116
- docName: 'Mandat de pouvoir',
117
- templateName: 'POWER_MANDATE_SASU',
118
- documentSectionType: DocumentSectionType.POWER_MANDATE,
119
- },
120
- {
121
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
122
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
123
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',
124
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
125
- },
126
- {
127
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
128
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
129
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',
130
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
131
- },
132
- {
133
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
134
- docName: 'Affectation du résultat',
135
- templateName: 'INCOME_APPROPRIATION_SASU',
136
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
137
- },
138
- {
139
- idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,
140
- docName: 'Liste de dividendes',
141
- templateName: 'LIST_OF_DIVIDENDS_SASU',
142
- documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,
143
- },
144
- ],
145
- },
146
- {
147
- idLegalForm: LegalFormTypeEnum.SAS,
148
- legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),
149
- documents: [
150
- {
151
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
152
- docName: "Procès-verbal d'approbation des comptes",
153
- templateName: 'APPROVAL_SAS',
154
- documentSectionType: DocumentSectionType.APPROVAL_PV,
155
- },
156
- {
157
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
158
- docName: 'Mandat de pouvoir',
159
- templateName: 'POWER_MANDATE_SAS',
160
- documentSectionType: DocumentSectionType.POWER_MANDATE,
161
- },
162
- {
163
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
164
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
165
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',
166
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
167
- },
168
- {
169
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
170
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
171
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',
172
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
173
- },
174
- {
175
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
176
- docName: 'Affectation du résultat',
177
- templateName: 'INCOME_APPROPRIATION_SAS',
178
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
179
- },
180
- ],
181
- },
182
- {
183
- idLegalForm: LegalFormTypeEnum.SCI,
184
- legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),
185
- documents: [
186
- {
187
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
188
- docName: "Procès-verbal d'approbation des comptes",
189
- templateName: 'APPROVAL_SCI',
190
- documentSectionType: DocumentSectionType.APPROVAL_PV,
191
- },
192
- {
193
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
194
- docName: 'Mandat de pouvoir',
195
- templateName: 'POWER_MANDATE_SCI',
196
- documentSectionType: DocumentSectionType.POWER_MANDATE,
197
- },
198
- {
199
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
200
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
201
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',
202
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
203
- },
204
- {
205
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
206
- docName: 'Déclaration de confidentialité pour les comptes annuels',
207
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',
208
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
209
- },
210
- {
211
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
212
- docName: 'Affectation du résultat',
213
- templateName: 'INCOME_APPROPRIATION_SCI',
214
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
215
- },
216
- ],
217
- },
218
- ];
@@ -1,121 +0,0 @@
1
- import { IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../utils';
3
- import { SocietyApprovalDocumentType } from '../../Enum/SocietyApproval';
4
- import { ISocietyApproval } from '../models/ISocietyApproval';
5
- import { ToBoolean } from '../../../utils/transforms/boolean.transform';
6
-
7
- export class SocietyApprovalJsonDatas {
8
- @ApiPropertyOptional()
9
- @IsOptional()
10
- @IsDate()
11
- approvalDate?: Date;
12
- }
13
-
14
- export class CreateDocument {
15
- @ApiProperty()
16
- @IsEnum(SocietyApprovalDocumentType, { each: true })
17
- listIdDocumentType: SocietyApprovalDocumentType[];
18
- }
19
-
20
- export class ResetDocument {
21
- @ApiProperty()
22
- @IsEnum(SocietyApprovalDocumentType)
23
- idDocumentType: SocietyApprovalDocumentType;
24
- }
25
-
26
- export interface IApprovalGeneratingData {
27
- approval: ISocietyApproval;
28
- templateData: Record<string, any>;
29
- }
30
-
31
- export class UpdateOrCreateRequest implements Omit<ISocietyApproval, 'id'> {
32
- @ApiPropertyOptional()
33
- @IsOptional()
34
- @IsInt()
35
- idExercice: number | null;
36
-
37
- @ApiPropertyOptional()
38
- @IsOptional()
39
- @IsInt()
40
- idFile: number | null;
41
-
42
- @ApiPropertyOptional()
43
- @IsOptional()
44
- @IsInt()
45
- idAccountant: number | null;
46
-
47
- @ApiPropertyOptional()
48
- @IsOptional()
49
- @IsInt()
50
- idPaymentWaiting: number | null;
51
-
52
- @ApiPropertyOptional()
53
- @IsOptional()
54
- @IsString()
55
- amountDividend: string | null;
56
-
57
- @ApiPropertyOptional()
58
- @IsOptional()
59
- @IsDate()
60
- dueDate: Date | null;
61
-
62
- @ApiPropertyOptional()
63
- @IsOptional()
64
- @ToBoolean()
65
- done: boolean;
66
-
67
- @ApiPropertyOptional()
68
- @IsOptional()
69
- @IsInt()
70
- possibleDividend: number;
71
-
72
- @ApiPropertyOptional()
73
- @IsOptional()
74
- @IsString()
75
- amountChief: string | null;
76
-
77
- @ApiPropertyOptional()
78
- @IsOptional()
79
- @IsString()
80
- amountCotisations: string | null;
81
-
82
- @ApiPropertyOptional()
83
- @IsOptional()
84
- @IsString()
85
- amountAvantage: string | null;
86
-
87
- @ApiPropertyOptional()
88
- @IsOptional()
89
- @IsString()
90
- amountByPartner: string | null;
91
-
92
- @ApiPropertyOptional()
93
- @IsOptional()
94
- @IsString()
95
- amountInteret: string | null;
96
-
97
- @ApiPropertyOptional()
98
- @IsOptional()
99
- @IsString()
100
- amountBail: string | null;
101
-
102
- @ApiPropertyOptional()
103
- @IsOptional()
104
- @IsString()
105
- amountAbandon: string | null;
106
-
107
- @ApiPropertyOptional()
108
- @IsOptional()
109
- @IsDate()
110
- docsCompletedDate: Date | null;
111
-
112
- @ApiPropertyOptional()
113
- @IsOptional()
114
- @IsDate()
115
- registryDepositDate: Date | null;
116
-
117
- @ApiPropertyOptional()
118
- @IsOptional()
119
- @IsDate()
120
- endLegalServiceDate: Date | null;
121
- }
@@ -1,6 +0,0 @@
1
- import { IsString } from 'class-validator';
2
-
3
- export class FinalizeMobileApprovalDto {
4
- @IsString()
5
- requestId: string;
6
- }
@@ -1,11 +0,0 @@
1
- import { IsBoolean, IsInt } from 'class-validator';
2
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
3
-
4
- export class SetMobileApprovalDto {
5
- @IsInt()
6
- userId: number;
7
-
8
- @IsBoolean()
9
- @ToBoolean()
10
- enable: boolean;
11
- }
@@ -1,75 +0,0 @@
1
- import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
2
- import { IsString } from 'class-validator';
3
- import { ApiProperty } from '../../../../';
4
-
5
- /**
6
- * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
7
- */
8
- export interface ILoginApprovalRequestEvent {
9
- /** ID unique de la demande */
10
- requestId: string;
11
- /** Date d'expiration */
12
- expiresAt: Date;
13
- /** ID de l'utilisateur */
14
- userId: number;
15
- /** Métadonnées (IP, navigateur, localisation) */
16
- metadata?: {
17
- ip?: string;
18
- userAgent?: string;
19
- location?: string;
20
- };
21
- }
22
-
23
- export interface IApproveOrDenyResponse {
24
- message: string;
25
- status: LoginApprovalStatus;
26
- }
27
-
28
- /**
29
- * Payload de l'événement socket envoyé au Web lors d'un changement de statut
30
- */
31
- export interface ILoginApprovalStatusEvent {
32
- /** ID de la demande */
33
- requestId: string;
34
- /** Nouveau statut */
35
- status: LoginApprovalStatus;
36
- /** Date de la transition */
37
- timestamp: Date;
38
- }
39
-
40
- /**
41
- * Réponse renvoyée au Web lorsque mobile MFA est requis
42
- */
43
- export interface ILoginApprovalResponse {
44
- /** Indique qu'une validation mobile est nécessaire */
45
- requiresMobileApproval: true;
46
- /** ID de la demande pour polling/tracking */
47
- requestId: string;
48
- /** Date d'expiration de la demande */
49
- expiresAt: Date;
50
- /** ID utilisateur */
51
- userId: number;
52
- }
53
-
54
- /**
55
- * Réponse du statut d'une demande d'approbation
56
- */
57
- export interface ILoginApprovalStatusResponse {
58
- /** ID de la demande */
59
- requestId: string;
60
- /** Statut actuel */
61
- status: LoginApprovalStatus;
62
- /** Date d'expiration */
63
- expiresAt: Date;
64
- /** Token JWT si status = approved */
65
- token?: string;
66
- }
67
-
68
- /**
69
- * DTO pour approuver/refuser une demande depuis le mobile
70
- */
71
- export class IApproveOrDenyRequest {
72
- @ApiProperty()
73
- @IsString()
74
- deviceId: string;
75
- }
@@ -1,8 +0,0 @@
1
- import { IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export class QueryAllReportHistory {
5
- @ApiProperty()
6
- @IsInt()
7
- idReport: number;
8
- }
@@ -1,31 +0,0 @@
1
- import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
2
-
3
- /**
4
- * Interface représentant une demande d'approbation de connexion mobile
5
- */
6
- export interface ILoginApproval {
7
- /** Identifiant unique (UUID) */
8
- id: string;
9
- /** ID de l'utilisateur demandant la connexion */
10
- idUser: number;
11
- /** Statut actuel de la demande */
12
- status: LoginApprovalStatus;
13
- /** Date d'expiration de la demande (généralement 2-3 min après création) */
14
- expiresAt: Date;
15
- /** Date d'approbation (si status = approved) */
16
- approvedAt?: Date;
17
- /** Date de refus (si status = denied) */
18
- deniedAt?: Date;
19
- /** Device ID du mobile ayant approuvé/refusé */
20
- deviceIdUsed?: string;
21
- /** IP de la connexion Web à l'origine de la demande */
22
- ip?: string;
23
- /** User-Agent du navigateur Web */
24
- userAgent?: string;
25
- /** Métadonnées additionnelles (géoloc, risk score, etc.) */
26
- metadata?: Record<string, any>;
27
- /** Date de création */
28
- createdAt: Date;
29
- /** Date de mise à jour */
30
- updatedAt: Date;
31
- }
@@ -1,22 +0,0 @@
1
- import { ReportTypeEnum } from '../../Enum/ReportType';
2
- import { IReport } from './IReport';
3
- import { IUser } from './IUser';
4
-
5
- // reportHistory
6
- export interface IReportHistory {
7
- id?: number;
8
- idSource?: number | null;
9
- idReportType?: ReportTypeEnum[] | null;
10
- state?: number | null;
11
- idUserConcerned?: number | null;
12
- idServiceConcerned?: number | null;
13
- idReport?: number;
14
- idUser?: number | null;
15
- createdAt?: Date | null;
16
- updatedAt?: Date | null;
17
-
18
- // Associations
19
- userConcerned?: IUser;
20
- report?: IReport;
21
- user?: IUser;
22
- }
@@ -1,129 +0,0 @@
1
- import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';
2
- import {
3
- SocietyApprovalDocumentType,
4
- SocietyApprovalDocumentConfig,
5
- SocietyApprovalDocumentsByLegalForm,
6
- SocietyApprovalDocumentTemplate,
7
- } from '../types/Enum/SocietyApproval';
8
- import { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';
9
- import { QualityList } from '../types/Enum/Quality';
10
- import { getBrand } from './brands';
11
- import { convertNumberToLetter } from './amount';
12
- import * as dayjs from 'dayjs';
13
- import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
14
-
15
- /**
16
- * Récupère le nom de la forme juridique
17
- * @param idLegalForm - L'identifiant de la forme juridique
18
- * @param fallback - Valeur par défaut si non trouvée
19
- * @returns Le nom de la forme juridique
20
- */
21
- export function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {
22
- return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
23
- }
24
-
25
- /**
26
- * Récupère la configuration des documents d'approbation pour une forme juridique donnée
27
- * @param idLegalForm - L'identifiant de la forme juridique
28
- * @returns La configuration des documents ou undefined si non trouvée
29
- */
30
- export function getApprovalDocumentsByLegalForm(
31
- idLegalForm: LegalFormTypeEnum,
32
- ): SocietyApprovalDocumentConfig | undefined {
33
- return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
34
- }
35
-
36
- /**
37
- * Récupère le nom du template pour un document spécifique et une forme juridique
38
- * @param idLegalForm - L'identifiant de la forme juridique
39
- * @param idDocumentType - Le type de document d'approbation
40
- * @returns Le nom du template ou undefined si non trouvé
41
- */
42
- //@deprecated use getApprovalDocumentInfos instead
43
- export function getApprovalDocumentTemplateName(
44
- idLegalForm: LegalFormTypeEnum,
45
- idDocumentType: SocietyApprovalDocumentType,
46
- ): string | undefined {
47
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
48
- const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
49
- return document?.templateName;
50
- }
51
-
52
- /**
53
- * Récupère le texte de la ville du greffe
54
- * @param idCityOfGreffe - L'identifiant de la ville du greffe
55
- * @returns Le texte de la ville ou une chaîne vide
56
- */
57
- function getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {
58
- if (!idCityOfGreffe) return '';
59
- return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
60
- }
61
-
62
- /**
63
- * Récupère le nom du template pour un document spécifique et une forme juridique
64
- * @param idLegalForm - L'identifiant de la forme juridique
65
- * @param idDocumentType - Le type de document d'approbation
66
- * @returns Le nom du template ou undefined si non trouvé
67
- */
68
- export function getApprovalDocumentInfos(
69
- idLegalForm: LegalFormTypeEnum,
70
- idDocumentType: SocietyApprovalDocumentType,
71
- ): SocietyApprovalDocumentTemplate | undefined {
72
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
73
- return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
74
- }
75
-
76
- /**
77
- * Construit les données formatées pour le template d'approbation
78
- * @param existingApproval - Les données d'approbation de la société
79
- * @param style - Le style HTML pour le document
80
- * @returns L'objet de données formaté pour le template
81
- */
82
- export function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {
83
- const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
84
- const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
85
- const brand = getBrand();
86
- return {
87
- // Variables globales
88
- style,
89
- yearInText,
90
- dayAndMonthInText,
91
- date: dayjs().locale('fr').format('DD MMMM YYYY'),
92
- companyInformation: {
93
- rcs: brand?.companyInformation?.rcs,
94
- nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
95
- city: brand?.companyInformation?.city,
96
- postalAddress: brand?.companyInformation?.postalAddress,
97
- montantCapital: brand?.companyInformation?.montantCapital,
98
- statut: brand?.companyInformation?.statut,
99
- ECOrderCity: brand?.companyInformation?.ECOrderCity,
100
- },
101
- owner: {
102
- identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
103
- quality: QualityList.find(
104
- (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,
105
- )?.label,
106
- },
107
- // Variables stockées en base
108
- ...existingApproval,
109
- generatingDatas: {
110
- ...existingApproval?.generatingDatas,
111
- ...(existingApproval?.generatingDatas?.approvalDate
112
- ? {
113
- approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
114
- .locale('fr')
115
- .format('DD MMMM YYYY')
116
- .toUpperCase(),
117
- }
118
- : {}),
119
- },
120
- exercice: {
121
- ...existingApproval?.exercice,
122
- society: {
123
- ...existingApproval?.exercice?.society,
124
- cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
125
- },
126
- endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
127
- },
128
- };
129
- }