@silexpert/core 1.3.195-7 → 1.3.195

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 (516) 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/Webex.d.ts +8 -0
  26. package/dist/cjs/api/resources/Webex.d.ts.map +1 -0
  27. package/dist/cjs/api/resources/Webex.js +17 -0
  28. package/dist/cjs/api/resources/Webex.js.map +1 -0
  29. package/dist/cjs/api/resources.d.ts +4 -2
  30. package/dist/cjs/api/resources.d.ts.map +1 -1
  31. package/dist/cjs/api/resources.js +4 -2
  32. package/dist/cjs/api/resources.js.map +1 -1
  33. package/dist/cjs/types/Enum/Card.d.ts +2 -44
  34. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/Card.js +2 -52
  36. package/dist/cjs/types/Enum/Card.js.map +1 -1
  37. package/dist/cjs/types/Enum/EbookIntention.d.ts +8 -0
  38. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +1 -0
  39. package/dist/cjs/types/Enum/EbookIntention.js +18 -0
  40. package/dist/cjs/types/Enum/EbookIntention.js.map +1 -0
  41. package/dist/cjs/types/Enum/Ged.d.ts +9 -3
  42. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/Ged.js +154 -30
  44. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  45. package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
  46. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  47. package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
  48. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  49. package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
  50. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  51. package/dist/cjs/types/Enum/JobTitle.js +6 -0
  52. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  53. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  54. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  55. package/dist/cjs/types/Enum/LoginApprovalStatus.js +18 -0
  56. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  57. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  58. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  59. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  60. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  61. package/dist/cjs/types/Enum/MfaMode.d.ts +12 -0
  62. package/dist/cjs/types/Enum/MfaMode.d.ts.map +1 -0
  63. package/dist/cjs/types/Enum/MfaMode.js +16 -0
  64. package/dist/cjs/types/Enum/MfaMode.js.map +1 -0
  65. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  66. package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
  67. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  68. package/dist/cjs/types/Enum/Proceding.d.ts +4 -0
  69. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  70. package/dist/cjs/types/Enum/Proceding.js +4 -0
  71. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  72. package/dist/cjs/types/Enum/SocietyApproval.d.ts +46 -0
  73. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  74. package/dist/cjs/types/Enum/SocietyApproval.js +280 -0
  75. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -0
  76. package/dist/cjs/types/Enum/StatutsSection.d.ts +7 -1
  77. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  78. package/dist/cjs/types/Enum/StatutsSection.js +15 -7
  79. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  80. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  81. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  82. package/dist/cjs/types/Interface/api/SocietyApproval.js +153 -0
  83. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +1 -0
  84. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  85. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  88. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +21 -0
  90. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  91. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  92. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  93. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
  94. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  96. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +11 -13
  98. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  100. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  101. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +26 -0
  102. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  103. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  104. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
  106. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  108. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  109. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +21 -0
  110. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  111. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  112. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +6 -0
  114. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  115. package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
  116. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
  118. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  119. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  120. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  121. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +7 -44
  122. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  123. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  124. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  125. package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
  126. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  127. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  128. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  129. package/dist/cjs/types/Interface/api/informationRequest/Update.js +10 -1
  130. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  131. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  132. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  133. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  134. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +1 -0
  135. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/api/prestation/Query.js +7 -0
  137. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  138. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  139. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  140. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +6 -0
  141. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  142. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  143. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  144. package/dist/cjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +16 -15
  145. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  146. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  147. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  148. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +3 -0
  149. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  150. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  151. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  152. package/dist/cjs/types/Interface/{models/IUsersHistory.js → api/webex/WebexMeeting.js} +1 -1
  153. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  154. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  155. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  156. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  157. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  158. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  159. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  160. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +14 -0
  161. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  162. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  163. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  164. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  165. package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
  166. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  167. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  168. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
  169. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  170. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  171. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  172. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  173. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  174. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  175. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  176. package/dist/cjs/types/Interface/models/ILoginApproval.js +3 -0
  177. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +1 -0
  178. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  179. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  180. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  181. package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
  182. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  183. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  184. package/dist/cjs/types/index.d.ts +14 -7
  185. package/dist/cjs/types/index.d.ts.map +1 -1
  186. package/dist/cjs/types/index.js +14 -7
  187. package/dist/cjs/types/index.js.map +1 -1
  188. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  189. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +21 -19
  190. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  191. package/dist/cjs/utils/index.d.ts +1 -0
  192. package/dist/cjs/utils/index.d.ts.map +1 -1
  193. package/dist/cjs/utils/index.js +1 -0
  194. package/dist/cjs/utils/index.js.map +1 -1
  195. package/dist/cjs/utils/societyApproval.d.ts +38 -0
  196. package/dist/cjs/utils/societyApproval.d.ts.map +1 -0
  197. package/dist/cjs/utils/societyApproval.js +101 -0
  198. package/dist/cjs/utils/societyApproval.js.map +1 -0
  199. package/dist/mjs/api/resources/Card.d.ts +1 -23
  200. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  201. package/dist/mjs/api/resources/Card.js +0 -45
  202. package/dist/mjs/api/resources/Card.js.map +1 -1
  203. package/dist/mjs/api/resources/LoginApproval.d.ts +18 -0
  204. package/dist/mjs/api/resources/LoginApproval.d.ts.map +1 -0
  205. package/dist/mjs/api/resources/LoginApproval.js +16 -0
  206. package/dist/mjs/api/resources/LoginApproval.js.map +1 -0
  207. package/dist/mjs/api/resources/Mfa.d.ts +1 -0
  208. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  209. package/dist/mjs/api/resources/Mfa.js +4 -0
  210. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  211. package/dist/mjs/api/resources/Payment.d.ts +1 -0
  212. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  213. package/dist/mjs/api/resources/Payment.js +3 -0
  214. package/dist/mjs/api/resources/Payment.js.map +1 -1
  215. package/dist/mjs/api/resources/Society.d.ts +2 -1
  216. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  217. package/dist/mjs/api/resources/Society.js +3 -0
  218. package/dist/mjs/api/resources/Society.js.map +1 -1
  219. package/dist/mjs/api/resources/SocietyApproval.d.ts +47 -0
  220. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +1 -0
  221. package/dist/mjs/api/resources/SocietyApproval.js +58 -0
  222. package/dist/mjs/api/resources/SocietyApproval.js.map +1 -0
  223. package/dist/mjs/api/resources/Webex.d.ts +8 -0
  224. package/dist/mjs/api/resources/Webex.d.ts.map +1 -0
  225. package/dist/mjs/api/resources/Webex.js +13 -0
  226. package/dist/mjs/api/resources/Webex.js.map +1 -0
  227. package/dist/mjs/api/resources.d.ts +4 -2
  228. package/dist/mjs/api/resources.d.ts.map +1 -1
  229. package/dist/mjs/api/resources.js +4 -2
  230. package/dist/mjs/api/resources.js.map +1 -1
  231. package/dist/mjs/types/Enum/Card.d.ts +2 -44
  232. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  233. package/dist/mjs/types/Enum/Card.js +2 -52
  234. package/dist/mjs/types/Enum/Card.js.map +1 -1
  235. package/dist/mjs/types/Enum/EbookIntention.d.ts +8 -0
  236. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +1 -0
  237. package/dist/mjs/types/Enum/EbookIntention.js +15 -0
  238. package/dist/mjs/types/Enum/EbookIntention.js.map +1 -0
  239. package/dist/mjs/types/Enum/Ged.d.ts +9 -3
  240. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  241. package/dist/mjs/types/Enum/Ged.js +154 -30
  242. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  243. package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
  244. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  245. package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
  246. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  247. package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
  248. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  249. package/dist/mjs/types/Enum/JobTitle.js +6 -0
  250. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  251. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  252. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  253. package/dist/mjs/types/Enum/LoginApprovalStatus.js +15 -0
  254. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  255. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  256. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  257. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  258. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  259. package/dist/mjs/types/Enum/MfaMode.d.ts +12 -0
  260. package/dist/mjs/types/Enum/MfaMode.d.ts.map +1 -0
  261. package/dist/mjs/types/Enum/MfaMode.js +13 -0
  262. package/dist/mjs/types/Enum/MfaMode.js.map +1 -0
  263. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  264. package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
  265. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  266. package/dist/mjs/types/Enum/Proceding.d.ts +4 -0
  267. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  268. package/dist/mjs/types/Enum/Proceding.js +4 -0
  269. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  270. package/dist/mjs/types/Enum/SocietyApproval.d.ts +46 -0
  271. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  272. package/dist/mjs/types/Enum/SocietyApproval.js +277 -0
  273. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -0
  274. package/dist/mjs/types/Enum/StatutsSection.d.ts +7 -1
  275. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  276. package/dist/mjs/types/Enum/StatutsSection.js +15 -7
  277. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  278. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  279. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  280. package/dist/mjs/types/Interface/api/SocietyApproval.js +167 -0
  281. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +1 -0
  282. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  283. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  284. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  285. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  286. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  287. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +18 -0
  288. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  289. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  290. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  291. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
  292. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  293. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  294. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  295. package/dist/mjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +12 -14
  296. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  297. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  298. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  299. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +23 -0
  300. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  301. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  302. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  303. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
  304. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  305. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  306. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  307. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +18 -0
  308. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  309. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  310. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  311. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +7 -0
  312. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  313. package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
  314. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  315. package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
  316. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  317. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  318. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  319. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +7 -43
  320. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  321. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  322. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  323. package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
  324. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  325. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  326. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  327. package/dist/mjs/types/Interface/api/informationRequest/Update.js +9 -0
  328. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  329. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  330. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  331. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  332. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +1 -0
  333. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  334. package/dist/mjs/types/Interface/api/prestation/Query.js +8 -0
  335. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  336. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  337. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  338. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +7 -0
  339. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  340. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  341. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  342. package/dist/mjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +20 -16
  343. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  344. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  345. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  346. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +2 -0
  347. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  348. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  349. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  350. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +2 -0
  351. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  352. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  353. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  354. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  355. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  356. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  357. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  358. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +15 -0
  359. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  360. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  361. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  362. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  363. package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
  364. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  365. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  366. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
  367. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  368. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  369. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  370. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  371. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  372. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  373. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  374. package/dist/mjs/types/Interface/models/ILoginApproval.js +2 -0
  375. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +1 -0
  376. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  377. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  378. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  379. package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
  380. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  381. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  382. package/dist/mjs/types/index.d.ts +14 -7
  383. package/dist/mjs/types/index.d.ts.map +1 -1
  384. package/dist/mjs/types/index.js +14 -7
  385. package/dist/mjs/types/index.js.map +1 -1
  386. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  387. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +21 -19
  388. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  389. package/dist/mjs/utils/index.d.ts +1 -0
  390. package/dist/mjs/utils/index.d.ts.map +1 -1
  391. package/dist/mjs/utils/index.js +1 -0
  392. package/dist/mjs/utils/index.js.map +1 -1
  393. package/dist/mjs/utils/societyApproval.d.ts +38 -0
  394. package/dist/mjs/utils/societyApproval.d.ts.map +1 -0
  395. package/dist/mjs/utils/societyApproval.js +109 -0
  396. package/dist/mjs/utils/societyApproval.js.map +1 -0
  397. package/package.json +1 -1
  398. package/ts/api/resources/Card.ts +0 -61
  399. package/ts/api/resources/LoginApproval.ts +20 -0
  400. package/ts/api/resources/Mfa.ts +6 -0
  401. package/ts/api/resources/Payment.ts +4 -0
  402. package/ts/api/resources/Society.ts +5 -0
  403. package/ts/api/resources/SocietyApproval.ts +75 -0
  404. package/ts/api/resources/Webex.ts +16 -0
  405. package/ts/api/resources.ts +4 -2
  406. package/ts/types/Enum/Card.ts +2 -52
  407. package/ts/types/Enum/EbookIntention.ts +14 -0
  408. package/ts/types/Enum/Ged.ts +380 -248
  409. package/ts/types/Enum/InformationRequestState.ts +1 -0
  410. package/ts/types/Enum/JobTitle.ts +6 -0
  411. package/ts/types/Enum/LoginApprovalStatus.ts +13 -0
  412. package/ts/types/Enum/MailAuto.ts +2 -0
  413. package/ts/types/Enum/MfaMode.ts +11 -0
  414. package/ts/types/Enum/PriceGridClementine.ts +487 -474
  415. package/ts/types/Enum/Proceding.ts +4 -0
  416. package/ts/types/Enum/SocietyApproval.ts +301 -0
  417. package/ts/types/Enum/StatutsSection.ts +15 -7
  418. package/ts/types/Interface/api/SocietyApproval.ts +121 -0
  419. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +10 -0
  420. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +6 -0
  421. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
  422. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +11 -0
  423. package/ts/types/Interface/api/authentification/loginApproval.ts +75 -0
  424. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
  425. package/ts/types/Interface/api/bankAccount/Benchmark.ts +7 -0
  426. package/ts/types/Interface/api/brevo/BrevoElement.ts +6 -0
  427. package/ts/types/Interface/api/card/Cron.ts +8 -1
  428. package/ts/types/Interface/api/card/QueryUserCards.ts +6 -36
  429. package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
  430. package/ts/types/Interface/api/informationRequest/Update.ts +7 -0
  431. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +2 -0
  432. package/ts/types/Interface/api/prestation/Query.ts +6 -0
  433. package/ts/types/Interface/api/user/RegisterProspect.ts +5 -0
  434. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +20 -0
  435. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +7 -0
  436. package/ts/types/Interface/api/webex/WebexMeeting.ts +21 -0
  437. package/ts/types/Interface/api/webex/WebexRegistrant.ts +34 -0
  438. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +17 -5
  439. package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
  440. package/ts/types/Interface/models/ICard.ts +0 -20
  441. package/ts/types/Interface/models/ICardHistory.ts +0 -4
  442. package/ts/types/Interface/models/ICustomerVat.ts +0 -1
  443. package/ts/types/Interface/models/ILoginApproval.ts +31 -0
  444. package/ts/types/Interface/models/ISocietyApproval.ts +2 -0
  445. package/ts/types/Interface/models/IUser.ts +2 -0
  446. package/ts/types/index.ts +14 -7
  447. package/ts/utils/commercialManagement/internationalization/choices.ts +21 -19
  448. package/ts/utils/index.ts +1 -0
  449. package/ts/utils/societyApproval.ts +129 -0
  450. package/dist/cjs/api/resources/UsersHistory.d.ts +0 -11
  451. package/dist/cjs/api/resources/UsersHistory.d.ts.map +0 -1
  452. package/dist/cjs/api/resources/UsersHistory.js +0 -26
  453. package/dist/cjs/api/resources/UsersHistory.js.map +0 -1
  454. package/dist/cjs/types/Enum/UsersHistory.d.ts +0 -18
  455. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +0 -1
  456. package/dist/cjs/types/Enum/UsersHistory.js +0 -42
  457. package/dist/cjs/types/Enum/UsersHistory.js.map +0 -1
  458. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  459. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  460. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +0 -43
  461. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  462. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  463. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  464. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
  465. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  466. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  467. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  468. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  469. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  470. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  471. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
  472. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  473. package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
  474. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
  475. package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
  476. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +0 -10
  477. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
  478. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +0 -1
  479. package/dist/mjs/api/resources/UsersHistory.d.ts +0 -11
  480. package/dist/mjs/api/resources/UsersHistory.d.ts.map +0 -1
  481. package/dist/mjs/api/resources/UsersHistory.js +0 -22
  482. package/dist/mjs/api/resources/UsersHistory.js.map +0 -1
  483. package/dist/mjs/types/Enum/UsersHistory.d.ts +0 -18
  484. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +0 -1
  485. package/dist/mjs/types/Enum/UsersHistory.js +0 -39
  486. package/dist/mjs/types/Enum/UsersHistory.js.map +0 -1
  487. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  488. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  489. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +0 -42
  490. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  491. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  492. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  493. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
  494. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  495. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  496. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  497. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  498. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  499. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  500. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
  501. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  502. package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
  503. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
  504. package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
  505. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +0 -10
  506. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
  507. package/dist/mjs/types/Interface/models/IUsersHistory.js +0 -2
  508. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +0 -1
  509. package/ts/api/resources/UsersHistory.ts +0 -29
  510. package/ts/types/Enum/UsersHistory.ts +0 -42
  511. package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
  512. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
  513. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
  514. package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
  515. package/ts/types/Interface/api/card/Query.ts +0 -19
  516. package/ts/types/Interface/models/IUsersHistory.ts +0 -9
