@silexpert/core 1.3.158-12 → 1.3.158-18

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 (378) hide show
  1. package/dist/cjs/api/resources/AutomaticRegistration.d.ts +6 -0
  2. package/dist/cjs/api/resources/AutomaticRegistration.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/AutomaticRegistration.js +22 -0
  4. package/dist/cjs/api/resources/AutomaticRegistration.js.map +1 -0
  5. package/dist/cjs/api/resources/BalanceSheet.d.ts +2 -4
  6. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/BalanceSheet.js +3 -2
  8. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  9. package/dist/cjs/api/resources/Card.d.ts +2 -4
  10. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Card.js +0 -1
  12. package/dist/cjs/api/resources/Card.js.map +1 -1
  13. package/dist/cjs/api/resources/GeneralLedger.d.ts +2 -1
  14. package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/GeneralLedger.js +9 -0
  16. package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
  17. package/dist/cjs/api/resources/Report.d.ts +4 -4
  18. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Report.js.map +1 -1
  20. package/dist/cjs/api/resources/Revenue.d.ts +8 -0
  21. package/dist/cjs/api/resources/Revenue.d.ts.map +1 -1
  22. package/dist/cjs/api/resources/Revenue.js +6 -0
  23. package/dist/cjs/api/resources/Revenue.js.map +1 -1
  24. package/dist/cjs/api/resources.d.ts +2 -0
  25. package/dist/cjs/api/resources.d.ts.map +1 -1
  26. package/dist/cjs/api/resources.js +2 -0
  27. package/dist/cjs/api/resources.js.map +1 -1
  28. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +7 -0
  29. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/AutomaticRegistration.js +39 -1
  31. package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -1
  32. package/dist/cjs/types/Enum/BalanceSheet.d.ts +7 -0
  33. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  34. package/dist/cjs/types/Enum/BalanceSheet.js +61 -0
  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 +6 -0
  38. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  39. package/dist/cjs/types/Enum/Card.d.ts +10 -0
  40. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Card.js +15 -2
  42. package/dist/cjs/types/Enum/Card.js.map +1 -1
  43. package/dist/cjs/types/Enum/IncomeStatement.d.ts +7 -0
  44. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  45. package/dist/cjs/types/Enum/IncomeStatement.js +39 -0
  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 +2 -1
  52. package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  53. package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
  54. package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
  55. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  56. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  57. package/dist/cjs/types/Enum/TransactionRangeFilter.js +11 -0
  58. package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  59. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts +6 -0
  60. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts.map +1 -0
  61. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js +36 -0
  62. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js.map +1 -0
  63. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts +9 -0
  64. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts.map +1 -0
  65. package/dist/cjs/types/Interface/api/{revenueMovement.js → automaticRegistration/Read.js} +1 -1
  66. package/dist/cjs/types/Interface/api/automaticRegistration/Read.js.map +1 -0
  67. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  68. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +11 -1
  70. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  72. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  74. package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js +12 -12
  75. package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
  76. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
  77. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/api/card/UpdateCard.js +6 -0
  79. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  80. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
  81. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  82. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +1 -0
  84. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +6 -0
  86. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  88. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  90. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  91. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  92. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
  94. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +30 -1
  96. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  98. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  99. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +9 -0
  100. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  101. package/dist/cjs/types/Interface/api/payment/Params.d.ts +4 -1
  102. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/api/payment/Params.js +23 -1
  104. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  105. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  106. package/dist/cjs/types/Interface/api/report/CreateReport.js +0 -9
  107. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  108. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +14 -6
  109. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  110. package/dist/cjs/types/Interface/api/report/UpdateReport.js +120 -0
  111. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  112. package/dist/cjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +11 -10
  113. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
  114. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +275 -0
  115. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
  116. package/dist/cjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
  117. package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
  118. package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
  119. package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -1
  120. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
  121. package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -12
  122. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
  123. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +1 -0
  124. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  125. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  126. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
  127. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  128. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  129. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
  130. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  131. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +22 -0
  132. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  133. package/dist/cjs/types/Interface/models/IImmobilization.d.ts +1 -0
  134. package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  135. package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
  136. package/dist/cjs/types/Interface/models/IPayment.d.ts +1 -0
  137. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  138. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  139. package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
  140. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  141. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  142. package/dist/cjs/types/index.d.ts +8 -6
  143. package/dist/cjs/types/index.d.ts.map +1 -1
  144. package/dist/cjs/types/index.js +8 -7
  145. package/dist/cjs/types/index.js.map +1 -1
  146. package/dist/cjs/utils/checkup.d.ts +0 -20
  147. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  148. package/dist/cjs/utils/checkup.js +0 -1
  149. package/dist/cjs/utils/checkup.js.map +1 -1
  150. package/dist/cjs/utils/exercice.d.ts +8 -1
  151. package/dist/cjs/utils/exercice.d.ts.map +1 -1
  152. package/dist/cjs/utils/exercice.js +11 -1
  153. package/dist/cjs/utils/exercice.js.map +1 -1
  154. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  155. package/dist/cjs/utils/prestation.js +9 -4
  156. package/dist/cjs/utils/prestation.js.map +1 -1
  157. package/dist/cjs/utils/vat/3517/century25.js +53 -53
  158. package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
  159. package/dist/mjs/api/resources/AutomaticRegistration.d.ts +6 -0
  160. package/dist/mjs/api/resources/AutomaticRegistration.d.ts.map +1 -0
  161. package/dist/mjs/api/resources/AutomaticRegistration.js +7 -0
  162. package/dist/mjs/api/resources/AutomaticRegistration.js.map +1 -0
  163. package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -4
  164. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  165. package/dist/mjs/api/resources/BalanceSheet.js +3 -2
  166. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  167. package/dist/mjs/api/resources/Card.d.ts +2 -4
  168. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  169. package/dist/mjs/api/resources/Card.js +0 -1
  170. package/dist/mjs/api/resources/Card.js.map +1 -1
  171. package/dist/mjs/api/resources/GeneralLedger.d.ts +2 -1
  172. package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
  173. package/dist/mjs/api/resources/GeneralLedger.js +9 -0
  174. package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
  175. package/dist/mjs/api/resources/Report.d.ts +4 -4
  176. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  177. package/dist/mjs/api/resources/Report.js.map +1 -1
  178. package/dist/mjs/api/resources/Revenue.d.ts +8 -0
  179. package/dist/mjs/api/resources/Revenue.d.ts.map +1 -1
  180. package/dist/mjs/api/resources/Revenue.js +6 -0
  181. package/dist/mjs/api/resources/Revenue.js.map +1 -1
  182. package/dist/mjs/api/resources.d.ts +2 -0
  183. package/dist/mjs/api/resources.d.ts.map +1 -1
  184. package/dist/mjs/api/resources.js +2 -0
  185. package/dist/mjs/api/resources.js.map +1 -1
  186. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +7 -0
  187. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  188. package/dist/mjs/types/Enum/AutomaticRegistration.js +38 -0
  189. package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -1
  190. package/dist/mjs/types/Enum/BalanceSheet.d.ts +7 -0
  191. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  192. package/dist/mjs/types/Enum/BalanceSheet.js +61 -0
  193. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  194. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  195. package/dist/mjs/types/Enum/BrandClementine.js +6 -0
  196. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  197. package/dist/mjs/types/Enum/Card.d.ts +10 -0
  198. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  199. package/dist/mjs/types/Enum/Card.js +14 -1
  200. package/dist/mjs/types/Enum/Card.js.map +1 -1
  201. package/dist/mjs/types/Enum/IncomeStatement.d.ts +7 -0
  202. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  203. package/dist/mjs/types/Enum/IncomeStatement.js +39 -0
  204. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  205. package/dist/mjs/types/Enum/LetterType.js +2 -2
  206. package/dist/mjs/types/Enum/LetterType.js.map +1 -1
  207. package/dist/mjs/types/Enum/PrestationType.js +6 -6
  208. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  209. package/dist/mjs/types/Enum/RegistrationSource.d.ts +2 -1
  210. package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  211. package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
  212. package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
  213. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  214. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  215. package/dist/mjs/types/Enum/TransactionRangeFilter.js +8 -0
  216. package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  217. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts +6 -0
  218. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts.map +1 -0
  219. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js +35 -0
  220. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js.map +1 -0
  221. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts +9 -0
  222. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts.map +1 -0
  223. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js +2 -0
  224. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js.map +1 -0
  225. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  226. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  227. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -0
  228. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  229. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  230. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  231. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  232. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js +1 -1
  233. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
  234. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
  235. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  236. package/dist/mjs/types/Interface/api/card/UpdateCard.js +8 -1
  237. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  238. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
  239. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  240. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  241. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +1 -0
  242. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  243. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +7 -0
  244. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  245. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  246. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  247. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  248. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  249. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  250. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  251. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
  252. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  253. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +34 -1
  254. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  255. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  256. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  257. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +11 -1
  258. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  259. package/dist/mjs/types/Interface/api/payment/Params.d.ts +4 -1
  260. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  261. package/dist/mjs/types/Interface/api/payment/Params.js +25 -2
  262. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  263. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  264. package/dist/mjs/types/Interface/api/report/CreateReport.js +0 -9
  265. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  266. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +14 -6
  267. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  268. package/dist/mjs/types/Interface/api/report/UpdateReport.js +135 -1
  269. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  270. package/dist/mjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +11 -10
  271. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
  272. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +304 -0
  273. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
  274. package/dist/mjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
  275. package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
  276. package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
  277. package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -1
  278. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
  279. package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +11 -14
  280. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
  281. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +1 -0
  282. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  283. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  284. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
  285. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  286. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  287. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
  288. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  289. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +26 -1
  290. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  291. package/dist/mjs/types/Interface/models/IImmobilization.d.ts +1 -0
  292. package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  293. package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
  294. package/dist/mjs/types/Interface/models/IPayment.d.ts +1 -0
  295. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  296. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  297. package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
  298. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  299. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  300. package/dist/mjs/types/index.d.ts +8 -6
  301. package/dist/mjs/types/index.d.ts.map +1 -1
  302. package/dist/mjs/types/index.js +8 -7
  303. package/dist/mjs/types/index.js.map +1 -1
  304. package/dist/mjs/utils/checkup.d.ts +0 -20
  305. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  306. package/dist/mjs/utils/checkup.js +0 -1
  307. package/dist/mjs/utils/checkup.js.map +1 -1
  308. package/dist/mjs/utils/exercice.d.ts +8 -1
  309. package/dist/mjs/utils/exercice.d.ts.map +1 -1
  310. package/dist/mjs/utils/exercice.js +10 -1
  311. package/dist/mjs/utils/exercice.js.map +1 -1
  312. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  313. package/dist/mjs/utils/prestation.js +3 -1
  314. package/dist/mjs/utils/prestation.js.map +1 -1
  315. package/dist/mjs/utils/vat/3517/century25.js +53 -53
  316. package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
  317. package/package.json +16 -16
  318. package/ts/api/resources/AutomaticRegistration.ts +8 -0
  319. package/ts/api/resources/BalanceSheet.ts +4 -2
  320. package/ts/api/resources/Card.ts +2 -3
  321. package/ts/api/resources/GeneralLedger.ts +11 -0
  322. package/ts/api/resources/Report.ts +4 -4
  323. package/ts/api/resources/Revenue.ts +8 -0
  324. package/ts/api/resources.ts +2 -0
  325. package/ts/types/Enum/AutomaticRegistration.ts +45 -0
  326. package/ts/types/Enum/BalanceSheet.ts +69 -0
  327. package/ts/types/Enum/BrandClementine.ts +6 -0
  328. package/ts/types/Enum/Card.ts +15 -1
  329. package/ts/types/Enum/IncomeStatement.ts +47 -0
  330. package/ts/types/Enum/LetterType.ts +2 -2
  331. package/ts/types/Enum/PrestationType.ts +6 -6
  332. package/ts/types/Enum/RegistrationSource.ts +1 -0
  333. package/ts/types/Enum/TransactionRangeFilter.ts +6 -0
  334. package/ts/types/Interface/api/automaticRegistration/Query.ts +19 -0
  335. package/ts/types/Interface/api/automaticRegistration/Read.ts +8 -0
  336. package/ts/types/Interface/api/balanceSheet/Query.ts +8 -0
  337. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +3 -0
  338. package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +1 -1
  339. package/ts/types/Interface/api/card/UpdateCard.ts +6 -1
  340. package/ts/types/Interface/api/config/ConfigType.ts +1 -0
  341. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +5 -0
  342. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
  343. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +1 -0
  344. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +26 -1
  345. package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +9 -1
  346. package/ts/types/Interface/api/payment/Params.ts +20 -3
  347. package/ts/types/Interface/api/report/CreateReport.ts +0 -9
  348. package/ts/types/Interface/api/report/UpdateReport.ts +86 -6
  349. package/ts/types/Interface/api/revenue/revenueMovement.ts +257 -0
  350. package/ts/types/Interface/api/{revenueSnapshot.ts → revenue/revenueSnapshot.ts} +3 -1
  351. package/ts/types/Interface/api/{revenueSnapshotGenerate.ts → revenue/revenueSnapshotGenerate.ts} +11 -11
  352. package/ts/types/Interface/api/society/ReadSociety.ts +1 -0
  353. package/ts/types/Interface/api/user/RegisterProspect.ts +4 -0
  354. package/ts/types/Interface/api/user/RegisterWebhook.ts +19 -1
  355. package/ts/types/Interface/models/IImmobilization.ts +1 -0
  356. package/ts/types/Interface/models/IPayment.ts +1 -0
  357. package/ts/types/Interface/models/ISociety.ts +1 -1
  358. package/ts/types/index.ts +8 -9
  359. package/ts/utils/checkup.ts +0 -1
  360. package/ts/utils/exercice.ts +11 -1
  361. package/ts/utils/prestation.ts +3 -1
  362. package/ts/utils/vat/3517/century25.ts +53 -53
  363. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
  364. package/dist/cjs/types/Interface/api/revenueMovement.js.map +0 -1
  365. package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
  366. package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +0 -1
  367. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
  368. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
  369. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
  370. package/dist/mjs/types/Interface/api/revenueMovement.js +0 -2
  371. package/dist/mjs/types/Interface/api/revenueMovement.js.map +0 -1
  372. package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
  373. package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +0 -1
  374. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
  375. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
  376. package/ts/types/Interface/api/revenueMovement.ts +0 -113
  377. /package/dist/cjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
  378. /package/dist/mjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerAccountingEntry.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingJournal, ILettering, IThirdParty } from '../../..';\n\nexport interface IGeneralLedgerAccountingEntry {\n id: number;\n designation: string;\n invoiceNumber?: string;\n journal: AccountingJournal;\n dateValue: string;\n credit: number;\n debit: number;\n intermediateSolde: number;\n thirdParty?: IThirdParty;\n lettering?: ILettering;\n exported?: Date;\n idAccountingTransaction: number;\n idBankAccount?: number;\n}\n"]}
