@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
@@ -0,0 +1,38 @@
1
+ import { LegalFormTypeEnum } from '../types/Enum/LegalForm';
2
+ import { SocietyApprovalDocumentType, SocietyApprovalDocumentConfig, SocietyApprovalDocumentTemplate } from '../types/Enum/SocietyApproval';
3
+ import { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';
4
+ /**
5
+ * Récupère le nom de la forme juridique
6
+ * @param idLegalForm - L'identifiant de la forme juridique
7
+ * @param fallback - Valeur par défaut si non trouvée
8
+ * @returns Le nom de la forme juridique
9
+ */
10
+ export declare function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback?: string): string;
11
+ /**
12
+ * Récupère la configuration des documents d'approbation pour une forme juridique donnée
13
+ * @param idLegalForm - L'identifiant de la forme juridique
14
+ * @returns La configuration des documents ou undefined si non trouvée
15
+ */
16
+ export declare function getApprovalDocumentsByLegalForm(idLegalForm: LegalFormTypeEnum): SocietyApprovalDocumentConfig | undefined;
17
+ /**
18
+ * Récupère le nom du template pour un document spécifique et une forme juridique
19
+ * @param idLegalForm - L'identifiant de la forme juridique
20
+ * @param idDocumentType - Le type de document d'approbation
21
+ * @returns Le nom du template ou undefined si non trouvé
22
+ */
23
+ export declare function getApprovalDocumentTemplateName(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): string | undefined;
24
+ /**
25
+ * Récupère le nom du template pour un document spécifique et une forme juridique
26
+ * @param idLegalForm - L'identifiant de la forme juridique
27
+ * @param idDocumentType - Le type de document d'approbation
28
+ * @returns Le nom du template ou undefined si non trouvé
29
+ */
30
+ export declare function getApprovalDocumentInfos(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): SocietyApprovalDocumentTemplate | undefined;
31
+ /**
32
+ * Construit les données formatées pour le template d'approbation
33
+ * @param existingApproval - Les données d'approbation de la société
34
+ * @param style - Le style HTML pour le document
35
+ * @returns L'objet de données formaté pour le template
36
+ */
37
+ export declare function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any>;
38
+ //# sourceMappingURL=societyApproval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"societyApproval.d.ts","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAE7B,+BAA+B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAO9E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,iBAAiB,EAAE,QAAQ,GAAE,MAAW,GAAG,MAAM,CAE9F;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,GAC7B,6BAA6B,GAAG,SAAS,CAE3C;AAED;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,MAAM,GAAG,SAAS,CAIpB;AAYD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,+BAA+B,GAAG,SAAS,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+ChH"}
@@ -0,0 +1,109 @@
1
+ import { LegalForm } from '../types/Enum/LegalForm';
2
+ import { SocietyApprovalDocumentsByLegalForm, } from '../types/Enum/SocietyApproval';
3
+ import { QualityList } from '../types/Enum/Quality';
4
+ import { getBrand } from './brands';
5
+ import { convertNumberToLetter } from './amount';
6
+ import * as dayjs from 'dayjs';
7
+ import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
8
+ /**
9
+ * Récupère le nom de la forme juridique
10
+ * @param idLegalForm - L'identifiant de la forme juridique
11
+ * @param fallback - Valeur par défaut si non trouvée
12
+ * @returns Le nom de la forme juridique
13
+ */
14
+ export function getLegalFormName(idLegalForm, fallback = '') {
15
+ return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
16
+ }
17
+ /**
18
+ * Récupère la configuration des documents d'approbation pour une forme juridique donnée
19
+ * @param idLegalForm - L'identifiant de la forme juridique
20
+ * @returns La configuration des documents ou undefined si non trouvée
21
+ */
22
+ export function getApprovalDocumentsByLegalForm(idLegalForm) {
23
+ return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
24
+ }
25
+ /**
26
+ * Récupère le nom du template pour un document spécifique et une forme juridique
27
+ * @param idLegalForm - L'identifiant de la forme juridique
28
+ * @param idDocumentType - Le type de document d'approbation
29
+ * @returns Le nom du template ou undefined si non trouvé
30
+ */
31
+ //@deprecated use getApprovalDocumentInfos instead
32
+ export function getApprovalDocumentTemplateName(idLegalForm, idDocumentType) {
33
+ const config = getApprovalDocumentsByLegalForm(idLegalForm);
34
+ const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
35
+ return document?.templateName;
36
+ }
37
+ /**
38
+ * Récupère le texte de la ville du greffe
39
+ * @param idCityOfGreffe - L'identifiant de la ville du greffe
40
+ * @returns Le texte de la ville ou une chaîne vide
41
+ */
42
+ function getCityOfGreffeName(idCityOfGreffe) {
43
+ if (!idCityOfGreffe)
44
+ return '';
45
+ return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
46
+ }
47
+ /**
48
+ * Récupère le nom du template pour un document spécifique et une forme juridique
49
+ * @param idLegalForm - L'identifiant de la forme juridique
50
+ * @param idDocumentType - Le type de document d'approbation
51
+ * @returns Le nom du template ou undefined si non trouvé
52
+ */
53
+ export function getApprovalDocumentInfos(idLegalForm, idDocumentType) {
54
+ const config = getApprovalDocumentsByLegalForm(idLegalForm);
55
+ return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
56
+ }
57
+ /**
58
+ * Construit les données formatées pour le template d'approbation
59
+ * @param existingApproval - Les données d'approbation de la société
60
+ * @param style - Le style HTML pour le document
61
+ * @returns L'objet de données formaté pour le template
62
+ */
63
+ export function buildApprovalTemplateData(existingApproval, style) {
64
+ const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
65
+ const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
66
+ const brand = getBrand();
67
+ return {
68
+ // Variables globales
69
+ style,
70
+ yearInText,
71
+ dayAndMonthInText,
72
+ date: dayjs().locale('fr').format('DD MMMM YYYY'),
73
+ companyInformation: {
74
+ rcs: brand?.companyInformation?.rcs,
75
+ nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
76
+ city: brand?.companyInformation?.city,
77
+ postalAddress: brand?.companyInformation?.postalAddress,
78
+ montantCapital: brand?.companyInformation?.montantCapital,
79
+ statut: brand?.companyInformation?.statut,
80
+ ECOrderCity: brand?.companyInformation?.ECOrderCity,
81
+ },
82
+ owner: {
83
+ identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
84
+ quality: QualityList.find((ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality)?.label,
85
+ },
86
+ // Variables stockées en base
87
+ ...existingApproval,
88
+ generatingDatas: {
89
+ ...existingApproval?.generatingDatas,
90
+ ...(existingApproval?.generatingDatas?.approvalDate
91
+ ? {
92
+ approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
93
+ .locale('fr')
94
+ .format('DD MMMM YYYY')
95
+ .toUpperCase(),
96
+ }
97
+ : {}),
98
+ },
99
+ exercice: {
100
+ ...existingApproval?.exercice,
101
+ society: {
102
+ ...existingApproval?.exercice?.society,
103
+ cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
104
+ },
105
+ endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
106
+ },
107
+ };
108
+ }
109
+ //# sourceMappingURL=societyApproval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"societyApproval.js","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"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","sourcesContent":["import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';\nimport {\n SocietyApprovalDocumentType,\n SocietyApprovalDocumentConfig,\n SocietyApprovalDocumentsByLegalForm,\n SocietyApprovalDocumentTemplate,\n} from '../types/Enum/SocietyApproval';\nimport { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';\nimport { QualityList } from '../types/Enum/Quality';\nimport { getBrand } from './brands';\nimport { convertNumberToLetter } from './amount';\nimport * as dayjs from 'dayjs';\nimport { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';\n\n/**\n * Récupère le nom de la forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param fallback - Valeur par défaut si non trouvée\n * @returns Le nom de la forme juridique\n */\nexport function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {\n return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;\n}\n\n/**\n * Récupère la configuration des documents d'approbation pour une forme juridique donnée\n * @param idLegalForm - L'identifiant de la forme juridique\n * @returns La configuration des documents ou undefined si non trouvée\n */\nexport function getApprovalDocumentsByLegalForm(\n idLegalForm: LegalFormTypeEnum,\n): SocietyApprovalDocumentConfig | undefined {\n return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\n//@deprecated use getApprovalDocumentInfos instead\nexport function getApprovalDocumentTemplateName(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): string | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n return document?.templateName;\n}\n\n/**\n * Récupère le texte de la ville du greffe\n * @param idCityOfGreffe - L'identifiant de la ville du greffe\n * @returns Le texte de la ville ou une chaîne vide\n */\nfunction getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {\n if (!idCityOfGreffe) return '';\n return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\nexport function getApprovalDocumentInfos(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): SocietyApprovalDocumentTemplate | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n}\n\n/**\n * Construit les données formatées pour le template d'approbation\n * @param existingApproval - Les données d'approbation de la société\n * @param style - Le style HTML pour le document\n * @returns L'objet de données formaté pour le template\n */\nexport function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {\n const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();\n const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;\n const brand = getBrand();\n return {\n // Variables globales\n style,\n yearInText,\n dayAndMonthInText,\n date: dayjs().locale('fr').format('DD MMMM YYYY'),\n companyInformation: {\n rcs: brand?.companyInformation?.rcs,\n nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,\n city: brand?.companyInformation?.city,\n postalAddress: brand?.companyInformation?.postalAddress,\n montantCapital: brand?.companyInformation?.montantCapital,\n statut: brand?.companyInformation?.statut,\n ECOrderCity: brand?.companyInformation?.ECOrderCity,\n },\n owner: {\n identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,\n quality: QualityList.find(\n (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,\n )?.label,\n },\n // Variables stockées en base\n ...existingApproval,\n generatingDatas: {\n ...existingApproval?.generatingDatas,\n ...(existingApproval?.generatingDatas?.approvalDate\n ? {\n approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)\n .locale('fr')\n .format('DD MMMM YYYY')\n .toUpperCase(),\n }\n : {}),\n },\n exercice: {\n ...existingApproval?.exercice,\n society: {\n ...existingApproval?.exercice?.society,\n cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),\n },\n endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),\n },\n };\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.195-7",
3
+ "version": "1.3.195-9",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -3,15 +3,6 @@ import {
3
3
  ICard,
4
4
  QueryUserCards,
5
5
  QueryUserCardsPaginated,
6
- QueryUserCardsStats,
7
- CardsStatsGroup,
8
- UpdateCard,
9
- ModifyTeamPlanning,
10
- ModifyExercisePlanning,
11
- OrganizeBalanceSheets,
12
- OrganizeBalanceSheetsResponse,
13
- QueryInternalCardsStats,
14
- InternalCardStats,
15
6
  BasePaginate,
16
7
  UpdateCardV2,
17
8
  AssignCard,
@@ -38,62 +29,10 @@ export class Card extends Resource {
38
29
  });
39
30
  }
