@silexpert/core 1.3.194 → 1.3.195-2

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 (507) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +23 -1
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +36 -0
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Mfa.js +0 -4
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  9. package/dist/cjs/api/resources/Payment.d.ts +0 -1
  10. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Payment.js +0 -3
  12. package/dist/cjs/api/resources/Payment.js.map +1 -1
  13. package/dist/cjs/api/resources/Society.d.ts +1 -2
  14. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/Society.js +0 -3
  16. package/dist/cjs/api/resources/Society.js.map +1 -1
  17. package/dist/cjs/api/resources/UsersHistory.d.ts +11 -0
  18. package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -0
  19. package/dist/cjs/api/resources/UsersHistory.js +26 -0
  20. package/dist/cjs/api/resources/UsersHistory.js.map +1 -0
  21. package/dist/cjs/api/resources.d.ts +0 -4
  22. package/dist/cjs/api/resources.d.ts.map +1 -1
  23. package/dist/cjs/api/resources.js +0 -4
  24. package/dist/cjs/api/resources.js.map +1 -1
  25. package/dist/cjs/types/Enum/Card.d.ts +44 -2
  26. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/Card.js +52 -2
  28. package/dist/cjs/types/Enum/Card.js.map +1 -1
  29. package/dist/cjs/types/Enum/Ged.d.ts +3 -9
  30. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/Ged.js +30 -154
  32. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  33. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  34. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  36. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  37. package/dist/cjs/types/Enum/JobTitle.d.ts +1 -2
  38. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  39. package/dist/cjs/types/Enum/JobTitle.js +0 -6
  40. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  41. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -3
  42. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/MailAuto.js +0 -2
  44. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  45. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  46. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  47. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  48. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  49. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  50. package/dist/cjs/types/Enum/Proceding.js +0 -4
  51. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  52. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  53. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  54. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  55. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  56. package/dist/cjs/types/Enum/UsersHistory.d.ts +17 -0
  57. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -0
  58. package/dist/cjs/types/Enum/UsersHistory.js +26 -0
  59. package/dist/cjs/types/Enum/UsersHistory.js.map +1 -0
  60. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  61. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  64. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  66. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  67. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  68. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  70. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  72. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +0 -6
  74. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  75. package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -3
  76. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/card/Cron.js +1 -10
  78. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  80. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  81. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
  82. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  83. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  84. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  85. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +106 -0
  86. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  87. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  88. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +13 -11
  90. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  91. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  92. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  93. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +79 -0
  94. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  95. package/dist/cjs/types/Interface/api/card/Query.d.ts +8 -0
  96. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +15 -16
  98. package/dist/cjs/types/Interface/api/card/Query.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  100. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  101. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +44 -7
  102. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  103. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  104. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/card/UpdateCard.js +58 -1
  106. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  108. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  109. package/dist/cjs/types/Interface/api/informationRequest/Update.js +1 -10
  110. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  111. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  112. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  113. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  114. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  115. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  116. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +0 -6
  117. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  118. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  119. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -14
  121. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  122. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  123. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  124. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  125. package/dist/cjs/types/Interface/models/ICard.d.ts +19 -0
  126. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  127. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  128. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +4 -0
  129. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  130. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  131. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  132. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  133. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  134. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  135. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  137. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  138. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  139. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  140. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  141. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  142. package/dist/cjs/types/Interface/{api/webex/WebexMeeting.js → models/IUsersHistory.js} +1 -1
  143. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -0
  144. package/dist/cjs/types/index.d.ts +6 -14
  145. package/dist/cjs/types/index.d.ts.map +1 -1
  146. package/dist/cjs/types/index.js +6 -14
  147. package/dist/cjs/types/index.js.map +1 -1
  148. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  149. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  150. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  151. package/dist/cjs/utils/index.d.ts +0 -1
  152. package/dist/cjs/utils/index.d.ts.map +1 -1
  153. package/dist/cjs/utils/index.js +0 -1
  154. package/dist/cjs/utils/index.js.map +1 -1
  155. package/dist/mjs/api/resources/Card.d.ts +23 -1
  156. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  157. package/dist/mjs/api/resources/Card.js +45 -0
  158. package/dist/mjs/api/resources/Card.js.map +1 -1
  159. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  160. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  161. package/dist/mjs/api/resources/Mfa.js +0 -4
  162. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  163. package/dist/mjs/api/resources/Payment.d.ts +0 -1
  164. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  165. package/dist/mjs/api/resources/Payment.js +0 -3
  166. package/dist/mjs/api/resources/Payment.js.map +1 -1
  167. package/dist/mjs/api/resources/Society.d.ts +1 -2
  168. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  169. package/dist/mjs/api/resources/Society.js +0 -3
  170. package/dist/mjs/api/resources/Society.js.map +1 -1
  171. package/dist/mjs/api/resources/UsersHistory.d.ts +11 -0
  172. package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -0
  173. package/dist/mjs/api/resources/UsersHistory.js +22 -0
  174. package/dist/mjs/api/resources/UsersHistory.js.map +1 -0
  175. package/dist/mjs/api/resources.d.ts +0 -4
  176. package/dist/mjs/api/resources.d.ts.map +1 -1
  177. package/dist/mjs/api/resources.js +0 -4
  178. package/dist/mjs/api/resources.js.map +1 -1
  179. package/dist/mjs/types/Enum/Card.d.ts +44 -2
  180. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  181. package/dist/mjs/types/Enum/Card.js +52 -2
  182. package/dist/mjs/types/Enum/Card.js.map +1 -1
  183. package/dist/mjs/types/Enum/Ged.d.ts +3 -9
  184. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  185. package/dist/mjs/types/Enum/Ged.js +30 -154
  186. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  187. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  188. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  189. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  190. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  191. package/dist/mjs/types/Enum/JobTitle.d.ts +1 -2
  192. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  193. package/dist/mjs/types/Enum/JobTitle.js +0 -6
  194. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  195. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -3
  196. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  197. package/dist/mjs/types/Enum/MailAuto.js +0 -2
  198. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  199. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  200. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  201. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  202. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  203. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  204. package/dist/mjs/types/Enum/Proceding.js +0 -4
  205. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  206. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  207. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  208. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  209. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  210. package/dist/mjs/types/Enum/UsersHistory.d.ts +17 -0
  211. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -0
  212. package/dist/mjs/types/Enum/UsersHistory.js +23 -0
  213. package/dist/mjs/types/Enum/UsersHistory.js.map +1 -0
  214. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  215. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  216. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  217. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  218. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  219. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  220. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  221. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  222. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  223. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
  224. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  225. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  226. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  227. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +0 -7
  228. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  229. package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -3
  230. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  231. package/dist/mjs/types/Interface/api/card/Cron.js +0 -8
  232. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  233. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  234. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  235. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
  236. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  237. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  238. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  239. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +115 -0
  240. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  241. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  242. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  243. package/dist/mjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +14 -12
  244. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  245. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  246. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  247. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +84 -0
  248. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  249. package/dist/mjs/types/Interface/api/card/Query.d.ts +8 -0
  250. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -0
  251. package/dist/mjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +16 -20
  252. package/dist/mjs/types/Interface/api/card/Query.js.map +1 -0
  253. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  254. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  255. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +43 -7
  256. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  257. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  258. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  259. package/dist/mjs/types/Interface/api/card/UpdateCard.js +65 -1
  260. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  261. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  262. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  263. package/dist/mjs/types/Interface/api/informationRequest/Update.js +0 -9
  264. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  265. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  266. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  267. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  268. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  269. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  270. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +0 -7
  271. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  272. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  273. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  274. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -15
  275. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  276. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  277. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  278. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  279. package/dist/mjs/types/Interface/models/ICard.d.ts +19 -0
  280. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  281. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  282. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +4 -0
  283. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  284. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  285. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  286. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  287. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  288. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  289. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  290. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  291. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  292. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  293. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  294. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  295. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  296. package/dist/mjs/types/Interface/models/IUsersHistory.js +2 -0
  297. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -0
  298. package/dist/mjs/types/index.d.ts +6 -14
  299. package/dist/mjs/types/index.d.ts.map +1 -1
  300. package/dist/mjs/types/index.js +6 -14
  301. package/dist/mjs/types/index.js.map +1 -1
  302. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  303. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  304. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  305. package/dist/mjs/utils/index.d.ts +0 -1
  306. package/dist/mjs/utils/index.d.ts.map +1 -1
  307. package/dist/mjs/utils/index.js +0 -1
  308. package/dist/mjs/utils/index.js.map +1 -1
  309. package/package.json +1 -1
  310. package/ts/api/resources/Card.ts +61 -0
  311. package/ts/api/resources/Mfa.ts +0 -6
  312. package/ts/api/resources/Payment.ts +0 -4
  313. package/ts/api/resources/Society.ts +0 -5
  314. package/ts/api/resources/UsersHistory.ts +29 -0
  315. package/ts/api/resources.ts +0 -4
  316. package/ts/types/Enum/Card.ts +52 -2
  317. package/ts/types/Enum/Ged.ts +248 -380
  318. package/ts/types/Enum/InformationRequestState.ts +0 -1
  319. package/ts/types/Enum/JobTitle.ts +0 -6
  320. package/ts/types/Enum/MailAuto.ts +0 -2
  321. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  322. package/ts/types/Enum/Proceding.ts +0 -4
  323. package/ts/types/Enum/StatutsSection.ts +7 -15
  324. package/ts/types/Enum/UsersHistory.ts +25 -0
  325. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  326. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  327. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  328. package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -6
  329. package/ts/types/Interface/api/card/Cron.ts +1 -8
  330. package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
  331. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +81 -0
  332. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
  333. package/ts/types/Interface/api/card/ModifyPlanning.ts +52 -0
  334. package/ts/types/Interface/api/card/Query.ts +19 -0
  335. package/ts/types/Interface/api/card/QueryUserCards.ts +36 -6
  336. package/ts/types/Interface/api/card/UpdateCard.ts +50 -2
  337. package/ts/types/Interface/api/informationRequest/Update.ts +0 -7
  338. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  339. package/ts/types/Interface/api/user/RegisterProspect.ts +0 -5
  340. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -17
  341. package/ts/types/Interface/models/IBalanceSheet.ts +3 -0
  342. package/ts/types/Interface/models/ICard.ts +20 -0
  343. package/ts/types/Interface/models/ICardHistory.ts +4 -0
  344. package/ts/types/Interface/models/ICustomerVat.ts +1 -0
  345. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  346. package/ts/types/Interface/models/IUser.ts +0 -2
  347. package/ts/types/Interface/models/IUsersHistory.ts +9 -0
  348. package/ts/types/index.ts +6 -14
  349. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  350. package/ts/utils/index.ts +0 -1
  351. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  352. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  353. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  354. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  355. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  356. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  357. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  358. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  359. package/dist/cjs/api/resources/Webex.d.ts +0 -8
  360. package/dist/cjs/api/resources/Webex.d.ts.map +0 -1
  361. package/dist/cjs/api/resources/Webex.js +0 -17
  362. package/dist/cjs/api/resources/Webex.js.map +0 -1
  363. package/dist/cjs/types/Enum/EbookIntention.d.ts +0 -8
  364. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +0 -1
  365. package/dist/cjs/types/Enum/EbookIntention.js +0 -18
  366. package/dist/cjs/types/Enum/EbookIntention.js.map +0 -1
  367. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  368. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  369. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  370. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  371. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  372. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  373. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  374. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  375. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -46
  376. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  377. package/dist/cjs/types/Enum/SocietyApproval.js +0 -280
  378. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  379. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  380. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  381. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  382. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  383. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  384. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  385. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  386. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  387. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  388. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  389. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  390. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  391. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  392. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  393. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  394. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  395. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  396. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +0 -21
  397. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  398. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  399. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  400. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  401. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  402. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  403. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +0 -3
  404. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  405. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  406. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  407. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  408. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  409. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  410. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  411. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  412. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  413. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  414. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  415. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  416. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  417. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  418. package/dist/cjs/utils/societyApproval.js +0 -101
  419. package/dist/cjs/utils/societyApproval.js.map +0 -1
  420. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  421. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  422. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  423. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  424. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  425. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  426. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  427. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  428. package/dist/mjs/api/resources/Webex.d.ts +0 -8
  429. package/dist/mjs/api/resources/Webex.d.ts.map +0 -1
  430. package/dist/mjs/api/resources/Webex.js +0 -13
  431. package/dist/mjs/api/resources/Webex.js.map +0 -1
  432. package/dist/mjs/types/Enum/EbookIntention.d.ts +0 -8
  433. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +0 -1
  434. package/dist/mjs/types/Enum/EbookIntention.js +0 -15
  435. package/dist/mjs/types/Enum/EbookIntention.js.map +0 -1
  436. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  437. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  438. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  439. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  440. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  441. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  442. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  443. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  444. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -46
  445. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  446. package/dist/mjs/types/Enum/SocietyApproval.js +0 -277
  447. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  448. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  449. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  450. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  451. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  452. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  453. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  454. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  455. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  456. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  457. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  458. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  459. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  460. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  461. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  462. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  463. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  464. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  465. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +0 -18
  466. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  467. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  468. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  469. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  470. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  471. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  472. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +0 -2
  473. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  474. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  475. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  476. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +0 -2
  477. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  478. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  479. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  480. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  481. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  482. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  483. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  484. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  485. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  486. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  487. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  488. package/dist/mjs/utils/societyApproval.js +0 -109
  489. package/dist/mjs/utils/societyApproval.js.map +0 -1
  490. package/ts/api/resources/LoginApproval.ts +0 -20
  491. package/ts/api/resources/SocietyApproval.ts +0 -75
  492. package/ts/api/resources/Webex.ts +0 -16
  493. package/ts/types/Enum/EbookIntention.ts +0 -14
  494. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  495. package/ts/types/Enum/MfaMode.ts +0 -11
  496. package/ts/types/Enum/SocietyApproval.ts +0 -301
  497. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  498. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  499. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  500. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  501. package/ts/types/Interface/api/bankAccount/Benchmark.ts +0 -7
  502. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -20
  503. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
  504. package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
  505. package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
  506. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  507. package/ts/utils/societyApproval.ts +0 -129
