@silexpert/core 0.4.286 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (855) hide show
  1. package/CHANGELOG.md +0 -17
  2. package/es/api/resources/BudgetInsight.d.ts +7 -0
  3. package/es/api/resources/BudgetInsight.d.ts.map +1 -1
  4. package/es/api/resources/BudgetInsight.js +8 -0
  5. package/es/api/resources/BudgetInsight.js.map +1 -1
  6. package/es/api/resources/CalendarEvent.d.ts +1 -2
  7. package/es/api/resources/CalendarEvent.d.ts.map +1 -1
  8. package/es/api/resources/CalendarEvent.js +2 -2
  9. package/es/api/resources/CalendarEvent.js.map +1 -1
  10. package/es/api/resources/CommercialSetting.d.ts +7 -0
  11. package/es/api/resources/CommercialSetting.d.ts.map +1 -0
  12. package/es/api/resources/CommercialSetting.js +10 -0
  13. package/es/api/resources/CommercialSetting.js.map +1 -0
  14. package/es/api/resources/Connector.d.ts +4 -1
  15. package/es/api/resources/Connector.d.ts.map +1 -1
  16. package/es/api/resources/Connector.js +9 -0
  17. package/es/api/resources/Connector.js.map +1 -1
  18. package/es/api/resources/Dashboard.d.ts +1 -2
  19. package/es/api/resources/Dashboard.d.ts.map +1 -1
  20. package/es/api/resources/Dashboard.js +0 -3
  21. package/es/api/resources/Dashboard.js.map +1 -1
  22. package/es/api/resources/Exercice.d.ts +0 -1
  23. package/es/api/resources/Exercice.d.ts.map +1 -1
  24. package/es/api/resources/Exercice.js +0 -3
  25. package/es/api/resources/Exercice.js.map +1 -1
  26. package/es/api/resources/FecFile.d.ts +0 -6
  27. package/es/api/resources/FecFile.d.ts.map +1 -1
  28. package/es/api/resources/FecFile.js +6 -26
  29. package/es/api/resources/FecFile.js.map +1 -1
  30. package/es/api/resources/GeneralLedger.d.ts +1 -1
  31. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  32. package/es/api/resources/GeneralLedger.js +2 -2
  33. package/es/api/resources/GeneralLedger.js.map +1 -1
  34. package/es/api/resources/Invoice.d.ts +11 -0
  35. package/es/api/resources/Invoice.d.ts.map +1 -0
  36. package/es/api/resources/Invoice.js +19 -0
  37. package/es/api/resources/Invoice.js.map +1 -0
  38. package/es/api/resources/Loan.js +1 -1
  39. package/es/api/resources/Loan.js.map +1 -1
  40. package/es/api/resources/Mail.d.ts +1 -1
  41. package/es/api/resources/Mail.d.ts.map +1 -1
  42. package/es/api/resources/Mail.js +3 -4
  43. package/es/api/resources/Mail.js.map +1 -1
  44. package/es/api/resources/Partner.d.ts +0 -1
  45. package/es/api/resources/Partner.d.ts.map +1 -1
  46. package/es/api/resources/Partner.js +0 -3
  47. package/es/api/resources/Partner.js.map +1 -1
  48. package/es/api/resources/Qonto.d.ts +1 -6
  49. package/es/api/resources/Qonto.d.ts.map +1 -1
  50. package/es/api/resources/Qonto.js +1 -16
  51. package/es/api/resources/Qonto.js.map +1 -1
  52. package/es/api/resources/User.d.ts +2 -2
  53. package/es/api/resources/User.d.ts.map +1 -1
  54. package/es/api/resources/User.js +11 -2
  55. package/es/api/resources/User.js.map +1 -1
  56. package/es/api/resources/commercialDocument.d.ts +18 -0
  57. package/es/api/resources/commercialDocument.d.ts.map +1 -0
  58. package/es/api/resources/commercialDocument.js +41 -0
  59. package/es/api/resources/commercialDocument.js.map +1 -0
  60. package/es/api/resources/reminder.d.ts +8 -0
  61. package/es/api/resources/reminder.d.ts.map +1 -0
  62. package/es/api/resources/reminder.js +13 -0
  63. package/es/api/resources/reminder.js.map +1 -0
  64. package/es/api/resources.d.ts +8 -16
  65. package/es/api/resources.d.ts.map +1 -1
  66. package/es/api/resources.js +8 -16
  67. package/es/api/resources.js.map +1 -1
  68. package/es/index.d.ts +1 -0
  69. package/es/index.d.ts.map +1 -1
  70. package/es/index.js +1 -0
  71. package/es/index.js.map +1 -1
  72. package/es/types/Enum/Account.d.ts +8 -0
  73. package/es/types/Enum/Account.d.ts.map +1 -1
  74. package/es/types/Enum/Account.js +8 -0
  75. package/es/types/Enum/Account.js.map +1 -1
  76. package/es/types/Enum/BrandClementine.d.ts +1 -12
  77. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  78. package/es/types/Enum/BrandClementine.js +1 -10
  79. package/es/types/Enum/BrandClementine.js.map +1 -1
  80. package/es/types/Enum/BrandComptalib.d.ts +0 -87
  81. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  82. package/es/types/Enum/BrandComptalib.js +4 -13
  83. package/es/types/Enum/BrandComptalib.js.map +1 -1
  84. package/es/types/Enum/BrandLegalstart.d.ts +0 -3
  85. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  86. package/es/types/Enum/BrandLegalstart.js +0 -3
  87. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  88. package/es/types/Enum/BrandPourcentage.d.ts +0 -4
  89. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  90. package/es/types/Enum/BrandPourcentage.js +3 -7
  91. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  92. package/es/types/Enum/BudgetInsight.js.map +1 -1
  93. package/es/types/Enum/CommercialManagement.d.ts +32 -0
  94. package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
  95. package/es/types/Enum/CommercialManagement.js +39 -0
  96. package/es/types/Enum/CommercialManagement.js.map +1 -0
  97. package/es/types/Enum/EstimateInvoice.d.ts +1 -1
  98. package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
  99. package/es/types/Enum/EstimateInvoice.js +1 -1
  100. package/es/types/Enum/EstimateInvoice.js.map +1 -1
  101. package/es/types/Enum/Log.d.ts +1 -2
  102. package/es/types/Enum/Log.d.ts.map +1 -1
  103. package/es/types/Enum/Log.js +0 -1
  104. package/es/types/Enum/Log.js.map +1 -1
  105. package/es/types/Enum/{PrestationType.d.ts → Prestation.d.ts} +3 -4
  106. package/es/types/Enum/Prestation.d.ts.map +1 -0
  107. package/es/types/Enum/Prestation.js +16 -0
  108. package/es/types/Enum/Prestation.js.map +1 -0
  109. package/es/types/Enum/Role.d.ts +11 -6
  110. package/es/types/Enum/Role.d.ts.map +1 -1
  111. package/es/types/Enum/Role.js +10 -15
  112. package/es/types/Enum/Role.js.map +1 -1
  113. package/es/types/Enum/RoleDetail.d.ts +51 -42
  114. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  115. package/es/types/Enum/RoleDetail.js +64 -127
  116. package/es/types/Enum/RoleDetail.js.map +1 -1
  117. package/es/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  118. package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  119. package/es/types/Enum/TaskResponseType.d.ts +0 -9
  120. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  121. package/es/types/Enum/TaskResponseType.js +2 -57
  122. package/es/types/Enum/TaskResponseType.js.map +1 -1
  123. package/es/types/Enum/TimeCounterType.d.ts +12 -40
  124. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  125. package/es/types/Enum/TimeCounterType.js +19 -47
  126. package/es/types/Enum/TimeCounterType.js.map +1 -1
  127. package/es/types/Enum/Vat.d.ts +1 -17
  128. package/es/types/Enum/Vat.d.ts.map +1 -1
  129. package/es/types/Enum/Vat.js +26 -24
  130. package/es/types/Enum/Vat.js.map +1 -1
  131. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +0 -1
  132. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  133. package/es/types/Interface/api/3cx/Query3cxSearch.js +0 -6
  134. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  135. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  136. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +0 -1
  137. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  138. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  139. package/es/types/Interface/api/commercialManagement/Create.d.ts +107 -0
  140. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
  141. package/es/types/Interface/api/commercialManagement/Create.js +496 -0
  142. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
  143. package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
  144. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
  145. package/es/types/Interface/api/commercialManagement/Query.js +121 -0
  146. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
  147. package/es/types/Interface/api/commercialManagement/Read.d.ts +60 -0
  148. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
  149. package/es/types/Interface/api/commercialManagement/Read.js +2 -0
  150. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
  151. package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
  152. package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
  153. package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
  154. package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
  155. package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
  156. package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
  157. package/es/types/Interface/api/connector/CreateConnector.js +68 -0
  158. package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
  159. package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
  160. package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
  161. package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
  162. package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
  163. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
  164. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
  165. package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  166. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
  167. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  168. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
  169. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  170. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -1
  171. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  172. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -7
  173. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  174. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
  175. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  176. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
  177. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  178. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
  179. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  180. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
  181. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  182. package/es/types/Interface/api/product/CreateProduct.d.ts +1 -0
  183. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  184. package/es/types/Interface/api/product/CreateProduct.js +9 -6
  185. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  186. package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
  187. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  188. package/es/types/Interface/api/product/QueryProduct.js +15 -1
  189. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  190. package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -2
  191. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
  192. package/es/types/Interface/api/revision/QueryRevision.js +2 -16
  193. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
  194. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
  195. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
  196. package/es/types/Interface/api/revision/QueryRevisionAccount.js +5 -11
  197. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  198. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -2
  199. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
  200. package/es/types/Interface/api/revision/QueryRevisionPaginate.js +2 -16
  201. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  202. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
  203. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  204. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  205. package/es/types/Interface/api/revision/ReadRevision.d.ts +1 -2
  206. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -1
  207. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -1
  208. package/es/types/Interface/api/simulation/CreateSimulation.d.ts +0 -2
  209. package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
  210. package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  211. package/es/types/Interface/api/task/QueryCountTask.d.ts +1 -1
  212. package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
  213. package/es/types/Interface/api/task/QueryCountTask.js +1 -1
  214. package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
  215. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +0 -2
  216. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  217. package/es/types/Interface/api/task/QueryPaginatedTask.js +0 -11
  218. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  219. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +0 -1
  220. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
  221. package/es/types/Interface/api/thirdParty/QueryThirdParty.js +1 -7
  222. package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  223. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
  224. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  225. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
  226. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  227. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
  228. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  229. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
  230. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  231. package/es/types/Interface/models/IAccount.d.ts +0 -2
  232. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  233. package/es/types/Interface/models/IAccount.js.map +1 -1
  234. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
  235. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  236. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  237. package/es/types/Interface/models/IApiError.d.ts +4 -2
  238. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  239. package/es/types/Interface/models/IApiError.js +4 -2
  240. package/es/types/Interface/models/IApiError.js.map +1 -1
  241. package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
  242. package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
  243. package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
  244. package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
  245. package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
  246. package/es/types/Interface/models/ICommercialMail.js +2 -0
  247. package/es/types/Interface/models/ICommercialMail.js.map +1 -0
  248. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
  249. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
  250. package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  251. package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
  252. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  253. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  254. package/es/types/Interface/models/IExercice.d.ts +0 -1
  255. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  256. package/es/types/Interface/models/IExercice.js.map +1 -1
  257. package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
  258. package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
  259. package/es/types/Interface/models/IInvoiceReminder.js +2 -0
  260. package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
  261. package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
  262. package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
  263. package/es/types/Interface/models/ILegalNotice.js.map +1 -1
  264. package/es/types/Interface/models/ILoan.d.ts +0 -2
  265. package/es/types/Interface/models/ILoan.d.ts.map +1 -1
  266. package/es/types/Interface/models/ILoan.js.map +1 -1
  267. package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
  268. package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
  269. package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
  270. package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  271. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  272. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  273. package/es/types/Interface/models/IPrestationComplementary.d.ts +1 -1
  274. package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
  275. package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
  276. package/es/types/Interface/models/IProduct.d.ts +1 -0
  277. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  278. package/es/types/Interface/models/IProduct.js.map +1 -1
  279. package/es/types/Interface/models/IProductInvoice.d.ts +5 -3
  280. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
  281. package/es/types/Interface/models/IProductInvoice.js.map +1 -1
  282. package/es/types/Interface/models/ISociety.d.ts +1 -2
  283. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  284. package/es/types/Interface/models/ISociety.js.map +1 -1
  285. package/es/types/Interface/models/ISocietyGescom.d.ts +13 -1
  286. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  287. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  288. package/es/types/Interface/models/ISocietyPartner.d.ts +1 -2
  289. package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  290. package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
  291. package/es/types/Interface/models/ITask.d.ts +2 -2
  292. package/es/types/Interface/models/ITask.d.ts.map +1 -1
  293. package/es/types/Interface/models/ITask.js.map +1 -1
  294. package/es/types/index.d.ts +11 -35
  295. package/es/types/index.d.ts.map +1 -1
  296. package/es/types/index.js +11 -35
  297. package/es/types/index.js.map +1 -1
  298. package/es/utils/amount.d.ts +2 -0
  299. package/es/utils/amount.d.ts.map +1 -0
  300. package/es/utils/amount.js +12 -0
  301. package/es/utils/amount.js.map +1 -0
  302. package/es/utils/brands.d.ts +1 -1
  303. package/es/utils/brands.d.ts.map +1 -1
  304. package/es/utils/brands.js +26 -8
  305. package/es/utils/brands.js.map +1 -1
  306. package/es/utils/commercialManagement/document.d.ts +6 -0
  307. package/es/utils/commercialManagement/document.d.ts.map +1 -0
  308. package/es/utils/commercialManagement/document.js +54 -0
  309. package/es/utils/commercialManagement/document.js.map +1 -0
  310. package/es/utils/commercialManagement/product.d.ts +5 -0
  311. package/es/utils/commercialManagement/product.d.ts.map +1 -0
  312. package/es/utils/commercialManagement/product.js +27 -0
  313. package/es/utils/commercialManagement/product.js.map +1 -0
  314. package/es/utils/commercialManagement/templates/body.d.ts +2 -0
  315. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
  316. package/es/utils/commercialManagement/templates/body.js +111 -0
  317. package/es/utils/commercialManagement/templates/body.js.map +1 -0
  318. package/es/utils/commercialManagement/templates/common.d.ts +12 -0
  319. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
  320. package/es/utils/commercialManagement/templates/common.js +199 -0
  321. package/es/utils/commercialManagement/templates/common.js.map +1 -0
  322. package/es/utils/commercialManagement/vat.d.ts +6 -0
  323. package/es/utils/commercialManagement/vat.d.ts.map +1 -0
  324. package/es/utils/commercialManagement/vat.js +22 -0
  325. package/es/utils/commercialManagement/vat.js.map +1 -0
  326. package/es/utils/index.d.ts +2 -0
  327. package/es/utils/index.d.ts.map +1 -1
  328. package/es/utils/index.js +2 -0
  329. package/es/utils/index.js.map +1 -1
  330. package/es/utils/task.d.ts +2 -3
  331. package/es/utils/task.d.ts.map +1 -1
  332. package/es/utils/task.js +19 -23
  333. package/es/utils/task.js.map +1 -1
  334. package/es/utils/webmail.d.ts.map +1 -1
  335. package/es/utils/webmail.js +4 -1
  336. package/es/utils/webmail.js.map +1 -1
  337. package/importInterfaces.ts +1 -1
  338. package/js/api/resources/BudgetInsight.js +10 -0
  339. package/js/api/resources/BudgetInsight.js.map +1 -1
  340. package/js/api/resources/CalendarEvent.js +3 -5
  341. package/js/api/resources/CalendarEvent.js.map +1 -1
  342. package/js/api/resources/CommercialSetting.js +22 -0
  343. package/js/api/resources/CommercialSetting.js.map +1 -0
  344. package/js/api/resources/Connector.js +14 -0
  345. package/js/api/resources/Connector.js.map +1 -1
  346. package/js/api/resources/Dashboard.js +0 -6
  347. package/js/api/resources/Dashboard.js.map +1 -1
  348. package/js/api/resources/Exercice.js +0 -4
  349. package/js/api/resources/Exercice.js.map +1 -1
  350. package/js/api/resources/FecFile.js +6 -34
  351. package/js/api/resources/FecFile.js.map +1 -1
  352. package/js/api/resources/GeneralLedger.js +2 -2
  353. package/js/api/resources/GeneralLedger.js.map +1 -1
  354. package/js/api/resources/Invoice.js +42 -0
  355. package/js/api/resources/Invoice.js.map +1 -0
  356. package/js/api/resources/Loan.js +1 -1
  357. package/js/api/resources/Loan.js.map +1 -1
  358. package/js/api/resources/Mail.js +3 -4
  359. package/js/api/resources/Mail.js.map +1 -1
  360. package/js/api/resources/Partner.js +0 -4
  361. package/js/api/resources/Partner.js.map +1 -1
  362. package/js/api/resources/Qonto.js +1 -23
  363. package/js/api/resources/Qonto.js.map +1 -1
  364. package/js/api/resources/User.js +3 -5
  365. package/js/api/resources/User.js.map +1 -1
  366. package/js/api/resources/commercialDocument.js +74 -0
  367. package/js/api/resources/commercialDocument.js.map +1 -0
  368. package/js/api/resources/reminder.js +26 -0
  369. package/js/api/resources/reminder.js.map +1 -0
  370. package/js/api/resources.js +9 -21
  371. package/js/api/resources.js.map +1 -1
  372. package/js/index.js +12 -0
  373. package/js/index.js.map +1 -1
  374. package/js/types/Enum/Account.js +8 -0
  375. package/js/types/Enum/Account.js.map +1 -1
  376. package/js/types/Enum/BrandClementine.js +1 -10
  377. package/js/types/Enum/BrandClementine.js.map +1 -1
  378. package/js/types/Enum/BrandComptalib.js +5 -14
  379. package/js/types/Enum/BrandComptalib.js.map +1 -1
  380. package/js/types/Enum/BrandLegalstart.js +0 -3
  381. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  382. package/js/types/Enum/BrandPourcentage.js +3 -7
  383. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  384. package/js/types/Enum/BudgetInsight.js.map +1 -1
  385. package/js/types/Enum/CommercialManagement.js +67 -0
  386. package/js/types/Enum/CommercialManagement.js.map +1 -0
  387. package/js/types/Enum/EstimateInvoice.js +1 -1
  388. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  389. package/js/types/Enum/Log.js +0 -1
  390. package/js/types/Enum/Log.js.map +1 -1
  391. package/js/types/Enum/Prestation.js +22 -0
  392. package/js/types/Enum/Prestation.js.map +1 -0
  393. package/js/types/Enum/Role.js +13 -18
  394. package/js/types/Enum/Role.js.map +1 -1
  395. package/js/types/Enum/RoleDetail.js +86 -149
  396. package/js/types/Enum/RoleDetail.js.map +1 -1
  397. package/js/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  398. package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  399. package/js/types/Enum/TaskResponseType.js +3 -56
  400. package/js/types/Enum/TaskResponseType.js.map +1 -1
  401. package/js/types/Enum/TimeCounterType.js +40 -68
  402. package/js/types/Enum/TimeCounterType.js.map +1 -1
  403. package/js/types/Enum/Vat.js +46 -45
  404. package/js/types/Enum/Vat.js.map +1 -1
  405. package/js/types/Interface/api/3cx/Query3cxSearch.js +0 -2
  406. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  407. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  408. package/js/types/Interface/api/commercialManagement/Create.js +235 -0
  409. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -0
  410. package/js/types/Interface/api/commercialManagement/Query.js +79 -0
  411. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -0
  412. package/js/types/Interface/api/{qonto/Query.js → commercialManagement/Read.js} +1 -1
  413. package/js/types/Interface/api/commercialManagement/Read.js.map +1 -0
  414. package/js/types/Interface/api/commercialManagement/Update.js +55 -0
  415. package/js/types/Interface/api/commercialManagement/Update.js.map +1 -0
  416. package/js/types/Interface/api/connector/CreateConnector.js +47 -0
  417. package/js/types/Interface/api/connector/CreateConnector.js.map +1 -0
  418. package/js/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -6
  419. package/js/types/Interface/api/connector/QueryConnector.js.map +1 -0
  420. package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  421. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +0 -2
  422. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  423. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +0 -2
  424. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  425. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
  426. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  427. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
  428. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  429. package/js/types/Interface/api/product/CreateProduct.js +5 -5
  430. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  431. package/js/types/Interface/api/product/QueryProduct.js +6 -0
  432. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  433. package/js/types/Interface/api/revision/QueryRevision.js +0 -6
  434. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  435. package/js/types/Interface/api/revision/QueryRevisionAccount.js +5 -7
  436. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  437. package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -6
  438. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  439. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  440. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  441. package/js/types/Interface/api/task/QueryCountTask.js +1 -1
  442. package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
  443. package/js/types/Interface/api/task/QueryPaginatedTask.js +0 -6
  444. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  445. package/js/types/Interface/api/thirdParty/QueryThirdParty.js +0 -2
  446. package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  447. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
  448. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  449. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
  450. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  451. package/js/types/Interface/models/IApiError.js +5 -3
  452. package/js/types/Interface/models/IApiError.js.map +1 -1
  453. package/js/types/Interface/models/{IStatistic.js → ICommercialMail.js} +1 -1
  454. package/js/types/Interface/models/ICommercialMail.js.map +1 -0
  455. package/js/types/Interface/{api/dashboard/ReadVatDisbursed.js → models/IInvoiceReminder.js} +1 -1
  456. package/js/types/Interface/models/IInvoiceReminder.js.map +1 -0
  457. package/js/types/index.js +64 -352
  458. package/js/types/index.js.map +1 -1
  459. package/js/utils/amount.js +23 -0
  460. package/js/utils/amount.js.map +1 -0
  461. package/js/utils/brands.js +26 -7
  462. package/js/utils/brands.js.map +1 -1
  463. package/js/utils/commercialManagement/document.js +148 -0
  464. package/js/utils/commercialManagement/document.js.map +1 -0
  465. package/js/utils/commercialManagement/product.js +56 -0
  466. package/js/utils/commercialManagement/product.js.map +1 -0
  467. package/js/utils/commercialManagement/templates/body.js +120 -0
  468. package/js/utils/commercialManagement/templates/body.js.map +1 -0
  469. package/js/utils/commercialManagement/templates/common.js +211 -0
  470. package/js/utils/commercialManagement/templates/common.js.map +1 -0
  471. package/js/utils/commercialManagement/vat.js +44 -0
  472. package/js/utils/commercialManagement/vat.js.map +1 -0
  473. package/js/utils/index.js +24 -0
  474. package/js/utils/index.js.map +1 -1
  475. package/js/utils/task.js +20 -29
  476. package/js/utils/task.js.map +1 -1
  477. package/js/utils/webmail.js +3 -1
  478. package/js/utils/webmail.js.map +1 -1
  479. package/package.json +3 -1
  480. package/ts/api/resources/BudgetInsight.ts +13 -0
  481. package/ts/api/resources/CalendarEvent.ts +2 -3
  482. package/ts/api/resources/CommercialSetting.ts +12 -0
  483. package/ts/api/resources/Connector.ts +16 -1
  484. package/ts/api/resources/Dashboard.ts +0 -6
  485. package/ts/api/resources/Exercice.ts +0 -4
  486. package/ts/api/resources/FecFile.ts +6 -32
  487. package/ts/api/resources/GeneralLedger.ts +2 -2
  488. package/ts/api/resources/Invoice.ts +39 -0
  489. package/ts/api/resources/Loan.ts +1 -1
  490. package/ts/api/resources/Mail.ts +3 -4
  491. package/ts/api/resources/Partner.ts +0 -4
  492. package/ts/api/resources/Qonto.ts +5 -27
  493. package/ts/api/resources/User.ts +12 -3
  494. package/ts/api/resources/commercialDocument.ts +66 -0
  495. package/ts/api/resources/reminder.ts +20 -0
  496. package/ts/api/resources.ts +8 -16
  497. package/ts/index.ts +1 -0
  498. package/ts/types/Enum/Account.ts +8 -0
  499. package/ts/types/Enum/BrandClementine.ts +1 -10
  500. package/ts/types/Enum/BrandComptalib.ts +4 -13
  501. package/ts/types/Enum/BrandLegalstart.ts +0 -3
  502. package/ts/types/Enum/BrandPourcentage.ts +3 -7
  503. package/ts/types/Enum/BudgetInsight.ts +1 -1
  504. package/ts/types/Enum/CommercialManagement.ts +38 -0
  505. package/ts/types/Enum/EstimateInvoice.ts +1 -1
  506. package/ts/types/Enum/Log.ts +0 -1
  507. package/ts/types/Enum/{PrestationType.ts → Prestation.ts} +1 -2
  508. package/ts/types/Enum/Role.ts +10 -15
  509. package/ts/types/Enum/RoleDetail.ts +64 -127
  510. package/ts/types/Enum/SheetMonthScheduleDetailType.ts +1 -1
  511. package/ts/types/Enum/TaskResponseType.ts +2 -57
  512. package/ts/types/Enum/TimeCounterType.ts +19 -47
  513. package/ts/types/Enum/Vat.ts +28 -25
  514. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -5
  515. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +1 -1
  516. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -1
  517. package/ts/types/Interface/api/commercialManagement/Create.ts +423 -0
  518. package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
  519. package/ts/types/Interface/api/commercialManagement/Read.ts +64 -0
  520. package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
  521. package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
  522. package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
  523. package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
  524. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
  525. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -6
  526. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
  527. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
  528. package/ts/types/Interface/api/product/CreateProduct.ts +8 -5
  529. package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
  530. package/ts/types/Interface/api/revision/QueryRevision.ts +2 -15
  531. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +4 -11
  532. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +2 -15
  533. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
  534. package/ts/types/Interface/api/revision/ReadRevision.ts +1 -2
  535. package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -2
  536. package/ts/types/Interface/api/task/QueryCountTask.ts +1 -1
  537. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -9
  538. package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +1 -8
  539. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -9
  540. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -10
  541. package/ts/types/Interface/models/IAccount.ts +0 -2
  542. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
  543. package/ts/types/Interface/models/IApiError.ts +5 -3
  544. package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
  545. package/ts/types/Interface/models/ICommercialMail.ts +15 -0
  546. package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
  547. package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
  548. package/ts/types/Interface/models/IExercice.ts +0 -1
  549. package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
  550. package/ts/types/Interface/models/ILegalNotice.ts +0 -1
  551. package/ts/types/Interface/models/ILoan.ts +0 -2
  552. package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
  553. package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
  554. package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
  555. package/ts/types/Interface/models/IProduct.ts +1 -0
  556. package/ts/types/Interface/models/IProductInvoice.ts +5 -3
  557. package/ts/types/Interface/models/ISociety.ts +1 -2
  558. package/ts/types/Interface/models/ISocietyGescom.ts +14 -1
  559. package/ts/types/Interface/models/ISocietyPartner.ts +1 -2
  560. package/ts/types/Interface/models/ITask.ts +2 -2
  561. package/ts/types/index.ts +11 -35
  562. package/ts/utils/amount.ts +13 -0
  563. package/ts/utils/brands.ts +25 -7
  564. package/ts/utils/commercialManagement/document.ts +105 -0
  565. package/ts/utils/commercialManagement/product.ts +36 -0
  566. package/ts/utils/commercialManagement/templates/body.ts +113 -0
  567. package/ts/utils/commercialManagement/templates/common.ts +205 -0
  568. package/ts/utils/commercialManagement/vat.ts +24 -0
  569. package/ts/utils/index.ts +2 -0
  570. package/ts/utils/task.ts +16 -24
  571. package/ts/utils/webmail.ts +3 -1
  572. package/es/api/resources/LegalNotice.d.ts +0 -6
  573. package/es/api/resources/LegalNotice.d.ts.map +0 -1
  574. package/es/api/resources/LegalNotice.js +0 -7
  575. package/es/api/resources/LegalNotice.js.map +0 -1
  576. package/es/api/resources/PaymentExpectation.d.ts +0 -6
  577. package/es/api/resources/PaymentExpectation.d.ts.map +0 -1
  578. package/es/api/resources/PaymentExpectation.js +0 -7
  579. package/es/api/resources/PaymentExpectation.js.map +0 -1
  580. package/es/api/resources/SocietyConfig.d.ts +0 -7
  581. package/es/api/resources/SocietyConfig.d.ts.map +0 -1
  582. package/es/api/resources/SocietyConfig.js +0 -10
  583. package/es/api/resources/SocietyConfig.js.map +0 -1
  584. package/es/api/resources/TerminationList.d.ts +0 -7
  585. package/es/api/resources/TerminationList.d.ts.map +0 -1
  586. package/es/api/resources/TerminationList.js +0 -10
  587. package/es/api/resources/TerminationList.js.map +0 -1
  588. package/es/api/resources/Wallet.d.ts +0 -8
  589. package/es/api/resources/Wallet.d.ts.map +0 -1
  590. package/es/api/resources/Wallet.js +0 -7
  591. package/es/api/resources/Wallet.js.map +0 -1
  592. package/es/api/resources/statistic/Accountant.d.ts +0 -59
  593. package/es/api/resources/statistic/Accountant.d.ts.map +0 -1
  594. package/es/api/resources/statistic/Accountant.js +0 -86
  595. package/es/api/resources/statistic/Accountant.js.map +0 -1
  596. package/es/api/resources/statistic/Direction.d.ts +0 -11
  597. package/es/api/resources/statistic/Direction.d.ts.map +0 -1
  598. package/es/api/resources/statistic/Direction.js +0 -14
  599. package/es/api/resources/statistic/Direction.js.map +0 -1
  600. package/es/api/resources/statistic/ExpertAccountant.d.ts +0 -29
  601. package/es/api/resources/statistic/ExpertAccountant.d.ts.map +0 -1
  602. package/es/api/resources/statistic/ExpertAccountant.js +0 -41
  603. package/es/api/resources/statistic/ExpertAccountant.js.map +0 -1
  604. package/es/types/Enum/AdditionnalSells.d.ts +0 -7
  605. package/es/types/Enum/AdditionnalSells.d.ts.map +0 -1
  606. package/es/types/Enum/AdditionnalSells.js +0 -8
  607. package/es/types/Enum/AdditionnalSells.js.map +0 -1
  608. package/es/types/Enum/CustomerVat.d.ts +0 -24
  609. package/es/types/Enum/CustomerVat.d.ts.map +0 -1
  610. package/es/types/Enum/CustomerVat.js +0 -26
  611. package/es/types/Enum/CustomerVat.js.map +0 -1
  612. package/es/types/Enum/OperationLegalNotice.d.ts +0 -4
  613. package/es/types/Enum/OperationLegalNotice.d.ts.map +0 -1
  614. package/es/types/Enum/OperationLegalNotice.js +0 -5
  615. package/es/types/Enum/OperationLegalNotice.js.map +0 -1
  616. package/es/types/Enum/OrderStatus.d.ts +0 -6
  617. package/es/types/Enum/OrderStatus.d.ts.map +0 -1
  618. package/es/types/Enum/OrderStatus.js +0 -7
  619. package/es/types/Enum/OrderStatus.js.map +0 -1
  620. package/es/types/Enum/PrestationType.d.ts.map +0 -1
  621. package/es/types/Enum/PrestationType.js +0 -17
  622. package/es/types/Enum/PrestationType.js.map +0 -1
  623. package/es/types/Enum/Reason.d.ts +0 -4
  624. package/es/types/Enum/Reason.d.ts.map +0 -1
  625. package/es/types/Enum/Reason.js +0 -5
  626. package/es/types/Enum/Reason.js.map +0 -1
  627. package/es/types/Enum/Rules.d.ts +0 -2
  628. package/es/types/Enum/Rules.d.ts.map +0 -1
  629. package/es/types/Enum/Rules.js +0 -19
  630. package/es/types/Enum/Rules.js.map +0 -1
  631. package/es/types/Enum/StatisticType.d.ts +0 -16
  632. package/es/types/Enum/StatisticType.d.ts.map +0 -1
  633. package/es/types/Enum/StatisticType.js +0 -17
  634. package/es/types/Enum/StatisticType.js.map +0 -1
  635. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +0 -5
  636. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +0 -1
  637. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -24
  638. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  639. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +0 -13
  640. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +0 -1
  641. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +0 -2
  642. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  643. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +0 -5
  644. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +0 -1
  645. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -25
  646. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  647. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +0 -4
  648. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +0 -1
  649. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -17
  650. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  651. package/es/types/Interface/api/prestation/CreatePrestation.d.ts +0 -6
  652. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +0 -1
  653. package/es/types/Interface/api/prestation/CreatePrestation.js +0 -28
  654. package/es/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  655. package/es/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
  656. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
  657. package/es/types/Interface/api/qonto/CreateImportation.js +0 -26
  658. package/es/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  659. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
  660. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
  661. package/es/types/Interface/api/qonto/CreateQontoConnection.js +0 -24
  662. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  663. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +0 -4
  664. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +0 -1
  665. package/es/types/Interface/api/qonto/GetConnectionInformation.js +0 -19
  666. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  667. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
  668. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
  669. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  670. package/es/types/Interface/api/qonto/Query.d.ts +0 -77
  671. package/es/types/Interface/api/qonto/Query.d.ts.map +0 -1
  672. package/es/types/Interface/api/qonto/Query.js +0 -2
  673. package/es/types/Interface/api/qonto/Query.js.map +0 -1
  674. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +0 -6
  675. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +0 -1
  676. package/es/types/Interface/api/qonto/ReadCreateConnection.js +0 -2
  677. package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  678. package/es/types/Interface/api/qonto/UpdateConnection.d.ts +0 -4
  679. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +0 -1
  680. package/es/types/Interface/api/qonto/UpdateConnection.js +0 -19
  681. package/es/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  682. package/es/types/Interface/api/societyConfig/update.d.ts +0 -21
  683. package/es/types/Interface/api/societyConfig/update.d.ts.map +0 -1
  684. package/es/types/Interface/api/societyConfig/update.js.map +0 -1
  685. package/es/types/Interface/api/statistic/ExitRequest.d.ts +0 -108
  686. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +0 -1
  687. package/es/types/Interface/api/statistic/ExitRequest.js +0 -2
  688. package/es/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  689. package/es/types/Interface/api/statistic/QueryAccountant.d.ts +0 -6
  690. package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +0 -1
  691. package/es/types/Interface/api/statistic/QueryAccountant.js +0 -31
  692. package/es/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  693. package/es/types/Interface/api/statistic/QueryDirection.d.ts +0 -6
  694. package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +0 -1
  695. package/es/types/Interface/api/statistic/QueryDirection.js +0 -31
  696. package/es/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  697. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts +0 -6
  698. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +0 -1
  699. package/es/types/Interface/api/statistic/QueryExpertAccountant.js +0 -31
  700. package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  701. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts +0 -5
  702. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +0 -1
  703. package/es/types/Interface/api/statistic/QueryGetAccountant.js +0 -24
  704. package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  705. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts +0 -5
  706. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +0 -1
  707. package/es/types/Interface/api/statistic/QueryGetDirection.js +0 -24
  708. package/es/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  709. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts +0 -5
  710. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +0 -1
  711. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -24
  712. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  713. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +0 -17
  714. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +0 -1
  715. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +0 -96
  716. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  717. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +0 -17
  718. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +0 -1
  719. package/es/types/Interface/api/terminationList/QueryTerminationList.js +0 -98
  720. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  721. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts +0 -6
  722. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +0 -1
  723. package/es/types/Interface/api/wallet/UpdateAttribution.js +0 -34
  724. package/es/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  725. package/es/types/Interface/models/IPrestationHistory.d.ts +0 -13
  726. package/es/types/Interface/models/IPrestationHistory.d.ts.map +0 -1
  727. package/es/types/Interface/models/IPrestationHistory.js +0 -2
  728. package/es/types/Interface/models/IPrestationHistory.js.map +0 -1
  729. package/es/types/Interface/models/ISocietyRelance.d.ts.map +0 -1
  730. package/es/types/Interface/models/ISocietyRelance.js +0 -2
  731. package/es/types/Interface/models/ISocietyRelance.js.map +0 -1
  732. package/es/types/Interface/models/IStatistic.d.ts +0 -11
  733. package/es/types/Interface/models/IStatistic.d.ts.map +0 -1
  734. package/es/types/Interface/models/IStatistic.js +0 -2
  735. package/es/types/Interface/models/IStatistic.js.map +0 -1
  736. package/js/api/resources/LegalNotice.js +0 -18
  737. package/js/api/resources/LegalNotice.js.map +0 -1
  738. package/js/api/resources/PaymentExpectation.js +0 -20
  739. package/js/api/resources/PaymentExpectation.js.map +0 -1
  740. package/js/api/resources/SocietyConfig.js +0 -22
  741. package/js/api/resources/SocietyConfig.js.map +0 -1
  742. package/js/api/resources/TerminationList.js +0 -26
  743. package/js/api/resources/TerminationList.js.map +0 -1
  744. package/js/api/resources/Wallet.js +0 -18
  745. package/js/api/resources/Wallet.js.map +0 -1
  746. package/js/api/resources/statistic/Accountant.js +0 -150
  747. package/js/api/resources/statistic/Accountant.js.map +0 -1
  748. package/js/api/resources/statistic/Direction.js +0 -30
  749. package/js/api/resources/statistic/Direction.js.map +0 -1
  750. package/js/api/resources/statistic/ExpertAccountant.js +0 -75
  751. package/js/api/resources/statistic/ExpertAccountant.js.map +0 -1
  752. package/js/types/Enum/AdditionnalSells.js +0 -14
  753. package/js/types/Enum/AdditionnalSells.js.map +0 -1
  754. package/js/types/Enum/CustomerVat.js +0 -34
  755. package/js/types/Enum/CustomerVat.js.map +0 -1
  756. package/js/types/Enum/OperationLegalNotice.js +0 -11
  757. package/js/types/Enum/OperationLegalNotice.js.map +0 -1
  758. package/js/types/Enum/OrderStatus.js +0 -13
  759. package/js/types/Enum/OrderStatus.js.map +0 -1
  760. package/js/types/Enum/PrestationType.js +0 -23
  761. package/js/types/Enum/PrestationType.js.map +0 -1
  762. package/js/types/Enum/Reason.js +0 -11
  763. package/js/types/Enum/Reason.js.map +0 -1
  764. package/js/types/Enum/Rules.js +0 -7
  765. package/js/types/Enum/Rules.js.map +0 -1
  766. package/js/types/Enum/StatisticType.js +0 -23
  767. package/js/types/Enum/StatisticType.js.map +0 -1
  768. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -31
  769. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  770. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  771. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -31
  772. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  773. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -27
  774. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  775. package/js/types/Interface/api/prestation/CreatePrestation.js +0 -33
  776. package/js/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  777. package/js/types/Interface/api/qonto/CreateImportation.js +0 -31
  778. package/js/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  779. package/js/types/Interface/api/qonto/CreateQontoConnection.js +0 -31
  780. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  781. package/js/types/Interface/api/qonto/GetConnectionInformation.js +0 -29
  782. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  783. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  784. package/js/types/Interface/api/qonto/Query.js.map +0 -1
  785. package/js/types/Interface/api/qonto/ReadCreateConnection.js +0 -6
  786. package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  787. package/js/types/Interface/api/qonto/UpdateConnection.js +0 -29
  788. package/js/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  789. package/js/types/Interface/api/societyConfig/update.js +0 -65
  790. package/js/types/Interface/api/societyConfig/update.js.map +0 -1
  791. package/js/types/Interface/api/statistic/ExitRequest.js +0 -6
  792. package/js/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  793. package/js/types/Interface/api/statistic/QueryAccountant.js +0 -35
  794. package/js/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  795. package/js/types/Interface/api/statistic/QueryDirection.js +0 -35
  796. package/js/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  797. package/js/types/Interface/api/statistic/QueryExpertAccountant.js +0 -35
  798. package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  799. package/js/types/Interface/api/statistic/QueryGetAccountant.js +0 -31
  800. package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  801. package/js/types/Interface/api/statistic/QueryGetDirection.js +0 -31
  802. package/js/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  803. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -31
  804. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  805. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +0 -55
  806. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  807. package/js/types/Interface/api/terminationList/QueryTerminationList.js +0 -55
  808. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  809. package/js/types/Interface/api/wallet/UpdateAttribution.js +0 -35
  810. package/js/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  811. package/js/types/Interface/models/IPrestationHistory.js +0 -6
  812. package/js/types/Interface/models/IPrestationHistory.js.map +0 -1
  813. package/js/types/Interface/models/ISocietyRelance.js +0 -6
  814. package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
  815. package/js/types/Interface/models/IStatistic.js.map +0 -1
  816. package/ts/api/resources/LegalNotice.ts +0 -8
  817. package/ts/api/resources/PaymentExpectation.ts +0 -8
  818. package/ts/api/resources/SocietyConfig.ts +0 -12
  819. package/ts/api/resources/TerminationList.ts +0 -12
  820. package/ts/api/resources/Wallet.ts +0 -8
  821. package/ts/api/resources/statistic/Accountant.ts +0 -121
  822. package/ts/api/resources/statistic/Direction.ts +0 -17
  823. package/ts/api/resources/statistic/ExpertAccountant.ts +0 -56
  824. package/ts/types/Enum/AdditionnalSells.ts +0 -6
  825. package/ts/types/Enum/CustomerVat.ts +0 -24
  826. package/ts/types/Enum/OperationLegalNotice.ts +0 -3
  827. package/ts/types/Enum/OrderStatus.ts +0 -5
  828. package/ts/types/Enum/Reason.ts +0 -3
  829. package/ts/types/Enum/Rules.ts +0 -18
  830. package/ts/types/Enum/StatisticType.ts +0 -15
  831. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
  832. package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
  833. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
  834. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -6
  835. package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -15
  836. package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
  837. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
  838. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
  839. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
  840. package/ts/types/Interface/api/qonto/Query.ts +0 -80
  841. package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +0 -6
  842. package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
  843. package/ts/types/Interface/api/societyConfig/update.ts +0 -103
  844. package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -120
  845. package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -20
  846. package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -20
  847. package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -20
  848. package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -14
  849. package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -14
  850. package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -14
  851. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -74
  852. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -76
  853. package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -23
  854. package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
  855. package/ts/types/Interface/models/IStatistic.ts +0 -13
