@silexpert/core 0.4.290 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (945) hide show
  1. package/CHANGELOG.md +0 -17
  2. package/es/api/resources/BudgetInsight.d.ts +7 -0
  3. package/es/api/resources/BudgetInsight.d.ts.map +1 -1
  4. package/es/api/resources/BudgetInsight.js +8 -0
  5. package/es/api/resources/BudgetInsight.js.map +1 -1
  6. package/es/api/resources/CalendarEvent.d.ts +1 -2
  7. package/es/api/resources/CalendarEvent.d.ts.map +1 -1
  8. package/es/api/resources/CalendarEvent.js +2 -2
  9. package/es/api/resources/CalendarEvent.js.map +1 -1
  10. package/es/api/resources/CommercialSetting.d.ts +7 -0
  11. package/es/api/resources/CommercialSetting.d.ts.map +1 -0
  12. package/es/api/resources/CommercialSetting.js +10 -0
  13. package/es/api/resources/CommercialSetting.js.map +1 -0
  14. package/es/api/resources/Connector.d.ts +4 -1
  15. package/es/api/resources/Connector.d.ts.map +1 -1
  16. package/es/api/resources/Connector.js +9 -0
  17. package/es/api/resources/Connector.js.map +1 -1
  18. package/es/api/resources/Dashboard.d.ts +1 -2
  19. package/es/api/resources/Dashboard.d.ts.map +1 -1
  20. package/es/api/resources/Dashboard.js +0 -3
  21. package/es/api/resources/Dashboard.js.map +1 -1
  22. package/es/api/resources/Exercice.d.ts +0 -1
  23. package/es/api/resources/Exercice.d.ts.map +1 -1
  24. package/es/api/resources/Exercice.js +0 -3
  25. package/es/api/resources/Exercice.js.map +1 -1
  26. package/es/api/resources/FecFile.d.ts +0 -6
  27. package/es/api/resources/FecFile.d.ts.map +1 -1
  28. package/es/api/resources/FecFile.js +6 -26
  29. package/es/api/resources/FecFile.js.map +1 -1
  30. package/es/api/resources/GeneralLedger.d.ts +1 -1
  31. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  32. package/es/api/resources/GeneralLedger.js +2 -2
  33. package/es/api/resources/GeneralLedger.js.map +1 -1
  34. package/es/api/resources/Invoice.d.ts +11 -0
  35. package/es/api/resources/Invoice.d.ts.map +1 -0
  36. package/es/api/resources/Invoice.js +19 -0
  37. package/es/api/resources/Invoice.js.map +1 -0
  38. package/es/api/resources/Loan.js +1 -1
  39. package/es/api/resources/Loan.js.map +1 -1
  40. package/es/api/resources/Mail.d.ts +1 -1
  41. package/es/api/resources/Mail.d.ts.map +1 -1
  42. package/es/api/resources/Mail.js +3 -4
  43. package/es/api/resources/Mail.js.map +1 -1
  44. package/es/api/resources/Partner.d.ts +0 -1
  45. package/es/api/resources/Partner.d.ts.map +1 -1
  46. package/es/api/resources/Partner.js +0 -3
  47. package/es/api/resources/Partner.js.map +1 -1
  48. package/es/api/resources/Qonto.d.ts +1 -6
  49. package/es/api/resources/Qonto.d.ts.map +1 -1
  50. package/es/api/resources/Qonto.js +1 -16
  51. package/es/api/resources/Qonto.js.map +1 -1
  52. package/es/api/resources/User.d.ts +3 -5
  53. package/es/api/resources/User.d.ts.map +1 -1
  54. package/es/api/resources/User.js +27 -27
  55. package/es/api/resources/User.js.map +1 -1
  56. package/es/api/resources/commercialDocument.d.ts +18 -0
  57. package/es/api/resources/commercialDocument.d.ts.map +1 -0
  58. package/es/api/resources/commercialDocument.js +41 -0
  59. package/es/api/resources/commercialDocument.js.map +1 -0
  60. package/es/api/resources/reminder.d.ts +8 -0
  61. package/es/api/resources/reminder.d.ts.map +1 -0
  62. package/es/api/resources/reminder.js +13 -0
  63. package/es/api/resources/reminder.js.map +1 -0
  64. package/es/api/resources.d.ts +8 -18
  65. package/es/api/resources.d.ts.map +1 -1
  66. package/es/api/resources.js +8 -18
  67. package/es/api/resources.js.map +1 -1
  68. package/es/index.d.ts +1 -0
  69. package/es/index.d.ts.map +1 -1
  70. package/es/index.js +1 -0
  71. package/es/index.js.map +1 -1
  72. package/es/types/Enum/Account.d.ts +8 -0
  73. package/es/types/Enum/Account.d.ts.map +1 -1
  74. package/es/types/Enum/Account.js +8 -0
  75. package/es/types/Enum/Account.js.map +1 -1
  76. package/es/types/Enum/BalanceSheet.js +1 -1
  77. package/es/types/Enum/BalanceSheet.js.map +1 -1
  78. package/es/types/Enum/BrandClementine.d.ts +1 -12
  79. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  80. package/es/types/Enum/BrandClementine.js +1 -10
  81. package/es/types/Enum/BrandClementine.js.map +1 -1
  82. package/es/types/Enum/BrandComptalib.d.ts +0 -87
  83. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  84. package/es/types/Enum/BrandComptalib.js +4 -13
  85. package/es/types/Enum/BrandComptalib.js.map +1 -1
  86. package/es/types/Enum/BrandLegalstart.d.ts +0 -3
  87. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  88. package/es/types/Enum/BrandLegalstart.js +0 -3
  89. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  90. package/es/types/Enum/BrandPourcentage.d.ts +0 -4
  91. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  92. package/es/types/Enum/BrandPourcentage.js +3 -7
  93. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  94. package/es/types/Enum/BudgetInsight.js.map +1 -1
  95. package/es/types/Enum/CommercialManagement.d.ts +42 -0
  96. package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
  97. package/es/types/Enum/CommercialManagement.js +64 -0
  98. package/es/types/Enum/CommercialManagement.js.map +1 -0
  99. package/es/types/Enum/EstimateInvoice.d.ts +1 -1
  100. package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
  101. package/es/types/Enum/EstimateInvoice.js +1 -1
  102. package/es/types/Enum/EstimateInvoice.js.map +1 -1
  103. package/es/types/Enum/Ged.d.ts +1 -101
  104. package/es/types/Enum/Ged.d.ts.map +1 -1
  105. package/es/types/Enum/Ged.js +14 -100
  106. package/es/types/Enum/Ged.js.map +1 -1
  107. package/es/types/Enum/Log.d.ts +1 -2
  108. package/es/types/Enum/Log.d.ts.map +1 -1
  109. package/es/types/Enum/Log.js +0 -1
  110. package/es/types/Enum/Log.js.map +1 -1
  111. package/es/types/Enum/Prestation.d.ts +15 -0
  112. package/es/types/Enum/Prestation.d.ts.map +1 -0
  113. package/es/types/Enum/Prestation.js +16 -0
  114. package/es/types/Enum/Prestation.js.map +1 -0
  115. package/es/types/Enum/Role.d.ts +11 -6
  116. package/es/types/Enum/Role.d.ts.map +1 -1
  117. package/es/types/Enum/Role.js +10 -15
  118. package/es/types/Enum/Role.js.map +1 -1
  119. package/es/types/Enum/RoleDetail.d.ts +51 -42
  120. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  121. package/es/types/Enum/RoleDetail.js +64 -127
  122. package/es/types/Enum/RoleDetail.js.map +1 -1
  123. package/es/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  124. package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  125. package/es/types/Enum/TaskResponseType.d.ts +0 -9
  126. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  127. package/es/types/Enum/TaskResponseType.js +2 -57
  128. package/es/types/Enum/TaskResponseType.js.map +1 -1
  129. package/es/types/Enum/TimeCounterType.d.ts +12 -40
  130. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  131. package/es/types/Enum/TimeCounterType.js +19 -47
  132. package/es/types/Enum/TimeCounterType.js.map +1 -1
  133. package/es/types/Enum/Vat.d.ts +1 -17
  134. package/es/types/Enum/Vat.d.ts.map +1 -1
  135. package/es/types/Enum/Vat.js +26 -24
  136. package/es/types/Enum/Vat.js.map +1 -1
  137. package/es/types/Enum/VatDeclarationType.d.ts.map +1 -1
  138. package/es/types/Enum/VatDeclarationType.js +0 -6
  139. package/es/types/Enum/VatDeclarationType.js.map +1 -1
  140. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +0 -1
  141. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  142. package/es/types/Interface/api/3cx/Query3cxSearch.js +0 -6
  143. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  144. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  145. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +0 -1
  146. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  147. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  148. package/es/types/Interface/api/commercialManagement/Create.d.ts +109 -0
  149. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
  150. package/es/types/Interface/api/commercialManagement/Create.js +496 -0
  151. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
  152. package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
  153. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
  154. package/es/types/Interface/api/commercialManagement/Query.js +121 -0
  155. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
  156. package/es/types/Interface/api/commercialManagement/Read.d.ts +63 -0
  157. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
  158. package/es/types/Interface/api/commercialManagement/Read.js +2 -0
  159. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
  160. package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
  161. package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
  162. package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
  163. package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
  164. package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
  165. package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
  166. package/es/types/Interface/api/connector/CreateConnector.js +68 -0
  167. package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
  168. package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
  169. package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
  170. package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
  171. package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
  172. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
  173. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
  174. package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  175. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
  176. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  177. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
  178. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  179. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
  180. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  181. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
  182. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  183. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
  184. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  185. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
  186. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  187. package/es/types/Interface/api/product/CreateProduct.d.ts +3 -1
  188. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  189. package/es/types/Interface/api/product/CreateProduct.js +16 -7
  190. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  191. package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
  192. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  193. package/es/types/Interface/api/product/QueryProduct.js +15 -1
  194. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  195. package/es/types/Interface/api/report/QueryReports.d.ts +0 -1
  196. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  197. package/es/types/Interface/api/report/QueryReports.js +0 -4
  198. package/es/types/Interface/api/report/QueryReports.js.map +1 -1
  199. package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -2
  200. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
  201. package/es/types/Interface/api/revision/QueryRevision.js +2 -16
  202. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
  203. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
  204. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
  205. package/es/types/Interface/api/revision/QueryRevisionAccount.js +5 -11
  206. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  207. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -2
  208. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
  209. package/es/types/Interface/api/revision/QueryRevisionPaginate.js +2 -16
  210. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  211. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
  212. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  213. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  214. package/es/types/Interface/api/revision/ReadRevision.d.ts +1 -2
  215. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -1
  216. package/es/types/Interface/api/revision/ReadRevision.js.map +1 -1
  217. package/es/types/Interface/api/simulation/CreateSimulation.d.ts +0 -2
  218. package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
  219. package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  220. package/es/types/Interface/api/task/QueryCountTask.d.ts +1 -1
  221. package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
  222. package/es/types/Interface/api/task/QueryCountTask.js +1 -1
  223. package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
  224. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +0 -2
  225. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  226. package/es/types/Interface/api/task/QueryPaginatedTask.js +0 -11
  227. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  228. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
  229. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  230. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
  231. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  232. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
  233. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  234. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
  235. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  236. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +0 -1
  237. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
  238. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +1 -8
  239. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  240. package/es/types/Interface/models/IAccount.d.ts +0 -2
  241. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  242. package/es/types/Interface/models/IAccount.js.map +1 -1
  243. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
  244. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  245. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  246. package/es/types/Interface/models/IApiError.d.ts +5 -2
  247. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  248. package/es/types/Interface/models/IApiError.js +5 -2
  249. package/es/types/Interface/models/IApiError.js.map +1 -1
  250. package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
  251. package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
  252. package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
  253. package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
  254. package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
  255. package/es/types/Interface/models/ICommercialMail.js +2 -0
  256. package/es/types/Interface/models/ICommercialMail.js.map +1 -0
  257. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
  258. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
  259. package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  260. package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
  261. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  262. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  263. package/es/types/Interface/models/IExercice.d.ts +0 -1
  264. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  265. package/es/types/Interface/models/IExercice.js.map +1 -1
  266. package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
  267. package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
  268. package/es/types/Interface/models/IInvoiceReminder.js +2 -0
  269. package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
  270. package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
  271. package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
  272. package/es/types/Interface/models/ILegalNotice.js.map +1 -1
  273. package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
  274. package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
  275. package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
  276. package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  277. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  278. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  279. package/es/types/Interface/models/IPrestation.d.ts +0 -3
  280. package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
  281. package/es/types/Interface/models/IPrestation.js.map +1 -1
  282. package/es/types/Interface/models/IPrestationComplementary.d.ts +1 -1
  283. package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
  284. package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
  285. package/es/types/Interface/models/IProduct.d.ts +4 -1
  286. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  287. package/es/types/Interface/models/IProduct.js.map +1 -1
  288. package/es/types/Interface/models/IProductInvoice.d.ts +7 -3
  289. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
  290. package/es/types/Interface/models/IProductInvoice.js.map +1 -1
  291. package/es/types/Interface/models/ISociety.d.ts +2 -5
  292. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  293. package/es/types/Interface/models/ISociety.js.map +1 -1
  294. package/es/types/Interface/models/ISocietyGescom.d.ts +13 -1
  295. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  296. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  297. package/es/types/Interface/models/ISocietyPartner.d.ts +1 -2
  298. package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  299. package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
  300. package/es/types/Interface/models/ITask.d.ts +2 -2
  301. package/es/types/Interface/models/ITask.d.ts.map +1 -1
  302. package/es/types/Interface/models/ITask.js.map +1 -1
  303. package/es/types/index.d.ts +11 -42
  304. package/es/types/index.d.ts.map +1 -1
  305. package/es/types/index.js +11 -42
  306. package/es/types/index.js.map +1 -1
  307. package/es/utils/amount.d.ts +2 -0
  308. package/es/utils/amount.d.ts.map +1 -0
  309. package/es/utils/amount.js +12 -0
  310. package/es/utils/amount.js.map +1 -0
  311. package/es/utils/brands.d.ts +1 -1
  312. package/es/utils/brands.d.ts.map +1 -1
  313. package/es/utils/brands.js +26 -8
  314. package/es/utils/brands.js.map +1 -1
  315. package/es/utils/commercialManagement/document.d.ts +6 -0
  316. package/es/utils/commercialManagement/document.d.ts.map +1 -0
  317. package/es/utils/commercialManagement/document.js +58 -0
  318. package/es/utils/commercialManagement/document.js.map +1 -0
  319. package/es/utils/commercialManagement/product.d.ts +5 -0
  320. package/es/utils/commercialManagement/product.d.ts.map +1 -0
  321. package/es/utils/commercialManagement/product.js +27 -0
  322. package/es/utils/commercialManagement/product.js.map +1 -0
  323. package/es/utils/commercialManagement/templates/body.d.ts +2 -0
  324. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
  325. package/es/utils/commercialManagement/templates/body.js +111 -0
  326. package/es/utils/commercialManagement/templates/body.js.map +1 -0
  327. package/es/utils/commercialManagement/templates/common.d.ts +12 -0
  328. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
  329. package/es/utils/commercialManagement/templates/common.js +199 -0
  330. package/es/utils/commercialManagement/templates/common.js.map +1 -0
  331. package/es/utils/commercialManagement/vat.d.ts +6 -0
  332. package/es/utils/commercialManagement/vat.d.ts.map +1 -0
  333. package/es/utils/commercialManagement/vat.js +23 -0
  334. package/es/utils/commercialManagement/vat.js.map +1 -0
  335. package/es/utils/index.d.ts +2 -1
  336. package/es/utils/index.d.ts.map +1 -1
  337. package/es/utils/index.js +2 -1
  338. package/es/utils/index.js.map +1 -1
  339. package/es/utils/task.d.ts +2 -3
  340. package/es/utils/task.d.ts.map +1 -1
  341. package/es/utils/task.js +19 -23
  342. package/es/utils/task.js.map +1 -1
  343. package/es/utils/webmail.d.ts.map +1 -1
  344. package/es/utils/webmail.js +4 -1
  345. package/es/utils/webmail.js.map +1 -1
  346. package/importInterfaces.ts +1 -1
  347. package/js/api/resources/BudgetInsight.js +10 -0
  348. package/js/api/resources/BudgetInsight.js.map +1 -1
  349. package/js/api/resources/CalendarEvent.js +3 -5
  350. package/js/api/resources/CalendarEvent.js.map +1 -1
  351. package/js/api/resources/CommercialSetting.js +22 -0
  352. package/js/api/resources/CommercialSetting.js.map +1 -0
  353. package/js/api/resources/Connector.js +14 -0
  354. package/js/api/resources/Connector.js.map +1 -1
  355. package/js/api/resources/Dashboard.js +0 -6
  356. package/js/api/resources/Dashboard.js.map +1 -1
  357. package/js/api/resources/Exercice.js +0 -4
  358. package/js/api/resources/Exercice.js.map +1 -1
  359. package/js/api/resources/FecFile.js +6 -34
  360. package/js/api/resources/FecFile.js.map +1 -1
  361. package/js/api/resources/GeneralLedger.js +2 -2
  362. package/js/api/resources/GeneralLedger.js.map +1 -1
  363. package/js/api/resources/Invoice.js +42 -0
  364. package/js/api/resources/Invoice.js.map +1 -0
  365. package/js/api/resources/Loan.js +1 -1
  366. package/js/api/resources/Loan.js.map +1 -1
  367. package/js/api/resources/Mail.js +3 -4
  368. package/js/api/resources/Mail.js.map +1 -1
  369. package/js/api/resources/Partner.js +0 -4
  370. package/js/api/resources/Partner.js.map +1 -1
  371. package/js/api/resources/Qonto.js +1 -23
  372. package/js/api/resources/Qonto.js.map +1 -1
  373. package/js/api/resources/User.js +8 -31
  374. package/js/api/resources/User.js.map +1 -1
  375. package/js/api/resources/commercialDocument.js +74 -0
  376. package/js/api/resources/commercialDocument.js.map +1 -0
  377. package/js/api/resources/reminder.js +26 -0
  378. package/js/api/resources/reminder.js.map +1 -0
  379. package/js/api/resources.js +9 -24
  380. package/js/api/resources.js.map +1 -1
  381. package/js/index.js +12 -0
  382. package/js/index.js.map +1 -1
  383. package/js/types/Enum/Account.js +8 -0
  384. package/js/types/Enum/Account.js.map +1 -1
  385. package/js/types/Enum/BalanceSheet.js +1 -1
  386. package/js/types/Enum/BalanceSheet.js.map +1 -1
  387. package/js/types/Enum/BrandClementine.js +1 -10
  388. package/js/types/Enum/BrandClementine.js.map +1 -1
  389. package/js/types/Enum/BrandComptalib.js +5 -14
  390. package/js/types/Enum/BrandComptalib.js.map +1 -1
  391. package/js/types/Enum/BrandLegalstart.js +0 -3
  392. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  393. package/js/types/Enum/BrandPourcentage.js +3 -7
  394. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  395. package/js/types/Enum/BudgetInsight.js.map +1 -1
  396. package/js/types/Enum/CommercialManagement.js +90 -0
  397. package/js/types/Enum/CommercialManagement.js.map +1 -0
  398. package/js/types/Enum/EstimateInvoice.js +1 -1
  399. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  400. package/js/types/Enum/Ged.js +17 -104
  401. package/js/types/Enum/Ged.js.map +1 -1
  402. package/js/types/Enum/Log.js +0 -1
  403. package/js/types/Enum/Log.js.map +1 -1
  404. package/js/types/Enum/Prestation.js +22 -0
  405. package/js/types/Enum/Prestation.js.map +1 -0
  406. package/js/types/Enum/Role.js +13 -18
  407. package/js/types/Enum/Role.js.map +1 -1
  408. package/js/types/Enum/RoleDetail.js +86 -149
  409. package/js/types/Enum/RoleDetail.js.map +1 -1
  410. package/js/types/Enum/SheetMonthScheduleDetailType.js +1 -1
  411. package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
  412. package/js/types/Enum/TaskResponseType.js +3 -56
  413. package/js/types/Enum/TaskResponseType.js.map +1 -1
  414. package/js/types/Enum/TimeCounterType.js +40 -68
  415. package/js/types/Enum/TimeCounterType.js.map +1 -1
  416. package/js/types/Enum/Vat.js +46 -45
  417. package/js/types/Enum/Vat.js.map +1 -1
  418. package/js/types/Enum/VatDeclarationType.js +0 -5
  419. package/js/types/Enum/VatDeclarationType.js.map +1 -1
  420. package/js/types/Interface/api/3cx/Query3cxSearch.js +0 -2
  421. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  422. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  423. package/js/types/Interface/api/commercialManagement/Create.js +235 -0
  424. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -0
  425. package/js/types/Interface/api/commercialManagement/Query.js +79 -0
  426. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -0
  427. package/js/types/Interface/api/{qonto/Query.js → commercialManagement/Read.js} +1 -1
  428. package/js/types/Interface/api/commercialManagement/Read.js.map +1 -0
  429. package/js/types/Interface/api/commercialManagement/Update.js +55 -0
  430. package/js/types/Interface/api/commercialManagement/Update.js.map +1 -0
  431. package/js/types/Interface/api/connector/CreateConnector.js +47 -0
  432. package/js/types/Interface/api/connector/CreateConnector.js.map +1 -0
  433. package/js/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -6
  434. package/js/types/Interface/api/connector/QueryConnector.js.map +1 -0
  435. package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  436. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +0 -2
  437. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  438. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
  439. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  440. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
  441. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  442. package/js/types/Interface/api/product/CreateProduct.js +8 -6
  443. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  444. package/js/types/Interface/api/product/QueryProduct.js +6 -0
  445. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  446. package/js/types/Interface/api/report/QueryReports.js +0 -2
  447. package/js/types/Interface/api/report/QueryReports.js.map +1 -1
  448. package/js/types/Interface/api/revision/QueryRevision.js +0 -6
  449. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  450. package/js/types/Interface/api/revision/QueryRevisionAccount.js +5 -7
  451. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  452. package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -6
  453. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  454. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  455. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  456. package/js/types/Interface/api/task/QueryCountTask.js +1 -1
  457. package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
  458. package/js/types/Interface/api/task/QueryPaginatedTask.js +0 -6
  459. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  460. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
  461. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  462. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
  463. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  464. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +0 -4
  465. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  466. package/js/types/Interface/models/IApiError.js +6 -3
  467. package/js/types/Interface/models/IApiError.js.map +1 -1
  468. package/js/types/Interface/models/{ISocietyRelance.js → ICommercialMail.js} +1 -1
  469. package/js/types/Interface/models/ICommercialMail.js.map +1 -0
  470. package/js/types/Interface/{api/dashboard/ReadVatDisbursed.js → models/IInvoiceReminder.js} +1 -1
  471. package/js/types/Interface/models/IInvoiceReminder.js.map +1 -0
  472. package/js/types/index.js +64 -436
  473. package/js/types/index.js.map +1 -1
  474. package/js/utils/amount.js +23 -0
  475. package/js/utils/amount.js.map +1 -0
  476. package/js/utils/brands.js +26 -7
  477. package/js/utils/brands.js.map +1 -1
  478. package/js/utils/commercialManagement/document.js +157 -0
  479. package/js/utils/commercialManagement/document.js.map +1 -0
  480. package/js/utils/commercialManagement/product.js +57 -0
  481. package/js/utils/commercialManagement/product.js.map +1 -0
  482. package/js/utils/commercialManagement/templates/body.js +120 -0
  483. package/js/utils/commercialManagement/templates/body.js.map +1 -0
  484. package/js/utils/commercialManagement/templates/common.js +211 -0
  485. package/js/utils/commercialManagement/templates/common.js.map +1 -0
  486. package/js/utils/commercialManagement/vat.js +45 -0
  487. package/js/utils/commercialManagement/vat.js.map +1 -0
  488. package/js/utils/index.js +21 -9
  489. package/js/utils/index.js.map +1 -1
  490. package/js/utils/task.js +20 -29
  491. package/js/utils/task.js.map +1 -1
  492. package/js/utils/webmail.js +3 -1
  493. package/js/utils/webmail.js.map +1 -1
  494. package/package.json +3 -1
  495. package/ts/api/resources/BudgetInsight.ts +13 -0
  496. package/ts/api/resources/CalendarEvent.ts +2 -3
  497. package/ts/api/resources/CommercialSetting.ts +12 -0
  498. package/ts/api/resources/Connector.ts +16 -1
  499. package/ts/api/resources/Dashboard.ts +0 -6
  500. package/ts/api/resources/Exercice.ts +0 -4
  501. package/ts/api/resources/FecFile.ts +6 -32
  502. package/ts/api/resources/GeneralLedger.ts +2 -2
  503. package/ts/api/resources/Invoice.ts +39 -0
  504. package/ts/api/resources/Loan.ts +1 -1
  505. package/ts/api/resources/Mail.ts +3 -4
  506. package/ts/api/resources/Partner.ts +0 -4
  507. package/ts/api/resources/Qonto.ts +5 -27
  508. package/ts/api/resources/User.ts +29 -30
  509. package/ts/api/resources/commercialDocument.ts +66 -0
  510. package/ts/api/resources/reminder.ts +20 -0
  511. package/ts/api/resources.ts +8 -18
  512. package/ts/index.ts +1 -0
  513. package/ts/types/Enum/Account.ts +8 -0
  514. package/ts/types/Enum/BalanceSheet.ts +1 -1
  515. package/ts/types/Enum/BrandClementine.ts +1 -10
  516. package/ts/types/Enum/BrandComptalib.ts +4 -13
  517. package/ts/types/Enum/BrandLegalstart.ts +0 -3
  518. package/ts/types/Enum/BrandPourcentage.ts +3 -7
  519. package/ts/types/Enum/BudgetInsight.ts +1 -1
  520. package/ts/types/Enum/CommercialManagement.ts +64 -0
  521. package/ts/types/Enum/EstimateInvoice.ts +1 -1
  522. package/ts/types/Enum/Ged.ts +15 -102
  523. package/ts/types/Enum/Log.ts +0 -1
  524. package/ts/types/Enum/Prestation.ts +14 -0
  525. package/ts/types/Enum/Role.ts +10 -15
  526. package/ts/types/Enum/RoleDetail.ts +64 -127
  527. package/ts/types/Enum/SheetMonthScheduleDetailType.ts +1 -1
  528. package/ts/types/Enum/TaskResponseType.ts +2 -57
  529. package/ts/types/Enum/TimeCounterType.ts +19 -47
  530. package/ts/types/Enum/Vat.ts +28 -25
  531. package/ts/types/Enum/VatDeclarationType.ts +0 -6
  532. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -5
  533. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +1 -1
  534. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -1
  535. package/ts/types/Interface/api/commercialManagement/Create.ts +425 -0
  536. package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
  537. package/ts/types/Interface/api/commercialManagement/Read.ts +67 -0
  538. package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
  539. package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
  540. package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
  541. package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
  542. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
  543. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
  544. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
  545. package/ts/types/Interface/api/product/CreateProduct.ts +14 -6
  546. package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
  547. package/ts/types/Interface/api/report/QueryReports.ts +0 -3
  548. package/ts/types/Interface/api/revision/QueryRevision.ts +2 -15
  549. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +4 -11
  550. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +2 -15
  551. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
  552. package/ts/types/Interface/api/revision/ReadRevision.ts +1 -2
  553. package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -2
  554. package/ts/types/Interface/api/task/QueryCountTask.ts +1 -1
  555. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -9
  556. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -9
  557. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -12
  558. package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +1 -7
  559. package/ts/types/Interface/models/IAccount.ts +0 -2
  560. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
  561. package/ts/types/Interface/models/IApiError.ts +6 -3
  562. package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
  563. package/ts/types/Interface/models/ICommercialMail.ts +15 -0
  564. package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
  565. package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
  566. package/ts/types/Interface/models/IExercice.ts +0 -1
  567. package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
  568. package/ts/types/Interface/models/ILegalNotice.ts +0 -1
  569. package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
  570. package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
  571. package/ts/types/Interface/models/IPrestation.ts +0 -3
  572. package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
  573. package/ts/types/Interface/models/IProduct.ts +4 -1
  574. package/ts/types/Interface/models/IProductInvoice.ts +7 -3
  575. package/ts/types/Interface/models/ISociety.ts +2 -5
  576. package/ts/types/Interface/models/ISocietyGescom.ts +14 -1
  577. package/ts/types/Interface/models/ISocietyPartner.ts +1 -2
  578. package/ts/types/Interface/models/ITask.ts +2 -2
  579. package/ts/types/index.ts +11 -42
  580. package/ts/utils/amount.ts +13 -0
  581. package/ts/utils/brands.ts +25 -7
  582. package/ts/utils/commercialManagement/document.ts +111 -0
  583. package/ts/utils/commercialManagement/product.ts +37 -0
  584. package/ts/utils/commercialManagement/templates/body.ts +113 -0
  585. package/ts/utils/commercialManagement/templates/common.ts +205 -0
  586. package/ts/utils/commercialManagement/vat.ts +25 -0
  587. package/ts/utils/index.ts +2 -1
  588. package/ts/utils/task.ts +16 -24
  589. package/ts/utils/webmail.ts +3 -1
  590. package/es/api/resources/LegalNotice.d.ts +0 -6
  591. package/es/api/resources/LegalNotice.d.ts.map +0 -1
  592. package/es/api/resources/LegalNotice.js +0 -7
  593. package/es/api/resources/LegalNotice.js.map +0 -1
  594. package/es/api/resources/PaymentExpectation.d.ts +0 -6
  595. package/es/api/resources/PaymentExpectation.d.ts.map +0 -1
  596. package/es/api/resources/PaymentExpectation.js +0 -7
  597. package/es/api/resources/PaymentExpectation.js.map +0 -1
  598. package/es/api/resources/SlowDetection.d.ts +0 -11
  599. package/es/api/resources/SlowDetection.d.ts.map +0 -1
  600. package/es/api/resources/SlowDetection.js +0 -12
  601. package/es/api/resources/SlowDetection.js.map +0 -1
  602. package/es/api/resources/SocietyConfig.d.ts +0 -7
  603. package/es/api/resources/SocietyConfig.d.ts.map +0 -1
  604. package/es/api/resources/SocietyConfig.js +0 -10
  605. package/es/api/resources/SocietyConfig.js.map +0 -1
  606. package/es/api/resources/Source.d.ts +0 -6
  607. package/es/api/resources/Source.d.ts.map +0 -1
  608. package/es/api/resources/Source.js +0 -7
  609. package/es/api/resources/Source.js.map +0 -1
  610. package/es/api/resources/TerminationList.d.ts +0 -7
  611. package/es/api/resources/TerminationList.d.ts.map +0 -1
  612. package/es/api/resources/TerminationList.js +0 -10
  613. package/es/api/resources/TerminationList.js.map +0 -1
  614. package/es/api/resources/Wallet.d.ts +0 -8
  615. package/es/api/resources/Wallet.d.ts.map +0 -1
  616. package/es/api/resources/Wallet.js +0 -7
  617. package/es/api/resources/Wallet.js.map +0 -1
  618. package/es/api/resources/statistic/Accountant.d.ts +0 -59
  619. package/es/api/resources/statistic/Accountant.d.ts.map +0 -1
  620. package/es/api/resources/statistic/Accountant.js +0 -86
  621. package/es/api/resources/statistic/Accountant.js.map +0 -1
  622. package/es/api/resources/statistic/Direction.d.ts +0 -11
  623. package/es/api/resources/statistic/Direction.d.ts.map +0 -1
  624. package/es/api/resources/statistic/Direction.js +0 -14
  625. package/es/api/resources/statistic/Direction.js.map +0 -1
  626. package/es/api/resources/statistic/ExpertAccountant.d.ts +0 -29
  627. package/es/api/resources/statistic/ExpertAccountant.d.ts.map +0 -1
  628. package/es/api/resources/statistic/ExpertAccountant.js +0 -41
  629. package/es/api/resources/statistic/ExpertAccountant.js.map +0 -1
  630. package/es/types/Enum/AdditionnalSells.d.ts +0 -7
  631. package/es/types/Enum/AdditionnalSells.d.ts.map +0 -1
  632. package/es/types/Enum/AdditionnalSells.js +0 -8
  633. package/es/types/Enum/AdditionnalSells.js.map +0 -1
  634. package/es/types/Enum/CustomerVat.d.ts +0 -24
  635. package/es/types/Enum/CustomerVat.d.ts.map +0 -1
  636. package/es/types/Enum/CustomerVat.js +0 -26
  637. package/es/types/Enum/CustomerVat.js.map +0 -1
  638. package/es/types/Enum/Lab.d.ts +0 -25
  639. package/es/types/Enum/Lab.d.ts.map +0 -1
  640. package/es/types/Enum/Lab.js +0 -26
  641. package/es/types/Enum/Lab.js.map +0 -1
  642. package/es/types/Enum/OperationLegalNotice.d.ts +0 -4
  643. package/es/types/Enum/OperationLegalNotice.d.ts.map +0 -1
  644. package/es/types/Enum/OperationLegalNotice.js +0 -5
  645. package/es/types/Enum/OperationLegalNotice.js.map +0 -1
  646. package/es/types/Enum/OrderStatus.d.ts +0 -6
  647. package/es/types/Enum/OrderStatus.d.ts.map +0 -1
  648. package/es/types/Enum/OrderStatus.js +0 -7
  649. package/es/types/Enum/OrderStatus.js.map +0 -1
  650. package/es/types/Enum/PrestationType.d.ts +0 -2776
  651. package/es/types/Enum/PrestationType.d.ts.map +0 -1
  652. package/es/types/Enum/PrestationType.js +0 -2778
  653. package/es/types/Enum/PrestationType.js.map +0 -1
  654. package/es/types/Enum/Reason.d.ts +0 -4
  655. package/es/types/Enum/Reason.d.ts.map +0 -1
  656. package/es/types/Enum/Reason.js +0 -5
  657. package/es/types/Enum/Reason.js.map +0 -1
  658. package/es/types/Enum/RegistrationSourceDetail.d.ts +0 -195
  659. package/es/types/Enum/RegistrationSourceDetail.d.ts.map +0 -1
  660. package/es/types/Enum/RegistrationSourceDetail.js +0 -99
  661. package/es/types/Enum/RegistrationSourceDetail.js.map +0 -1
  662. package/es/types/Enum/ReportService.d.ts +0 -10
  663. package/es/types/Enum/ReportService.d.ts.map +0 -1
  664. package/es/types/Enum/ReportService.js +0 -31
  665. package/es/types/Enum/ReportService.js.map +0 -1
  666. package/es/types/Enum/Rules.d.ts +0 -2
  667. package/es/types/Enum/Rules.d.ts.map +0 -1
  668. package/es/types/Enum/Rules.js +0 -19
  669. package/es/types/Enum/Rules.js.map +0 -1
  670. package/es/types/Enum/StatisticType.d.ts +0 -16
  671. package/es/types/Enum/StatisticType.d.ts.map +0 -1
  672. package/es/types/Enum/StatisticType.js +0 -17
  673. package/es/types/Enum/StatisticType.js.map +0 -1
  674. package/es/types/Enum/StatsCaStateDetail.d.ts +0 -28
  675. package/es/types/Enum/StatsCaStateDetail.d.ts.map +0 -1
  676. package/es/types/Enum/StatsCaStateDetail.js +0 -28
  677. package/es/types/Enum/StatsCaStateDetail.js.map +0 -1
  678. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +0 -5
  679. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +0 -1
  680. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -24
  681. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  682. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +0 -13
  683. package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +0 -1
  684. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +0 -2
  685. package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  686. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +0 -5
  687. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +0 -1
  688. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -25
  689. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  690. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +0 -4
  691. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +0 -1
  692. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -17
  693. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  694. package/es/types/Interface/api/prestation/CreatePrestation.d.ts +0 -6
  695. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +0 -1
  696. package/es/types/Interface/api/prestation/CreatePrestation.js +0 -28
  697. package/es/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  698. package/es/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
  699. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
  700. package/es/types/Interface/api/qonto/CreateImportation.js +0 -26
  701. package/es/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  702. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
  703. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
  704. package/es/types/Interface/api/qonto/CreateQontoConnection.js +0 -24
  705. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  706. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +0 -4
  707. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +0 -1
  708. package/es/types/Interface/api/qonto/GetConnectionInformation.js +0 -19
  709. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  710. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
  711. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
  712. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  713. package/es/types/Interface/api/qonto/Query.d.ts +0 -77
  714. package/es/types/Interface/api/qonto/Query.d.ts.map +0 -1
  715. package/es/types/Interface/api/qonto/Query.js +0 -2
  716. package/es/types/Interface/api/qonto/Query.js.map +0 -1
  717. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +0 -6
  718. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +0 -1
  719. package/es/types/Interface/api/qonto/ReadCreateConnection.js +0 -2
  720. package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  721. package/es/types/Interface/api/qonto/UpdateConnection.d.ts +0 -4
  722. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +0 -1
  723. package/es/types/Interface/api/qonto/UpdateConnection.js +0 -19
  724. package/es/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  725. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts +0 -13
  726. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +0 -1
  727. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +0 -74
  728. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  729. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +0 -11
  730. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +0 -1
  731. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -2
  732. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +0 -1
  733. package/es/types/Interface/api/societyConfig/update.d.ts +0 -21
  734. package/es/types/Interface/api/societyConfig/update.d.ts.map +0 -1
  735. package/es/types/Interface/api/societyConfig/update.js.map +0 -1
  736. package/es/types/Interface/api/statistic/ExitRequest.d.ts +0 -108
  737. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +0 -1
  738. package/es/types/Interface/api/statistic/ExitRequest.js +0 -2
  739. package/es/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  740. package/es/types/Interface/api/statistic/QueryAccountant.d.ts +0 -6
  741. package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +0 -1
  742. package/es/types/Interface/api/statistic/QueryAccountant.js +0 -31
  743. package/es/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  744. package/es/types/Interface/api/statistic/QueryDirection.d.ts +0 -6
  745. package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +0 -1
  746. package/es/types/Interface/api/statistic/QueryDirection.js +0 -31
  747. package/es/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  748. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts +0 -6
  749. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +0 -1
  750. package/es/types/Interface/api/statistic/QueryExpertAccountant.js +0 -31
  751. package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  752. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts +0 -5
  753. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +0 -1
  754. package/es/types/Interface/api/statistic/QueryGetAccountant.js +0 -24
  755. package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  756. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts +0 -5
  757. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +0 -1
  758. package/es/types/Interface/api/statistic/QueryGetDirection.js +0 -24
  759. package/es/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  760. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts +0 -5
  761. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +0 -1
  762. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -24
  763. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  764. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +0 -17
  765. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +0 -1
  766. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +0 -96
  767. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  768. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +0 -17
  769. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +0 -1
  770. package/es/types/Interface/api/terminationList/QueryTerminationList.js +0 -98
  771. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  772. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts +0 -6
  773. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +0 -1
  774. package/es/types/Interface/api/wallet/UpdateAttribution.js +0 -34
  775. package/es/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  776. package/es/types/Interface/models/IPrestationHistory.d.ts +0 -13
  777. package/es/types/Interface/models/IPrestationHistory.d.ts.map +0 -1
  778. package/es/types/Interface/models/IPrestationHistory.js +0 -2
  779. package/es/types/Interface/models/IPrestationHistory.js.map +0 -1
  780. package/es/types/Interface/models/ISlowDetection.d.ts +0 -9
  781. package/es/types/Interface/models/ISlowDetection.d.ts.map +0 -1
  782. package/es/types/Interface/models/ISlowDetection.js +0 -2
  783. package/es/types/Interface/models/ISlowDetection.js.map +0 -1
  784. package/es/types/Interface/models/ISocietyRelance.d.ts.map +0 -1
  785. package/es/types/Interface/models/ISocietyRelance.js +0 -2
  786. package/es/types/Interface/models/ISocietyRelance.js.map +0 -1
  787. package/es/types/Interface/models/IStatistic.d.ts +0 -11
  788. package/es/types/Interface/models/IStatistic.d.ts.map +0 -1
  789. package/es/types/Interface/models/IStatistic.js +0 -2
  790. package/es/types/Interface/models/IStatistic.js.map +0 -1
  791. package/es/utils/prestation.d.ts +0 -11
  792. package/es/utils/prestation.d.ts.map +0 -1
  793. package/es/utils/prestation.js +0 -62
  794. package/es/utils/prestation.js.map +0 -1
  795. package/js/api/resources/LegalNotice.js +0 -18
  796. package/js/api/resources/LegalNotice.js.map +0 -1
  797. package/js/api/resources/PaymentExpectation.js +0 -20
  798. package/js/api/resources/PaymentExpectation.js.map +0 -1
  799. package/js/api/resources/SlowDetection.js +0 -23
  800. package/js/api/resources/SlowDetection.js.map +0 -1
  801. package/js/api/resources/SocietyConfig.js +0 -22
  802. package/js/api/resources/SocietyConfig.js.map +0 -1
  803. package/js/api/resources/Source.js +0 -18
  804. package/js/api/resources/Source.js.map +0 -1
  805. package/js/api/resources/TerminationList.js +0 -26
  806. package/js/api/resources/TerminationList.js.map +0 -1
  807. package/js/api/resources/Wallet.js +0 -18
  808. package/js/api/resources/Wallet.js.map +0 -1
  809. package/js/api/resources/statistic/Accountant.js +0 -150
  810. package/js/api/resources/statistic/Accountant.js.map +0 -1
  811. package/js/api/resources/statistic/Direction.js +0 -30
  812. package/js/api/resources/statistic/Direction.js.map +0 -1
  813. package/js/api/resources/statistic/ExpertAccountant.js +0 -75
  814. package/js/api/resources/statistic/ExpertAccountant.js.map +0 -1
  815. package/js/types/Enum/AdditionnalSells.js +0 -14
  816. package/js/types/Enum/AdditionnalSells.js.map +0 -1
  817. package/js/types/Enum/CustomerVat.js +0 -34
  818. package/js/types/Enum/CustomerVat.js.map +0 -1
  819. package/js/types/Enum/Lab.js +0 -33
  820. package/js/types/Enum/Lab.js.map +0 -1
  821. package/js/types/Enum/OperationLegalNotice.js +0 -11
  822. package/js/types/Enum/OperationLegalNotice.js.map +0 -1
  823. package/js/types/Enum/OrderStatus.js +0 -13
  824. package/js/types/Enum/OrderStatus.js.map +0 -1
  825. package/js/types/Enum/PrestationType.js +0 -2785
  826. package/js/types/Enum/PrestationType.js.map +0 -1
  827. package/js/types/Enum/Reason.js +0 -11
  828. package/js/types/Enum/Reason.js.map +0 -1
  829. package/js/types/Enum/RegistrationSourceDetail.js +0 -200
  830. package/js/types/Enum/RegistrationSourceDetail.js.map +0 -1
  831. package/js/types/Enum/ReportService.js +0 -32
  832. package/js/types/Enum/ReportService.js.map +0 -1
  833. package/js/types/Enum/Rules.js +0 -7
  834. package/js/types/Enum/Rules.js.map +0 -1
  835. package/js/types/Enum/StatisticType.js +0 -23
  836. package/js/types/Enum/StatisticType.js.map +0 -1
  837. package/js/types/Enum/StatsCaStateDetail.js +0 -33
  838. package/js/types/Enum/StatsCaStateDetail.js.map +0 -1
  839. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -31
  840. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
  841. package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
  842. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -31
  843. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
  844. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -27
  845. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
  846. package/js/types/Interface/api/prestation/CreatePrestation.js +0 -33
  847. package/js/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
  848. package/js/types/Interface/api/qonto/CreateImportation.js +0 -31
  849. package/js/types/Interface/api/qonto/CreateImportation.js.map +0 -1
  850. package/js/types/Interface/api/qonto/CreateQontoConnection.js +0 -31
  851. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
  852. package/js/types/Interface/api/qonto/GetConnectionInformation.js +0 -29
  853. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
  854. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
  855. package/js/types/Interface/api/qonto/Query.js.map +0 -1
  856. package/js/types/Interface/api/qonto/ReadCreateConnection.js +0 -6
  857. package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
  858. package/js/types/Interface/api/qonto/UpdateConnection.js +0 -29
  859. package/js/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
  860. package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +0 -53
  861. package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  862. package/js/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -6
  863. package/js/types/Interface/api/society/SocietyWithStatsCaParams.js.map +0 -1
  864. package/js/types/Interface/api/societyConfig/update.js +0 -65
  865. package/js/types/Interface/api/societyConfig/update.js.map +0 -1
  866. package/js/types/Interface/api/statistic/ExitRequest.js +0 -6
  867. package/js/types/Interface/api/statistic/ExitRequest.js.map +0 -1
  868. package/js/types/Interface/api/statistic/QueryAccountant.js +0 -35
  869. package/js/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
  870. package/js/types/Interface/api/statistic/QueryDirection.js +0 -35
  871. package/js/types/Interface/api/statistic/QueryDirection.js.map +0 -1
  872. package/js/types/Interface/api/statistic/QueryExpertAccountant.js +0 -35
  873. package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
  874. package/js/types/Interface/api/statistic/QueryGetAccountant.js +0 -31
  875. package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
  876. package/js/types/Interface/api/statistic/QueryGetDirection.js +0 -31
  877. package/js/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
  878. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -31
  879. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
  880. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +0 -55
  881. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
  882. package/js/types/Interface/api/terminationList/QueryTerminationList.js +0 -55
  883. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
  884. package/js/types/Interface/api/wallet/UpdateAttribution.js +0 -35
  885. package/js/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
  886. package/js/types/Interface/models/IPrestationHistory.js +0 -6
  887. package/js/types/Interface/models/IPrestationHistory.js.map +0 -1
  888. package/js/types/Interface/models/ISlowDetection.js +0 -6
  889. package/js/types/Interface/models/ISlowDetection.js.map +0 -1
  890. package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
  891. package/js/types/Interface/models/IStatistic.js +0 -6
  892. package/js/types/Interface/models/IStatistic.js.map +0 -1
  893. package/js/utils/prestation.js +0 -41
  894. package/js/utils/prestation.js.map +0 -1
  895. package/ts/api/resources/LegalNotice.ts +0 -8
  896. package/ts/api/resources/PaymentExpectation.ts +0 -8
  897. package/ts/api/resources/SlowDetection.ts +0 -13
  898. package/ts/api/resources/SocietyConfig.ts +0 -12
  899. package/ts/api/resources/Source.ts +0 -8
  900. package/ts/api/resources/TerminationList.ts +0 -12
  901. package/ts/api/resources/Wallet.ts +0 -8
  902. package/ts/api/resources/statistic/Accountant.ts +0 -121
  903. package/ts/api/resources/statistic/Direction.ts +0 -17
  904. package/ts/api/resources/statistic/ExpertAccountant.ts +0 -56
  905. package/ts/types/Enum/AdditionnalSells.ts +0 -6
  906. package/ts/types/Enum/CustomerVat.ts +0 -24
  907. package/ts/types/Enum/Lab.ts +0 -25
  908. package/ts/types/Enum/OperationLegalNotice.ts +0 -3
  909. package/ts/types/Enum/OrderStatus.ts +0 -5
  910. package/ts/types/Enum/PrestationType.ts +0 -2777
  911. package/ts/types/Enum/Reason.ts +0 -3
  912. package/ts/types/Enum/RegistrationSourceDetail.ts +0 -98
  913. package/ts/types/Enum/ReportService.ts +0 -32
  914. package/ts/types/Enum/Rules.ts +0 -18
  915. package/ts/types/Enum/StatisticType.ts +0 -15
  916. package/ts/types/Enum/StatsCaStateDetail.ts +0 -27
  917. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
  918. package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
  919. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
  920. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -6
  921. package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -15
  922. package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
  923. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
  924. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
  925. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
  926. package/ts/types/Interface/api/qonto/Query.ts +0 -80
  927. package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +0 -6
  928. package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
  929. package/ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts +0 -56
  930. package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +0 -11
  931. package/ts/types/Interface/api/societyConfig/update.ts +0 -103
  932. package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -120
  933. package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -20
  934. package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -20
  935. package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -20
  936. package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -14
  937. package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -14
  938. package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -14
  939. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -74
  940. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -76
  941. package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -23
  942. package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
  943. package/ts/types/Interface/models/ISlowDetection.ts +0 -11
  944. package/ts/types/Interface/models/IStatistic.ts +0 -13
  945. package/ts/utils/prestation.ts +0 -71