1
+ {"version":3,"file":"IGeneralLedgerAccountingEntry.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingJournal, ILettering, IThirdParty } from '../../..';\n\nexport interface IGeneralLedgerAccountingEntry {\n id: number;\n designation: string;\n invoiceNumber?: string;\n journal: AccountingJournal;\n dateValue: string;\n credit: number;\n debit: number;\n intermediateSolde: number;\n thirdParty?: IThirdParty;\n lettering?: ILettering;\n exported?: Date;\n idAccountingTransaction: number;\n idBankAccount?: number;\n letter?: string | null;\n}\n"]}
@@ -27,6 +27,7 @@ export interface ReadGeneralLedgerSummary {
27
27
  debit: number;
28
28
  balance: number;
29
29
  identifier: string;
30
+ initialBalance: number;
30
31
  entries?: IGeneralLedgerAccountingEntry[];
31
32
  }
32
33
  export declare class QueryGeneralLedgerThirdParty {
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qCAAqC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,6BAA6B,CAAC,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC3C;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAKlB,IAAI,EAAE,MAAM,CAAK;IAKjB,KAAK,EAAE,MAAM,CAAO;IAMpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qCAAqC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,6BAA6B,CAAC,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC3C;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAKlB,IAAI,EAAE,MAAM,CAAK;IAKjB,KAAK,EAAE,MAAM,CAAO;IAMpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAkC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
1
+ {"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAmC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n initialBalance: number;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import { ThirdPartyType } from '../../../Enum/ThirdPartyType';
1
2
  export declare class QueryGeneralLedgerAuxiliary {
2
3
  dateStart: string;
3
4
  dateEnd: string;
@@ -9,4 +10,12 @@ export declare class QueryGeneralLedgerAuxiliary {
9
10
  search?: string;
10
11
  idThirdParty?: number;
11
12
  }
13
+ export type LetteringState = 'all' | 'only' | 'none';
14
+ export declare class QueryGeneralLedgerAuxiliaryPdf {
15
+ startDate: string;
16
+ endDate: string;
17
+ idThirdPartyType?: ThirdPartyType;
18
+ idThirdParty?: number[];
19
+ lettering?: LetteringState;
20
+ }
12
21
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAMA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAErD,qBAAa,8BAA8B;IAGzC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAIlC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryGeneralLedgerAuxiliary = void 0;
12
+ exports.QueryGeneralLedgerAuxiliaryPdf = exports.QueryGeneralLedgerAuxiliary = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
@@ -71,4 +71,33 @@ __decorate([
71
71
  (0, class_validator_1.IsOptional)(),
72
72
  __metadata("design:type", Number)
73
73
  ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
74
+ class QueryGeneralLedgerAuxiliaryPdf {
75
+ }
76
+ exports.QueryGeneralLedgerAuxiliaryPdf = QueryGeneralLedgerAuxiliaryPdf;
77
+ __decorate([
78
+ (0, utils_1.ApiProperty)(),
79
+ (0, class_validator_1.IsDateString)(),
80
+ __metadata("design:type", String)
81
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "startDate", void 0);
82
+ __decorate([
83
+ (0, utils_1.ApiProperty)(),
84
+ (0, class_validator_1.IsDateString)(),
85
+ __metadata("design:type", String)
86
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "endDate", void 0);
87
+ __decorate([
88
+ (0, utils_1.ApiPropertyOptional)(),
89
+ (0, class_validator_1.IsOptional)(),
90
+ __metadata("design:type", Number)
91
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdPartyType", void 0);
92
+ __decorate([
93
+ (0, utils_1.ApiPropertyOptional)(),
94
+ (0, class_validator_1.IsOptional)(),
95
+ __metadata("design:type", Array)
96
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdParty", void 0);
97
+ __decorate([
98
+ (0, utils_1.ApiPropertyOptional)(),
99
+ (0, class_validator_1.IsEnum)(['all', 'only', 'none']),
100
+ (0, class_validator_1.IsOptional)(),
101
+ __metadata("design:type", String)
102
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "lettering", void 0);
74
103
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+BAAc,CAAC;;qEACE;AAKzB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8G;AAC9G,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+BAAc,CAAC;;qEACE;AAKzB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS;AAKxB,MAAa,8BAA8B;CAqB1C;AArBD,wEAqBC;AAlBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;iEACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACC;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;wEACqB;AAIlC;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;oEACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,EAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,IAAA,4BAAU,GAAE;;iEACc","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n\nexport type LetteringState = 'all' | 'only' | 'none';\n\nexport class QueryGeneralLedgerAuxiliaryPdf {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n idThirdPartyType?: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idThirdParty?: number[];\n\n @ApiPropertyOptional()\n @IsEnum(['all', 'only', 'none'])\n @IsOptional()\n lettering?: LetteringState;\n}\n"]}
@@ -5,5 +5,6 @@ export declare class QueryIncomeStatement {
5
5
  export declare class QueryIncomeStatementPdf {
6
6
  startDate: string;
7
7
  endDate: string;
8
+ withDetails?: boolean;
8
9
  }
9
10
  //# sourceMappingURL=QueryIncomeStatement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAElC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"QueryIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAE/B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAElC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAMhB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -10,7 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QueryIncomeStatementPdf = exports.QueryIncomeStatement = void 0;
13
+ const class_validator_1 = require("class-validator");
13
14
  const utils_1 = require("../../../../utils");
15
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
14
16
  class QueryIncomeStatement {
15
17
  }
16
18
  exports.QueryIncomeStatement = QueryIncomeStatement;
@@ -33,4 +35,11 @@ __decorate([
33
35
  (0, utils_1.ApiProperty)(),
34
36
  __metadata("design:type", String)
35
37
  ], QueryIncomeStatementPdf.prototype, "endDate", void 0);
38
+ __decorate([
39
+ (0, utils_1.ApiPropertyOptional)(),
40
+ (0, class_validator_1.IsBoolean)(),
41
+ (0, boolean_transform_1.ToBoolean)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ __metadata("design:type", Boolean)
44
+ ], QueryIncomeStatementPdf.prototype, "withDetails", void 0);
36
45
  //# sourceMappingURL=QueryIncomeStatement.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;uDACI;AAGlB;IADC,IAAA,mBAAW,GAAE;;qDACE;AAGlB,MAAa,uBAAuB;CAMnC;AAND,0DAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;0DACI;AAGlB;IADC,IAAA,mBAAW,GAAE;;wDACE","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryIncomeStatement {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}\n\nexport class QueryIncomeStatementPdf {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}\n"]}
1
+ {"version":3,"file":"QueryIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;uDACI;AAGlB;IADC,IAAA,mBAAW,GAAE;;qDACE;AAGlB,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAVC;IADC,IAAA,mBAAW,GAAE;;0DACI;AAGlB;IADC,IAAA,mBAAW,GAAE;;wDACE;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACS","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryIncomeStatement {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}\n\nexport class QueryIncomeStatementPdf {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withDetails?: boolean;\n}\n"]}
@@ -2,9 +2,11 @@ export declare class CreatePaymentsAutoBilling {
2
2
  idSociety?: number;
3
3
  }
4
4
  export declare class CreatePaymentsRebilling {
5
- idSociety: number;
5
+ idSociety?: number;
6
6
  endDate?: string;
7
7
  nbExercicesToGenerate?: number;
8
+ limit?: number;
9
+ debug?: boolean;
8
10
  }
9
11
  export declare class UpdateCollectable {
10
12
  listIdPayment: number[];
@@ -25,5 +27,6 @@ export declare class UpdatePayment {
25
27
  comment?: string;
26
28
  internComment?: string;
27
29
  datePayment?: Date;
30
+ creditLossAt?: Date;
28
31
  }
29
32
  //# sourceMappingURL=Params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,qBAAqB,CAAC,EAAE,MAAM,CAAK;CACpC;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAA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vB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB"}
@@ -25,11 +25,14 @@ __decorate([
25
25
  class CreatePaymentsRebilling {
26
26
  constructor() {
27
27
  this.nbExercicesToGenerate = 1;
28
+ this.limit = 10;
29
+ this.debug = false;
28
30
  }
29
31
  }
30
32
  exports.CreatePaymentsRebilling = CreatePaymentsRebilling;
31
33
  __decorate([
32
- (0, utils_1.ApiProperty)(),
34
+ (0, utils_1.ApiPropertyOptional)(),
35
+ (0, class_validator_1.IsOptional)(),
33
36
  (0, class_validator_1.IsInt)(),
34
37
  __metadata("design:type", Number)
35
38
  ], CreatePaymentsRebilling.prototype, "idSociety", void 0);
@@ -48,6 +51,19 @@ __decorate([
48
51
  (0, class_validator_1.IsInt)(),
49
52
  __metadata("design:type", Number)
50
53
  ], CreatePaymentsRebilling.prototype, "nbExercicesToGenerate", void 0);
54
+ __decorate([
55
+ (0, utils_1.ApiProperty)({ default: 10 }),
56
+ (0, class_validator_1.IsInt)(),
57
+ (0, class_validator_1.Min)(1),
58
+ __metadata("design:type", Number)
59
+ ], CreatePaymentsRebilling.prototype, "limit", void 0);
60
+ __decorate([
61
+ (0, utils_1.ApiPropertyOptional)({ default: false }),
62
+ (0, class_validator_1.IsOptional)(),
63
+ (0, class_validator_1.IsBoolean)(),
64
+ (0, boolean_transform_1.ToBoolean)(),
65
+ __metadata("design:type", Boolean)
66
+ ], CreatePaymentsRebilling.prototype, "debug", void 0);
51
67
  class UpdateCollectable {
52
68
  }
53
69
  exports.UpdateCollectable = UpdateCollectable;
@@ -156,4 +172,10 @@ __decorate([
156
172
  (0, class_validator_1.IsDate)(),
157
173
  __metadata("design:type", Date)
158
174
  ], UpdatePayment.prototype, "datePayment", void 0);
175
+ __decorate([
176
+ (0, utils_1.ApiPropertyOptional)(),
177
+ (0, class_validator_1.IsOptional)(),
178
+ (0, class_validator_1.IsDate)(),
179
+ __metadata("design:type", Date)
180
+ ], UpdatePayment.prototype, "creditLossAt", void 0);
159
181
  //# sourceMappingURL=Params.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoG;AACpG,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACW;AAErB,MAAa,uBAAuB;IAApC;QAgBE,0BAAqB,GAAY,CAAC,CAAC;IACrC,CAAC;CAAA;AAjBD,0DAiBC;AAdC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACU;AAQlB;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,yBAAyB,EAAE;QAClC,OAAO,EAAE,qCAAqC;KAC/C,CAAC;;wDACe;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC2B;AAGrC,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACE;AAMxB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wDACW;AAGzB,MAAa,aAAa;CA4EzB;AA5ED,sCA4EC;AAxEC;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,GA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AAA,wBAAM,GAAE;8BACK,IAAI;kDAAC","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
+ {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyG;AACzG,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACW;AAErB,MAAa,uBAAuB;IAApC;QAiBE,0BAAqB,GAAY,CAAC,CAAC;QAKnC,UAAK,GAAY,EAAE,CAAC;QAMpB,UAAK,GAAa,KAAK,CAAC;IAC1B,CAAC;CAAA;AA7BD,0DA6BC;AAzBC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACW;AAQnB;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,yBAAyB,EAAE;QAClC,OAAO,EAAE,qCAAqC;KAC/C,CAAC;;wDACe;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC2B;AAKnC;IAHC,IAAA,mBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;sDACa;AAMpB;IAJC,IAAA,2BAAmB,EAAC,EA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JC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;uDACe;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;wDACgB;AAM5B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;sDACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACY;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;kDAAC;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACM,IAAI;mDAAC","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 +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;AAGtC,qBAAa,YAAa,YAAW,OAAO;IAG1C,QAAQ,EAAE,MAAM,CAAC;IAYjB,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;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"}
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateReport = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
- const class_transformer_1 = require("class-transformer");
16
15
  class CreateReport {
17
16
  }
18
17
  exports.CreateReport = CreateReport;
@@ -24,14 +23,6 @@ __decorate([
24
23
  __decorate([
25
24
  (0, utils_1.ApiPropertyOptional)(),
26
25
  (0, class_validator_1.IsOptional)(),
27
- (0, class_transformer_1.Transform)(({ value }) => {
28
- if (typeof value === 'string') {
29
- return value.split(',').map((v) => Number(v.trim()));
30
- }
31
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
32
- return value;
33
- }),
34
- (0, class_validator_1.IsInt)({ each: true }),
35
26
  __metadata("design:type", Array)
36
27
  ], CreateReport.prototype, "idReportType", void 0);
37
28
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;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,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';\nimport { Transform } from 'class-transformer';\n\nexport class CreateReport implements IReport {\n @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @Transform(({ value }) => {\n if (typeof value === 'string') {\n return value.split(',').map((v) => Number(v.trim()));\n }\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return value;\n })\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 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;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,13 +1,21 @@
1
- import { IReport, IUser } from '../../..';
2
- export interface UpdateReport extends IReport {
3
- comment?: string;
4
- note?: string;
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;
5
11
  declareSoupcons?: boolean;
6
12
  state?: number;
7
13
  informerjlb?: boolean;
8
14
  ressenti?: number;
9
15
  action?: number;
10
- idReport?: number;
11
- societyUsers?: IUser[];
16
+ processed?: boolean;
17
+ letterDate?: Date;
18
+ receivedAt?: Date;
19
+ token?: string;
12
20
  }
13
21
  //# 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,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
+ {"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,3 +1,123 @@
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
+ };
2
11
  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);
3
123
  //# sourceMappingURL=UpdateReport.js.map
@@ -1 +1 @@
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
+ {"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,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 interface ICreateRevenueMovementRequest {
5
+ export declare class ICreateRevenueMovementRequest {
6
6
  type: RevenueMovementType;
7
7
  idSociety: number;
8
8
  idExercice?: number;
@@ -19,7 +19,7 @@ export interface ICreateRevenueMovementRequest {
19
19
  /**
20
20
  * DTO pour mettre à jour un mouvement de revenu
21
21
  */
22
- export interface IUpdateRevenueMovementRequest {
22
+ export declare class IUpdateRevenueMovementRequest {
23
23
  type?: RevenueMovementType;
24
24
  idTerminationList?: number;
25
25
  idChurnMovement?: number;
@@ -33,7 +33,7 @@ export interface IUpdateRevenueMovementRequest {
33
33
  /**
34
34
  * Filtres pour récupérer les mouvements de revenu
35
35
  */
36
- export interface IGetRevenueMovementsRequest {
36
+ export declare class 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 interface IGenerateSnapshotRequest {
61
+ export declare class IGenerateSnapshotRequest {
62
62
  date?: string;
63
63
  idSociety?: number;
64
64
  idExercice?: number;
@@ -66,24 +66,25 @@ export interface IGenerateSnapshotRequest {
66
66
  /**
67
67
  * DTO pour générer tous les snapshots de revenu
68
68
  */
69
- export interface IGenerateAllSnapshotsRequest {
69
+ export declare class 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 interface IManageRetroactivityRequest {
75
+ export declare class IManageRetroactivityRequest {
76
76
  idSociety: number;
77
77
  idExercice?: number;
78
+ date?: Date;
78
79
  }
79
80
  /**
80
81
  * Réponse pour la gestion de la rétroactivité
81
82
  */
82
83
  export interface IManageRetroactivityResponse {
83
84
  idSociety: number;
84
- idExercice: number;
85
- exerciceStartDate: Date;
86
- exerciceEndDate: Date;
85
+ idExercice: number[];
86
+ exerciceStartDate: Date[];
87
+ exerciceEndDate: Date[];
87
88
  movementsCreated: {
88
89
  bookings: number;
89
90
  churns: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,MAAM,EAAE,MAAM,CAAC;IAIf,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