@@ -0,0 +1,121 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
+ import { InvoiceStatus } from '../../../Enum/CommercialManagement';
14
+ import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
15
+ export class QueryInvoice {
16
+ }
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ IsOptional(),
20
+ IsDateString(),
21
+ __metadata("design:type", String)
22
+ ], QueryInvoice.prototype, "minDate", void 0);
23
+ __decorate([
24
+ ApiPropertyOptional(),
25
+ IsOptional(),
26
+ IsDateString(),
27
+ __metadata("design:type", String)
28
+ ], QueryInvoice.prototype, "maxDate", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ IsOptional(),
32
+ IsString(),
33
+ __metadata("design:type", String)
34
+ ], QueryInvoice.prototype, "search", void 0);
35
+ __decorate([
36
+ ApiPropertyOptional(),
37
+ IsOptional(),
38
+ IsString(),
39
+ __metadata("design:type", String)
40
+ ], QueryInvoice.prototype, "status", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ IsOptional(),
44
+ IsString(),
45
+ __metadata("design:type", String)
46
+ ], QueryInvoice.prototype, "orderBy", void 0);
47
+ __decorate([
48
+ ApiPropertyOptional(),
49
+ IsBoolean(),
50
+ ToBoolean(),
51
+ __metadata("design:type", Boolean)
52
+ ], QueryInvoice.prototype, "isDescending", void 0);
53
+ export class QueryNextReference {
54
+ }
55
+ __decorate([
56
+ ApiProperty(),
57
+ IsNumber(),
58
+ __metadata("design:type", Number)
59
+ ], QueryNextReference.prototype, "idEstimateInvoiceType", void 0);
60
+ __decorate([
61
+ ApiPropertyOptional(),
62
+ IsBoolean(),
63
+ ToBoolean(),
64
+ IsOptional(),
65
+ __metadata("design:type", Boolean)
66
+ ], QueryNextReference.prototype, "isDraft", void 0);
67
+ export class QueryPreviewDocument {
68
+ }
69
+ __decorate([
70
+ ApiProperty(),
71
+ __metadata("design:type", Number)
72
+ ], QueryPreviewDocument.prototype, "idEstimateInvoiceType", void 0);
73
+ export class QueryDocumentPaginated {
74
+ }
75
+ __decorate([
76
+ ApiProperty(),
77
+ IsArray(),
78
+ __metadata("design:type", Array)
79
+ ], QueryDocumentPaginated.prototype, "types", void 0);
80
+ __decorate([
81
+ ApiPropertyOptional(),
82
+ IsDateString(),
83
+ __metadata("design:type", String)
84
+ ], QueryDocumentPaginated.prototype, "minDate", void 0);
85
+ __decorate([
86
+ ApiPropertyOptional(),
87
+ IsDateString(),
88
+ __metadata("design:type", String)
89
+ ], QueryDocumentPaginated.prototype, "maxDate", void 0);
90
+ __decorate([
91
+ ApiPropertyOptional(),
92
+ IsOptional(),
93
+ IsString(),
94
+ __metadata("design:type", String)
95
+ ], QueryDocumentPaginated.prototype, "status", void 0);
96
+ __decorate([
97
+ ApiPropertyOptional(),
98
+ IsOptional(),
99
+ IsString(),
100
+ __metadata("design:type", String)
101
+ ], QueryDocumentPaginated.prototype, "orderBy", void 0);
102
+ __decorate([
103
+ ApiPropertyOptional(),
104
+ IsBoolean(),
105
+ ToBoolean(),
106
+ IsOptional(),
107
+ __metadata("design:type", Boolean)
108
+ ], QueryDocumentPaginated.prototype, "isDescending", void 0);
109
+ __decorate([
110
+ ApiPropertyOptional(),
111
+ IsOptional(),
112
+ IsString(),
113
+ __metadata("design:type", String)
114
+ ], QueryDocumentPaginated.prototype, "search", void 0);
115
+ __decorate([
116
+ ApiPropertyOptional(),
117
+ IsBoolean(),
118
+ ToBoolean(),
119
+ __metadata("design:type", Boolean)
120
+ ], QueryDocumentPaginated.prototype, "isDraft", void 0);
121
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACjE,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAgB,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGpE,MAAM,OAAO,YAAY;CA8BxB;AA1BC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;6CACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;6CACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;;kDACW;AAezB,MAAM,OAAO,kBAAkB;CAU9B;AAPC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEACmB;AAM9B;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACK;AAQpB,MAAM,OAAO,oBAAoB;CAGhC;AADC;IADC,WAAW,EAAE;;mEAC6B;AAG7C,MAAM,OAAO,sBAAsB;CAsClC;AAnCC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;;qDACmB;AAI7B;IAFC,mBAAmB,EAAE;IACrB,YAAY,EAAE;;uDACE;AAIjB;IAFC,mBAAmB,EAAE;IACrB,YAAY,EAAE;;uDACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sDACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACM;AAMjB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sDACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;;uDACM","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}"]}
@@ -0,0 +1,60 @@
1
+ import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
2
+ import { IAccountingFile } from '../../models/IAccountingFile';
3
+ import { IProductInvoice } from '../../models/IProductInvoice';
4
+ import { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';
5
+ import { CommercialDocumentInputs } from './Create';
6
+ import { IEstimateInvoice } from '../../models/IEstimateInvoice';
7
+ export declare type ReadCashBasedInvoice = Partial<IAccountingFile>;
8
+ export declare type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;
9
+ export declare type ReadEstimateInvoice = IEstimateInvoice & {
10
+ id: number;
11
+ };
12
+ export declare type ReadProductEditing = IProductInvoice & {
13
+ totalTaxExcluded: number;
14
+ unitFormatted: string;
15
+ vatFormatted: string;
16
+ discountFormatted: string | null;
17
+ discountTypeFormatted: string | null;
18
+ priceTaxExcludedFormatted: string | null;
19
+ totalTaxExcludedFormatted: string | null;
20
+ };
21
+ export declare type ReadVatEditing = {
22
+ name: string;
23
+ amount: number;
24
+ value: number;
25
+ baseFormatted: string;
26
+ amountFormatted: string;
27
+ };
28
+ export declare type ReadDocumentEditing = CommercialDocumentInputs & {
29
+ title?: string;
30
+ idEstimateInvoiceType: EstimateInvoiceType;
31
+ phoneContact: string | null;
32
+ dueDateFormatted: string | null;
33
+ expirationDateFormatted: string | null;
34
+ capitalFormatted: string | null;
35
+ depositFormatted: string | null;
36
+ emissionDateFormatted: string | null;
37
+ products: ReadProductEditing[];
38
+ vats: ReadVatEditing[];
39
+ totalTaxExcluded: number;
40
+ totalTaxIncluded: number;
41
+ totalTaxAndDiscountIncluded: number;
42
+ generalDiscountFormatted: string | null;
43
+ totalTaxExcludedFormatted: string;
44
+ totalTaxIncludedFormatted: string;
45
+ totalTaxAndDiscountIncludedFormatted: string;
46
+ totalVatAmountFormatted: string;
47
+ font: {
48
+ name: string;
49
+ url: string;
50
+ };
51
+ shouldDisplayDiscountColumn: boolean;
52
+ paymentLink?: string;
53
+ };
54
+ export declare type ReadCommercialDocumentTemplate = {
55
+ header: string;
56
+ body: string;
57
+ footer: string;
58
+ data: ReadDocumentEditing;
59
+ };
60
+ //# sourceMappingURL=Read.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AACtG,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,oBAAY,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,oBAAY,kBAAkB,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAE7E,oBAAY,mBAAmB,GAAG,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpE,oBAAY,kBAAkB,GAAG,eAAe,GAAG;IACjD,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB,EAAE,mBAAmB,CAAC;IAC3C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B,EAAE,MAAM,CAAC;IACpC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAClC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,uBAAuB,EAAE,MAAM,CAAC;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,2BAA2B,EAAE,OAAO,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Read.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { IAccountingFile } from '../../models/IAccountingFile';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';\nimport { CommercialDocumentInputs } from './Create';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n};\n\nexport type ReadVatEditing = {\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n};\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n name: string;\n url: string;\n },\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};"]}
@@ -0,0 +1,16 @@
1
+ export declare class UpdateCommercialDocument {
2
+ isCanceled?: boolean;
3
+ isRefused?: boolean;
4
+ isPaid?: boolean;
5
+ isUsed?: boolean;
6
+ mailSent?: Date | null;
7
+ }
8
+ export declare class UpdateReminder {
9
+ beforeThree: boolean;
10
+ dueDate: boolean;
11
+ afterThree: boolean;
12
+ afterSeven: boolean;
13
+ subject?: string;
14
+ message?: string;
15
+ }
16
+ //# sourceMappingURL=Update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":"AAMA,qBAAa,wBAAwB;IAKnC,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAED,qBAAa,cAAc;IAKzB,WAAW,EAAE,OAAO,CAAC;IAMrB,OAAO,EAAE,OAAO,CAAC;IAMjB,UAAU,EAAE,OAAO,CAAC;IAMpB,UAAU,EAAE,OAAO,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsOptional } from 'class-validator';
10
+ import { IsBoolean, IsDate, IsOptional, IsString, } from 'class-validator';
11
11
  import { ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
- export class UpdateSocietyConfig {
13
+ export class UpdateCommercialDocument {
14
14
  }
15
15
  __decorate([
16
16
  ApiPropertyOptional(),
@@ -18,114 +18,74 @@ __decorate([
18
18
  ToBoolean(),
19
19
  IsOptional(),
20
20
  __metadata("design:type", Boolean)
21
- ], UpdateSocietyConfig.prototype, "disableExport", void 0);
21
+ ], UpdateCommercialDocument.prototype, "isCanceled", void 0);
22
22
  __decorate([
23
23
  ApiPropertyOptional(),
24
24
  IsBoolean(),
25
25
  ToBoolean(),
26
26
  IsOptional(),
27
27
  __metadata("design:type", Boolean)
28
- ], UpdateSocietyConfig.prototype, "noVat", void 0);
29
- __decorate([
30
- ApiPropertyOptional(),
31
- IsOptional(),
32
- __metadata("design:type", Object)
33
- ], UpdateSocietyConfig.prototype, "dateActiveVat", void 0);
34
- __decorate([
35
- ApiPropertyOptional(),
36
- IsOptional(),
37
- __metadata("design:type", Object)
38
- ], UpdateSocietyConfig.prototype, "logo", void 0);
28
+ ], UpdateCommercialDocument.prototype, "isRefused", void 0);
39
29
  __decorate([
40
30
  ApiPropertyOptional(),
41
31
  IsBoolean(),
42
32
  ToBoolean(),
43
33
  IsOptional(),
44
34
  __metadata("design:type", Boolean)
45
- ], UpdateSocietyConfig.prototype, "adjournment", void 0);
35
+ ], UpdateCommercialDocument.prototype, "isPaid", void 0);
46
36
  __decorate([
47
37
  ApiPropertyOptional(),
48
38
  IsBoolean(),
49
39
  ToBoolean(),
50
40
  IsOptional(),
51
41
  __metadata("design:type", Boolean)
52
- ], UpdateSocietyConfig.prototype, "acceptCgv", void 0);
53
- __decorate([
54
- ApiPropertyOptional(),
55
- IsBoolean(),
56
- ToBoolean(),
57
- IsOptional(),
58
- __metadata("design:type", Boolean)
59
- ], UpdateSocietyConfig.prototype, "showWelcomeModal", void 0);
60
- __decorate([
61
- ApiPropertyOptional(),
62
- IsBoolean(),
63
- ToBoolean(),
64
- IsOptional(),
65
- __metadata("design:type", Boolean)
66
- ], UpdateSocietyConfig.prototype, "modalNews", void 0);
42
+ ], UpdateCommercialDocument.prototype, "isUsed", void 0);
67
43
  __decorate([
68
44
  ApiPropertyOptional(),
45
+ IsDate(),
69
46
  IsOptional(),
70
47
  __metadata("design:type", Object)
71
- ], UpdateSocietyConfig.prototype, "typeMicroentreprise", void 0);
72
- __decorate([
73
- ApiPropertyOptional(),
74
- IsBoolean(),
75
- ToBoolean(),
76
- IsOptional(),
77
- __metadata("design:type", Boolean)
78
- ], UpdateSocietyConfig.prototype, "showTipSchedule", void 0);
79
- __decorate([
80
- ApiPropertyOptional(),
81
- IsOptional(),
82
- __metadata("design:type", Object)
83
- ], UpdateSocietyConfig.prototype, "defaultBa", void 0);
84
- __decorate([
85
- ApiPropertyOptional(),
86
- IsOptional(),
87
- __metadata("design:type", Object)
88
- ], UpdateSocietyConfig.prototype, "salesType", void 0);
48
+ ], UpdateCommercialDocument.prototype, "mailSent", void 0);
49
+ export class UpdateReminder {
50
+ }
89
51
  __decorate([
90
52
  ApiPropertyOptional(),
91
53
  IsBoolean(),
92
54
  ToBoolean(),
93
55
  IsOptional(),
94
56
  __metadata("design:type", Boolean)
95
- ], UpdateSocietyConfig.prototype, "noShowModalAnnotation", void 0);
57
+ ], UpdateReminder.prototype, "beforeThree", void 0);
96
58
  __decorate([
97
59
  ApiPropertyOptional(),
98
60
  IsBoolean(),
99
61
  ToBoolean(),
100
62
  IsOptional(),
101
63
  __metadata("design:type", Boolean)
102
- ], UpdateSocietyConfig.prototype, "emailAgreement", void 0);
64
+ ], UpdateReminder.prototype, "dueDate", void 0);
103
65
  __decorate([
104
66
  ApiPropertyOptional(),
105
67
  IsBoolean(),
106
68
  ToBoolean(),
107
69
  IsOptional(),
108
70
  __metadata("design:type", Boolean)
109
- ], UpdateSocietyConfig.prototype, "clicPaiement", void 0);
71
+ ], UpdateReminder.prototype, "afterThree", void 0);
110
72
  __decorate([
111
73
  ApiPropertyOptional(),
112
74
  IsBoolean(),
113
75
  ToBoolean(),
114
76
  IsOptional(),
115
77
  __metadata("design:type", Boolean)
116
- ], UpdateSocietyConfig.prototype, "mailIdepotStatus", void 0);
78
+ ], UpdateReminder.prototype, "afterSeven", void 0);
117
79
  __decorate([
118
80
  ApiPropertyOptional(),
119
- IsBoolean(),
120
- ToBoolean(),
81
+ IsString(),
121
82
  IsOptional(),
122
- __metadata("design:type", Boolean)
123
- ], UpdateSocietyConfig.prototype, "mobileRegister", void 0);
83
+ __metadata("design:type", String)
84
+ ], UpdateReminder.prototype, "subject", void 0);
124
85
  __decorate([
125
86
  ApiPropertyOptional(),
126
- IsBoolean(),
127
- ToBoolean(),
87
+ IsString(),
128
88
  IsOptional(),
129
- __metadata("design:type", Boolean)
130
- ], UpdateSocietyConfig.prototype, "registeredFromWebsite", void 0);
131
- //# sourceMappingURL=update.js.map
89
+ __metadata("design:type", String)
90
+ ], UpdateReminder.prototype, "message", void 0);
91
+ //# sourceMappingURL=Update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,GACxC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,wBAAwB;CA6BpC;AAxBC;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACQ;AAMrB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;2DACO;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACI;AAMjB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;;0DACU;AAGzB,MAAM,OAAO,cAAc;CAkC1B;AA7BC;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACQ;AAMrB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+CACI;AAMjB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kDACO;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI","sourcesContent":["import {\n IsBoolean, IsDate, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateCommercialDocument {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCanceled?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRefused?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isPaid?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isUsed?: boolean;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n mailSent?: Date | null;\n}\n\nexport class UpdateReminder {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n beforeThree: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n dueDate: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n afterThree: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n}"]}
@@ -0,0 +1,13 @@
1
+ import { ConnectorType } from '../../../Enum/ConnectorType';
2
+ export declare class CreateConnector {
3
+ idConnectorType: ConnectorType;
4
+ username?: string;
5
+ pass?: string;
6
+ url?: string;
7
+ token?: string;
8
+ token2?: string;
9
+ token3?: string;
10
+ token4?: string;
11
+ date?: Date;
12
+ }
13
+ //# sourceMappingURL=CreateConnector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConnector.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/connector/CreateConnector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBAAa,eAAe;IAG1B,eAAe,EAAE,aAAa,CAAC;IAK/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
@@ -0,0 +1,68 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsDate, IsEnum, IsOptional, IsString, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ConnectorType } from '../../../Enum/ConnectorType';
13
+ export class CreateConnector {
14
+ }
15
+ __decorate([
16
+ ApiProperty(),
17
+ IsEnum(ConnectorType),
18
+ __metadata("design:type", Number)
19
+ ], CreateConnector.prototype, "idConnectorType", void 0);
20
+ __decorate([
21
+ ApiPropertyOptional(),
22
+ IsOptional(),
23
+ IsString(),
24
+ __metadata("design:type", String)
25
+ ], CreateConnector.prototype, "username", void 0);
26
+ __decorate([
27
+ ApiPropertyOptional(),
28
+ IsOptional(),
29
+ IsString(),
30
+ __metadata("design:type", String)
31
+ ], CreateConnector.prototype, "pass", void 0);
32
+ __decorate([
33
+ ApiPropertyOptional(),
34
+ IsOptional(),
35
+ IsString(),
36
+ __metadata("design:type", String)
37
+ ], CreateConnector.prototype, "url", void 0);
38
+ __decorate([
39
+ ApiPropertyOptional(),
40
+ IsOptional(),
41
+ IsString(),
42
+ __metadata("design:type", String)
43
+ ], CreateConnector.prototype, "token", void 0);
44
+ __decorate([
45
+ ApiPropertyOptional(),
46
+ IsOptional(),
47
+ IsString(),
48
+ __metadata("design:type", String)
49
+ ], CreateConnector.prototype, "token2", void 0);
50
+ __decorate([
51
+ ApiPropertyOptional(),
52
+ IsOptional(),
53
+ IsString(),
54
+ __metadata("design:type", String)
55
+ ], CreateConnector.prototype, "token3", void 0);
56
+ __decorate([
57
+ ApiPropertyOptional(),
58
+ IsOptional(),
59
+ IsString(),
60
+ __metadata("design:type", String)
61
+ ], CreateConnector.prototype, "token4", void 0);
62
+ __decorate([
63
+ ApiPropertyOptional(),
64
+ IsOptional(),
65
+ IsDate(),
66
+ __metadata("design:type", Date)
67
+ ], CreateConnector.prototype, "date", void 0);
68
+ //# sourceMappingURL=CreateConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConnector.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/connector/CreateConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,GACrC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,MAAM,OAAO,eAAe;CA4C3B;AAzCC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,aAAa,CAAC;;wDACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACE;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;6CAAC","sourcesContent":["import {\n IsDate, IsEnum, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ConnectorType } from '../../../Enum/ConnectorType';\n\nexport class CreateConnector {\n @ApiProperty()\n @IsEnum(ConnectorType)\n idConnectorType: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}"]}
@@ -0,0 +1,7 @@
1
+ import { ConnectorType } from '../../../Enum/ConnectorType';
2
+ import { IConnector } from '../../models/IConnector';
3
+ export declare class QueryConnector {
4
+ idConnectorType: ConnectorType;
5
+ attributes: Extract<keyof IConnector, string>[];
6
+ }
7
+ //# sourceMappingURL=QueryConnector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryConnector.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/connector/QueryConnector.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,qBAAa,cAAc;IAEzB,eAAe,EAAE,aAAa,CAAC;IAO/B,UAAU,EAAE,OAAO,CAAC,MAAM,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;CACjD"}
@@ -7,18 +7,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsArray } from 'class-validator';
10
+ import { IsArray, IsString } from 'class-validator';
11
11
  import { ApiProperty } from '../../../../utils';
