@silexpert/core 0.4.290 → 1.0.6

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 (945) 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 +3 -5
  53. package/es/api/resources/User.d.ts.map +1 -1
  54. package/es/api/resources/User.js +27 -27
  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 -18
  65. package/es/api/resources.d.ts.map +1 -1
  66. package/es/api/resources.js +8 -18
  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/BalanceSheet.js +1 -1
  77. package/es/types/Enum/BalanceSheet.js.map +1 -1
  78. package/es/types/Enum/BrandClementine.d.ts +1 -12
  79. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  80. package/es/types/Enum/BrandClementine.js +1 -10
  81. package/es/types/Enum/BrandClementine.js.map +1 -1
  82. package/es/types/Enum/BrandComptalib.d.ts +0 -87
  83. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  84. package/es/types/Enum/BrandComptalib.js +4 -13
  85. package/es/types/Enum/BrandComptalib.js.map +1 -1
  86. package/es/types/Enum/BrandLegalstart.d.ts +0 -3
  87. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  88. package/es/types/Enum/BrandLegalstart.js +0 -3
  89. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  90. package/es/types/Enum/BrandPourcentage.d.ts +0 -4
  91. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  92. package/es/types/Enum/BrandPourcentage.js +3 -7
  93. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  94. package/es/types/Enum/BudgetInsight.js.map +1 -1
  95. package/es/types/Enum/CommercialManagement.d.ts +42 -0
  96. package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
  97. package/es/types/Enum/CommercialManagement.js +64 -0
  98. package/es/types/Enum/CommercialManagement.js.map +1 -0
  99. package/es/types/Enum/EstimateInvoice.d.ts +1 -1
  100. package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
  101. package/es/types/Enum/EstimateInvoice.js +1 -1
  102. package/es/types/Enum/EstimateInvoice.js.map +1 -1
  103. package/es/types/Enum/Ged.d.ts +1 -101
  104. package/es/types/Enum/Ged.d.ts.map +1 -1
  105. package/es/types/Enum/Ged.js +14 -100
  106. package/es/types/Enum/Ged.js.map +1 -1
  107. package/es/types/Enum/Log.d.ts +1 -2
  108. package/es/types/Enum/Log.d.ts.map +1 -1
  109. package/es/types/Enum/Log.js +0 -1
  110. package/es/types/Enum/Log.js.map +1 -1
  111. package/es/types/Enum/Prestation.d.ts +15 -0
  112. package/es/types/Enum/Prestation.d.ts.map +1 -0
  113. package/es/types/Enum/Prestation.js +16 -0
  114. package/es/types/Enum/Prestation.js.map +1 -0
  115. package/es/types/Enum/Role.d.ts +11 -6
  116. package/es/types/Enum/Role.d.ts.map +1 -1
  117. package/es/types/Enum/Role.js +10 -15
  118. package/es/types/Enum/Role.js.map +1 -1
  119. package/es/types/Enum/RoleDetail.d.ts +51 -42
  120. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  121. package/es/types/Enum/RoleDetail.js +64 -127
  122. package/es/types/Enum/RoleDetail.js.map +1 -1
  123. package/es/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  124. package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  125. package/es/types/Enum/TaskResponseType.d.ts +0 -9
  126. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  127. package/es/types/Enum/TaskResponseType.js +2 -57
  128. package/es/types/Enum/TaskResponseType.js.map +1 -1
  129. package/es/types/Enum/TimeCounterType.d.ts +12 -40
  130. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  131. package/es/types/Enum/TimeCounterType.js +19 -47
  132. package/es/types/Enum/TimeCounterType.js.map +1 -1
  133. package/es/types/Enum/Vat.d.ts +1 -17
  134. package/es/types/Enum/Vat.d.ts.map +1 -1
  135. package/es/types/Enum/Vat.js +26 -24
  136. package/es/types/Enum/Vat.js.map +1 -1
  137. package/es/types/Enum/VatDeclarationType.d.ts.map +1 -1
  138. package/es/types/Enum/VatDeclarationType.js +0 -6
  139. package/es/types/Enum/VatDeclarationType.js.map +1 -1
  140. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +0 -1
  141. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  142. package/es/types/Interface/api/3cx/Query3cxSearch.js +0 -6
  143. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  144. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  145. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +0 -1
  146. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  147. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  148. package/es/types/Interface/api/commercialManagement/Create.d.ts +109 -0
  149. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
  150. package/es/types/Interface/api/commercialManagement/Create.js +496 -0
  151. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
  152. package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
  153. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
  154. package/es/types/Interface/api/commercialManagement/Query.js +121 -0
  155. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
  156. package/es/types/Interface/api/commercialManagement/Read.d.ts +63 -0
  157. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
  158. package/es/types/Interface/api/commercialManagement/Read.js +2 -0
  159. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
  160. package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
  161. package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
  162. package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
  163. package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
  164. package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
  165. package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
  166. package/es/types/Interface/api/connector/CreateConnector.js +68 -0
  167. package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
  168. package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
  169. package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
  170. package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
  171. package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
  172. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
  173. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
  174. package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  175. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
  176. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  177. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
  178. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  179. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
  180. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  181. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
  182. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  183. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
  184. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  185. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
  186. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  187. package/es/types/Interface/api/product/CreateProduct.d.ts +3 -1
  188. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  189. package/es/types/Interface/api/product/CreateProduct.js +16 -7
  190. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  191. package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
  192. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  193. package/es/types/Interface/api/product/QueryProduct.js +15 -1
  194. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  195. package/es/types/Interface/api/report/QueryReports.d.ts +0 -1
  196. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  197. package/es/types/Interface/api/report/QueryReports.js +0 -4
  198. package/es/types/Interface/api/report/QueryReports.js.map +1 -1
  199. package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -2
  200. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
  201. package/es/types/Interface/api/revision/QueryRevision.js +2 -16
  202. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
  203. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
  204. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
  205. package/es/types/Interface/api/revision/QueryRevisionAccount.js +5 -11
  206. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  207. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -2
  208. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
  209. package/es/types/Interface/api/revision/QueryRevisionPaginate.js +2 -16
  210. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  211. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
  212. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  213. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  214. package/es/types/Interface/api/revision/ReadRevision.d.ts +1 -2
  215. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -1
  216. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -1
  217. package/es/types/Interface/api/simulation/CreateSimulation.d.ts +0 -2
  218. package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
  219. package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  220. package/es/types/Interface/api/task/QueryCountTask.d.ts +1 -1
  221. package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
  222. package/es/types/Interface/api/task/QueryCountTask.js +1 -1
  223. package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
  224. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +0 -2
  225. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  226. package/es/types/Interface/api/task/QueryPaginatedTask.js +0 -11
  227. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  228. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
  229. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  230. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
  231. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  232. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
  233. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  234. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
  235. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  236. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +0 -1
  237. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
  238. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +1 -8
  239. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  240. package/es/types/Interface/models/IAccount.d.ts +0 -2
  241. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  242. package/es/types/Interface/models/IAccount.js.map +1 -1
  243. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
  244. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  245. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  246. package/es/types/Interface/models/IApiError.d.ts +5 -2
  247. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  248. package/es/types/Interface/models/IApiError.js +5 -2
  249. package/es/types/Interface/models/IApiError.js.map +1 -1
  250. package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
  251. package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
  252. package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
  253. package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
  254. package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
  255. package/es/types/Interface/models/ICommercialMail.js +2 -0
  256. package/es/types/Interface/models/ICommercialMail.js.map +1 -0
  257. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
  258. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
  259. package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  260. package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
  261. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  262. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  263. package/es/types/Interface/models/IExercice.d.ts +0 -1
  264. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  265. package/es/types/Interface/models/IExercice.js.map +1 -1
  266. package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
  267. package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
  268. package/es/types/Interface/models/IInvoiceReminder.js +2 -0
  269. package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
  270. package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
  271. package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
  272. package/es/types/Interface/models/ILegalNotice.js.map +1 -1
  273. package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
  274. package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
  275. package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
  276. package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  277. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  278. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  279. package/es/types/Interface/models/IPrestation.d.ts +0 -3
  280. package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
  281. package/es/types/Interface/models/IPrestation.js.map +1 -1
  282. package/es/types/Interface/models/IPrestationComplementary.d.ts +1 -1
  283. package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
  284. package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
  285. package/es/types/Interface/models/IProduct.d.ts +4 -1
  286. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  287. package/es/types/Interface/models/IProduct.js.map +1 -1
  288. package/es/types/Interface/models/IProductInvoice.d.ts +7 -3
  289. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
  290. package/es/types/Interface/models/IProductInvoice.js.map +1 -1
  291. package/es/types/Interface/models/ISociety.d.ts +2 -5
  292. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  293. package/es/types/Interface/models/ISociety.js.map +1 -1
  294. package/es/types/Interface/models/ISocietyGescom.d.ts +13 -1
  295. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  296. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  297. package/es/types/Interface/models/ISocietyPartner.d.ts +1 -2
  298. package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  299. package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
  300. package/es/types/Interface/models/ITask.d.ts +2 -2
  301. package/es/types/Interface/models/ITask.d.ts.map +1 -1
  302. package/es/types/Interface/models/ITask.js.map +1 -1
  303. package/es/types/index.d.ts +11 -42
  304. package/es/types/index.d.ts.map +1 -1
  305. package/es/types/index.js +11 -42
  306. package/es/types/index.js.map +1 -1
  307. package/es/utils/amount.d.ts +2 -0
  308. package/es/utils/amount.d.ts.map +1 -0
  309. package/es/utils/amount.js +12 -0
  310. package/es/utils/amount.js.map +1 -0
  311. package/es/utils/brands.d.ts +1 -1
  312. package/es/utils/brands.d.ts.map +1 -1
  313. package/es/utils/brands.js +26 -8
  314. package/es/utils/brands.js.map +1 -1
  315. package/es/utils/commercialManagement/document.d.ts +6 -0
  316. package/es/utils/commercialManagement/document.d.ts.map +1 -0
  317. package/es/utils/commercialManagement/document.js +58 -0
  318. package/es/utils/commercialManagement/document.js.map +1 -0
  319. package/es/utils/commercialManagement/product.d.ts +5 -0
  320. package/es/utils/commercialManagement/product.d.ts.map +1 -0
  321. package/es/utils/commercialManagement/product.js +27 -0
  322. package/es/utils/commercialManagement/product.js.map +1 -0
  323. package/es/utils/commercialManagement/templates/body.d.ts +2 -0
  324. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
  325. package/es/utils/commercialManagement/templates/body.js +111 -0
  326. package/es/utils/commercialManagement/templates/body.js.map +1 -0
  327. package/es/utils/commercialManagement/templates/common.d.ts +12 -0
  328. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
  329. package/es/utils/commercialManagement/templates/common.js +199 -0
  330. package/es/utils/commercialManagement/templates/common.js.map +1 -0
  331. package/es/utils/commercialManagement/vat.d.ts +6 -0
  332. package/es/utils/commercialManagement/vat.d.ts.map +1 -0
  333. package/es/utils/commercialManagement/vat.js +23 -0
  334. package/es/utils/commercialManagement/vat.js.map +1 -0
  335. package/es/utils/index.d.ts +2 -1
  336. package/es/utils/index.d.ts.map +1 -1
  337. package/es/utils/index.js +2 -1
  338. package/es/utils/index.js.map +1 -1
  339. package/es/utils/task.d.ts +2 -3
  340. package/es/utils/task.d.ts.map +1 -1
  341. package/es/utils/task.js +19 -23
  342. package/es/utils/task.js.map +1 -1
  343. package/es/utils/webmail.d.ts.map +1 -1
  344. package/es/utils/webmail.js +4 -1
  345. package/es/utils/webmail.js.map +1 -1
  346. package/importInterfaces.ts +1 -1
  347. package/js/api/resources/BudgetInsight.js +10 -0
  348. package/js/api/resources/BudgetInsight.js.map +1 -1
  349. package/js/api/resources/CalendarEvent.js +3 -5
  350. package/js/api/resources/CalendarEvent.js.map +1 -1
  351. package/js/api/resources/CommercialSetting.js +22 -0
  352. package/js/api/resources/CommercialSetting.js.map +1 -0
  353. package/js/api/resources/Connector.js +14 -0
  354. package/js/api/resources/Connector.js.map +1 -1
  355. package/js/api/resources/Dashboard.js +0 -6
  356. package/js/api/resources/Dashboard.js.map +1 -1
  357. package/js/api/resources/Exercice.js +0 -4
  358. package/js/api/resources/Exercice.js.map +1 -1
  359. package/js/api/resources/FecFile.js +6 -34
  360. package/js/api/resources/FecFile.js.map +1 -1
  361. package/js/api/resources/GeneralLedger.js +2 -2
  362. package/js/api/resources/GeneralLedger.js.map +1 -1
  363. package/js/api/resources/Invoice.js +42 -0
  364. package/js/api/resources/Invoice.js.map +1 -0
  365. package/js/api/resources/Loan.js +1 -1
  366. package/js/api/resources/Loan.js.map +1 -1
  367. package/js/api/resources/Mail.js +3 -4
  368. package/js/api/resources/Mail.js.map +1 -1
  369. package/js/api/resources/Partner.js +0 -4
  370. package/js/api/resources/Partner.js.map +1 -1
  371. package/js/api/resources/Qonto.js +1 -23
  372. package/js/api/resources/Qonto.js.map +1 -1
  373. package/js/api/resources/User.js +8 -31
  374. package/js/api/resources/User.js.map +1 -1
  375. package/js/api/resources/commercialDocument.js +74 -0
  376. package/js/api/resources/commercialDocument.js.map +1 -0
  377. package/js/api/resources/reminder.js +26 -0
  378. package/js/api/resources/reminder.js.map +1 -0
  379. package/js/api/resources.js +9 -24
  380. package/js/api/resources.js.map +1 -1
  381. package/js/index.js +12 -0
  382. package/js/index.js.map +1 -1
  383. package/js/types/Enum/Account.js +8 -0
  384. package/js/types/Enum/Account.js.map +1 -1
  385. package/js/types/Enum/BalanceSheet.js +1 -1
  386. package/js/types/Enum/BalanceSheet.js.map +1 -1
  387. package/js/types/Enum/BrandClementine.js +1 -10
  388. package/js/types/Enum/BrandClementine.js.map +1 -1
  389. package/js/types/Enum/BrandComptalib.js +5 -14
  390. package/js/types/Enum/BrandComptalib.js.map +1 -1
  391. package/js/types/Enum/BrandLegalstart.js +0 -3
  392. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  393. package/js/types/Enum/BrandPourcentage.js +3 -7
  394. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  395. package/js/types/Enum/BudgetInsight.js.map +1 -1
  396. package/js/types/Enum/CommercialManagement.js +90 -0
  397. package/js/types/Enum/CommercialManagement.js.map +1 -0
  398. package/js/types/Enum/EstimateInvoice.js +1 -1
  399. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  400. package/js/types/Enum/Ged.js +17 -104
  401. package/js/types/Enum/Ged.js.map +1 -1
  402. package/js/types/Enum/Log.js +0 -1
  403. package/js/types/Enum/Log.js.map +1 -1
  404. package/js/types/Enum/Prestation.js +22 -0
  405. package/js/types/Enum/Prestation.js.map +1 -0
  406. package/js/types/Enum/Role.js +13 -18
  407. package/js/types/Enum/Role.js.map +1 -1
  408. package/js/types/Enum/RoleDetail.js +86 -149
  409. package/js/types/Enum/RoleDetail.js.map +1 -1
  410. package/js/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  411. package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  412. package/js/types/Enum/TaskResponseType.js +3 -56
  413. package/js/types/Enum/TaskResponseType.js.map +1 -1
  414. package/js/types/Enum/TimeCounterType.js +40 -68
  415. package/js/types/Enum/TimeCounterType.js.map +1 -1
  416. package/js/types/Enum/Vat.js +46 -45
  417. package/js/types/Enum/Vat.js.map +1 -1
  418. package/js/types/Enum/VatDeclarationType.js +0 -5
  419. package/js/types/Enum/VatDeclarationType.js.map +1 -1
  420. package/js/types/Interface/api/3cx/Query3cxSearch.js +0 -2
  421. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  422. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  423. package/js/types/Interface/api/commercialManagement/Create.js +235 -0
  424. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -0
  425. package/js/types/Interface/api/commercialManagement/Query.js +79 -0
  426. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -0
  427. package/js/types/Interface/api/{qonto/Query.js → commercialManagement/Read.js} +1 -1
  428. package/js/types/Interface/api/commercialManagement/Read.js.map +1 -0
  429. package/js/types/Interface/api/commercialManagement/Update.js +55 -0
  430. package/js/types/Interface/api/commercialManagement/Update.js.map +1 -0
  431. package/js/types/Interface/api/connector/CreateConnector.js +47 -0
  432. package/js/types/Interface/api/connector/CreateConnector.js.map +1 -0
  433. package/js/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -6
  434. package/js/types/Interface/api/connector/QueryConnector.js.map +1 -0
  435. package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  436. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +0 -2
  437. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  438. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
  439. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  440. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
  441. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  442. package/js/types/Interface/api/product/CreateProduct.js +8 -6
  443. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  444. package/js/types/Interface/api/product/QueryProduct.js +6 -0
  445. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  446. package/js/types/Interface/api/report/QueryReports.js +0 -2
  447. package/js/types/Interface/api/report/QueryReports.js.map +1 -1
  448. package/js/types/Interface/api/revision/QueryRevision.js +0 -6
  449. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  450. package/js/types/Interface/api/revision/QueryRevisionAccount.js +5 -7
  451. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  452. package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -6
  453. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  454. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  455. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  456. package/js/types/Interface/api/task/QueryCountTask.js +1 -1
  457. package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
  458. package/js/types/Interface/api/task/QueryPaginatedTask.js +0 -6
  459. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  460. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
  461. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  462. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
  463. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  464. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +0 -4
  465. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  466. package/js/types/Interface/models/IApiError.js +6 -3
  467. package/js/types/Interface/models/IApiError.js.map +1 -1
  468. package/js/types/Interface/models/{ISocietyRelance.js → ICommercialMail.js} +1 -1
  469. package/js/types/Interface/models/ICommercialMail.js.map +1 -0
  470. package/js/types/Interface/{api/dashboard/ReadVatDisbursed.js → models/IInvoiceReminder.js} +1 -1
  471. package/js/types/Interface/models/IInvoiceReminder.js.map +1 -0
  472. package/js/types/index.js +64 -436
  473. package/js/types/index.js.map +1 -1
  474. package/js/utils/amount.js +23 -0
  475. package/js/utils/amount.js.map +1 -0
  476. package/js/utils/brands.js +26 -7
  477. package/js/utils/brands.js.map +1 -1
  478. package/js/utils/commercialManagement/document.js +157 -0
  479. package/js/utils/commercialManagement/document.js.map +1 -0
  480. package/js/utils/commercialManagement/product.js +57 -0
  481. package/js/utils/commercialManagement/product.js.map +1 -0
  482. package/js/utils/commercialManagement/templates/body.js +120 -0
  483. package/js/utils/commercialManagement/templates/body.js.map +1 -0
  484. package/js/utils/commercialManagement/templates/common.js +211 -0
  485. package/js/utils/commercialManagement/templates/common.js.map +1 -0
  486. package/js/utils/commercialManagement/vat.js +45 -0
  487. package/js/utils/commercialManagement/vat.js.map +1 -0
  488. package/js/utils/index.js +21 -9
  489. package/js/utils/index.js.map +1 -1
  490. package/js/utils/task.js +20 -29
  491. package/js/utils/task.js.map +1 -1
  492. package/js/utils/webmail.js +3 -1
  493. package/js/utils/webmail.js.map +1 -1
  494. package/package.json +3 -1
  495. package/ts/api/resources/BudgetInsight.ts +13 -0
  496. package/ts/api/resources/CalendarEvent.ts +2 -3
  497. package/ts/api/resources/CommercialSetting.ts +12 -0
  498. package/ts/api/resources/Connector.ts +16 -1
  499. package/ts/api/resources/Dashboard.ts +0 -6
  500. package/ts/api/resources/Exercice.ts +0 -4
  501. package/ts/api/resources/FecFile.ts +6 -32
  502. package/ts/api/resources/GeneralLedger.ts +2 -2
  503. package/ts/api/resources/Invoice.ts +39 -0
  504. package/ts/api/resources/Loan.ts +1 -1
  505. package/ts/api/resources/Mail.ts +3 -4
  506. package/ts/api/resources/Partner.ts +0 -4
  507. package/ts/api/resources/Qonto.ts +5 -27
  508. package/ts/api/resources/User.ts +29 -30
  509. package/ts/api/resources/commercialDocument.ts +66 -0
  510. package/ts/api/resources/reminder.ts +20 -0
  511. package/ts/api/resources.ts +8 -18
  512. package/ts/index.ts +1 -0
  513. package/ts/types/Enum/Account.ts +8 -0
  514. package/ts/types/Enum/BalanceSheet.ts +1 -1
  515. package/ts/types/Enum/BrandClementine.ts +1 -10
  516. package/ts/types/Enum/BrandComptalib.ts +4 -13
  517. package/ts/types/Enum/BrandLegalstart.ts +0 -3
  518. package/ts/types/Enum/BrandPourcentage.ts +3 -7
  519. package/ts/types/Enum/BudgetInsight.ts +1 -1
  520. package/ts/types/Enum/CommercialManagement.ts +64 -0
  521. package/ts/types/Enum/EstimateInvoice.ts +1 -1
  522. package/ts/types/Enum/Ged.ts +15 -102
  523. package/ts/types/Enum/Log.ts +0 -1
  524. package/ts/types/Enum/Prestation.ts +14 -0
  525. package/ts/types/Enum/Role.ts +10 -15
  526. package/ts/types/Enum/RoleDetail.ts +64 -127
  527. package/ts/types/Enum/SheetMonthScheduleDetailType.ts +1 -1
  528. package/ts/types/Enum/TaskResponseType.ts +2 -57
  529. package/ts/types/Enum/TimeCounterType.ts +19 -47
  530. package/ts/types/Enum/Vat.ts +28 -25
  531. package/ts/types/Enum/VatDeclarationType.ts +0 -6
  532. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -5
  533. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +1 -1
  534. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -1
  535. package/ts/types/Interface/api/commercialManagement/Create.ts +425 -0
  536. package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
  537. package/ts/types/Interface/api/commercialManagement/Read.ts +67 -0
  538. package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
  539. package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
  540. package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
  541. package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
  542. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
  543. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
  544. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
  545. package/ts/types/Interface/api/product/CreateProduct.ts +14 -6
  546. package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
  547. package/ts/types/Interface/api/report/QueryReports.ts +0 -3
  548. package/ts/types/Interface/api/revision/QueryRevision.ts +2 -15
  549. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +4 -11
  550. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +2 -15
  551. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
  552. package/ts/types/Interface/api/revision/ReadRevision.ts +1 -2
  553. package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -2
  554. package/ts/types/Interface/api/task/QueryCountTask.ts +1 -1
  555. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -9
  556. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -9
  557. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -12
  558. package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +1 -7
  559. package/ts/types/Interface/models/IAccount.ts +0 -2
  560. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
  561. package/ts/types/Interface/models/IApiError.ts +6 -3
  562. package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
  563. package/ts/types/Interface/models/ICommercialMail.ts +15 -0
  564. package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
  565. package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
  566. package/ts/types/Interface/models/IExercice.ts +0 -1
  567. package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
  568. package/ts/types/Interface/models/ILegalNotice.ts +0 -1
  569. package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
  570. package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
  571. package/ts/types/Interface/models/IPrestation.ts +0 -3
  572. package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
  573. package/ts/types/Interface/models/IProduct.ts +4 -1
  574. package/ts/types/Interface/models/IProductInvoice.ts +7 -3
  575. package/ts/types/Interface/models/ISociety.ts +2 -5
  576. package/ts/types/Interface/models/ISocietyGescom.ts +14 -1
  577. package/ts/types/Interface/models/ISocietyPartner.ts +1 -2
  578. package/ts/types/Interface/models/ITask.ts +2 -2
  579. package/ts/types/index.ts +11 -42
  580. package/ts/utils/amount.ts +13 -0
  581. package/ts/utils/brands.ts +25 -7
  582. package/ts/utils/commercialManagement/document.ts +111 -0
  583. package/ts/utils/commercialManagement/product.ts +37 -0
  584. package/ts/utils/commercialManagement/templates/body.ts +113 -0
  585. package/ts/utils/commercialManagement/templates/common.ts +205 -0
  586. package/ts/utils/commercialManagement/vat.ts +25 -0
  587. package/ts/utils/index.ts +2 -1
  588. package/ts/utils/task.ts +16 -24
  589. package/ts/utils/webmail.ts +3 -1
  590. package/es/api/resources/LegalNotice.d.ts +0 -6
  591. package/es/api/resources/LegalNotice.d.ts.map +0 -1
  592. package/es/api/resources/LegalNotice.js +0 -7
  593. package/es/api/resources/LegalNotice.js.map +0 -1
  594. package/es/api/resources/PaymentExpectation.d.ts +0 -6
  595. package/es/api/resources/PaymentExpectation.d.ts.map +0 -1
  596. package/es/api/resources/PaymentExpectation.js +0 -7
  597. package/es/api/resources/PaymentExpectation.js.map +0 -1
  598. package/es/api/resources/SlowDetection.d.ts +0 -11
  599. package/es/api/resources/SlowDetection.d.ts.map +0 -1
  600. package/es/api/resources/SlowDetection.js +0 -12
  601. package/es/api/resources/SlowDetection.js.map +0 -1
  602. package/es/api/resources/SocietyConfig.d.ts +0 -7
  603. package/es/api/resources/SocietyConfig.d.ts.map +0 -1
  604. package/es/api/resources/SocietyConfig.js +0 -10
  605. package/es/api/resources/SocietyConfig.js.map +0 -1
  606. package/es/api/resources/Source.d.ts +0 -6
  607. package/es/api/resources/Source.d.ts.map +0 -1
  608. package/es/api/resources/Source.js +0 -7
  609. package/es/api/resources/Source.js.map +0 -1
  610. package/es/api/resources/TerminationList.d.ts +0 -7
  611. package/es/api/resources/TerminationList.d.ts.map +0 -1
  612. package/es/api/resources/TerminationList.js +0 -10
  613. package/es/api/resources/TerminationList.js.map +0 -1
  614. package/es/api/resources/Wallet.d.ts +0 -8
  615. package/es/api/resources/Wallet.d.ts.map +0 -1
  616. package/es/api/resources/Wallet.js +0 -7
  617. package/es/api/resources/Wallet.js.map +0 -1
  618. package/es/api/resources/statistic/Accountant.d.ts +0 -59
  619. package/es/api/resources/statistic/Accountant.d.ts.map +0 -1
  620. package/es/api/resources/statistic/Accountant.js +0 -86
  621. package/es/api/resources/statistic/Accountant.js.map +0 -1
  622. package/es/api/resources/statistic/Direction.d.ts +0 -11
  623. package/es/api/resources/statistic/Direction.d.ts.map +0 -1
  624. package/es/api/resources/statistic/Direction.js +0 -14
  625. package/es/api/resources/statistic/Direction.js.map +0 -1
  626. package/es/api/resources/statistic/ExpertAccountant.d.ts +0 -29
  627. package/es/api/resources/statistic/ExpertAccountant.d.ts.map +0 -1
  628. package/es/api/resources/statistic/ExpertAccountant.js +0 -41
  629. package/es/api/resources/statistic/ExpertAccountant.js.map +0 -1
  630. package/es/types/Enum/AdditionnalSells.d.ts +0 -7
  631. package/es/types/Enum/AdditionnalSells.d.ts.map +0 -1
  632. package/es/types/Enum/AdditionnalSells.js +0 -8
  633. package/es/types/Enum/AdditionnalSells.js.map +0 -1
  634. package/es/types/Enum/CustomerVat.d.ts +0 -24
  635. package/es/types/Enum/CustomerVat.d.ts.map +0 -1
  636. package/es/types/Enum/CustomerVat.js +0 -26
  637. package/es/types/Enum/CustomerVat.js.map +0 -1
  638. package/es/types/Enum/Lab.d.ts +0 -25
  639. package/es/types/Enum/Lab.d.ts.map +0 -1
  640. package/es/types/Enum/Lab.js +0 -26
  641. package/es/types/Enum/Lab.js.map +0 -1
  642. package/es/types/Enum/OperationLegalNotice.d.ts +0 -4
  643. package/es/types/Enum/OperationLegalNotice.d.ts.map +0 -1
  644. package/es/types/Enum/OperationLegalNotice.js +0 -5
  645. package/es/types/Enum/OperationLegalNotice.js.map +0 -1
  646. package/es/types/Enum/OrderStatus.d.ts +0 -6
  647. package/es/types/Enum/OrderStatus.d.ts.map +0 -1
  648. package/es/types/Enum/OrderStatus.js +0 -7
  649. package/es/types/Enum/OrderStatus.js.map +0 -1
  650. package/es/types/Enum/PrestationType.d.ts +0 -2776
  651. package/es/types/Enum/PrestationType.d.ts.map +0 -1
  652. package/es/types/Enum/PrestationType.js +0 -2778
  653. package/es/types/Enum/PrestationType.js.map +0 -1
  654. package/es/types/Enum/Reason.d.ts +0 -4
  655. package/es/types/Enum/Reason.d.ts.map +0 -1
  656. package/es/types/Enum/Reason.js +0 -5
  657. package/es/types/Enum/Reason.js.map +0 -1
  658. package/es/types/Enum/RegistrationSourceDetail.d.ts +0 -195
  659. package/es/types/Enum/RegistrationSourceDetail.d.ts.map +0 -1
  660. package/es/types/Enum/RegistrationSourceDetail.js +0 -99
  661. package/es/types/Enum/RegistrationSourceDetail.js.map +0 -1
  662. package/es/types/Enum/ReportService.d.ts +0 -10
  663. package/es/types/Enum/ReportService.d.ts.map +0 -1
  664. package/es/types/Enum/ReportService.js +0 -31
  665. package/es/types/Enum/ReportService.js.map +0 -1
  666. package/es/types/Enum/Rules.d.ts +0 -2
  667. package/es/types/Enum/Rules.d.ts.map +0 -1
  668. package/es/types/Enum/Rules.js +0 -19
  669. package/es/types/Enum/Rules.js.map +0 -1
  670. package/es/types/Enum/StatisticType.d.ts +0 -16
  671. package/es/types/Enum/StatisticType.d.ts.map +0 -1
  672. package/es/types/Enum/StatisticType.js +0 -17
  673. package/es/types/Enum/StatisticType.js.map +0 -1
  674. package/es/types/Enum/StatsCaStateDetail.d.ts +0 -28
  675. package/es/types/Enum/StatsCaStateDetail.d.ts.map +0 -1
  676. package/es/types/Enum/StatsCaStateDetail.js +0 -28
  677. package/es/types/Enum/StatsCaStateDetail.js.map +0 -1
  678. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +0 -5
  679. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +0 -1
  680. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -24
  681. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  682. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +0 -13
  683. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +0 -1
  684. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +0 -2
  685. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  686. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +0 -5
  687. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +0 -1
  688. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -25
  689. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  690. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +0 -4
  691. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +0 -1
  692. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -17
  693. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  694. package/es/types/Interface/api/prestation/CreatePrestation.d.ts +0 -6
  695. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +0 -1
  696. package/es/types/Interface/api/prestation/CreatePrestation.js +0 -28
  697. package/es/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  698. package/es/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
  699. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
  700. package/es/types/Interface/api/qonto/CreateImportation.js +0 -26
  701. package/es/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  702. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
  703. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
  704. package/es/types/Interface/api/qonto/CreateQontoConnection.js +0 -24
  705. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  706. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +0 -4
  707. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +0 -1
  708. package/es/types/Interface/api/qonto/GetConnectionInformation.js +0 -19
  709. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  710. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
  711. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
  712. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  713. package/es/types/Interface/api/qonto/Query.d.ts +0 -77
  714. package/es/types/Interface/api/qonto/Query.d.ts.map +0 -1
  715. package/es/types/Interface/api/qonto/Query.js +0 -2
  716. package/es/types/Interface/api/qonto/Query.js.map +0 -1
  717. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +0 -6
  718. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +0 -1
  719. package/es/types/Interface/api/qonto/ReadCreateConnection.js +0 -2
  720. package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  721. package/es/types/Interface/api/qonto/UpdateConnection.d.ts +0 -4
  722. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +0 -1
  723. package/es/types/Interface/api/qonto/UpdateConnection.js +0 -19
  724. package/es/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  725. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts +0 -13
  726. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +0 -1
  727. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +0 -74
  728. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  729. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +0 -11
  730. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +0 -1
  731. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -2
  732. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +0 -1
  733. package/es/types/Interface/api/societyConfig/update.d.ts +0 -21
  734. package/es/types/Interface/api/societyConfig/update.d.ts.map +0 -1
  735. package/es/types/Interface/api/societyConfig/update.js.map +0 -1
  736. package/es/types/Interface/api/statistic/ExitRequest.d.ts +0 -108
  737. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +0 -1
  738. package/es/types/Interface/api/statistic/ExitRequest.js +0 -2
  739. package/es/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  740. package/es/types/Interface/api/statistic/QueryAccountant.d.ts +0 -6
  741. package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +0 -1
  742. package/es/types/Interface/api/statistic/QueryAccountant.js +0 -31
  743. package/es/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  744. package/es/types/Interface/api/statistic/QueryDirection.d.ts +0 -6
  745. package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +0 -1
  746. package/es/types/Interface/api/statistic/QueryDirection.js +0 -31
  747. package/es/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  748. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts +0 -6
  749. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +0 -1
  750. package/es/types/Interface/api/statistic/QueryExpertAccountant.js +0 -31
  751. package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  752. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts +0 -5
  753. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +0 -1
  754. package/es/types/Interface/api/statistic/QueryGetAccountant.js +0 -24
  755. package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  756. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts +0 -5
  757. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +0 -1
  758. package/es/types/Interface/api/statistic/QueryGetDirection.js +0 -24
  759. package/es/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  760. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts +0 -5
  761. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +0 -1
  762. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -24
  763. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  764. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +0 -17
  765. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +0 -1
  766. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +0 -96
  767. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  768. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +0 -17
  769. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +0 -1
  770. package/es/types/Interface/api/terminationList/QueryTerminationList.js +0 -98
  771. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  772. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts +0 -6
  773. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +0 -1
  774. package/es/types/Interface/api/wallet/UpdateAttribution.js +0 -34
  775. package/es/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  776. package/es/types/Interface/models/IPrestationHistory.d.ts +0 -13
  777. package/es/types/Interface/models/IPrestationHistory.d.ts.map +0 -1
  778. package/es/types/Interface/models/IPrestationHistory.js +0 -2
  779. package/es/types/Interface/models/IPrestationHistory.js.map +0 -1
  780. package/es/types/Interface/models/ISlowDetection.d.ts +0 -9
  781. package/es/types/Interface/models/ISlowDetection.d.ts.map +0 -1
  782. package/es/types/Interface/models/ISlowDetection.js +0 -2
  783. package/es/types/Interface/models/ISlowDetection.js.map +0 -1
  784. package/es/types/Interface/models/ISocietyRelance.d.ts.map +0 -1
  785. package/es/types/Interface/models/ISocietyRelance.js +0 -2
  786. package/es/types/Interface/models/ISocietyRelance.js.map +0 -1
  787. package/es/types/Interface/models/IStatistic.d.ts +0 -11
  788. package/es/types/Interface/models/IStatistic.d.ts.map +0 -1
  789. package/es/types/Interface/models/IStatistic.js +0 -2
  790. package/es/types/Interface/models/IStatistic.js.map +0 -1
  791. package/es/utils/prestation.d.ts +0 -11
  792. package/es/utils/prestation.d.ts.map +0 -1
  793. package/es/utils/prestation.js +0 -62
  794. package/es/utils/prestation.js.map +0 -1
  795. package/js/api/resources/LegalNotice.js +0 -18
  796. package/js/api/resources/LegalNotice.js.map +0 -1
  797. package/js/api/resources/PaymentExpectation.js +0 -20
  798. package/js/api/resources/PaymentExpectation.js.map +0 -1
  799. package/js/api/resources/SlowDetection.js +0 -23
  800. package/js/api/resources/SlowDetection.js.map +0 -1
  801. package/js/api/resources/SocietyConfig.js +0 -22
  802. package/js/api/resources/SocietyConfig.js.map +0 -1
  803. package/js/api/resources/Source.js +0 -18
  804. package/js/api/resources/Source.js.map +0 -1
  805. package/js/api/resources/TerminationList.js +0 -26
  806. package/js/api/resources/TerminationList.js.map +0 -1
  807. package/js/api/resources/Wallet.js +0 -18
  808. package/js/api/resources/Wallet.js.map +0 -1
  809. package/js/api/resources/statistic/Accountant.js +0 -150
  810. package/js/api/resources/statistic/Accountant.js.map +0 -1
  811. package/js/api/resources/statistic/Direction.js +0 -30
  812. package/js/api/resources/statistic/Direction.js.map +0 -1
  813. package/js/api/resources/statistic/ExpertAccountant.js +0 -75
  814. package/js/api/resources/statistic/ExpertAccountant.js.map +0 -1
  815. package/js/types/Enum/AdditionnalSells.js +0 -14
  816. package/js/types/Enum/AdditionnalSells.js.map +0 -1
  817. package/js/types/Enum/CustomerVat.js +0 -34
  818. package/js/types/Enum/CustomerVat.js.map +0 -1
  819. package/js/types/Enum/Lab.js +0 -33
  820. package/js/types/Enum/Lab.js.map +0 -1
  821. package/js/types/Enum/OperationLegalNotice.js +0 -11
  822. package/js/types/Enum/OperationLegalNotice.js.map +0 -1
  823. package/js/types/Enum/OrderStatus.js +0 -13
  824. package/js/types/Enum/OrderStatus.js.map +0 -1
  825. package/js/types/Enum/PrestationType.js +0 -2785
  826. package/js/types/Enum/PrestationType.js.map +0 -1
  827. package/js/types/Enum/Reason.js +0 -11
  828. package/js/types/Enum/Reason.js.map +0 -1
  829. package/js/types/Enum/RegistrationSourceDetail.js +0 -200
  830. package/js/types/Enum/RegistrationSourceDetail.js.map +0 -1
  831. package/js/types/Enum/ReportService.js +0 -32
  832. package/js/types/Enum/ReportService.js.map +0 -1
  833. package/js/types/Enum/Rules.js +0 -7
  834. package/js/types/Enum/Rules.js.map +0 -1
  835. package/js/types/Enum/StatisticType.js +0 -23
  836. package/js/types/Enum/StatisticType.js.map +0 -1
  837. package/js/types/Enum/StatsCaStateDetail.js +0 -33
  838. package/js/types/Enum/StatsCaStateDetail.js.map +0 -1
  839. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -31
  840. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  841. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  842. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -31
  843. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  844. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -27
  845. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  846. package/js/types/Interface/api/prestation/CreatePrestation.js +0 -33
  847. package/js/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  848. package/js/types/Interface/api/qonto/CreateImportation.js +0 -31
  849. package/js/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  850. package/js/types/Interface/api/qonto/CreateQontoConnection.js +0 -31
  851. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  852. package/js/types/Interface/api/qonto/GetConnectionInformation.js +0 -29
  853. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  854. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  855. package/js/types/Interface/api/qonto/Query.js.map +0 -1
  856. package/js/types/Interface/api/qonto/ReadCreateConnection.js +0 -6
  857. package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  858. package/js/types/Interface/api/qonto/UpdateConnection.js +0 -29
  859. package/js/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  860. package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +0 -53
  861. package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  862. package/js/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -6
  863. package/js/types/Interface/api/society/SocietyWithStatsCaParams.js.map +0 -1
  864. package/js/types/Interface/api/societyConfig/update.js +0 -65
  865. package/js/types/Interface/api/societyConfig/update.js.map +0 -1
  866. package/js/types/Interface/api/statistic/ExitRequest.js +0 -6
  867. package/js/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  868. package/js/types/Interface/api/statistic/QueryAccountant.js +0 -35
  869. package/js/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  870. package/js/types/Interface/api/statistic/QueryDirection.js +0 -35
  871. package/js/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  872. package/js/types/Interface/api/statistic/QueryExpertAccountant.js +0 -35
  873. package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  874. package/js/types/Interface/api/statistic/QueryGetAccountant.js +0 -31
  875. package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  876. package/js/types/Interface/api/statistic/QueryGetDirection.js +0 -31
  877. package/js/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  878. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -31
  879. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  880. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +0 -55
  881. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  882. package/js/types/Interface/api/terminationList/QueryTerminationList.js +0 -55
  883. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  884. package/js/types/Interface/api/wallet/UpdateAttribution.js +0 -35
  885. package/js/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  886. package/js/types/Interface/models/IPrestationHistory.js +0 -6
  887. package/js/types/Interface/models/IPrestationHistory.js.map +0 -1
  888. package/js/types/Interface/models/ISlowDetection.js +0 -6
  889. package/js/types/Interface/models/ISlowDetection.js.map +0 -1
  890. package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
  891. package/js/types/Interface/models/IStatistic.js +0 -6
  892. package/js/types/Interface/models/IStatistic.js.map +0 -1
  893. package/js/utils/prestation.js +0 -41
  894. package/js/utils/prestation.js.map +0 -1
  895. package/ts/api/resources/LegalNotice.ts +0 -8
  896. package/ts/api/resources/PaymentExpectation.ts +0 -8
  897. package/ts/api/resources/SlowDetection.ts +0 -13
  898. package/ts/api/resources/SocietyConfig.ts +0 -12
  899. package/ts/api/resources/Source.ts +0 -8
  900. package/ts/api/resources/TerminationList.ts +0 -12
  901. package/ts/api/resources/Wallet.ts +0 -8
  902. package/ts/api/resources/statistic/Accountant.ts +0 -121
  903. package/ts/api/resources/statistic/Direction.ts +0 -17
  904. package/ts/api/resources/statistic/ExpertAccountant.ts +0 -56
  905. package/ts/types/Enum/AdditionnalSells.ts +0 -6
  906. package/ts/types/Enum/CustomerVat.ts +0 -24
  907. package/ts/types/Enum/Lab.ts +0 -25
  908. package/ts/types/Enum/OperationLegalNotice.ts +0 -3
  909. package/ts/types/Enum/OrderStatus.ts +0 -5
  910. package/ts/types/Enum/PrestationType.ts +0 -2777
  911. package/ts/types/Enum/Reason.ts +0 -3
  912. package/ts/types/Enum/RegistrationSourceDetail.ts +0 -98
  913. package/ts/types/Enum/ReportService.ts +0 -32
  914. package/ts/types/Enum/Rules.ts +0 -18
  915. package/ts/types/Enum/StatisticType.ts +0 -15
  916. package/ts/types/Enum/StatsCaStateDetail.ts +0 -27
  917. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
  918. package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
  919. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
  920. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -6
  921. package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -15
  922. package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
  923. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
  924. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
  925. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
  926. package/ts/types/Interface/api/qonto/Query.ts +0 -80
  927. package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +0 -6
  928. package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
  929. package/ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts +0 -56
  930. package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +0 -11
  931. package/ts/types/Interface/api/societyConfig/update.ts +0 -103
  932. package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -120
  933. package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -20
  934. package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -20
  935. package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -20
  936. package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -14
  937. package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -14
  938. package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -14
  939. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -74
  940. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -76
  941. package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -23
  942. package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
  943. package/ts/types/Interface/models/ISlowDetection.ts +0 -11
  944. package/ts/types/Interface/models/IStatistic.ts +0 -13
  945. package/ts/utils/prestation.ts +0 -71
