@silexpert/core 1.3.195-7 → 1.3.195-9

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 (538) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +1 -23
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +0 -36
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/LoginApproval.d.ts +18 -0
  6. package/dist/cjs/api/resources/LoginApproval.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/LoginApproval.js +20 -0
  8. package/dist/cjs/api/resources/LoginApproval.js.map +1 -0
  9. package/dist/cjs/api/resources/Mfa.d.ts +1 -0
  10. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Mfa.js +4 -0
  12. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  13. package/dist/cjs/api/resources/Payment.d.ts +1 -0
  14. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/Payment.js +3 -0
  16. package/dist/cjs/api/resources/Payment.js.map +1 -1
  17. package/dist/cjs/api/resources/Society.d.ts +2 -1
  18. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Society.js +3 -0
  20. package/dist/cjs/api/resources/Society.js.map +1 -1
  21. package/dist/cjs/api/resources/SocietyApproval.d.ts +47 -0
  22. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +1 -0
  23. package/dist/cjs/api/resources/SocietyApproval.js +62 -0
  24. package/dist/cjs/api/resources/SocietyApproval.js.map +1 -0
  25. package/dist/cjs/api/resources/UsersHistory.d.ts +6 -6
  26. package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -1
  27. package/dist/cjs/api/resources/UsersHistory.js +6 -6
  28. package/dist/cjs/api/resources/UsersHistory.js.map +1 -1
  29. package/dist/cjs/api/resources/Webex.d.ts +8 -0
  30. package/dist/cjs/api/resources/Webex.d.ts.map +1 -0
  31. package/dist/cjs/api/resources/Webex.js +17 -0
  32. package/dist/cjs/api/resources/Webex.js.map +1 -0
  33. package/dist/cjs/api/resources.d.ts +4 -0
  34. package/dist/cjs/api/resources.d.ts.map +1 -1
  35. package/dist/cjs/api/resources.js +4 -0
  36. package/dist/cjs/api/resources.js.map +1 -1
  37. package/dist/cjs/types/Enum/Card.d.ts +2 -44
  38. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  39. package/dist/cjs/types/Enum/Card.js +2 -52
  40. package/dist/cjs/types/Enum/Card.js.map +1 -1
  41. package/dist/cjs/types/Enum/EbookIntention.d.ts +8 -0
  42. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +1 -0
  43. package/dist/cjs/types/Enum/EbookIntention.js +18 -0
  44. package/dist/cjs/types/Enum/EbookIntention.js.map +1 -0
  45. package/dist/cjs/types/Enum/Ged.d.ts +9 -3
  46. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  47. package/dist/cjs/types/Enum/Ged.js +154 -30
  48. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  49. package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
  50. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  51. package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
  52. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  53. package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
  54. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  55. package/dist/cjs/types/Enum/JobTitle.js +6 -0
  56. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  57. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  58. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  59. package/dist/cjs/types/Enum/LoginApprovalStatus.js +18 -0
  60. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  61. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  62. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  63. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  64. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  65. package/dist/cjs/types/Enum/MfaMode.d.ts +12 -0
  66. package/dist/cjs/types/Enum/MfaMode.d.ts.map +1 -0
  67. package/dist/cjs/types/Enum/MfaMode.js +16 -0
  68. package/dist/cjs/types/Enum/MfaMode.js.map +1 -0
  69. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  70. package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
  71. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  72. package/dist/cjs/types/Enum/Proceding.d.ts +4 -0
  73. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  74. package/dist/cjs/types/Enum/Proceding.js +4 -0
  75. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  76. package/dist/cjs/types/Enum/SocietyApproval.d.ts +46 -0
  77. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  78. package/dist/cjs/types/Enum/SocietyApproval.js +280 -0
  79. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -0
  80. package/dist/cjs/types/Enum/StatutsSection.d.ts +7 -1
  81. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  82. package/dist/cjs/types/Enum/StatutsSection.js +15 -7
  83. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  84. package/dist/cjs/types/Enum/UsersHistory.d.ts +8 -10
  85. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -1
  86. package/dist/cjs/types/Enum/UsersHistory.js +29 -33
  87. package/dist/cjs/types/Enum/UsersHistory.js.map +1 -1
  88. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  89. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  90. package/dist/cjs/types/Interface/api/SocietyApproval.js +153 -0
  91. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +1 -0
  92. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  93. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  94. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  96. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +21 -0
  98. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  100. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  101. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
  102. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  103. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  104. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  105. package/dist/cjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +11 -13
  106. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  107. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  108. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  109. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +26 -0
  110. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  111. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  112. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
  114. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  115. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  116. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  117. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +21 -0
  118. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  119. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  120. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  121. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +6 -0
  122. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  123. package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
  124. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  125. package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
  126. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  127. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  128. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  129. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +7 -44
  130. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  131. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  132. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  133. package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
  134. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  135. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  136. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  137. package/dist/cjs/types/Interface/api/informationRequest/Update.js +10 -1
  138. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  139. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  140. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  141. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  142. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +1 -0
  143. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  144. package/dist/cjs/types/Interface/api/prestation/Query.js +7 -0
  145. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  146. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  147. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  148. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +6 -0
  149. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  150. package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts +9 -0
  151. package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -0
  152. package/dist/cjs/types/Interface/api/{card/ModifyAcceptation.js → usersHistory/Create.js} +20 -22
  153. package/dist/cjs/types/Interface/api/usersHistory/Create.js.map +1 -0
  154. package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts +7 -0
  155. package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -0
  156. package/dist/cjs/types/Interface/api/usersHistory/Update.js +31 -0
  157. package/dist/cjs/types/Interface/api/usersHistory/Update.js.map +1 -0
  158. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  159. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  160. package/dist/cjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +16 -15
  161. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  162. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  163. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  164. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +3 -0
  165. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  166. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  167. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  168. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js +3 -0
  169. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  170. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  171. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  172. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  173. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  174. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  175. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  176. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +14 -0
  177. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  178. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  179. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  180. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  181. package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
  182. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  183. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  184. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
  185. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  186. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  187. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  188. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  189. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  190. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  191. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  192. package/dist/cjs/types/Interface/models/ILoginApproval.js +3 -0
  193. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +1 -0
  194. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  195. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  196. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  197. package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
  198. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  199. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  200. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +10 -6
  201. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -1
  202. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -1
  203. package/dist/cjs/types/index.d.ts +16 -5
  204. package/dist/cjs/types/index.d.ts.map +1 -1
  205. package/dist/cjs/types/index.js +16 -5
  206. package/dist/cjs/types/index.js.map +1 -1
  207. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  208. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +21 -19
  209. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  210. package/dist/cjs/utils/index.d.ts +1 -0
  211. package/dist/cjs/utils/index.d.ts.map +1 -1
  212. package/dist/cjs/utils/index.js +1 -0
  213. package/dist/cjs/utils/index.js.map +1 -1
  214. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  215. package/dist/cjs/utils/prestation.js +1 -0
  216. package/dist/cjs/utils/prestation.js.map +1 -1
  217. package/dist/cjs/utils/societyApproval.d.ts +38 -0
  218. package/dist/cjs/utils/societyApproval.d.ts.map +1 -0
  219. package/dist/cjs/utils/societyApproval.js +101 -0
  220. package/dist/cjs/utils/societyApproval.js.map +1 -0
  221. package/dist/mjs/api/resources/Card.d.ts +1 -23
  222. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  223. package/dist/mjs/api/resources/Card.js +0 -45
  224. package/dist/mjs/api/resources/Card.js.map +1 -1
  225. package/dist/mjs/api/resources/LoginApproval.d.ts +18 -0
  226. package/dist/mjs/api/resources/LoginApproval.d.ts.map +1 -0
  227. package/dist/mjs/api/resources/LoginApproval.js +16 -0
  228. package/dist/mjs/api/resources/LoginApproval.js.map +1 -0
  229. package/dist/mjs/api/resources/Mfa.d.ts +1 -0
  230. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  231. package/dist/mjs/api/resources/Mfa.js +4 -0
  232. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  233. package/dist/mjs/api/resources/Payment.d.ts +1 -0
  234. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  235. package/dist/mjs/api/resources/Payment.js +3 -0
  236. package/dist/mjs/api/resources/Payment.js.map +1 -1
  237. package/dist/mjs/api/resources/Society.d.ts +2 -1
  238. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  239. package/dist/mjs/api/resources/Society.js +3 -0
  240. package/dist/mjs/api/resources/Society.js.map +1 -1
  241. package/dist/mjs/api/resources/SocietyApproval.d.ts +47 -0
  242. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +1 -0
  243. package/dist/mjs/api/resources/SocietyApproval.js +58 -0
  244. package/dist/mjs/api/resources/SocietyApproval.js.map +1 -0
  245. package/dist/mjs/api/resources/UsersHistory.d.ts +6 -6
  246. package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -1
  247. package/dist/mjs/api/resources/UsersHistory.js +12 -6
  248. package/dist/mjs/api/resources/UsersHistory.js.map +1 -1
  249. package/dist/mjs/api/resources/Webex.d.ts +8 -0
  250. package/dist/mjs/api/resources/Webex.d.ts.map +1 -0
  251. package/dist/mjs/api/resources/Webex.js +13 -0
  252. package/dist/mjs/api/resources/Webex.js.map +1 -0
  253. package/dist/mjs/api/resources.d.ts +4 -0
  254. package/dist/mjs/api/resources.d.ts.map +1 -1
  255. package/dist/mjs/api/resources.js +4 -0
  256. package/dist/mjs/api/resources.js.map +1 -1
  257. package/dist/mjs/types/Enum/Card.d.ts +2 -44
  258. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  259. package/dist/mjs/types/Enum/Card.js +2 -52
  260. package/dist/mjs/types/Enum/Card.js.map +1 -1
  261. package/dist/mjs/types/Enum/EbookIntention.d.ts +8 -0
  262. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +1 -0
  263. package/dist/mjs/types/Enum/EbookIntention.js +15 -0
  264. package/dist/mjs/types/Enum/EbookIntention.js.map +1 -0
  265. package/dist/mjs/types/Enum/Ged.d.ts +9 -3
  266. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  267. package/dist/mjs/types/Enum/Ged.js +154 -30
  268. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  269. package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
  270. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  271. package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
  272. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  273. package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
  274. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  275. package/dist/mjs/types/Enum/JobTitle.js +6 -0
  276. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  277. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  278. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  279. package/dist/mjs/types/Enum/LoginApprovalStatus.js +15 -0
  280. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  281. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  282. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  283. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  284. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  285. package/dist/mjs/types/Enum/MfaMode.d.ts +12 -0
  286. package/dist/mjs/types/Enum/MfaMode.d.ts.map +1 -0
  287. package/dist/mjs/types/Enum/MfaMode.js +13 -0
  288. package/dist/mjs/types/Enum/MfaMode.js.map +1 -0
  289. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  290. package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
  291. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  292. package/dist/mjs/types/Enum/Proceding.d.ts +4 -0
  293. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  294. package/dist/mjs/types/Enum/Proceding.js +4 -0
  295. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  296. package/dist/mjs/types/Enum/SocietyApproval.d.ts +46 -0
  297. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  298. package/dist/mjs/types/Enum/SocietyApproval.js +277 -0
  299. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -0
  300. package/dist/mjs/types/Enum/StatutsSection.d.ts +7 -1
  301. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  302. package/dist/mjs/types/Enum/StatutsSection.js +15 -7
  303. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  304. package/dist/mjs/types/Enum/UsersHistory.d.ts +8 -10
  305. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -1
  306. package/dist/mjs/types/Enum/UsersHistory.js +28 -32
  307. package/dist/mjs/types/Enum/UsersHistory.js.map +1 -1
  308. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  309. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  310. package/dist/mjs/types/Interface/api/SocietyApproval.js +167 -0
  311. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +1 -0
  312. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  313. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  314. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  315. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  316. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  317. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +18 -0
  318. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  319. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  320. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  321. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
  322. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  323. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  324. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  325. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +25 -0
  326. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  327. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  328. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  329. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +23 -0
  330. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  331. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  332. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  333. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
  334. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  335. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  336. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  337. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +18 -0
  338. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  339. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  340. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  341. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +7 -0
  342. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  343. package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
  344. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  345. package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
  346. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  347. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  348. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  349. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +7 -43
  350. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  351. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  352. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  353. package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
  354. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  355. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  356. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  357. package/dist/mjs/types/Interface/api/informationRequest/Update.js +9 -0
  358. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  359. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  360. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  361. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  362. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +1 -0
  363. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  364. package/dist/mjs/types/Interface/api/prestation/Query.js +8 -0
  365. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  366. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  367. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  368. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +7 -0
  369. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  370. package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts +9 -0
  371. package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -0
  372. package/dist/mjs/types/Interface/api/{card/ModifyAcceptation.js → usersHistory/Create.js} +20 -21
  373. package/dist/mjs/types/Interface/api/usersHistory/Create.js.map +1 -0
  374. package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts +7 -0
  375. package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -0
  376. package/dist/mjs/types/Interface/api/{card/ModifyCustomerVat.js → usersHistory/Update.js} +14 -12
  377. package/dist/mjs/types/Interface/api/usersHistory/Update.js.map +1 -0
  378. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  379. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  380. package/dist/mjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +20 -16
  381. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  382. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  383. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  384. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +2 -0
  385. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  386. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  387. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  388. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +2 -0
  389. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  390. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  391. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  392. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  393. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  394. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  395. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  396. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +15 -0
  397. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  398. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  399. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  400. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  401. package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
  402. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  403. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  404. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
  405. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  406. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  407. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  408. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  409. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  410. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  411. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  412. package/dist/mjs/types/Interface/models/ILoginApproval.js +2 -0
  413. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +1 -0
  414. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  415. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  416. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  417. package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
  418. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  419. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  420. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +10 -6
  421. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -1
  422. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -1
  423. package/dist/mjs/types/index.d.ts +16 -5
  424. package/dist/mjs/types/index.d.ts.map +1 -1
  425. package/dist/mjs/types/index.js +16 -5
  426. package/dist/mjs/types/index.js.map +1 -1
  427. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  428. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +21 -19
  429. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  430. package/dist/mjs/utils/index.d.ts +1 -0
  431. package/dist/mjs/utils/index.d.ts.map +1 -1
  432. package/dist/mjs/utils/index.js +1 -0
  433. package/dist/mjs/utils/index.js.map +1 -1
  434. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  435. package/dist/mjs/utils/prestation.js +1 -0
  436. package/dist/mjs/utils/prestation.js.map +1 -1
  437. package/dist/mjs/utils/societyApproval.d.ts +38 -0
  438. package/dist/mjs/utils/societyApproval.d.ts.map +1 -0
  439. package/dist/mjs/utils/societyApproval.js +109 -0
  440. package/dist/mjs/utils/societyApproval.js.map +1 -0
  441. package/package.json +1 -1
  442. package/ts/api/resources/Card.ts +0 -61
  443. package/ts/api/resources/LoginApproval.ts +20 -0
  444. package/ts/api/resources/Mfa.ts +6 -0
  445. package/ts/api/resources/Payment.ts +4 -0
  446. package/ts/api/resources/Society.ts +5 -0
  447. package/ts/api/resources/SocietyApproval.ts +75 -0
  448. package/ts/api/resources/UsersHistory.ts +17 -11
  449. package/ts/api/resources/Webex.ts +16 -0
  450. package/ts/api/resources.ts +4 -0
  451. package/ts/types/Enum/Card.ts +2 -52
  452. package/ts/types/Enum/EbookIntention.ts +14 -0
  453. package/ts/types/Enum/Ged.ts +380 -248
  454. package/ts/types/Enum/InformationRequestState.ts +1 -0
  455. package/ts/types/Enum/JobTitle.ts +6 -0
  456. package/ts/types/Enum/LoginApprovalStatus.ts +13 -0
  457. package/ts/types/Enum/MailAuto.ts +2 -0
  458. package/ts/types/Enum/MfaMode.ts +11 -0
  459. package/ts/types/Enum/PriceGridClementine.ts +487 -474
  460. package/ts/types/Enum/Proceding.ts +4 -0
  461. package/ts/types/Enum/SocietyApproval.ts +301 -0
  462. package/ts/types/Enum/StatutsSection.ts +15 -7
  463. package/ts/types/Enum/UsersHistory.ts +20 -24
  464. package/ts/types/Interface/api/SocietyApproval.ts +121 -0
  465. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +10 -0
  466. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +6 -0
  467. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
  468. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +11 -0
  469. package/ts/types/Interface/api/authentification/loginApproval.ts +75 -0
  470. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
  471. package/ts/types/Interface/api/bankAccount/Benchmark.ts +7 -0
  472. package/ts/types/Interface/api/brevo/BrevoElement.ts +6 -0
  473. package/ts/types/Interface/api/card/Cron.ts +8 -1
  474. package/ts/types/Interface/api/card/QueryUserCards.ts +6 -36
  475. package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
  476. package/ts/types/Interface/api/informationRequest/Update.ts +7 -0
  477. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +2 -0
  478. package/ts/types/Interface/api/prestation/Query.ts +6 -0
  479. package/ts/types/Interface/api/user/RegisterProspect.ts +5 -0
  480. package/ts/types/Interface/api/usersHistory/Create.ts +24 -0
  481. package/ts/types/Interface/api/usersHistory/Update.ts +17 -0
  482. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +20 -0
  483. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +7 -0
  484. package/ts/types/Interface/api/webex/WebexMeeting.ts +21 -0
  485. package/ts/types/Interface/api/webex/WebexRegistrant.ts +34 -0
  486. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +17 -5
  487. package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
  488. package/ts/types/Interface/models/ICard.ts +0 -20
  489. package/ts/types/Interface/models/ICardHistory.ts +0 -4
  490. package/ts/types/Interface/models/ICustomerVat.ts +0 -1
  491. package/ts/types/Interface/models/ILoginApproval.ts +31 -0
  492. package/ts/types/Interface/models/ISocietyApproval.ts +2 -0
  493. package/ts/types/Interface/models/IUser.ts +2 -0
  494. package/ts/types/Interface/models/IUsersHistory.ts +14 -6
  495. package/ts/types/index.ts +17 -5
  496. package/ts/utils/commercialManagement/internationalization/choices.ts +21 -19
  497. package/ts/utils/index.ts +1 -0
  498. package/ts/utils/prestation.ts +1 -0
  499. package/ts/utils/societyApproval.ts +129 -0
  500. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  501. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  502. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  503. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  504. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  505. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
  506. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  507. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  508. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  509. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  510. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  511. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  512. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
  513. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  514. package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
  515. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
  516. package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
  517. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  518. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  519. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  520. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  521. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  522. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
  523. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  524. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  525. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  526. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  527. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  528. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  529. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
  530. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  531. package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
  532. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
  533. package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
  534. package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
  535. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
  536. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
  537. package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
  538. package/ts/types/Interface/api/card/Query.ts +0 -19