@@ -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
  ];
@@ -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
+ }
@@ -0,0 +1,75 @@
1
+ import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
2
+ import { IsString } from 'class-validator';
3
+ import { ApiProperty } from '../../../../';
4
+
5
+ /**
6
+ * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
7
+ */
8
+ export interface ILoginApprovalRequestEvent {
9
+ /** ID unique de la demande */
10
+ requestId: string;
11
+ /** Date d'expiration */
12
+ expiresAt: Date;
13
+ /** ID de l'utilisateur */
14
+ userId: number;
15
+ /** Métadonnées (IP, navigateur, localisation) */
16
+ metadata?: {
17
+ ip?: string;
18
+ userAgent?: string;
19
+ location?: string;
20
+ };
21
+ }
22
+
23
+ export interface IApproveOrDenyResponse {
24
+ message: string;
25
+ status: LoginApprovalStatus;
26
+ }
27
+
28
+ /**
29
+ * Payload de l'événement socket envoyé au Web lors d'un changement de statut
30
+ */
31
+ export interface ILoginApprovalStatusEvent {
32
+ /** ID de la demande */
33
+ requestId: string;
34
+ /** Nouveau statut */
35
+ status: LoginApprovalStatus;
36
+ /** Date de la transition */
37
+ timestamp: Date;
38
+ }
39
+
40
+ /**
41
+ * Réponse renvoyée au Web lorsque mobile MFA est requis
42
+ */
43
+ export interface ILoginApprovalResponse {
44
+ /** Indique qu'une validation mobile est nécessaire */
45
+ requiresMobileApproval: true;
46
+ /** ID de la demande pour polling/tracking */
47
+ requestId: string;
48
+ /** Date d'expiration de la demande */
49
+ expiresAt: Date;
50
+ /** ID utilisateur */
51
+ userId: number;
52
+ }
53
+
54
+ /**
55
+ * Réponse du statut d'une demande d'approbation
56
+ */
57
+ export interface ILoginApprovalStatusResponse {
58
+ /** ID de la demande */
59
+ requestId: string;
60
+ /** Statut actuel */
61
+ status: LoginApprovalStatus;
62
+ /** Date d'expiration */
63
+ expiresAt: Date;
64
+ /** Token JWT si status = approved */
65
+ token?: string;
66
+ }
67
+
68
+ /**
69
+ * DTO pour approuver/refuser une demande depuis le mobile
70
+ */
71
+ export class IApproveOrDenyRequest {
72
+ @ApiProperty()
73
+ @IsString()
74
+ deviceId: string;
75
+ }
@@ -48,11 +48,6 @@ export class UpdateBalanceSheet {
48
48
  @IsOptional()
49
49
  bankCollectingState?: number;
50
50
 
51
- @ApiPropertyOptional()
52
- @IsNumber()
53
- @IsOptional()
54
- idCard?: number;
55
-
56
51
  @ApiPropertyOptional()
57
52
  @IsString()
58
53
  @IsOptional()
@@ -0,0 +1,7 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+ import { TFile } from '../file/TFile';
3
+
4
+ export class BenchmarkFileUpload {
5
+ @ApiProperty({ type: 'string', format: 'binary', description: 'Fichier CSV contenant les transactions à comparer' })
6
+ file: TFile;
7
+ }
@@ -39,6 +39,11 @@ export class CreateContact {
39
39
  @IsString()
40
40
  @IsOptional()
41
41
  godfatherName?: string;
42
+
43
+ @ApiPropertyOptional()
44
+ @IsOptional()
45
+ @IsString()
46
+ ebookTag?: string;
42
47
  }
43
48
 
44
49
  export class GetContact {
@@ -87,6 +92,7 @@ export interface ContactInfos {
87
92
  nameSociety?: string;
88
93
  phone?: string;
89
94
  godfatherName?: string;
95
+ ebookTag?: string;
90
96
  }
91
97
 
92
98
  export class AddOrCreateContactsToList {