12
- export class ProcessBankAccount {
12
+ import { ConnectorType } from '../../../Enum/ConnectorType';
13
+ export class QueryConnector {
13
14
  }
14
15
  __decorate([
15
16
  ApiProperty(),
16
- IsArray(),
17
- __metadata("design:type", Array)
18
- ], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
17
+ __metadata("design:type", Number)
18
+ ], QueryConnector.prototype, "idConnectorType", void 0);
19
19
  __decorate([
20
20
  ApiProperty(),
21
21
  IsArray(),
22
+ IsString({
23
+ each: true,
24
+ }),
22
25
  __metadata("design:type", Array)
23
- ], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
24
- //# sourceMappingURL=ProcessBankAccount.js.map
26
+ ], QueryConnector.prototype, "attributes", void 0);
27
+ //# sourceMappingURL=QueryConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryConnector.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/connector/QueryConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5D,MAAM,OAAO,cAAc;CAU1B;AARC;IADC,WAAW,EAAE;;uDACiB;AAO/B;IALC,WAAW,EAAE;IACb,OAAO,EAAE;IACT,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;kDAC8C","sourcesContent":["import { IsArray, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { ConnectorType } from '../../../Enum/ConnectorType';\nimport { IConnector } from '../../models/IConnector';\n\nexport class QueryConnector {\n @ApiProperty()\n idConnectorType: ConnectorType;\n\n @ApiProperty()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes: Extract<keyof IConnector, string>[];\n}"]}
@@ -15,9 +15,8 @@ export declare class QuoteObject {
15
15
  export declare class PartialInvoice {
16
16
  id: number;
17
17
  label: string;
18
- totalHt: number;
19
- totalTtc: number;
18
+ totalTaxExcluded: number;
19
+ totalTaxIncluded: number;
20
20
  dueDate: string | Date;
21
- expirationDate: string | Date | null;
22
21
  }
23
22
  //# sourceMappingURL=ReadGescom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadGescom.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"names":[],"mappings":"AAAA,qBAAa,UAAU;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,qBAAa,aAAa;IACxB,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACpC,uBAAuB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC/C,oBAAoB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAC7C;AAED,qBAAa,WAAW;IACtB,aAAa,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACpC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACrC;AAED,qBAAa,cAAc;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;CACtC"}
1
+ {"version":3,"file":"ReadGescom.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"names":[],"mappings":"AAAA,qBAAa,UAAU;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,qBAAa,aAAa;IACxB,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACpC,uBAAuB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC/C,oBAAoB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAC7C;AAED,qBAAa,WAAW;IACtB,aAAa,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACpC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACrC;AAED,qBAAa,cAAc;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadGescom.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,UAAU;CAGtB;AAED,MAAM,OAAO,aAAa;CAIzB;AAED,MAAM,OAAO,WAAW;CAIvB;AAED,MAAM,OAAO,cAAc;CAO1B","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","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadGescom.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,UAAU;CAGtB;AAED,MAAM,OAAO,aAAa;CAIzB;AAED,MAAM,OAAO,WAAW;CAIvB;AAED,MAAM,OAAO,cAAc;CAM1B","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}"]}
@@ -3,7 +3,6 @@ export declare class QueryGeneralLedger {
3
3
  dateEnd: string;
4
4
  limit: number;
5
5
  page: number;
6
- idAccount?: number[];
7
6
  descending?: boolean;
8
7
  search?: string;
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"AAOA,qBAAa,kBAAkB;IAE7B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAKhB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAMrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAE7B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAKhB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsArray, IsBoolean, IsInt, IsOptional, Min, } from 'class-validator';
10
+ import { IsBoolean, IsInt, IsOptional, Min, } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  export class QueryGeneralLedger {
@@ -32,12 +32,6 @@ __decorate([
32
32
  Min(1),
33
33
  __metadata("design:type", Number)
34
34
  ], QueryGeneralLedger.prototype, "page", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsArray(),
38
- IsOptional(),
39
- __metadata("design:type", Array)
40
- ], QueryGeneralLedger.prototype, "idAccount", void 0);
41
35
  __decorate([
42
36
  ApiPropertyOptional({ default: true }),
43
37
  IsBoolean(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedger.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAClC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;CA8B9B;AA5BC;IADC,WAAW,EAAE;;qDACI;AAGlB;IADC,WAAW,EAAE;;mDACE;AAKhB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;iDACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;gDACM;AAKb;IAHC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;;qDACQ;AAMrB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;sDACQ;AAGrB;IADC,mBAAmB,EAAE;;kDACN","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","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAClC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;CAyB9B;AAvBC;IADC,WAAW,EAAE;;qDACI;AAGlB;IADC,WAAW,EAAE;;mDACE;AAKhB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;iDACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;gDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;sDACQ;AAGrB;IADC,mBAAmB,EAAE;;kDACN","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}"]}
@@ -7,6 +7,5 @@ export declare class QueryGeneralLedgerAuxiliary {
7
7
  omitLettering?: boolean;
8
8
  descending?: boolean;
9
9
  search?: string;
10
- idThirdParty?: number;
11
10
  }
12
11
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, } from 'class-validator';
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
@@ -61,10 +61,4 @@ __decorate([
61
61
  IsOptional(),
62
62
  __metadata("design:type", String)
63
63
  ], QueryGeneralLedgerAuxiliary.prototype, "search", void 0);
64
- __decorate([
65
- ApiPropertyOptional(),
66
- IsNumber(),
67
- IsOptional(),
68
- __metadata("design:type", Number)
69
- ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
70
64
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map