@silexpert/core 0.4.286 → 1.0.5

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 (855) hide show
  1. package/CHANGELOG.md +0 -17
  2. package/es/api/resources/BudgetInsight.d.ts +7 -0
  3. package/es/api/resources/BudgetInsight.d.ts.map +1 -1
  4. package/es/api/resources/BudgetInsight.js +8 -0
  5. package/es/api/resources/BudgetInsight.js.map +1 -1
  6. package/es/api/resources/CalendarEvent.d.ts +1 -2
  7. package/es/api/resources/CalendarEvent.d.ts.map +1 -1
  8. package/es/api/resources/CalendarEvent.js +2 -2
  9. package/es/api/resources/CalendarEvent.js.map +1 -1
  10. package/es/api/resources/CommercialSetting.d.ts +7 -0
  11. package/es/api/resources/CommercialSetting.d.ts.map +1 -0
  12. package/es/api/resources/CommercialSetting.js +10 -0
  13. package/es/api/resources/CommercialSetting.js.map +1 -0
  14. package/es/api/resources/Connector.d.ts +4 -1
  15. package/es/api/resources/Connector.d.ts.map +1 -1
  16. package/es/api/resources/Connector.js +9 -0
  17. package/es/api/resources/Connector.js.map +1 -1
  18. package/es/api/resources/Dashboard.d.ts +1 -2
  19. package/es/api/resources/Dashboard.d.ts.map +1 -1
  20. package/es/api/resources/Dashboard.js +0 -3
  21. package/es/api/resources/Dashboard.js.map +1 -1
  22. package/es/api/resources/Exercice.d.ts +0 -1
  23. package/es/api/resources/Exercice.d.ts.map +1 -1
  24. package/es/api/resources/Exercice.js +0 -3
  25. package/es/api/resources/Exercice.js.map +1 -1
  26. package/es/api/resources/FecFile.d.ts +0 -6
  27. package/es/api/resources/FecFile.d.ts.map +1 -1
  28. package/es/api/resources/FecFile.js +6 -26
  29. package/es/api/resources/FecFile.js.map +1 -1
  30. package/es/api/resources/GeneralLedger.d.ts +1 -1
  31. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  32. package/es/api/resources/GeneralLedger.js +2 -2
  33. package/es/api/resources/GeneralLedger.js.map +1 -1
  34. package/es/api/resources/Invoice.d.ts +11 -0
  35. package/es/api/resources/Invoice.d.ts.map +1 -0
  36. package/es/api/resources/Invoice.js +19 -0
  37. package/es/api/resources/Invoice.js.map +1 -0
  38. package/es/api/resources/Loan.js +1 -1
  39. package/es/api/resources/Loan.js.map +1 -1
  40. package/es/api/resources/Mail.d.ts +1 -1
  41. package/es/api/resources/Mail.d.ts.map +1 -1
  42. package/es/api/resources/Mail.js +3 -4
  43. package/es/api/resources/Mail.js.map +1 -1
  44. package/es/api/resources/Partner.d.ts +0 -1
  45. package/es/api/resources/Partner.d.ts.map +1 -1
  46. package/es/api/resources/Partner.js +0 -3
  47. package/es/api/resources/Partner.js.map +1 -1
  48. package/es/api/resources/Qonto.d.ts +1 -6
  49. package/es/api/resources/Qonto.d.ts.map +1 -1
  50. package/es/api/resources/Qonto.js +1 -16
  51. package/es/api/resources/Qonto.js.map +1 -1
  52. package/es/api/resources/User.d.ts +2 -2
  53. package/es/api/resources/User.d.ts.map +1 -1
  54. package/es/api/resources/User.js +11 -2
  55. package/es/api/resources/User.js.map +1 -1
  56. package/es/api/resources/commercialDocument.d.ts +18 -0
  57. package/es/api/resources/commercialDocument.d.ts.map +1 -0
  58. package/es/api/resources/commercialDocument.js +41 -0
  59. package/es/api/resources/commercialDocument.js.map +1 -0
  60. package/es/api/resources/reminder.d.ts +8 -0
  61. package/es/api/resources/reminder.d.ts.map +1 -0
  62. package/es/api/resources/reminder.js +13 -0
  63. package/es/api/resources/reminder.js.map +1 -0
  64. package/es/api/resources.d.ts +8 -16
  65. package/es/api/resources.d.ts.map +1 -1
  66. package/es/api/resources.js +8 -16
  67. package/es/api/resources.js.map +1 -1
  68. package/es/index.d.ts +1 -0
  69. package/es/index.d.ts.map +1 -1
  70. package/es/index.js +1 -0
  71. package/es/index.js.map +1 -1
  72. package/es/types/Enum/Account.d.ts +8 -0
  73. package/es/types/Enum/Account.d.ts.map +1 -1
  74. package/es/types/Enum/Account.js +8 -0
  75. package/es/types/Enum/Account.js.map +1 -1
  76. package/es/types/Enum/BrandClementine.d.ts +1 -12
  77. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  78. package/es/types/Enum/BrandClementine.js +1 -10
  79. package/es/types/Enum/BrandClementine.js.map +1 -1
  80. package/es/types/Enum/BrandComptalib.d.ts +0 -87
  81. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  82. package/es/types/Enum/BrandComptalib.js +4 -13
  83. package/es/types/Enum/BrandComptalib.js.map +1 -1
  84. package/es/types/Enum/BrandLegalstart.d.ts +0 -3
  85. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  86. package/es/types/Enum/BrandLegalstart.js +0 -3
  87. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  88. package/es/types/Enum/BrandPourcentage.d.ts +0 -4
  89. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  90. package/es/types/Enum/BrandPourcentage.js +3 -7
  91. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  92. package/es/types/Enum/BudgetInsight.js.map +1 -1
  93. package/es/types/Enum/CommercialManagement.d.ts +32 -0
  94. package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
  95. package/es/types/Enum/CommercialManagement.js +39 -0
  96. package/es/types/Enum/CommercialManagement.js.map +1 -0
  97. package/es/types/Enum/EstimateInvoice.d.ts +1 -1
  98. package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
  99. package/es/types/Enum/EstimateInvoice.js +1 -1
  100. package/es/types/Enum/EstimateInvoice.js.map +1 -1
  101. package/es/types/Enum/Log.d.ts +1 -2
  102. package/es/types/Enum/Log.d.ts.map +1 -1
  103. package/es/types/Enum/Log.js +0 -1
  104. package/es/types/Enum/Log.js.map +1 -1
  105. package/es/types/Enum/{PrestationType.d.ts → Prestation.d.ts} +3 -4
  106. package/es/types/Enum/Prestation.d.ts.map +1 -0
  107. package/es/types/Enum/Prestation.js +16 -0
  108. package/es/types/Enum/Prestation.js.map +1 -0
  109. package/es/types/Enum/Role.d.ts +11 -6
  110. package/es/types/Enum/Role.d.ts.map +1 -1
  111. package/es/types/Enum/Role.js +10 -15
  112. package/es/types/Enum/Role.js.map +1 -1
  113. package/es/types/Enum/RoleDetail.d.ts +51 -42
  114. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  115. package/es/types/Enum/RoleDetail.js +64 -127
  116. package/es/types/Enum/RoleDetail.js.map +1 -1
  117. package/es/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  118. package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  119. package/es/types/Enum/TaskResponseType.d.ts +0 -9
  120. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  121. package/es/types/Enum/TaskResponseType.js +2 -57
  122. package/es/types/Enum/TaskResponseType.js.map +1 -1
  123. package/es/types/Enum/TimeCounterType.d.ts +12 -40
  124. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  125. package/es/types/Enum/TimeCounterType.js +19 -47
  126. package/es/types/Enum/TimeCounterType.js.map +1 -1
  127. package/es/types/Enum/Vat.d.ts +1 -17
  128. package/es/types/Enum/Vat.d.ts.map +1 -1
  129. package/es/types/Enum/Vat.js +26 -24
  130. package/es/types/Enum/Vat.js.map +1 -1
  131. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +0 -1
  132. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  133. package/es/types/Interface/api/3cx/Query3cxSearch.js +0 -6
  134. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  135. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  136. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +0 -1
  137. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  138. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  139. package/es/types/Interface/api/commercialManagement/Create.d.ts +107 -0
  140. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
  141. package/es/types/Interface/api/commercialManagement/Create.js +496 -0
  142. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
  143. package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
  144. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
  145. package/es/types/Interface/api/commercialManagement/Query.js +121 -0
  146. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
  147. package/es/types/Interface/api/commercialManagement/Read.d.ts +60 -0
  148. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
  149. package/es/types/Interface/api/commercialManagement/Read.js +2 -0
  150. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
  151. package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
  152. package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
  153. package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
  154. package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
  155. package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
  156. package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
  157. package/es/types/Interface/api/connector/CreateConnector.js +68 -0
  158. package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
  159. package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
  160. package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
  161. package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
  162. package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
  163. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
  164. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
  165. package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  166. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
  167. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  168. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
  169. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  170. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -1
  171. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  172. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -7
  173. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  174. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
  175. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  176. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
  177. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  178. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
  179. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  180. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
  181. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  182. package/es/types/Interface/api/product/CreateProduct.d.ts +1 -0
  183. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  184. package/es/types/Interface/api/product/CreateProduct.js +9 -6
  185. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  186. package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
  187. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  188. package/es/types/Interface/api/product/QueryProduct.js +15 -1
  189. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  190. package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -2
  191. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
  192. package/es/types/Interface/api/revision/QueryRevision.js +2 -16
  193. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
  194. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
  195. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
  196. package/es/types/Interface/api/revision/QueryRevisionAccount.js +5 -11
  197. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  198. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -2
  199. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
  200. package/es/types/Interface/api/revision/QueryRevisionPaginate.js +2 -16
  201. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  202. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
  203. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  204. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  205. package/es/types/Interface/api/revision/ReadRevision.d.ts +1 -2
  206. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -1
  207. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -1
  208. package/es/types/Interface/api/simulation/CreateSimulation.d.ts +0 -2
  209. package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
  210. package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  211. package/es/types/Interface/api/task/QueryCountTask.d.ts +1 -1
  212. package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
  213. package/es/types/Interface/api/task/QueryCountTask.js +1 -1
  214. package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
  215. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +0 -2
  216. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  217. package/es/types/Interface/api/task/QueryPaginatedTask.js +0 -11
  218. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  219. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +0 -1
  220. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
  221. package/es/types/Interface/api/thirdParty/QueryThirdParty.js +1 -7
  222. package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  223. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
  224. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  225. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
  226. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  227. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
  228. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  229. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
  230. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  231. package/es/types/Interface/models/IAccount.d.ts +0 -2
  232. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  233. package/es/types/Interface/models/IAccount.js.map +1 -1
  234. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
  235. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  236. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  237. package/es/types/Interface/models/IApiError.d.ts +4 -2
  238. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  239. package/es/types/Interface/models/IApiError.js +4 -2
  240. package/es/types/Interface/models/IApiError.js.map +1 -1
  241. package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
  242. package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
  243. package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
  244. package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
  245. package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
  246. package/es/types/Interface/models/ICommercialMail.js +2 -0
  247. package/es/types/Interface/models/ICommercialMail.js.map +1 -0
  248. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
  249. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
  250. package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  251. package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
  252. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  253. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  254. package/es/types/Interface/models/IExercice.d.ts +0 -1
  255. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  256. package/es/types/Interface/models/IExercice.js.map +1 -1
  257. package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
  258. package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
  259. package/es/types/Interface/models/IInvoiceReminder.js +2 -0
  260. package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
  261. package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
  262. package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
  263. package/es/types/Interface/models/ILegalNotice.js.map +1 -1
  264. package/es/types/Interface/models/ILoan.d.ts +0 -2
  265. package/es/types/Interface/models/ILoan.d.ts.map +1 -1
  266. package/es/types/Interface/models/ILoan.js.map +1 -1
  267. package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
  268. package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
  269. package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
  270. package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  271. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  272. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  273. package/es/types/Interface/models/IPrestationComplementary.d.ts +1 -1
  274. package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
  275. package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
  276. package/es/types/Interface/models/IProduct.d.ts +1 -0
  277. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  278. package/es/types/Interface/models/IProduct.js.map +1 -1
  279. package/es/types/Interface/models/IProductInvoice.d.ts +5 -3
  280. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
  281. package/es/types/Interface/models/IProductInvoice.js.map +1 -1
  282. package/es/types/Interface/models/ISociety.d.ts +1 -2
  283. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  284. package/es/types/Interface/models/ISociety.js.map +1 -1
  285. package/es/types/Interface/models/ISocietyGescom.d.ts +13 -1
  286. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  287. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  288. package/es/types/Interface/models/ISocietyPartner.d.ts +1 -2
  289. package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  290. package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
  291. package/es/types/Interface/models/ITask.d.ts +2 -2
  292. package/es/types/Interface/models/ITask.d.ts.map +1 -1
  293. package/es/types/Interface/models/ITask.js.map +1 -1
  294. package/es/types/index.d.ts +11 -35
  295. package/es/types/index.d.ts.map +1 -1
  296. package/es/types/index.js +11 -35
  297. package/es/types/index.js.map +1 -1
  298. package/es/utils/amount.d.ts +2 -0
  299. package/es/utils/amount.d.ts.map +1 -0
  300. package/es/utils/amount.js +12 -0
  301. package/es/utils/amount.js.map +1 -0
  302. package/es/utils/brands.d.ts +1 -1
  303. package/es/utils/brands.d.ts.map +1 -1
  304. package/es/utils/brands.js +26 -8
  305. package/es/utils/brands.js.map +1 -1
  306. package/es/utils/commercialManagement/document.d.ts +6 -0
  307. package/es/utils/commercialManagement/document.d.ts.map +1 -0
  308. package/es/utils/commercialManagement/document.js +54 -0
  309. package/es/utils/commercialManagement/document.js.map +1 -0
  310. package/es/utils/commercialManagement/product.d.ts +5 -0
  311. package/es/utils/commercialManagement/product.d.ts.map +1 -0
  312. package/es/utils/commercialManagement/product.js +27 -0
  313. package/es/utils/commercialManagement/product.js.map +1 -0
  314. package/es/utils/commercialManagement/templates/body.d.ts +2 -0
  315. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
  316. package/es/utils/commercialManagement/templates/body.js +111 -0
  317. package/es/utils/commercialManagement/templates/body.js.map +1 -0
  318. package/es/utils/commercialManagement/templates/common.d.ts +12 -0
  319. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
  320. package/es/utils/commercialManagement/templates/common.js +199 -0
  321. package/es/utils/commercialManagement/templates/common.js.map +1 -0
  322. package/es/utils/commercialManagement/vat.d.ts +6 -0
  323. package/es/utils/commercialManagement/vat.d.ts.map +1 -0
  324. package/es/utils/commercialManagement/vat.js +22 -0
  325. package/es/utils/commercialManagement/vat.js.map +1 -0
  326. package/es/utils/index.d.ts +2 -0
  327. package/es/utils/index.d.ts.map +1 -1
  328. package/es/utils/index.js +2 -0
  329. package/es/utils/index.js.map +1 -1
  330. package/es/utils/task.d.ts +2 -3
  331. package/es/utils/task.d.ts.map +1 -1
  332. package/es/utils/task.js +19 -23
  333. package/es/utils/task.js.map +1 -1
  334. package/es/utils/webmail.d.ts.map +1 -1
  335. package/es/utils/webmail.js +4 -1
  336. package/es/utils/webmail.js.map +1 -1
  337. package/importInterfaces.ts +1 -1
  338. package/js/api/resources/BudgetInsight.js +10 -0
  339. package/js/api/resources/BudgetInsight.js.map +1 -1
  340. package/js/api/resources/CalendarEvent.js +3 -5
  341. package/js/api/resources/CalendarEvent.js.map +1 -1
  342. package/js/api/resources/CommercialSetting.js +22 -0
  343. package/js/api/resources/CommercialSetting.js.map +1 -0
  344. package/js/api/resources/Connector.js +14 -0
  345. package/js/api/resources/Connector.js.map +1 -1
  346. package/js/api/resources/Dashboard.js +0 -6
  347. package/js/api/resources/Dashboard.js.map +1 -1
  348. package/js/api/resources/Exercice.js +0 -4
  349. package/js/api/resources/Exercice.js.map +1 -1
  350. package/js/api/resources/FecFile.js +6 -34
  351. package/js/api/resources/FecFile.js.map +1 -1
  352. package/js/api/resources/GeneralLedger.js +2 -2
  353. package/js/api/resources/GeneralLedger.js.map +1 -1
  354. package/js/api/resources/Invoice.js +42 -0
  355. package/js/api/resources/Invoice.js.map +1 -0
  356. package/js/api/resources/Loan.js +1 -1
  357. package/js/api/resources/Loan.js.map +1 -1
  358. package/js/api/resources/Mail.js +3 -4
  359. package/js/api/resources/Mail.js.map +1 -1
  360. package/js/api/resources/Partner.js +0 -4
  361. package/js/api/resources/Partner.js.map +1 -1
  362. package/js/api/resources/Qonto.js +1 -23
  363. package/js/api/resources/Qonto.js.map +1 -1
  364. package/js/api/resources/User.js +3 -5
  365. package/js/api/resources/User.js.map +1 -1
  366. package/js/api/resources/commercialDocument.js +74 -0
  367. package/js/api/resources/commercialDocument.js.map +1 -0
  368. package/js/api/resources/reminder.js +26 -0
  369. package/js/api/resources/reminder.js.map +1 -0
  370. package/js/api/resources.js +9 -21
  371. package/js/api/resources.js.map +1 -1
  372. package/js/index.js +12 -0
  373. package/js/index.js.map +1 -1
  374. package/js/types/Enum/Account.js +8 -0
  375. package/js/types/Enum/Account.js.map +1 -1
  376. package/js/types/Enum/BrandClementine.js +1 -10
  377. package/js/types/Enum/BrandClementine.js.map +1 -1
  378. package/js/types/Enum/BrandComptalib.js +5 -14
  379. package/js/types/Enum/BrandComptalib.js.map +1 -1
  380. package/js/types/Enum/BrandLegalstart.js +0 -3
  381. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  382. package/js/types/Enum/BrandPourcentage.js +3 -7
  383. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  384. package/js/types/Enum/BudgetInsight.js.map +1 -1
  385. package/js/types/Enum/CommercialManagement.js +67 -0
  386. package/js/types/Enum/CommercialManagement.js.map +1 -0
  387. package/js/types/Enum/EstimateInvoice.js +1 -1
  388. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  389. package/js/types/Enum/Log.js +0 -1
  390. package/js/types/Enum/Log.js.map +1 -1
  391. package/js/types/Enum/Prestation.js +22 -0
  392. package/js/types/Enum/Prestation.js.map +1 -0
  393. package/js/types/Enum/Role.js +13 -18
  394. package/js/types/Enum/Role.js.map +1 -1
  395. package/js/types/Enum/RoleDetail.js +86 -149
  396. package/js/types/Enum/RoleDetail.js.map +1 -1
  397. package/js/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  398. package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  399. package/js/types/Enum/TaskResponseType.js +3 -56
  400. package/js/types/Enum/TaskResponseType.js.map +1 -1
  401. package/js/types/Enum/TimeCounterType.js +40 -68
  402. package/js/types/Enum/TimeCounterType.js.map +1 -1
  403. package/js/types/Enum/Vat.js +46 -45
  404. package/js/types/Enum/Vat.js.map +1 -1
  405. package/js/types/Interface/api/3cx/Query3cxSearch.js +0 -2
  406. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  407. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  408. package/js/types/Interface/api/commercialManagement/Create.js +235 -0
  409. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -0
  410. package/js/types/Interface/api/commercialManagement/Query.js +79 -0
  411. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -0
  412. package/js/types/Interface/api/{qonto/Query.js → commercialManagement/Read.js} +1 -1
  413. package/js/types/Interface/api/commercialManagement/Read.js.map +1 -0
  414. package/js/types/Interface/api/commercialManagement/Update.js +55 -0
  415. package/js/types/Interface/api/commercialManagement/Update.js.map +1 -0
  416. package/js/types/Interface/api/connector/CreateConnector.js +47 -0
  417. package/js/types/Interface/api/connector/CreateConnector.js.map +1 -0
  418. package/js/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -6
  419. package/js/types/Interface/api/connector/QueryConnector.js.map +1 -0
  420. package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  421. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +0 -2
  422. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  423. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +0 -2
  424. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  425. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
  426. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  427. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
  428. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  429. package/js/types/Interface/api/product/CreateProduct.js +5 -5
  430. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  431. package/js/types/Interface/api/product/QueryProduct.js +6 -0
  432. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  433. package/js/types/Interface/api/revision/QueryRevision.js +0 -6
  434. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  435. package/js/types/Interface/api/revision/QueryRevisionAccount.js +5 -7
  436. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  437. package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -6
  438. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  439. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  440. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  441. package/js/types/Interface/api/task/QueryCountTask.js +1 -1
  442. package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
  443. package/js/types/Interface/api/task/QueryPaginatedTask.js +0 -6
  444. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  445. package/js/types/Interface/api/thirdParty/QueryThirdParty.js +0 -2
  446. package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  447. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
  448. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  449. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
  450. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  451. package/js/types/Interface/models/IApiError.js +5 -3
  452. package/js/types/Interface/models/IApiError.js.map +1 -1
  453. package/js/types/Interface/models/{IStatistic.js → ICommercialMail.js} +1 -1
  454. package/js/types/Interface/models/ICommercialMail.js.map +1 -0
  455. package/js/types/Interface/{api/dashboard/ReadVatDisbursed.js → models/IInvoiceReminder.js} +1 -1
  456. package/js/types/Interface/models/IInvoiceReminder.js.map +1 -0
  457. package/js/types/index.js +64 -352
  458. package/js/types/index.js.map +1 -1
  459. package/js/utils/amount.js +23 -0
  460. package/js/utils/amount.js.map +1 -0
  461. package/js/utils/brands.js +26 -7
  462. package/js/utils/brands.js.map +1 -1
  463. package/js/utils/commercialManagement/document.js +148 -0
  464. package/js/utils/commercialManagement/document.js.map +1 -0
  465. package/js/utils/commercialManagement/product.js +56 -0
  466. package/js/utils/commercialManagement/product.js.map +1 -0
  467. package/js/utils/commercialManagement/templates/body.js +120 -0
  468. package/js/utils/commercialManagement/templates/body.js.map +1 -0
  469. package/js/utils/commercialManagement/templates/common.js +211 -0
  470. package/js/utils/commercialManagement/templates/common.js.map +1 -0
  471. package/js/utils/commercialManagement/vat.js +44 -0
  472. package/js/utils/commercialManagement/vat.js.map +1 -0
  473. package/js/utils/index.js +24 -0
  474. package/js/utils/index.js.map +1 -1
  475. package/js/utils/task.js +20 -29
  476. package/js/utils/task.js.map +1 -1
  477. package/js/utils/webmail.js +3 -1
  478. package/js/utils/webmail.js.map +1 -1
  479. package/package.json +3 -1
  480. package/ts/api/resources/BudgetInsight.ts +13 -0
  481. package/ts/api/resources/CalendarEvent.ts +2 -3
  482. package/ts/api/resources/CommercialSetting.ts +12 -0
  483. package/ts/api/resources/Connector.ts +16 -1
  484. package/ts/api/resources/Dashboard.ts +0 -6
  485. package/ts/api/resources/Exercice.ts +0 -4
  486. package/ts/api/resources/FecFile.ts +6 -32
  487. package/ts/api/resources/GeneralLedger.ts +2 -2
  488. package/ts/api/resources/Invoice.ts +39 -0
  489. package/ts/api/resources/Loan.ts +1 -1
  490. package/ts/api/resources/Mail.ts +3 -4
  491. package/ts/api/resources/Partner.ts +0 -4
  492. package/ts/api/resources/Qonto.ts +5 -27
  493. package/ts/api/resources/User.ts +12 -3
  494. package/ts/api/resources/commercialDocument.ts +66 -0
  495. package/ts/api/resources/reminder.ts +20 -0
  496. package/ts/api/resources.ts +8 -16
  497. package/ts/index.ts +1 -0
  498. package/ts/types/Enum/Account.ts +8 -0
  499. package/ts/types/Enum/BrandClementine.ts +1 -10
  500. package/ts/types/Enum/BrandComptalib.ts +4 -13
  501. package/ts/types/Enum/BrandLegalstart.ts +0 -3
  502. package/ts/types/Enum/BrandPourcentage.ts +3 -7
  503. package/ts/types/Enum/BudgetInsight.ts +1 -1
  504. package/ts/types/Enum/CommercialManagement.ts +38 -0
  505. package/ts/types/Enum/EstimateInvoice.ts +1 -1
  506. package/ts/types/Enum/Log.ts +0 -1
  507. package/ts/types/Enum/{PrestationType.ts → Prestation.ts} +1 -2
  508. package/ts/types/Enum/Role.ts +10 -15
  509. package/ts/types/Enum/RoleDetail.ts +64 -127
  510. package/ts/types/Enum/SheetMonthScheduleDetailType.ts +1 -1
  511. package/ts/types/Enum/TaskResponseType.ts +2 -57
  512. package/ts/types/Enum/TimeCounterType.ts +19 -47
  513. package/ts/types/Enum/Vat.ts +28 -25
  514. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -5
  515. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +1 -1
  516. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -1
  517. package/ts/types/Interface/api/commercialManagement/Create.ts +423 -0
  518. package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
  519. package/ts/types/Interface/api/commercialManagement/Read.ts +64 -0
  520. package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
  521. package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
  522. package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
  523. package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
  524. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
  525. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -6
  526. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
  527. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
  528. package/ts/types/Interface/api/product/CreateProduct.ts +8 -5
  529. package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
  530. package/ts/types/Interface/api/revision/QueryRevision.ts +2 -15
  531. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +4 -11
  532. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +2 -15
  533. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
  534. package/ts/types/Interface/api/revision/ReadRevision.ts +1 -2
  535. package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -2
  536. package/ts/types/Interface/api/task/QueryCountTask.ts +1 -1
  537. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -9
  538. package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +1 -8
  539. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -9
  540. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -10
  541. package/ts/types/Interface/models/IAccount.ts +0 -2
  542. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
  543. package/ts/types/Interface/models/IApiError.ts +5 -3
  544. package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
  545. package/ts/types/Interface/models/ICommercialMail.ts +15 -0
  546. package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
  547. package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
  548. package/ts/types/Interface/models/IExercice.ts +0 -1
  549. package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
  550. package/ts/types/Interface/models/ILegalNotice.ts +0 -1
  551. package/ts/types/Interface/models/ILoan.ts +0 -2
  552. package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
  553. package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
  554. package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
  555. package/ts/types/Interface/models/IProduct.ts +1 -0
  556. package/ts/types/Interface/models/IProductInvoice.ts +5 -3
  557. package/ts/types/Interface/models/ISociety.ts +1 -2
  558. package/ts/types/Interface/models/ISocietyGescom.ts +14 -1
  559. package/ts/types/Interface/models/ISocietyPartner.ts +1 -2
  560. package/ts/types/Interface/models/ITask.ts +2 -2
  561. package/ts/types/index.ts +11 -35
  562. package/ts/utils/amount.ts +13 -0
  563. package/ts/utils/brands.ts +25 -7
  564. package/ts/utils/commercialManagement/document.ts +105 -0
  565. package/ts/utils/commercialManagement/product.ts +36 -0
  566. package/ts/utils/commercialManagement/templates/body.ts +113 -0
  567. package/ts/utils/commercialManagement/templates/common.ts +205 -0
  568. package/ts/utils/commercialManagement/vat.ts +24 -0
  569. package/ts/utils/index.ts +2 -0
  570. package/ts/utils/task.ts +16 -24
  571. package/ts/utils/webmail.ts +3 -1
  572. package/es/api/resources/LegalNotice.d.ts +0 -6
  573. package/es/api/resources/LegalNotice.d.ts.map +0 -1
  574. package/es/api/resources/LegalNotice.js +0 -7
  575. package/es/api/resources/LegalNotice.js.map +0 -1
  576. package/es/api/resources/PaymentExpectation.d.ts +0 -6
  577. package/es/api/resources/PaymentExpectation.d.ts.map +0 -1
  578. package/es/api/resources/PaymentExpectation.js +0 -7
  579. package/es/api/resources/PaymentExpectation.js.map +0 -1
  580. package/es/api/resources/SocietyConfig.d.ts +0 -7
  581. package/es/api/resources/SocietyConfig.d.ts.map +0 -1
  582. package/es/api/resources/SocietyConfig.js +0 -10
  583. package/es/api/resources/SocietyConfig.js.map +0 -1
  584. package/es/api/resources/TerminationList.d.ts +0 -7
  585. package/es/api/resources/TerminationList.d.ts.map +0 -1
  586. package/es/api/resources/TerminationList.js +0 -10
  587. package/es/api/resources/TerminationList.js.map +0 -1
  588. package/es/api/resources/Wallet.d.ts +0 -8
  589. package/es/api/resources/Wallet.d.ts.map +0 -1
  590. package/es/api/resources/Wallet.js +0 -7
  591. package/es/api/resources/Wallet.js.map +0 -1
  592. package/es/api/resources/statistic/Accountant.d.ts +0 -59
  593. package/es/api/resources/statistic/Accountant.d.ts.map +0 -1
  594. package/es/api/resources/statistic/Accountant.js +0 -86
  595. package/es/api/resources/statistic/Accountant.js.map +0 -1
  596. package/es/api/resources/statistic/Direction.d.ts +0 -11
  597. package/es/api/resources/statistic/Direction.d.ts.map +0 -1
  598. package/es/api/resources/statistic/Direction.js +0 -14
  599. package/es/api/resources/statistic/Direction.js.map +0 -1
  600. package/es/api/resources/statistic/ExpertAccountant.d.ts +0 -29
  601. package/es/api/resources/statistic/ExpertAccountant.d.ts.map +0 -1
  602. package/es/api/resources/statistic/ExpertAccountant.js +0 -41
  603. package/es/api/resources/statistic/ExpertAccountant.js.map +0 -1
  604. package/es/types/Enum/AdditionnalSells.d.ts +0 -7
  605. package/es/types/Enum/AdditionnalSells.d.ts.map +0 -1
  606. package/es/types/Enum/AdditionnalSells.js +0 -8
  607. package/es/types/Enum/AdditionnalSells.js.map +0 -1
  608. package/es/types/Enum/CustomerVat.d.ts +0 -24
  609. package/es/types/Enum/CustomerVat.d.ts.map +0 -1
  610. package/es/types/Enum/CustomerVat.js +0 -26
  611. package/es/types/Enum/CustomerVat.js.map +0 -1
  612. package/es/types/Enum/OperationLegalNotice.d.ts +0 -4
  613. package/es/types/Enum/OperationLegalNotice.d.ts.map +0 -1
  614. package/es/types/Enum/OperationLegalNotice.js +0 -5
  615. package/es/types/Enum/OperationLegalNotice.js.map +0 -1
  616. package/es/types/Enum/OrderStatus.d.ts +0 -6
  617. package/es/types/Enum/OrderStatus.d.ts.map +0 -1
  618. package/es/types/Enum/OrderStatus.js +0 -7
  619. package/es/types/Enum/OrderStatus.js.map +0 -1
  620. package/es/types/Enum/PrestationType.d.ts.map +0 -1
  621. package/es/types/Enum/PrestationType.js +0 -17
  622. package/es/types/Enum/PrestationType.js.map +0 -1
  623. package/es/types/Enum/Reason.d.ts +0 -4
  624. package/es/types/Enum/Reason.d.ts.map +0 -1
  625. package/es/types/Enum/Reason.js +0 -5
  626. package/es/types/Enum/Reason.js.map +0 -1
  627. package/es/types/Enum/Rules.d.ts +0 -2
  628. package/es/types/Enum/Rules.d.ts.map +0 -1
  629. package/es/types/Enum/Rules.js +0 -19
  630. package/es/types/Enum/Rules.js.map +0 -1
  631. package/es/types/Enum/StatisticType.d.ts +0 -16
  632. package/es/types/Enum/StatisticType.d.ts.map +0 -1
  633. package/es/types/Enum/StatisticType.js +0 -17
  634. package/es/types/Enum/StatisticType.js.map +0 -1
  635. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +0 -5
  636. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +0 -1
  637. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -24
  638. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  639. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +0 -13
  640. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +0 -1
  641. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +0 -2
  642. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  643. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +0 -5
  644. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +0 -1
  645. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -25
  646. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  647. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +0 -4
  648. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +0 -1
  649. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -17
  650. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  651. package/es/types/Interface/api/prestation/CreatePrestation.d.ts +0 -6
  652. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +0 -1
  653. package/es/types/Interface/api/prestation/CreatePrestation.js +0 -28
  654. package/es/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  655. package/es/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
  656. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
  657. package/es/types/Interface/api/qonto/CreateImportation.js +0 -26
  658. package/es/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  659. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
  660. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
  661. package/es/types/Interface/api/qonto/CreateQontoConnection.js +0 -24
  662. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  663. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +0 -4
  664. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +0 -1
  665. package/es/types/Interface/api/qonto/GetConnectionInformation.js +0 -19
  666. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  667. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
  668. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
  669. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  670. package/es/types/Interface/api/qonto/Query.d.ts +0 -77
  671. package/es/types/Interface/api/qonto/Query.d.ts.map +0 -1
  672. package/es/types/Interface/api/qonto/Query.js +0 -2
  673. package/es/types/Interface/api/qonto/Query.js.map +0 -1
  674. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +0 -6
  675. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +0 -1
  676. package/es/types/Interface/api/qonto/ReadCreateConnection.js +0 -2
  677. package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  678. package/es/types/Interface/api/qonto/UpdateConnection.d.ts +0 -4
  679. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +0 -1
  680. package/es/types/Interface/api/qonto/UpdateConnection.js +0 -19
  681. package/es/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  682. package/es/types/Interface/api/societyConfig/update.d.ts +0 -21
  683. package/es/types/Interface/api/societyConfig/update.d.ts.map +0 -1
  684. package/es/types/Interface/api/societyConfig/update.js.map +0 -1
  685. package/es/types/Interface/api/statistic/ExitRequest.d.ts +0 -108
  686. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +0 -1
  687. package/es/types/Interface/api/statistic/ExitRequest.js +0 -2
  688. package/es/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  689. package/es/types/Interface/api/statistic/QueryAccountant.d.ts +0 -6
  690. package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +0 -1
  691. package/es/types/Interface/api/statistic/QueryAccountant.js +0 -31
  692. package/es/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  693. package/es/types/Interface/api/statistic/QueryDirection.d.ts +0 -6
  694. package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +0 -1
  695. package/es/types/Interface/api/statistic/QueryDirection.js +0 -31
  696. package/es/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  697. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts +0 -6
  698. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +0 -1
  699. package/es/types/Interface/api/statistic/QueryExpertAccountant.js +0 -31
  700. package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  701. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts +0 -5
  702. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +0 -1
  703. package/es/types/Interface/api/statistic/QueryGetAccountant.js +0 -24
  704. package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  705. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts +0 -5
  706. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +0 -1
  707. package/es/types/Interface/api/statistic/QueryGetDirection.js +0 -24
  708. package/es/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  709. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts +0 -5
  710. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +0 -1
  711. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -24
  712. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  713. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +0 -17
  714. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +0 -1
  715. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +0 -96
  716. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  717. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +0 -17
  718. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +0 -1
  719. package/es/types/Interface/api/terminationList/QueryTerminationList.js +0 -98
  720. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  721. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts +0 -6
  722. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +0 -1
  723. package/es/types/Interface/api/wallet/UpdateAttribution.js +0 -34
  724. package/es/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  725. package/es/types/Interface/models/IPrestationHistory.d.ts +0 -13
  726. package/es/types/Interface/models/IPrestationHistory.d.ts.map +0 -1
  727. package/es/types/Interface/models/IPrestationHistory.js +0 -2
  728. package/es/types/Interface/models/IPrestationHistory.js.map +0 -1
  729. package/es/types/Interface/models/ISocietyRelance.d.ts.map +0 -1
  730. package/es/types/Interface/models/ISocietyRelance.js +0 -2
  731. package/es/types/Interface/models/ISocietyRelance.js.map +0 -1
  732. package/es/types/Interface/models/IStatistic.d.ts +0 -11
  733. package/es/types/Interface/models/IStatistic.d.ts.map +0 -1
  734. package/es/types/Interface/models/IStatistic.js +0 -2
  735. package/es/types/Interface/models/IStatistic.js.map +0 -1
  736. package/js/api/resources/LegalNotice.js +0 -18
  737. package/js/api/resources/LegalNotice.js.map +0 -1
  738. package/js/api/resources/PaymentExpectation.js +0 -20
  739. package/js/api/resources/PaymentExpectation.js.map +0 -1
  740. package/js/api/resources/SocietyConfig.js +0 -22
  741. package/js/api/resources/SocietyConfig.js.map +0 -1
  742. package/js/api/resources/TerminationList.js +0 -26
  743. package/js/api/resources/TerminationList.js.map +0 -1
  744. package/js/api/resources/Wallet.js +0 -18
  745. package/js/api/resources/Wallet.js.map +0 -1
  746. package/js/api/resources/statistic/Accountant.js +0 -150
  747. package/js/api/resources/statistic/Accountant.js.map +0 -1
  748. package/js/api/resources/statistic/Direction.js +0 -30
  749. package/js/api/resources/statistic/Direction.js.map +0 -1
  750. package/js/api/resources/statistic/ExpertAccountant.js +0 -75
  751. package/js/api/resources/statistic/ExpertAccountant.js.map +0 -1
  752. package/js/types/Enum/AdditionnalSells.js +0 -14
  753. package/js/types/Enum/AdditionnalSells.js.map +0 -1
  754. package/js/types/Enum/CustomerVat.js +0 -34
  755. package/js/types/Enum/CustomerVat.js.map +0 -1
  756. package/js/types/Enum/OperationLegalNotice.js +0 -11
  757. package/js/types/Enum/OperationLegalNotice.js.map +0 -1
  758. package/js/types/Enum/OrderStatus.js +0 -13
  759. package/js/types/Enum/OrderStatus.js.map +0 -1
  760. package/js/types/Enum/PrestationType.js +0 -23
  761. package/js/types/Enum/PrestationType.js.map +0 -1
  762. package/js/types/Enum/Reason.js +0 -11
  763. package/js/types/Enum/Reason.js.map +0 -1
  764. package/js/types/Enum/Rules.js +0 -7
  765. package/js/types/Enum/Rules.js.map +0 -1
  766. package/js/types/Enum/StatisticType.js +0 -23
  767. package/js/types/Enum/StatisticType.js.map +0 -1
  768. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -31
  769. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  770. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  771. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -31
  772. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  773. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -27
  774. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  775. package/js/types/Interface/api/prestation/CreatePrestation.js +0 -33
  776. package/js/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  777. package/js/types/Interface/api/qonto/CreateImportation.js +0 -31
  778. package/js/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  779. package/js/types/Interface/api/qonto/CreateQontoConnection.js +0 -31
  780. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  781. package/js/types/Interface/api/qonto/GetConnectionInformation.js +0 -29
  782. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  783. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  784. package/js/types/Interface/api/qonto/Query.js.map +0 -1
  785. package/js/types/Interface/api/qonto/ReadCreateConnection.js +0 -6
  786. package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  787. package/js/types/Interface/api/qonto/UpdateConnection.js +0 -29
  788. package/js/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  789. package/js/types/Interface/api/societyConfig/update.js +0 -65
  790. package/js/types/Interface/api/societyConfig/update.js.map +0 -1
  791. package/js/types/Interface/api/statistic/ExitRequest.js +0 -6
  792. package/js/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  793. package/js/types/Interface/api/statistic/QueryAccountant.js +0 -35
  794. package/js/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  795. package/js/types/Interface/api/statistic/QueryDirection.js +0 -35
  796. package/js/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  797. package/js/types/Interface/api/statistic/QueryExpertAccountant.js +0 -35
  798. package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  799. package/js/types/Interface/api/statistic/QueryGetAccountant.js +0 -31
  800. package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  801. package/js/types/Interface/api/statistic/QueryGetDirection.js +0 -31
  802. package/js/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  803. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -31
  804. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  805. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +0 -55
  806. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  807. package/js/types/Interface/api/terminationList/QueryTerminationList.js +0 -55
  808. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  809. package/js/types/Interface/api/wallet/UpdateAttribution.js +0 -35
  810. package/js/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  811. package/js/types/Interface/models/IPrestationHistory.js +0 -6
  812. package/js/types/Interface/models/IPrestationHistory.js.map +0 -1
  813. package/js/types/Interface/models/ISocietyRelance.js +0 -6
  814. package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
  815. package/js/types/Interface/models/IStatistic.js.map +0 -1
  816. package/ts/api/resources/LegalNotice.ts +0 -8
  817. package/ts/api/resources/PaymentExpectation.ts +0 -8
  818. package/ts/api/resources/SocietyConfig.ts +0 -12
  819. package/ts/api/resources/TerminationList.ts +0 -12
  820. package/ts/api/resources/Wallet.ts +0 -8
  821. package/ts/api/resources/statistic/Accountant.ts +0 -121
  822. package/ts/api/resources/statistic/Direction.ts +0 -17
  823. package/ts/api/resources/statistic/ExpertAccountant.ts +0 -56
  824. package/ts/types/Enum/AdditionnalSells.ts +0 -6
  825. package/ts/types/Enum/CustomerVat.ts +0 -24
  826. package/ts/types/Enum/OperationLegalNotice.ts +0 -3
  827. package/ts/types/Enum/OrderStatus.ts +0 -5
  828. package/ts/types/Enum/Reason.ts +0 -3
  829. package/ts/types/Enum/Rules.ts +0 -18
  830. package/ts/types/Enum/StatisticType.ts +0 -15
  831. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
  832. package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
  833. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
  834. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -6
  835. package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -15
  836. package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
  837. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
  838. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
  839. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
  840. package/ts/types/Interface/api/qonto/Query.ts +0 -80
  841. package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +0 -6
  842. package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
  843. package/ts/types/Interface/api/societyConfig/update.ts +0 -103
  844. package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -120
  845. package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -20
  846. package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -20
  847. package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -20
  848. package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -14
  849. package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -14
  850. package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -14
  851. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -74
  852. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -76
  853. package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -23
  854. package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
  855. package/ts/types/Interface/models/IStatistic.ts +0 -13
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,GAC9D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;CA4CvC;AAzCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACS","sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}"]}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACpD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;CAuCvC;AApCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG","sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n}"]}
@@ -1,7 +1,6 @@
1
1
  export declare class QueryCountUnprocessedByUserMail {
2
2
  idUser: number;
3
3
  isWithoutSociety?: boolean;
4
- handlingManagerRoleMails?: boolean;
5
- to?: string;
4
+ isCountingManagerRoleMails?: boolean;
6
5
  }
