@silexpert/core 1.3.157 → 1.3.158-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 (300) hide show
  1. package/dist/cjs/api/resources/ExercicePrestation.d.ts +6 -0
  2. package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/ExercicePrestation.js +8 -0
  4. package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +19 -0
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/Mfa.js +27 -0
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -0
  9. package/dist/cjs/api/resources/Report.d.ts +1 -0
  10. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Report.js +3 -0
  12. package/dist/cjs/api/resources/Report.js.map +1 -1
  13. package/dist/cjs/api/resources/ReportHistory.d.ts +13 -0
  14. package/dist/cjs/api/resources/ReportHistory.d.ts.map +1 -0
  15. package/dist/cjs/api/resources/ReportHistory.js +18 -0
  16. package/dist/cjs/api/resources/ReportHistory.js.map +1 -0
  17. package/dist/cjs/api/resources.d.ts +4 -0
  18. package/dist/cjs/api/resources.d.ts.map +1 -1
  19. package/dist/cjs/api/resources.js +4 -0
  20. package/dist/cjs/api/resources.js.map +1 -1
  21. package/dist/cjs/types/Enum/Card.d.ts +7 -1
  22. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  23. package/dist/cjs/types/Enum/Card.js +7 -0
  24. package/dist/cjs/types/Enum/Card.js.map +1 -1
  25. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  26. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  27. package/dist/cjs/types/Enum/Proceding.d.ts +8 -0
  28. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/Proceding.js +10 -2
  30. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  31. package/dist/cjs/types/Enum/ReportSource.d.ts +12 -0
  32. package/dist/cjs/types/Enum/ReportSource.d.ts.map +1 -0
  33. package/dist/cjs/types/Enum/ReportSource.js +24 -0
  34. package/dist/cjs/types/Enum/ReportSource.js.map +1 -0
  35. package/dist/cjs/types/Enum/Revenue.d.ts +6 -0
  36. package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
  37. package/dist/cjs/types/Enum/Revenue.js +9 -0
  38. package/dist/cjs/types/Enum/Revenue.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  40. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  41. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
  42. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  43. package/dist/cjs/types/Interface/api/card/Query.d.ts +3 -0
  44. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/card/Query.js +10 -1
  46. package/dist/cjs/types/Interface/api/card/Query.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  48. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  49. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
  50. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  51. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  52. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  53. package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
  54. package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  55. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  56. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  57. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
  58. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  59. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  60. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  61. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
  62. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  63. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  64. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  65. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
  66. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  67. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  68. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  69. package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
  70. package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
  71. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -1
  72. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/report/CreateReport.js +2 -2
  74. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  75. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  76. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/report/ExternalReport.js +5 -5
  78. package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -1
  80. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/report/QueryReports.js +1 -1
  82. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  84. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +4 -3
  86. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +0 -1
  88. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  90. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts +4 -0
  91. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts.map +1 -0
  92. package/dist/cjs/types/Interface/api/reportHistory/Query.js +23 -0
  93. package/dist/cjs/types/Interface/api/reportHistory/Query.js.map +1 -0
  94. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +37 -0
  95. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  96. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  98. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  99. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +23 -1
  100. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  101. package/dist/cjs/types/Interface/models/IReport.d.ts +7 -1
  102. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  104. package/dist/cjs/types/Interface/models/IReportHistory.d.ts +19 -0
  105. package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +1 -0
  106. package/dist/cjs/types/Interface/models/IReportHistory.js +3 -0
  107. package/dist/cjs/types/Interface/models/IReportHistory.js.map +1 -0
  108. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  109. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  110. package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  111. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  112. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  114. package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
  115. package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  116. package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
  117. package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
  118. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  119. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  120. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
  121. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  122. package/dist/cjs/types/index.d.ts +4 -0
  123. package/dist/cjs/types/index.d.ts.map +1 -1
  124. package/dist/cjs/types/index.js +4 -0
  125. package/dist/cjs/types/index.js.map +1 -1
  126. package/dist/cjs/utils/checkup.d.ts +20 -0
  127. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  128. package/dist/cjs/utils/checkup.js +20 -17
  129. package/dist/cjs/utils/checkup.js.map +1 -1
  130. package/dist/cjs/utils/documents.d.ts.map +1 -1
  131. package/dist/cjs/utils/documents.js +6 -0
  132. package/dist/cjs/utils/documents.js.map +1 -1
  133. package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
  134. package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  135. package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
  136. package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
  137. package/dist/mjs/api/resources/Mfa.d.ts +19 -0
  138. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
  139. package/dist/mjs/api/resources/Mfa.js +23 -0
  140. package/dist/mjs/api/resources/Mfa.js.map +1 -0
  141. package/dist/mjs/api/resources/Report.d.ts +1 -0
  142. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  143. package/dist/mjs/api/resources/Report.js +5 -0
  144. package/dist/mjs/api/resources/Report.js.map +1 -1
  145. package/dist/mjs/api/resources/ReportHistory.d.ts +13 -0
  146. package/dist/mjs/api/resources/ReportHistory.d.ts.map +1 -0
  147. package/dist/mjs/api/resources/ReportHistory.js +17 -0
  148. package/dist/mjs/api/resources/ReportHistory.js.map +1 -0
  149. package/dist/mjs/api/resources.d.ts +4 -0
  150. package/dist/mjs/api/resources.d.ts.map +1 -1
  151. package/dist/mjs/api/resources.js +4 -0
  152. package/dist/mjs/api/resources.js.map +1 -1
  153. package/dist/mjs/types/Enum/Card.d.ts +7 -1
  154. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  155. package/dist/mjs/types/Enum/Card.js +7 -0
  156. package/dist/mjs/types/Enum/Card.js.map +1 -1
  157. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  158. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  159. package/dist/mjs/types/Enum/Proceding.d.ts +8 -0
  160. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  161. package/dist/mjs/types/Enum/Proceding.js +10 -2
  162. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  163. package/dist/mjs/types/Enum/ReportSource.d.ts +12 -0
  164. package/dist/mjs/types/Enum/ReportSource.d.ts.map +1 -0
  165. package/dist/mjs/types/Enum/ReportSource.js +21 -0
  166. package/dist/mjs/types/Enum/ReportSource.js.map +1 -0
  167. package/dist/mjs/types/Enum/Revenue.d.ts +6 -0
  168. package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
  169. package/dist/mjs/types/Enum/Revenue.js +8 -0
  170. package/dist/mjs/types/Enum/Revenue.js.map +1 -1
  171. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  172. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  173. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
  174. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  175. package/dist/mjs/types/Interface/api/card/Query.d.ts +3 -0
  176. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -1
  177. package/dist/mjs/types/Interface/api/card/Query.js +10 -2
  178. package/dist/mjs/types/Interface/api/card/Query.js.map +1 -1
  179. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  180. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  181. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
  182. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  183. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  184. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  185. package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
  186. package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  187. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  188. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  189. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
  190. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  191. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  192. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  193. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
  194. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  195. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  196. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  197. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
  198. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  199. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  200. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  201. package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
  202. package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
  203. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -1
  204. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  205. package/dist/mjs/types/Interface/api/report/CreateReport.js +2 -2
  206. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  207. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  208. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  209. package/dist/mjs/types/Interface/api/report/ExternalReport.js +7 -5
  210. package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  211. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -1
  212. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  213. package/dist/mjs/types/Interface/api/report/QueryReports.js +1 -1
  214. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  215. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  216. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  217. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +5 -3
  218. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  219. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +0 -1
  220. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  221. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  222. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts +4 -0
  223. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts.map +1 -0
  224. package/dist/mjs/types/Interface/api/reportHistory/Query.js +20 -0
  225. package/dist/mjs/types/Interface/api/reportHistory/Query.js.map +1 -0
  226. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +37 -0
  227. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  228. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  229. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  230. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  231. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +23 -0
  232. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  233. package/dist/mjs/types/Interface/models/IReport.d.ts +7 -1
  234. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  235. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  236. package/dist/mjs/types/Interface/models/IReportHistory.d.ts +19 -0
  237. package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +1 -0
  238. package/dist/mjs/types/Interface/models/IReportHistory.js +2 -0
  239. package/dist/mjs/types/Interface/models/IReportHistory.js.map +1 -0
  240. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  241. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  242. package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  243. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  244. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  245. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  246. package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
  247. package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  248. package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
  249. package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
  250. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  251. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  252. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
  253. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  254. package/dist/mjs/types/index.d.ts +4 -0
  255. package/dist/mjs/types/index.d.ts.map +1 -1
  256. package/dist/mjs/types/index.js +4 -0
  257. package/dist/mjs/types/index.js.map +1 -1
  258. package/dist/mjs/utils/checkup.d.ts +20 -0
  259. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  260. package/dist/mjs/utils/checkup.js +20 -17
  261. package/dist/mjs/utils/checkup.js.map +1 -1
  262. package/dist/mjs/utils/documents.d.ts.map +1 -1
  263. package/dist/mjs/utils/documents.js +6 -0
  264. package/dist/mjs/utils/documents.js.map +1 -1
  265. package/package.json +1 -1
  266. package/ts/api/resources/ExercicePrestation.ts +9 -0
  267. package/ts/api/resources/Mfa.ts +29 -0
  268. package/ts/api/resources/Report.ts +5 -0
  269. package/ts/api/resources/ReportHistory.ts +18 -0
  270. package/ts/api/resources.ts +4 -0
  271. package/ts/types/Enum/Card.ts +7 -0
  272. package/ts/types/Enum/PrestationType.ts +16 -16
  273. package/ts/types/Enum/Proceding.ts +10 -2
  274. package/ts/types/Enum/ReportSource.ts +25 -0
  275. package/ts/types/Enum/Revenue.ts +18 -9
  276. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
  277. package/ts/types/Interface/api/card/Query.ts +9 -2
  278. package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
  279. package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
  280. package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
  281. package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
  282. package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
  283. package/ts/types/Interface/api/mfa/mfa.ts +21 -0
  284. package/ts/types/Interface/api/report/CreateReport.ts +2 -2
  285. package/ts/types/Interface/api/report/ExternalReport.ts +4 -4
  286. package/ts/types/Interface/api/report/QueryReports.ts +1 -1
  287. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  288. package/ts/types/Interface/api/report/UpdateReport.ts +0 -1
  289. package/ts/types/Interface/api/reportHistory/Query.ts +8 -0
  290. package/ts/types/Interface/api/revenueMovement.ts +39 -0
  291. package/ts/types/Interface/api/revenueSnapshotGenerate.ts +19 -0
  292. package/ts/types/Interface/models/IReport.ts +7 -1
  293. package/ts/types/Interface/models/IReportHistory.ts +22 -0
  294. package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
  295. package/ts/types/Interface/models/IUser.ts +1 -0
  296. package/ts/types/Interface/models/IUserMfa.ts +11 -0
  297. package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
  298. package/ts/types/index.ts +4 -0
  299. package/ts/utils/checkup.ts +20 -17
  300. package/ts/utils/documents.ts +7 -0
