@silexpert/core 1.3.157-cutoff.1 → 1.3.157-cutoff.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 (458) 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/Mfa.d.ts +19 -0
  18. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
  19. package/dist/cjs/api/resources/Mfa.js +27 -0
  20. package/dist/cjs/api/resources/Mfa.js.map +1 -0
  21. package/dist/cjs/api/resources/Revenue.d.ts +8 -0
  22. package/dist/cjs/api/resources/Revenue.d.ts.map +1 -1
  23. package/dist/cjs/api/resources/Revenue.js +6 -0
  24. package/dist/cjs/api/resources/Revenue.js.map +1 -1
  25. package/dist/cjs/api/resources.d.ts +4 -0
  26. package/dist/cjs/api/resources.d.ts.map +1 -1
  27. package/dist/cjs/api/resources.js +4 -0
  28. package/dist/cjs/api/resources.js.map +1 -1
  29. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +7 -0
  30. package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/AutomaticRegistration.js +39 -1
  32. package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -1
  33. package/dist/cjs/types/Enum/BalanceSheet.d.ts +7 -0
  34. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/BalanceSheet.js +61 -0
  36. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  37. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  38. package/dist/cjs/types/Enum/BrandClementine.js +6 -0
  39. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  40. package/dist/cjs/types/Enum/Card.d.ts +10 -0
  41. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  42. package/dist/cjs/types/Enum/Card.js +15 -2
  43. package/dist/cjs/types/Enum/Card.js.map +1 -1
  44. package/dist/cjs/types/Enum/IncomeStatement.d.ts +7 -0
  45. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  46. package/dist/cjs/types/Enum/IncomeStatement.js +39 -0
  47. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  48. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  49. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  50. package/dist/cjs/types/Enum/Revenue.d.ts +6 -0
  51. package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
  52. package/dist/cjs/types/Enum/Revenue.js +9 -0
  53. package/dist/cjs/types/Enum/Revenue.js.map +1 -1
  54. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  55. package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  56. package/dist/cjs/types/Enum/TransactionRangeFilter.js +11 -0
  57. package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  58. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  59. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  60. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
  61. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  62. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts +6 -0
  63. package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts.map +1 -0
  64. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js +36 -0
  65. package/dist/cjs/types/Interface/api/automaticRegistration/Query.js.map +1 -0
  66. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts +9 -0
  67. package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts.map +1 -0
  68. package/dist/cjs/types/Interface/api/automaticRegistration/Read.js +3 -0
  69. package/dist/cjs/types/Interface/api/automaticRegistration/Read.js.map +1 -0
  70. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  71. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +11 -1
  73. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  74. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  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 +2 -1
  80. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/card/UpdateCard.js +6 -0
  82. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  84. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
  86. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +1 -0
  88. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/api/documentRequest/Update.js +7 -0
  90. package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -1
  91. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  92. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  93. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  94. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  95. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  96. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
  98. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  99. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +30 -1
  100. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  101. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  102. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +9 -0
  104. package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  105. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +1 -0
  106. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -1
  107. package/dist/cjs/types/Interface/api/informationRequest/Create.js +8 -0
  108. package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -1
  109. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +1 -0
  110. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  111. package/dist/cjs/types/Interface/api/informationRequest/Update.js +8 -0
  112. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  113. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  114. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  115. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
  116. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  117. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  118. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  119. package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
  120. package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  121. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  122. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  123. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
  124. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  125. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  126. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  127. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
  128. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  129. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  130. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  131. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
  132. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  133. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  134. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  135. package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
  136. package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
  137. package/dist/cjs/types/Interface/api/payment/Params.d.ts +2 -1
  138. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  139. package/dist/cjs/types/Interface/api/payment/Params.js +9 -1
  140. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  141. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +43 -5
  142. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  143. package/dist/cjs/types/Interface/api/revenueMovement.js +272 -0
  144. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  145. package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts +2 -1
  146. package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -1
  147. package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +1 -1
  148. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +3 -0
  149. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  150. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +15 -2
  151. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  152. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
  153. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  154. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  155. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
  156. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  157. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +22 -0
  158. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  159. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +1 -0
  160. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  161. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  162. package/dist/cjs/types/Interface/models/IImmobilization.d.ts +1 -0
  163. package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  164. package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
  165. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +1 -0
  166. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -1
  167. package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -1
  168. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  169. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  170. package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  171. package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
  172. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  173. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  174. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  175. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  176. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  177. package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
  178. package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  179. package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
  180. package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
  181. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  182. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  183. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
  184. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  185. package/dist/cjs/types/index.d.ts +3 -0
  186. package/dist/cjs/types/index.d.ts.map +1 -1
  187. package/dist/cjs/types/index.js +3 -0
  188. package/dist/cjs/types/index.js.map +1 -1
  189. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  190. package/dist/cjs/utils/checkup.js +19 -17
  191. package/dist/cjs/utils/checkup.js.map +1 -1
  192. package/dist/cjs/utils/documents.d.ts.map +1 -1
  193. package/dist/cjs/utils/documents.js +6 -0
  194. package/dist/cjs/utils/documents.js.map +1 -1
  195. package/dist/cjs/utils/exercice.d.ts +8 -1
  196. package/dist/cjs/utils/exercice.d.ts.map +1 -1
  197. package/dist/cjs/utils/exercice.js +11 -1
  198. package/dist/cjs/utils/exercice.js.map +1 -1
  199. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  200. package/dist/cjs/utils/prestation.js +9 -4
  201. package/dist/cjs/utils/prestation.js.map +1 -1
  202. package/dist/mjs/api/resources/AutomaticRegistration.d.ts +6 -0
  203. package/dist/mjs/api/resources/AutomaticRegistration.d.ts.map +1 -0
  204. package/dist/mjs/api/resources/AutomaticRegistration.js +7 -0
  205. package/dist/mjs/api/resources/AutomaticRegistration.js.map +1 -0
  206. package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -4
  207. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  208. package/dist/mjs/api/resources/BalanceSheet.js +3 -2
  209. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  210. package/dist/mjs/api/resources/Card.d.ts +2 -4
  211. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  212. package/dist/mjs/api/resources/Card.js +0 -1
  213. package/dist/mjs/api/resources/Card.js.map +1 -1
  214. package/dist/mjs/api/resources/GeneralLedger.d.ts +2 -1
  215. package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
  216. package/dist/mjs/api/resources/GeneralLedger.js +9 -0
  217. package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
  218. package/dist/mjs/api/resources/Mfa.d.ts +19 -0
  219. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
  220. package/dist/mjs/api/resources/Mfa.js +23 -0
  221. package/dist/mjs/api/resources/Mfa.js.map +1 -0
  222. package/dist/mjs/api/resources/Revenue.d.ts +8 -0
  223. package/dist/mjs/api/resources/Revenue.d.ts.map +1 -1
  224. package/dist/mjs/api/resources/Revenue.js +6 -0
  225. package/dist/mjs/api/resources/Revenue.js.map +1 -1
  226. package/dist/mjs/api/resources.d.ts +4 -0
  227. package/dist/mjs/api/resources.d.ts.map +1 -1
  228. package/dist/mjs/api/resources.js +4 -0
  229. package/dist/mjs/api/resources.js.map +1 -1
  230. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +7 -0
  231. package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
  232. package/dist/mjs/types/Enum/AutomaticRegistration.js +38 -0
  233. package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -1
  234. package/dist/mjs/types/Enum/BalanceSheet.d.ts +7 -0
  235. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  236. package/dist/mjs/types/Enum/BalanceSheet.js +61 -0
  237. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  238. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  239. package/dist/mjs/types/Enum/BrandClementine.js +6 -0
  240. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  241. package/dist/mjs/types/Enum/Card.d.ts +10 -0
  242. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  243. package/dist/mjs/types/Enum/Card.js +14 -1
  244. package/dist/mjs/types/Enum/Card.js.map +1 -1
  245. package/dist/mjs/types/Enum/IncomeStatement.d.ts +7 -0
  246. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  247. package/dist/mjs/types/Enum/IncomeStatement.js +39 -0
  248. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  249. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  250. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  251. package/dist/mjs/types/Enum/Revenue.d.ts +6 -0
  252. package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
  253. package/dist/mjs/types/Enum/Revenue.js +8 -0
  254. package/dist/mjs/types/Enum/Revenue.js.map +1 -1
  255. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
  256. package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
  257. package/dist/mjs/types/Enum/TransactionRangeFilter.js +8 -0
  258. package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +1 -0
  259. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  260. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  261. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
  262. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  263. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts +6 -0
  264. package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts.map +1 -0
  265. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js +35 -0
  266. package/dist/mjs/types/Interface/api/automaticRegistration/Query.js.map +1 -0
  267. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts +9 -0
  268. package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts.map +1 -0
  269. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js +2 -0
  270. package/dist/mjs/types/Interface/api/automaticRegistration/Read.js.map +1 -0
  271. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
  272. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  273. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -0
  274. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  275. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
  276. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  277. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  278. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js +1 -1
  279. package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
  280. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
  281. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  282. package/dist/mjs/types/Interface/api/card/UpdateCard.js +8 -1
  283. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  284. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  285. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  286. package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
  287. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  288. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +1 -0
  289. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -1
  290. package/dist/mjs/types/Interface/api/documentRequest/Update.js +8 -0
  291. package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -1
  292. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  293. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  294. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  295. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  296. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  297. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  298. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
  299. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  300. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +34 -1
  301. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  302. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
  303. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  304. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +11 -1
  305. package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  306. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +1 -0
  307. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -1
  308. package/dist/mjs/types/Interface/api/informationRequest/Create.js +10 -1
  309. package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -1
  310. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +1 -0
  311. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  312. package/dist/mjs/types/Interface/api/informationRequest/Update.js +10 -1
  313. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  314. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  315. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  316. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
  317. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  318. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  319. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  320. package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
  321. package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  322. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  323. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  324. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
  325. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  326. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  327. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  328. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
  329. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  330. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  331. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  332. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
  333. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  334. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  335. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  336. package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
  337. package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
  338. package/dist/mjs/types/Interface/api/payment/Params.d.ts +2 -1
  339. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  340. package/dist/mjs/types/Interface/api/payment/Params.js +10 -2
  341. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  342. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +43 -5
  343. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  344. package/dist/mjs/types/Interface/api/revenueMovement.js +303 -1
  345. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  346. package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts +2 -1
  347. package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -1
  348. package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +1 -1
  349. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +3 -0
  350. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  351. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +23 -3
  352. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  353. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
  354. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  355. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  356. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
  357. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
  358. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +26 -1
  359. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
  360. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +1 -0
  361. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  362. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  363. package/dist/mjs/types/Interface/models/IImmobilization.d.ts +1 -0
  364. package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  365. package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
  366. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +1 -0
  367. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -1
  368. package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -1
  369. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  370. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  371. package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  372. package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
  373. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  374. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  375. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  376. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  377. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  378. package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
  379. package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  380. package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
  381. package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
  382. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  383. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  384. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
  385. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  386. package/dist/mjs/types/index.d.ts +3 -0
  387. package/dist/mjs/types/index.d.ts.map +1 -1
  388. package/dist/mjs/types/index.js +3 -0
  389. package/dist/mjs/types/index.js.map +1 -1
  390. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  391. package/dist/mjs/utils/checkup.js +19 -17
  392. package/dist/mjs/utils/checkup.js.map +1 -1
  393. package/dist/mjs/utils/documents.d.ts.map +1 -1
  394. package/dist/mjs/utils/documents.js +6 -0
  395. package/dist/mjs/utils/documents.js.map +1 -1
  396. package/dist/mjs/utils/exercice.d.ts +8 -1
  397. package/dist/mjs/utils/exercice.d.ts.map +1 -1
  398. package/dist/mjs/utils/exercice.js +10 -1
  399. package/dist/mjs/utils/exercice.js.map +1 -1
  400. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  401. package/dist/mjs/utils/prestation.js +3 -1
  402. package/dist/mjs/utils/prestation.js.map +1 -1
  403. package/package.json +17 -17
  404. package/ts/api/resources/AutomaticRegistration.ts +8 -0
  405. package/ts/api/resources/BalanceSheet.ts +4 -2
  406. package/ts/api/resources/Card.ts +2 -3
  407. package/ts/api/resources/GeneralLedger.ts +11 -0
  408. package/ts/api/resources/Mfa.ts +29 -0
  409. package/ts/api/resources/Revenue.ts +8 -0
  410. package/ts/api/resources.ts +4 -0
  411. package/ts/types/Enum/AutomaticRegistration.ts +45 -0
  412. package/ts/types/Enum/BalanceSheet.ts +69 -0
  413. package/ts/types/Enum/BrandClementine.ts +6 -0
  414. package/ts/types/Enum/Card.ts +15 -1
  415. package/ts/types/Enum/IncomeStatement.ts +47 -0
  416. package/ts/types/Enum/PrestationType.ts +16 -16
  417. package/ts/types/Enum/Revenue.ts +18 -9
  418. package/ts/types/Enum/TransactionRangeFilter.ts +6 -0
  419. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
  420. package/ts/types/Interface/api/automaticRegistration/Query.ts +19 -0
  421. package/ts/types/Interface/api/automaticRegistration/Read.ts +8 -0
  422. package/ts/types/Interface/api/balanceSheet/Query.ts +8 -0
  423. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +3 -0
  424. package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +1 -1
  425. package/ts/types/Interface/api/card/UpdateCard.ts +6 -1
  426. package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
  427. package/ts/types/Interface/api/documentRequest/Update.ts +6 -0
  428. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
  429. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +1 -0
  430. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +26 -1
  431. package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +9 -1
  432. package/ts/types/Interface/api/informationRequest/Create.ts +8 -1
  433. package/ts/types/Interface/api/informationRequest/Update.ts +8 -1
  434. package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
  435. package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
  436. package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
  437. package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
  438. package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
  439. package/ts/types/Interface/api/mfa/mfa.ts +21 -0
  440. package/ts/types/Interface/api/payment/Params.ts +9 -3
  441. package/ts/types/Interface/api/revenueMovement.ts +188 -5
  442. package/ts/types/Interface/api/revenueSnapshot.ts +3 -1
  443. package/ts/types/Interface/api/revenueSnapshotGenerate.ts +22 -3
  444. package/ts/types/Interface/api/user/RegisterProspect.ts +4 -0
  445. package/ts/types/Interface/api/user/RegisterWebhook.ts +19 -1
  446. package/ts/types/Interface/models/IDocumentRequest.ts +1 -0
  447. package/ts/types/Interface/models/IImmobilization.ts +1 -0
  448. package/ts/types/Interface/models/IInformationRequest.ts +1 -0
  449. package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
  450. package/ts/types/Interface/models/ISociety.ts +1 -1
  451. package/ts/types/Interface/models/IUser.ts +1 -0
  452. package/ts/types/Interface/models/IUserMfa.ts +11 -0
  453. package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
  454. package/ts/types/index.ts +3 -1
  455. package/ts/utils/checkup.ts +19 -17
  456. package/ts/utils/documents.ts +7 -0
  457. package/ts/utils/exercice.ts +11 -1
  458. package/ts/utils/prestation.ts +3 -1