@@ -1 +1 @@
1
- {"version":3,"file":"ReadGescom.js","mappings":";;;;;;AAAM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAKP,MAAOC,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAMP,MAAOC,WAAP,CAAkB;;QAAXA,W,GAAAA,W;;AAMP,MAAOC,cAAP,CAAqB;;QAAdA,c,GAAAA,c","names":["ReadGescom","InvoiceObject","QuoteObject","PartialInvoice"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"sourcesContent":["export class ReadGescom {\n bill: InvoiceObject;\n quote: QuoteObject;\n}\n\nexport class InvoiceObject {\n invoicesPaid: Array<PartialInvoice>;\n invoicesPaiementWaiting: Array<PartialInvoice>;\n invoicesPaiementLate: Array<PartialInvoice>;\n}\n\nexport class QuoteObject {\n quoteAccepted: Array<PartialInvoice>;\n quoteRefused: Array<PartialInvoice>;\n quotePending: Array<PartialInvoice>;\n}\n\nexport class PartialInvoice {\n id: number;\n label: string;\n totalHt: number;\n totalTtc: number;\n dueDate: string | Date;\n expirationDate: string | Date | null;\n}"]}
1
+ {"version":3,"file":"ReadGescom.js","mappings":";;;;;;AAAM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAKP,MAAOC,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAMP,MAAOC,WAAP,CAAkB;;QAAXA,W,GAAAA,W;;AAMP,MAAOC,cAAP,CAAqB;;QAAdA,c,GAAAA,c","names":["ReadGescom","InvoiceObject","QuoteObject","PartialInvoice"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"sourcesContent":["export class ReadGescom {\n bill: InvoiceObject;\n quote: QuoteObject;\n}\n\nexport class InvoiceObject {\n invoicesPaid: Array<PartialInvoice>;\n invoicesPaiementWaiting: Array<PartialInvoice>;\n invoicesPaiementLate: Array<PartialInvoice>;\n}\n\nexport class QuoteObject {\n quoteAccepted: Array<PartialInvoice>;\n quoteRefused: Array<PartialInvoice>;\n quotePending: Array<PartialInvoice>;\n}\n\nexport class PartialInvoice {\n id: number;\n label: string;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n dueDate: string | Date;\n}"]}
@@ -35,8 +35,6 @@ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), (0, _classV
35
35
 
36
36
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), (0, _classValidator.Min)(1), __metadata("design:type", Number)], QueryGeneralLedger.prototype, "page", void 0);
37
37
 
