@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
@@ -5,8 +5,4 @@ export class Exercice extends Resource {
5
5
  create(params: CreateExercice): Promise<IExercice> {
6
6
  return this.axios.$post('/exercices', params);
7
7
  }
8
-
9
- getAllBySocietyId(id: number): Promise<IExercice[]> {
10
- return this.axios.$get(`/societies/${id}/exercices`);
11
- }
12
8
  }
@@ -10,55 +10,29 @@ import {
10
10
 
11
11
  export class FecFile extends Resource {
12
12
  get(): Promise<IFecFile> {
13
- return this.axios.$get('fec-file');
13
+ return this.axios.$get('fecFile');
14
14
  }
15
15
 
16
16
  download(): Promise<any> {
17
- return this.axios.$get('fec-file/download', { responseType: 'blob' });
17
+ return this.axios.$get('fecFile/download', { responseType: 'blob' });
18
18
  }
19
19
 
20
20
  export(idExercice: number, payload?: QueryFecFile): Promise<any> {
21
- return this.axios.$get(`fec-file/exercice/${idExercice}/export`, {
21
+ return this.axios.$get(`fecFile/exercice/${idExercice}/export`, {
22
22
  ...payload,
23
23
  responseType: 'blob',
24
24
  });
25
25
  }
26
26
 
27
27
  create(params: CreateFecFile): Promise<ReadFecFile> {
28
- return this.axios.$post('fec-file', params);
28
+ return this.axios.$post('fecFile', params);
29
29
  }
30
30
 
31
31
  map(params: CreateMappingFecFile): Promise<IFecFile> {
32
- return this.axios.$post('fec-file/mapping', params);
32
+ return this.axios.$post('fecFile/mapping', params);
33
33
  }
34
34
 
35
35
  delete(): Promise<DeleteFecFile> {
36
- return this.axios.$delete('fec-file');
37
- }
38
-
39
- getBySociety(idSociety: number): Promise<IFecFile> {
40
- return this.axios.$get(`societies/${idSociety}/fec-file`);
41
- }
42
-
43
- downloadBySociety(idSociety: number): Promise<any> {
44
- return this.axios.$get(`societies/${idSociety}/fec-file/download`, { responseType: 'blob' });
45
- }
46
-
47
- createBySociety(idSociety: number, params: CreateFecFile): Promise<ReadFecFile> {
48
- return this.axios.$post(`societies/${idSociety}/fec-file`, params);
49
- }
50
-
51
- mapBySociety(idSociety: number, params: CreateMappingFecFile): Promise<IFecFile> {
52
- return this.axios.$post(`societies/${idSociety}/fec-file/mapping`, params);
53
- }
54
-
55
- deleteBySociety(idSociety: number): Promise<DeleteFecFile> {
56
- return this.axios.$delete(`societies/${idSociety}/fec-file`);
57
- }
58
-
59
- exportBySociety(idSociety: number, idExercice: number): Promise<any> {
60
- return this.axios.$get(`societies/${idSociety}/fec-file/exercice/${idExercice}/export`, {
61
- responseType: 'blob',
62
- });
36
+ return this.axios.$delete('fecFile');
63
37
  }
64
38
  }
@@ -37,8 +37,8 @@ export class GeneralLedger extends Resource {
37
37
  });
38
38
  }
39
39
 
40
- getPdf(idSociety: number, params: QueryGeneralLedger):Promise<Buffer> {
41
- return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {
40
+ getPdf(params: QueryGeneralLedger):Promise<Buffer> {
41
+ return this.axios.$get('/generalLedger/pdf', {
42
42
  params,
43
43
  responseType: 'arraybuffer',
44
44
  headers: {
@@ -0,0 +1,39 @@
1
+ import { CancelToken } from 'axios';
2
+ import { Resource } from '../Resource';
3
+ import {
4
+ BasePaginate,
5
+ CreateInvoiceDocument,
6
+ IEstimateInvoice,
7
+ QueryInvoice,
8
+ QueryPaginate,
9
+ ReadAccrualInvoice,
10
+ ReadCashBasedInvoice,
11
+ } from '../../types';
12
+
13
+ export class Invoice extends Resource {
14
+ getCashBasedPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadCashBasedInvoice>> {
15
+ return this.axios.$get('/commercial-management/invoices', {
16
+ ...(cancelToken ? { cancelToken } : {}),
17
+ params,
18
+ });
19
+ }
20
+
21
+ getAccrualPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadAccrualInvoice>> {
22
+ return this.axios.$get('/commercial-management/invoices', {
23
+ ...(cancelToken ? { cancelToken } : {}),
24
+ params,
25
+ });
26
+ }
27
+
28
+ create(payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {
29
+ return this.axios.$post('/commercial-management/invoices', payload);
30
+ }
31
+
32
+ update(id: number, payload: CreateInvoiceDocument): Promise<IEstimateInvoice> {
33
+ return this.axios.$put(`/commercial-management/invoices/${id}`, payload);
34
+ }
35
+
36
+ delete(id: number): Promise<true> {
37
+ return this.axios.$delete(`/commercial-management/documents/${id}`);
38
+ }
39
+ }
@@ -17,7 +17,7 @@ export class Loan extends Resource {
17
17
  const formData = new FormData();
18
18
 
19
19
  forEach(params, (value, key) => {
20
- if (value || value === 0) {
20
+ if (value) {
21
21
  formData.append(key, `${value}`);
22
22
  }
23
23
  });
@@ -87,7 +87,7 @@ export class Mail extends Resource {
87
87
  idUser,
88
88
  isProcessed: false,
89
89
  isSent: false,
90
- handlingManagerRoleMails: true,
90
+ displayManagerRoleMails: true,
91
91
  },
92
92
  });
93
93
  }
@@ -152,11 +152,10 @@ export class Mail extends Resource {
152
152
  },
153
153
  });
154
154
  }
155
- public countToBeClassifiedByUser(idUser: number, to?: string, cancelToken?: CancelToken): Promise<number> {
155
+ public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {
156
156
  return this.axios.$get('/mails/count-unprocessed-by-user', {
157
157
  ...(cancelToken ? { cancelToken } : {}),
158
158
  params: {
159
- to,
160
159
  idUser,
161
160
  isWithoutSociety: true,
162
161
  },
@@ -167,7 +166,7 @@ export class Mail extends Resource {
167
166
  ...(cancelToken ? { cancelToken } : {}),
168
167
  params: {
169
168
  idUser,
170
- handlingManagerRoleMails: true,
169
+ isCountingManagerRoleMails: true,
171
170
  },
172
171
  });
173
172
  }
@@ -16,8 +16,4 @@ export class Partner extends Resource {
16
16
  update(idPartner: number, params: UpdatePartner): Promise<ISocietyPartner> {
17
17
  return this.axios.$put(`partners/${idPartner}`, params);
18
18
  }
19
-
20
- delete(idPartner: number): Promise<number> {
21
- return this.axios.$delete(`partners/${idPartner}`);
22
- }
23
19
  }
@@ -1,32 +1,10 @@
1
- import {
2
- ProcessBankAccount,
3
- CreateQontoConnection,
4
- CreateImportation, GetConnectionInformation, GetQontoOrganization, IAccountingTransaction, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection,
5
- } from '../../types';
1
+ import { IBankAccount } from '../../types';
6
2
  import { Resource } from '../Resource';
7
3
 
8
4
  export class Qonto extends Resource {
9
- delete(idBankConnection: number): Promise<IBankAccount> {
10
- return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);
11
- }
12
-
13
- getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {
14
- return this.axios.$get('connectors/qonto/connections', { params: queries });
15
- }
16
-
17
- importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<IAccountingTransaction[]> {
18
- return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);
19
- }
20
-
21
- processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {
22
- return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);
23
- }
24
-
25
- create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {
26
- return this.axios.$post('connectors/qonto/connections', payload);
27
- }
28
-
29
- updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {
30
- return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
5
+ delete(
6
+ idBankConnection: number,
7
+ ): Promise<IBankAccount> {
8
+ return this.axios.$delete(`qonto/${idBankConnection}`);
31
9
  }
32
10
  }
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  import {
3
- IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType, QueryGetAllCollaborators,
3
+ IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType,
4
4
  } from '../../types';
5
5
 
6
6
  export class User extends Resource {
@@ -25,20 +25,29 @@ export class User extends Resource {
25
25
  allFromSociety(params: QueryGetAllFromSociety): Promise<IUser> {
26
26
  return this.axios.$get('user/all-from-society', { params });
27
27
  }
28
- allCollaborators(params: QueryGetAllCollaborators): Promise<IUser> {
29
- return this.axios.$get('user/all-collaborators', { params });
28
+ allCollaborators(): Promise<IUser> {
29
+ return this.axios.$get('user/all-collaborators');
30
30
  }
31
31
  allCollaboratorsByRolesFromTimeCounterType(idTimeCounterType: number): Promise<IUser> {
32
32
  const timeCounterType = Object.values(TimeCounterType).find((tct) => tct.id === idTimeCounterType);
33
33
  const rolesByDefault = [
34
+ Role.FRONT_MANAGER,
34
35
  Role.FRONT_OFFICE,
35
36
  Role.FRONT_OFFICE_EXPRESS,
37
+ Role.BACK_MANAGER,
38
+ Role.BACK_OFFICE,
39
+ Role.BACK_OFFICE_EXPRESS,
40
+ Role.VAT,
36
41
  Role.SOCIAL,
37
42
  Role.JURIDIC,
38
43
  Role.HUMAN_RESSOURCES,
39
44
  Role.FACTURATION,
45
+ Role.CHIEF_ACCOUNTANT,
46
+ Role.CUSTOMER_SUCCESS_MANAGER,
40
47
  Role.CUSTOMER_SUCCESS,
48
+ Role.COMMERCIAL_MANAGER,
41
49
  Role.COMMERCIAL,
50
+ Role.SUPERVISOR,
42
51
  Role.MANAGER,
43
52
  Role.EXPERT_ACCOUNTANT,
44
53
  Role.DEVELOPER,
@@ -0,0 +1,66 @@
1
+ import { Resource } from '../Resource';
2
+ import {
3
+ BasePaginate,
4
+ CreateCommercialMail,
5
+ CreateInvoiceDocument,
6
+ CreatePreSaleDocument,
7
+ EstimateInvoiceType,
8
+ IEstimateInvoice,
9
+ IFile,
10
+ QueryDocumentPaginated,
11
+ QueryNextReference,
12
+ QueryPaginate,
13
+ ReadEstimateInvoice,
14
+ UpdateCommercialDocument,
15
+ } from '../../types';
16
+ import { ICommercialMail } from '../../types/Interface/models/ICommercialMail';
17
+
18
+ export class CommercialDocument extends Resource {
19
+ get(id: number): Promise<ReadEstimateInvoice> {
20
+ return this.axios.$get(`/commercial-management/documents/${id}`);
21
+ }
22
+
23
+ update(id: number, payload: UpdateCommercialDocument): Promise<IEstimateInvoice> {
24
+ return this.axios.patch(`/commercial-management/documents/${id}`, payload);
25
+ }
26
+
27
+ delete(id: number): Promise<true> {
28
+ return this.axios.$delete(`/commercial-management/documents/${id}`);
29
+ }
30
+
31
+ getAllMails(id: number): Promise<ICommercialMail[]> {
32
+ return this.axios.$get(`/commercial-management/documents/${id}/mails`);
33
+ }
34
+
35
+ send(id: number, payload: CreateCommercialMail): Promise<ICommercialMail> {
36
+ return this.axios.$post(`/commercial-management/documents/${id}/mails`, payload);
37
+ }
38
+
39
+ getNextReference(params: QueryNextReference): Promise<string> {
40
+ return this.axios.$get('/commercial-management/documents/references', { params });
41
+ }
42
+
43
+ getPaginated(params: QueryDocumentPaginated & QueryPaginate): Promise<BasePaginate<ReadEstimateInvoice>> {
44
+ return this.axios.$get('/commercial-management/documents', { params });
45
+ }
46
+
47
+ createEstimate(payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>): Promise<IEstimateInvoice> {
48
+ return this.axios.$post('/commercial-management/estimates', { ...payload, idEstimateInvoiceType: EstimateInvoiceType.DEVIS });
49
+ }
50
+
51
+ createOrder(payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>): Promise<IEstimateInvoice> {
52
+ return this.axios.$post('/commercial-management/orders', { ...payload, idEstimateInvoiceType: EstimateInvoiceType.BON });
53
+ }
54
+
55
+ updateEstimate(id: number, payload: CreatePreSaleDocument): Promise<IEstimateInvoice> {
56
+ return this.axios.$post(`/commercial-management/estimates/${id}`, payload);
57
+ }
58
+
59
+ updateOrder(id: number, payload: CreatePreSaleDocument): Promise<IEstimateInvoice> {
60
+ return this.axios.$post(`/commercial-management/orders/${id}`, payload);
61
+ }
62
+
63
+ preview(idEstimateInvoiceType: EstimateInvoiceType, payload: CreatePreSaleDocument | CreateInvoiceDocument): Promise<IFile> {
64
+ return this.axios.$post('/commercial-management/preview/', { ...payload, idEstimateInvoiceType });
65
+ }
66
+ }
@@ -0,0 +1,20 @@
1
+ import { Resource } from '../Resource';
2
+ import {
3
+ CreateReminder,
4
+ IInvoiceReminder,
5
+ UpdateReminder,
6
+ } from '../../types';
7
+
8
+ export class Reminder extends Resource {
9
+ create(idEstimateInvoice: number, payload: CreateReminder): Promise<IInvoiceReminder> {
10
+ return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}`, payload);
11
+ }
12
+
13
+ update(id: number, idEstimateInvoice: number, payload: UpdateReminder): Promise<IInvoiceReminder> {
14
+ return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);
15
+ }
16
+
17
+ delete(id: number, idEstimateInvoice: number): Promise<true> {
18
+ return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);
19
+ }
20
+ }
@@ -87,15 +87,11 @@ import { Alert } from './resources/Alert';
87
87
  import { CalendarEvent } from './resources/CalendarEvent';
88
88
  import { TimeRecorder } from './resources/TimeRecorder';
89
89
  import { CustomerActivity } from './resources/CustomerActivity';
90
+ import { CommercialSetting } from './resources/CommercialSetting';
91
+ import { Invoice } from './resources/Invoice';
92
+ import { CommercialDocument } from './resources/commercialDocument';
90
93
  import { Connection } from './resources/Connection';
91
- import { SocietyConfig } from './resources/SocietyConfig';
92
- import { LegalNotice } from './resources/LegalNotice';
93
- import { StatisticAccountant } from './resources/statistic/Accountant';
94
- import { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';
95
- import { Wallet } from './resources/Wallet';
96
- import { PaymentExpectation } from './resources/PaymentExpectation';
97
- import { StatisticDirection } from './resources/statistic/Direction';
98
- import { TerminationList } from './resources/TerminationList';
94
+ import { Reminder } from './resources/reminder';
99
95
 
100
96
  export const resources = {
101
97
  simulation: Simulation,
@@ -187,13 +183,9 @@ export const resources = {
187
183
  thirdParty: ThirdParty,
188
184
  alert: Alert,
189
185
  customerActivity: CustomerActivity,
186
+ commercialSetting: CommercialSetting,
187
+ commercialDocument: CommercialDocument,
190
188
  connection: Connection,
191
- wallet: Wallet,
192
- societyConfig: SocietyConfig,
193
- legalNotice: LegalNotice,
194
- statisticAccountant: StatisticAccountant,
195
- statisticDirection: StatisticDirection,
196
- statisticExpertAccountant: StatisticExpertAccountant,
197
- paymentExpectation: PaymentExpectation,
198
- terminationList: TerminationList,
189
+ invoice: Invoice,
190
+ reminder: Reminder,
199
191
  };
package/ts/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './utils';
2
+ export * from './utils/commercialManagement/product';
2
3
  export * from './types';
3
4
  export * from './api';
@@ -83,4 +83,12 @@ export const Account = {
83
83
  id: 110,
84
84
  number: 623400,
85
85
  },
86
+ INCOME: {
87
+ id: 213,
88
+ number: 706100,
89
+ },
90
+ COUNTER_SALES: {
91
+ id: 214,
92
+ number: 707100,
93
+ },
86
94
  };
@@ -76,9 +76,6 @@ export const BrandClementine = [
76
76
  vatIntracom: 'FR47752566687',
77
77
  email: 'facturation@compta-clementine.fr',
78
78
  },
79
- webmail: {
80
- domain: '@compta-clementine.fr',
81
- },
82
79
  },
83
80
  {
84
81
  idTypeBrand: 2,
@@ -220,7 +217,7 @@ export const BrandClementine = [
220
217
  miniLogoUrl: 'logo-pourcentage-mini.svg',
221
218
  hiddenPages: [],
222
219
  recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG', // TODO:
223
- urlApp: 'https://app.comptalib.com/',
220
+ urlApp: 'https://app.comptalib.com',
224
221
  urlApi1: 'https://api.comptalib.com',
225
222
  urlApi2: 'https://api-next.comptalib.com',
226
223
  urlExpert: 'https://pro.comptalib.com',
@@ -246,9 +243,6 @@ export const BrandClementine = [
246
243
  vatIntracom: 'FR58891501181',
247
244
  email: 'facturation@pourcentage.fr',
248
245
  },
249
- webmail: {
250
- domain: '@pourcentage.fr',
251
- },
252
246
  },
253
247
  {
254
248
  idTypeBrand: 5,
@@ -262,9 +256,6 @@ export const BrandClementine = [
262
256
  Name: 'Expertise Choix B',
263
257
  Id: 'FR91ZZZ617135',
264
258
  },
265
- colors: {
266
- primary: '#f39a00',
267
- },
268
259
  internalInvoicing: {
269
260
  statut: 'SAS',
270
261
  name: 'EXPERTISE CHOIX B',
@@ -49,12 +49,9 @@ export const BrandComptalib = [
49
49
  miniLogoUrl: 'logo-comptalib.svg',
50
50
  hiddenPages: [],
51
51
  recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
52
- urlApp: 'https://app.comptalib.com/',
52
+ urlApp: 'https://app.comptalib.com',
53
53
  urlExpert: 'https://pro.comptalib.com',
54
54
  urlClient: '',
55
- webmail: {
56
- domain: '@comptalib.com',
57
- },
58
55
  },
59
56
  {
60
57
  idTypeBrand: 2,
@@ -106,7 +103,7 @@ export const BrandComptalib = [
106
103
  miniLogoUrl: 'logo-pourcentage-mini.svg',
107
104
  hiddenPages: [],
108
105
  recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
109
- urlApp: 'https://app.pourcentage.fr/',
106
+ urlApp: 'https://app.pourcentage.fr',
110
107
  urlApi1: 'https://api.comptalib.com',
111
108
  urlApi2: 'https://api-next.comptalib.com',
112
109
  urlExpert: 'https://pro.comptalib.com',
@@ -132,9 +129,6 @@ export const BrandComptalib = [
132
129
  vatIntracom: 'FR58891501181',
133
130
  email: 'facturation@pourcentage.fr',
134
131
  },
135
- webmail: {
136
- domain: '@pourcentage.fr',
137
- },
138
132
  },
139
133
  {
140
134
  idTypeBrand: 3,
@@ -185,7 +179,7 @@ export const BrandComptalib = [
185
179
  miniLogoUrl: 'logo-lcf.svg',
186
180
  hiddenPages: [],
187
181
  recaptchaSecretKey: '6LdZneUUAAAAAKfiwC_JFWOlzc_0YYKHQJgSveRP',
188
- urlApp: 'https://app.lecomptablefrancais.fr/',
182
+ urlApp: 'https://app.lecomptablefrancais.fr',
189
183
  urlExpert: 'https://pro.comptalib.com',
190
184
  urlClient: '',
191
185
  bank: {
@@ -209,9 +203,6 @@ export const BrandComptalib = [
209
203
  vatIntracom: 'FR58891501181',
210
204
  email: 'bonjour@comptalib.com',
211
205
  },
212
- webmail: {
213
- domain: '@lecomptablefrancais.fr',
214
- },
215
206
  },
216
207
  {
217
208
  idTypeBrand: 4,
@@ -263,7 +254,7 @@ export const BrandComptalib = [
263
254
  miniLogoUrl: 'logo-aec.png',
264
255
  hiddenPages: [],
265
256
  recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
266
- urlApp: 'https://app.aec54.com/',
257
+ urlApp: 'https://app.aec54.com',
267
258
  urlApi1: 'https://api.comptalib.com',
268
259
  urlApi2: 'https://api-next.comptalib.com',
269
260
  urlExpert: 'https://pro.comptalib.com',
@@ -76,8 +76,5 @@ export const BrandLegalstart = [
76
76
  vatIntracom: 'FR47752566687',
77
77
  email: 'facturation@compta-clementine.fr',
78
78
  },
79
- webmail: {
80
- domain: '@legalstart.fr',
81
- },
82
79
  },
83
80
  ];
@@ -10,7 +10,6 @@ export const BrandPourcentage = [
10
10
  listPhones: {
11
11
  contact: '01 86 90 82 15',
12
12
  qualite: '01 86 90 82 15',
13
- social: '01 86 90 82 15',
14
13
  juridique: '01 86 90 82 15',
15
14
  },
16
15
  listMails: {
@@ -20,14 +19,14 @@ export const BrandPourcentage = [
20
19
  contact: 'contact@pourcentage.fr',
21
20
  facturation: 'facturation@pourcentage.fr',
22
21
  feedback: 'contact@pourcentage.fr',
23
- juridique: 'juridique@pourcentage.fr',
22
+ juridique: 'contact@pourcentage.fr',
24
23
  informatique: 'contact@pourcentage.fr',
25
24
  msd: 'contact@pourcentage.fr',
26
25
  noreply: 'contact@pourcentage.fr',
27
26
  qualite: 'contact@pourcentage.fr',
28
27
  paiement: 'contact@pourcentage.fr',
29
28
  rh: 'rh@pourcentage.fr',
30
- social: 'social@pourcentage.fr',
29
+ social: 'contact@pourcentage.fr',
31
30
  support: 'contact@pourcentage.fr',
32
31
  tva: 'contact@pourcentage.fr',
33
32
  wb: 'contact@pourcentage.fr',
@@ -46,7 +45,7 @@ export const BrandPourcentage = [
46
45
  statut: 'SAS',
47
46
  zipCode: '54 520',
48
47
  },
49
- idPrestationsListAuthorized: [197, 205, 12, 207, 208],
48
+ idPrestationsListAuthorized: [197, 205, 12],
50
49
  logoUrl: 'logo-pourcentage.svg',
51
50
  miniLogoUrl: 'logo-pourcentage-mini.svg',
52
51
  hiddenPages: [],
@@ -77,8 +76,5 @@ export const BrandPourcentage = [
77
76
  vatIntracom: 'FR58891501181',
78
77
  email: 'facturation@pourcentage.fr',
79
78
  },
80
- webmail: {
81
- domain: '@pourcentage.fr',
82
- },
83
79
  },
84
80
  ];
@@ -25,5 +25,5 @@ export enum BudgetInsightConnectionState {
25
25
  RATE_LIMITING = 'rateLimiting', // The target website or API is temporarily blocking synchronizations due to rate limiting.
26
26
  WEBSITE_UNAVAILABLE = 'websiteUnavailable', // The connector website or API is unavailable.
27
27
  BUG = 'bug', // An internal error has occurred during the synchronization.
28
- NOT_SUPPORTED = 'notSupported', // The source is not supported on the connector.
28
+ NOT_SUPPORTED = 'notSupported', // The source is not supported on the connector
29
29
  }
@@ -0,0 +1,38 @@
1
+ export enum FontIds {
2
+ CIRCULAR_STD = 1,
3
+ ROBOTO = 2,
4
+ POPPINS = 3,
5
+ RALEWAY = 4,
6
+ ZILLA = 5,
7
+ }
8
+
9
+ export const fontList = [
10
+ { id: FontIds.CIRCULAR_STD, link: 'http://fonts.cdnfonts.com/css/circular-std', name: 'Circular Std' },
11
+ { id: FontIds.ROBOTO, link: 'https://fonts.cdnfonts.com/css/roboto', name: 'Roboto' },
12
+ { id: FontIds.POPPINS, link: 'https://fonts.cdnfonts.com/css/poppins', name: 'Poppins' },
13
+ { id: FontIds.RALEWAY, link: 'https://fonts.cdnfonts.com/css/raleway-5', name: 'Raleway' },
14
+ { id: FontIds.ZILLA, link: 'http://fonts.cdnfonts.com/css/zilla-slab', name: 'Zilla Slab' },
15
+ ];
16
+
17
+ export enum LogoAlignment {
18
+ LEFT = 'left',
19
+ RIGHT = 'right',
20
+ }
21
+
22
+ export enum InvoiceStatus {
23
+ WAITING = 'waiting',
24
+ UNPAID = 'unpaid',
25
+ CANCELED = 'canceled',
26
+ PAID = 'paid',
27
+ }
28
+
29
+ export enum EstimateStatus {
30
+ BILLED = 'billed',
31
+ ACCEPTED = 'accepted',
32
+ WAITING = 'waiting',
33
+ }
34
+
35
+ export enum DiscountType {
36
+ PERCENT = 1,
37
+ AMOUNT = 2,
38
+ }
@@ -4,5 +4,5 @@ export enum EstimateInvoiceType {
4
4
  BON = 3,
5
5
  AVOIR = 4,
6
6
  RESTE = 5,
7
- ACCOMPTE = 6,
7
+ ACOMPTE = 6,
8
8
  }
@@ -33,5 +33,4 @@ export enum LogType {
33
33
  UNPAID = 21,
34
34
  DELETE = 22,
35
35
  REGULATION_DELETE = 23,
36
- TRANSACTION_DELETE = 26,
37
36
  }
@@ -1,4 +1,4 @@
1
- export enum PrestationType {
1
+ export enum Prestation {
2
2
  PREVISIONNEL = 6, // à remplacer par 189
3
3
  BILAN_INTERMEDIAIRE = 9,
4
4
  TELEDECLARATION = 13,
@@ -11,5 +11,4 @@ export enum PrestationType {
11
11
  BILAN_PREVISIONNEL = 189,
12
12
  DISSOLUTION_LIQUIDATION = 192,
13
13
  ABO_STRIPE = 196,
14
- ANNONCE_LEGALE = 209,
15
14
  }