@@ -17,6 +17,12 @@ export declare enum RevenueMovementType {
17
17
  /** Reactivation (client qui revient) */
18
18
  REACTIVATION = 7
19
19
  }
20
+ /**
21
+ * Récupère le nom de l'enum à partir de sa valeur
22
+ * @param type - La valeur numérique du type de mouvement
23
+ * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
24
+ */
25
+ export declare function getRevenueMovementTypeName(type: RevenueMovementType | number): string;
20
26
  /**
21
27
  * Type de périodicité pour les prestations
22
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
1
+ {"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAErF;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PrestationPeriodicity = exports.RevenueMovementType = void 0;
4
+ exports.getRevenueMovementTypeName = getRevenueMovementTypeName;
4
5
  /**
5
6
  * Type de mouvement de revenu
6
7
  */
@@ -21,6 +22,14 @@ var RevenueMovementType;
21
22
  /** Reactivation (client qui revient) */
22
23
  RevenueMovementType[RevenueMovementType["REACTIVATION"] = 7] = "REACTIVATION";
23
24
  })(RevenueMovementType || (exports.RevenueMovementType = RevenueMovementType = {}));
25
+ /**
26
+ * Récupère le nom de l'enum à partir de sa valeur
27
+ * @param type - La valeur numérique du type de mouvement
28
+ * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
29
+ */
30
+ function getRevenueMovementTypeName(type) {
31
+ return RevenueMovementType[type] || 'UNKNOWN';
32
+ }
24
33
  /**
25
34
  * Type de périodicité pour les prestations
26
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,sDAAsD;IACtD,mEAAW,CAAA;IAEX,iCAAiC;IACjC,+DAAS,CAAA;IAET,iCAAiC;IACjC,uEAAa,CAAA;IAEb,+BAA+B;IAC/B,2EAAe,CAAA;IAEf,2CAA2C;IAC3C,mEAAW,CAAA;IAEX,0CAA0C;IAC1C,uEAAa,CAAA;IAEb,wCAAwC;IACxC,6EAAgB,CAAA;AAClB,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B;AAED;;GAEG;AACH,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,cAAc;IACd,uEAAW,CAAA;IAEX,kBAAkB;IAClB,2EAAa,CAAA;IAEb,aAAa;IACb,qEAAU,CAAA;IAEV,sCAAsC;IACtC,yEAAY,CAAA;AACd,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC","sourcesContent":["/**\n * Type de mouvement de revenu\n */\nexport enum RevenueMovementType {\n /** Nouveau booking (nouvelle prestation souscrite) */\n BOOKING = 1,\n \n /** Churn (résiliation client) */\n CHURN = 2,\n \n /** Provision (revenu différé) */\n PROVISION = 3,\n \n /** Reconnaissance de revenu */\n RECOGNITION = 4,\n \n /** Upgrade (augmentation de prestation) */\n UPGRADE = 5,\n \n /** Downgrade (réduction de prestation) */\n DOWNGRADE = 6,\n \n /** Reactivation (client qui revient) */\n REACTIVATION = 7,\n}\n\n/**\n * Type de périodicité pour les prestations\n */\nexport enum PrestationPeriodicity {\n /** Mensuel */\n MONTHLY = 1,\n \n /** Trimestriel */\n QUARTERLY = 2,\n \n /** Annuel */\n YEARLY = 3,\n \n /** Paiement unique (non récurrent) */\n ONE_TIME = 4,\n}\n"]}
1
+ {"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AA+BA,gEAEC;AAjCD;;GAEG;AACH,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,sDAAsD;IACtD,mEAAW,CAAA;IAEX,iCAAiC;IACjC,+DAAS,CAAA;IAET,iCAAiC;IACjC,uEAAa,CAAA;IAEb,+BAA+B;IAC/B,2EAAe,CAAA;IAEf,2CAA2C;IAC3C,mEAAW,CAAA;IAEX,0CAA0C;IAC1C,uEAAa,CAAA;IAEb,wCAAwC;IACxC,6EAAgB,CAAA;AAClB,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B;AAED;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAkC;IAC3E,OAAO,mBAAmB,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AAChD,CAAC;AAED;;GAEG;AACH,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,cAAc;IACd,uEAAW,CAAA;IAEX,kBAAkB;IAClB,2EAAa,CAAA;IAEb,aAAa;IACb,qEAAU,CAAA;IAEV,sCAAsC;IACtC,yEAAY,CAAA;AACd,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC","sourcesContent":["/**\n * Type de mouvement de revenu\n */\nexport enum RevenueMovementType {\n /** Nouveau booking (nouvelle prestation souscrite) */\n BOOKING = 1,\n\n /** Churn (résiliation client) */\n CHURN = 2,\n\n /** Provision (revenu différé) */\n PROVISION = 3,\n\n /** Reconnaissance de revenu */\n RECOGNITION = 4,\n\n /** Upgrade (augmentation de prestation) */\n UPGRADE = 5,\n\n /** Downgrade (réduction de prestation) */\n DOWNGRADE = 6,\n\n /** Reactivation (client qui revient) */\n REACTIVATION = 7,\n}\n\n/**\n * Récupère le nom de l'enum à partir de sa valeur\n * @param type - La valeur numérique du type de mouvement\n * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)\n */\nexport function getRevenueMovementTypeName(type: RevenueMovementType | number): string {\n return RevenueMovementType[type] || 'UNKNOWN';\n}\n\n/**\n * Type de périodicité pour les prestations\n */\nexport enum PrestationPeriodicity {\n /** Mensuel */\n MONTHLY = 1,\n\n /** Trimestriel */\n QUARTERLY = 2,\n\n /** Annuel */\n YEARLY = 3,\n\n /** Paiement unique (non récurrent) */\n ONE_TIME = 4,\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export declare enum TransactionRangeFilter {
2
+ RANGE_0_TO_100 = 1,
3
+ RANGE_101_TO_500 = 2,
4
+ RANGE_501_TO_1000 = 3,
5
+ RANGE_1001_PLUS = 4
6
+ }
7
+ //# sourceMappingURL=TransactionRangeFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionRangeFilter.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TransactionRangeFilter.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,cAAc,IAAI;IAClB,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,eAAe,IAAI;CACpB"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionRangeFilter = void 0;
4
+ var TransactionRangeFilter;
5
+ (function (TransactionRangeFilter) {
6
+ TransactionRangeFilter[TransactionRangeFilter["RANGE_0_TO_100"] = 1] = "RANGE_0_TO_100";
7
+ TransactionRangeFilter[TransactionRangeFilter["RANGE_101_TO_500"] = 2] = "RANGE_101_TO_500";
8
+ TransactionRangeFilter[TransactionRangeFilter["RANGE_501_TO_1000"] = 3] = "RANGE_501_TO_1000";
9
+ TransactionRangeFilter[TransactionRangeFilter["RANGE_1001_PLUS"] = 4] = "RANGE_1001_PLUS";
10
+ })(TransactionRangeFilter || (exports.TransactionRangeFilter = TransactionRangeFilter = {}));
11
+ //# sourceMappingURL=TransactionRangeFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionRangeFilter.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TransactionRangeFilter.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,uFAAkB,CAAA;IAClB,2FAAoB,CAAA;IACpB,6FAAqB,CAAA;IACrB,yFAAmB,CAAA;AACrB,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC","sourcesContent":["export enum TransactionRangeFilter {\n RANGE_0_TO_100 = 1,\n RANGE_101_TO_500 = 2,\n RANGE_501_TO_1000 = 3,\n RANGE_1001_PLUS = 4,\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export interface IAuthenticationResponse {
2
+ requiresMfa?: boolean;
3
+ userId?: number;
4
+ message?: string;
5
+ token?: string;
6
+ }
7
+ //# sourceMappingURL=AuthenticationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthenticationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationResponse.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"","sourcesContent":["export interface IAuthenticationResponse {\n requiresMfa?: boolean;\n userId?: number;\n message?: string;\n token?: string;\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export declare class QueryAutomaticRegistrationStatistics {
2
+ startDate: string;
3
+ endDate: string;
4
+ withCauses?: boolean;
5
+ }
6
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/automaticRegistration/Query.ts"],"names":[],"mappings":"AAIA,qBAAa,oCAAoC;IAG/C,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAMhB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.QueryAutomaticRegistrationStatistics = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
+ class QueryAutomaticRegistrationStatistics {
17
+ }
18
+ exports.QueryAutomaticRegistrationStatistics = QueryAutomaticRegistrationStatistics;
19
+ __decorate([
20
+ (0, utils_1.ApiProperty)(),
21
+ (0, class_validator_1.IsDateString)(),
22
+ __metadata("design:type", String)
23
+ ], QueryAutomaticRegistrationStatistics.prototype, "startDate", void 0);
24
+ __decorate([
25
+ (0, utils_1.ApiProperty)(),
26
+ (0, class_validator_1.IsDateString)(),
27
+ __metadata("design:type", String)
28
+ ], QueryAutomaticRegistrationStatistics.prototype, "endDate", void 0);
29
+ __decorate([
30
+ (0, utils_1.ApiPropertyOptional)(),
31
+ (0, class_validator_1.IsBoolean)(),
32
+ (0, boolean_transform_1.ToBoolean)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ __metadata("design:type", Boolean)
35
+ ], QueryAutomaticRegistrationStatistics.prototype, "withCauses", void 0);
36
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/automaticRegistration/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;uEACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;qEACC;AAMhB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACQ","sourcesContent":["import { IsBoolean, IsDateString, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryAutomaticRegistrationStatistics {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withCauses?: boolean;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ export type ReadAutomaticRegistrationStatistic = {
2
+ label: string;
3
+ count: number;
4
+ causes?: Array<{
5
+ label: string;
6
+ count: number;
7
+ }>;
8
+ };
9
+ //# sourceMappingURL=Read.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/automaticRegistration/Read.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Read.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/automaticRegistration/Read.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadAutomaticRegistrationStatistic = {\n label: string;\n count: number;\n causes?: Array<{\n label: string;\n count: number;\n }>;\n};\n"]}
@@ -15,6 +15,9 @@ export declare class QueryBalanceSheetSupervisedStatistic {
15
15
  startDate?: string;
16
16
  endDate?: string;
17
17
  }
18
+ export declare class QueryBalanceSheetPdf {
19
+ withDetails?: boolean;
20
+ }
18
21
  export declare class QueryBalanceSheetAttestation {
19
22
  idState: number;
20
23
  idSociety: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,0BAA0B;IAGrC,IAAI,EAAE,MAAM,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AAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,4BAA4B;IAGvC,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,cAAc,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,MAAM,CAAC;IAInB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,qBAAa,6BAA6B;IAGxC,WAAW,EAAE,MAAM,CAAC;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAI3B,SAAS,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAC;IAIf,aAAa,EAAE,MAAM,CAAC;IAatB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iCAAiC;IAE5C,IAAI,EAAE,KAAK,CAAC;CACb"}
@@ -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.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestation = exports.QueryBalanceSheetAttestation = exports.QueryBalanceSheetSupervisedStatistic = exports.QueryBalanceSheetMonthlyStatistic = exports.QueryBalanceSheetGenerateUnpaid = exports.QueryBalanceSheetStatistic = void 0;
12
+ exports.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestation = exports.QueryBalanceSheetAttestation = exports.QueryBalanceSheetPdf = exports.QueryBalanceSheetSupervisedStatistic = exports.QueryBalanceSheetMonthlyStatistic = exports.QueryBalanceSheetGenerateUnpaid = exports.QueryBalanceSheetStatistic = void 0;
13
13
  const utils_1 = require("../../../../utils");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const Supervision_1 = require("../../../Enum/Supervision");
@@ -72,6 +72,16 @@ __decorate([
72
72
  (0, class_validator_1.IsDateString)(),
73
73
  __metadata("design:type", String)
74
74
  ], QueryBalanceSheetSupervisedStatistic.prototype, "endDate", void 0);
75
+ class QueryBalanceSheetPdf {
76
+ }
77
+ exports.QueryBalanceSheetPdf = QueryBalanceSheetPdf;
78
+ __decorate([
79
+ (0, utils_1.ApiPropertyOptional)(),
80
+ (0, class_validator_1.IsBoolean)(),
81
+ (0, boolean_transform_1.ToBoolean)(),
82
+ (0, class_validator_1.IsOptional)(),
83
+ __metadata("design:type", Boolean)
84
+ ], QueryBalanceSheetPdf.prototype, "withDetails", void 0);
75
85
  class QueryBalanceSheetAttestation {
76
86
  }
77
87
  exports.QueryBalanceSheetAttestation = QueryBalanceSheetAttestation;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACO;AAGrB,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAF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C,wBAAwB;QACpC,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACO;AAGrB,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;kEACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4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C,6BAA6B;QACzC,yBAAW,CAAC,cAAc;QAC1B,yBAAW,CAAC,wBAAwB;QACpC,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetPdf {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withDetails?: boolean;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import { BalanceSheetDescriptionAccount } from '../../../Enum/BalanceSheet';
1
2
  export type ReadBalanceSheetItem = {
2
3
  name: string;
3
4
  total: number;
@@ -8,6 +9,7 @@ export type ReadBalanceSheetItem = {
8
9
  description?: ReadBalanceSheetList;
9
10
  key: string;
10
11
  calculation?: boolean;
12
+ accountsDescription?: BalanceSheetDescriptionAccount[];
11
13
  };
12
14
  export type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;
13
15
  //# sourceMappingURL=ReadBalanceSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadBalanceSheet.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"ReadBalanceSheet.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,8BAA8B,EAAE,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadBalanceSheet.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadBalanceSheetItem = {\n name: string;\n total: number;\n totalDeducted: number;\n totalNet: number;\n isCategory?: boolean;\n isSubcategory?: boolean;\n description?: ReadBalanceSheetList;\n key: string;\n calculation?: boolean;\n};\n\nexport type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;\n"]}
1
+ {"version":3,"file":"ReadBalanceSheet.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"","sourcesContent":["import { BalanceSheetDescriptionAccount } from '../../../Enum/BalanceSheet';\n\nexport type ReadBalanceSheetItem = {\n name: string;\n total: number;\n totalDeducted: number;\n totalNet: number;\n isCategory?: boolean;\n isSubcategory?: boolean;\n description?: ReadBalanceSheetList;\n key: string;\n calculation?: boolean;\n accountsDescription?: BalanceSheetDescriptionAccount[];\n};\n\nexport type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;\n"]}
@@ -10,74 +10,74 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EmailSendOptionsDto = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
13
+ const utils_1 = require("../../../../utils");
14
14
  const class_validator_1 = require("class-validator");
15
15
  class EmailSendOptionsDto {
16
16
  }
17
17
  exports.EmailSendOptionsDto = EmailSendOptionsDto;
18
18
  __decorate([
19
- (0, swagger_1.ApiProperty)({ description: 'Recipient email address' }),
19
+ (0, utils_1.ApiProperty)({ description: 'Recipient email address' }),
20
20
  (0, class_validator_1.IsEmail)(),
21
21
  __metadata("design:type", String)
22
22
  ], EmailSendOptionsDto.prototype, "to", void 0);
23
23
  __decorate([
24
- (0, swagger_1.ApiPropertyOptional)({ description: 'Email subject' }),
24
+ (0, utils_1.ApiPropertyOptional)({ description: 'Email subject' }),
25
25
  (0, class_validator_1.IsString)(),
26
26
  (0, class_validator_1.IsOptional)(),
27
27
  __metadata("design:type", String)
28
28
  ], EmailSendOptionsDto.prototype, "subject", void 0);
29
29
  __decorate([
30
- (0, swagger_1.ApiPropertyOptional)({ description: 'Sender email address' }),
30
+ (0, utils_1.ApiPropertyOptional)({ description: 'Sender email address' }),
31
31
  (0, class_validator_1.IsOptional)(),
32
32
  (0, class_validator_1.IsEmail)(),
33
33
  __metadata("design:type", String)
34
34
  ], EmailSendOptionsDto.prototype, "from", void 0);
35
35
  __decorate([
36
- (0, swagger_1.ApiPropertyOptional)({ description: 'Sender name' }),
36
+ (0, utils_1.ApiPropertyOptional)({ description: 'Sender name' }),
37
37
  (0, class_validator_1.IsOptional)(),
38
38
  (0, class_validator_1.IsString)(),
39
39
  __metadata("design:type", String)
40
40
  ], EmailSendOptionsDto.prototype, "fromName", void 0);
41
41
  __decorate([
42
- (0, swagger_1.ApiPropertyOptional)({ description: 'Reply-to email address' }),
42
+ (0, utils_1.ApiPropertyOptional)({ description: 'Reply-to email address' }),
43
43
  (0, class_validator_1.IsOptional)(),
44
44
  (0, class_validator_1.IsEmail)(),
45
45
  __metadata("design:type", String)
46
46
  ], EmailSendOptionsDto.prototype, "replyTo", void 0);
47
47
  __decorate([
48
- (0, swagger_1.ApiPropertyOptional)({ description: 'CC email address' }),
48
+ (0, utils_1.ApiPropertyOptional)({ description: 'CC email address' }),
49
49
  (0, class_validator_1.IsOptional)(),
50
50
  (0, class_validator_1.IsEmail)(),
51
51
  __metadata("design:type", String)
52
52
  ], EmailSendOptionsDto.prototype, "cc", void 0);
53
53
  __decorate([
54
- (0, swagger_1.ApiPropertyOptional)({ description: 'BCC email address' }),
54
+ (0, utils_1.ApiPropertyOptional)({ description: 'BCC email address' }),
55
55
  (0, class_validator_1.IsOptional)(),
56
56
  (0, class_validator_1.IsEmail)(),
57
57
  __metadata("design:type", String)
58
58
  ], EmailSendOptionsDto.prototype, "bcc", void 0);
59
59
  __decorate([
60
- (0, swagger_1.ApiPropertyOptional)({ description: 'Custom ID for tracking' }),
60
+ (0, utils_1.ApiPropertyOptional)({ description: 'Custom ID for tracking' }),
61
61
  (0, class_validator_1.IsOptional)(),
62
62
  (0, class_validator_1.IsString)(),
63
63
  __metadata("design:type", String)
64
64
  ], EmailSendOptionsDto.prototype, "customId", void 0);
65
65
  __decorate([
66
- (0, swagger_1.ApiPropertyOptional)({ description: 'HTML content for the email' }),
66
+ (0, utils_1.ApiPropertyOptional)({ description: 'HTML content for the email' }),
67
67
  (0, class_validator_1.IsOptional)(),
68
68
  (0, class_validator_1.IsString)(),
69
69
  (0, class_validator_1.ValidateIf)((o) => !o.templateId),
70
70
  __metadata("design:type", String)
71
71
  ], EmailSendOptionsDto.prototype, "htmlContent", void 0);
72
72
  __decorate([
73
- (0, swagger_1.ApiPropertyOptional)({ description: 'Brevo template ID' }),
73
+ (0, utils_1.ApiPropertyOptional)({ description: 'Brevo template ID' }),
74
74
  (0, class_validator_1.IsOptional)(),
75
75
  (0, class_validator_1.IsNumber)(),
76
76
  (0, class_validator_1.ValidateIf)((o) => !o.htmlContent),
77
77
  __metadata("design:type", Number)
78
78
  ], EmailSendOptionsDto.prototype, "templateId", void 0);
79
79
  __decorate([
80
- (0, swagger_1.ApiPropertyOptional)({ description: 'Template variables' }),
80
+ (0, utils_1.ApiPropertyOptional)({ description: 'Template variables' }),
81
81
  (0, class_validator_1.IsOptional)(),
82
82
  (0, class_validator_1.IsObject)(),
83
83
  (0, class_validator_1.ValidateIf)((o) => !!o.templateId),
@@ -1 +1 @@
1
- {"version":3,"file":"EmailSendOptions.dto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/EmailSendOptions.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAAgG;AAEhG,MAAa,mBAAmB;CAyD/B;AAzDD,kDAyDC;AAtDC;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACvD,IAAA,yBAAO,GAAE;;+CACC;AAKX;IAHC,IAAA,6BAAmB,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;IACrD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACI;AAKjB;IAHC,IAAA,6BAAmB,EAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IAC5D,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAKd;IAHC,IAAA,6BAAmB,EAAC,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACnD,IAAA,4BAAU,GAAE;IACZ,IAAA,0B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@nestjs/swagger';\nimport { IsString, IsEmail, IsOptional, IsNumber, IsObject, ValidateIf } from 'class-validator';\n\nexport class EmailSendOptionsDto {\n @ApiProperty({ description: 'Recipient email address' })\n @IsEmail()\n to: string;\n\n @ApiPropertyOptional({ description: 'Email subject' })\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional({ description: 'Sender email address' })\n @IsOptional()\n @IsEmail()\n from?: string;\n\n @ApiPropertyOptional({ description: 'Sender name' })\n @IsOptional()\n @IsString()\n fromName?: string;\n\n @ApiPropertyOptional({ description: 'Reply-to email address' })\n @IsOptional()\n @IsEmail()\n replyTo?: string;\n\n @ApiPropertyOptional({ description: 'CC email address' })\n @IsOptional()\n @IsEmail()\n cc?: string;\n\n @ApiPropertyOptional({ description: 'BCC email address' })\n @IsOptional()\n @IsEmail()\n bcc?: string;\n\n @ApiPropertyOptional({ description: 'Custom ID for tracking' })\n @IsOptional()\n @IsString()\n customId?: string;\n\n @ApiPropertyOptional({ description: 'HTML content for the email' })\n @IsOptional()\n @IsString()\n @ValidateIf((o) => !o.templateId)\n htmlContent?: string;\n\n @ApiPropertyOptional({ description: 'Brevo template ID' })\n @IsOptional()\n @IsNumber()\n @ValidateIf((o) => !o.htmlContent)\n templateId?: number;\n\n @ApiPropertyOptional({ description: 'Template variables' })\n @IsOptional()\n @IsObject()\n @ValidateIf((o) => !!o.templateId)\n variables?: Record<string, any>;\n}\n"]}
1
+ {"version":3,"file":"EmailSendOptions.dto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/EmailSendOptions.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAEhG,MAAa,mBAAmB;CAyD/B;AAzDD,kDAyDC;AAtDC;IAFC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACvD,IAAA,yBAAO,GAAE;;+CACC;AAKX;IAHC,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAA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AC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;;uDACd;AAMpB;IAJC,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAAE,oBAAoB,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;;sDACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsString, IsEmail, IsOptional, IsNumber, IsObject, ValidateIf } from 'class-validator';\n\nexport class EmailSendOptionsDto {\n @ApiProperty({ description: 'Recipient email address' })\n @IsEmail()\n to: string;\n\n @ApiPropertyOptional({ description: 'Email subject' })\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional({ description: 'Sender email address' })\n @IsOptional()\n @IsEmail()\n from?: string;\n\n @ApiPropertyOptional({ description: 'Sender name' })\n @IsOptional()\n @IsString()\n fromName?: string;\n\n @ApiPropertyOptional({ description: 'Reply-to email address' })\n @IsOptional()\n @IsEmail()\n replyTo?: string;\n\n @ApiPropertyOptional({ description: 'CC email address' })\n @IsOptional()\n @IsEmail()\n cc?: string;\n\n @ApiPropertyOptional({ description: 'BCC email address' })\n @IsOptional()\n @IsEmail()\n bcc?: string;\n\n @ApiPropertyOptional({ description: 'Custom ID for tracking' })\n @IsOptional()\n @IsString()\n customId?: string;\n\n @ApiPropertyOptional({ description: 'HTML content for the email' })\n @IsOptional()\n @IsString()\n @ValidateIf((o) => !o.templateId)\n htmlContent?: string;\n\n @ApiPropertyOptional({ description: 'Brevo template ID' })\n @IsOptional()\n @IsNumber()\n @ValidateIf((o) => !o.htmlContent)\n templateId?: number;\n\n @ApiPropertyOptional({ description: 'Template variables' })\n @IsOptional()\n @IsObject()\n @ValidateIf((o) => !!o.templateId)\n variables?: Record<string, any>;\n}\n"]}
@@ -1,6 +1,7 @@
1
- import { CardState, CardType } from '../../../Enum/Card';
1
+ import { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';
2
2
  export declare class AssignCard {
3
3
  type: CardType;
4
+ transactionRangeFilter?: TransactionRangeFilter;
4
5
  }
5
6
  export declare class UpdateCardV2 {
6
7
  state?: CardState;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCard.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGzD,qBAAa,UAAU;IAGrB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,qBAAa,YAAY;IAIvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAIlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,UAAU;IAKrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAKhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAKlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"UpdateCard.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,qBAAa,UAAU;IAGrB,IAAI,EAAE,QAAQ,CAAC;IAKf,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;CACjD;AAED,qBAAa,YAAY;IAIvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAIlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,UAAU;IAKrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAKhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAKlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -22,6 +22,12 @@ __decorate([
22
22
  (0, class_validator_1.IsEnum)(Card_1.CardType),
23
23
  __metadata("design:type", Number)
24
24
  ], AssignCard.prototype, "type", void 0);
25
+ __decorate([
26
+ (0, utils_1.ApiPropertyOptional)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsEnum)(Card_1.TransactionRangeFilter),
29
+ __metadata("design:type", Number)
30
+ ], AssignCard.prototype, "transactionRangeFilter", void 0);
25
31
  class UpdateCardV2 {
26
32
  }
27
33
  exports.UpdateCardV2 = UpdateCardV2;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCard.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyF;AACzF,6CAAqE;AACrE,6CAAyD;AACzD,sFAA2E;AAE3E,MAAa,UAAU;CAItB;AAJD,gCAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,eAAQ,CAAC;;wCACF;AAGjB,MAAa,YAAY;CAwBxB;AAxBD,oCAwBC;AApBC;IAHC,IAA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esContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardState, CardType } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class AssignCard {\n @ApiProperty()\n @IsEnum(CardType)\n type: CardType;\n}\n\nexport class UpdateCardV2 {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n priority?: number;\n}\n\n/**\n * @deprecated Use UpdateCardV2 instead\n */\nexport class UpdateCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardType)\n type?: CardType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n isManual?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isBlocked?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n}\n"]}
1
+ {"version":3,"file":"UpdateCard.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyF;AACzF,6CAAqE;AACrE,6CAAiF;AACjF,sFAA2E;AAE3E,MAAa,UAAU;CAStB;AATD,gCASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,eAAQ,CAAC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AA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0CACQ;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACM","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class AssignCard {\n @ApiProperty()\n @IsEnum(CardType)\n type: CardType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TransactionRangeFilter)\n transactionRangeFilter?: TransactionRangeFilter;\n}\n\nexport class UpdateCardV2 {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n priority?: number;\n}\n\n/**\n * @deprecated Use UpdateCardV2 instead\n */\nexport class UpdateCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardType)\n type?: CardType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n isManual?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isBlocked?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n}\n"]}
@@ -6,5 +6,6 @@ export declare class CreateDocumentRequest implements Omit<IDocumentRequest, 'id
6
6
  idExercice?: number;
7
7
  idBalanceSheet?: number;
8
8
  comment?: string;
9
+ isMandatory?: boolean;
9
10
  }