@@ -1175,7 +1175,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1175
1175
  },
1176
1176
  CESSION_ACTIONS: {
1177
1177
  id: 51,
1178
- name: 'Cession d\'actions',
1178
+ name: "Cession d'actions",
1179
1179
  isComptable: false,
1180
1180
  isJuridique: true,
1181
1181
  isSocial: false,
@@ -1232,7 +1232,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1232
1232
  },
1233
1233
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1234
1234
  id: 54,
1235
- name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1235
+ name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1236
1236
  isComptable: false,
1237
1237
  isJuridique: true,
1238
1238
  isSocial: false,
@@ -1384,7 +1384,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1384
1384
  },
1385
1385
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1386
1386
  id: 62,
1387
- name: 'Modification de l\'objet social (EURL/SASU)',
1387
+ name: "Modification de l'objet social (EURL/SASU)",
1388
1388
  isComptable: false,
1389
1389
  isJuridique: true,
1390
1390
  isSocial: false,
@@ -1726,7 +1726,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1726
1726
  },
1727
1727
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1728
1728
  id: 80,
1729
- name: 'Création d\'un dossier informatique par salarié',
1729
+ name: "Création d'un dossier informatique par salarié",
1730
1730
  isComptable: false,
1731
1731
  isJuridique: false,
1732
1732
  isSocial: true,