@@ -1 +1 @@
1
- {"version":3,"file":"Mail.js","mappings":";;;;;;;AACA;;AAUM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,MAAM,CAACC,OAAD,EAA0B;IAC9B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,QAAjB,EAA2BF,OAA3B,CAAP;EACD;;EAEMG,GAAG,CAACC,EAAD,EAAaC,MAAb,EAA8B;IACtC,OAAO,KAAKJ,KAAL,CAAWK,IAAX,CAAgB,UAAUF,EAAE,EAA5B,EAAgC;MAAEC;IAAF,CAAhC,CAAP;EACD;;EAEME,MAAM,CAACF,MAAD,EAA8B;IACzC,OAAO,KAAKJ,KAAL,CAAWK,IAAX,CAAgB,YAAhB,EAA8B;MAAED;IAAF,CAA9B,CAAP;EACD;;EAEMG,wBAAwB,CAACC,MAAD,EAAiBJ,MAAjB,EAAsDK,WAAtD,EAA+E;IAC5G,OAAO,KAAKT,KAAL,CAAWK,IAAX,CAAgB,kBAAhB,EAAkCK,gCACnCD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADG,GACA;MACvCL,MAAM,kCACDA,MADC,GACK;QACTI,MADS;QAETG,WAAW,EAAE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MACvCL,MAAM,EAAE;QACN+B,EADM;QAEN3B,MAFM;QAGNM,gBAAgB,EAAE;MAHZ;IAD+B,CADgB,CAAlD,CAAP;EAQD;;EACMsB,yBAAyB,CAAC5B,MAAD,EAAiBC,WAAjB,EAA0C;IACxE,OAAO,KAAKT,KAAL,CAAWK,IAAX,CAAgB,kCAAhB,EAAkDK,gCACnDD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADmB,GAChB;MACvCL,MAAM,EAAE;QACNI,MADM;QAENe,wBAAwB,EAAE;MAFpB;IAD+B,CADgB,CAAlD,CAAP;EAOD;;EAEDc,MAAM,CAAClC,EAAD,EAAaJ,OAAb,EAAyCK,MAAzC,EAA0D;IAC9D,OAAO,KAAKJ,KAAL,CAAWsC,KAAX,CAAiB,UAAUnC,EAAE,EAA7B,EAA+BO,gCAAOX,OAAP,GAAmBK,MAAnB,CAA/B,CAAP;EACD;;EAEDmC,MAAM,CAACC,MAAD,EAAe;IACnB,OAAO,KAAKxC,KAAL,CAAWyC,OAAX,CAAmB,UAAUD,MAAM,EAAnC,CAAP;EACD;;AAzK+B;;QAArB5C,I,GAAAA,I","names":["Mail","Resource","create","payload","axios","$post","get","id","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","handlingManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countToBeClassifiedByUser","to","countUnprocessedByManager","update","patch","delete","idMail","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(id: number, params: QueryMail): Promise<Mail> {\n return this.axios.$get(`/mails/${id}`, { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isSent: false,\n },\n });\n }\n public countToBeClassifiedByUser(idUser: number, to?: string, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n to,\n idUser,\n isWithoutSociety: true,\n },\n });\n }\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n handlingManagerRoleMails: true,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n}\n"]}
1
+ {"version":3,"file":"Mail.js","mappings":";;;;;;;AACA;;AAUM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,MAAM,CAACC,OAAD,EAA0B;IAC9B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,QAAjB,EAA2BF,OAA3B,CAAP;EACD;;EAEMG,GAAG,CAACC,EAAD,EAAaC,MAAb,EAA8B;IACtC,OAAO,KAAKJ,KAAL,CAAWK,IAAX,CAAgB,UAAUF,EAAE,EAA5B,EAAgC;MAAEC;IAAF,CAAhC,CAAP;EACD;;EAEME,MAAM,CAACF,MAAD,EAA8B;IACzC,OAAO,KAAKJ,KAAL,CAAWK,IAAX,CAAgB,YAAhB,EAA8B;MAAED;IAAF,CAA9B,CAAP;EACD;;EAEMG,wBAAwB,CAACC,MAAD,EAAiBJ,MAAjB,EAAsDK,WAAtD,EAA+E;IAC5G,OAAO,KAAKT,KAAL,CAAWK,IAAX,CAAgB,kBAAhB,EAAkCK,gCACnCD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADG,GACA;MACvCL,MAAM,kCACDA,MADC,GACK;QACTI,MADS;QAETG,WA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AM,EAAE;QACNI,MADM;QAENM,gBAAgB,EAAE;MAFZ;IAD+B,CADgB,CAAlD,CAAP;EAOD;;EACMqB,yBAAyB,CAAC3B,MAAD,EAAiBC,WAAjB,EAA0C;IACxE,OAAO,KAAKT,KAAL,CAAWK,IAAX,CAAgB,kCAAhB,EAAkDK,gCACnDD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADmB,GAChB;MACvCL,MAAM,EAAE;QACNI,MADM;QAEN4B,0BAA0B,EAAE;MAFtB;IAD+B,CADgB,CAAlD,CAAP;EAOD;;EAEDC,MAAM,CAAClC,EAAD,EAAaJ,OAAb,EAAyCK,MAAzC,EAA0D;IAC9D,OAAO,KAAKJ,KAAL,CAAWsC,KAAX,CAAiB,UAAUnC,EAAE,EAA7B,EAA+BO,gCAAOX,OAAP,GAAmBK,MAAnB,CAA/B,CAAP;EACD;;EAEDmC,MAAM,CAACC,MAAD,EAAe;IACnB,OAAO,KAAKxC,KAAL,CAAWyC,OAAX,CAAmB,UAAUD,MAAM,EAAnC,CAAP;EACD;;AAxK+B;;QAArB5C,I,GAAAA,I","names":["Mail","Resource","create","payload","axios","$post","get","id","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","displayManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countToBeClassifiedByUser","countUnprocessedByManager","isCountingManagerRoleMails","update","patch","delete","idMail","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(id: number, params: QueryMail): Promise<Mail> {\n return this.axios.$get(`/mails/${id}`, { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n displayManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isSent: false,\n },\n });\n }\n public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isWithoutSociety: true,\n },\n });\n }\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-unprocessed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isCountingManagerRoleMails: true,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n}\n"]}
@@ -22,10 +22,6 @@ class Partner extends _Resource.Resource {
22
22
  return this.axios.$put(`partners/${idPartner}`, params);
23
23
  }
