@silexpert/core 1.3.158-18 → 1.3.158-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (448) hide show
  1. package/dist/cjs/api/resources/BalanceSheet.d.ts +4 -2
  2. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BalanceSheet.js +2 -3
  4. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  5. package/dist/cjs/api/resources/Card.d.ts +4 -2
  6. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Card.js +1 -0
  8. package/dist/cjs/api/resources/Card.js.map +1 -1
  9. package/dist/cjs/api/resources/Comment.d.ts +2 -2
  10. package/dist/cjs/api/resources/Comment.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Comment.js.map +1 -1
  12. package/dist/cjs/api/resources/GeneralLedger.d.ts +1 -2
  13. package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/GeneralLedger.js +0 -9
  15. package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
  16. package/dist/cjs/api/resources/Report.d.ts +4 -4
  17. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  18. package/dist/cjs/api/resources/Report.js +1 -12
  19. package/dist/cjs/api/resources/Report.js.map +1 -1
  20. package/dist/cjs/api/resources/Revenue.d.ts +0 -8
  21. package/dist/cjs/api/resources/Revenue.d.ts.map +1 -1
  22. package/dist/cjs/api/resources/Revenue.js +0 -6
  23. package/dist/cjs/api/resources/Revenue.js.map +1 -1
  24. package/dist/cjs/api/resources.d.ts +0 -2
  25. package/dist/cjs/api/resources.d.ts.map +1 -1
  26. package/dist/cjs/api/resources.js +0 -2
  27. package/dist/cjs/api/resources.js.map +1 -1
  28. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +0 -7
  29. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/AutomaticRegistration.js +1 -39
  31. package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -1
  32. package/dist/cjs/types/Enum/BalanceSheet.d.ts +0 -7
  33. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  34. package/dist/cjs/types/Enum/BalanceSheet.js +0 -61
  35. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  36. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  37. package/dist/cjs/types/Enum/BrandClementine.js +0 -6
  38. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  39. package/dist/cjs/types/Enum/Card.d.ts +0 -10
  40. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Card.js +2 -15
  42. package/dist/cjs/types/Enum/Card.js.map +1 -1
  43. package/dist/cjs/types/Enum/IncomeStatement.d.ts +0 -7
  44. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  45. package/dist/cjs/types/Enum/IncomeStatement.js +0 -39
  46. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  47. package/dist/cjs/types/Enum/LetterType.js +2 -2
  48. package/dist/cjs/types/Enum/LetterType.js.map +1 -1
  49. package/dist/cjs/types/Enum/PrestationType.js +6 -6
  50. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  51. package/dist/cjs/types/Enum/RegistrationSource.d.ts +1 -2
  52. package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  53. package/dist/cjs/types/Enum/RegistrationSource.js +0 -1
  54. package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
  55. package/dist/cjs/types/Enum/ReportService.d.ts +1 -4
  56. package/dist/cjs/types/Enum/ReportService.d.ts.map +1 -1
  57. package/dist/cjs/types/Enum/ReportService.js +18 -39
  58. package/dist/cjs/types/Enum/ReportService.js.map +1 -1
  59. package/dist/cjs/types/Enum/ReportSource.d.ts +1 -2
  60. package/dist/cjs/types/Enum/ReportSource.d.ts.map +1 -1
  61. package/dist/cjs/types/Enum/ReportSource.js +0 -5
  62. package/dist/cjs/types/Enum/ReportSource.js.map +1 -1
  63. package/dist/cjs/types/Enum/ReportType.d.ts +1 -9
  64. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  65. package/dist/cjs/types/Enum/ReportType.js +1 -41
  66. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  67. package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  68. package/dist/cjs/types/Enum/TaskResponseType.js +0 -33
  69. package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
  70. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +0 -3
  71. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +1 -11
  73. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  74. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +0 -2
  75. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  76. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  77. package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js +12 -12
  78. package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +1 -2
  80. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/card/UpdateCard.js +0 -6
  82. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -4
  84. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  86. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
  87. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  88. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +0 -6
  89. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  90. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
  91. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  92. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
  94. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  96. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
  97. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  98. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -30
  99. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  100. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +0 -1
  101. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  102. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +0 -9
  103. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -4
  105. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  106. package/dist/cjs/types/Interface/api/payment/Params.js +1 -23
  107. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  108. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +0 -2
  109. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  110. package/dist/cjs/types/Interface/api/report/CreateReport.js +1 -10
  111. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  112. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  113. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  114. package/dist/cjs/types/Interface/api/report/ExternalReport.js +5 -5
  115. package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  116. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +0 -4
  117. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  118. package/dist/cjs/types/Interface/api/report/QueryReports.js +0 -20
  119. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  120. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +6 -14
  121. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  122. package/dist/cjs/types/Interface/api/report/UpdateReport.js +0 -120
  123. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  124. package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueMovement.d.ts +10 -11
  125. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -0
  126. package/dist/cjs/types/Interface/api/{automaticRegistration/Read.js → revenueMovement.js} +1 -1
  127. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -0
  128. package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueSnapshot.d.ts +1 -2
  129. package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -0
  130. package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +1 -0
  131. package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueSnapshotGenerate.d.ts +1 -0
  132. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -0
  133. package/dist/cjs/types/Interface/api/{revenue/revenueSnapshotGenerate.js → revenueSnapshotGenerate.js} +12 -3
  134. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -0
  135. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
  136. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  137. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  138. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -4
  139. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  140. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  141. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +0 -6
  142. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  143. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +0 -22
  144. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  145. package/dist/cjs/types/Interface/models/IImmobilization.d.ts +0 -1
  146. package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  147. package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
  148. package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -1
  149. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  150. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  151. package/dist/cjs/types/Interface/models/IReport.d.ts +0 -3
  152. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  153. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  154. package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
  155. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  156. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  157. package/dist/cjs/types/index.d.ts +6 -8
  158. package/dist/cjs/types/index.d.ts.map +1 -1
  159. package/dist/cjs/types/index.js +7 -8
  160. package/dist/cjs/types/index.js.map +1 -1
  161. package/dist/cjs/utils/checkup.d.ts +20 -0
  162. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  163. package/dist/cjs/utils/checkup.js +1 -0
  164. package/dist/cjs/utils/checkup.js.map +1 -1
  165. package/dist/cjs/utils/exercice.d.ts +1 -8
  166. package/dist/cjs/utils/exercice.d.ts.map +1 -1
  167. package/dist/cjs/utils/exercice.js +1 -11
  168. package/dist/cjs/utils/exercice.js.map +1 -1
  169. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  170. package/dist/cjs/utils/prestation.js +4 -9
  171. package/dist/cjs/utils/prestation.js.map +1 -1
  172. package/dist/cjs/utils/vat/3517/century25.js +53 -53
  173. package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
  174. package/dist/mjs/api/resources/BalanceSheet.d.ts +4 -2
  175. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  176. package/dist/mjs/api/resources/BalanceSheet.js +2 -3
  177. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  178. package/dist/mjs/api/resources/Card.d.ts +4 -2
  179. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  180. package/dist/mjs/api/resources/Card.js +1 -0
  181. package/dist/mjs/api/resources/Card.js.map +1 -1
  182. package/dist/mjs/api/resources/Comment.d.ts +2 -2
  183. package/dist/mjs/api/resources/Comment.d.ts.map +1 -1
  184. package/dist/mjs/api/resources/Comment.js.map +1 -1
  185. package/dist/mjs/api/resources/GeneralLedger.d.ts +1 -2
  186. package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
  187. package/dist/mjs/api/resources/GeneralLedger.js +0 -9
  188. package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
  189. package/dist/mjs/api/resources/Report.d.ts +4 -4
  190. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  191. package/dist/mjs/api/resources/Report.js +1 -12
  192. package/dist/mjs/api/resources/Report.js.map +1 -1
  193. package/dist/mjs/api/resources/Revenue.d.ts +0 -8
  194. package/dist/mjs/api/resources/Revenue.d.ts.map +1 -1
  195. package/dist/mjs/api/resources/Revenue.js +0 -6
  196. package/dist/mjs/api/resources/Revenue.js.map +1 -1
  197. package/dist/mjs/api/resources.d.ts +0 -2
  198. package/dist/mjs/api/resources.d.ts.map +1 -1
  199. package/dist/mjs/api/resources.js +0 -2
  200. package/dist/mjs/api/resources.js.map +1 -1
  201. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +0 -7
  202. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  203. package/dist/mjs/types/Enum/AutomaticRegistration.js +0 -38
  204. package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -1
  205. package/dist/mjs/types/Enum/BalanceSheet.d.ts +0 -7
  206. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  207. package/dist/mjs/types/Enum/BalanceSheet.js +0 -61
  208. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  209. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  210. package/dist/mjs/types/Enum/BrandClementine.js +0 -6
  211. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  212. package/dist/mjs/types/Enum/Card.d.ts +0 -10
  213. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  214. package/dist/mjs/types/Enum/Card.js +1 -14
  215. package/dist/mjs/types/Enum/Card.js.map +1 -1
  216. package/dist/mjs/types/Enum/IncomeStatement.d.ts +0 -7
  217. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  218. package/dist/mjs/types/Enum/IncomeStatement.js +0 -39
  219. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  220. package/dist/mjs/types/Enum/LetterType.js +2 -2
  221. package/dist/mjs/types/Enum/LetterType.js.map +1 -1
  222. package/dist/mjs/types/Enum/PrestationType.js +6 -6
  223. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  224. package/dist/mjs/types/Enum/RegistrationSource.d.ts +1 -2
  225. package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  226. package/dist/mjs/types/Enum/RegistrationSource.js +0 -1
  227. package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
  228. package/dist/mjs/types/Enum/ReportService.d.ts +1 -4
  229. package/dist/mjs/types/Enum/ReportService.d.ts.map +1 -1
  230. package/dist/mjs/types/Enum/ReportService.js +18 -39
  231. package/dist/mjs/types/Enum/ReportService.js.map +1 -1
  232. package/dist/mjs/types/Enum/ReportSource.d.ts +1 -2
  233. package/dist/mjs/types/Enum/ReportSource.d.ts.map +1 -1
  234. package/dist/mjs/types/Enum/ReportSource.js +0 -5
  235. package/dist/mjs/types/Enum/ReportSource.js.map +1 -1
  236. package/dist/mjs/types/Enum/ReportType.d.ts +1 -9
  237. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  238. package/dist/mjs/types/Enum/ReportType.js +1 -41
  239. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  240. package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  241. package/dist/mjs/types/Enum/TaskResponseType.js +0 -33
  242. package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
  243. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +0 -3
  244. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  245. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +0 -10
  246. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  247. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +0 -2
  248. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  249. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  250. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js +1 -1
  251. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
  252. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +1 -2
  253. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  254. package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -8
  255. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  256. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -4
  257. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  258. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  259. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
  260. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  261. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +0 -7
  262. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  263. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
  264. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  265. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  266. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
  267. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  268. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  269. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
  270. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  271. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -34
  272. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  273. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +0 -1
  274. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  275. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +1 -11
  276. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  277. package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -4
  278. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  279. package/dist/mjs/types/Interface/api/payment/Params.js +2 -25
  280. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  281. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +0 -2
  282. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  283. package/dist/mjs/types/Interface/api/report/CreateReport.js +1 -12
  284. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  285. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  286. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  287. package/dist/mjs/types/Interface/api/report/ExternalReport.js +7 -5
  288. package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  289. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +0 -4
  290. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  291. package/dist/mjs/types/Interface/api/report/QueryReports.js +1 -23
  292. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  293. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +6 -14
  294. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  295. package/dist/mjs/types/Interface/api/report/UpdateReport.js +1 -135
  296. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  297. package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueMovement.d.ts +10 -11
  298. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -0
  299. package/dist/mjs/types/Interface/api/revenueMovement.js +2 -0
  300. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -0
  301. package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueSnapshot.d.ts +1 -2
  302. package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -0
  303. package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +1 -0
  304. package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueSnapshotGenerate.d.ts +1 -0
  305. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -0
  306. package/dist/mjs/types/Interface/api/{revenue/revenueSnapshotGenerate.js → revenueSnapshotGenerate.js} +14 -11
  307. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -0
  308. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
  309. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  310. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  311. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -4
  312. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  313. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  314. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +0 -6
  315. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  316. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +1 -26
  317. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  318. package/dist/mjs/types/Interface/models/IImmobilization.d.ts +0 -1
  319. package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  320. package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
  321. package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -1
  322. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  323. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  324. package/dist/mjs/types/Interface/models/IReport.d.ts +0 -3
  325. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  326. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  327. package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
  328. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  329. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  330. package/dist/mjs/types/index.d.ts +6 -8
  331. package/dist/mjs/types/index.d.ts.map +1 -1
  332. package/dist/mjs/types/index.js +7 -8
  333. package/dist/mjs/types/index.js.map +1 -1
  334. package/dist/mjs/utils/checkup.d.ts +20 -0
  335. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  336. package/dist/mjs/utils/checkup.js +1 -0
  337. package/dist/mjs/utils/checkup.js.map +1 -1
  338. package/dist/mjs/utils/exercice.d.ts +1 -8
  339. package/dist/mjs/utils/exercice.d.ts.map +1 -1
  340. package/dist/mjs/utils/exercice.js +1 -10
  341. package/dist/mjs/utils/exercice.js.map +1 -1
  342. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  343. package/dist/mjs/utils/prestation.js +1 -3
  344. package/dist/mjs/utils/prestation.js.map +1 -1
  345. package/dist/mjs/utils/vat/3517/century25.js +53 -53
  346. package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
  347. package/package.json +16 -16
  348. package/ts/api/resources/BalanceSheet.ts +2 -4
  349. package/ts/api/resources/Card.ts +3 -2
  350. package/ts/api/resources/Comment.ts +2 -2
  351. package/ts/api/resources/GeneralLedger.ts +0 -11
  352. package/ts/api/resources/Report.ts +5 -15
  353. package/ts/api/resources/Revenue.ts +0 -8
  354. package/ts/api/resources.ts +0 -2
  355. package/ts/types/Enum/AutomaticRegistration.ts +0 -45
  356. package/ts/types/Enum/BalanceSheet.ts +0 -69
  357. package/ts/types/Enum/BrandClementine.ts +0 -6
  358. package/ts/types/Enum/Card.ts +1 -15
  359. package/ts/types/Enum/IncomeStatement.ts +0 -47
  360. package/ts/types/Enum/LetterType.ts +2 -2
  361. package/ts/types/Enum/PrestationType.ts +6 -6
  362. package/ts/types/Enum/RegistrationSource.ts +0 -1
  363. package/ts/types/Enum/ReportService.ts +3 -24
  364. package/ts/types/Enum/ReportSource.ts +0 -5
  365. package/ts/types/Enum/ReportType.ts +1 -41
  366. package/ts/types/Enum/TaskResponseType.ts +0 -33
  367. package/ts/types/Interface/api/balanceSheet/Query.ts +0 -8
  368. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +0 -3
  369. package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +1 -1
  370. package/ts/types/Interface/api/card/UpdateCard.ts +1 -6
  371. package/ts/types/Interface/api/config/ConfigType.ts +0 -1
  372. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +0 -5
  373. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +0 -1
  374. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +0 -1
  375. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -26
  376. package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +1 -9
  377. package/ts/types/Interface/api/payment/Params.ts +3 -20
  378. package/ts/types/Interface/api/report/CreateReport.ts +1 -8
  379. package/ts/types/Interface/api/report/ExternalReport.ts +4 -4
  380. package/ts/types/Interface/api/report/QueryReports.ts +1 -17
  381. package/ts/types/Interface/api/report/UpdateReport.ts +6 -86
  382. package/ts/types/Interface/api/revenueMovement.ts +113 -0
  383. package/ts/types/Interface/api/{revenue/revenueSnapshot.ts → revenueSnapshot.ts} +1 -3
  384. package/ts/types/Interface/api/{revenue/revenueSnapshotGenerate.ts → revenueSnapshotGenerate.ts} +11 -11
  385. package/ts/types/Interface/api/society/ReadSociety.ts +0 -1
  386. package/ts/types/Interface/api/user/RegisterProspect.ts +0 -4
  387. package/ts/types/Interface/api/user/RegisterWebhook.ts +1 -19
  388. package/ts/types/Interface/models/IImmobilization.ts +0 -1
  389. package/ts/types/Interface/models/IPayment.ts +0 -1
  390. package/ts/types/Interface/models/IReport.ts +0 -3
  391. package/ts/types/Interface/models/ISociety.ts +1 -1
  392. package/ts/types/index.ts +9 -8
  393. package/ts/utils/checkup.ts +1 -0
  394. package/ts/utils/exercice.ts +1 -11
  395. package/ts/utils/prestation.ts +1 -3
  396. package/ts/utils/vat/3517/century25.ts +53 -53
  397. package/dist/cjs/api/resources/AutomaticRegistration.d.ts +0 -6
  398. package/dist/cjs/api/resources/AutomaticRegistration.d.ts.map +0 -1
  399. package/dist/cjs/api/resources/AutomaticRegistration.js +0 -22
  400. package/dist/cjs/api/resources/AutomaticRegistration.js.map +0 -1
  401. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +0 -7
  402. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +0 -1
  403. package/dist/cjs/types/Enum/TransactionRangeFilter.js +0 -11
  404. package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +0 -1
  405. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts +0 -6
  406. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts.map +0 -1
  407. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js +0 -36
  408. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js.map +0 -1
  409. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts +0 -9
  410. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts.map +0 -1
  411. package/dist/cjs/types/Interface/api/automaticRegistration/Read.js.map +0 -1
  412. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +0 -1
  413. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +0 -275
  414. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +0 -1
  415. package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +0 -1
  416. package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +0 -1
  417. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +0 -1
  418. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +0 -1
  419. package/dist/mjs/api/resources/AutomaticRegistration.d.ts +0 -6
  420. package/dist/mjs/api/resources/AutomaticRegistration.d.ts.map +0 -1
  421. package/dist/mjs/api/resources/AutomaticRegistration.js +0 -7
  422. package/dist/mjs/api/resources/AutomaticRegistration.js.map +0 -1
  423. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +0 -7
  424. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +0 -1
  425. package/dist/mjs/types/Enum/TransactionRangeFilter.js +0 -8
  426. package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +0 -1
  427. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts +0 -6
  428. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts.map +0 -1
  429. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js +0 -35
  430. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js.map +0 -1
  431. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts +0 -9
  432. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts.map +0 -1
  433. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js +0 -2
  434. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js.map +0 -1
  435. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +0 -1
  436. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +0 -304
  437. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +0 -1
  438. package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +0 -1
  439. package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +0 -1
  440. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +0 -1
  441. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +0 -1
  442. package/ts/api/resources/AutomaticRegistration.ts +0 -8
  443. package/ts/types/Enum/TransactionRangeFilter.ts +0 -6
  444. package/ts/types/Interface/api/automaticRegistration/Query.ts +0 -19
  445. package/ts/types/Interface/api/automaticRegistration/Read.ts +0 -8
  446. package/ts/types/Interface/api/revenue/revenueMovement.ts +0 -257
  447. /package/dist/cjs/types/Interface/api/{revenue/revenueSnapshot.js → revenueSnapshot.js} +0 -0
  448. /package/dist/mjs/types/Interface/api/{revenue/revenueSnapshot.js → revenueSnapshot.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"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","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n\n @ApiProperty({ default: 10 })\n @IsInt()\n @Min(1)\n limit?: number = 10;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n debug?: boolean = false;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n creditLossAt?: Date;\n}\n"]}