@@ -1,109 +0,0 @@
1
- import { LegalForm } from '../types/Enum/LegalForm';
2
- import { SocietyApprovalDocumentsByLegalForm, } from '../types/Enum/SocietyApproval';
3
- import { QualityList } from '../types/Enum/Quality';
4
- import { getBrand } from './brands';
5
- import { convertNumberToLetter } from './amount';
6
- import * as dayjs from 'dayjs';
7
- import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
8
- /**
9
- * Récupère le nom de la forme juridique
10
- * @param idLegalForm - L'identifiant de la forme juridique
11
- * @param fallback - Valeur par défaut si non trouvée
12
- * @returns Le nom de la forme juridique
13
- */
14
- export function getLegalFormName(idLegalForm, fallback = '') {
15
- return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
16
- }
17
- /**
18
- * Récupère la configuration des documents d'approbation pour une forme juridique donnée
19
- * @param idLegalForm - L'identifiant de la forme juridique
20
- * @returns La configuration des documents ou undefined si non trouvée
21
- */
22
- export function getApprovalDocumentsByLegalForm(idLegalForm) {
23
- return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
24
- }
25
- /**
26
- * Récupère le nom du template pour un document spécifique et une forme juridique
27
- * @param idLegalForm - L'identifiant de la forme juridique
28
- * @param idDocumentType - Le type de document d'approbation
29
- * @returns Le nom du template ou undefined si non trouvé
30
- */
31
- //@deprecated use getApprovalDocumentInfos instead
32
- export function getApprovalDocumentTemplateName(idLegalForm, idDocumentType) {
33
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
34
- const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
35
- return document?.templateName;
36
- }
37
- /**
38
- * Récupère le texte de la ville du greffe
39
- * @param idCityOfGreffe - L'identifiant de la ville du greffe
40
- * @returns Le texte de la ville ou une chaîne vide
41
- */
42
- function getCityOfGreffeName(idCityOfGreffe) {
43
- if (!idCityOfGreffe)
44
- return '';
45
- return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
46
- }
47
- /**
48
- * Récupère le nom du template pour un document spécifique et une forme juridique
49
- * @param idLegalForm - L'identifiant de la forme juridique
50
- * @param idDocumentType - Le type de document d'approbation
51
- * @returns Le nom du template ou undefined si non trouvé
52
- */
53
- export function getApprovalDocumentInfos(idLegalForm, idDocumentType) {
54
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
55
- return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
56
- }
57
- /**
58
- * Construit les données formatées pour le template d'approbation
59
- * @param existingApproval - Les données d'approbation de la société
60
- * @param style - Le style HTML pour le document
61
- * @returns L'objet de données formaté pour le template
62
- */
63
- export function buildApprovalTemplateData(existingApproval, style) {
64
- const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
65
- const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
66
- const brand = getBrand();
67
- return {
68
- // Variables globales
69
- style,
70
- yearInText,
71
- dayAndMonthInText,
72
- date: dayjs().locale('fr').format('DD MMMM YYYY'),
73
- companyInformation: {
74
- rcs: brand?.companyInformation?.rcs,
75
- nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
76
- city: brand?.companyInformation?.city,
77
- postalAddress: brand?.companyInformation?.postalAddress,
78
- montantCapital: brand?.companyInformation?.montantCapital,
79
- statut: brand?.companyInformation?.statut,
80
- ECOrderCity: brand?.companyInformation?.ECOrderCity,
81
- },
82
- owner: {
83
- identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
84
- quality: QualityList.find((ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality)?.label,
85
- },
86
- // Variables stockées en base
87
- ...existingApproval,
88
- generatingDatas: {
89
- ...existingApproval?.generatingDatas,
90
- ...(existingApproval?.generatingDatas?.approvalDate
91
- ? {
92
- approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
93
- .locale('fr')
94
- .format('DD MMMM YYYY')
95
- .toUpperCase(),
96
- }
97
- : {}),
98
- },
99
- exercice: {
100
- ...existingApproval?.exercice,
101
- society: {
102
- ...existingApproval?.exercice?.society,
103
- cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
104
- },
105
- endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
106
- },
107
- };
108
- }
109
- //# sourceMappingURL=societyApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"societyApproval.js","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"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","sourcesContent":["import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';\nimport {\n SocietyApprovalDocumentType,\n SocietyApprovalDocumentConfig,\n SocietyApprovalDocumentsByLegalForm,\n SocietyApprovalDocumentTemplate,\n} from '../types/Enum/SocietyApproval';\nimport { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';\nimport { QualityList } from '../types/Enum/Quality';\nimport { getBrand } from './brands';\nimport { convertNumberToLetter } from './amount';\nimport * as dayjs from 'dayjs';\nimport { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';\n\n/**\n * Récupère le nom de la forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param fallback - Valeur par défaut si non trouvée\n * @returns Le nom de la forme juridique\n */\nexport function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {\n return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;\n}\n\n/**\n * Récupère la configuration des documents d'approbation pour une forme juridique donnée\n * @param idLegalForm - L'identifiant de la forme juridique\n * @returns La configuration des documents ou undefined si non trouvée\n */\nexport function getApprovalDocumentsByLegalForm(\n idLegalForm: LegalFormTypeEnum,\n): SocietyApprovalDocumentConfig | undefined {\n return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\n//@deprecated use getApprovalDocumentInfos instead\nexport function getApprovalDocumentTemplateName(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): string | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n return document?.templateName;\n}\n\n/**\n * Récupère le texte de la ville du greffe\n * @param idCityOfGreffe - L'identifiant de la ville du greffe\n * @returns Le texte de la ville ou une chaîne vide\n */\nfunction getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {\n if (!idCityOfGreffe) return '';\n return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\nexport function getApprovalDocumentInfos(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): SocietyApprovalDocumentTemplate | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n}\n\n/**\n * Construit les données formatées pour le template d'approbation\n * @param existingApproval - Les données d'approbation de la société\n * @param style - Le style HTML pour le document\n * @returns L'objet de données formaté pour le template\n */\nexport function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {\n const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();\n const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;\n const brand = getBrand();\n return {\n // Variables globales\n style,\n yearInText,\n dayAndMonthInText,\n date: dayjs().locale('fr').format('DD MMMM YYYY'),\n companyInformation: {\n rcs: brand?.companyInformation?.rcs,\n nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,\n city: brand?.companyInformation?.city,\n postalAddress: brand?.companyInformation?.postalAddress,\n montantCapital: brand?.companyInformation?.montantCapital,\n statut: brand?.companyInformation?.statut,\n ECOrderCity: brand?.companyInformation?.ECOrderCity,\n },\n owner: {\n identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,\n quality: QualityList.find(\n (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,\n )?.label,\n },\n // Variables stockées en base\n ...existingApproval,\n generatingDatas: {\n ...existingApproval?.generatingDatas,\n ...(existingApproval?.generatingDatas?.approvalDate\n ? {\n approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)\n .locale('fr')\n .format('DD MMMM YYYY')\n .toUpperCase(),\n }\n : {}),\n },\n exercice: {\n ...existingApproval?.exercice,\n society: {\n ...existingApproval?.exercice?.society,\n cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),\n },\n endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),\n },\n };\n}\n"]}
@@ -1,20 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
3
-
4
- export class LoginApproval extends Resource {
5
- approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
6
- return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
7
- }
8
-
9
- deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
10
- return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
11
- }
12
-
13
- getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {
14
- return this.axios.$get(`/auth/approvals/${requestId}/status`);
15
- }
16
-
17
- cleanup(): Promise<{ deleted: number; message: string }> {
18
- return this.axios.$post('/auth/approvals/cleanup');
19
- }
20
- }
@@ -1,75 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import {
3
- ISocietyApproval,
4
- CreateDocument,
5
- ReadLibraryFile,
6
- ResetDocument,
7
- IDocumentSection,
8
- IApprovalGeneratingData,
9
- } from '../../types';
10
-
11
- export class SocietyApproval extends Resource {
12
- /**
13
- * Get society approval data for a given exercice
14
- * @param idExercice - The exercice ID
15
- * @returns Society approval with all needed data
16
- */
17
- get(idExercice: number): Promise<ISocietyApproval> {
18
- return this.axios.$get(`/exercices/${idExercice}/approvals`);
19
- }
20
-
21
- /**
22
- * Get approval data needed for PDF generation
23
- * Retrieves all necessary information before generating a PDF document
24
- * @param idExercice - The exercice ID
25
- * @returns Approval data with template data for PDF generation
26
- */
27
- getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData> {
28
- return this.axios.$get(`/exercices/${idExercice}/approvals/generating-data`);
29
- }
30
-
31
- /**
32
- * Create or update society approval
33
- * @param idExercice - The exercice ID
34
- * @param payload - The approval data
35
- * @returns Updated or created society approval
36
- */
37
- updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval> {
38
- return this.axios.$post(`/exercices/${idExercice}/approvals`, payload);
39
- }
40
-
41
- /**
42
- * Generate approval PDF document
43
- * @param idExercice - The exercice ID
44
- * @param payload - The document type(s) to generate
45
- * @returns PDF file as blob
46
- */
47
- generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile> {
48
- return this.axios.$post(`/exercices/${idExercice}/approvals/pdf`, payload);
49
- }
50
-
51
- /**
52
- * Reset document section by regenerating from original template
53
- * @param idExercice - The exercice ID
54
- * @param idDocumentSection - The documentSection ID to reset
55
- * @param payload - The document type for template selection
56
- * @returns Updated documentSection with new content from template
57
- */
58
- resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection> {
59
- return this.axios.$put(`/exercices/${idExercice}/document-sections/${idDocumentSection}/reset`, payload);
60
- }
61
-
62
- /**
63
- * Regenerate PDF document from existing documentSection HTML content
64
- * @param idExercice - The exercice ID
65
- * @param idDocumentSection - The documentSection ID containing HTML content
66
- * @returns PDF file as buffer for download
67
- */
68
- regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer> {
69
- return this.axios.$post(
70
- `/exercices/${idExercice}/approvals/pdf/regenerate`,
71
- { idDocumentSection },
72
- { responseType: 'arraybuffer' },
73
- );
74
- }
75
- }
@@ -1,16 +0,0 @@
1
- import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';
2
- import { Resource } from '../Resource';
3
-
4
- export class Webex extends Resource {
5
- getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars> {
6
- return this.axios.$get('/connectors/webex/webinars', { params });
7
- }
8
-
9
- getWebinarById(meetingId: string): Promise<any> {
10
- return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);
11
- }
12
-
13
- addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant> {
14
- return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);
15
- }
16
- }
@@ -1,14 +0,0 @@
1
- export enum EbookIntention {
2
- FACTU_ONLY = 'Facturation uniquement',
3
- FACTU_COMPTA = 'Facturation + comptabilité',
4
- INFO_REFORME = 'Je cherche juste à comprendre la réforme',
5
- // prettier-ignore
6
- CHANGE_TOOL = 'Je dois changer d\'outil rapidement',
7
- }
8
-
9
- export const BrevoEbookIntentionMapping: Record<EbookIntention, string> = {
10
- [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',
11
- [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',
12
- [EbookIntention.INFO_REFORME]: 'INFO_REFORME',
13
- [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',
14
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * Statuts possibles d'une demande d'approbation de connexion mobile
3
- */
4
- export enum LoginApprovalStatus {
5
- /** En attente de validation par le mobile */
6
- PENDING = 'pending',
7
- /** Approuvée par l'utilisateur sur son mobile */
8
- APPROVED = 'approved',
9
- /** Refusée par l'utilisateur sur son mobile */
10
- DENIED = 'denied',
11
- /** Expirée (timeout dépassé sans action) */
12
- EXPIRED = 'expired',
13
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Modes de double authentification disponibles
3
- */
4
- export enum MfaMode {
5
- /** Pas de MFA activée */
6
- NONE = 'none',
7
- /** Authentification via code TOTP (Google Authenticator, etc.) */
8
- TOTP = 'totp',
9
- /** Validation via notification sur l'application mobile */
10
- MOBILE_APPROVAL = 'mobile_approval',
11
- }
@@ -1,301 +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 enum RegulatedConventionType {
16
- SOCIAL_CONTRIBUTIONS_COVERAGE = 1,
17
- CURRENT_ACCOUNT_CREDITOR = 2,
18
- CURRENT_ACCOUNT_DEBTOR = 3,
19
- CURRENT_ACCOUNT_WAIVER = 4,
20
- EMPLOYMENT_CONTRACT = 5,
21
- SERVICE_PROVISION = 6,
22
- COMMERCIAL_LEASE = 7,
23
- RENT_SHARING = 8,
24
- MILEAGE_REIMBURSEMENT = 9,
25
- PRESIDENT_REMUNERATION = 10,
26
- }
27
-
28
- export type RegulatedConvention = {
29
- id: RegulatedConventionType;
30
- label: string;
31
- templateName: string;
32
- applicableTo: LegalFormTypeEnum[];
33
- };
34
-
35
- export const RegulatedConventions: RegulatedConvention[] = [
36
- {
37
- id: RegulatedConventionType.SOCIAL_CONTRIBUTIONS_COVERAGE,
38
- label: 'Prise en charge des cotisations sociales',
39
- templateName: 'CONVENTION_SOCIAL_CONTRIBUTIONS_COVERAGE',
40
- applicableTo: [LegalFormTypeEnum.EURL],
41
- },
42
- {
43
- id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,
44
- label: 'Existence d\'un compte courant créditeur',
45
- templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',
46
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
47
- },
48
- {
49
- id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,
50
- label: 'Existence d\'un compte courant débiteur',
51
- templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',
52
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
53
- },
54
- {
55
- id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,
56
- label: 'Convention d\'abandon de compte courant sous réserve de retour à meilleure fortune',
57
- templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',
58
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
59
- },
60
- {
61
- id: RegulatedConventionType.EMPLOYMENT_CONTRACT,
62
- label: 'Existence d\'un contrat de travail',
63
- templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',
64
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
65
- },
66
- {
67
- id: RegulatedConventionType.SERVICE_PROVISION,
68
- label: 'Existence et facturation de prestations de services',
69
- templateName: 'CONVENTION_SERVICE_PROVISION',
70
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
71
- },
72
- {
73
- id: RegulatedConventionType.COMMERCIAL_LEASE,
74
- label: 'Existence d\'un bail commercial',
75
- templateName: 'CONVENTION_COMMERCIAL_LEASE',
76
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
77
- },
78
- {
79
- id: RegulatedConventionType.RENT_SHARING,
80
- label: 'Prise en charge d\'une quote part du loyer',
81
- templateName: 'CONVENTION_RENT_SHARING',
82
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
83
- },
84
- {
85
- id: RegulatedConventionType.MILEAGE_REIMBURSEMENT,
86
- label: 'Remboursement des indemnités kilométriques',
87
- templateName: 'CONVENTION_MILEAGE_REIMBURSEMENT',
88
- applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
89
- },
90
- {
91
- id: RegulatedConventionType.PRESIDENT_REMUNERATION,
92
- label: 'Rémunération du/de la Président(e)',
93
- templateName: 'CONVENTION_PRESIDENT_REMUNERATION',
94
- applicableTo: [LegalFormTypeEnum.SASU],
95
- },
96
- ];
97
-
98
- export type SocietyApprovalDocumentTemplate = {
99
- idDocumentType: SocietyApprovalDocumentType;
100
- docName: string;
101
- templateName: string;
102
- documentSectionType: DocumentSectionType;
103
- token?: string;
104
- htmlContent?: string;
105
- idDocumentSection?: number;
106
- };
107
-
108
- export type SocietyApprovalDocumentConfig = {
109
- idLegalForm: LegalFormTypeEnum;
110
- legalFormName: string;
111
- documents: SocietyApprovalDocumentTemplate[];
112
- };
113
-
114
- export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [
115
- {
116
- idLegalForm: LegalFormTypeEnum.EURL,
117
- legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),
118
- documents: [
119
- {
120
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
121
- docName: "Procès-verbal d'approbation des comptes",
122
- templateName: 'APPROVAL_EURL',
123
- documentSectionType: DocumentSectionType.APPROVAL_PV,
124
- },
125
- {
126
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
127
- docName: 'Mandat de pouvoir',
128
- templateName: 'POWER_MANDATE_EURL',
129
- documentSectionType: DocumentSectionType.POWER_MANDATE,
130
- },
131
- {
132
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
133
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
134
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',
135
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
136
- },
137
- {
138
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
139
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
140
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',
141
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
142
- },
143
- {
144
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
145
- docName: 'Affectation du résultat',
146
- templateName: 'INCOME_APPROPRIATION_EURL',
147
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
148
- },
149
- {
150
- idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,
151
- docName: 'Liste de conventions',
152
- templateName: 'LIST_OF_CONVENTIONS_EURL',
153
- documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,
154
- },
155
- ],
156
- },
157
- // {
158
- // idLegalForm: LegalFormTypeEnum.SARL,
159
- // legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),
160
- // documents: [
161
- // {
162
- // idDocumentType: SocietyApprovalDocumentType.PV_AG,
163
- // docName: "Procès-verbal d'approbation des comptes",
164
- // templateName: 'APPROVAL_SARL',
165
- // documentSectionType: DocumentSectionType.APPROVAL_PV,
166
- // },
167
- // {
168
- // idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
169
- // docName: 'Mandat de pouvoir',
170
- // templateName: 'POWER_MANDATE_SARL',
171
- // documentSectionType: DocumentSectionType.POWER_MANDATE,
172
- // },
173
- // {
174
- // idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
175
- // docName: 'Déclaration de confidentialité pour les comptes annuels',
176
- // templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',
177
- // documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
178
- // },
179
- // {
180
- // idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
181
- // docName: 'Affectation du résultat',
182
- // templateName: 'INCOME_APPROPRIATION_SARL',
183
- // documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
184
- // },
185
- // ],
186
- // },
187
- {
188
- idLegalForm: LegalFormTypeEnum.SASU,
189
- legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),
190
- documents: [
191
- {
192
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
193
- docName: "Procès-verbal d'approbation des comptes",
194
- templateName: 'APPROVAL_SASU',
195
- documentSectionType: DocumentSectionType.APPROVAL_PV,
196
- },
197
- {
198
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
199
- docName: 'Mandat de pouvoir',
200
- templateName: 'POWER_MANDATE_SASU',
201
- documentSectionType: DocumentSectionType.POWER_MANDATE,
202
- },
203
- {
204
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
205
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
206
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',
207
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
208
- },
209
- {
210
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
211
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
212
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',
213
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
214
- },
215
- {
216
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
217
- docName: 'Affectation du résultat',
218
- templateName: 'INCOME_APPROPRIATION_SASU',
219
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
220
- },
221
- {
222
- idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,
223
- docName: 'Liste de dividendes',
224
- templateName: 'LIST_OF_DIVIDENDS_SASU',
225
- documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,
226
- },
227
- ],
228
- },
229
- {
230
- idLegalForm: LegalFormTypeEnum.SAS,
231
- legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),
232
- documents: [
233
- {
234
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
235
- docName: "Procès-verbal d'approbation des comptes",
236
- templateName: 'APPROVAL_SAS',
237
- documentSectionType: DocumentSectionType.APPROVAL_PV,
238
- },
239
- {
240
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
241
- docName: 'Mandat de pouvoir',
242
- templateName: 'POWER_MANDATE_SAS',
243
- documentSectionType: DocumentSectionType.POWER_MANDATE,
244
- },
245
- {
246
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
247
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
248
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',
249
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
250
- },
251
- {
252
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
253
- docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
254
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',
255
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
256
- },
257
- {
258
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
259
- docName: 'Affectation du résultat',
260
- templateName: 'INCOME_APPROPRIATION_SAS',
261
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
262
- },
263
- ],
264
- },
265
- {
266
- idLegalForm: LegalFormTypeEnum.SCI,
267
- legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),
268
- documents: [
269
- {
270
- idDocumentType: SocietyApprovalDocumentType.PV_AG,
271
- docName: "Procès-verbal d'approbation des comptes",
272
- templateName: 'APPROVAL_SCI',
273
- documentSectionType: DocumentSectionType.APPROVAL_PV,
274
- },
275
- {
276
- idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
277
- docName: 'Mandat de pouvoir',
278
- templateName: 'POWER_MANDATE_SCI',
279
- documentSectionType: DocumentSectionType.POWER_MANDATE,
280
- },
281
- {
282
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
283
- docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
284
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',
285
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
286
- },
287
- {
288
- idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
289
- docName: 'Déclaration de confidentialité pour les comptes annuels',
290
- templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',
291
- documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
292
- },
293
- {
294
- idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
295
- docName: 'Affectation du résultat',
296
- templateName: 'INCOME_APPROPRIATION_SCI',
297
- documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
298
- },
299
- ],
300
- },
301
- ];