38
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryGeneralLedger.prototype, "idAccount", void 0);
39
-
40
38
  __decorate([(0, _utils.ApiPropertyOptional)({
41
39
  default: true
42
40
  }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryGeneralLedger.prototype, "descending", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedger.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAEXC,YADC,yBACD;;AAGAA,YADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAGAD,YADC,iCACD","names":["QueryGeneralLedger","__decorate","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"sourcesContent":["import {\n IsArray,\n IsBoolean, IsInt, IsOptional, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGeneralLedger {\n @ApiProperty()\n dateStart: string;\n\n @ApiProperty()\n dateEnd: string;\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()\n @IsArray()\n @IsOptional()\n idAccount?: number[];\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n search?: string;\n}"]}
1
+ {"version":3,"file":"QueryGeneralLedger.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAEXC,YADC,yBACD;;AAGAA,YADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAGAD,YADC,iCACD","names":["QueryGeneralLedger","__decorate","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"sourcesContent":["import {\n IsBoolean, IsInt, IsOptional, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGeneralLedger {\n @ApiProperty()\n dateStart: string;\n\n @ApiProperty()\n dateEnd: string;\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: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n search?: string;\n}"]}
@@ -31,9 +31,5 @@ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata(
31
31
 
32
32
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isWithoutSociety", void 0);
33
33
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "handlingManagerRoleMails", void 0);
35
-
36
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
37
- each: true
38
- }), __metadata("design:type", String)], QueryCountUnprocessedByUserMail.prototype, "to", void 0);
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isCountingManagerRoleMails", void 0);
39
35
  //# sourceMappingURL=QueryCountUnprocessedByUserMail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountUnprocessedByUserMail.js","mappings":";;;;;;;AAAA;;AAMA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEC,IAAI,EAAE;AAAR,CAAT,CACD","names":["QueryCountUnprocessedByUserMail","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"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","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryCountUnprocessedByUserMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"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"]}
@@ -75,7 +75,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
75
75
 
76
76
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idUser", void 0);
77
77
 
78
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "handlingManagerRoleMails", void 0);
78
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "displayManagerRoleMails", void 0);
79
79
 