40
31
 
41
- /**
42
- * @deprecated Use getAll instead
43
- */
44
- getAllAdmin(params: QueryUserCards, signal?: AbortSignal): Promise<ICard[]> {
45
- return this.axios.$get('/cards', {
46
- ...(signal ? { signal } : {}),
47
- params,
48
- });
49
- }
50
-
51
- getStats(params: QueryUserCardsStats, signal?: AbortSignal): Promise<CardsStatsGroup[]> {
52
- return this.axios.$get('/cards/stats', {
53
- ...(signal ? { signal } : {}),
54
- params,
55
- });
56
- }
57
-
58
- getInternalStats(params: QueryInternalCardsStats, signal?: AbortSignal): Promise<InternalCardStats[]> {
59
- return this.axios.$get('/cards/internal/stats', {
60
- ...(signal ? { signal } : {}),
61
- params,
62
- });
63
- }
64
-
65
- /**
66
- * @deprecated Use updateV2 instead
67
- */
68
- update(id: number, data: UpdateCard): Promise<ICard> {
69
- return this.axios.$put(`/cards/${id}`, data);
70
- }
71
-
72
32
  delete(id: number): Promise<void> {
73
33
  return this.axios.$delete(`/cards/${id}`);
74
34
  }
75
35
 
76
- /**
77
- * @deprecated comptallo v1 endpoint
78
- */
79
- modifyTeamPlanning(data: ModifyTeamPlanning): Promise<true> {
80
- return this.axios.$put('/cards/assign/modify-team-planning', data);
81
- }
82
-
83
- /**
84
- * @deprecated comptallo v1 endpoint
85
- */
86
- modifyExercisePlanning(data: ModifyExercisePlanning): Promise<true> {
87
- return this.axios.$put('/cards/assign/modify-exercise-planning', data);
88
- }
89
-
90
- /**
91
- * @deprecated comptallo v1 endpoint
92
- */
93
- organizeFutureBalanceSheets(data: OrganizeBalanceSheets): Promise<OrganizeBalanceSheetsResponse> {
94
- return this.axios.$post('/cards/accountant/organize/future-balance-sheets', data);
95
- }
96
-
97
36
  updateV2(idCard: number, data: UpdateCardV2): Promise<ICard> {
98
37
  return this.axios.$put(`/cards/${idCard}/v2`, data);
99
38
  }