@@ -51,4 +51,8 @@ export const Proceding = {
51
51
  id: 13,
52
52
  name: "Radiation d'office",
53
53
  },
54
+ PROFESSIONAL_RECOVERY_PROCEDURE: {
55
+ id: 14,
56
+ name: 'Procédure de rétablissement professionnel',
57
+ },
54
58
  };
@@ -0,0 +1,301 @@
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
+ ];
@@ -1,10 +1,18 @@
1
1
  import { LegalForm } from './LegalForm';
2
2
 
3
3
  export enum DocumentSectionType {
4
+ // Utilisés pour la génération de statuts depuis l'ERP
4
5
  ARTICLES = 1,
5
6
  ANNEXES = 2,
6
7
  LIST_SUBSCRIBERS = 3,
7
8
  DECLARATION_ON_HONOR_OF_NON_CONVICTION = 4,
9
+ // Utilisés pour la génération de documents juridiques (approbation) depuis clientApp
10
+ APPROVAL_PV = 5,
11
+ POWER_MANDATE = 6,
12
+ DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS = 7,
13
+ INCOME_APPROPRIATION = 8,
14
+ LIST_OF_CONVENTIONS = 9,
15
+ LIST_OF_DIVIDENDS = 10,
8
16
  }
9
17
 
10
18
  export const DocumentSectionTypeDetail = [
@@ -25,7 +33,7 @@ export const DocumentSectionTypeDetail = [
25
33
  },
26
34
  {
27
35
  id: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
28
- name: 'Déclaration sur l\'honneur de non-condamnation',
36
+ name: "Déclaration sur l'honneur de non-condamnation",
29
37
  filePrefix: 'declaration_non_condamnation',
30
38
  },
31
39
  ];