80
80
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idSociety", void 0);
81
81
 
@@ -83,8 +83,6 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
83
83
 
84
84
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idUserWhoAnswered", void 0);
85
85
 
86
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idRole", void 0);
87
-
88
86
  __decorate([(0, _utils.ApiPropertyOptional)({
89
87
  default: 25
90
88
  }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "limit", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EAmFD;;AAnH8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"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","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"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"]}
@@ -11,6 +11,8 @@ var _ = require("../../..");
11
11
 
12
12
  var _2 = require("../../../..");
13
13
 
14
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
15
+
14
16
  var _objectId = require("../../../../utils/validators/objectId.validator");
15
17
 
16
18
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -31,15 +33,15 @@ exports.CreateProduct = CreateProduct;
31
33
 
32
34
  __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateProduct.prototype, "name", void 0);
33
35
 
34
- __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)({
35
- maxDecimalPlaces: 6
36
- }, {
37
- message: 'Price should be a number with maximum 6 decimal'
38
- }), (0, _classValidator.Min)(0, {
36
+ __decorate([(0, _2.ApiProperty)(), (0, _classValidator.Min)(0, {
39
37
  message: 'Price should be positive'
40
38
  }), __metadata("design:type", Number)], CreateProduct.prototype, "priceTaxExcluded", void 0);
41
39
 
42
- __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateProduct.prototype, "idVAT", void 0);
40
+ __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateProduct.prototype, "idVat", void 0);
41
+
42
+ __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateProduct.prototype, "marginVatType", void 0);
43
+
44
+ __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateProduct.prototype, "isFree", void 0);
43
45
 