24
24
 
25
- delete(idPartner) {
26
- return this.axios.$delete(`partners/${idPartner}`);
27
- }
28
-
29
25
  }
30
26
 
31
27
  exports.Partner = Partner;
@@ -1 +1 @@
1
- {"version":3,"file":"Partner.js","mappings":";;;;;;;AAAA;;AAQM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,MAAM,CAACC,MAAD,EAAsB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,UAAjB,EAA6BF,MAA7B,CAAP;EACD;;EACDG,MAAM,CAACH,MAAD,EAAoB;IACxB,OAAO,KAAKC,KAAL,CAAWG,IAAX,CAAgB,UAAhB,EAA4B;MAAEJ;IAAF,CAA5B,CAAP;EACD;;EACDK,MAAM,CAACC,SAAD,EAAoBN,MAApB,EAAyC;IAC7C,OAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,YAAYD,SAAS,EAArC,EAAyCN,MAAzC,CAAP;EACD;;EAEDQ,MAAM,CAACF,SAAD,EAAkB;IACtB,OAAO,KAAKL,KAAL,CAAWQ,OAAX,CAAmB,YAAYH,SAAS,EAAxC,CAAP;EACD;;AAbkC;;QAAxBT,O,GAAAA,O","names":["Partner","Resource","create","params","axios","$post","getAll","$get","update","idPartner","$put","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Partner.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyPartner,\n CreatePartner,\n UpdatePartner,\n GetPartners,\n} from '../../types';\n\nexport class Partner extends Resource {\n create(params: CreatePartner): Promise<ISocietyPartner> {\n return this.axios.$post('partners', params);\n }\n getAll(params: GetPartners): Promise<ISocietyPartner[]> {\n return this.axios.$get('partners', { params });\n }\n update(idPartner: number, params: UpdatePartner): Promise<ISocietyPartner> {\n return this.axios.$put(`partners/${idPartner}`, params);\n }\n\n delete(idPartner: number): Promise<number> {\n return this.axios.$delete(`partners/${idPartner}`);\n }\n}"]}
1
+ {"version":3,"file":"Partner.js","mappings":";;;;;;;AAAA;;AAQM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,MAAM,CAACC,MAAD,EAAsB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,UAAjB,EAA6BF,MAA7B,CAAP;EACD;;EACDG,MAAM,CAACH,MAAD,EAAoB;IACxB,OAAO,KAAKC,KAAL,CAAWG,IAAX,CAAgB,UAAhB,EAA4B;MAAEJ;IAAF,CAA5B,CAAP;EACD;;EACDK,MAAM,CAACC,SAAD,EAAoBN,MAApB,EAAyC;IAC7C,OAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,YAAYD,SAAS,EAArC,EAAyCN,MAAzC,CAAP;EACD;;AATkC;;QAAxBH,O,GAAAA,O","names":["Partner","Resource","create","params","axios","$post","getAll","$get","update","idPartner","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/Partner.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyPartner,\n CreatePartner,\n UpdatePartner,\n GetPartners,\n} from '../../types';\n\nexport class Partner extends Resource {\n create(params: CreatePartner): Promise<ISocietyPartner> {\n return this.axios.$post('partners', params);\n }\n getAll(params: GetPartners): Promise<ISocietyPartner[]> {\n return this.axios.$get('partners', { params });\n }\n update(idPartner: number, params: UpdatePartner): Promise<ISocietyPartner> {\n return this.axios.$put(`partners/${idPartner}`, params);\n }\n}"]}
@@ -9,29 +9,7 @@ var _Resource = require("../Resource");
9
9
 