@@ -197,7 +205,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
197
205
  {
198
206
  name: StatutsSectionName.S10_AE,
199
207
  onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
200
- title: 'Article 10 - COMPTES COURANTS D\'ASSOCIÉS',
208
+ title: "Article 10 - COMPTES COURANTS D'ASSOCIÉS",
201
209
  idDocumentSectionType: DocumentSectionType.ARTICLES,
202
210
  },
203
211
  {
@@ -265,7 +273,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
265
273
  {
266
274
  name: StatutsSectionName.S19_AE,
267
275
  onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
268
- title: 'Article 19 – DECISIONS PRISES PAR L\'ASSOCIE UNIQUE',
276
+ title: "Article 19 – DECISIONS PRISES PAR L'ASSOCIE UNIQUE",
269
277
  idDocumentSectionType: DocumentSectionType.ARTICLES,
270
278
  },
271
279
  {
@@ -377,7 +385,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
377
385
  {
378
386
  name: StatutsSectionName.S12_SA,
379
387
  exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
380
- title: 'Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D\'ACTIONS',
388
+ title: "Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D'ACTIONS",
381
389
  idDocumentSectionType: DocumentSectionType.ARTICLES,
382
390
  },
383
391
  {
@@ -395,7 +403,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
395
403
  {
396
404
  name: StatutsSectionName.S15_SA,
397
405
  exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
398
- title: 'Article 15 - NULLITE DES CESSIONS D\'ACTIONS',
406
+ title: "Article 15 - NULLITE DES CESSIONS D'ACTIONS",
399
407
  idDocumentSectionType: DocumentSectionType.ARTICLES,
400
408
  },
401
409
  {
@@ -469,7 +477,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
469
477
  {
470
478
  name: StatutsSectionName.S25_SA,
471
479
  exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
472
- title: 'Article 25 – COMITE D\'ENTREPRISE',
480
+ title: "Article 25 – COMITE D'ENTREPRISE",
473
481
  idDocumentSectionType: DocumentSectionType.ARTICLES,
474
482
  },
475
483
  {
@@ -555,7 +563,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
555
563
  },
556
564
  {
557
565
  name: StatutsSectionName.DECLARATION_OF_HONOR,
558
- title: 'DECLARATION SUR L\'HONNEUR DE NON-CONDAMNATION',
566
+ title: "DECLARATION SUR L'HONNEUR DE NON-CONDAMNATION",
559
567
  idDocumentSectionType: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
560
568
  },
561
569
  ];
@@ -1,4 +1,4 @@
1
- export enum UsersHistory {
1
+ export enum TypeUserHistory {
2
2
  // Cycle de vie Compte
3
3
  CREATE = 1,
4
4
  UPDATE = 2,
@@ -10,33 +10,29 @@ export enum UsersHistory {
10
10
  ROLE_UPDATE = 6, // Role ok
11
11
 
12
12
  // Sécurité
13
- LOGIN = 7,
14
- LOGIN_FAIL = 8,
15
- PASSWORD_UPDATE = 9,
13
+ PASSWORD_UPDATE = 7,
16
14
 
17
15
  // Gestion Matériel
18
- EQUIPMENT_ASSIGN = 10,
19
- EQUIPMENT_BROKEN = 11,
20
- EQUIPMENT_RETURN = 12,
21
- EQUIPMENT_LOST = 13,
16
+ EQUIPMENT_ASSIGN = 8,
17
+ EQUIPMENT_BROKEN = 9,
18
+ EQUIPMENT_RETURN = 10,
19
+ EQUIPMENT_LOST = 11,
22
20
 
23
21
  // Communication
24
- MAIL_SENT_TO_TS = 14, // Mail envoyé à TS
22
+ MAIL_SENT_TO_TS = 12, // Mail envoyé à TS
25
23
  }
26
24
 
27
- export const UsersHistoryLabels: Record<UsersHistory, string> = {
28
- [UsersHistory.CREATE]: 'Création',
29
- [UsersHistory.UPDATE]: 'Mise à jour',
30
- [UsersHistory.DELETE]: 'Suppression',
31
- [UsersHistory.RESTORE]: 'Restauration',
32
- [UsersHistory.INFO_UPDATE]: 'Mise à jour Info',
33
- [UsersHistory.ROLE_UPDATE]: 'Mise à jour Rôle',
34
- [UsersHistory.LOGIN]: 'Connexion',
35
- [UsersHistory.LOGIN_FAIL]: 'Échec Connexion',
36
- [UsersHistory.PASSWORD_UPDATE]: 'Changement Mot de passe',
37
- [UsersHistory.EQUIPMENT_ASSIGN]: 'Assignation Matériel',
38
- [UsersHistory.EQUIPMENT_BROKEN]: 'Matériel Cassé',
39
- [UsersHistory.EQUIPMENT_RETURN]: 'Retour Matériel',
40
- [UsersHistory.EQUIPMENT_LOST]: 'Matériel Perdu',
41
- [UsersHistory.MAIL_SENT_TO_TS]: 'Mail envoyé à TS',
25
+ export const TypeUserHistoryLabels: Record<TypeUserHistory, string> = {
26
+ [TypeUserHistory.CREATE]: 'Création',
27
+ [TypeUserHistory.UPDATE]: 'Mise à jour',
28
+ [TypeUserHistory.DELETE]: 'Suppression',
29
+ [TypeUserHistory.RESTORE]: 'Restauration',
30
+ [TypeUserHistory.INFO_UPDATE]: 'Mise à jour Info',
31
+ [TypeUserHistory.ROLE_UPDATE]: 'Mise à jour Rôle',
32
+ [TypeUserHistory.PASSWORD_UPDATE]: 'Changement Mot de passe',
33
+ [TypeUserHistory.EQUIPMENT_ASSIGN]: 'Assignation Matériel',
34
+ [TypeUserHistory.EQUIPMENT_BROKEN]: 'Matériel Cassé',
35
+ [TypeUserHistory.EQUIPMENT_RETURN]: 'Retour Matériel',
36
+ [TypeUserHistory.EQUIPMENT_LOST]: 'Matériel Perdu',
37
+ [TypeUserHistory.MAIL_SENT_TO_TS]: 'Mail envoyé à TS',
42
38
  };
@@ -0,0 +1,121 @@
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 +1,16 @@
1
1
  export interface IAuthenticationResponse {
2
+ /** TOTP MFA requis (classique avec code à 6 chiffres) */
2
3
  requiresMfa?: boolean;
4
+ /** Mobile approval MFA requis (validation sur l'app mobile) */
5
+ requiresMobileApproval?: boolean;
6
+ /** ID de la demande d'approbation (pour polling/tracking) */
7
+ requestId?: string;
8
+ /** Date d'expiration de la demande */
9
+ expiresAt?: Date;
10
+ /** ID de l'utilisateur */
3
11
  userId?: number;
12
+ /** Message informatif */
4
13
  message?: string;
14
+ /** Token JWT si authentification réussie */
5
15
  token?: string;
6
16
  }
@@ -0,0 +1,6 @@
1
+ import { IsString } from 'class-validator';
2
+
3
+ export class FinalizeMobileApprovalDto {
4
+ @IsString()
5
+ requestId: string;
6
+ }
@@ -1,3 +1,5 @@
1
+ import { Feature } from '../../../Enum/Feature';
2
+ import { PrestationTypeDetail } from '../../../Enum/PrestationType';
1
3
  import { IUser } from '../../models/IUser';
2
4
 
3
5
  export class ReadAuthenticateCollaborater {
@@ -16,3 +18,19 @@ export class ReadByExternalId {
16
18
  idTypeBrand: number;
17
19
  token: string;
18
20
  }
21
+
22
+ export type ExerciceFeatures = {
23
+ id: number;
24
+ startDate: Date | string;
25
+ endDate: Date | string;
26
+ isDefault: boolean;
27
+ subscriptionType: PrestationTypeDetail;
28
+ features: Feature[];
29
+ };
30
+ export class ReadFeatureAccess {
31
+ isOwner: boolean;
32
+ /** @returns default features */
33
+ features: Feature[];
34
+ exercices: ExerciceFeatures[];
35
+ isInTrialPeriod: boolean;
36
+ }
@@ -0,0 +1,11 @@
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
+ }