10
11
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -13,6 +13,7 @@ exports.CreateDocumentRequest = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const Ged_1 = require("../../../Enum/Ged");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
17
  class CreateDocumentRequest {
17
18
  }
18
19
  exports.CreateDocumentRequest = CreateDocumentRequest;
@@ -43,4 +44,11 @@ __decorate([
43
44
  (0, class_validator_1.IsOptional)(),
44
45
  __metadata("design:type", String)
45
46
  ], CreateDocumentRequest.prototype, "comment", void 0);
47
+ __decorate([
48
+ (0, utils_1.ApiPropertyOptional)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ (0, class_validator_1.IsBoolean)(),
51
+ (0, boolean_transform_1.ToBoolean)(),
52
+ __metadata("design:type", Boolean)
53
+ ], CreateDocumentRequest.prototype, "isMandatory", void 0);
46
54
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,6CAAqE;AAErE,2CAA6C;AAE7C,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC;AAnBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI","sourcesContent":["import { IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAqE;AAErE,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CA4BjC;AA5BD,sDA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
@@ -7,5 +7,6 @@ export declare class UpdateDocumentRequest implements Partial<Omit<IDocumentRequ
7
7
  idBalanceSheet?: number;
8
8
  comment?: string;
9
9
  isNotConcerned?: boolean;
10
+ isMandatory?: boolean;
10
11
  }