44
46
  __decorate([(0, _2.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _objectId.IsObjectId)(_.Unit), __metadata("design:type", Number)], CreateProduct.prototype, "unit", void 0);
45
47
 
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProduct.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXC,YAFC,qBAED,EADC,+BACD;;AAWAA,YATC,qBASD,EARC,8BAAS;EACRC,gBAAgB,EAAE;AADV,CAAT,EAEE;EACDC,OAAO,EAAE;AADR,CAFF,CAQD,EAHC,yBAAI,CAAJ,EAAO;EACNA,OAAO,EAAE;AADH,CAAP,CAGD;;AAIAF,YAFC,qBAED,EADC,+BACD;;AAKAA,YAHC,qBAGD,EAFC,+BAED,EADC,0BAAWG,MAAX,CACD;;AAKAH,YAHC,qBAGD,EAFC,+BAED,EADC,0BAAWI,aAAX,CACD;;AAKAJ,YAHC,6BAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,6BAGD,EAFC,+BAED,EADC,iCACD","names":["CreateProduct","__decorate","maxDecimalPlaces","message","Unit","ProductType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"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","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXC,YAFC,qBAED,EADC,+BACD;;AAMAA,YAJC,qBAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAIAD,YAFC,qBAED,EADC,+BACD;;AAKAA,YAHC,6BAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,6BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,qBAGD,EAFC,+BAED,EADC,0BAAWE,MAAX,CACD;;AAKAF,YAHC,qBAGD,EAFC,+BAED,EADC,0BAAWG,aAAX,CACD;;AAKAH,YAHC,6BAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,6BAGD,EAFC,+BAED,EADC,iCACD","names":["CreateProduct","__decorate","message","Unit","ProductType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"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 @IsNumber()\n @IsOptional()\n marginVatType?: 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"]}
@@ -11,6 +11,8 @@ var _ = require("../../..");
11
11
 
12
12
  var _2 = require("../../../..");
13
13
 
14
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
15
+
14
16
  var _objectId = require("../../../../utils/validators/objectId.validator");
15
17
 
16
18
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -32,4 +34,8 @@ exports.QueryProduct = QueryProduct;
32
34
  __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryProduct.prototype, "search", void 0);