1
+ {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"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","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
@@ -1,7 +1,6 @@
1
1
  import { IReport } from '../../..';
2
2
  import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
- idSource: number;
5
4
  idReportType?: number[];
6
5
  idSociety?: number;
7
6
  idFile?: number;
@@ -16,7 +15,6 @@ export declare class CreateReport implements IReport {
16
15
  action?: number;
17
16
  processed?: boolean;
18
17
  letterDate?: Date;
19
- receivedAt?: Date;
20
18
  receivedFile?: TFile;
21
19
  responseFile?: TFile;
22
20
  token?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAG1C,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAI1C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -15,14 +15,10 @@ const utils_1 = require("../../../../utils");
15
15
  class CreateReport {
16
16
  }
17
17
  exports.CreateReport = CreateReport;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsInt)(),
21
- __metadata("design:type", Number)
22
- ], CreateReport.prototype, "idSource", void 0);
23
18
  __decorate([
24
19
  (0, utils_1.ApiPropertyOptional)(),
25
20
  (0, class_validator_1.IsOptional)(),
21
+ (0, class_validator_1.IsInt)({ each: true }),
26
22
  __metadata("design:type", Array)
27
23
  ], CreateReport.prototype, "idReportType", void 0);
28
24
  __decorate([
@@ -97,11 +93,6 @@ __decorate([
97
93
  (0, class_validator_1.IsOptional)(),
98
94
  __metadata("design:type", Date)
99
95
  ], CreateReport.prototype, "letterDate", void 0);
100
- __decorate([
101
- (0, utils_1.ApiPropertyOptional)(),
102
- (0, class_validator_1.IsOptional)(),
103
- __metadata("design:type", Date)
104
- ], CreateReport.prototype, "receivedAt", void 0);
105
96
  __decorate([
106
97
  (0, utils_1.ApiPropertyOptional)(),
107
98
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CAoFxB;AApFD,oCAoFC;AAjFC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;8CACS;AAIjB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
1
+ {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CA6ExB;AA7ED,oCA6EC;AAzEC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACE;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { TFile } from '../file/TFile';
2
2
  export declare class CreateExternalReport {
3
3
  idIssueType?: number;
4
- idReportType?: number;
4
+ idReportType?: number[];
5
5
  idSociety: number;
6
6
  comment: string;
7
7
  metadata?: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAIxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -13,7 +13,6 @@ exports.CreateExternalReport = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const IssueType_1 = require("../../../Enum/IssueType");
16
- const ReportType_1 = require("../../../Enum/ReportType");
17
16
  class CreateExternalReport {
18
17
  }
19
18
  exports.CreateExternalReport = CreateExternalReport;
@@ -26,10 +25,11 @@ __decorate([
26
25
  ], CreateExternalReport.prototype, "idIssueType", void 0);
27
26
  __decorate([
28
27
  (0, utils_1.ApiPropertyOptional)(),
29
- (0, class_validator_1.IsOptional)(),
30
- (0, class_validator_1.IsInt)(),
31
- (0, class_validator_1.IsEnum)(ReportType_1.ReportTypeEnum),
32
- __metadata("design:type", Number)
28
+ (0, class_validator_1.IsOptional)()
29
+ //@IsInt({ each: true })
30
+ //@IsEnum(ReportTypeEnum)
31
+ ,
32
+ __metadata("design:type", Array)
33
33
  ], CreateExternalReport.prototype, "idReportType", void 0);
34
34
  __decorate([
35
35
  (0, utils_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;AACxD,yDAA0D;AAG1D,MAAa,oBAAoB;CA+BhC;AA/BD,oDA+BC;AA1BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,yBAAa,CAAC;;yDACD;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,2BAAc,CAAC;;0DACD;AAItB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACsB;AAGnC;IADC,IAAA,2BAAmB,GAAE;;kDACT;AAIb;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACM","sourcesContent":["import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IssueTypeEnum } from '../../../Enum/IssueType';\nimport { ReportTypeEnum } from '../../../Enum/ReportType';\nimport { TFile } from '../file/TFile';\n\nexport class CreateExternalReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(IssueTypeEnum)\n idIssueType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(ReportTypeEnum)\n idReportType?: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, unknown>;\n\n @ApiPropertyOptional()\n file?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n isMobile?: boolean;\n}\n"]}
1
+ {"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;AAIxD,MAAa,oBAAoB;CA+BhC;AA/BD,oDA+BC;AA1BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,yBAAa,CAAC;;yDACD;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACb,wBAAwB;IACxB,yBAAyB;;;0DACD;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACsB;AAGnC;IADC,IAAA,2BAAmB,GAAE;;kDACT;AAIb;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACM","sourcesContent":["import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IssueTypeEnum } from '../../../Enum/IssueType';\n//import { ReportTypeEnum } from '../../../Enum/ReportType';\nimport { TFile } from '../file/TFile';\n\nexport class CreateExternalReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(IssueTypeEnum)\n idIssueType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n //@IsInt({ each: true })\n //@IsEnum(ReportTypeEnum)\n idReportType?: number[];\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, unknown>;\n\n @ApiPropertyOptional()\n file?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n isMobile?: boolean;\n}\n"]}
@@ -1,9 +1,7 @@
1
1
  export declare class QueryReports {
2
- idSource?: number[];
3
2
  idReportType?: number[];
4
3
  idSociety?: number;
5
4
  idService?: number;
6
- idUserConcerned?: number;
7
5
  idServiceConcerned?: number;
8
6
  id?: number;
9
7
  search?: string;
@@ -11,7 +9,5 @@ export declare class QueryReports {
11
9
  state?: number;
12
10
  idUser?: number | number[];
13
11
  onlyClient?: boolean;
14
- startDate?: string;
15
- endDate?: string;
16
12
  }
17
13
  //# sourceMappingURL=QueryReports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -16,10 +16,6 @@ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transf
16
16
  class QueryReports {
17
17
  }
18
18
  exports.QueryReports = QueryReports;
19
- __decorate([
20
- (0, utils_1.ApiPropertyOptional)(),
21
- __metadata("design:type", Array)
22
- ], QueryReports.prototype, "idSource", void 0);
23
19
  __decorate([
24
20
  (0, utils_1.ApiPropertyOptional)(),
25
21
  __metadata("design:type", Array)
@@ -32,10 +28,6 @@ __decorate([
32
28
  (0, utils_1.ApiPropertyOptional)(),
33
29
  __metadata("design:type", Number)
34
30
  ], QueryReports.prototype, "idService", void 0);
35
- __decorate([
36
- (0, utils_1.ApiPropertyOptional)(),
37
- __metadata("design:type", Number)
38
- ], QueryReports.prototype, "idUserConcerned", void 0);
39
31
  __decorate([
40
32
  (0, utils_1.ApiPropertyOptional)(),
41
33
  __metadata("design:type", Number)
@@ -67,16 +59,4 @@ __decorate([
67
59
  (0, boolean_transform_1.ToBoolean)(),
68
60
  __metadata("design:type", Boolean)
69
61
  ], QueryReports.prototype, "onlyClient", void 0);
70
- __decorate([
71
- (0, utils_1.ApiPropertyOptional)(),
72
- (0, class_validator_1.IsOptional)(),
73
- (0, class_validator_1.IsDateString)(),
74
- __metadata("design:type", String)
75
- ], QueryReports.prototype, "startDate", void 0);
76
- __decorate([
77
- (0, utils_1.ApiPropertyOptional)(),
78
- (0, class_validator_1.IsOptional)(),
79
- (0, class_validator_1.IsDateString)(),
80
- __metadata("design:type", String)
81
- ], QueryReports.prototype, "endDate", void 0);
82
62
  //# sourceMappingURL=QueryReports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiDxB;AAjDD,oCAiDC;AA/CC;IADC,IAAA,2BAAmB,GAAE;;8CACF;AAGpB;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;qDACG;AAGzB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS;AAKb;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;+CACY;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6CACU","sourcesContent":["import { IsBoolean, IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idSource?: number[];\n\n @ApiPropertyOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idUserConcerned?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare endDate?: string;\n}\n"]}
1
+ {"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiCxB;AAjCD,oCAiCC;AA/BC;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n}\n"]}
@@ -1,21 +1,13 @@
1
- import { IReport } from '../../..';
2
- export declare class UpdateReport implements IReport {
3
- idSource: number;
4
- idReportType?: number[];
5
- idSociety?: number;
6
- idFile?: number;
7
- idUser: number;
8
- idServiceConcerned?: number;
9
- comment: string;
10
- search?: string;
1
+ import { IReport, IUser } from '../../..';
2
+ export interface UpdateReport extends IReport {
3
+ comment?: string;
4
+ note?: string;
11
5
  declareSoupcons?: boolean;
12
6
  state?: number;
13
7
  informerjlb?: boolean;
14
8
  ressenti?: number;
15
9
  action?: number;
16
- processed?: boolean;
17
- letterDate?: Date;
18
- receivedAt?: Date;
19
- token?: string;
10
+ idReport?: number;
11
+ societyUsers?: IUser[];
20
12
  }
21
13
  //# sourceMappingURL=UpdateReport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKnC,qBAAa,YAAa,YAAW,OAAO;IAI1C,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAKlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"UpdateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;CACxB"}
@@ -1,123 +1,3 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateReport = void 0;
13
- const utils_1 = require("../../../../utils");
14
- const class_validator_1 = require("class-validator");
15
- const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
- class UpdateReport {
17
- }
18
- exports.UpdateReport = UpdateReport;
19
- __decorate([
20
- (0, utils_1.ApiPropertyOptional)(),
21
- (0, class_validator_1.IsOptional)(),
22
- (0, class_validator_1.IsInt)(),
23
- __metadata("design:type", Number)
24
- ], UpdateReport.prototype, "idSource", void 0);
25
- __decorate([
26
- (0, utils_1.ApiPropertyOptional)(),
27
- (0, class_validator_1.IsOptional)(),
28
- __metadata("design:type", Array)
29
- ], UpdateReport.prototype, "idReportType", void 0);
30
- __decorate([
31
- (0, utils_1.ApiPropertyOptional)(),
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsInt)(),
34
- __metadata("design:type", Number)
35
- ], UpdateReport.prototype, "idSociety", void 0);
36
- __decorate([
37
- (0, utils_1.ApiPropertyOptional)(),
38
- (0, class_validator_1.IsOptional)(),
39
- (0, class_validator_1.IsInt)(),
40
- __metadata("design:type", Number)
41
- ], UpdateReport.prototype, "idFile", void 0);
42
- __decorate([
43
- (0, utils_1.ApiPropertyOptional)(),
44
- (0, class_validator_1.IsOptional)(),
45
- (0, class_validator_1.IsInt)(),
46
- __metadata("design:type", Number)
47
- ], UpdateReport.prototype, "idUser", void 0);
48
- __decorate([
49
- (0, utils_1.ApiPropertyOptional)(),
50
- (0, class_validator_1.IsOptional)(),
51
- (0, class_validator_1.IsInt)(),
52
- __metadata("design:type", Number)
53
- ], UpdateReport.prototype, "idServiceConcerned", void 0);
54
- __decorate([
55
- (0, utils_1.ApiPropertyOptional)(),
56
- (0, class_validator_1.IsOptional)(),
57
- (0, class_validator_1.IsString)(),
58
- __metadata("design:type", String)
59
- ], UpdateReport.prototype, "comment", void 0);
60
- __decorate([
61
- (0, utils_1.ApiPropertyOptional)(),
62
- (0, class_validator_1.IsOptional)(),
63
- (0, class_validator_1.IsString)(),
64
- __metadata("design:type", String)
65
- ], UpdateReport.prototype, "search", void 0);
66
- __decorate([
67
- (0, utils_1.ApiPropertyOptional)(),
68
- (0, class_validator_1.IsOptional)(),
69
- (0, class_validator_1.IsBoolean)(),
70
- (0, boolean_transform_1.ToBoolean)(),
71
- __metadata("design:type", Boolean)
72
- ], UpdateReport.prototype, "declareSoupcons", void 0);
73
- __decorate([
74
- (0, utils_1.ApiPropertyOptional)(),
75
- (0, class_validator_1.IsOptional)(),
76
- (0, class_validator_1.IsInt)(),
77
- __metadata("design:type", Number)
78
- ], UpdateReport.prototype, "state", void 0);
79
- __decorate([
80
- (0, utils_1.ApiPropertyOptional)(),
81
- (0, class_validator_1.IsOptional)(),
82
- (0, class_validator_1.IsBoolean)(),
83
- (0, boolean_transform_1.ToBoolean)(),
84
- __metadata("design:type", Boolean)
85
- ], UpdateReport.prototype, "informerjlb", void 0);
86
- __decorate([
87
- (0, utils_1.ApiPropertyOptional)(),
88
- (0, class_validator_1.IsOptional)(),
89
- (0, class_validator_1.IsInt)(),
90
- __metadata("design:type", Number)
91
- ], UpdateReport.prototype, "ressenti", void 0);
92
- __decorate([
93
- (0, utils_1.ApiPropertyOptional)(),
94
- (0, class_validator_1.IsOptional)(),
95
- (0, class_validator_1.IsInt)(),
96
- __metadata("design:type", Number)
97
- ], UpdateReport.prototype, "action", void 0);
98
- __decorate([
99
- (0, utils_1.ApiPropertyOptional)(),
100
- (0, class_validator_1.IsOptional)(),
101
- (0, class_validator_1.IsBoolean)(),
102
- (0, boolean_transform_1.ToBoolean)(),
103
- __metadata("design:type", Boolean)
104
- ], UpdateReport.prototype, "processed", void 0);
105
- __decorate([
106
- (0, utils_1.ApiPropertyOptional)(),
107
- (0, class_validator_1.IsOptional)(),
108
- (0, class_validator_1.IsDateString)(),
109
- __metadata("design:type", Date)
110
- ], UpdateReport.prototype, "letterDate", void 0);
111
- __decorate([
112
- (0, utils_1.ApiPropertyOptional)(),
113
- (0, class_validator_1.IsOptional)(),
114
- (0, class_validator_1.IsDateString)(),
115
- __metadata("design:type", Date)
116
- ], UpdateReport.prototype, "receivedAt", void 0);
117
- __decorate([
118
- (0, utils_1.ApiPropertyOptional)(),
119
- (0, class_validator_1.IsOptional)(),
120
- (0, class_validator_1.IsString)(),
121
- __metadata("design:type", String)
122
- ], UpdateReport.prototype, "token", void 0);
123
3
  //# sourceMappingURL=UpdateReport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6CAAwD;AACxD,qDAAuF;AACvF,sFAA2E;AAE3E,MAAa,YAAY;CAuFxB;AAvFD,oCAuFC;AAnFC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACS;AAIjB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAK5B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;qDACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAMf;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;iDACU;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;+CACQ;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;8BACF,IAAI;gDAAC;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;8BACF,IAAI;gDAAC;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IReport } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateReport implements IReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
1
+ {"version":3,"file":"UpdateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"","sourcesContent":["import { IReport, IUser } from '../../..';\n\nexport interface UpdateReport extends IReport {\n comment?: string;\n note?: string;\n declareSoupcons?: boolean;\n state?: number;\n informerjlb?: boolean;\n ressenti?: number;\n action?: number;\n idReport?: number;\n societyUsers?: IUser[];\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { RevenueMovementType } from '../../../Enum/Revenue';
1
+ import { RevenueMovementType } from '../../Enum/Revenue';
2
2
  /**
3
3
  * DTO pour créer un mouvement de revenu
4
4
  */
5
- export declare class ICreateRevenueMovementRequest {
5
+ export interface ICreateRevenueMovementRequest {
6
6
  type: RevenueMovementType;
7
7
  idSociety: number;
8
8
  idExercice?: number;
@@ -19,7 +19,7 @@ export declare class ICreateRevenueMovementRequest {
19
19
  /**
20
20
  * DTO pour mettre à jour un mouvement de revenu
21
21
  */
22
- export declare class IUpdateRevenueMovementRequest {
22
+ export interface IUpdateRevenueMovementRequest {
23
23
  type?: RevenueMovementType;
24
24
  idTerminationList?: number;
25
25
  idChurnMovement?: number;
@@ -33,7 +33,7 @@ export declare class IUpdateRevenueMovementRequest {
33
33
  /**
34
34
  * Filtres pour récupérer les mouvements de revenu
35
35
  */
36
- export declare class IGetRevenueMovementsRequest {
36
+ export interface IGetRevenueMovementsRequest {
37
37
  idSociety?: number;
38
38
  idExercice?: number;
39
39
  idPrestation?: number;
@@ -58,7 +58,7 @@ export interface IGetRevenueMovementsResponse {
58
58
  /**
59
59
  * DTO pour générer un snapshot de revenu
60
60
  */
61
- export declare class IGenerateSnapshotRequest {
61
+ export interface IGenerateSnapshotRequest {
62
62
  date?: string;
63
63
  idSociety?: number;
64
64
  idExercice?: number;
@@ -66,25 +66,24 @@ export declare class IGenerateSnapshotRequest {
66
66
  /**
67
67
  * DTO pour générer tous les snapshots de revenu
68
68
  */
69
- export declare class IGenerateAllSnapshotsRequest {
69
+ export interface IGenerateAllSnapshotsRequest {
70
70
  date?: string;
71
71
  }
72
72
  /**
73
73
  * DTO pour gérer la rétroactivité des mouvements de revenu
74
74
  */
75
- export declare class IManageRetroactivityRequest {
75
+ export interface IManageRetroactivityRequest {
76
76
  idSociety: number;
77
77
  idExercice?: number;
78
- date?: Date;
79
78
  }
80
79
  /**
81
80
  * Réponse pour la gestion de la rétroactivité
82
81
  */
83
82
  export interface IManageRetroactivityResponse {
84
83
  idSociety: number;
85
- idExercice: number[];
86
- exerciceStartDate: Date[];
87
- exerciceEndDate: Date[];
84
+ idExercice: number;
85
+ exerciceStartDate: Date;
86
+ exerciceEndDate: Date;
88
87
  movementsCreated: {
89
88
  bookings: number;
90
89
  churns: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"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"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Read.js.map
3
+ //# sourceMappingURL=revenueMovement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport interface IManageRetroactivityRequest {\n idSociety: number;\n idExercice?: number;\n}\n\n/**\n * Réponse pour la gestion de la rétroactivité\n */\nexport interface IManageRetroactivityResponse {\n idSociety: number;\n idExercice: number;\n exerciceStartDate: Date;\n exerciceEndDate: Date;\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n"]}
@@ -49,10 +49,9 @@ export interface IGetArrSummaryResponse {
49
49
  timeline: Array<{
50
50
  date: Date;
51
51
  arr: number;
52
+ mrr: number;
52
53
  bookings: number;
53
54
  churn: number;
54
- recognition: number;
55
- provision: number;
56
55
  }>;
57
56
  }
58
57
  //# sourceMappingURL=revenueSnapshot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueSnapshot.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshot.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,IAAI,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueSnapshot.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshot.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Filtres pour récupérer les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsRequest {\n idSociety?: number;\n idExercice?: number;\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsResponse {\n snapshots: any[]; // IRevenueSnapshot[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * Réponse pour obtenir le dernier snapshot d'une société\n */\nexport interface IGetLatestSnapshotResponse {\n snapshot: any; // IRevenueSnapshot\n}\n\n/**\n * Réponse pour obtenir le tableau récapitulatif ARR\n */\nexport interface IGetArrSummaryResponse {\n idSociety?: number;\n idExercice?: number;\n period: {\n startDate: Date;\n endDate: Date;\n };\n summary: {\n currentArr: number;\n currentMrr: number;\n totalBookings: number;\n totalChurn: number;\n totalProvisions: number;\n totalRecognitions: number;\n activeCustomers: number;\n churnRate: number;\n mrrGrowthRate: number;\n };\n timeline: Array<{\n date: Date;\n arr: number;\n mrr: number;\n bookings: number;\n churn: number;\n }>;\n}\n"]}
@@ -7,6 +7,7 @@ export declare class GenerateAllSnapshots {
7
7
  date?: string;
8
8
  }
9
9
  export declare class ManageRetroactivity {
10
+ idSociety: number;
10
11
  idExercice?: number;
11
12
  }
12
13
  //# sourceMappingURL=revenueSnapshotGenerate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAO9B,SAAS,EAAE,MAAM,CAAC;IASlB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ManageRetroactivity = exports.GenerateAllSnapshots = exports.GenerateSnapshot = void 0;
13
- const utils_1 = require("../../../../utils");
13
+ const utils_1 = require("../../../utils");
14
14
  const class_validator_1 = require("class-validator");
15
15
  class GenerateSnapshot {
16
16
  }
@@ -62,13 +62,22 @@ class ManageRetroactivity {
62
62
  }
63
63
  exports.ManageRetroactivity = ManageRetroactivity;
64
64
  __decorate([
65
- (0, utils_1.ApiPropertyOptional)({
65
+ (0, utils_1.ApiProperty)({
66
+ required: true,
67
+ description: 'ID de la société',
68
+ example: 60170,
69
+ }),
70
+ (0, class_validator_1.IsNumber)(),
71
+ __metadata("design:type", Number)
72
+ ], ManageRetroactivity.prototype, "idSociety", void 0);
73
+ __decorate([
74
+ (0, utils_1.ApiProperty)({
66
75
  required: false,
67
76
  description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
68
77
  example: 123456,
69
78
  }),
70
79
  (0, class_validator_1.IsOptional)(),
71
- (0, class_validator_1.IsInt)(),
80
+ (0, class_validator_1.IsNumber)(),
72
81
  __metadata("design:type", Number)
73
82
  ], ManageRetroactivity.prototype, "idExercice", void 0);
74
83
  //# sourceMappingURL=revenueSnapshotGenerate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA6C;AAC7C,qDAAiE;AAEjE,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAnBC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AASd;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAGtB,MAAa,oBAAoB;CAShC;AATD,oDASC;AADC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG;AAGhB,MAAa,mBAAmB;CAiB/B;AAjBD,kDAiBC;AAVC;IANC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,0BAAQ,GAAE;;sDACO;AASlB;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACS","sourcesContent":["import { ApiProperty } from '../../../utils';\nimport { IsOptional, IsString, IsNumber } from 'class-validator';\n\nexport class GenerateSnapshot {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n\n @ApiProperty({\n required: false,\n description: 'ID de la société',\n example: 60170,\n })\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n\nexport class GenerateAllSnapshots {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n}\n\nexport class ManageRetroactivity {\n @ApiProperty({\n required: true,\n description: 'ID de la société',\n example: 60170,\n })\n @IsNumber()\n idSociety: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice (si non fourni, utilise l'exercice courant)\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n"]}
@@ -20,7 +20,6 @@ export type ReadAskOrRequiredDocuments = {
20
20
  idExercice?: number;
21
21
  idBalanceSheet?: number;
22
22
  idBankAccount?: number;
23
- idBusinessPartner?: number;
24
23
  gedFiles: IGedFile[];
25
24
  };
26
25
  //# sourceMappingURL=ReadSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n idBusinessPartner?: number;\n gedFiles: IGedFile[];\n};\n"]}
1
+ {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n gedFiles: IGedFile[];\n};\n"]}
@@ -3,7 +3,6 @@ import { Civility } from '../../../Enum/Civility';
3
3
  import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
4
4
  import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
5
5
  import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update';
6
- import { IPermission } from '../../models/IPermission';
7
6
  /**
8
7
  * Response of the register prospect endpoint
9
8
  */
@@ -30,8 +29,6 @@ export interface ProspectSocietyInfo {
30
29
  idLegalForm?: LegalFormTypeEnum;
31
30
  zipCode?: string;
32
31
  turnover?: number;
33
- siret?: string;
34
- idNafCode?: number;
35
32
  }
36
33
  export interface ReferalProgram {
37
34
  email: string;
@@ -46,7 +43,6 @@ export interface RegisterProspect {
46
43
  idSource?: number;
47
44
  sourceAlias?: string;
48
45
  idTypeBrand: number;
49
- permissions?: IPermission;
50
46
  analyticsUtm?: Omit<Partial<IAnalyticsUtm>, 'idSociety'>;
51
47
  comment?: string;
52
48
  }