@silexpert/core 1.3.194 → 1.3.195-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +23 -1
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +36 -0
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Mfa.js +0 -4
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  9. package/dist/cjs/api/resources/Payment.d.ts +0 -1
  10. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Payment.js +0 -3
  12. package/dist/cjs/api/resources/Payment.js.map +1 -1
  13. package/dist/cjs/api/resources/Society.d.ts +1 -2
  14. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/Society.js +0 -3
  16. package/dist/cjs/api/resources/Society.js.map +1 -1
  17. package/dist/cjs/api/resources/UsersHistory.d.ts +11 -0
  18. package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -0
  19. package/dist/cjs/api/resources/UsersHistory.js +26 -0
  20. package/dist/cjs/api/resources/UsersHistory.js.map +1 -0
  21. package/dist/cjs/api/resources.d.ts +0 -4
  22. package/dist/cjs/api/resources.d.ts.map +1 -1
  23. package/dist/cjs/api/resources.js +0 -4
  24. package/dist/cjs/api/resources.js.map +1 -1
  25. package/dist/cjs/types/Enum/Card.d.ts +44 -2
  26. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/Card.js +52 -2
  28. package/dist/cjs/types/Enum/Card.js.map +1 -1
  29. package/dist/cjs/types/Enum/Ged.d.ts +3 -9
  30. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/Ged.js +30 -154
  32. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  33. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  34. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  36. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  37. package/dist/cjs/types/Enum/JobTitle.d.ts +1 -2
  38. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  39. package/dist/cjs/types/Enum/JobTitle.js +0 -6
  40. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  41. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -3
  42. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/MailAuto.js +0 -2
  44. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  45. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  46. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  47. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  48. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  49. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  50. package/dist/cjs/types/Enum/Proceding.js +0 -4
  51. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  52. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  53. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  54. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  55. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  56. package/dist/cjs/types/Enum/UsersHistory.d.ts +17 -0
  57. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -0
  58. package/dist/cjs/types/Enum/UsersHistory.js +26 -0
  59. package/dist/cjs/types/Enum/UsersHistory.js.map +1 -0
  60. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  61. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  64. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  66. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  67. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  68. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  70. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  72. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +0 -6
  74. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  75. package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -3
  76. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/card/Cron.js +1 -10
  78. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  80. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  81. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
  82. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  83. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  84. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  85. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +106 -0
  86. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  87. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  88. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +13 -11
  90. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  91. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  92. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  93. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +79 -0
  94. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  95. package/dist/cjs/types/Interface/api/card/Query.d.ts +8 -0
  96. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +15 -16
  98. package/dist/cjs/types/Interface/api/card/Query.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  100. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  101. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +44 -7
  102. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  103. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  104. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/card/UpdateCard.js +58 -1
  106. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  108. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  109. package/dist/cjs/types/Interface/api/informationRequest/Update.js +1 -10
  110. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  111. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  112. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  113. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  114. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  115. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  116. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +0 -6
  117. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  118. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  119. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -14
  121. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  122. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  123. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  124. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  125. package/dist/cjs/types/Interface/models/ICard.d.ts +19 -0
  126. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  127. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  128. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +4 -0
  129. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  130. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  131. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  132. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  133. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  134. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  135. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  137. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  138. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  139. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  140. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  141. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  142. package/dist/cjs/types/Interface/{api/webex/WebexMeeting.js → models/IUsersHistory.js} +1 -1
  143. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -0
  144. package/dist/cjs/types/index.d.ts +6 -14
  145. package/dist/cjs/types/index.d.ts.map +1 -1
  146. package/dist/cjs/types/index.js +6 -14
  147. package/dist/cjs/types/index.js.map +1 -1
  148. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  149. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  150. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  151. package/dist/cjs/utils/index.d.ts +0 -1
  152. package/dist/cjs/utils/index.d.ts.map +1 -1
  153. package/dist/cjs/utils/index.js +0 -1
  154. package/dist/cjs/utils/index.js.map +1 -1
  155. package/dist/mjs/api/resources/Card.d.ts +23 -1
  156. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  157. package/dist/mjs/api/resources/Card.js +45 -0
  158. package/dist/mjs/api/resources/Card.js.map +1 -1
  159. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  160. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  161. package/dist/mjs/api/resources/Mfa.js +0 -4
  162. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  163. package/dist/mjs/api/resources/Payment.d.ts +0 -1
  164. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  165. package/dist/mjs/api/resources/Payment.js +0 -3
  166. package/dist/mjs/api/resources/Payment.js.map +1 -1
  167. package/dist/mjs/api/resources/Society.d.ts +1 -2
  168. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  169. package/dist/mjs/api/resources/Society.js +0 -3
  170. package/dist/mjs/api/resources/Society.js.map +1 -1
  171. package/dist/mjs/api/resources/UsersHistory.d.ts +11 -0
  172. package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -0
  173. package/dist/mjs/api/resources/UsersHistory.js +22 -0
  174. package/dist/mjs/api/resources/UsersHistory.js.map +1 -0
  175. package/dist/mjs/api/resources.d.ts +0 -4
  176. package/dist/mjs/api/resources.d.ts.map +1 -1
  177. package/dist/mjs/api/resources.js +0 -4
  178. package/dist/mjs/api/resources.js.map +1 -1
  179. package/dist/mjs/types/Enum/Card.d.ts +44 -2
  180. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  181. package/dist/mjs/types/Enum/Card.js +52 -2
  182. package/dist/mjs/types/Enum/Card.js.map +1 -1
  183. package/dist/mjs/types/Enum/Ged.d.ts +3 -9
  184. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  185. package/dist/mjs/types/Enum/Ged.js +30 -154
  186. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  187. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  188. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  189. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  190. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  191. package/dist/mjs/types/Enum/JobTitle.d.ts +1 -2
  192. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  193. package/dist/mjs/types/Enum/JobTitle.js +0 -6
  194. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  195. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -3
  196. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  197. package/dist/mjs/types/Enum/MailAuto.js +0 -2
  198. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  199. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  200. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  201. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  202. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  203. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  204. package/dist/mjs/types/Enum/Proceding.js +0 -4
  205. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  206. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  207. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  208. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  209. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  210. package/dist/mjs/types/Enum/UsersHistory.d.ts +17 -0
  211. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -0
  212. package/dist/mjs/types/Enum/UsersHistory.js +23 -0
  213. package/dist/mjs/types/Enum/UsersHistory.js.map +1 -0
  214. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  215. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  216. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  217. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  218. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  219. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  220. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  221. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  222. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  223. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
  224. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  225. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  226. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  227. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +0 -7
  228. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  229. package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -3
  230. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  231. package/dist/mjs/types/Interface/api/card/Cron.js +0 -8
  232. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  233. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  234. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  235. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
  236. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  237. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  238. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  239. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +115 -0
  240. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  241. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  242. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  243. package/dist/mjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +14 -12
  244. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  245. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  246. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  247. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +84 -0
  248. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  249. package/dist/mjs/types/Interface/api/card/Query.d.ts +8 -0
  250. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -0
  251. package/dist/mjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +16 -20
  252. package/dist/mjs/types/Interface/api/card/Query.js.map +1 -0
  253. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  254. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  255. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +43 -7
  256. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  257. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  258. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  259. package/dist/mjs/types/Interface/api/card/UpdateCard.js +65 -1
  260. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  261. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  262. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  263. package/dist/mjs/types/Interface/api/informationRequest/Update.js +0 -9
  264. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  265. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  266. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  267. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  268. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  269. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  270. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +0 -7
  271. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  272. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  273. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  274. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -15
  275. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  276. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  277. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  278. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  279. package/dist/mjs/types/Interface/models/ICard.d.ts +19 -0
  280. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  281. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  282. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +4 -0
  283. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  284. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  285. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  286. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  287. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  288. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  289. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  290. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  291. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  292. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  293. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  294. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  295. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  296. package/dist/mjs/types/Interface/models/IUsersHistory.js +2 -0
  297. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -0
  298. package/dist/mjs/types/index.d.ts +6 -14
  299. package/dist/mjs/types/index.d.ts.map +1 -1
  300. package/dist/mjs/types/index.js +6 -14
  301. package/dist/mjs/types/index.js.map +1 -1
  302. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  303. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  304. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  305. package/dist/mjs/utils/index.d.ts +0 -1
  306. package/dist/mjs/utils/index.d.ts.map +1 -1
  307. package/dist/mjs/utils/index.js +0 -1
  308. package/dist/mjs/utils/index.js.map +1 -1
  309. package/package.json +1 -1
  310. package/ts/api/resources/Card.ts +61 -0
  311. package/ts/api/resources/Mfa.ts +0 -6
  312. package/ts/api/resources/Payment.ts +0 -4
  313. package/ts/api/resources/Society.ts +0 -5
  314. package/ts/api/resources/UsersHistory.ts +29 -0
  315. package/ts/api/resources.ts +0 -4
  316. package/ts/types/Enum/Card.ts +52 -2
  317. package/ts/types/Enum/Ged.ts +248 -380
  318. package/ts/types/Enum/InformationRequestState.ts +0 -1
  319. package/ts/types/Enum/JobTitle.ts +0 -6
  320. package/ts/types/Enum/MailAuto.ts +0 -2
  321. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  322. package/ts/types/Enum/Proceding.ts +0 -4
  323. package/ts/types/Enum/StatutsSection.ts +7 -15
  324. package/ts/types/Enum/UsersHistory.ts +25 -0
  325. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  326. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  327. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  328. package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -6
  329. package/ts/types/Interface/api/card/Cron.ts +1 -8
  330. package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
  331. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +81 -0
  332. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
  333. package/ts/types/Interface/api/card/ModifyPlanning.ts +52 -0
  334. package/ts/types/Interface/api/card/Query.ts +19 -0
  335. package/ts/types/Interface/api/card/QueryUserCards.ts +36 -6
  336. package/ts/types/Interface/api/card/UpdateCard.ts +50 -2
  337. package/ts/types/Interface/api/informationRequest/Update.ts +0 -7
  338. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  339. package/ts/types/Interface/api/user/RegisterProspect.ts +0 -5
  340. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -17
  341. package/ts/types/Interface/models/IBalanceSheet.ts +3 -0
  342. package/ts/types/Interface/models/ICard.ts +20 -0
  343. package/ts/types/Interface/models/ICardHistory.ts +4 -0
  344. package/ts/types/Interface/models/ICustomerVat.ts +1 -0
  345. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  346. package/ts/types/Interface/models/IUser.ts +0 -2
  347. package/ts/types/Interface/models/IUsersHistory.ts +9 -0
  348. package/ts/types/index.ts +6 -14
  349. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  350. package/ts/utils/index.ts +0 -1
  351. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  352. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  353. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  354. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  355. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  356. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  357. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  358. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  359. package/dist/cjs/api/resources/Webex.d.ts +0 -8
  360. package/dist/cjs/api/resources/Webex.d.ts.map +0 -1
  361. package/dist/cjs/api/resources/Webex.js +0 -17
  362. package/dist/cjs/api/resources/Webex.js.map +0 -1
  363. package/dist/cjs/types/Enum/EbookIntention.d.ts +0 -8
  364. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +0 -1
  365. package/dist/cjs/types/Enum/EbookIntention.js +0 -18
  366. package/dist/cjs/types/Enum/EbookIntention.js.map +0 -1
  367. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  368. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  369. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  370. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  371. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  372. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  373. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  374. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  375. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -46
  376. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  377. package/dist/cjs/types/Enum/SocietyApproval.js +0 -280
  378. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  379. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  380. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  381. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  382. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  383. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  384. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  385. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  386. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  387. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  388. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  389. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  390. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  391. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  392. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  393. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  394. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  395. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  396. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +0 -21
  397. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  398. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  399. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  400. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  401. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  402. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  403. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +0 -3
  404. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  405. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  406. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  407. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  408. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  409. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  410. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  411. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  412. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  413. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  414. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  415. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  416. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  417. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  418. package/dist/cjs/utils/societyApproval.js +0 -101
  419. package/dist/cjs/utils/societyApproval.js.map +0 -1
  420. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  421. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  422. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  423. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  424. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  425. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  426. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  427. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  428. package/dist/mjs/api/resources/Webex.d.ts +0 -8
  429. package/dist/mjs/api/resources/Webex.d.ts.map +0 -1
  430. package/dist/mjs/api/resources/Webex.js +0 -13
  431. package/dist/mjs/api/resources/Webex.js.map +0 -1
  432. package/dist/mjs/types/Enum/EbookIntention.d.ts +0 -8
  433. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +0 -1
  434. package/dist/mjs/types/Enum/EbookIntention.js +0 -15
  435. package/dist/mjs/types/Enum/EbookIntention.js.map +0 -1
  436. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  437. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  438. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  439. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  440. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  441. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  442. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  443. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  444. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -46
  445. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  446. package/dist/mjs/types/Enum/SocietyApproval.js +0 -277
  447. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  448. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  449. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  450. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  451. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  452. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  453. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  454. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  455. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  456. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  457. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  458. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  459. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  460. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  461. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  462. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  463. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  464. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  465. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +0 -18
  466. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  467. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  468. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  469. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  470. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  471. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  472. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +0 -2
  473. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  474. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  475. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  476. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +0 -2
  477. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  478. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  479. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  480. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  481. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  482. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  483. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  484. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  485. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  486. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  487. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  488. package/dist/mjs/utils/societyApproval.js +0 -109
  489. package/dist/mjs/utils/societyApproval.js.map +0 -1
  490. package/ts/api/resources/LoginApproval.ts +0 -20
  491. package/ts/api/resources/SocietyApproval.ts +0 -75
  492. package/ts/api/resources/Webex.ts +0 -16
  493. package/ts/types/Enum/EbookIntention.ts +0 -14
  494. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  495. package/ts/types/Enum/MfaMode.ts +0 -11
  496. package/ts/types/Enum/SocietyApproval.ts +0 -301
  497. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  498. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  499. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  500. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  501. package/ts/types/Interface/api/bankAccount/Benchmark.ts +0 -7
  502. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -20
  503. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
  504. package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
  505. package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
  506. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  507. package/ts/utils/societyApproval.ts +0 -129