10
10
  class Qonto extends _Resource.Resource {
11
11
  delete(idBankConnection) {
12
- return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);
13
- }
14
-
15
- getInformation(queries) {
16
- return this.axios.$get('connectors/qonto/connections', {
17
- params: queries
18
- });
19
- }
20
-
21
- importBankAccount(idBankAccount, payload) {
22
- return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);
23
- }
24
-
25
- processBankAccount(idBankConnection, payload) {
26
- return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);
27
- }
28
-
29
- create(payload) {
30
- return this.axios.$post('connectors/qonto/connections', payload);
31
- }
32
-
33
- updateConnection(idBankConnection, payload) {
34
- return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
12
+ return this.axios.$delete(`qonto/${idBankConnection}`);
35
13
  }
36
14
 
37
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Qonto.js","mappings":";;;;;;;AAKA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,MAAM,CAACC,gBAAD,EAAyB;IAC7B,OAAO,KAAKC,KAAL,CAAWC,OAAX,CAAmB,gCAAgCF,gBAAgB,EAAnE,CAAP;EACD;;EAEDG,cAAc,CAACC,OAAD,EAAkC;IAC9C,OAAO,KAAKH,KAAL,CAAWI,IAAX,CAAgB,8BAAhB,EAAgD;MAAEC,MAAM,EAAEF;IAAV,CAAhD,CAAP;EACD;;EAEDG,iBAAiB,CAACC,aAAD,EAAwBC,OAAxB,EAAkD;IACjE,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,oBAAoBF,aAAa,cAAlD,EAAkEC,OAAlE,CAAP;EACD;;EAEDE,kBAAkB,CAACX,gBAAD,EAA2BS,OAA3B,EAAsD;IACtE,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,gCAAgCV,gBAAgB,gBAAjE,EAAmFS,OAAnF,CAAP;EACD;;EAEDG,MAAM,CAACH,OAAD,EAA+B;IACnC,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,8BAAjB,EAAiDD,OAAjD,CAAP;EACD;;EAEDI,gBAAgB,CAACb,gBAAD,EAA2BS,OAA3B,EAAoD;IAClE,OAAO,KAAKR,KAAL,CAAWa,IAAX,CAAgB,gCAAgCd,gBAAgB,EAAhE,EAAoES,OAApE,CAAP;EACD;;AAvBgC;;QAAtBZ,K,GAAAA,K","names":["Qonto","Resource","delete","idBankConnection","axios","$delete","getInformation","queries","$get","params","importBankAccount","idBankAccount","payload","$post","processBankAccount","create","updateConnection","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation, GetConnectionInformation, GetQontoOrganization, IAccountingTransaction, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n\n updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {\n return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);\n }\n}\n"]}
1
+ {"version":3,"file":"Qonto.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,MAAM,CACJC,gBADI,EACoB;IAExB,OAAO,KAAKC,KAAL,CAAWC,OAAX,CAAmB,SAASF,gBAAgB,EAA5C,CAAP;EACD;;AALgC;;QAAtBH,K,GAAAA,K","names":["Qonto","Resource","delete","idBankConnection","axios","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"sourcesContent":["import { IBankAccount } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(\n idBankConnection: number,\n ): Promise<IBankAccount> {\n return this.axios.$delete(`qonto/${idBankConnection}`);\n }\n}\n"]}
@@ -42,33 +42,19 @@ class User extends _Resource.Resource {
42
42
  });