33
35
 
34
36
  __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), (0, _objectId.IsObjectId)(_.ProductType), __metadata("design:type", Number)], QueryProduct.prototype, "type", void 0);
37
+
38
+ __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryProduct.prototype, "orderBy", void 0);
39
+
40
+ __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryProduct.prototype, "isDescending", void 0);
35
41
  //# sourceMappingURL=QueryProduct.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryProduct.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,6BAID,EAHC,iCAGD,EAFC,+BAED,EADC,0BAAWC,aAAX,CACD","names":["QueryProduct","__decorate","ProductType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"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","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,6BAID,EAHC,iCAGD,EAFC,+BAED,EADC,0BAAWC,aAAX,CACD;;AAKAD,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,6BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD","names":["QueryProduct","__decorate","ProductType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"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}"]}
@@ -27,8 +27,6 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)
27
27
 
28
28
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "idSociety", void 0);
29
29
 
30
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "idService", void 0);
31
-
32
30
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QueryReports.prototype, "id", void 0);
33
31
 
34
32
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryReports.prototype, "search", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReports.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD","names":["QueryReports","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n}\n"]}
1
+ {"version":3,"file":"QueryReports.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD","names":["QueryReports","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n}\n"]}
@@ -9,8 +9,6 @@ var _classValidator = require("class-validator");
9
9
 