7
6
  //# sourceMappingURL=QueryCountUnprocessedByUserMail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountUnprocessedByUserMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"names":[],"mappings":"AASA,qBAAa,+BAA+B;IAG1C,MAAM,EAAE,MAAM,CAAC;IAMf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAKnC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
1
+ {"version":3,"file":"QueryCountUnprocessedByUserMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"names":[],"mappings":"AAQA,qBAAa,+BAA+B;IAG1C,MAAM,EAAE,MAAM,CAAC;IAMf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsInt, IsOptional, IsString, } from 'class-validator';
10
+ import { IsBoolean, IsInt, IsOptional, } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  export class QueryCountUnprocessedByUserMail {
@@ -30,11 +30,5 @@ __decorate([
30
30
  IsBoolean(),
31
31
  ToBoolean(),
32
32
  __metadata("design:type", Boolean)
33
- ], QueryCountUnprocessedByUserMail.prototype, "handlingManagerRoleMails", void 0);
34
- __decorate([
35
- ApiPropertyOptional(),
36
- IsOptional(),
37
- IsString({ each: true }),
38
- __metadata("design:type", String)
39
- ], QueryCountUnprocessedByUserMail.prototype, "to", void 0);
33
+ ], QueryCountUnprocessedByUserMail.prototype, "isCountingManagerRoleMails", void 0);
40
34
  //# sourceMappingURL=QueryCountUnprocessedByUserMail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountUnprocessedByUserMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,UAAU,EACV,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,+BAA+B;CAqB3C;AAlBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;+DACO;AAMf;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;yEACe;AAM3B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;iFACuB;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACb","sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n}\n"]}