@@ -1745,7 +1745,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1745
1745
  },
1746
1746
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1747
1747
  id: 81,
1748
- name: 'Etablissement d\'un contrat de travail',
1748
+ name: "Etablissement d'un contrat de travail",
1749
1749
  isComptable: false,
1750
1750
  isJuridique: false,
1751
1751
  isSocial: true,
@@ -1802,7 +1802,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1802
1802
  },
1803
1803
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1804
1804
  id: 84,
1805
- name: 'Taxe d\'apprentissage et formation continue',
1805
+ name: "Taxe d'apprentissage et formation continue",
1806
1806
  isComptable: false,
1807
1807
  isJuridique: false,
1808
1808
  isSocial: true,
@@ -2031,7 +2031,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2031
2031
  },
2032
2032
  ATTESTATION_CA: {
2033
2033
  id: 97,
2034
- name: 'Attestation de chiffre d\'affaires',
2034
+ name: "Attestation de chiffre d'affaires",
2035
2035
  isComptable: true,
2036
2036
  isJuridique: false,
2037
2037
  isSocial: false,
@@ -2069,7 +2069,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2069
2069
  },
2070
2070
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2071
2071
  id: 99,
2072
- name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2072
+ name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2073
2073
  isComptable: false,
2074
2074
  isJuridique: true,
