@silexpert/core 1.3.194 → 1.3.195-1

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/User.d.ts +7 -1
  18. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/User.js +19 -0
  20. package/dist/cjs/api/resources/User.js.map +1 -1
  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/User.d.ts +7 -1
  172. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  173. package/dist/mjs/api/resources/User.js +19 -0
  174. package/dist/mjs/api/resources/User.js.map +1 -1
  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/User.ts +28 -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,66 +0,0 @@
1
- import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
2
- /**
3
- * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
4
- */
5
- export interface ILoginApprovalRequestEvent {
6
- /** ID unique de la demande */
7
- requestId: string;
8
- /** Date d'expiration */
9
- expiresAt: Date;
10
- /** ID de l'utilisateur */
11
- userId: number;
12
- /** Métadonnées (IP, navigateur, localisation) */
13
- metadata?: {
14
- ip?: string;
15
- userAgent?: string;
16
- location?: string;
17
- };
18
- }
19
- export interface IApproveOrDenyResponse {
20
- message: string;
21
- status: LoginApprovalStatus;
22
- }
23
- /**
24
- * Payload de l'événement socket envoyé au Web lors d'un changement de statut
25
- */
26
- export interface ILoginApprovalStatusEvent {
27
- /** ID de la demande */
28
- requestId: string;
29
- /** Nouveau statut */
30
- status: LoginApprovalStatus;
31
- /** Date de la transition */
32
- timestamp: Date;
33
- }
34
- /**
35
- * Réponse renvoyée au Web lorsque mobile MFA est requis
36
- */
37
- export interface ILoginApprovalResponse {
38
- /** Indique qu'une validation mobile est nécessaire */
39
- requiresMobileApproval: true;
40
- /** ID de la demande pour polling/tracking */
41
- requestId: string;
42
- /** Date d'expiration de la demande */
43
- expiresAt: Date;
44
- /** ID utilisateur */
45
- userId: number;
46
- }
47
- /**
48
- * Réponse du statut d'une demande d'approbation
49
- */
50
- export interface ILoginApprovalStatusResponse {
51
- /** ID de la demande */
52
- requestId: string;
53
- /** Statut actuel */
54
- status: LoginApprovalStatus;
55
- /** Date d'expiration */
56
- expiresAt: Date;
57
- /** Token JWT si status = approved */
58
- token?: string;
59
- }
60
- /**
61
- * DTO pour approuver/refuser une demande depuis le mobile
62
- */
63
- export declare class IApproveOrDenyRequest {
64
- deviceId: string;
65
- }
66
- //# sourceMappingURL=loginApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loginApproval.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAIxE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4BAA4B;IAC5B,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,sBAAsB,EAAE,IAAI,CAAC;IAC7B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAGhC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.IApproveOrDenyRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const __1 = require("../../../../");
15
- /**
16
- * DTO pour approuver/refuser une demande depuis le mobile
17
- */
18
- class IApproveOrDenyRequest {
19
- }
20
- exports.IApproveOrDenyRequest = IApproveOrDenyRequest;
21
- __decorate([
22
- (0, __1.ApiProperty)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], IApproveOrDenyRequest.prototype, "deviceId", void 0);
26
- //# sourceMappingURL=loginApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loginApproval.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAA2C;AAC3C,oCAA2C;AAiE3C;;GAEG;AACH,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AADC;IAFC,IAAA,eAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACM","sourcesContent":["import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';\nimport { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../';\n\n/**\n * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion\n */\nexport interface ILoginApprovalRequestEvent {\n /** ID unique de la demande */\n requestId: string;\n /** Date d'expiration */\n expiresAt: Date;\n /** ID de l'utilisateur */\n userId: number;\n /** Métadonnées (IP, navigateur, localisation) */\n metadata?: {\n ip?: string;\n userAgent?: string;\n location?: string;\n };\n}\n\nexport interface IApproveOrDenyResponse {\n message: string;\n status: LoginApprovalStatus;\n}\n\n/**\n * Payload de l'événement socket envoyé au Web lors d'un changement de statut\n */\nexport interface ILoginApprovalStatusEvent {\n /** ID de la demande */\n requestId: string;\n /** Nouveau statut */\n status: LoginApprovalStatus;\n /** Date de la transition */\n timestamp: Date;\n}\n\n/**\n * Réponse renvoyée au Web lorsque mobile MFA est requis\n */\nexport interface ILoginApprovalResponse {\n /** Indique qu'une validation mobile est nécessaire */\n requiresMobileApproval: true;\n /** ID de la demande pour polling/tracking */\n requestId: string;\n /** Date d'expiration de la demande */\n expiresAt: Date;\n /** ID utilisateur */\n userId: number;\n}\n\n/**\n * Réponse du statut d'une demande d'approbation\n */\nexport interface ILoginApprovalStatusResponse {\n /** ID de la demande */\n requestId: string;\n /** Statut actuel */\n status: LoginApprovalStatus;\n /** Date d'expiration */\n expiresAt: Date;\n /** Token JWT si status = approved */\n token?: string;\n}\n\n/**\n * DTO pour approuver/refuser une demande depuis le mobile\n */\nexport class IApproveOrDenyRequest {\n @ApiProperty()\n @IsString()\n deviceId: string;\n}\n"]}
@@ -1,5 +0,0 @@
1
- import { TFile } from '../file/TFile';
2
- export declare class BenchmarkFileUpload {
3
- file: TFile;
4
- }
5
- //# sourceMappingURL=Benchmark.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Benchmark.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankAccount/Benchmark.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,mBAAmB;IAE9B,IAAI,EAAE,KAAK,CAAC;CACb"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BenchmarkFileUpload = void 0;
13
- const utils_1 = require("../../../../utils");
14
- class BenchmarkFileUpload {
15
- }
16
- exports.BenchmarkFileUpload = BenchmarkFileUpload;
17
- __decorate([
18
- (0, utils_1.ApiProperty)({ type: 'string', format: 'binary', description: 'Fichier CSV contenant les transactions à comparer' }),
19
- __metadata("design:type", Object)
20
- ], BenchmarkFileUpload.prototype, "file", void 0);
21
- //# sourceMappingURL=Benchmark.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Benchmark.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankAccount/Benchmark.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAGhD,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AADC;IADC,IAAA,mBAAW,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,mDAAmD,EAAE,CAAC;;iDACxG","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class BenchmarkFileUpload {\n @ApiProperty({ type: 'string', format: 'binary', description: 'Fichier CSV contenant les transactions à comparer' })\n file: TFile;\n}\n"]}
@@ -1,7 +0,0 @@
1
- export declare class GetWebinarsParams {
2
- from?: string;
3
- to?: string;
4
- limit?: number;
5
- skip?: number;
6
- }
7
- //# sourceMappingURL=GetWebinarsParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,6CAAgD;AAEhD,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+CACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACC;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;+CACM","sourcesContent":["import { IsInt, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetWebinarsParams {\n @ApiProperty()\n @IsString()\n from?: string;\n\n @ApiProperty()\n @IsString()\n to?: string;\n\n @ApiProperty()\n @IsInt()\n limit?: number;\n\n @ApiProperty()\n @IsInt()\n skip?: number;\n}\n"]}
@@ -1,7 +0,0 @@
1
- import { WebexMeeting } from './WebexMeeting';
2
- export interface PaginatedWebinars {
3
- skip: number;
4
- limit: number;
5
- items: WebexMeeting[];
6
- }
7
- //# sourceMappingURL=PaginatedWebinars.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedWebinars.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/PaginatedWebinars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=PaginatedWebinars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedWebinars.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/PaginatedWebinars.ts"],"names":[],"mappings":"","sourcesContent":["import { WebexMeeting } from './WebexMeeting';\n\nexport interface PaginatedWebinars {\n skip: number;\n limit: number;\n items: WebexMeeting[];\n}\n"]}
@@ -1,22 +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
- }
22
- //# sourceMappingURL=WebexMeeting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexMeeting.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexMeeting.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexMeeting.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexMeeting.ts"],"names":[],"mappings":"","sourcesContent":["export interface WebexMeeting {\n id: string;\n meetingNumber: string;\n title: string;\n password?: string;\n phoneAndVideoSystemPassword?: string;\n meetingType: string;\n state: string;\n timezone: string;\n start: string;\n end: string;\n hostUserId: string;\n hostDisplayName: string;\n hostEmail: string;\n webLink: string;\n sipAddress?: string;\n dialInIpAddress?: string;\n enabledAutoRecordMeeting?: boolean;\n allowAnyUserToBeCoHost?: boolean;\n telephony?: any;\n}\n"]}
@@ -1,18 +0,0 @@
1
- export interface WebexRegistrant {
2
- registrantId?: string;
3
- id?: string;
4
- meetingId?: string;
5
- email: string;
6
- firstName: string;
7
- lastName: string;
8
- displayName?: string;
9
- company?: string;
10
- jobTitle?: string;
11
- }
12
- export declare class AddWebexRegistrantBody {
13
- email: string;
14
- firstName: string;
15
- lastName: string;
16
- workPhone?: string;
17
- }
18
- //# sourceMappingURL=WebexRegistrant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexRegistrant.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexRegistrant.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAIjC,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AddWebexRegistrantBody = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class AddWebexRegistrantBody {
16
- }
17
- exports.AddWebexRegistrantBody = AddWebexRegistrantBody;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsString)(),
21
- (0, class_validator_1.IsEmail)(),
22
- __metadata("design:type", String)
23
- ], AddWebexRegistrantBody.prototype, "email", void 0);
24
- __decorate([
25
- (0, utils_1.ApiProperty)(),
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], AddWebexRegistrantBody.prototype, "firstName", void 0);
29
- __decorate([
30
- (0, utils_1.ApiProperty)(),
31
- (0, class_validator_1.IsString)(),
32
- __metadata("design:type", String)
33
- ], AddWebexRegistrantBody.prototype, "lastName", void 0);
34
- __decorate([
35
- (0, utils_1.ApiProperty)(),
36
- (0, class_validator_1.IsString)(),
37
- (0, class_validator_1.IsOptional)(),
38
- __metadata("design:type", String)
39
- ], AddWebexRegistrantBody.prototype, "workPhone", void 0);
40
- //# sourceMappingURL=WebexRegistrant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexRegistrant.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexRegistrant.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,6CAAgD;AAchD,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAdC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,GAAE;;qDACI;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACM","sourcesContent":["import { IsEmail, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport interface WebexRegistrant {\n registrantId?: string;\n id?: string;\n meetingId?: string;\n email: string;\n firstName: string;\n lastName: string;\n displayName?: string;\n company?: string;\n jobTitle?: string;\n}\n\nexport class AddWebexRegistrantBody {\n @ApiProperty()\n @IsString()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsString()\n firstName: string;\n\n @ApiProperty()\n @IsString()\n lastName: string;\n\n @ApiProperty()\n @IsString()\n @IsOptional()\n workPhone?: string;\n}\n"]}
@@ -1,31 +0,0 @@
1
- import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
2
- /**
3
- * Interface représentant une demande d'approbation de connexion mobile
4
- */
5
- export interface ILoginApproval {
6
- /** Identifiant unique (UUID) */
7
- id: string;
8
- /** ID de l'utilisateur demandant la connexion */
9
- idUser: number;
10
- /** Statut actuel de la demande */
11
- status: LoginApprovalStatus;
12
- /** Date d'expiration de la demande (généralement 2-3 min après création) */
13
- expiresAt: Date;
14
- /** Date d'approbation (si status = approved) */
15
- approvedAt?: Date;
16
- /** Date de refus (si status = denied) */
17
- deniedAt?: Date;
18
- /** Device ID du mobile ayant approuvé/refusé */
19
- deviceIdUsed?: string;
20
- /** IP de la connexion Web à l'origine de la demande */
21
- ip?: string;
22
- /** User-Agent du navigateur Web */
23
- userAgent?: string;
24
- /** Métadonnées additionnelles (géoloc, risk score, etc.) */
25
- metadata?: Record<string, any>;
26
- /** Date de création */
27
- createdAt: Date;
28
- /** Date de mise à jour */
29
- updatedAt: Date;
30
- }
31
- //# sourceMappingURL=ILoginApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ILoginApproval.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4EAA4E;IAC5E,SAAS,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,uBAAuB;IACvB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ILoginApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ILoginApproval.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"","sourcesContent":["import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';\n\n/**\n * Interface représentant une demande d'approbation de connexion mobile\n */\nexport interface ILoginApproval {\n /** Identifiant unique (UUID) */\n id: string;\n /** ID de l'utilisateur demandant la connexion */\n idUser: number;\n /** Statut actuel de la demande */\n status: LoginApprovalStatus;\n /** Date d'expiration de la demande (généralement 2-3 min après création) */\n expiresAt: Date;\n /** Date d'approbation (si status = approved) */\n approvedAt?: Date;\n /** Date de refus (si status = denied) */\n deniedAt?: Date;\n /** Device ID du mobile ayant approuvé/refusé */\n deviceIdUsed?: string;\n /** IP de la connexion Web à l'origine de la demande */\n ip?: string;\n /** User-Agent du navigateur Web */\n userAgent?: string;\n /** Métadonnées additionnelles (géoloc, risk score, etc.) */\n metadata?: Record<string, any>;\n /** Date de création */\n createdAt: Date;\n /** Date de mise à jour */\n updatedAt: Date;\n}\n"]}
@@ -1,38 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,101 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLegalFormName = getLegalFormName;
4
- exports.getApprovalDocumentsByLegalForm = getApprovalDocumentsByLegalForm;
5
- exports.getApprovalDocumentTemplateName = getApprovalDocumentTemplateName;
6
- exports.getApprovalDocumentInfos = getApprovalDocumentInfos;
7
- exports.buildApprovalTemplateData = buildApprovalTemplateData;
8
- const LegalForm_1 = require("../types/Enum/LegalForm");
9
- const SocietyApproval_1 = require("../types/Enum/SocietyApproval");
10
- const Quality_1 = require("../types/Enum/Quality");
11
- const brands_1 = require("./brands");
12
- const amount_1 = require("./amount");
13
- const dayjs = require("dayjs");
14
- const CityOfGreffe_1 = require("../types/Enum/CityOfGreffe");
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
- function getLegalFormName(idLegalForm, fallback = '') {
22
- var _a, _b;
23
- return (_b = (_a = Object.values(LegalForm_1.LegalForm).find((lf) => lf.id === idLegalForm)) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : fallback;
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
- function getApprovalDocumentsByLegalForm(idLegalForm) {
31
- return SocietyApproval_1.SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
32
- }
33
- /**
34
- * Récupère le nom du template pour un document spécifique et une forme juridique
35
- * @param idLegalForm - L'identifiant de la forme juridique
36
- * @param idDocumentType - Le type de document d'approbation
37
- * @returns Le nom du template ou undefined si non trouvé
38
- */
39
- //@deprecated use getApprovalDocumentInfos instead
40
- function getApprovalDocumentTemplateName(idLegalForm, idDocumentType) {
41
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
42
- const document = config === null || config === void 0 ? void 0 : config.documents.find((doc) => doc.idDocumentType === idDocumentType);
43
- return document === null || document === void 0 ? void 0 : document.templateName;
44
- }
45
- /**
46
- * Récupère le texte de la ville du greffe
47
- * @param idCityOfGreffe - L'identifiant de la ville du greffe
48
- * @returns Le texte de la ville ou une chaîne vide
49
- */
50
- function getCityOfGreffeName(idCityOfGreffe) {
51
- var _a, _b;
52
- if (!idCityOfGreffe)
53
- return '';
54
- return (_b = (_a = CityOfGreffe_1.CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)) === null || _a === void 0 ? void 0 : _a.text) !== null && _b !== void 0 ? _b : '';
55
- }
56
- /**
57
- * Récupère le nom du template pour un document spécifique et une forme juridique
58
- * @param idLegalForm - L'identifiant de la forme juridique
59
- * @param idDocumentType - Le type de document d'approbation
60
- * @returns Le nom du template ou undefined si non trouvé
61
- */
62
- function getApprovalDocumentInfos(idLegalForm, idDocumentType) {
63
- const config = getApprovalDocumentsByLegalForm(idLegalForm);
64
- return config === null || config === void 0 ? void 0 : config.documents.find((doc) => doc.idDocumentType === idDocumentType);
65
- }
66
- /**
67
- * Construit les données formatées pour le template d'approbation
68
- * @param existingApproval - Les données d'approbation de la société
69
- * @param style - Le style HTML pour le document
70
- * @returns L'objet de données formaté pour le template
71
- */
72
- function buildApprovalTemplateData(existingApproval, style) {
73
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
74
- const yearInText = (0, amount_1.convertNumberToLetter)(+dayjs().format('YYYY')).toLowerCase();
75
- const dayAndMonthInText = `${(0, amount_1.convertNumberToLetter)(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
76
- const brand = (0, brands_1.getBrand)();
77
- return Object.assign(Object.assign({
78
- // Variables globales
79
- style,
80
- yearInText,
81
- dayAndMonthInText, date: dayjs().locale('fr').format('DD MMMM YYYY'), companyInformation: {
82
- rcs: (_a = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _a === void 0 ? void 0 : _a.rcs,
83
- nomRaisonSociale: (_b = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _b === void 0 ? void 0 : _b.nomRaisonSociale,
84
- city: (_c = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _c === void 0 ? void 0 : _c.city,
85
- postalAddress: (_d = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _d === void 0 ? void 0 : _d.postalAddress,
86
- montantCapital: (_e = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _e === void 0 ? void 0 : _e.montantCapital,
87
- statut: (_f = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _f === void 0 ? void 0 : _f.statut,
88
- ECOrderCity: (_g = brand === null || brand === void 0 ? void 0 : brand.companyInformation) === null || _g === void 0 ? void 0 : _g.ECOrderCity,
89
- }, owner: {
90
- identity: `${((_l = (_k = (_j = (_h = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _h === void 0 ? void 0 : _h.society) === null || _j === void 0 ? void 0 : _j.users) === null || _k === void 0 ? void 0 : _k[0]) === null || _l === void 0 ? void 0 : _l.idCivility) === 1 ? 'Monsieur' : 'Madame'} ${(_q = (_p = (_o = (_m = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _m === void 0 ? void 0 : _m.society) === null || _o === void 0 ? void 0 : _o.users) === null || _p === void 0 ? void 0 : _p[0]) === null || _q === void 0 ? void 0 : _q.firstname} ${(_u = (_t = (_s = (_r = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _r === void 0 ? void 0 : _r.society) === null || _s === void 0 ? void 0 : _s.users) === null || _t === void 0 ? void 0 : _t[0]) === null || _u === void 0 ? void 0 : _u.lastname} `,
91
- quality: (_v = Quality_1.QualityList.find((ql) => { var _a, _b, _c, _d, _e, _f; return ql.id === ((_f = (_e = (_d = (_c = (_b = (_a = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _a === void 0 ? void 0 : _a.society) === null || _b === void 0 ? void 0 : _b.users) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.businessPartners) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.idQuality); })) === null || _v === void 0 ? void 0 : _v.label,
92
- } }, existingApproval), { generatingDatas: Object.assign(Object.assign({}, existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.generatingDatas), (((_w = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.generatingDatas) === null || _w === void 0 ? void 0 : _w.approvalDate)
93
- ? {
94
- approvalDate: dayjs((_x = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.generatingDatas) === null || _x === void 0 ? void 0 : _x.approvalDate)
95
- .locale('fr')
96
- .format('DD MMMM YYYY')
97
- .toUpperCase(),
98
- }
99
- : {})), exercice: Object.assign(Object.assign({}, existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice), { society: Object.assign(Object.assign({}, (_y = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _y === void 0 ? void 0 : _y.society), { cityOfGreffe: getCityOfGreffeName((_0 = (_z = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _z === void 0 ? void 0 : _z.society) === null || _0 === void 0 ? void 0 : _0.idCityOfGreffe).toUpperCase() }), endDate: dayjs((_1 = existingApproval === null || existingApproval === void 0 ? void 0 : existingApproval.exercice) === null || _1 === void 0 ? void 0 : _1.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase() }) });
100
- }
101
- //# sourceMappingURL=societyApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"societyApproval.js","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"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","sourcesContent":["import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';\nimport {\n SocietyApprovalDocumentType,\n SocietyApprovalDocumentConfig,\n SocietyApprovalDocumentsByLegalForm,\n SocietyApprovalDocumentTemplate,\n} from '../types/Enum/SocietyApproval';\nimport { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';\nimport { QualityList } from '../types/Enum/Quality';\nimport { getBrand } from './brands';\nimport { convertNumberToLetter } from './amount';\nimport * as dayjs from 'dayjs';\nimport { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';\n\n/**\n * Récupère le nom de la forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param fallback - Valeur par défaut si non trouvée\n * @returns Le nom de la forme juridique\n */\nexport function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {\n return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;\n}\n\n/**\n * Récupère la configuration des documents d'approbation pour une forme juridique donnée\n * @param idLegalForm - L'identifiant de la forme juridique\n * @returns La configuration des documents ou undefined si non trouvée\n */\nexport function getApprovalDocumentsByLegalForm(\n idLegalForm: LegalFormTypeEnum,\n): SocietyApprovalDocumentConfig | undefined {\n return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\n//@deprecated use getApprovalDocumentInfos instead\nexport function getApprovalDocumentTemplateName(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): string | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n return document?.templateName;\n}\n\n/**\n * Récupère le texte de la ville du greffe\n * @param idCityOfGreffe - L'identifiant de la ville du greffe\n * @returns Le texte de la ville ou une chaîne vide\n */\nfunction getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {\n if (!idCityOfGreffe) return '';\n return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\nexport function getApprovalDocumentInfos(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): SocietyApprovalDocumentTemplate | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n}\n\n/**\n * Construit les données formatées pour le template d'approbation\n * @param existingApproval - Les données d'approbation de la société\n * @param style - Le style HTML pour le document\n * @returns L'objet de données formaté pour le template\n */\nexport function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {\n const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();\n const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;\n const brand = getBrand();\n return {\n // Variables globales\n style,\n yearInText,\n dayAndMonthInText,\n date: dayjs().locale('fr').format('DD MMMM YYYY'),\n companyInformation: {\n rcs: brand?.companyInformation?.rcs,\n nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,\n city: brand?.companyInformation?.city,\n postalAddress: brand?.companyInformation?.postalAddress,\n montantCapital: brand?.companyInformation?.montantCapital,\n statut: brand?.companyInformation?.statut,\n ECOrderCity: brand?.companyInformation?.ECOrderCity,\n },\n owner: {\n identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,\n quality: QualityList.find(\n (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,\n )?.label,\n },\n // Variables stockées en base\n ...existingApproval,\n generatingDatas: {\n ...existingApproval?.generatingDatas,\n ...(existingApproval?.generatingDatas?.approvalDate\n ? {\n approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)\n .locale('fr')\n .format('DD MMMM YYYY')\n .toUpperCase(),\n }\n : {}),\n },\n exercice: {\n ...existingApproval?.exercice,\n society: {\n ...existingApproval?.exercice?.society,\n cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),\n },\n endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),\n },\n };\n}\n"]}
@@ -1,18 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
3
- export declare class LoginApproval extends Resource {
4
- approve(requestId: string, deviceId: string): Promise<{
5
- message: string;
6
- status: string;
7
- }>;
8
- deny(requestId: string, deviceId: string): Promise<{
9
- message: string;
10
- status: string;
11
- }>;
12
- getStatus(requestId: string): Promise<ILoginApprovalStatusResponse>;
13
- cleanup(): Promise<{
14
- deleted: number;
15
- message: string;
16
- }>;
17
- }
18
- //# sourceMappingURL=LoginApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApproval.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAExG,qBAAa,aAAc,SAAQ,QAAQ;IACzC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAI1F,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvF,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAInE,OAAO,IAAI,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAGzD"}
@@ -1,16 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class LoginApproval extends Resource {
3
- approve(requestId, deviceId) {
4
- return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
5
- }
6
- deny(requestId, deviceId) {
7
- return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
8
- }
9
- getStatus(requestId) {
10
- return this.axios.$get(`/auth/approvals/${requestId}/status`);
11
- }
12
- cleanup() {
13
- return this.axios.$post('/auth/approvals/cleanup');
14
- }
15
- }
16
- //# sourceMappingURL=LoginApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApproval.js","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,OAAO,CAAC,SAAiB,EAAE,QAAgB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,IAAI,CAAC,SAAiB,EAAE,QAAgB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,SAAS,CAAC,SAAiB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,SAAS,SAAS,CAAC,CAAC;IAChE,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';\n\nexport class LoginApproval extends Resource {\n approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });\n }\n\n deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });\n }\n\n getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {\n return this.axios.$get(`/auth/approvals/${requestId}/status`);\n }\n\n cleanup(): Promise<{ deleted: number; message: string }> {\n return this.axios.$post('/auth/approvals/cleanup');\n }\n}\n"]}
@@ -1,47 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { ISocietyApproval, CreateDocument, ReadLibraryFile, ResetDocument, IDocumentSection, IApprovalGeneratingData } from '../../types';
3
- export declare class SocietyApproval extends Resource {
4
- /**
5
- * Get society approval data for a given exercice
6
- * @param idExercice - The exercice ID
7
- * @returns Society approval with all needed data
8
- */
9
- get(idExercice: number): Promise<ISocietyApproval>;
10
- /**
11
- * Get approval data needed for PDF generation
12
- * Retrieves all necessary information before generating a PDF document
13
- * @param idExercice - The exercice ID
14
- * @returns Approval data with template data for PDF generation
15
- */
16
- getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData>;
17
- /**
18
- * Create or update society approval
19
- * @param idExercice - The exercice ID
20
- * @param payload - The approval data
21
- * @returns Updated or created society approval
22
- */
23
- updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval>;
24
- /**
25
- * Generate approval PDF document
26
- * @param idExercice - The exercice ID
27
- * @param payload - The document type(s) to generate
28
- * @returns PDF file as blob
29
- */
30
- generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile>;
31
- /**
32
- * Reset document section by regenerating from original template
33
- * @param idExercice - The exercice ID
34
- * @param idDocumentSection - The documentSection ID to reset
35
- * @param payload - The document type for template selection
36
- * @returns Updated documentSection with new content from template
37
- */
38
- resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection>;
39
- /**
40
- * Regenerate PDF document from existing documentSection HTML content
41
- * @param idExercice - The exercice ID
42
- * @param idDocumentSection - The documentSection ID containing HTML content
43
- * @returns PDF file as buffer for download
44
- */
45
- regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer>;
46
- }
47
- //# sourceMappingURL=SocietyApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocietyApproval.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/SocietyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C;;;;OAIG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIlD;;;;;OAKG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAIvE;;;;;OAKG;IACH,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIxF;;;;;OAKG;IACH,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAIlF;;;;;;OAMG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI/G;;;;;OAKG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAO9E"}