43
43
  }
44
44
 
45
- allCollaborators(params) {
46
- return this.axios.$get('user/all-collaborators', {
47
- params
48
- });
45
+ allCollaborators() {
46
+ return this.axios.$get('user/all-collaborators');
49
47
  }
50
48
 
51
- allCollaboratorsByRoles(data) {
49
+ allCollaboratorsByRolesFromTimeCounterType(idTimeCounterType) {
52
50
  var _a;
53
51
 
54
- const {
55
- idTimeCounterType,
56
- idRoles
57
- } = data;
58
- let params = {
59
- idRoles
60
- };
61
-
62
- if (idTimeCounterType) {
63
- const timeCounterType = Object.values(_types.TimeCounterType).find(tct => tct.id === idTimeCounterType);
64
- const rolesByDefault = [_types.Role.FRONT_OFFICE, _types.Role.FRONT_OFFICE_EXPRESS, _types.Role.SOCIAL, _types.Role.JURIDIC, _types.Role.HUMAN_RESSOURCES, _types.Role.FACTURATION, _types.Role.CUSTOMER_SUCCESS, _types.Role.COMMERCIAL, _types.Role.MANAGER, _types.Role.EXPERT_ACCOUNTANT, _types.Role.DEVELOPER];
65
- params = {
66
- idRoles: (_a = timeCounterType === null || timeCounterType === void 0 ? void 0 : timeCounterType.limitedRoles) !== null && _a !== void 0 ? _a : rolesByDefault
67
- };
68
- }
69
-
52
+ const timeCounterType = Object.values(_types.TimeCounterType).find(tct => tct.id === idTimeCounterType);
53
+ const rolesByDefault = [_types.Role.FRONT_MANAGER, _types.Role.FRONT_OFFICE, _types.Role.FRONT_OFFICE_EXPRESS, _types.Role.BACK_MANAGER, _types.Role.BACK_OFFICE, _types.Role.BACK_OFFICE_EXPRESS, _types.Role.VAT, _types.Role.SOCIAL, _types.Role.JURIDIC, _types.Role.HUMAN_RESSOURCES, _types.Role.FACTURATION, _types.Role.CHIEF_ACCOUNTANT, _types.Role.CUSTOMER_SUCCESS_MANAGER, _types.Role.CUSTOMER_SUCCESS, _types.Role.COMMERCIAL_MANAGER, _types.Role.COMMERCIAL, _types.Role.SUPERVISOR, _types.Role.MANAGER, _types.Role.EXPERT_ACCOUNTANT, _types.Role.DEVELOPER];
70
54
  return this.axios.$get('user/all-collaborators-by-roles', {
71
- params
55
+ params: {
56
+ idRoles: (_a = timeCounterType === null || timeCounterType === void 0 ? void 0 : timeCounterType.limitedRoles) !== null && _a !== void 0 ? _a : rolesByDefault
57
+ }
72
58
  });
73
59
  }
74
60
 
@@ -96,15 +82,6 @@ class User extends _Resource.Resource {
96
82
 
97
83
  getInfo() {
98
84
  return this.axios.$get('user');
99
- } // FIXME: CancelToken
100
-
101
-
102
- getStatsCa(params, cancelToken) {
103
- return this.axios.$get('/user/paginated-with-stats-ca', Object.assign(Object.assign({}, cancelToken ? {
104
- cancelToken
105
- } : {}), {
106
- params
107
- }));
108
85
  }
109
86
 
110
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","mappings":";;;;;;;AACA;;AACA;;AAIM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,OAAO,CAACC,MAAD,EAAqB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,cAAhB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O,KAAK5C,KAAL,CAAWU,IAAX,CAAgB,+BAAhB,EAA+CO,gCAAQ2B,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAxC,GAA2C;MAAE7C;IAAF,CAA3C,CAA/C,CAAP;EACD;;AApE+B;;QAArBH,I,GAAAA,I","names":["User","Resource","confirm","params","axios","$put","resendConfirmationEmailLink","id","create","data","$post","coworker","sendNewCode","verifySmsCodeConfirmation","$get","allFromSociety","allCollaborators","allCollaboratorsByRoles","idTimeCounterType","idRoles","timeCounterType","Object","values","TimeCounterType","find","tct","rolesByDefault","Role","FRONT_OFFICE","FRONT_OFFICE_EXPRESS","SOCIAL","JURIDIC","HUMAN_RESSOURCES","FACTURATION","CUSTOMER_SUCCESS","COMMERCIAL","MANAGER","EXPERT_ACCOUNTANT","DEVELOPER","limitedRoles","_a","selectableTeammates","calendarSelectableTeammates","societies","ownerSociety","update","getInfo","getStatsCa","cancelToken"],"sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType, QueryGetAllCollaborators, QueryGetAllCollaboratorsByRoles, QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n coworker(data: CreateCoworker): Promise<IUser> {\n return this.axios.$post('user/coworker', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n allFromSociety(params: QueryGetAllFromSociety): Promise<IUser> {\n return this.axios.$get('user/all-from-society', { params });\n }\n allCollaborators(params: QueryGetAllCollaborators): Promise<IUser> {\n return this.axios.$get('user/all-collaborators', { params });\n }\n allCollaboratorsByRoles(data: QueryGetAllCollaboratorsByRoles): Promise<IUser> {\n const { idTimeCounterType, idRoles } = data;\n let params = { idRoles };\n if (idTimeCounterType) {\n const timeCounterType = Object.values(TimeCounterType).find((tct) => tct.id === idTimeCounterType);\n const rolesByDefault = [\n Role.FRONT_OFFICE,\n Role.FRONT_OFFICE_EXPRESS,\n Role.SOCIAL,\n Role.JURIDIC,\n Role.HUMAN_RESSOURCES,\n Role.FACTURATION,\n Role.CUSTOMER_SUCCESS,\n Role.COMMERCIAL,\n Role.MANAGER,\n Role.EXPERT_ACCOUNTANT,\n Role.DEVELOPER,\n ];\n params = { idRoles: timeCounterType?.limitedRoles ?? rolesByDefault };\n }\n return this.axios.$get('user/all-collaborators-by-roles', { params });\n }\n selectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/selectable-teammates');\n }\n calendarSelectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/calendar-selectable-teammates');\n }\n societies(params: QuerySocieties): Promise<ISociety[]> {\n return this.axios.$get('user/societies', { params });\n }\n ownerSociety(id: number): Promise<IUser> {\n return this.axios.$get(`user/${id}/owner`);\n }\n update(id: number, params: Partial<IUser> & { lastMobileConnection?: Date }): Promise<IUser> {\n return this.axios.$put(`user/${id}`, params);\n }\n getInfo(): Promise<IUser> {\n return this.axios.$get('user');\n }\n // FIXME: CancelToken\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/user/paginated-with-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"]}
1
+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gB,QAAQE,EAAE,EAA1B,EAA8BJ,MAA9B,CAAP;EACD;;EACDoD,OAAO;IACL,OAAO,KAAKnD,KAAL,CAAWU,IAAX,CAAgB,MAAhB,CAAP;EACD;;AApE+B;;QAArBd,I,GAAAA,I","names":["User","Resource","confirm","params","axios","$put","resendConfirmationEmailLink","id","create","data","$post","coworker","sendNewCode","verifySmsCodeConfirmation","$get","allFromSociety","allCollaborators","allCollaboratorsByRolesFromTimeCounterType","idTimeCounterType","timeCounterType","Object","values","TimeCounterType","find","tct","rolesByDefault","Role","FRONT_MANAGER","FRONT_OFFICE","FRONT_OFFICE_EXPRESS","BACK_MANAGER","BACK_OFFICE","BACK_OFFICE_EXPRESS","VAT","SOCIAL","JURIDIC","HUMAN_RESSOURCES","FACTURATION","CHIEF_ACCOUNTANT","CUSTOMER_SUCCESS_MANAGER","CUSTOMER_SUCCESS","COMMERCIAL_MANAGER","COMMERCIAL","SUPERVISOR","MANAGER","EXPERT_ACCOUNTANT","DEVELOPER","idRoles","limitedRoles","_a","selectableTeammates","calendarSelectableTeammates","societies","ownerSociety","update","getInfo"],"sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n coworker(data: CreateCoworker): Promise<IUser> {\n return this.axios.$post('user/coworker', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n allFromSociety(params: QueryGetAllFromSociety): Promise<IUser> {\n return this.axios.$get('user/all-from-society', { params });\n }\n allCollaborators(): Promise<IUser> {\n return this.axios.$get('user/all-collaborators');\n }\n allCollaboratorsByRolesFromTimeCounterType(idTimeCounterType: number): Promise<IUser> {\n const timeCounterType = Object.values(TimeCounterType).find((tct) => tct.id === idTimeCounterType);\n const rolesByDefault = [\n Role.FRONT_MANAGER,\n Role.FRONT_OFFICE,\n Role.FRONT_OFFICE_EXPRESS,\n Role.BACK_MANAGER,\n Role.BACK_OFFICE,\n Role.BACK_OFFICE_EXPRESS,\n Role.VAT,\n Role.SOCIAL,\n Role.JURIDIC,\n Role.HUMAN_RESSOURCES,\n Role.FACTURATION,\n Role.CHIEF_ACCOUNTANT,\n Role.CUSTOMER_SUCCESS_MANAGER,\n Role.CUSTOMER_SUCCESS,\n Role.COMMERCIAL_MANAGER,\n Role.COMMERCIAL,\n Role.SUPERVISOR,\n Role.MANAGER,\n Role.EXPERT_ACCOUNTANT,\n Role.DEVELOPER,\n ];\n return this.axios.$get('user/all-collaborators-by-roles', { params: { idRoles: timeCounterType?.limitedRoles ?? rolesByDefault } });\n }\n selectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/selectable-teammates');\n }\n calendarSelectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/calendar-selectable-teammates');\n }\n societies(params: QuerySocieties): Promise<ISociety[]> {\n return this.axios.$get('user/societies', { params });\n }\n ownerSociety(id: number): Promise<IUser> {\n return this.axios.$get(`user/${id}/owner`);\n }\n update(id: number, params: Partial<IUser> & { lastMobileConnection?: Date }): Promise<IUser> {\n return this.axios.$put(`user/${id}`, params);\n }\n getInfo(): Promise<IUser> {\n return this.axios.$get('user');\n }\n}\n"]}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CommercialDocument = undefined;
7
+
8
+ var _Resource = require("../Resource");
9
+
10
+ var _types = require("../../types");
11
+
12
+ class CommercialDocument extends _Resource.Resource {
13
+ get(id) {
14
+ return this.axios.$get(`/commercial-management/documents/${id}`);
15
+ }
16
+
17
+ update(id, payload) {
18
+ return this.axios.patch(`/commercial-management/documents/${id}`, payload);
19
+ }
20
+
21
+ delete(id) {
22
+ return this.axios.$delete(`/commercial-management/documents/${id}`);
23
+ }
24
+
25
+ getAllMails(id) {
26
+ return this.axios.$get(`/commercial-management/documents/${id}/mails`);
27
+ }
28
+
29
+ send(id, payload) {
30
+ return this.axios.$post(`/commercial-management/documents/${id}/mails`, payload);
31
+ }
32
+
33
+ getNextReference(params) {
34
+ return this.axios.$get('/commercial-management/documents/references', {
35
+ params
36
+ });
37
+ }
38
+
39
+ getPaginated(params) {
40
+ return this.axios.$get('/commercial-management/documents', {
41
+ params
42
+ });
43
+ }
44
+
45
+ createEstimate(payload) {
46
+ return this.axios.$post('/commercial-management/estimates', Object.assign(Object.assign({}, payload), {
47
+ idEstimateInvoiceType: _types.EstimateInvoiceType.DEVIS
48
+ }));
49
+ }
50
+
51
+ createOrder(payload) {
52
+ return this.axios.$post('/commercial-management/orders', Object.assign(Object.assign({}, payload), {
53
+ idEstimateInvoiceType: _types.EstimateInvoiceType.BON
54
+ }));
55
+ }
56
+
57
+ updateEstimate(id, payload) {
58
+ return this.axios.$post(`/commercial-management/estimates/${id}`, payload);
59
+ }
60
+
61
+ updateOrder(id, payload) {
62
+ return this.axios.$post(`/commercial-management/orders/${id}`, payload);
63
+ }
64
+
65
+ preview(idEstimateInvoiceType, payload) {
66
+ return this.axios.$post('/commercial-management/preview/', Object.assign(Object.assign({}, payload), {
67
+ idEstimateInvoiceType
68
+ }));
69
+ }
70
+
71
+ }
72
+
73
+ exports.CommercialDocument = CommercialDocument;
74
+ //# sourceMappingURL=commercialDocument.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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AgDK,gCAAOX,OAAP,GAAc;MAAEY,qBAAqB,EAAEC,2BAAoBG;IAA7C,CAAd,CAAhD,CAAP;EACD;;EAEDC,cAAc,CAACrB,EAAD,EAAaI,OAAb,EAA2C;IACvD,OAAO,KAAKH,KAAL,CAAWS,KAAX,CAAiB,oCAAoCV,EAAE,EAAvD,EAA2DI,OAA3D,CAAP;EACD;;EAEDkB,WAAW,CAACtB,EAAD,EAAaI,OAAb,EAA2C;IACpD,OAAO,KAAKH,KAAL,CAAWS,KAAX,CAAiB,iCAAiCV,EAAE,EAApD,EAAwDI,OAAxD,CAAP;EACD;;EAEDmB,OAAO,CAACP,qBAAD,EAA6CZ,OAA7C,EAAmG;IACxG,OAAO,KAAKH,KAAL,CAAWS,KAAX,CAAiB,iCAAjB,EAAkDK,gCAAOX,OAAP,GAAc;MAAEY;IAAF,CAAd,CAAlD,CAAP;EACD;;AA/C6C;;QAAnCnB,kB,GAAAA,kB","names":["CommercialDocument","Resource","get","id","axios","$get","update","payload","patch","delete","$delete","getAllMails","send","$post","getNextReference","params","getPaginated","createEstimate","Object","idEstimateInvoiceType","EstimateInvoiceType","DEVIS","createOrder","BON","updateEstimate","updateOrder","preview"],"sourceRoot":"","sources":["../../../ts/api/resources/commercialDocument.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateCommercialMail,\n CreateInvoiceDocument,\n CreatePreSaleDocument,\n EstimateInvoiceType,\n IEstimateInvoice,\n IFile,\n QueryDocumentPaginated,\n QueryNextReference,\n QueryPaginate,\n ReadEstimateInvoice,\n UpdateCommercialDocument,\n} from '../../types';\nimport { ICommercialMail } from '../../types/Interface/models/ICommercialMail';\n\nexport class CommercialDocument extends Resource {\n get(id: number): Promise<ReadEstimateInvoice> {\n return this.axios.$get(`/commercial-management/documents/${id}`);\n }\n\n update(id: number, payload: UpdateCommercialDocument): Promise<IEstimateInvoice> {\n return this.axios.patch(`/commercial-management/documents/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getAllMails(id: number): Promise<ICommercialMail[]> {\n return this.axios.$get(`/commercial-management/documents/${id}/mails`);\n }\n\n send(id: number, payload: CreateCommercialMail): Promise<ICommercialMail> {\n return this.axios.$post(`/commercial-management/documents/${id}/mails`, payload);\n }\n\n getNextReference(params: QueryNextReference): Promise<string> {\n return this.axios.$get('/commercial-management/documents/references', { params });\n }\n\n getPaginated(params: QueryDocumentPaginated & QueryPaginate): Promise<BasePaginate<ReadEstimateInvoice>> {\n return this.axios.$get('/commercial-management/documents', { params });\n }\n\n createEstimate(payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/estimates', { ...payload, idEstimateInvoiceType: EstimateInvoiceType.DEVIS });\n }\n\n createOrder(payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/orders', { ...payload, idEstimateInvoiceType: EstimateInvoiceType.BON });\n }\n\n updateEstimate(id: number, payload: CreatePreSaleDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/estimates/${id}`, payload);\n }\n\n updateOrder(id: number, payload: CreatePreSaleDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/orders/${id}`, payload);\n }\n\n preview(idEstimateInvoiceType: EstimateInvoiceType, payload: CreatePreSaleDocument | CreateInvoiceDocument): Promise<IFile> {\n return this.axios.$post('/commercial-management/preview/', { ...payload, idEstimateInvoiceType });\n }\n}"]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Reminder = undefined;
7
+
8
+ var _Resource = require("../Resource");
9
+
10
+ class Reminder extends _Resource.Resource {
11
+ create(idEstimateInvoice, payload) {
12
+ return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}`, payload);
13
+ }
14
+
15
+ update(id, idEstimateInvoice, payload) {
16
+ return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);
17
+ }
18
+
19
+ delete(id, idEstimateInvoice) {
20
+ return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);
21
+ }
22
+
23
+ }
24
+
25
+ exports.Reminder = Reminder;
26
+ //# sourceMappingURL=reminder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reminder.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;EACpCC,MAAM,CAACC,iBAAD,EAA4BC,OAA5B,EAAmD;IACvD,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,oCAAoCH,iBAAiB,EAAtE,EAA0EC,OAA1E,CAAP;EACD;;EAEDG,MAAM,CAACC,EAAD,EAAaL,iBAAb,EAAwCC,OAAxC,EAA+D;IACnE,OAAO,KAAKC,KAAL,CAAWI,IAAX,CAAgB,oCAAoCN,iBAAiB,cAAcK,EAAE,EAArF,EAAyFJ,OAAzF,CAAP;EACD;;EAEDM,MAAM,CAACF,EAAD,EAAaL,iBAAb,EAAsC;IAC1C,OAAO,KAAKE,KAAL,CAAWM,OAAX,CAAmB,oCAAoCR,iBAAiB,cAAcK,EAAE,EAAxF,CAAP;EACD;;AAXmC;;QAAzBR,Q,GAAAA,Q","names":["Reminder","Resource","create","idEstimateInvoice","payload","axios","$post","update","id","$put","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/reminder.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateReminder,\n IInvoiceReminder,\n UpdateReminder,\n} from '../../types';\n\nexport class Reminder extends Resource {\n create(idEstimateInvoice: number, payload: CreateReminder): Promise<IInvoiceReminder> {\n return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}`, payload);\n }\n\n update(id: number, idEstimateInvoice: number, payload: UpdateReminder): Promise<IInvoiceReminder> {\n return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);\n }\n\n delete(id: number, idEstimateInvoice: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);\n }\n}"]}
@@ -183,25 +183,15 @@ var _TimeRecorder = require("./resources/TimeRecorder");
183
183
 