2075
2075
  isSocial: false,
@@ -2107,7 +2107,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2107
2107
  },
2108
2108
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2109
2109
  id: 103,
2110
- name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2110
+ name: "Modification de l'objet social (SARL/SAS/SCI)",
2111
2111
  isComptable: false,
2112
2112
  isJuridique: true,
2113
2113
  isSocial: false,
@@ -2164,7 +2164,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2164
2164
  },
2165
2165
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2166
2166
  id: 106,
2167
- name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2167
+ name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2168
2168
  isComptable: false,
2169
2169
  isJuridique: true,
2170
2170
  isSocial: false,
@@ -2734,7 +2734,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2734
2734
  },
2735
2735
  CONTRAT_APPORT_EN_NATURE: {
2736
2736
  id: 138,
2737
- name: 'Contrat d\'apport en nature',
2737
+ name: "Contrat d'apport en nature",
2738
2738
  isComptable: false,
2739
2739
  isJuridique: true,
2740
2740
  isSocial: false,
@@ -3323,7 +3323,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3323
3323
  },
3324
3324
  DECLARATION_IR: {
3325
3325
  id: 206,
3326
- name: 'Déclaration d\'IR',
3326
+ name: "Déclaration d'IR",
3327
3327
  isComptable: true,
3328
3328
  isJuridique: false,
3329
3329
  isSocial: false,
@@ -3437,7 +3437,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3437
3437
  },
3438
3438
  STATUTS_FREE: {
3439
3439
  id: PrestationType.STATUTS_FREE,
3440
- name: 'Statuts - Just\' Statuts',
3440
+ name: "Statuts - Just' Statuts",
3441
3441
  isComptable: true,
3442
3442
  isJuridique: true,
3443
3443
  isSocial: false,
@@ -3456,7 +3456,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3456
3456
  },
3457
3457
  STATUTS_OPTION_1: {
3458
3458
  id: PrestationType.STATUTS_OPTION_1,
3459
- name: 'Statuts - Just\' Création',
3459
+ name: "Statuts - Just' Création",
3460
3460
  isComptable: true,
3461
3461
  isJuridique: true,
3462
3462
  isSocial: false,
@@ -3475,7 +3475,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3475
3475
  },