1
+ {"version":3,"file":"QueryCountUnprocessedByUserMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,+BAA+B;CAgB3C;AAbC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;+DACO;AAMf;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;yEACe;AAM3B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mFACyB","sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCountingManagerRoleMails?: boolean;\n}\n"]}
@@ -12,11 +12,10 @@ export declare class QueryPaginatedMail {
12
12
  isImportant?: boolean;
13
13
  isWithoutSociety?: boolean;
14
14
  idUser?: number;
15
- handlingManagerRoleMails?: boolean;
15
+ displayManagerRoleMails?: boolean;
16
16
  idSociety?: number;
17
17
  idUserWhoFlagged?: number;
18
18
  idUserWhoAnswered?: number;
19
- idRole?: number;
20
19
  limit?: number;
21
20
  page?: number;
22
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAI7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,WAAW,CAAC,sBAAS;IASrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAQnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,CAAU;IAK1B,EAAE,CAAC,EAAE,MAAM,CAAC;IAMZ,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAKnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"QueryPaginatedMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAI7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,WAAW,CAAC,sBAAS;IASrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAQnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,CAAU;IAK1B,EAAE,CAAC,EAAE,MAAM,CAAC;IAMZ,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAKlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -114,7 +114,7 @@ __decorate([
114
114
  IsBoolean(),
115
115
  ToBoolean(),
116
116
  __metadata("design:type", Boolean)
117
- ], QueryPaginatedMail.prototype, "handlingManagerRoleMails", void 0);
117
+ ], QueryPaginatedMail.prototype, "displayManagerRoleMails", void 0);
118
118
  __decorate([
119
119
  ApiPropertyOptional(),
120
120
  IsOptional(),
@@ -133,12 +133,6 @@ __decorate([
133
133
  IsInt(),
134
134
  __metadata("design:type", Number)
135
135
  ], QueryPaginatedMail.prototype, "idUserWhoAnswered", void 0);
136
- __decorate([
137
- ApiPropertyOptional(),
138
- IsOptional(),
139
- IsInt(),
140
- __metadata("design:type", Number)
141
- ], QueryPaginatedMail.prototype, "idRole", void 0);
142
136
  __decorate([
143
137
  ApiPropertyOptional({ default: 25 }),
144
138
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,GAChE,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;IAA/B;QAUE,gBAAW,GAAI,KAAK,CAAC;QAsBrB,YAAO,GAAY,MAAM,CAAC;IAmF5B,CAAC;CAAA;AA/GC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK;AAMhB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACS;AASrB;IAPC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAClE;AAQnB;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;sDACoB;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACe;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8CACb;AAMZ;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACK;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACU;AAMtB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;qDACQ;AAMpB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mDACM;AAMlB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACU;AAMtB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4DACe;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACQ;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oEACuB;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACkB;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACQ;AAKhB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACI;AAKf;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACG","sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,GAChE,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;IAA/B;QAUE,gBAAW,GAAI,KAAK,CAAC;QAsBrB,YAAO,GAAY,MAAM,CAAC;IA8E5B,CAAC;CAAA;AA1GC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK;AAMhB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACS;AASrB;IAPC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAClE;AAQnB;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;sDACoB;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACe;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8CACb;AAMZ;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACK;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACU;AAMtB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;qDACQ;AAMpB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mDACM;AAMlB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACvC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACU;AAMtB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4DACe;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACQ;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mEACsB;AAKlC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACkB;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACmB;AAK3B;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACI;AAKf;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACG","sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
@@ -2,6 +2,7 @@ export declare class CreateProduct {
2
2
  name: string;
3
3
  priceTaxExcluded: number;
4
4
  idVAT: number;
5
+ isFree?: boolean;
5
6
  unit: number;
6
7
  type: number;
7
8
  comment?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,IAAI,EAAE,MAAM,CAAC;IAWb,gBAAgB,EAAE,MAAM,CAAC;IAIzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"CreateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":"AASA,qBAAa,aAAa;IAGxB,IAAI,EAAE,MAAM,CAAC;IAMb,gBAAgB,EAAE,MAAM,CAAC;IAIzB,KAAK,EAAE,MAAM,CAAC;IAMd,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -7,9 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsNumber, IsOptional, IsString, Min, } from 'class-validator';
10
+ import { IsBoolean, IsNumber, IsOptional, IsString, Min, } from 'class-validator';
11
11
  import { ProductType, Unit } from '../../..';
12
12
  import { ApiProperty, ApiPropertyOptional } from '../../../..';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
14
  import { IsObjectId } from '../../../../utils/validators/objectId.validator';
14
15
  export class CreateProduct {
15
16
  }
@@ -20,11 +21,6 @@ __decorate([
20
21
  ], CreateProduct.prototype, "name", void 0);
21
22
  __decorate([
22
23
  ApiProperty(),
23
- IsNumber({
24
- maxDecimalPlaces: 6,
25
- }, {
26
- message: 'Price should be a number with maximum 6 decimal',
27
- }),
28
24
  Min(0, {
29
25
  message: 'Price should be positive',
30
26
  }),
@@ -35,6 +31,13 @@ __decorate([
35
31
  IsNumber(),
36
32
  __metadata("design:type", Number)
37
33
  ], CreateProduct.prototype, "idVAT", void 0);
34
+ __decorate([
35
+ ApiPropertyOptional(),
36
+ IsBoolean(),
37
+ ToBoolean(),
38
+ IsOptional(),
39
+ __metadata("design:type", Boolean)
40
+ ], CreateProduct.prototype, "isFree", void 0);
38
41
  __decorate([
39
42
  ApiProperty(),
40
43
  IsNumber(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAE7E,MAAM,OAAO,aAAa;CAuCzB;AApCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACE;AAWb;IATC,WAAW,EAAE;IACb,QAAQ,CAAC;QACR,gBAAgB,EAAE,CAAC;KACpB,EAAE;QACD,OAAO,EAAE,iDAAiD;KAC3D,CAAC;IACD,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,0BAA0B;KACpC,CAAC;;uDACuB;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACG;AAKd;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,IAAI,CAAC;;2CACJ;AAKb;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,WAAW,CAAC;;2CACX;AAKb;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACQ","sourcesContent":["import {\n IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ProductType, Unit } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsNumber({\n maxDecimalPlaces: 6,\n }, {\n message: 'Price should be a number with maximum 6 decimal',\n })\n @Min(0, {\n message: 'Price should be positive',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n idVAT: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n}\n"]}
1
+ {"version":3,"file":"CreateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAE7E,MAAM,OAAO,aAAa;CAwCzB;AArCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACE;AAMb;IAJC,WAAW,EAAE;IACb,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,0BAA0B;KACpC,CAAC;;uDACuB;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACG;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6CACI;AAKjB;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,IAAI,CAAC;;2CACJ;AAKb;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,WAAW,CAAC;;2CACX;AAKb;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACQ","sourcesContent":["import {\n IsBoolean,\n IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ProductType, Unit } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @Min(0, {\n message: 'Price should be positive',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n idVAT: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isFree?: boolean;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n}\n"]}
@@ -1,5 +1,7 @@
1
1
  export declare class QueryProduct {
2
2
  search?: string;
3
3
  type?: number;
4
+ orderBy?: string;
5
+ isDescending?: boolean;
4
6
  }
5
7
  //# sourceMappingURL=QueryProduct.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":"AAOA,qBAAa,YAAY;IAIvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"QueryProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":"AASA,qBAAa,YAAY;IAIvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -7,9 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsNumber, IsOptional, IsString, } from 'class-validator';
10
+ import { IsBoolean, IsNumber, IsOptional, IsString, } from 'class-validator';
11
11
  import { ProductType } from '../../..';
12
12
  import { ApiPropertyOptional } from '../../../..';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
14
  import { IsObjectId } from '../../../../utils/validators/objectId.validator';
14
15
  export class QueryProduct {
15
16
  }
@@ -26,4 +27,17 @@ __decorate([
26
27
  IsObjectId(ProductType),
27
28
  __metadata("design:type", Number)
28
29
  ], QueryProduct.prototype, "type", void 0);
30
+ __decorate([
31
+ ApiPropertyOptional(),
32
+ IsOptional(),
33
+ IsString(),
34
+ __metadata("design:type", String)
35
+ ], QueryProduct.prototype, "orderBy", void 0);
36
+ __decorate([
37
+ ApiPropertyOptional(),
38
+ IsBoolean(),
39
+ ToBoolean(),
40
+ IsOptional(),
41
+ __metadata("design:type", Boolean)
42
+ ], QueryProduct.prototype, "isDescending", void 0);
29
43
  //# sourceMappingURL=QueryProduct.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC/B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAE7E,MAAM,OAAO,YAAY;CAWxB;AAPC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,UAAU,CAAC,WAAW,CAAC;;0CACV","sourcesContent":["import {\n IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ProductType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class QueryProduct {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsObjectId(ProductType)\n type?: number;\n}"]}
1
+ {"version":3,"file":"QueryProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC/B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAE7E,MAAM,OAAO,YAAY;CAsBxB;AAlBC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,UAAU,CAAC,WAAW,CAAC;;0CACV;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACM;AAMjB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kDACU","sourcesContent":["import {\n IsBoolean,\n IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ProductType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class QueryProduct {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsObjectId(ProductType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n}"]}
@@ -2,8 +2,6 @@ export declare class QueryRevision {
2
2
  startDate: Date;
3
3
  endDate: Date;
4
4
  idSociety: number;
5
- orderBy?: 'designation' | 'amount' | 'number';
6
- descending?: boolean;
7
5
  limit?: number;
8
6
  page?: number;
9
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAM9C,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
1
+ {"version":3,"file":"QueryRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":"AAKA,qBAAa,aAAa;IAGxB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
@@ -7,9 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
10
+ import { IsDate, IsInt, IsNumber, } from 'class-validator';
11
+ import { ApiProperty } from '../../../..';
13
12
  export class QueryRevision {
14
13
  constructor() {
15
14
  // Interface paginate
@@ -32,19 +31,6 @@ __decorate([
32
31
  IsInt(),
33
32
  __metadata("design:type", Number)
34
33
  ], QueryRevision.prototype, "idSociety", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsString(),
38
- IsOptional(),
39
- __metadata("design:type", String)
40
- ], QueryRevision.prototype, "orderBy", void 0);
41
- __decorate([
42
- ApiPropertyOptional(),
43
- IsBoolean(),
44
- ToBoolean(),
45
- IsOptional(),
46
- __metadata("design:type", Boolean)
47
- ], QueryRevision.prototype, "descending", void 0);
48
34
  __decorate([
49
35
  ApiProperty({ default: 25 }),
50
36
  IsNumber(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,aAAa;IAA1B;QAwBE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AA7BC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;gDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;8CAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACiC;AAM9C;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;2CACO","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevision {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"]}
1
+ {"version":3,"file":"QueryRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,OAAO,aAAa;IAA1B;QAaE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAlBC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;gDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;8CAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACU;AAKlB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;2CACO","sourcesContent":["import {\n IsDate, IsInt, IsNumber,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\n\nexport class QueryRevision {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"]}
@@ -1,10 +1,10 @@
1
1
  import { QueryPaginate } from '../../../..';
2
2
  export declare class QueryRevisionAccount implements QueryPaginate {
3
3
  page: number;
4
+ orderBy?: string;
4
5
  startDate: Date;
5
6
  endDate: Date;
6
7
  limit: number;
7
- orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
8
8
  descending?: boolean;
9
9
  isRevised?: boolean;
10
10
  idSociety: number;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,aAAa,EAAE,MAAM,aAAa,CAAC;AAIzD,qBAAa,oBAAqB,YAAW,aAAa;IAGxD,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IAMpE,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,aAAa,EAAE,MAAM,aAAa,CAAC;AAGzD,qBAAa,oBAAqB,YAAW,aAAa;IAGxD,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -7,10 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
10
+ import { IsDate, IsInt, IsNumber, } from 'class-validator';
11
11
  import { ApiProperty } from '../../../..';
12
12
  import { ApiPropertyOptional } from '../../../../utils';
13
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
13
  export class QueryRevisionAccount {
15
14
  }
16
15
  __decorate([
@@ -18,6 +17,10 @@ __decorate([
18
17
  IsNumber(),
19
18
  __metadata("design:type", Number)
20
19
  ], QueryRevisionAccount.prototype, "page", void 0);
20
+ __decorate([
21
+ ApiPropertyOptional({ default: 'idAccount' }),
22
+ __metadata("design:type", String)
23
+ ], QueryRevisionAccount.prototype, "orderBy", void 0);
21
24
  __decorate([
22
25
  ApiProperty(),
23
26
  IsDate(),
@@ -33,17 +36,8 @@ __decorate([
33
36
  IsNumber(),
34
37
  __metadata("design:type", Number)
35
38
  ], QueryRevisionAccount.prototype, "limit", void 0);
36
- __decorate([
37
- ApiPropertyOptional({ default: 'date' }),
38
- IsString(),
39
- IsOptional(),
40
- __metadata("design:type", String)
41
- ], QueryRevisionAccount.prototype, "orderBy", void 0);
42
39
  __decorate([
43
40
  ApiPropertyOptional({ default: true }),
44
- IsBoolean(),
45
- ToBoolean(),
46
- IsOptional(),
47
41
  __metadata("design:type", Boolean)
48
42
  ], QueryRevisionAccount.prototype, "descending", void 0);
49
43
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,oBAAoB;CAkChC;AA/BC;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACE;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;uDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;qDAAC;AAId;IAFC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,QAAQ,EAAE;;mDACG;AAKd;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACuD;AAMpE;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ;AAGrB;IADC,mBAAmB,EAAE;;uDACF;AAIpB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACU","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, QueryPaginate } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}"]}
1
+ {"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;CA6BhC;AA1BC;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACE;AAGb;IADC,mBAAmB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;;qDAC7B;AAIjB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;uDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;qDAAC;AAId;IAFC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,QAAQ,EAAE;;mDACG;AAGd;IADC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wDAClB;AAGrB;IADC,mBAAmB,EAAE;;uDACF;AAIpB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACU","sourcesContent":["import {\n IsDate, IsInt, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, QueryPaginate } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiPropertyOptional({ default: 'idAccount' })\n orderBy?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: true })\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}"]}
@@ -2,8 +2,6 @@ export declare class QueryRevisionPaginate {
2
2
  startDate: Date;
3
3
  endDate: Date;
4
4
  idSociety: number;
5
- orderBy?: 'designation' | 'amount' | 'number';
6
- descending?: boolean;
7
5
  limit?: number;
8
6
  page?: number;
9
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionPaginate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":"AAOA,qBAAa,qBAAqB;IAGhC,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAM9C,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
1
+ {"version":3,"file":"QueryRevisionPaginate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":"AAKA,qBAAa,qBAAqB;IAGhC,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
@@ -7,9 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
10
+ import { IsDate, IsInt, IsNumber, } from 'class-validator';
11
+ import { ApiProperty } from '../../../..';
13
12
  export class QueryRevisionPaginate {
14
13
  constructor() {
15
14
  // Interface paginate
@@ -32,19 +31,6 @@ __decorate([
32
31
  IsInt(),
33
32
  __metadata("design:type", Number)
34
33
  ], QueryRevisionPaginate.prototype, "idSociety", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsString(),
38
- IsOptional(),
39
- __metadata("design:type", String)
40
- ], QueryRevisionPaginate.prototype, "orderBy", void 0);
41
- __decorate([
42
- ApiPropertyOptional(),
43
- IsBoolean(),
44
- ToBoolean(),
45
- IsOptional(),
46
- __metadata("design:type", Boolean)
47
- ], QueryRevisionPaginate.prototype, "descending", void 0);
48
34
  __decorate([
49
35
  ApiProperty({ default: 25 }),
50
36
  IsNumber(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionPaginate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAAlC;QAwBE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AA7BC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;wDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;sDAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACiC;AAM9C;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;yDACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;oDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;mDACO","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionPaginate {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"]}
1
+ {"version":3,"file":"QueryRevisionPaginate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,OAAO,qBAAqB;IAAlC;QAaE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAlBC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;wDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;sDAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAKlB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;oDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;mDACO","sourcesContent":["import {\n IsDate, IsInt, IsNumber,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\n\nexport class QueryRevisionPaginate {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"]}
@@ -13,7 +13,7 @@ export declare class QueryRevisionSearchEntries {
13
13
  idsAccountingJournal?: Array<number>;
14
14
  type?: number;
15
15
  isRevised?: boolean;
16
- orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';
16
+ orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate';
17
17
  descending?: boolean;
18
18
  limit?: number;
19
19
  page?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":"AASA,qBAAa,0BAA0B;IAIrC,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAMd,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAKrC,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;IAM/F,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
1
+ {"version":3,"file":"QueryRevisionSearchEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":"AASA,qBAAa,0BAA0B;IAIrC,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAMd,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAKrC,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;IAM1E,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACvC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,0BAA0B;IAAvC;QAmFE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAvFC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACO;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;6DAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;2DAAC;AAMd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACe;AAK5B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACa;AAM1B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACU,KAAK;wEAAS;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACC;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACO;AAKpB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACkF;AAM/F;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8DACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;yDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;wDACO","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: Array<number>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
1
+ {"version":3,"file":"QueryRevisionSearchEntries.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACvC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,0BAA0B;IAAvC;QAmFE,qBAAqB;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAvFC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACO;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;6DAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;2DAAC;AAMd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACe;AAK5B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACa;AAM1B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACU,KAAK;wEAAS;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACC;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACO;AAKpB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DAC6D;AAM1E;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8DACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;yDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;wDACO","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: Array<number>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
@@ -7,8 +7,7 @@ export interface ReadRevision {
7
7
  number: number | null;
8
8
  accountDetails: Array<IAccountDetail>;
9
9
  };
10
- unlocked: number | null;
11
- locked: number | null;
10
+ unlocked: number;
12
11
  previousBalance: number;
13
12
  nextBalance: number;
14
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ReadRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;KACtC,CAAC;IACF,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"ReadRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;KACtC,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountDetail } from '../../models/IAccountDetail';\n\nexport interface ReadRevision {\n balance: number;\n account: {\n id: number,\n name: string | null,\n number: number | null,\n accountDetails: Array<IAccountDetail>\n },\n unlocked: number | null;\n locked: number | null;\n previousBalance: number;\n nextBalance: number;\n}"]}
1
+ {"version":3,"file":"ReadRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountDetail } from '../../models/IAccountDetail';\n\nexport interface ReadRevision {\n balance: number;\n account: {\n id: number,\n name: string | null,\n number: number | null,\n accountDetails: Array<IAccountDetail>\n },\n unlocked: number;\n previousBalance: number;\n nextBalance: number;\n}"]}
@@ -15,8 +15,6 @@ export interface SimulationEstimateInvoice {
15
15
  generalDiscount: number;
16
16
  greetings: boolean;
17
17
  idEstimateInvoice: number;
18
- idEstimateInvoiceForThisAdvance: number;
19
- idEstimateInvoiceForThisAsset: number | null;
20
18
  idEstimateInvoiceForThisRepeat: number | null;
21
19
  idFrequency: number | null;
22
20
  idRelatedEstimateOrderForm: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSimulation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,IAAI,CAAC;IACvB,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,CAAC;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,+BAA+B,EAAE,MAAM,CAAC;IACxC,6BAA6B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,oBAAoB;IAE/B,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;IAElB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,MAAM,CAAC;IAGb,UAAU,EAAE,MAAM,CAAC;IAGnB,aAAa,EAAE,MAAM,CAAC;IAGtB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAGd,kBAAkB,EAAE,OAAO,CAAC;IAG5B,qBAAqB,EAAE,OAAO,CAAC;IAG/B,8BAA8B,EAAE,MAAM,CAAC;IAGvC,8BAA8B,EAAE,MAAM,CAAC;IAGvC,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAG7B,QAAQ,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAAE,CAAC;IAKhD,oBAAoB,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC;CAC/C"}
1
+ {"version":3,"file":"CreateSimulation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,IAAI,CAAC;IACvB,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,CAAC;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,oBAAoB;IAE/B,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;IAElB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,MAAM,CAAC;IAGb,UAAU,EAAE,MAAM,CAAC;IAGnB,aAAa,EAAE,MAAM,CAAC;IAGtB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAGd,kBAAkB,EAAE,OAAO,CAAC;IAG5B,qBAAqB,EAAE,OAAO,CAAC;IAG/B,8BAA8B,EAAE,MAAM,CAAC;IAGvC,8BAA8B,EAAE,MAAM,CAAC;IAGvC,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAG7B,QAAQ,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAAE,CAAC;IAKhD,oBAAoB,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSimulation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAiD5C,MAAM,OAAO,oBAAoB;CAShC;AAED,MAAM,OAAO,gBAAgB;CA4C5B","sourcesContent":["// import {SimulationColor} from '../../..';\n\nexport interface SimulationEstimateInvoice {\n createdAt: string;\n dateInvoiceCreated: string;\n deletedAt: null;\n deposit: number;\n discount: string;\n dueDate: string;\n estimateMailSend: null;\n estimateRef: null;\n expirationDate: null;\n fileEstimate: null;\n fileInvoice: string;\n freeText: string;\n generalComment: string;\n generalDiscount: number;\n greetings: boolean;\n idEstimateInvoice: number;\n idEstimateInvoiceForThisAdvance: number;\n idEstimateInvoiceForThisAsset: number | null;\n idEstimateInvoiceForThisRepeat: number | null;\n idFrequency: number | null;\n idRelatedEstimateOrderForm: number | null;\n idRelatedInvoice: number | null;\n idSociety: number;\n idThirdParty: number;\n idTypeEstimateInvoice: number;\n invoiceMailSend: null;\n invoiceRef: string;\n isCanceled: boolean;\n isDraft: boolean;\n isPaid: boolean;\n isRefused: boolean;\n isStripe: boolean;\n isUsed: boolean;\n label: string;\n lastRelanceDate: null;\n lastTryRepeat: null;\n payment: string;\n penalties: string;\n recoveryCost: string;\n template: number;\n totalHt: number;\n totalTtc: number;\n updatedAt: string;\n vatMention: string;\n}\n\nexport class CreateBalanceElement {\n // @ApiProperty()\n action: string;\n // @ApiProperty()\n amount: number;\n // @ApiProperty()\n dateValue: string;\n // @ApiProperty()\n idBankAccount: number;\n}\n\nexport class CreateSimulation {\n // @ApiProperty()\n name: string;\n\n // @ApiPropertyOptional()\n commentary: string;\n\n // @ApiProperty()\n financesStart: number;\n\n // @ApiProperty({enum: [SimulationColor]})\n idSimulationColor: number;\n\n // @ApiProperty()\n startDate: Date;\n\n // @ApiProperty()\n endDate: Date;\n\n // @ApiProperty()\n importSalesInvoice: boolean;\n\n // @ApiProperty()\n importPurchaseInvoice: boolean;\n\n // @ApiProperty()\n defaultCollectionDelayForSales: number;\n\n // @ApiProperty()\n defaultPaymentDelayForPurchase: number;\n\n // @ApiProperty()\n idSociety: number;\n\n // @ApiPropertyOptional()\n bankAccounts?: Array<number>;\n\n // @ApiPropertyOptional()\n invoices?: Partial<SimulationEstimateInvoice>[];\n\n // @ApiPropertyOptional({\n // type: [CreateBalanceElement]\n // })\n createBalanceElement?: [CreateBalanceElement];\n}\n"]}
1
+ {"version":3,"file":"CreateSimulation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"names":[],"mappings":"AAAA,4CAA4C;AA+C5C,MAAM,OAAO,oBAAoB;CAShC;AAED,MAAM,OAAO,gBAAgB;CA4C5B","sourcesContent":["// import {SimulationColor} from '../../..';\n\nexport interface SimulationEstimateInvoice {\n createdAt: string;\n dateInvoiceCreated: string;\n deletedAt: null;\n deposit: number;\n discount: string;\n dueDate: string;\n estimateMailSend: null;\n estimateRef: null;\n expirationDate: null;\n fileEstimate: null;\n fileInvoice: string;\n freeText: string;\n generalComment: string;\n generalDiscount: number;\n greetings: boolean;\n idEstimateInvoice: number;\n idEstimateInvoiceForThisRepeat: number | null;\n idFrequency: number | null;\n idRelatedEstimateOrderForm: number | null;\n idRelatedInvoice: number | null;\n idSociety: number;\n idThirdParty: number;\n idTypeEstimateInvoice: number;\n invoiceMailSend: null;\n invoiceRef: string;\n isCanceled: boolean;\n isDraft: boolean;\n isPaid: boolean;\n isRefused: boolean;\n isStripe: boolean;\n isUsed: boolean;\n label: string;\n lastRelanceDate: null;\n lastTryRepeat: null;\n payment: string;\n penalties: string;\n recoveryCost: string;\n template: number;\n totalHt: number;\n totalTtc: number;\n updatedAt: string;\n vatMention: string;\n}\n\nexport class CreateBalanceElement {\n // @ApiProperty()\n action: string;\n // @ApiProperty()\n amount: number;\n // @ApiProperty()\n dateValue: string;\n // @ApiProperty()\n idBankAccount: number;\n}\n\nexport class CreateSimulation {\n // @ApiProperty()\n name: string;\n\n // @ApiPropertyOptional()\n commentary: string;\n\n // @ApiProperty()\n financesStart: number;\n\n // @ApiProperty({enum: [SimulationColor]})\n idSimulationColor: number;\n\n // @ApiProperty()\n startDate: Date;\n\n // @ApiProperty()\n endDate: Date;\n\n // @ApiProperty()\n importSalesInvoice: boolean;\n\n // @ApiProperty()\n importPurchaseInvoice: boolean;\n\n // @ApiProperty()\n defaultCollectionDelayForSales: number;\n\n // @ApiProperty()\n defaultPaymentDelayForPurchase: number;\n\n // @ApiProperty()\n idSociety: number;\n\n // @ApiPropertyOptional()\n bankAccounts?: Array<number>;\n\n // @ApiPropertyOptional()\n invoices?: Partial<SimulationEstimateInvoice>[];\n\n // @ApiPropertyOptional({\n // type: [CreateBalanceElement]\n // })\n createBalanceElement?: [CreateBalanceElement];\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  export declare class QueryCountTask {
2
2
  idUser?: number;
3
- idService?: number;
3
+ idRole?: number;
4
4
  isLate?: boolean;
5
5
  }
6
6
  //# sourceMappingURL=QueryCountTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountTask.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"names":[],"mappings":"AAOA,qBAAa,cAAc;IAIzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
1
+ {"version":3,"file":"QueryCountTask.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"names":[],"mappings":"AAOA,qBAAa,cAAc;IAIzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
@@ -22,7 +22,7 @@ __decorate([
22
22
  IsOptional(),
23
23
  IsInt(),
24
24
  __metadata("design:type", Number)
25
- ], QueryCountTask.prototype, "idService", void 0);
25
+ ], QueryCountTask.prototype, "idRole", void 0);
26
26
  __decorate([
27
27
  ApiPropertyOptional(),
28
28
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountTask.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,KAAK,EAAE,SAAS,EAChB,UAAU,GACX,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,cAAc;CAe1B;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;iDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;;8CACK","sourcesContent":["import {\n IsInt, IsBoolean,\n IsOptional,\n} from 'class-validator';\n\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCountTask {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idService?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n isLate?: boolean;\n}"]}
1
+ {"version":3,"file":"QueryCountTask.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,KAAK,EAAE,SAAS,EAChB,UAAU,GACX,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,cAAc;CAe1B;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;;8CACK","sourcesContent":["import {\n IsInt, IsBoolean,\n IsOptional,\n} from 'class-validator';\n\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCountTask {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n isLate?: boolean;\n}"]}
@@ -1,12 +1,10 @@
1
1
  export declare class QueryPaginatedTask {
2
- isIntern?: boolean;
3
2
  idTaskType?: number;
4
3
  search?: string;
5
4
  state?: number;
6
5
  isDeleted?: boolean | undefined;
7
6
  orderBy?: string;
8
7
  idUser?: number;
9
- idService?: number;
10
8
  idUserWhoProcessed?: number;
11
9
  idUserWhoCreated?: number;
12
10
  idRole?: number;