@@ -0,0 +1,20 @@
1
+ import { Resource } from '../Resource';
2
+ import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
3
+
4
+ export class LoginApproval extends Resource {
5
+ approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
6
+ return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
7
+ }
8
+
9
+ deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
10
+ return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
11
+ }
12
+
13
+ getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {
14
+ return this.axios.$get(`/auth/approvals/${requestId}/status`);
15
+ }
16
+
17
+ cleanup(): Promise<{ deleted: number; message: string }> {
18
+ return this.axios.$post('/auth/approvals/cleanup');
19
+ }
20
+ }
@@ -26,4 +26,10 @@ export class UserMfa extends Resource {
26
26
  // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
27
27
  return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
28
28
  }
29
+
30
+ ///// Mobile Approval MFA /////
31
+
32
+ setMobileApproval(userId: number, enable: boolean): Promise<void> {
33
+ return this.axios.$post('/mfa/mobile-approval', { userId, enable });
34
+ }
29
35
  }
@@ -162,6 +162,10 @@ export class Payment extends Resource {
162
162
  return this.axios.$get('/payments', { params: query, signal });
163
163
  }
164
164
 
165
+ getLastPayment(idSociety: number): Promise<IPayment> {
166
+ return this.axios.$get(`/payment/${idSociety}/last`);
167
+ }
168
+
165
169
  update(id: number, payload: UpdatePayment): Promise<IPayment> {
166
170
  return this.axios.$patch(`/payments/${id}`, payload);
167
171
  }