3476
3476
  STATUTS_OPTION_2: {
3477
3477
  id: PrestationType.STATUTS_OPTION_2,
3478
- name: 'Statuts - Full\'Créa',
3478
+ name: "Statuts - Full'Créa",
3479
3479
  isComptable: true,
3480
3480
  isJuridique: true,
3481
3481
  isSocial: false,
@@ -3673,7 +3673,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3673
3673
  inAverageCart: false,
3674
3674
  isBack: false,
3675
3675
  minimumPrice: null,
3676
- price: 50,
3676
+ price: 80,
3677
3677
  isCatalog: true,
3678
3678
  isPlannable: false,
3679
3679
  hidden: false,
@@ -17,7 +17,7 @@ export const Proceding = {
17
17
  },
18
18
  CONTINUATION_OF_THE_ACTIVITY: {
19
19
  id: 5,
20
- name: 'Poursuite de l\'activité',
20
+ name: "Poursuite de l'activité",
21
21
  },
22
22
  DISSOLUTION: {
23
23
  id: 6,
@@ -41,6 +41,14 @@ export const Proceding = {
41
41
  },
42
42
  ENTRY_ORDER: {
43
43
  id: 11,
44
- name: 'Saisie de l\'ordre',
44
+ name: "Saisie de l'ordre",
45
+ },
46
+ DELISTING: {
47
+ id: 12,
48
+ name: 'Radiation',
49
+ },
50
+ AUTOMATIC_DELISTING: {
51
+ id: 13,
52
+ name: "Radiation d'office",
45
53
  },
46
54
  };
@@ -0,0 +1,25 @@
1
+ export enum ReportSource {
2
+ LETTER = 1,
3
+ MAIL = 2,
4
+ INTERNAL = 3,
5
+ }
6
+
7
+ interface ReportSourceInterface {
8
+ id: ReportSource;
9
+ name: string;
10
+ }
11
+
12
+ export const ReportSourceDetails: ReportSourceInterface[] = [
13
+ {
14
+ id: ReportSource.LETTER,
15
+ name: 'Courrier',
16
+ },
17
+ {
18
+ id: ReportSource.MAIL,
19
+ name: 'Mail',
20
+ },
21
+ {
22
+ id: ReportSource.INTERNAL,
23
+ name: 'Interne',
24
+ },
25
+ ];
@@ -4,39 +4,48 @@
4
4
  export enum RevenueMovementType {
5
5
  /** Nouveau booking (nouvelle prestation souscrite) */
6
6
  BOOKING = 1,
7
-
7
+
8
8
  /** Churn (résiliation client) */
9
9
  CHURN = 2,
10
-
10
+
11
11
  /** Provision (revenu différé) */
12
12
  PROVISION = 3,
13
-
13
+
14
14
  /** Reconnaissance de revenu */
15
15
  RECOGNITION = 4,
16
-
16
+
17
17
  /** Upgrade (augmentation de prestation) */
18
18
  UPGRADE = 5,
19
-
19
+
20
20
  /** Downgrade (réduction de prestation) */
21
21
  DOWNGRADE = 6,
22
-
22
+
23
23
  /** Reactivation (client qui revient) */
24
24
  REACTIVATION = 7,
25
25
  }
26
26
 
27
+ /**
28
+ * Récupère le nom de l'enum à partir de sa valeur
29
+ * @param type - La valeur numérique du type de mouvement
30
+ * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
31
+ */
32
+ export function getRevenueMovementTypeName(type: RevenueMovementType | number): string {
33
+ return RevenueMovementType[type] || 'UNKNOWN';
34
+ }
35
+
27
36
  /**
28
37
  * Type de périodicité pour les prestations
29
38
  */
30
39
  export enum PrestationPeriodicity {
31
40
  /** Mensuel */
32
41
  MONTHLY = 1,
33
-
42
+
34
43
  /** Trimestriel */
35
44
  QUARTERLY = 2,
36
-
45
+
37
46
  /** Annuel */
38
47
  YEARLY = 3,
39
-
48
+
40
49
  /** Paiement unique (non récurrent) */
41
50
  ONE_TIME = 4,
42
51
  }
@@ -0,0 +1,6 @@
1
+ export interface IAuthenticationResponse {
2
+ requiresMfa?: boolean;
3
+ userId?: number;
4
+ message?: string;
5
+ token?: string;
6
+ }
@@ -1,5 +1,5 @@
1
- import { IsDate, IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
1
+ import { IsDate, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
 
4
4
  export class QueryInternalCardsStats {
5
5
  @ApiProperty()
@@ -10,3 +10,10 @@ export class QueryInternalCardsStats {
10
10
  @IsDate()
11
11
  date: Date;
12
12
  }
13
+
14
+ export class QueryCronCards {
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsInt()
18
+ declare idSociety?: number;
19
+ }
@@ -0,0 +1,7 @@
1
+ import { IsInt, IsNotEmpty } from 'class-validator';
2
+
3
+ export class MfaDisable {
4
+ @IsNotEmpty()
5
+ @IsInt()
6
+ userId: number;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { IsEmail, IsInt, IsNotEmpty, IsString } from 'class-validator';
2
+
3
+ export class MfaSetupInit {
4
+ @IsNotEmpty()
5
+ @IsInt()
6
+ userId: number;
7
+
8
+ @IsEmail()
9
+ @IsString()
10
+ userEmail: string;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { IsInt, IsNotEmpty, IsString } from 'class-validator';
2
+
3
+ export class MfaSetupVerify {
4
+ @IsNotEmpty()
5
+ @IsInt()
6
+ userId: number;
7
+
8
+ @IsNotEmpty()
9
+ @IsString()
10
+ code: string;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { IsInt, IsNotEmpty, IsString, Length } from 'class-validator';
2
+
3
+ export class MfaVerifyCode {
4
+ @IsNotEmpty()
5
+ @IsInt()
6
+ userId: number;
7
+
8
+ @IsString()
9
+ @Length(6, 6)
10
+ code: string;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { IsInt, IsNotEmpty, IsString } from 'class-validator';
2
+
3
+ export class MfaVerifyRecoveryCode {
4
+ @IsNotEmpty()
5
+ @IsInt()
6
+ userId: number;
7
+
8
+ @IsString()
9
+ @IsNotEmpty()
10
+ recoveryCode: string;
11
+ }
@@ -0,0 +1,21 @@
1
+ export interface MfaSetupInitResult {
2
+ otpauthUri: string;
3
+ tempSecret: string;
4
+ label: string;
5
+ }
6
+
7
+ export interface MfaSetupVerifyResult {
8
+ success: boolean;
9
+ recoveryCodes: string[];
10
+ }
11
+
12
+ export interface MfaAuthenticationResponse {
13
+ requiresMfa: boolean;
14
+ userId?: number;
15
+ token?: string;
16
+ }
17
+
18
+ export interface MfaVerificationResponse {
19
+ success: boolean;
20
+ token?: string;
21
+ }
@@ -6,8 +6,8 @@ import { TFile } from '../file/TFile';
6
6
  export class CreateReport implements IReport {
7
7
  @ApiPropertyOptional()
8
8
  @IsOptional()
9
- @IsInt()
10
- idReportType?: number;
9
+ @IsInt({ each: true })
10
+ idReportType?: number[];
11
11
 
12
12
  @ApiPropertyOptional()
13
13
  @IsOptional()
@@ -1,7 +1,7 @@
1
1
  import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { IssueTypeEnum } from '../../../Enum/IssueType';
4
- import { ReportTypeEnum } from '../../../Enum/ReportType';
4
+ //import { ReportTypeEnum } from '../../../Enum/ReportType';
5
5
  import { TFile } from '../file/TFile';
6
6
 
7
7
  export class CreateExternalReport {
@@ -13,9 +13,9 @@ export class CreateExternalReport {
13
13
 
14
14
  @ApiPropertyOptional()
15
15
  @IsOptional()
16
- @IsInt()
17
- @IsEnum(ReportTypeEnum)
18
- idReportType?: number;
16
+ //@IsInt({ each: true })
17
+ //@IsEnum(ReportTypeEnum)
18
+ idReportType?: number[];
19
19
 
20
20
  @ApiProperty()
21
21
  @IsNumber()
@@ -4,7 +4,7 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
5
5
  export class QueryReports {
6
6
  @ApiPropertyOptional()
7
- idReportType?: number;
7
+ idReportType?: number[];
8
8
 
9
9
  @ApiPropertyOptional()
10
10
  idSociety?: number;
@@ -3,8 +3,8 @@ import { ApiProperty } from '../../../../utils';
3
3
 
4
4
  export class QueryReportsForLetter {
5
5
  @ApiProperty()
6
- @IsInt()
7
- idReportType: number;
6
+ //@IsInt({ each: true })
7
+ idReportType: number[];
8
8
 
9
9
  @ApiProperty()
10
10
  @IsInt()
@@ -1,7 +1,6 @@
1
1
  import { IReport, IUser } from '../../..';
2
2
 
3
3
  export interface UpdateReport extends IReport {
4
- idUser: number;
5
4
  comment?: string;
6
5
  note?: string;
7
6
  declareSoupcons?: boolean;
@@ -0,0 +1,8 @@
1
+ import { IsInt } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class QueryAllReportHistory {
5
+ @ApiProperty()
6
+ @IsInt()
7
+ idReport: number;
8
+ }
@@ -9,6 +9,7 @@ export interface ICreateRevenueMovementRequest {
9
9
  idExercice?: number;
10
10
  idPrestation?: number;
11
11
  idTerminationList?: number;
12
+ idChurnMovement?: number;
12
13
  amount: number;
13
14
  mrr: number;
14
15
  arr: number;
@@ -23,6 +24,7 @@ export interface ICreateRevenueMovementRequest {
23
24
  export interface IUpdateRevenueMovementRequest {
24
25
  type?: RevenueMovementType;
25
26
  idTerminationList?: number;
27
+ idChurnMovement?: number;
26
28
  amount?: number;
27
29
  mrr?: number;
28
30
  arr?: number;
@@ -39,6 +41,7 @@ export interface IGetRevenueMovementsRequest {
39
41
  idExercice?: number;
40
42
  idPrestation?: number;
41
43
  idTerminationList?: number;
44
+ idChurnMovement?: number;
42
45
  type?: RevenueMovementType[];
43
46
  startDate?: Date | string;
44
47
  endDate?: Date | string;
@@ -72,3 +75,39 @@ export interface IGenerateSnapshotRequest {
72
75
  export interface IGenerateAllSnapshotsRequest {
73
76
  date?: string;
74
77
  }
78
+
79
+ /**
80
+ * DTO pour gérer la rétroactivité des mouvements de revenu
81
+ */
82
+ export interface IManageRetroactivityRequest {
83
+ idSociety: number;
84
+ idExercice?: number;
85
+ }
86
+
87
+ /**
88
+ * Réponse pour la gestion de la rétroactivité
89
+ */
90
+ export interface IManageRetroactivityResponse {
91
+ idSociety: number;
92
+ idExercice: number;
93
+ exerciceStartDate: Date;
94
+ exerciceEndDate: Date;
95
+ movementsCreated: {
96
+ bookings: number;
97
+ churns: number;
98
+ recognitions: number;
99
+ provisions: number;
100
+ mothballingBookings: number;
101
+ };
102
+ prestationsProcessed: number;
103
+ monthsProcessed: number;
104
+ details: {
105
+ type: string;
106
+ idPrestation?: number;
107
+ prestationName?: string;
108
+ date: Date;
109
+ amount: number;
110
+ mrr: number;
111
+ arr: number;
112
+ }[];
113
+ }
@@ -40,3 +40,22 @@ export class GenerateAllSnapshots {
40
40
  @IsString()
41
41
  date?: string;
42
42
  }
43
+
44
+ export class ManageRetroactivity {
45
+ @ApiProperty({
46
+ required: true,
47
+ description: 'ID de la société',
48
+ example: 60170,
49
+ })
50
+ @IsNumber()
51
+ idSociety: number;
52
+
53
+ @ApiProperty({
54
+ required: false,
55
+ description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
56
+ example: 123456,
57
+ })
58
+ @IsOptional()
59
+ @IsNumber()
60
+ idExercice?: number;
61
+ }
@@ -4,15 +4,19 @@ import { IComment } from './IComment';
4
4
  import { ICustomerAcceptance } from './ICustomerAcceptance';
5
5
  import { IFile } from './IFile';
6
6
  import { ILetter } from './ILetter';
7
+ import { IReportHistory } from './IReportHistory';
7
8
  import { IReportMessage } from './IReportMessage';
8
9
  import { ISociety } from './ISociety';
10
+ import { IUser } from './IUser';
9
11
 
10
12
  // report
11
13
  export interface IReport {
12
14
  id?: number;
13
15
  idSociety?: number | null;
14
- idReportType?: ReportTypeEnum | null;
16
+ idSource?: number | null;
17
+ idReportType?: ReportTypeEnum[] | null;
15
18
  idCalendarEvent?: number;
19
+ idUserConcerned?: number | null;
16
20
  idServiceConcerned?: number | null;
17
21
  idService?: number | null;
18
22
  idFile?: number | null;
@@ -34,8 +38,10 @@ export interface IReport {
34
38
  society?: ISociety;
35
39
  file?: IFile;
36
40
  calendarEvent?: ICalendarEvent;
41
+ userConcerned?: IUser;
37
42
  comments?: IComment[];
38
43
  messages?: IReportMessage[];
39
44
  customerAcceptance?: ICustomerAcceptance;
40
45
  letter?: ILetter;
46
+ history?: IReportHistory[];
41
47
  }
@@ -0,0 +1,22 @@
1
+ import { ReportTypeEnum } from '../../Enum/ReportType';
2
+ import { IReport } from './IReport';
3
+ import { IUser } from './IUser';
4
+
5
+ // reportHistory
6
+ export interface IReportHistory {
7
+ id?: number;
8
+ idSource?: number | null;
9
+ idReportType?: ReportTypeEnum[] | null;
10
+ state?: number | null;
11
+ idUserConcerned?: number | null;
12
+ idServiceConcerned?: number | null;
13
+ idReport?: number;
14
+ idUser?: number | null;
15
+ createdAt?: Date | null;
16
+ updatedAt?: Date | null;
17
+
18
+ // Associations
19
+ userConcerned?: IUser;
20
+ report?: IReport;
21
+ user?: IUser;
22
+ }
@@ -19,9 +19,12 @@ export interface IRevenueMovement {
19
19
  /** ID de la prestation concernée (optionnel) */
20
20
  idPrestation?: number | null;
21
21
 
22
- /** ID de la résiliation qui a annulé ce mouvement (pour traçabilité) */
22
+ /** ID de la résiliation qui a créé un CHURN pour ce mouvement (traçabilité métier) */
23
23
  idTerminationList?: number | null;
24
24
 
25
+ /** ID du mouvement CHURN qui a annulé ce mouvement (traçabilité technique - lien direct au CHURN) */
26
+ idChurnMovement?: number | null;
27
+
25
28
  /** Montant du mouvement (en centimes) */
26
29
  amount: number;
27
30
 
@@ -51,6 +51,7 @@ export interface IUser {
51
51
  textMessageNumber?: string | null;
52
52
  prefix?: string | null;
53
53
  tokenLostPassword?: string | null;
54
+ twoFactorEnabled?: boolean | null;
54
55
  tokenApi?: string | null;
55
56
  tokenNotification?: string | null;
56
57
  tokenSocket?: string | null;
@@ -0,0 +1,11 @@
1
+ export interface IUserMfa {
2
+ idUserMfa: number;
3
+ idUser: number;
4
+ method: 'totp' | 'sms' | 'email';
5
+ secretEnc: string;
6
+ tempSecretEnc: string;
7
+ verifiedAt: Date;
8
+ isPrimary: boolean;
9
+ createdAt?: Date;
10
+ updatedAt?: Date;
11
+ }
@@ -0,0 +1,8 @@
1
+ export interface IUserMfaRecoveryCode {
2
+ id: number;
3
+ idUserMfa: number;
4
+ recoveryCodeEnc: string; // haché, jamais en clair
5
+ usedAt: Date | null; // nullable
6
+ createdAt?: Date;
7
+ updatedAt?: Date;
8
+ }
package/ts/types/index.ts CHANGED
@@ -146,6 +146,7 @@ export * from './Interface/models/IRegisterCategory';
146
146
  export * from './Interface/models/IRegulate';
147
147
  export * from './Interface/models/IRegulation';
148
148
  export * from './Interface/models/IReport';
149
+ export * from './Interface/models/IReportHistory';
149
150
  export * from './Interface/models/IReportMessage';
150
151
  export * from './Interface/models/IRole';
151
152
  export * from './Interface/models/IRoleUser';
@@ -386,6 +387,7 @@ export * from './Enum/SurveyType';
386
387
  export * from './Enum/SurveyTypeDatas';
387
388
  export * from './Enum/PaymentMethod';
388
389
  export * from './Enum/ReportType';
390
+ export * from './Enum/ReportSource';
389
391
  export * from './Enum/IssueType';
390
392
  export * from './Enum/AdjustmentType';
391
393
  export * from './Enum/ReportState';
@@ -557,6 +559,7 @@ export * from './Enum/PartneredAccountantServiceTypeId';
557
559
  export * from './Enum/PaymentAttempt';
558
560
 
559
561
  // Interfaces API
562
+ export * from './Interface/api/authentification/AuthenticationResponse';
560
563
  export * from './Interface/api/exercice/ReadExercice';
561
564
  export * from './Interface/api/balanceSheet/consistency/Read';
562
565
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -789,6 +792,7 @@ export * from './Interface/api/report/DeleteReport';
789
792
  export * from './Interface/api/report/QueryReports';
790
793
  export * from './Interface/api/report/QueryReportsStats';
791
794
  export * from './Interface/api/report/QueryReportsForLetter';
795
+ export * from './Interface/api/reportHistory/Query';
792
796
  export * from './Interface/api/reportMessage/Query';
793
797
  export * from './Interface/api/letter/CreateLetter';
794
798
  export * from './Interface/api/mailInvoice/CreateInvoiceMail';