184
184
  var _CustomerActivity = require("./resources/CustomerActivity");
185
185
 
186
- var _Connection = require("./resources/Connection");
187
-
188
- var _SocietyConfig = require("./resources/SocietyConfig");
189
-
190
- var _LegalNotice = require("./resources/LegalNotice");
191
-
192
- var _Accountant = require("./resources/statistic/Accountant");
186
+ var _CommercialSetting = require("./resources/CommercialSetting");
193
187
 
194
- var _ExpertAccountant = require("./resources/statistic/ExpertAccountant");
188
+ var _Invoice = require("./resources/Invoice");
195
189
 
196
- var _Wallet = require("./resources/Wallet");
190
+ var _commercialDocument = require("./resources/commercialDocument");
197
191
 
198
- var _PaymentExpectation = require("./resources/PaymentExpectation");
199
-
200
- var _Direction = require("./resources/statistic/Direction");
201
-
202
- var _TerminationList = require("./resources/TerminationList");
192
+ var _Connection = require("./resources/Connection");
203
193
 
204
- var _SlowDetection = require("./resources/SlowDetection");
194
+ var _reminder = require("./resources/reminder");
205
195
 
206
196
  const resources = exports.resources = {
207
197
  simulation: _Simulation.Simulation,
@@ -293,15 +283,10 @@ const resources = exports.resources = {
293
283
  thirdParty: _ThirdParty.ThirdParty,
294
284
  alert: _Alert.Alert,
295
285
  customerActivity: _CustomerActivity.CustomerActivity,
286
+ commercialSetting: _CommercialSetting.CommercialSetting,
287
+ commercialDocument: _commercialDocument.CommercialDocument,
296
288
  connection: _Connection.Connection,
297
- wallet: _Wallet.Wallet,
298
- societyConfig: _SocietyConfig.SocietyConfig,
299
- legalNotice: _LegalNotice.LegalNotice,
300
- statisticAccountant: _Accountant.StatisticAccountant,
301
- statisticDirection: _Direction.StatisticDirection,
302
- statisticExpertAccountant: _ExpertAccountant.StatisticExpertAccountant,
303
- paymentExpectation: _PaymentExpectation.PaymentExpectation,
304
- terminationList: _TerminationList.TerminationList,
305
- slowDetection: _SlowDetection.SlowDetection
289
+ invoice: _Invoice.Invoice,
290
+ reminder: _reminder.Reminder
306
291
  };
307
292
  //# sourceMappingURL=resources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEO,MAAMA,SAAS,WAATA,SAAS,GAAG;EACvBC,UAAU,EAAEC,sBADW;EAEvBC,aAAa,EAAEC,4BAFQ;EAGvBC,OAAO,EAAEC,gBAHc;EAIvBC,0BAA0B,EAAEC,sDAJL;EAKvBC,OAAO,EAAEC,gBALc;EAMvBC,cAAc,EAAEC,8BANO;EAOvBC,WAAW,EAAEC,wBAPU;EAQvBC,WAAW,EAAEC,wBARU;EASvBC,OAAO,EAAEC,gBATc;EAUvBC,WAAW,EAAEC,wBAVU;EAWvBC,IAAI,EAAEC,UAXiB;EAYvBC,MAAM,EAAEC,cAZe;EAavBC,MAAM,EAAEC,cAbe;EAcvBC,MAAM,EAAEC,cAde;EAevBC,SAA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A6FvBC,WAAW,EAAEC,wBA7FU;EA8FvBC,mBAAmB,EAAEC,+BA9FE;EA+FvBC,kBAAkB,EAAEC,6BA/FG;EAgGvBC,yBAAyB,EAAEC,2CAhGJ;EAiGvBC,kBAAkB,EAAEC,sCAjGG;EAkGvBC,eAAe,EAAEC,gCAlGM;EAmGvBC,aAAa,EAAEC;AAnGQ,CAAlB","names":["resources","simulation","Simulation","budgetInsight","BudgetInsight","country","Country","paymentExpectationCustomer","PaymentExpectationCustomer","payment","Payment","immobilization","Immobilization","accountType","AccountType","transaction","Transaction","account","Account","sponsorship","Sponsorship","user","User","survey","Survey","report","Report","letter","Letter","firstStep","FirstStep","society","Society","partner","Partner","generalLedger","GeneralLedger","fecFile","FecFile","incomeStatement","IncomeStatement","internalInvoicing","InternalInvoicing","balanceSheet","BalanceSheet","balanceSheetModule","BalanceSheetModule","cerfa","Cerfa","legalForm","LegalForm","authenticate","Authenticate","search","Search","subscription","Subscription","salariesFile","SalariesFile","shine","Shine","promoCode","PromoCode","stocks","Stocks","loan","Loan","provision","Provision","societyPromoCode","SocietyPromoCode","dashboard","Dashboard","zTicket","ZTicket","incomeAllocation","IncomeAllocation","customerProviderOperation","CustomerProviderOperation","steps","Steps","revisionGuide","RevisionGuide","library","Library","taxDeadline","TaxDeadline","exerciceNote","ExerciceNote","connector","Connector","partneredAccountant","PartneredAccountant","tax","Tax","quotesAccount","QuotesAccount","registration","Registration","journal","Journal","product","Product","mealExpense","MealExpense","balanceSheetQuestion","BalanceSheetQuestion","exerciceQuestion","ExerciceQuestion","vatControl","VatControl","accountingIncome","AccountingIncome","bankStatement","BankStatement","shareCapital","ShareCapital","closing","Closing","machineLearning","MachineLearning","workingSchedule","WorkingSchedule","revision","Revision","vehicle","Vehicle","kilometricAllowance","KilometricAllowance","vatDeclaration","VatDeclaration","qonto","Qonto","affectedPatrimony","AffectedPatrimony","bankAccount","BankAccount","log","Log","exercice","Exercice","mail","Mail","employee","Employee","sheetMonthSchedule","SheetMonthSchedule","nafCode","NafCode","checklist","Checklist","lettering","Lettering","mobile","Mobile","notification","Notification","societyEvent","SocietyEvent","task","Task","comment","Comment","calendarEvent","CalendarEvent","timeRecorder","TimeRecorder","notificationSetting","NotificationSetting","cx","Cx","bankList","BankList","thirdParty","ThirdParty","alert","Alert","customerActivity","CustomerActivity","connection","Connection","wallet","Wallet","societyConfig","SocietyConfig","legalNotice","LegalNotice","statisticAccountant","StatisticAccountant","statisticDirection","StatisticDirection","statisticExpertAccountant","StatisticExpertAccountant","paymentExpectation","PaymentExpectation","terminationList","TerminationList","slowDetection","SlowDetection"],"sourceRoot":"","sources":["../../ts/api/resources.ts"],"sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { VatDeclaration } from './resources/VatDeclaration';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { Connection } from './resources/Connection';\nimport { SocietyConfig } from './resources/SocietyConfig';\nimport { LegalNotice } from './resources/LegalNotice';\nimport { StatisticAccountant } from './resources/statistic/Accountant';\nimport { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';\nimport { Wallet } from './resources/Wallet';\nimport { PaymentExpectation } from './resources/PaymentExpectation';\nimport { StatisticDirection } from './resources/statistic/Direction';\nimport { TerminationList } from './resources/TerminationList';\nimport { SlowDetection } from './resources/SlowDetection';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vatDeclaration: VatDeclaration,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n connection: Connection,\n wallet: Wallet,\n societyConfig: SocietyConfig,\n legalNotice: LegalNotice,\n statisticAccountant: StatisticAccountant,\n statisticDirection: StatisticDirection,\n statisticExpertAccountant: StatisticExpertAccountant,\n paymentExpectation: PaymentExpectation,\n terminationList: TerminationList,\n slowDetection: SlowDetection,\n};"]}
1
+ {"version":3,"file":"resources.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;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EAAEC,oCAnEI;EAoEvBC,WAAW,EAAEC,wBApEU;EAqEvBC,GAAG,EAAEC,QArEkB;EAsEvBC,QAAQ,EAAEC,kBAtEa;EAuEvBC,IAAI,EAAEC,UAvEiB;EAwEvBC,QAAQ,EAAEC,kBAxEa;EAyEvBC,kBAAkB,EAAEC,sCAzEG;EA0EvBC,OAAO,EAAEC,gBA1Ec;EA2EvBC,SAAS,EAAEC,oBA3EY;EA4EvBC,SAAS,EAAEC,oBA5EY;EA6EvBC,MAAM,EAAEC,cA7Ee;EA8EvBC,YAAY,EAAEC,0BA9ES;EA+EvBC,YAAY,EAAEC,0BA/ES;EAgFvBC,IAAI,EAAEC,UAhFiB;EAiFvBC,OAAO,EAAEC,gBAjFc;EAkFvBC,aAAa,EAAEC,4BAlFQ;EAmFvBC,YAAY,EAAEC,0BAnFS;EAoFvBC,mBAAmB,EAAEC,wCApFE;EAqFvBC,EAAE,EAAEC,MArFmB;EAsFvBC,QAAQ,EAAEC,kBAtFa;EAuFvBC,UAAU,EAAEC,sBAvFW;EAwFvBC,KAAK,EAAEC,YAxFgB;EAyFvBC,gBAAgB,EAAEC,kCAzFK;EA0FvBC,iBAAiB,EAAEC,oCA1FI;EA2FvBC,kBAAkB,EAAEC,sCA3FG;EA4FvBC,UAAU,EAAEC,sBA5FW;EA6FvBC,OAAO,EAAEC,gBA7Fc;EA8FvBC,QAAQ,EAAEC;AA9Fa,CAAlB","names":["resources","simulation","Simulation","budgetInsight","BudgetInsight","country","Country","paymentExpectationCustomer","PaymentExpectationCustomer","payment","Payment","immobilization","Immobilization","accountType","AccountType","transaction","Transaction","account","Account","sponsorship","Sponsorship","user","User","survey","Survey","report","Report","letter","Letter","firstStep","FirstStep","society","Society","partner","Partner","generalLedger","GeneralLedger","fecFile","FecFile","incomeStatement","IncomeStatement","internalInvoicing","InternalInvoicing","balanceSheet","BalanceSheet","balanceSheetModule","BalanceSheetModule","cerfa","Cerfa","legalForm","LegalForm","authenticate","Authenticate","search","Search","subscription","Subscription","salariesFile","SalariesFile","shine","Shine","promoCode","PromoCode","stocks","Stocks","loan","Loan","provision","Provision","societyPromoCode","SocietyPromoCode","dashboard","Dashboard","zTicket","ZTicket","incomeAllocation","IncomeAllocation","customerProviderOperation","CustomerProviderOperation","steps","Steps","revisionGuide","RevisionGuide","library","Library","taxDeadline","TaxDeadline","exerciceNote","ExerciceNote","connector","Connector","partneredAccountant","PartneredAccountant","tax","Tax","quotesAccount","QuotesAccount","registration","Registration","journal","Journal","product","Product","mealExpense","MealExpense","balanceSheetQuestion","BalanceSheetQuestion","exerciceQuestion","ExerciceQuestion","vatControl","VatControl","accountingIncome","AccountingIncome","bankStatement","BankStatement","shareCapital","ShareCapital","closing","Closing","machineLearning","MachineLearning","workingSchedule","WorkingSchedule","revision","Revision","vehicle","Vehicle","kilometricAllowance","KilometricAllowance","vatDeclaration","VatDeclaration","qonto","Qonto","affectedPatrimony","AffectedPatrimony","bankAccount","BankAccount","log","Log","exercice","Exercice","mail","Mail","employee","Employee","sheetMonthSchedule","SheetMonthSchedule","nafCode","NafCode","checklist","Checklist","lettering","Lettering","mobile","Mobile","notification","Notification","societyEvent","SocietyEvent","task","Task","comment","Comment","calendarEvent","CalendarEvent","timeRecorder","TimeRecorder","notificationSetting","NotificationSetting","cx","Cx","bankList","BankList","thirdParty","ThirdParty","alert","Alert","customerActivity","CustomerActivity","commercialSetting","CommercialSetting","commercialDocument","CommercialDocument","connection","Connection","invoice","Invoice","reminder","Reminder"],"sourceRoot":"","sources":["../../ts/api/resources.ts"],"sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { VatDeclaration } from './resources/VatDeclaration';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { CommercialSetting } from './resources/CommercialSetting';\nimport { Invoice } from './resources/Invoice';\nimport { CommercialDocument } from './resources/commercialDocument';\nimport { Connection } from './resources/Connection';\nimport { Reminder } from './resources/reminder';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vatDeclaration: VatDeclaration,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n commercialSetting: CommercialSetting,\n commercialDocument: CommercialDocument,\n connection: Connection,\n invoice: Invoice,\n reminder: Reminder,\n};"]}
package/js/index.js CHANGED
@@ -16,6 +16,18 @@ Object.keys(_utils).forEach(function (key) {
16
16
  });