11
12
  //# sourceMappingURL=Update.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,GAAG,gBAAgB,CAAC,CAAC;IAItH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
1
+ {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,GAAG,gBAAgB,CAAC,CAAC;IAItH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,cAAc,CAAC,EAAE,OAAO,CAAC;IAMzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -53,4 +53,11 @@ __decorate([
53
53
  (0, boolean_transform_1.ToBoolean)(),
54
54
  __metadata("design:type", Boolean)
55
55
  ], UpdateDocumentRequest.prototype, "isNotConcerned", void 0);
56
+ __decorate([
57
+ (0, utils_1.ApiPropertyOptional)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ (0, class_validator_1.IsBoolean)(),
60
+ (0, boolean_transform_1.ToBoolean)(),
61
+ __metadata("design:type", Boolean)
62
+ ], UpdateDocumentRequest.prototype, "isMandatory", void 0);
56
63
  //# sourceMappingURL=Update.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAwD;AAExD,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CA8BjC;AA9BD,sDA8BC;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACG;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACa","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TypeFile)\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNotConcerned?: boolean;\n}"]}
1
+ {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAwD;AAExD,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CAoCjC;AApCD,sDAoCC;AAhCC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACG;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACa;AAMzB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TypeFile)\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNotConcerned?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}"]}
@@ -13,5 +13,6 @@ export interface IGeneralLedgerAccountingEntry {
13
13
  exported?: Date;
14
14
  idAccountingTransaction: number;
15
15
  idBankAccount?: number;
16
+ letter?: string | null;
16
17
  }
17
18
  //# sourceMappingURL=IGeneralLedgerAccountingEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEtE,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,uBAAuB,EAAE,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"IGeneralLedgerAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEtE,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,uBAAuB,EAAE,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -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"]}