10
10
  var _ = require("../../../..");
11
11
 
12
- var _boolean = require("../../../../utils/transforms/boolean.transform");
13
-
14
12
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
13
  var c = arguments.length,
16
14
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -40,10 +38,6 @@ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("des
40
38
 
41
39
  __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevision.prototype, "idSociety", void 0);
42
40
 
43
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevision.prototype, "orderBy", void 0);
44
-
45
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevision.prototype, "descending", void 0);
46
-
47
41
  __decorate([(0, _.ApiProperty)({
48
42
  default: 25
49
43
  }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevision.prototype, "limit", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevision.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;EAA1BC;IAwBE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AAhCyB;;QAAbD,a,GAAAA,a;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAHC,4BAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,4BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevision","constructor","__decorate","Date","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"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","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;EAA1BC;IAaE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AArByB;;QAAbD,a,GAAAA,a;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevision","constructor","__decorate","Date","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"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}"]}
@@ -11,8 +11,6 @@ var _ = require("../../../..");
11
11
 
12
12
  var _utils = require("../../../../utils");
13
13
 
14
- var _boolean = require("../../../../utils/transforms/boolean.transform");
15
-
16
14
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17
15
  var c = arguments.length,
18
16
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -33,6 +31,10 @@ __decorate([(0, _.ApiProperty)({
33
31
  default: 1
34
32
  }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "page", void 0);
35
33
 
34
+ __decorate([(0, _utils.ApiPropertyOptional)({
35
+ default: 'idAccount'
36
+ }), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
37
+
36
38
  __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "startDate", void 0);
37
39
 
38
40
  __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "endDate", void 0);
@@ -41,13 +43,9 @@ __decorate([(0, _utils.ApiPropertyOptional)({
41
43
  default: 25
42
44
  }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "limit", void 0);
43
45
 
44
- __decorate([(0, _utils.ApiPropertyOptional)({
45
- default: 'date'
46
- }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
47
-
48
46
  __decorate([(0, _utils.ApiPropertyOptional)({
49
47
  default: true
50
- }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
48
+ }), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
51
49
 
52
50
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "isRevised", void 0);
53
51
 
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionAccount.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,mBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAAWE,KAAX;;AAIAF,YAFC,oBAED,EADC,6BACD,4BAASE,KAAT;;AAIAF,YAFC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAGAD,YADC,iCACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["QueryRevisionAccount","__decorate","default","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"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","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,mBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAGAD,YADC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CACD;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAAWE,KAAX;;AAIAF,YAFC,oBAED,EADC,6BACD,4BAASE,KAAT;;AAIAF,YAFC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAED,EADC,+BACD;;AAGAD,YADC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CACD;;AAGAD,YADC,iCACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["QueryRevisionAccount","__decorate","default","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"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}"]}
@@ -9,8 +9,6 @@ var _classValidator = require("class-validator");
9
9
 
10
10
  var _ = require("../../../..");
11
11
 
12
- var _boolean = require("../../../../utils/transforms/boolean.transform");
13
-
14
12
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
13
  var c = arguments.length,
16
14
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -40,10 +38,6 @@ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("des
40
38
 
41
39
  __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "idSociety", void 0);
42
40
 
43
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionPaginate.prototype, "orderBy", void 0);
44
-
45
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionPaginate.prototype, "descending", void 0);
46
-
47
41
  __decorate([(0, _.ApiProperty)({
48
42
  default: 25
49
43
  }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "limit", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionPaginate.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,qBAAP,CAA4B;EAAlCC;IAwBE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AAhCiC;;QAArBD,qB,GAAAA,qB;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAHC,4BAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,4BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionPaginate","constructor","__decorate","Date","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"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","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,qBAAP,CAA4B;EAAlCC;IAaE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AArBiC;;QAArBD,qB,GAAAA,qB;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionPaginate","constructor","__decorate","Date","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"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}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAmFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA3FsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD,4BAAuBE,MAAvB;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEG,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAH,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","Array","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"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","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAmFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA3FsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD,4BAAuBE,MAAvB;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEG,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAH,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","Array","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSimulation.js","mappings":";;;;;;AAAA;AAiDM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAWP,MAAOC,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB","names":["CreateBalanceElement","CreateSimulation"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"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","mappings":";;;;;;AAAA;AA+CM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAWP,MAAOC,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB","names":["CreateBalanceElement","CreateSimulation"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/simulation/CreateSimulation.ts"],"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"]}
@@ -27,7 +27,7 @@ exports.QueryCountTask = QueryCountTask;
27
27
 
28
28
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryCountTask.prototype, "idUser", void 0);
29
29
 
30
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryCountTask.prototype, "idService", void 0);
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryCountTask.prototype, "idRole", void 0);
31
31
 
32
32
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryCountTask.prototype, "isLate", void 0);
33
33
  //# sourceMappingURL=QueryCountTask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountTask.js","mappings":";;;;;;;AAAA;;AAKA;;;;;;;;;;;;;;AAEM,MAAOA,cAAP,CAAqB;;QAAdA,c,GAAAA,c;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,gCACD","names":["QueryCountTask","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"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","mappings":";;;;;;;AAAA;;AAKA;;;;;;;;;;;;;;AAEM,MAAOA,cAAP,CAAqB;;QAAdA,c,GAAAA,c;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,gCACD","names":["QueryCountTask","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryCountTask.ts"],"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}"]}
@@ -35,8 +35,6 @@ class QueryPaginatedTask {
35
35
 
36
36
  exports.QueryPaginatedTask = QueryPaginatedTask;
37
37
 
38
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryPaginatedTask.prototype, "isIntern", void 0);
39
-
40
38
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedTask.prototype, "idTaskType", void 0);
41
39
 
42
40
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryPaginatedTask.prototype, "search", void 0);
@@ -51,10 +49,6 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
51
49
 
52
50
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedTask.prototype, "idUser", void 0);
53
51
 
54
- __decorate([(0, _utils.ApiPropertyOptional)({
55
- description: 'roles for filter tasks'
56
- }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedTask.prototype, "idService", void 0);
57
-
58
52
  __decorate([(0, _utils.ApiPropertyOptional)({
59
53
  description: 'user who terminate the task'
60
54
  }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedTask.prototype, "idUserWhoProcessed", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedTask.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAwBE,iBAAa,KAAb;IAKA,eAAmB,WAAnB;IA8BA,aAAiB,EAAjB;IAKA,YAAgB,CAAhB;EAsCD;;AAtG8B;;QAAlBD,kB,GAAAA,kB;;AAGXE,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEE,WAAW,EAAE;AAAf,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,gCAAoB;EAAEE,WAAW,EAAE;AAAf,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,gCAAoB;EAAEE,WAAW,EAAE;AAAf,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAOAD,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRG,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAH,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAYI,KAAZ;;AAKAJ,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAUI,KAAV;;AAMAJ,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRG,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,UAAZ,EAAwB,cAAxB,EAAwC,MAAxC,EAAgD,MAAhD,EAAwD,gBAAxD,EAA0E,kBAA1E,EAA8F,gBAA9F,EAAgH,qBAAhH,EAAuI,gBAAvI,CAAL,EAA+J;EAAEA,IAAI,EAAE;AAAR,CAA/J,CACD","names":["QueryPaginatedTask","constructor","__decorate","default","description","each","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryPaginatedTask.ts"],"sourcesContent":["import {\n IsBoolean, IsNumber, IsOptional, IsString, IsInt, IsDate, IsIn,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedTask {\n @ApiPropertyOptional()\n @IsOptional()\n isIntern?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTaskType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'createdAt';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional({ description: 'roles for filter tasks' })\n @IsOptional()\n @IsInt()\n idService?: number;\n\n @ApiPropertyOptional({ description: 'user who terminate the task' })\n @IsOptional()\n @IsInt()\n idUserWhoProcessed?: number;\n\n @ApiPropertyOptional({ description: 'user who create the task' })\n @IsOptional()\n @IsInt()\n idUserWhoCreated?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number = 1;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })\n include?: string[];\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedTask.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAoBE,iBAAa,KAAb;IAKA,eAAmB,WAAnB;IAyBA,aAAiB,EAAjB;IAKA,YAAgB,CAAhB;EAsCD;;AA7F8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEE,WAAW,EAAE;AAAf,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,gCAAoB;EAAEE,WAAW,EAAE;AAAf,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAOAD,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRG,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAH,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAYI,KAAZ;;AAKAJ,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAUI,KAAV;;AAMAJ,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRG,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,UAAZ,EAAwB,cAAxB,EAAwC,MAAxC,EAAgD,MAAhD,EAAwD,gBAAxD,EAA0E,kBAA1E,EAA8F,gBAA9F,EAAgH,qBAAhH,EAAuI,gBAAvI,CAAL,EAA+J;EAAEA,IAAI,EAAE;AAAR,CAA/J,CACD","names":["QueryPaginatedTask","constructor","__decorate","default","description","each","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/task/QueryPaginatedTask.ts"],"sourcesContent":["import {\n IsBoolean, IsNumber, IsOptional, IsString, IsInt, IsDate, IsIn,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedTask {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTaskType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'createdAt';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional({ description: 'user who terminate the task' })\n @IsOptional()\n @IsInt()\n idUserWhoProcessed?: number;\n\n @ApiPropertyOptional({ description: 'user who create the task' })\n @IsOptional()\n @IsInt()\n idUserWhoCreated?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number = 1;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })\n include?: string[];\n}\n"]}
@@ -34,10 +34,4 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
34
34
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idRoles", void 0);
35
35
 
36
36
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idUser", void 0);
37
-
38
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
39
- each: true
40
- }), (0, _classValidator.IsIn)(['avatar', 'teams', 'businessLines'], {
41
- each: true
42
- }), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "include", void 0);
43
37
  //# sourceMappingURL=ParamsGetAllCollaborators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAKA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,QAAD,EAAW,OAAX,EAAoB,eAApB,CAAL,EAA2C;EAAEA,IAAI,EAAE;AAAR,CAA3C,CACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsIn,\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines'], { each: true })\n include?: string[];\n}"]}
1
+ {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n}"]}
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.QueryGetAllCollaborators = undefined;
7
7
 
8
- var _classValidator = require("class-validator");
9
-
10
8
  var _utils = require("../../../../utils");
11
9
 
12
10
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -31,10 +29,4 @@ __decorate([(0, _utils.ApiProperty)({
31
29
  type: [Number],
32
30
  example: [1, 13]
33
31
  }), __metadata("design:type", Array)], QueryGetAllCollaborators.prototype, "idUser", void 0);
34
-
35
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
36
- each: true
37
- }), (0, _classValidator.IsIn)(['avatar', 'teams', 'businessLines'], {
38
- each: true
39
- }), __metadata("design:type", Array)], QueryGetAllCollaborators.prototype, "include", void 0);
40
32
  //# sourceMappingURL=QueryGetAllCollaborators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAOXC,YANC,wBAAY;EACXC,WAAW,EAAE,oBADF;EAEXC,QAAQ,EAAE,KAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD;;AAQAL,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRM,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,QAAD,EAAW,OAAX,EAAoB,eAApB,CAAL,EAA2C;EAAEA,IAAI,EAAE;AAAR,CAA3C,CACD","names":["QueryGetAllCollaborators","__decorate","description","required","type","Number","example","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"sourcesContent":["import {\n IsIn, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines'], { each: true })\n include?: string[];\n}"]}
1
+ {"version":3,"file":"QueryGetAllCollaborators.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAOXC,YANC,wBAAY;EACXC,WAAW,EAAE,oBADF;EAEXC,QAAQ,EAAE,KAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD","names":["QueryGetAllCollaborators","__decorate","description","required","type","Number","example"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n}"]}
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.QueryGetAllCollaboratorsByRoles = undefined;
7
7
 
8
- var _classValidator = require("class-validator");
9
-
10
8
  var _utils = require("../../../../utils");
11
9
 
12
10
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -25,8 +23,6 @@ class QueryGetAllCollaboratorsByRoles {}
25
23
 
26
24
  exports.QueryGetAllCollaboratorsByRoles = QueryGetAllCollaboratorsByRoles;
27
25
 
28
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryGetAllCollaboratorsByRoles.prototype, "idTimeCounterType", void 0);
29
-
30
26
  __decorate([(0, _utils.ApiProperty)({
31
27
  description: 'roles used for group users',
32
28
  required: true,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGetAllCollaboratorsByRoles.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAQAA,YANC,wBAAY;EACXC,WAAW,EAAE,4BADF;EAEXC,QAAQ,EAAE,IAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD","names":["QueryGetAllCollaboratorsByRoles","__decorate","description","required","type","Number","example"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts"],"sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}"]}
1
+ {"version":3,"file":"QueryGetAllCollaboratorsByRoles.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAOXC,YANC,wBAAY;EACXC,WAAW,EAAE,4BADF;EAEXC,QAAQ,EAAE,IAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD","names":["QueryGetAllCollaboratorsByRoles","__decorate","description","required","type","Number","example"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts"],"sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}"]}
@@ -32,6 +32,7 @@ var Code = exports.Code = undefined;
32
32
  Code["failedCheckBalance"] = "failed_check_balance";
33
33
  Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
34
34
  Code["vatMargeCanOnlyBeSetForCredit"] = "vat_marge_can_only_be_set_for_credit";
35
+ Code["vatMargeWithAssetCanOnlyBeSetForDebit"] = "vat_marge_with_asset_can_only_be_set_for_debit";
35
36
  Code["vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet"] = "vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set";
36
37
  Code["missingParamSplit"] = "missing_param_split";
37
38
  Code["totalAmountSplitNotEqualTransaction"] = "total_amount_split_not_equal_transaction";
@@ -135,9 +136,7 @@ var Code = exports.Code = undefined;
135
136
  Code["fetchTransactionsFailed"] = "fetch_transactions_failed";
136
137
  Code["fetchNewTokenFailed"] = "fetch_new_token_failed";
137
138
  Code["bankAccountDesactivationFailed"] = "bank_account_desactivation_failed";
138
- Code["udpateTokenFailed"] = "update_token_failed"; // qonto
139
-
140
- Code["CONNECTION_ALREADY_EXISTS"] = "CONNECTION_ALREADY_EXISTS"; // Accounts
139
+ Code["udpateTokenFailed"] = "update_token_failed"; // Accounts
141
140
 
142
141
  Code["GENERIC_ACCOUNT_NOT_FOUND"] = "GENERIC_ACCOUNT_NOT_FOUND"; // Balance Sheet Questions
143
142
 
@@ -158,5 +157,9 @@ var Code = exports.Code = undefined;
158
157
  Code["CHECKLIST_ALREADY_EXIST"] = "checklist_already_exist";
159
158
  Code["INVALID_BRAND"] = "invalid_brand";
160
159
  Code["INVALID_DAY"] = "invalid_day";
160
+ Code["ENTITY_ALREADY_EXIST"] = "entity_already_exist"; // Gescom
161
+
162
+ Code["CAN_NOT_DELETE_DOCUMENT"] = "can_not_delete_document";
163
+ Code["CAN_NOT_EDIT_INVOICE"] = "can_not_edit_invoice";
161
164
  })(Code || (exports.Code = Code = {}));
162
165
  //# sourceMappingURL=IApiError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IAsKX,WAtKWA,IAsKX,YAtKD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAdc,CAgBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CAzCc,CA2Cd;;EACAA;EACAA;EACAA,mCA9Cc,CAgDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CArDc,CAuDd;;EACAA;EACAA,sEAzDc,CA2Dd;;EACAA,qEA5Dc,CA8Dd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA3Fc,CA6Fd;;EACAA,+DA9Fc,CAgGd;;EACAA;EACAA,yDAlGc,CAoGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CA/Gc,CAiHd;;EACAA;EACAA,oCAnHc,CAqHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA5Hc,CA8Hd;;EACAA,4CA/Hc,CAiId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDAxIc,CA0Id;;EACAA,gEA3Ic,CA6Id;;EACAA,gEA9Ic,CAgJd;;EACAA;EACAA;EACAA;EACAA,oFApJc,CAsJd;;EACAA;EACAA,oDAxJc,CA0Jd;;EACAA,sDA3Jc,CA6Jd;;EACAA;EAEAA;EACAA;EACAA;EACAA;EACAA;EACAA;AACD,CAtKD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // qonto\n CONNECTION_ALREADY_EXISTS = 'CONNECTION_ALREADY_EXISTS',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IAyKX,WAzKWA,IAyKX,YAzKD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAdc,CAgBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CA1Cc,CA4Cd;;EACAA;EACAA;EACAA,mCA/Cc,CAiDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CAtDc,CAwDd;;EACAA;EACAA,sEA1Dc,CA4Dd;;EACAA,qEA7Dc,CA+Dd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA5Fc,CA8Fd;;EACAA,+DA/Fc,CAiGd;;EACAA;EACAA,yDAnGc,CAqGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CAhHc,CAkHd;;EACAA;EACAA,oCApHc,CAsHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA7Hc,CA+Hd;;EACAA,4CAhIc,CAkId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDAzIc,CA2Id;;EACAA,gEA5Ic,CA8Id;;EACAA;EACAA;EACAA;EACAA,oFAlJc,CAoJd;;EACAA;EACAA,oDAtJc,CAwJd;;EACAA,sDAzJc,CA2Jd;;EACAA;EAEAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDApKc,CAsKd;;EACAA;EACAA;AACD,CAzKD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeWithAssetCanOnlyBeSetForDebit = 'vat_marge_with_asset_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n ENTITY_ALREADY_EXIST = 'entity_already_exist',\n\n // Gescom\n CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',\n CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- //# sourceMappingURL=ISocietyRelance.js.map
6
+ //# sourceMappingURL=ICommercialMail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICommercialMail.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- //# sourceMappingURL=ReadVatDisbursed.js.map
6
+ //# sourceMappingURL=IInvoiceReminder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInvoiceReminder.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}