@@ -1,121 +0,0 @@
1
- import { IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../utils';
3
- import { SocietyApprovalDocumentType } from '../../Enum/SocietyApproval';
4
- import { ISocietyApproval } from '../models/ISocietyApproval';
5
- import { ToBoolean } from '../../../utils/transforms/boolean.transform';
6
-
7
- export class SocietyApprovalJsonDatas {
8
- @ApiPropertyOptional()
9
- @IsOptional()
10
- @IsDate()
11
- approvalDate?: Date;
12
- }
13
-
14
- export class CreateDocument {
15
- @ApiProperty()
16
- @IsEnum(SocietyApprovalDocumentType, { each: true })
17
- listIdDocumentType: SocietyApprovalDocumentType[];
18
- }
19
-
20
- export class ResetDocument {
21
- @ApiProperty()
22
- @IsEnum(SocietyApprovalDocumentType)
23
- idDocumentType: SocietyApprovalDocumentType;
24
- }
25
-
26
- export interface IApprovalGeneratingData {
27
- approval: ISocietyApproval;
28
- templateData: Record<string, any>;
29
- }
30
-
31
- export class UpdateOrCreateRequest implements Omit<ISocietyApproval, 'id'> {
32
- @ApiPropertyOptional()
33
- @IsOptional()
34
- @IsInt()
35
- idExercice: number | null;
36
-
37
- @ApiPropertyOptional()
38
- @IsOptional()
39
- @IsInt()
40
- idFile: number | null;
41
-
42
- @ApiPropertyOptional()
43
- @IsOptional()
44
- @IsInt()
45
- idAccountant: number | null;
46
-
47
- @ApiPropertyOptional()
48
- @IsOptional()
49
- @IsInt()
50
- idPaymentWaiting: number | null;
51
-
52
- @ApiPropertyOptional()
53
- @IsOptional()
54
- @IsString()
55
- amountDividend: string | null;
56
-
57
- @ApiPropertyOptional()
58
- @IsOptional()
59
- @IsDate()
60
- dueDate: Date | null;
61
-
62
- @ApiPropertyOptional()
63
- @IsOptional()
64
- @ToBoolean()
65
- done: boolean;
66
-
67
- @ApiPropertyOptional()
68
- @IsOptional()
69
- @IsInt()
70
- possibleDividend: number;
71
-
72
- @ApiPropertyOptional()
73
- @IsOptional()
74
- @IsString()
75
- amountChief: string | null;
76
-
77
- @ApiPropertyOptional()
78
- @IsOptional()
79
- @IsString()
80
- amountCotisations: string | null;
81
-
82
- @ApiPropertyOptional()
83
- @IsOptional()
84
- @IsString()
85
- amountAvantage: string | null;
86
-
87
- @ApiPropertyOptional()
88
- @IsOptional()
89
- @IsString()
90
- amountByPartner: string | null;
91
-
92
- @ApiPropertyOptional()
93
- @IsOptional()
94
- @IsString()
95
- amountInteret: string | null;
96
-
97
- @ApiPropertyOptional()
98
- @IsOptional()
99
- @IsString()
100
- amountBail: string | null;
101
-
102
- @ApiPropertyOptional()
103
- @IsOptional()
104
- @IsString()
105
- amountAbandon: string | null;
106
-
107
- @ApiPropertyOptional()
108
- @IsOptional()
109
- @IsDate()
110
- docsCompletedDate: Date | null;
111
-
112
- @ApiPropertyOptional()
113
- @IsOptional()
114
- @IsDate()
115
- registryDepositDate: Date | null;
116
-
117
- @ApiPropertyOptional()
118
- @IsOptional()
119
- @IsDate()
120
- endLegalServiceDate: Date | null;
121
- }
@@ -1,6 +0,0 @@
1
- import { IsString } from 'class-validator';
2
-
3
- export class FinalizeMobileApprovalDto {
4
- @IsString()
5
- requestId: string;
6
- }
@@ -1,11 +0,0 @@
1
- import { IsBoolean, IsInt } from 'class-validator';
2
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
3
-
4
- export class SetMobileApprovalDto {
5
- @IsInt()
6
- userId: number;
7
-
8
- @IsBoolean()
9
- @ToBoolean()
10
- enable: boolean;
11
- }
@@ -1,75 +0,0 @@
1
- import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
2
- import { IsString } from 'class-validator';
3
- import { ApiProperty } from '../../../../';
4
-
5
- /**
6
- * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
7
- */
8
- export interface ILoginApprovalRequestEvent {
9
- /** ID unique de la demande */
10
- requestId: string;
11
- /** Date d'expiration */
12
- expiresAt: Date;
13
- /** ID de l'utilisateur */
14
- userId: number;
15
- /** Métadonnées (IP, navigateur, localisation) */
16
- metadata?: {
17
- ip?: string;
18
- userAgent?: string;
19
- location?: string;
20
- };
21
- }
22
-
23
- export interface IApproveOrDenyResponse {
24
- message: string;
25
- status: LoginApprovalStatus;
26
- }
27
-
28
- /**
29
- * Payload de l'événement socket envoyé au Web lors d'un changement de statut
30
- */
31
- export interface ILoginApprovalStatusEvent {
32
- /** ID de la demande */
33
- requestId: string;
34
- /** Nouveau statut */
35
- status: LoginApprovalStatus;
36
- /** Date de la transition */
37
- timestamp: Date;
38
- }
39
-
40
- /**
41
- * Réponse renvoyée au Web lorsque mobile MFA est requis
42
- */
43
- export interface ILoginApprovalResponse {
44
- /** Indique qu'une validation mobile est nécessaire */
45
- requiresMobileApproval: true;
46
- /** ID de la demande pour polling/tracking */
47
- requestId: string;
48
- /** Date d'expiration de la demande */
49
- expiresAt: Date;
50
- /** ID utilisateur */
51
- userId: number;
52
- }
53
-
54
- /**
55
- * Réponse du statut d'une demande d'approbation
56
- */
57
- export interface ILoginApprovalStatusResponse {
58
- /** ID de la demande */
59
- requestId: string;
60
- /** Statut actuel */
61
- status: LoginApprovalStatus;
62
- /** Date d'expiration */
63
- expiresAt: Date;
64
- /** Token JWT si status = approved */
65
- token?: string;
66
- }
67
-
68
- /**
69
- * DTO pour approuver/refuser une demande depuis le mobile
70
- */
71
- export class IApproveOrDenyRequest {
72
- @ApiProperty()
73
- @IsString()
74
- deviceId: string;
75
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
1
- import { IsInt, IsString } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export class GetWebinarsParams {
5
- @ApiProperty()
6
- @IsString()
7
- from?: string;
8
-
9
- @ApiProperty()
10
- @IsString()
11
- to?: string;
12
-
13
- @ApiProperty()
14
- @IsInt()
15
- limit?: number;
16
-
17
- @ApiProperty()
18
- @IsInt()
19
- skip?: number;
20
- }
@@ -1,7 +0,0 @@
1
- import { WebexMeeting } from './WebexMeeting';
2
-
3
- export interface PaginatedWebinars {
4
- skip: number;
5
- limit: number;
6
- items: WebexMeeting[];
7
- }
@@ -1,21 +0,0 @@
1
- export interface WebexMeeting {
2
- id: string;
3
- meetingNumber: string;
4
- title: string;
5
- password?: string;
6
- phoneAndVideoSystemPassword?: string;
7
- meetingType: string;
8
- state: string;
9
- timezone: string;
10
- start: string;
11
- end: string;
12
- hostUserId: string;
13
- hostDisplayName: string;
14
- hostEmail: string;
15
- webLink: string;
16
- sipAddress?: string;
17
- dialInIpAddress?: string;
18
- enabledAutoRecordMeeting?: boolean;
19
- allowAnyUserToBeCoHost?: boolean;
20
- telephony?: any;
21
- }
@@ -1,34 +0,0 @@
1
- import { IsEmail, IsOptional, IsString } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export interface WebexRegistrant {
5
- registrantId?: string;
6
- id?: string;
7
- meetingId?: string;
8
- email: string;
9
- firstName: string;
10
- lastName: string;
11
- displayName?: string;
12
- company?: string;
13
- jobTitle?: string;
14
- }
15
-
16
- export class AddWebexRegistrantBody {
17
- @ApiProperty()
18
- @IsString()
19
- @IsEmail()
20
- email: string;
21
-
22
- @ApiProperty()
23
- @IsString()
24
- firstName: string;
25
-
26
- @ApiProperty()
27
- @IsString()
28
- lastName: string;
29
-
30
- @ApiProperty()
31
- @IsString()
32
- @IsOptional()
33
- workPhone?: string;
34
- }
@@ -1,31 +0,0 @@
1
- import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
2
-
3
- /**
4
- * Interface représentant une demande d'approbation de connexion mobile
5
- */
6
- export interface ILoginApproval {
7
- /** Identifiant unique (UUID) */
8
- id: string;
9
- /** ID de l'utilisateur demandant la connexion */
10
- idUser: number;
11
- /** Statut actuel de la demande */
12
- status: LoginApprovalStatus;
13
- /** Date d'expiration de la demande (généralement 2-3 min après création) */
14
- expiresAt: Date;
15
- /** Date d'approbation (si status = approved) */
16
- approvedAt?: Date;
17
- /** Date de refus (si status = denied) */
18
- deniedAt?: Date;
19
- /** Device ID du mobile ayant approuvé/refusé */
20
- deviceIdUsed?: string;
21
- /** IP de la connexion Web à l'origine de la demande */
22
- ip?: string;
23
- /** User-Agent du navigateur Web */
24
- userAgent?: string;
25
- /** Métadonnées additionnelles (géoloc, risk score, etc.) */
26
- metadata?: Record<string, any>;
27
- /** Date de création */
28
- createdAt: Date;
29
- /** Date de mise à jour */
30
- updatedAt: Date;
31
- }
@@ -1,129 +0,0 @@
1
- import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';
2
- import {
3
- SocietyApprovalDocumentType,
4
- SocietyApprovalDocumentConfig,
5
- SocietyApprovalDocumentsByLegalForm,
6
- SocietyApprovalDocumentTemplate,
7
- } from '../types/Enum/SocietyApproval';
8
- import { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';
9
- import { QualityList } from '../types/Enum/Quality';
10
- import { getBrand } from './brands';
11
- import { convertNumberToLetter } from './amount';
12
- import * as dayjs from 'dayjs';
13
- import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
14
-
15
- /**
16
- * Récupère le nom de la forme juridique
17
- * @param idLegalForm - L'identifiant de la forme juridique
18
- * @param fallback - Valeur par défaut si non trouvée
19
- * @returns Le nom de la forme juridique
20
- */
21
- export function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {
22
- return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
23
- }
24
-
25
- /**
26
- * Récupère la configuration des documents d'approbation pour une forme juridique donnée
27
- * @param idLegalForm - L'identifiant de la forme juridique
28
- * @returns La configuration des documents ou undefined si non trouvée
29
- */
30
- export function getApprovalDocumentsByLegalForm(
31
- idLegalForm: LegalFormTypeEnum,
32
- ): SocietyApprovalDocumentConfig | undefined {
33
- return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
34
- }
35
-
36
- /**
37
- * Récupère le nom du template pour un document spécifique et une forme juridique
38
- * @param idLegalForm - L'identifiant de la forme juridique
39
- * @param idDocumentType - Le type de document d'approbation
40
- * @returns Le nom du template ou undefined si non trouvé
41
- */
42
- //@deprecated use getApprovalDocumentInfos instead
43
- export function getApprovalDocumentTemplateName(
44
- idLegalForm: LegalFormTypeEnum,
45
- idDocumentType: SocietyApprovalDocumentType,
46
- ): string | undefined {
47
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
48
- const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
49
- return document?.templateName;
50
- }
51
-
52
- /**
53
- * Récupère le texte de la ville du greffe
54
- * @param idCityOfGreffe - L'identifiant de la ville du greffe
55
- * @returns Le texte de la ville ou une chaîne vide
56
- */
57
- function getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {
58
- if (!idCityOfGreffe) return '';
59
- return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
60
- }
61
-
62
- /**
63
- * Récupère le nom du template pour un document spécifique et une forme juridique
64
- * @param idLegalForm - L'identifiant de la forme juridique
65
- * @param idDocumentType - Le type de document d'approbation
66
- * @returns Le nom du template ou undefined si non trouvé
67
- */
68
- export function getApprovalDocumentInfos(
69
- idLegalForm: LegalFormTypeEnum,
70
- idDocumentType: SocietyApprovalDocumentType,
71
- ): SocietyApprovalDocumentTemplate | undefined {
72
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
73
- return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
74
- }
75
-
76
- /**
77
- * Construit les données formatées pour le template d'approbation
78
- * @param existingApproval - Les données d'approbation de la société
79
- * @param style - Le style HTML pour le document
80
- * @returns L'objet de données formaté pour le template
81
- */
82
- export function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {
83
- const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
84
- const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
85
- const brand = getBrand();
86
- return {
87
- // Variables globales
88
- style,
89
- yearInText,
90
- dayAndMonthInText,
91
- date: dayjs().locale('fr').format('DD MMMM YYYY'),
92
- companyInformation: {
93
- rcs: brand?.companyInformation?.rcs,
94
- nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
95
- city: brand?.companyInformation?.city,
96
- postalAddress: brand?.companyInformation?.postalAddress,
97
- montantCapital: brand?.companyInformation?.montantCapital,
98
- statut: brand?.companyInformation?.statut,
99
- ECOrderCity: brand?.companyInformation?.ECOrderCity,
100
- },
101
- owner: {
102
- identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
103
- quality: QualityList.find(
104
- (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,
105
- )?.label,
106
- },
107
- // Variables stockées en base
108
- ...existingApproval,
109
- generatingDatas: {
110
- ...existingApproval?.generatingDatas,
111
- ...(existingApproval?.generatingDatas?.approvalDate
112
- ? {
113
- approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
114
- .locale('fr')
115
- .format('DD MMMM YYYY')
116
- .toUpperCase(),
117
- }
118
- : {}),
119
- },
120
- exercice: {
121
- ...existingApproval?.exercice,
122
- society: {
123
- ...existingApproval?.exercice?.society,
124
- cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
125
- },
126
- endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
127
- },
128
- };
129
- }