17
17
  });
18
18
 
19
+ var _product = require("./utils/commercialManagement/product");
20
+
21
+ Object.keys(_product).forEach(function (key) {
22
+ if (key === "default" || key === "__esModule") return;
23
+ Object.defineProperty(exports, key, {
24
+ enumerable: true,
25
+ get: function () {
26
+ return _product[key];
27
+ }
28
+ });
29
+ });
30
+
19
31
  var _types = require("./types");
20
32
 
21
33
  Object.keys(_types).forEach(function (key) {
package/js/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","mappings":";;;;;;;;AAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;;;AACA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;;;AACA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA","names":[],"sourceRoot":"","sources":["../ts/index.ts"],"sourcesContent":["export * from './utils';\nexport * from './types';\nexport * from './api';\n"]}
1
+ {"version":3,"file":"index.js","mappings":";;;;;;;;AAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;;;AACA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;;;AACA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;;;AACA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA","names":[],"sourceRoot":"","sources":["../ts/index.ts"],"sourcesContent":["export * from './utils';\nexport * from './utils/commercialManagement/product';\nexport * from './types';\nexport * from './api';\n"]}
@@ -87,6 +87,14 @@ const Account = exports.Account = {
87
87
  GIFT: {
88
88
  id: 110,
89
89
  number: 623400
90
+ },
91
+ INCOME: {
92
+ id: 213,
93
+ number: 706100
94
+ },
95
+ COUNTER_SALES: {
96
+ id: 214,
97
+ number: 707100
90
98
  }
91
99
  };
92
100
  //# sourceMappingURL=Account.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EAAE;EAFO,CAzDI;EA6DrBe,WAAW,EAAE;IACXhB,EAAE,EAAE,GADO;IAEXC,MAAM,EAAE;EAFG,CA7DQ;EAiErBgB,2BAA2B,EAAE;IAC3BjB,EAAE,EAAE,CADuB;IAE3BC,MAAM,EAAE;EAFmB,CAjER;EAqErBiB,uCAAuC,EAAE;IACvClB,EAAE,EAAE,CADmC;IAEvCC,MAAM,EAAE;EAF+B,CArEpB;EAyErBkB,6BAA6B,EAAE;IAC7BnB,EAAE,EAAE,GADyB;IAE7BC,MAAM,EAAE;EAFqB,CAzEV;EA6ErBmB,cAAc,EAAE;IACdpB,EAAE,EAAE,GADU;IAEdC,MAAM,EAAE;EAFM,CA7EK;EAiFrBoB,IAAI,EAAE;IACJrB,EAAE,EAAE,GADA;IAEJC,MAAM,EAAE;EAFJ;AAjFe,CAAhB","names":["Account","RESULT_BENEFIT","id","number","RESULT_LOSS","PRODUCTION","SERVICE","MERCHANDISE","CAPITAL","REPORT_DEBIT","REPORT_CREDIT","LEGAL_RESERVE","STATUTORY_RESERVE","REGULATED_RESERVE","OPTIONAL_RESERVE","UNAVAILABLE_RESERVE","DIVIDEND","LEVY_ON_RESERVE","COMPANY_TAX","SHARE_CAPITAL_BANK_PROVIDED","SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED","TRAVELING_MEAL_HOTEL_EXPENSES","DEDUCTIBLE_VAT","GIFT"],"sourceRoot":"","sources":["../../../ts/types/Enum/Account.ts"],"sourcesContent":["export const Account = {\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n};"]}
1
+ {"version":3,"file":"Account.js","mappings":";;;;;AAAO,MAAMA,OAAO,WAAPA,OAAO,GAAG;EACrBC,cAAc,EAAE;IACdC,EAAE,EAAE,EADU;IAEdC,MAAM,EAAE;EAFM,CADK;EAKrBC,WAAW,EAAE;IACXF,EAAE,EAAE,EADO;IAEXC,MAAM,EAAE;EAFG,CALQ;EASrBE,UAAU,EAAE;IACVH,EAAE,EAAE,EADM;IAEVC,MAAM,EAAE;EAFE,CATS;EAarBG,OAAO,EAAE;IACPJ,EAAE,EAAE,EADG;IAEPC,MAAM,EAAE;EAFD,CAbY;EAiBrBI,WAAW,EAAE;IACXL,EAAE,EAAE,EADO;IAEXC,MAAM,EAAE;EAFG,CAjBQ;EAqBrBK,OAAO,EAAE;IACPN,EAAE,EAAE,GADG;IAEPC,MAAM,EAAE;EAFD,CArBY;EAyBrBM,YAAY,EAAE;IACZP,EAAE,EAAE,EADQ;IAEZC,MAAM,EAAE;EAFI,CAzBO;EA6BrBO,aAAa,EAAE;IACbR,EAAE,EAAE,EADS;IAEbC,MAAM,EAAE;EAFK,CA7B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_BENEFIT","id","number","RESULT_LOSS","PRODUCTION","SERVICE","MERCHANDISE","CAPITAL","REPORT_DEBIT","REPORT_CREDIT","LEGAL_RESERVE","STATUTORY_RESERVE","REGULATED_RESERVE","OPTIONAL_RESERVE","UNAVAILABLE_RESERVE","DIVIDEND","LEVY_ON_RESERVE","COMPANY_TAX","SHARE_CAPITAL_BANK_PROVIDED","SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED","TRAVELING_MEAL_HOTEL_EXPENSES","DEDUCTIBLE_VAT","GIFT","INCOME","COUNTER_SALES"],"sourceRoot":"","sources":["../../../ts/types/Enum/Account.ts"],"sourcesContent":["export const Account = {\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n INCOME: {\n id: 213,\n number: 706100,\n },\n COUNTER_SALES: {\n id: 214,\n number: 707100,\n },\n};"]}
@@ -213,7 +213,7 @@ const BALANCE_SHEET_LIST_ACTIVE = exports.BALANCE_SHEET_LIST_ACTIVE = [{
213
213
  }, {
214
214
  name: 'Disponibilités',
215
215
  key: 'availabilities',
216
- accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],
216
+ accounts: ['511', '512', '514', '515', '516', '517', '5187', '53', '54', '58'],
217
217
  type: 'active'
218
218
  }, {
219
219
  name: 'Charges constatées d\'avance',