@@ -30,6 +30,7 @@ import {
30
30
  DataCustomersCsv,
31
31
  ReadCurrentPrestations,
32
32
  QueryToArchivedSociety,
33
+ ReadFeatureAccess,
33
34
  } from '../../types';
34
35
  import { CancelToken } from 'axios';
35
36
 
@@ -205,4 +206,8 @@ export class Society extends Resource {
205
206
  },
206
207
  });
207
208
  }
209
+
210
+ getAllFeatures(idSociety: number): Promise<ReadFeatureAccess> {
211
+ return this.axios.$get(`/societies/${idSociety}/features`);
212
+ }
208
213
  }
@@ -0,0 +1,75 @@
1
+ import { Resource } from '../Resource';
2
+ import {
3
+ ISocietyApproval,
4
+ CreateDocument,
5
+ ReadLibraryFile,
6
+ ResetDocument,
7
+ IDocumentSection,
8
+ IApprovalGeneratingData,
9
+ } from '../../types';
10
+
11
+ export class SocietyApproval extends Resource {
12
+ /**
13
+ * Get society approval data for a given exercice
14
+ * @param idExercice - The exercice ID
15
+ * @returns Society approval with all needed data
16
+ */
17
+ get(idExercice: number): Promise<ISocietyApproval> {
18
+ return this.axios.$get(`/exercices/${idExercice}/approvals`);
19
+ }
20
+
21
+ /**
22
+ * Get approval data needed for PDF generation
23
+ * Retrieves all necessary information before generating a PDF document
24
+ * @param idExercice - The exercice ID
25
+ * @returns Approval data with template data for PDF generation
26
+ */
27
+ getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData> {
28
+ return this.axios.$get(`/exercices/${idExercice}/approvals/generating-data`);
29
+ }
30
+
31
+ /**
32
+ * Create or update society approval
33
+ * @param idExercice - The exercice ID
34
+ * @param payload - The approval data
35
+ * @returns Updated or created society approval
36
+ */
37
+ updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval> {
38
+ return this.axios.$post(`/exercices/${idExercice}/approvals`, payload);
39
+ }
40
+
41
+ /**
42
+ * Generate approval PDF document
43
+ * @param idExercice - The exercice ID
44
+ * @param payload - The document type(s) to generate
45
+ * @returns PDF file as blob
46
+ */
47
+ generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile> {
48
+ return this.axios.$post(`/exercices/${idExercice}/approvals/pdf`, payload);
49
+ }
50
+
51
+ /**
52
+ * Reset document section by regenerating from original template
53
+ * @param idExercice - The exercice ID
54
+ * @param idDocumentSection - The documentSection ID to reset
55
+ * @param payload - The document type for template selection
56
+ * @returns Updated documentSection with new content from template
57
+ */
58
+ resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection> {
59
+ return this.axios.$put(`/exercices/${idExercice}/document-sections/${idDocumentSection}/reset`, payload);
60
+ }
61
+
62
+ /**
63
+ * Regenerate PDF document from existing documentSection HTML content
64
+ * @param idExercice - The exercice ID
65
+ * @param idDocumentSection - The documentSection ID containing HTML content
66
+ * @returns PDF file as buffer for download
67
+ */
68
+ regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer> {
69
+ return this.axios.$post(
70
+ `/exercices/${idExercice}/approvals/pdf/regenerate`,
71
+ { idDocumentSection },
72
+ { responseType: 'arraybuffer' },
73
+ );
74
+ }
75
+ }
@@ -1,29 +1,35 @@
1
1
  import { Resource } from '../Resource';
2
- import { IUsersHistory} from '../../types';
2
+ import { IUsersHistory, CreateUsersHistory, UpdateUsersHistory } from '../../types';
3
3
 
4
4
  export class UsersHistory extends Resource {
5
- createUserHistory(body: IUsersHistory): Promise<IUsersHistory> {
5
+ createUserHistory(body: CreateUsersHistory): Promise<IUsersHistory> {
6
6
  return this.axios.$post('usersHistory', body);
7
7
  }
8
8
 
9
- getAllUserHistory(): Promise<IUsersHistory[]> {
10
- return this.axios.$get('usersHistory');
9
+ getAllUserHistory(signal?: AbortSignal): Promise<IUsersHistory[]> {
10
+ return this.axios.$get('usersHistory', {
11
+ ...signal && { signal }
12
+ });
11
13
  }
12
14
 
13
- getUserHistoryById(id: number): Promise<IUsersHistory> {
14
- return this.axios.$get(`usersHistory/${id}`);
15
+ getUserHistoryById(id: number, signal?: AbortSignal): Promise<IUsersHistory> {
16
+ return this.axios.$get(`usersHistory/${id}`, {
17
+ ...signal && { signal }
18
+ });
15
19
  }
16
20
 
17
- getUserHistoryByUserID(id: number): Promise<IUsersHistory[]> {
18
- return this.axios.$get(`usersHistory/user/${id}`);
21
+ getUserHistoryByUserID(id: number, signal?: AbortSignal): Promise<IUsersHistory[]> {
22
+ return this.axios.$get(`usersHistory/user/${id}`, {
23
+ ...signal && { signal }
24
+ });
19
25
  }
20
26
 
21
- updateUserHistory(id: number, body: IUsersHistory): Promise<IUsersHistory> {
27
+ updateUserHistory(id: number, body: UpdateUsersHistory): Promise<IUsersHistory> {
22
28
  return this.axios.$put(`usersHistory/${id}`, body);
23
29
  }
24
30
 
25
- deleteUserHistory(id: number): Promise<number> {
31
+ deleteUserHistory(id: number): Promise<number> {
26
32
  return this.axios.$delete(`usersHistory/${id}`);
27
33
  }
28
-
34
+
29
35
  }
@@ -0,0 +1,16 @@
1
+ import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';
2
+ import { Resource } from '../Resource';
3
+
4
+ export class Webex extends Resource {
5
+ getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars> {
6
+ return this.axios.$get('/connectors/webex/webinars', { params });
7
+ }
8
+
9
+ getWebinarById(meetingId: string): Promise<any> {
10
+ return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);
11
+ }
12
+
13
+ addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant> {
14
+ return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);
15
+ }
16
+ }
@@ -188,6 +188,8 @@ import { BalanceSheetReport } from './resources/BalanceSheetReport';
188
188
  import { Revenue } from './resources/Revenue';
189
189
  import { InformationRequest } from './resources/InformationRequest';
190
190
  import { AutomaticRegistration } from './resources/AutomaticRegistration';
191
+ import { LoginApproval } from './resources/LoginApproval';
192
+ import { SocietyApproval } from './resources/SocietyApproval';
191
193
  import { UsersHistory } from './resources/UsersHistory';
192
194
 
193
195
  export const resources = {
@@ -381,5 +383,7 @@ export const resources = {
381
383
  revenue: Revenue,
382
384
  informationRequest: InformationRequest,
383
385
  automaticRegistration: AutomaticRegistration,
386
+ loginApproval: LoginApproval,
387
+ societyApproval: SocietyApproval,
384
388
  usersHistory: UsersHistory,
385
389
  };
@@ -2,15 +2,7 @@ import { Role } from './Role';
2
2
  import { TeamType } from './TeamType';
3
3
 
4
4
  export enum CardType {
5
- BALANCE_SHEET = 1,
6
- BALANCE_SHEET_INTERMEDIATE = 2,
7
- BALANCE_SHEET_PREVISIONAL = 3,
8
- BALANCE_SHEET_LIQUIDATION = 4,
9
- BALANCE_SHEET_EXPRESS = 5,
10
5
  VAT_PREPARATION = 6,
11
- // REINFORCED_CHECKLIST = 7,
12
- CHECK_BALANCE_ANNOTATION_NEW_CLIENT = 8,
13
- CHECK_BALANCE_ANNOTATION = 9,
14
6
  SETUP_BANK_ACCOUNT = 10, // Mise en place banque
15
7
  UPDATE_BANK_BALANCE = 11, // MAJ du solde bancaire
16
8
  UPDATE_ANNOTATIONS = 12, // MAJ Annotations
@@ -41,9 +33,9 @@ export enum CardState {
41
33
  TODO = 1,
42
34
  IN_PROGRESS = 2,
43
35
  DONE = 3,
44
- NOT_DONE = 4,
36
+ INCOMPLETE = 4,
45
37
  WAITING_CLIENT = 5,
46
- INCOMPLETE = 6
38
+ NOT_DONE = 6
47
39
  }
48
40
 
49
41
  export enum CardGroupEnum {
@@ -160,36 +152,6 @@ export const CardGroup: readonly CardGroupType[] = [
160
152
  ] as const;
161
153
 
162
154
  export const CardTypeLabel = [
163
- {
164
- id: CardType.BALANCE_SHEET,
165
- label: 'Bilan',
166
- refLabel: 'B',
167
- groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
168
- },
169
- {
170
- id: CardType.BALANCE_SHEET_INTERMEDIATE,
171
- label: 'Bilan inter.',
172
- refLabel: 'BI',
173
- groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
174
- },
175
- {
176
- id: CardType.BALANCE_SHEET_PREVISIONAL,
177
- label: 'Bilan prévi.',
178
- refLabel: 'BP',
179
- groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
180
- },
181
- {
182
- id: CardType.BALANCE_SHEET_LIQUIDATION,
183
- label: 'Bilan liquid.',
184
- refLabel: 'BL',
185
- groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
186
- },
187
- {
188
- id: CardType.BALANCE_SHEET_EXPRESS,
189
- label: 'Bilan express',
190
- refLabel: 'BE',
191
- groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
192
- },
193
155
  {
194
156
  id: CardType.BALANCE_SHEET_PREPARATION,
195
157
  label: 'Préparation et Formalisation du Bilan',
@@ -268,18 +230,6 @@ export const CardTypeLabel = [
268
230
  refLabel: 'ARC',
269
231
  groupId: CardGroupEnum.ADVANCE_IS_GROUP,
270
232
  },
271
- {
272
- id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,
273
- label: 'Contrôle solde bancaire & mise en place annotation nouveau client',
274
- refLabel: 'LABNC',
275
- groupId: CardGroupEnum.ACCEPTATION_GROUP,
276
- },
277
- {
278
- id: CardType.CHECK_BALANCE_ANNOTATION,
279
- label: 'Contrôle solde bancaire & contrôle annotations client',
280
- refLabel: 'LABC',
281
- groupId: CardGroupEnum.ACCEPTATION_GROUP,
282
- },
283
233
  {
284
234
  id: CardType.SETUP_BANK_ACCOUNT,
285
235
  label: 'Mise en place banque',
@@ -0,0 +1,14 @@
1
+ export enum EbookIntention {
2
+ FACTU_ONLY = 'Facturation uniquement',
3
+ FACTU_COMPTA = 'Facturation + comptabilité',
4
+ INFO_REFORME = 'Je cherche juste à comprendre la réforme',
5
+ // prettier-ignore
6
+ CHANGE_TOOL = 'Je dois changer d\'outil rapidement',
7
+ }
8
+
9
+ export const BrevoEbookIntentionMapping: Record<EbookIntention, string> = {
10
+ [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',
11
+ [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',
12
+ [EbookIntention.INFO_REFORME]: 'INFO_REFORME',
13
+ [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',
14
+ };