@silexpert/core 0.4.148 → 0.4.151

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 (886) hide show
  1. package/es/api/resources/Closing.d.ts +1 -0
  2. package/es/api/resources/Closing.d.ts.map +1 -1
  3. package/es/api/resources/Closing.js +3 -0
  4. package/es/api/resources/Closing.js.map +1 -1
  5. package/es/api/resources/Library.d.ts +1 -1
  6. package/es/api/resources/Library.d.ts.map +1 -1
  7. package/es/api/resources/Library.js +7 -2
  8. package/es/api/resources/Library.js.map +1 -1
  9. package/es/api/resources/MachineLearning.d.ts +2 -1
  10. package/es/api/resources/MachineLearning.d.ts.map +1 -1
  11. package/es/api/resources/MachineLearning.js +6 -0
  12. package/es/api/resources/MachineLearning.js.map +1 -1
  13. package/es/api/resources/PromoCode.d.ts +2 -1
  14. package/es/api/resources/PromoCode.d.ts.map +1 -1
  15. package/es/api/resources/PromoCode.js +3 -0
  16. package/es/api/resources/PromoCode.js.map +1 -1
  17. package/es/api/resources/Registration.d.ts +4 -1
  18. package/es/api/resources/Registration.d.ts.map +1 -1
  19. package/es/api/resources/Registration.js +9 -0
  20. package/es/api/resources/Registration.js.map +1 -1
  21. package/es/types/Enum/AnswerTypeValue.d.ts +2 -2
  22. package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
  23. package/es/types/Enum/AnswerTypeValue.js +1 -1
  24. package/es/types/Enum/AnswerTypeValue.js.map +1 -1
  25. package/es/types/Enum/BalanceSheetQuestion.d.ts +24 -3
  26. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  27. package/es/types/Enum/BalanceSheetQuestion.js +23 -2
  28. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
  29. package/es/types/Enum/Registration.d.ts +7 -0
  30. package/es/types/Enum/Registration.d.ts.map +1 -0
  31. package/es/types/Enum/Registration.js +8 -0
  32. package/es/types/Enum/Registration.js.map +1 -0
  33. package/es/types/Enum/Vat.d.ts +17 -101
  34. package/es/types/Enum/Vat.d.ts.map +1 -1
  35. package/es/types/Enum/Vat.js +163 -11
  36. package/es/types/Enum/Vat.js.map +1 -1
  37. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
  38. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  39. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  40. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts +5 -0
  41. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts.map +1 -0
  42. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js +21 -0
  43. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -0
  44. package/es/types/Interface/api/cerfa/2050.d.ts +0 -2
  45. package/es/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  46. package/es/types/Interface/api/cerfa/2050.js +1 -2
  47. package/es/types/Interface/api/cerfa/2050.js.map +1 -1
  48. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  49. package/es/types/Interface/api/product/CreateProduct.js +1 -2
  50. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  51. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +8 -0
  52. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +1 -0
  53. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js +45 -0
  54. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
  55. package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +7 -0
  56. package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +1 -0
  57. package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js +2 -0
  58. package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
  59. package/es/types/Interface/api/registration/CreateRegistration.d.ts +5 -9
  60. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  61. package/es/types/Interface/api/registration/CreateRegistration.js +17 -4
  62. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  63. package/es/types/Interface/api/registration/QueryRegistration.d.ts +4 -0
  64. package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -0
  65. package/es/types/Interface/api/registration/QueryRegistration.js +21 -0
  66. package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -0
  67. package/es/types/Interface/api/registration/ReadRegistration.d.ts +4 -9
  68. package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  69. package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  70. package/es/types/Interface/models/IDefaultPromotion.d.ts +17 -0
  71. package/es/types/Interface/models/IDefaultPromotion.d.ts.map +1 -0
  72. package/es/types/Interface/models/IDefaultPromotion.js +2 -0
  73. package/es/types/Interface/models/IDefaultPromotion.js.map +1 -0
  74. package/es/types/Interface/models/IFecFile.d.ts +1 -0
  75. package/es/types/Interface/models/IFecFile.d.ts.map +1 -1
  76. package/es/types/Interface/models/IFecFile.js.map +1 -1
  77. package/es/types/Interface/models/IRegistration.d.ts +4 -3
  78. package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
  79. package/es/types/Interface/models/IRegistration.js.map +1 -1
  80. package/es/types/index.d.ts +6 -0
  81. package/es/types/index.d.ts.map +1 -1
  82. package/es/types/index.js +6 -0
  83. package/es/types/index.js.map +1 -1
  84. package/js/api/Resource.js.map +1 -1
  85. package/js/api/index.js.map +1 -1
  86. package/js/api/resources/Account.js.map +1 -1
  87. package/js/api/resources/AccountType.js.map +1 -1
  88. package/js/api/resources/AccountingFiles.js.map +1 -1
  89. package/js/api/resources/AccountingIncome.js.map +1 -1
  90. package/js/api/resources/AccountsSectors.js.map +1 -1
  91. package/js/api/resources/Authenticate.js.map +1 -1
  92. package/js/api/resources/BalanceSheet.js.map +1 -1
  93. package/js/api/resources/BalanceSheetCompletion.js.map +1 -1
  94. package/js/api/resources/BalanceSheetModule.js.map +1 -1
  95. package/js/api/resources/BalanceSheetQuestion.js.map +1 -1
  96. package/js/api/resources/BankStatement.js.map +1 -1
  97. package/js/api/resources/BudgetInsight.js.map +1 -1
  98. package/js/api/resources/Cerfa.js.map +1 -1
  99. package/js/api/resources/Closing.js +4 -0
  100. package/js/api/resources/Closing.js.map +1 -1
  101. package/js/api/resources/Connector.js.map +1 -1
  102. package/js/api/resources/Country.js.map +1 -1
  103. package/js/api/resources/CustomerProviderOperation.js.map +1 -1
  104. package/js/api/resources/Dashboard.js.map +1 -1
  105. package/js/api/resources/ExerciceNote.js.map +1 -1
  106. package/js/api/resources/ExerciceQuestion.js.map +1 -1
  107. package/js/api/resources/FecFile.js.map +1 -1
  108. package/js/api/resources/FinancialCharge.js.map +1 -1
  109. package/js/api/resources/FirstStep.js.map +1 -1
  110. package/js/api/resources/GeneralLedger.js.map +1 -1
  111. package/js/api/resources/Immobilization.js.map +1 -1
  112. package/js/api/resources/IncomeAllocation.js.map +1 -1
  113. package/js/api/resources/IncomeStatement.js.map +1 -1
  114. package/js/api/resources/InternalInvoicing.js.map +1 -1
  115. package/js/api/resources/Journal.js.map +1 -1
  116. package/js/api/resources/KilometricAllowance.js.map +1 -1
  117. package/js/api/resources/LegalForm.js.map +1 -1
  118. package/js/api/resources/Letter.js.map +1 -1
  119. package/js/api/resources/Library.js +8 -3
  120. package/js/api/resources/Library.js.map +1 -1
  121. package/js/api/resources/Loan.js.map +1 -1
  122. package/js/api/resources/MachineLearning.js +7 -0
  123. package/js/api/resources/MachineLearning.js.map +1 -1
  124. package/js/api/resources/MealExpense.js.map +1 -1
  125. package/js/api/resources/Partner.js.map +1 -1
  126. package/js/api/resources/PartneredAccountant.js.map +1 -1
  127. package/js/api/resources/Payment.js.map +1 -1
  128. package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
  129. package/js/api/resources/Product.js.map +1 -1
  130. package/js/api/resources/PromoCode.js +6 -0
  131. package/js/api/resources/PromoCode.js.map +1 -1
  132. package/js/api/resources/Provision.js.map +1 -1
  133. package/js/api/resources/QuotesAccount.js.map +1 -1
  134. package/js/api/resources/Registration.js +14 -0
  135. package/js/api/resources/Registration.js.map +1 -1
  136. package/js/api/resources/Report.js.map +1 -1
  137. package/js/api/resources/Revision.js.map +1 -1
  138. package/js/api/resources/RevisionGuide.js.map +1 -1
  139. package/js/api/resources/SalariesFile.js.map +1 -1
  140. package/js/api/resources/Search.js.map +1 -1
  141. package/js/api/resources/Shine.js.map +1 -1
  142. package/js/api/resources/Simulation.js.map +1 -1
  143. package/js/api/resources/Society.js.map +1 -1
  144. package/js/api/resources/SocietyPromoCode.js.map +1 -1
  145. package/js/api/resources/Sponsorship.js.map +1 -1
  146. package/js/api/resources/Step.js.map +1 -1
  147. package/js/api/resources/Stocks.js.map +1 -1
  148. package/js/api/resources/Subscription.js.map +1 -1
  149. package/js/api/resources/Survey.js.map +1 -1
  150. package/js/api/resources/Tax.js.map +1 -1
  151. package/js/api/resources/TaxDeadline.js.map +1 -1
  152. package/js/api/resources/Transaction.js.map +1 -1
  153. package/js/api/resources/User.js.map +1 -1
  154. package/js/api/resources/VatControl.js.map +1 -1
  155. package/js/api/resources/VatDeclaration.js.map +1 -1
  156. package/js/api/resources/Vehicle.js.map +1 -1
  157. package/js/api/resources/WorkingSchedule.js.map +1 -1
  158. package/js/api/resources/ZTicket.js.map +1 -1
  159. package/js/api/resources/shareCapital.js.map +1 -1
  160. package/js/api/resources.js.map +1 -1
  161. package/js/index.js.map +1 -1
  162. package/js/types/Enum/Account.js.map +1 -1
  163. package/js/types/Enum/AccountType.js.map +1 -1
  164. package/js/types/Enum/AccountingFileType.js.map +1 -1
  165. package/js/types/Enum/AccountingJournal.js.map +1 -1
  166. package/js/types/Enum/AccountsSectors.js.map +1 -1
  167. package/js/types/Enum/Activity.js.map +1 -1
  168. package/js/types/Enum/AnswerTypeValue.js +1 -1
  169. package/js/types/Enum/AnswerTypeValue.js.map +1 -1
  170. package/js/types/Enum/Aspone.js.map +1 -1
  171. package/js/types/Enum/BalanceSheet.js.map +1 -1
  172. package/js/types/Enum/BalanceSheetModule.js.map +1 -1
  173. package/js/types/Enum/BalanceSheetQuestion.js +23 -2
  174. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
  175. package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  176. package/js/types/Enum/BalanceSheetStatus.js.map +1 -1
  177. package/js/types/Enum/BankAccountType.js.map +1 -1
  178. package/js/types/Enum/BrandClementine.js.map +1 -1
  179. package/js/types/Enum/BrandComptalib.js.map +1 -1
  180. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  181. package/js/types/Enum/CerfaType.js.map +1 -1
  182. package/js/types/Enum/Channel.js.map +1 -1
  183. package/js/types/Enum/Comment.js.map +1 -1
  184. package/js/types/Enum/ComptaType.js.map +1 -1
  185. package/js/types/Enum/ConnectorType.js.map +1 -1
  186. package/js/types/Enum/Country.js.map +1 -1
  187. package/js/types/Enum/Currency.js.map +1 -1
  188. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  189. package/js/types/Enum/ExerciceNoteType.js.map +1 -1
  190. package/js/types/Enum/FecFileDelimiter.js.map +1 -1
  191. package/js/types/Enum/FieldSocietyStat.js.map +1 -1
  192. package/js/types/Enum/FileType.js.map +1 -1
  193. package/js/types/Enum/FiscalRegime.js.map +1 -1
  194. package/js/types/Enum/FuelType.js.map +1 -1
  195. package/js/types/Enum/Ged.js.map +1 -1
  196. package/js/types/Enum/Gescom.js.map +1 -1
  197. package/js/types/Enum/GlobalRegime.js.map +1 -1
  198. package/js/types/Enum/ImmobilizationType.js.map +1 -1
  199. package/js/types/Enum/IncomeStatement.js.map +1 -1
  200. package/js/types/Enum/JeDeclare.js.map +1 -1
  201. package/js/types/Enum/KilometricAllowanceScale.js.map +1 -1
  202. package/js/types/Enum/LegalForm.js.map +1 -1
  203. package/js/types/Enum/LegalInformation.js.map +1 -1
  204. package/js/types/Enum/LetterState.js.map +1 -1
  205. package/js/types/Enum/LetterType.js.map +1 -1
  206. package/js/types/Enum/Log.js.map +1 -1
  207. package/js/types/Enum/MachineLearning.js.map +1 -1
  208. package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
  209. package/js/types/Enum/MimeType.js.map +1 -1
  210. package/js/types/Enum/Nature.js.map +1 -1
  211. package/js/types/Enum/Notification.js.map +1 -1
  212. package/js/types/Enum/Ocr.js.map +1 -1
  213. package/js/types/Enum/PartnerTransactionType.js.map +1 -1
  214. package/js/types/Enum/PartnerType.js.map +1 -1
  215. package/js/types/Enum/PartneredAccountantServiceState.js.map +1 -1
  216. package/js/types/Enum/PartneredAccountantServiceType.js.map +1 -1
  217. package/js/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -1
  218. package/js/types/Enum/PaymentMethod.js.map +1 -1
  219. package/js/types/Enum/Prestation.js.map +1 -1
  220. package/js/types/Enum/Proceding.js.map +1 -1
  221. package/js/types/Enum/ProductType.js.map +1 -1
  222. package/js/types/Enum/ProfitsType.js.map +1 -1
  223. package/js/types/Enum/ProvisionType.js.map +1 -1
  224. package/js/types/Enum/Quality.js.map +1 -1
  225. package/js/types/Enum/RegisterCategory.js.map +1 -1
  226. package/js/types/Enum/Registration.js +14 -0
  227. package/js/types/Enum/Registration.js.map +1 -0
  228. package/js/types/Enum/RegistrationSource.js.map +1 -1
  229. package/js/types/Enum/ReportState.js.map +1 -1
  230. package/js/types/Enum/ReportType.js.map +1 -1
  231. package/js/types/Enum/RevisionGuide.js.map +1 -1
  232. package/js/types/Enum/Role.js.map +1 -1
  233. package/js/types/Enum/SaleType.js.map +1 -1
  234. package/js/types/Enum/Sector.js.map +1 -1
  235. package/js/types/Enum/SendInBlueList.js.map +1 -1
  236. package/js/types/Enum/Simulation.js.map +1 -1
  237. package/js/types/Enum/SponsorshipState.js.map +1 -1
  238. package/js/types/Enum/StockType.js.map +1 -1
  239. package/js/types/Enum/SubscriptionType.js.map +1 -1
  240. package/js/types/Enum/Supervision.js.map +1 -1
  241. package/js/types/Enum/SurveyType.js.map +1 -1
  242. package/js/types/Enum/SurveyTypeDatas.js.map +1 -1
  243. package/js/types/Enum/Tax.js.map +1 -1
  244. package/js/types/Enum/TaxSystem.js.map +1 -1
  245. package/js/types/Enum/ThirdPartyType.js.map +1 -1
  246. package/js/types/Enum/TransactionKind.js.map +1 -1
  247. package/js/types/Enum/TransactionStatus.js.map +1 -1
  248. package/js/types/Enum/TypeBankConnection.js.map +1 -1
  249. package/js/types/Enum/TypeCustomerProviderOperation.js.map +1 -1
  250. package/js/types/Enum/TypeIncomeAllocation.js.map +1 -1
  251. package/js/types/Enum/TypePayment.js.map +1 -1
  252. package/js/types/Enum/Unit.js.map +1 -1
  253. package/js/types/Enum/Util.js.map +1 -1
  254. package/js/types/Enum/Vat.js +172 -20
  255. package/js/types/Enum/Vat.js.map +1 -1
  256. package/js/types/Enum/VatDeclarationType.js.map +1 -1
  257. package/js/types/Enum/VatRegime.js.map +1 -1
  258. package/js/types/Enum/Vehicle.js.map +1 -1
  259. package/js/types/Enum/VehicleType.js.map +1 -1
  260. package/js/types/Form/FormAuthenticate.js.map +1 -1
  261. package/js/types/Form/FormConnector.js.map +1 -1
  262. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  263. package/js/types/Interface/api/BaseRequest.js.map +1 -1
  264. package/js/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
  265. package/js/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
  266. package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
  267. package/js/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
  268. package/js/types/Interface/api/account/ReadAccounts.js.map +1 -1
  269. package/js/types/Interface/api/account/ReadQuoteAccount.js.map +1 -1
  270. package/js/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
  271. package/js/types/Interface/api/accountType/ReadAccountType.js.map +1 -1
  272. package/js/types/Interface/api/accountant/ReadAccountantBalance.js.map +1 -1
  273. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  274. package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
  275. package/js/types/Interface/api/accountingFiles/Ocr.js.map +1 -1
  276. package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  277. package/js/types/Interface/api/accountingFiles/OcrValue.js.map +1 -1
  278. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  279. package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
  280. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
  281. package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js +29 -0
  282. package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -0
  283. package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
  284. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  285. package/js/types/Interface/api/aspone/Util.js.map +1 -1
  286. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
  287. package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  288. package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -1
  289. package/js/types/Interface/api/balanceSheet/ReadFreelanceTurnover.js.map +1 -1
  290. package/js/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
  291. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  292. package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
  293. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  294. package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  295. package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
  296. package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
  297. package/js/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -1
  298. package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
  299. package/js/types/Interface/api/businessPartner/ReadBusinessPartner.js.map +1 -1
  300. package/js/types/Interface/api/cerfa/2031.js.map +1 -1
  301. package/js/types/Interface/api/cerfa/2033.js.map +1 -1
  302. package/js/types/Interface/api/cerfa/2035.js.map +1 -1
  303. package/js/types/Interface/api/cerfa/2050.js +0 -4
  304. package/js/types/Interface/api/cerfa/2050.js.map +1 -1
  305. package/js/types/Interface/api/cerfa/2065.js.map +1 -1
  306. package/js/types/Interface/api/cerfa/2572.js.map +1 -1
  307. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  308. package/js/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  309. package/js/types/Interface/api/cerfa/Utils.js.map +1 -1
  310. package/js/types/Interface/api/closing/ProcessedClosing.js.map +1 -1
  311. package/js/types/Interface/api/crisp/GetCrisp.js.map +1 -1
  312. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  313. package/js/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
  314. package/js/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
  315. package/js/types/Interface/api/dashboard/QueryGescom.js.map +1 -1
  316. package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
  317. package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
  318. package/js/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
  319. package/js/types/Interface/api/dashboard/QueryVat.js.map +1 -1
  320. package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -1
  321. package/js/types/Interface/api/dashboard/ReadDeadline.js.map +1 -1
  322. package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
  323. package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
  324. package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
  325. package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -1
  326. package/js/types/Interface/api/dashboard/ReadVat.js.map +1 -1
  327. package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
  328. package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
  329. package/js/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
  330. package/js/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
  331. package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
  332. package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
  333. package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
  334. package/js/types/Interface/api/fecFile/DeleteFecFile.js.map +1 -1
  335. package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
  336. package/js/types/Interface/api/fecFile/ReadFecFile.js.map +1 -1
  337. package/js/types/Interface/api/file/TFile.js.map +1 -1
  338. package/js/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
  339. package/js/types/Interface/api/financialCharge/CreatedNonDeductibleInterests.js.map +1 -1
  340. package/js/types/Interface/api/financialCharge/ReadFinancialChargesBalance.js.map +1 -1
  341. package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  342. package/js/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  343. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  344. package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  345. package/js/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -1
  346. package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
  347. package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -1
  348. package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -1
  349. package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  350. package/js/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  351. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
  352. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
  353. package/js/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  354. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
  355. package/js/types/Interface/api/jeDeclare/ReadJeDeclare.js.map +1 -1
  356. package/js/types/Interface/api/jeDeclare/Util.js.map +1 -1
  357. package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
  358. package/js/types/Interface/api/journal/Journals.js.map +1 -1
  359. package/js/types/Interface/api/journal/QueryJournal.js.map +1 -1
  360. package/js/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
  361. package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
  362. package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
  363. package/js/types/Interface/api/library/ReadLibraryFile.js.map +1 -1
  364. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
  365. package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
  366. package/js/types/Interface/api/log/CreateLog.js.map +1 -1
  367. package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
  368. package/js/types/Interface/api/machineLearning/ResultCreateMachineLearningAnnotation.js.map +1 -1
  369. package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
  370. package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
  371. package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
  372. package/js/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -1
  373. package/js/types/Interface/api/ocr/CreateOcr.js.map +1 -1
  374. package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
  375. package/js/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -1
  376. package/js/types/Interface/api/pappers/CreatePappers.js.map +1 -1
  377. package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -1
  378. package/js/types/Interface/api/pappers/ReadPappers.js.map +1 -1
  379. package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
  380. package/js/types/Interface/api/partner/GetPartners.js.map +1 -1
  381. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
  382. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
  383. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
  384. package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -1
  385. package/js/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
  386. package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
  387. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
  388. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -1
  389. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js.map +1 -1
  390. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -1
  391. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -1
  392. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -1
  393. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -1
  394. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -1
  395. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
  396. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
  397. package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
  398. package/js/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
  399. package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  400. package/js/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.js.map +1 -1
  401. package/js/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -1
  402. package/js/types/Interface/api/pdf/BillingDocumentData.js.map +1 -1
  403. package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
  404. package/js/types/Interface/api/prestashop/PSAddress.js.map +1 -1
  405. package/js/types/Interface/api/prestashop/PSCountry.js.map +1 -1
  406. package/js/types/Interface/api/prestashop/PSObject.js.map +1 -1
  407. package/js/types/Interface/api/prestashop/PSOrder.js.map +1 -1
  408. package/js/types/Interface/api/prestashop/PSOrderRow.js.map +1 -1
  409. package/js/types/Interface/api/product/CreateProduct.js +1 -1
  410. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  411. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  412. package/js/types/Interface/api/product/UpdateProduct.js.map +1 -1
  413. package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
  414. package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js +49 -0
  415. package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
  416. package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js +6 -0
  417. package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
  418. package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
  419. package/js/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  420. package/js/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
  421. package/js/types/Interface/api/provision/QueryProvisions.js.map +1 -1
  422. package/js/types/Interface/api/provision/ReadProvision.js.map +1 -1
  423. package/js/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
  424. package/js/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
  425. package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
  426. package/js/types/Interface/api/registration/CreateRegistration.js +11 -3
  427. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  428. package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  429. package/js/types/Interface/api/registration/QueryRegistration.js +29 -0
  430. package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -0
  431. package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  432. package/js/types/Interface/api/report/CreateReport.js.map +1 -1
  433. package/js/types/Interface/api/report/DeleteReport.js.map +1 -1
  434. package/js/types/Interface/api/report/QueryReports.js.map +1 -1
  435. package/js/types/Interface/api/report/QueryReportsStats.js.map +1 -1
  436. package/js/types/Interface/api/report/ReadReport.js.map +1 -1
  437. package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
  438. package/js/types/Interface/api/report/UpdateReport.js.map +1 -1
  439. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  440. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  441. package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
  442. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  443. package/js/types/Interface/api/revision/ReadRevision.js.map +1 -1
  444. package/js/types/Interface/api/revision/ReadRevisionAccount.js.map +1 -1
  445. package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +1 -1
  446. package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +1 -1
  447. package/js/types/Interface/api/revision/Revision.js.map +1 -1
  448. package/js/types/Interface/api/revision/RevisionObject.js.map +1 -1
  449. package/js/types/Interface/api/revisionGuide/CreateRevisionGuide.js.map +1 -1
  450. package/js/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
  451. package/js/types/Interface/api/salariesFile/ReadSalariesFile.js.map +1 -1
  452. package/js/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
  453. package/js/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
  454. package/js/types/Interface/api/shareCapital/ReadShareCapital.js.map +1 -1
  455. package/js/types/Interface/api/shareCapital/ReadShareCapitalProvided.js.map +1 -1
  456. package/js/types/Interface/api/shareCapital/ResultCreateShareCapital.js.map +1 -1
  457. package/js/types/Interface/api/shine/ConnectResponse.js.map +1 -1
  458. package/js/types/Interface/api/shine/CreateShine.js.map +1 -1
  459. package/js/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
  460. package/js/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
  461. package/js/types/Interface/api/shine/GetConnect.js.map +1 -1
  462. package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  463. package/js/types/Interface/api/shopify/ShopifyFinancialStatus.js.map +1 -1
  464. package/js/types/Interface/api/shopify/ShopifyOrder.js.map +1 -1
  465. package/js/types/Interface/api/shopify/address.js.map +1 -1
  466. package/js/types/Interface/api/shopify/base.js.map +1 -1
  467. package/js/types/Interface/api/shopify/client_details.js.map +1 -1
  468. package/js/types/Interface/api/shopify/customer.js.map +1 -1
  469. package/js/types/Interface/api/shopify/discount_allocation.js.map +1 -1
  470. package/js/types/Interface/api/shopify/discount_application.js.map +1 -1
  471. package/js/types/Interface/api/shopify/discount_code.js.map +1 -1
  472. package/js/types/Interface/api/shopify/fulfillment.js.map +1 -1
  473. package/js/types/Interface/api/shopify/line_item.js.map +1 -1
  474. package/js/types/Interface/api/shopify/line_item_property.js.map +1 -1
  475. package/js/types/Interface/api/shopify/location.js.map +1 -1
  476. package/js/types/Interface/api/shopify/note_attribute.js.map +1 -1
  477. package/js/types/Interface/api/shopify/payment_details.js.map +1 -1
  478. package/js/types/Interface/api/shopify/price_set.js.map +1 -1
  479. package/js/types/Interface/api/shopify/refund.js.map +1 -1
  480. package/js/types/Interface/api/shopify/shipping_line.js.map +1 -1
  481. package/js/types/Interface/api/shopify/tax_line.js.map +1 -1
  482. package/js/types/Interface/api/shopify/transaction.js.map +1 -1
  483. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  484. package/js/types/Interface/api/simulation/ReadSimulation.js.map +1 -1
  485. package/js/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
  486. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  487. package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
  488. package/js/types/Interface/api/society/GetDataSociety.js.map +1 -1
  489. package/js/types/Interface/api/society/LegalFormSiren.js.map +1 -1
  490. package/js/types/Interface/api/society/ListUserSociety.js.map +1 -1
  491. package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
  492. package/js/types/Interface/api/society/ReadSociety.js.map +1 -1
  493. package/js/types/Interface/api/society/ReadSocietyUsers.js.map +1 -1
  494. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  495. package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
  496. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
  497. package/js/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
  498. package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
  499. package/js/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
  500. package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
  501. package/js/types/Interface/api/stock/StockEntries.js.map +1 -1
  502. package/js/types/Interface/api/stock/Stocks.js.map +1 -1
  503. package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -1
  504. package/js/types/Interface/api/stock/StocksType.js.map +1 -1
  505. package/js/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  506. package/js/types/Interface/api/stripe/ReadStripe.js.map +1 -1
  507. package/js/types/Interface/api/survey/CreateSurvey.js.map +1 -1
  508. package/js/types/Interface/api/survey/QuerySurvey.js.map +1 -1
  509. package/js/types/Interface/api/survey/QuerySurveys.js.map +1 -1
  510. package/js/types/Interface/api/survey/ReadSurvey.js.map +1 -1
  511. package/js/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
  512. package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
  513. package/js/types/Interface/api/tax/ReadCompanyTax.js.map +1 -1
  514. package/js/types/Interface/api/tax/ReadTax.js.map +1 -1
  515. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  516. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  517. package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  518. package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
  519. package/js/types/Interface/api/user/CreateUser.js.map +1 -1
  520. package/js/types/Interface/api/user/Permissions.js.map +1 -1
  521. package/js/types/Interface/api/user/QueryConfirm.js.map +1 -1
  522. package/js/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
  523. package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
  524. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
  525. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  526. package/js/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js.map +1 -1
  527. package/js/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -1
  528. package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
  529. package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
  530. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  531. package/js/types/Interface/api/woocommerce/WCBilling.js.map +1 -1
  532. package/js/types/Interface/api/woocommerce/WCLineItem.js.map +1 -1
  533. package/js/types/Interface/api/woocommerce/WCLinks.js.map +1 -1
  534. package/js/types/Interface/api/woocommerce/WCMetaData.js.map +1 -1
  535. package/js/types/Interface/api/woocommerce/WCOrder.js.map +1 -1
  536. package/js/types/Interface/api/woocommerce/WCSelf.js.map +1 -1
  537. package/js/types/Interface/api/woocommerce/WCShiping.js.map +1 -1
  538. package/js/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -1
  539. package/js/types/Interface/api/woocommerce/WCTaxes.js.map +1 -1
  540. package/js/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
  541. package/js/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
  542. package/js/types/Interface/models/IAbsenceType.js.map +1 -1
  543. package/js/types/Interface/models/IAccessToken.js.map +1 -1
  544. package/js/types/Interface/models/IAccount.js.map +1 -1
  545. package/js/types/Interface/models/IAccountDetail.js.map +1 -1
  546. package/js/types/Interface/models/IAccountExtend.js.map +1 -1
  547. package/js/types/Interface/models/IAccountHelp.js.map +1 -1
  548. package/js/types/Interface/models/IAccountType.js.map +1 -1
  549. package/js/types/Interface/models/IAccountantTracker.js.map +1 -1
  550. package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
  551. package/js/types/Interface/models/IAccountingFile.js.map +1 -1
  552. package/js/types/Interface/models/IAccountingFileType.js.map +1 -1
  553. package/js/types/Interface/models/IAccountingJournal.js.map +1 -1
  554. package/js/types/Interface/models/IAccountingState.js.map +1 -1
  555. package/js/types/Interface/models/IAccountingStateType.js.map +1 -1
  556. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  557. package/js/types/Interface/models/IAccountingTransaction_new.js.map +1 -1
  558. package/js/types/Interface/models/IAccountsSectors.js.map +1 -1
  559. package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
  560. package/js/types/Interface/models/IActivity.js.map +1 -1
  561. package/js/types/Interface/models/IAdditionalBalance.js.map +1 -1
  562. package/js/types/Interface/models/IAlert.js.map +1 -1
  563. package/js/types/Interface/models/IAllowedIp.js.map +1 -1
  564. package/js/types/Interface/models/IAnalyticsUtm.js.map +1 -1
  565. package/js/types/Interface/models/IAnswerType.js.map +1 -1
  566. package/js/types/Interface/models/IAnswerTypeValue.js.map +1 -1
  567. package/js/types/Interface/models/IApiError.js.map +1 -1
  568. package/js/types/Interface/models/IAppConfig.js.map +1 -1
  569. package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
  570. package/js/types/Interface/models/IAskAbsence.js.map +1 -1
  571. package/js/types/Interface/models/IAskAbsenceTimes.js.map +1 -1
  572. package/js/types/Interface/models/IAttachmentFile.js.map +1 -1
  573. package/js/types/Interface/models/IAttestation.js.map +1 -1
  574. package/js/types/Interface/models/IAttributionHistory.js.map +1 -1
  575. package/js/types/Interface/models/IAutoLoginToken.js.map +1 -1
  576. package/js/types/Interface/models/IBalanceBankAccount.js.map +1 -1
  577. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  578. package/js/types/Interface/models/IBalanceSheetCompletion.js.map +1 -1
  579. package/js/types/Interface/models/IBalanceSheetHistory.js.map +1 -1
  580. package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  581. package/js/types/Interface/models/IBalanceSheetModule2.js.map +1 -1
  582. package/js/types/Interface/models/IBalanceSheetQuestion.js.map +1 -1
  583. package/js/types/Interface/models/IBalanceSheetStatus.js.map +1 -1
  584. package/js/types/Interface/models/IBankAccount.js.map +1 -1
  585. package/js/types/Interface/models/IBankAccountSynchroHistory.js.map +1 -1
  586. package/js/types/Interface/models/IBankConnection.js.map +1 -1
  587. package/js/types/Interface/models/IBankList.js.map +1 -1
  588. package/js/types/Interface/models/IBankTransaction.js.map +1 -1
  589. package/js/types/Interface/models/IBrandType.js.map +1 -1
  590. package/js/types/Interface/models/IBusinessLine.js.map +1 -1
  591. package/js/types/Interface/models/IBusinessPartner.js.map +1 -1
  592. package/js/types/Interface/models/ICalendarEvent.js.map +1 -1
  593. package/js/types/Interface/models/ICalendarEventUser.js.map +1 -1
  594. package/js/types/Interface/models/ICallDirectly.js.map +1 -1
  595. package/js/types/Interface/models/ICashDeskTransactionType.js.map +1 -1
  596. package/js/types/Interface/models/ICategory.js.map +1 -1
  597. package/js/types/Interface/models/ICerfaType.js.map +1 -1
  598. package/js/types/Interface/models/ICerfaValue.js.map +1 -1
  599. package/js/types/Interface/models/IChangeLog.js.map +1 -1
  600. package/js/types/Interface/models/IChannelType.js.map +1 -1
  601. package/js/types/Interface/models/IChecklist.js.map +1 -1
  602. package/js/types/Interface/models/IChecklistCategoryType.js.map +1 -1
  603. package/js/types/Interface/models/IChecklistDetail.js.map +1 -1
  604. package/js/types/Interface/models/IChecklistType.js.map +1 -1
  605. package/js/types/Interface/models/ICivility.js.map +1 -1
  606. package/js/types/Interface/models/IColor.js.map +1 -1
  607. package/js/types/Interface/models/IComment.js.map +1 -1
  608. package/js/types/Interface/models/ICommentType.js.map +1 -1
  609. package/js/types/Interface/models/IComptaHistoryType.js.map +1 -1
  610. package/js/types/Interface/models/IComptaType.js.map +1 -1
  611. package/js/types/Interface/models/IConnector.js.map +1 -1
  612. package/js/types/Interface/models/IConnectorType.js.map +1 -1
  613. package/js/types/Interface/models/IContractType.js.map +1 -1
  614. package/js/types/Interface/models/ICotation.js.map +1 -1
  615. package/js/types/Interface/models/ICountry.js.map +1 -1
  616. package/js/types/Interface/models/ICurrency.js.map +1 -1
  617. package/js/types/Interface/models/ICustomerIsRegime.js.map +1 -1
  618. package/js/types/Interface/models/ICustomerSignature.js.map +1 -1
  619. package/js/types/Interface/models/ICustomerTva.js.map +1 -1
  620. package/js/types/Interface/models/ICustomisation.js.map +1 -1
  621. package/js/types/Interface/models/ICustomizationType.js.map +1 -1
  622. package/js/types/Interface/models/ICycle.js.map +1 -1
  623. package/js/types/Interface/models/IDay.js.map +1 -1
  624. package/js/types/Interface/models/IDefaultPromotion.js +6 -0
  625. package/js/types/Interface/models/IDefaultPromotion.js.map +1 -0
  626. package/js/types/Interface/models/IDetailedLogBi.js.map +1 -1
  627. package/js/types/Interface/models/IDirectDebitHistory.js.map +1 -1
  628. package/js/types/Interface/models/IDocumentWaitingType.js.map +1 -1
  629. package/js/types/Interface/models/IEmployee.js.map +1 -1
  630. package/js/types/Interface/models/IEngagementAccountingEntry.js.map +1 -1
  631. package/js/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
  632. package/js/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  633. package/js/types/Interface/models/IEngagementOcrExtraction.js.map +1 -1
  634. package/js/types/Interface/models/IErrorCode.js.map +1 -1
  635. package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
  636. package/js/types/Interface/models/IEstimateInvoiceRepeat.js.map +1 -1
  637. package/js/types/Interface/models/IEstimateInvoiceType.js.map +1 -1
  638. package/js/types/Interface/models/IExercice.js.map +1 -1
  639. package/js/types/Interface/models/IExerciceComment.js.map +1 -1
  640. package/js/types/Interface/models/IExerciceDetail.js.map +1 -1
  641. package/js/types/Interface/models/IExerciceNote.js.map +1 -1
  642. package/js/types/Interface/models/IExercicePrestation.js.map +1 -1
  643. package/js/types/Interface/models/IExerciceQuestion.js.map +1 -1
  644. package/js/types/Interface/models/IFailedLoginAttempt.js.map +1 -1
  645. package/js/types/Interface/models/IFaq.js.map +1 -1
  646. package/js/types/Interface/models/IFaqCategory.js.map +1 -1
  647. package/js/types/Interface/models/IFecFile.js.map +1 -1
  648. package/js/types/Interface/models/IField.js.map +1 -1
  649. package/js/types/Interface/models/IFile.js.map +1 -1
  650. package/js/types/Interface/models/IFileMissing.js.map +1 -1
  651. package/js/types/Interface/models/IFileType.js.map +1 -1
  652. package/js/types/Interface/models/IFirstStep.js.map +1 -1
  653. package/js/types/Interface/models/IFiscalRegime.js.map +1 -1
  654. package/js/types/Interface/models/IFolderFile.js.map +1 -1
  655. package/js/types/Interface/models/IFollow.js.map +1 -1
  656. package/js/types/Interface/models/IFollowList.js.map +1 -1
  657. package/js/types/Interface/models/IFollowedQualityMail.js.map +1 -1
  658. package/js/types/Interface/models/IFollowedQualityMailType.js.map +1 -1
  659. package/js/types/Interface/models/IFormalism.js.map +1 -1
  660. package/js/types/Interface/models/IFormalismValue.js.map +1 -1
  661. package/js/types/Interface/models/IFrequency.js.map +1 -1
  662. package/js/types/Interface/models/IFuel.js.map +1 -1
  663. package/js/types/Interface/models/IGedCategory.js.map +1 -1
  664. package/js/types/Interface/models/IGedFile.js.map +1 -1
  665. package/js/types/Interface/models/IGedFileType.js.map +1 -1
  666. package/js/types/Interface/models/IGedFolder.js.map +1 -1
  667. package/js/types/Interface/models/IIdentification.js.map +1 -1
  668. package/js/types/Interface/models/IImmobilization.js.map +1 -1
  669. package/js/types/Interface/models/IIndependentReview.js.map +1 -1
  670. package/js/types/Interface/models/IInterestedByFeature.js.map +1 -1
  671. package/js/types/Interface/models/IInternalEstimate.js.map +1 -1
  672. package/js/types/Interface/models/IIpTmpBlocked.js.map +1 -1
  673. package/js/types/Interface/models/IJob.js.map +1 -1
  674. package/js/types/Interface/models/IJobCategory.js.map +1 -1
  675. package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  676. package/js/types/Interface/models/ILabelPaymentWaiting.js.map +1 -1
  677. package/js/types/Interface/models/ILastUpdateConnection.js.map +1 -1
  678. package/js/types/Interface/models/ILegalForm.js.map +1 -1
  679. package/js/types/Interface/models/ILegalNotice.js.map +1 -1
  680. package/js/types/Interface/models/ILetter.js.map +1 -1
  681. package/js/types/Interface/models/ILetterType.js.map +1 -1
  682. package/js/types/Interface/models/ILettering.js.map +1 -1
  683. package/js/types/Interface/models/ILoan.js.map +1 -1
  684. package/js/types/Interface/models/ILog.js.map +1 -1
  685. package/js/types/Interface/models/ILogBi.js.map +1 -1
  686. package/js/types/Interface/models/ILogType.js.map +1 -1
  687. package/js/types/Interface/models/IMachineLearningResult.js.map +1 -1
  688. package/js/types/Interface/models/IMailAuto.js.map +1 -1
  689. package/js/types/Interface/models/IMailAutoType.js.map +1 -1
  690. package/js/types/Interface/models/IMailSociety.js.map +1 -1
  691. package/js/types/Interface/models/IMonth.js.map +1 -1
  692. package/js/types/Interface/models/INationality.js.map +1 -1
  693. package/js/types/Interface/models/INature.js.map +1 -1
  694. package/js/types/Interface/models/INote.js.map +1 -1
  695. package/js/types/Interface/models/INotification.js.map +1 -1
  696. package/js/types/Interface/models/INotificationCodeType.js.map +1 -1
  697. package/js/types/Interface/models/INotificationType.js.map +1 -1
  698. package/js/types/Interface/models/IOldExpertInfo.js.map +1 -1
  699. package/js/types/Interface/models/IOperationLegalNotice.js.map +1 -1
  700. package/js/types/Interface/models/IPageView.js.map +1 -1
  701. package/js/types/Interface/models/IPartnerTransaction.js.map +1 -1
  702. package/js/types/Interface/models/IPartnerTransactionType.js.map +1 -1
  703. package/js/types/Interface/models/IPartneredAccountant.js.map +1 -1
  704. package/js/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -1
  705. package/js/types/Interface/models/IPartneredAccountantPicture.js.map +1 -1
  706. package/js/types/Interface/models/IPartneredAccountantService.js.map +1 -1
  707. package/js/types/Interface/models/IPartneredAccountantServiceIcon.js.map +1 -1
  708. package/js/types/Interface/models/IPartneredAccountantTag.js.map +1 -1
  709. package/js/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -1
  710. package/js/types/Interface/models/IPartneredAccountantToTag.js.map +1 -1
  711. package/js/types/Interface/models/IPayPlan.js.map +1 -1
  712. package/js/types/Interface/models/IPayment.js.map +1 -1
  713. package/js/types/Interface/models/IPaymentDelay.js.map +1 -1
  714. package/js/types/Interface/models/IPaymentExpectation.js.map +1 -1
  715. package/js/types/Interface/models/IPaymentExpectationCustomer.js.map +1 -1
  716. package/js/types/Interface/models/IPaymentMethod.js.map +1 -1
  717. package/js/types/Interface/models/IPaymentSchedule.js.map +1 -1
  718. package/js/types/Interface/models/IPaymentWaiting.js.map +1 -1
  719. package/js/types/Interface/models/IPenalty.js.map +1 -1
  720. package/js/types/Interface/models/IPenaltyType.js.map +1 -1
  721. package/js/types/Interface/models/IPendingPoint.js.map +1 -1
  722. package/js/types/Interface/models/IPermission.js.map +1 -1
  723. package/js/types/Interface/models/IPhoneNumber.js.map +1 -1
  724. package/js/types/Interface/models/IPhonePrefix.js.map +1 -1
  725. package/js/types/Interface/models/IPhonePrefixChild.js.map +1 -1
  726. package/js/types/Interface/models/IPrestation.js.map +1 -1
  727. package/js/types/Interface/models/IPrestationComplementary.js.map +1 -1
  728. package/js/types/Interface/models/IPrestationList.js.map +1 -1
  729. package/js/types/Interface/models/IProcedure.js.map +1 -1
  730. package/js/types/Interface/models/IProduct.js.map +1 -1
  731. package/js/types/Interface/models/IProductInvoice.js.map +1 -1
  732. package/js/types/Interface/models/IPromoCode.js.map +1 -1
  733. package/js/types/Interface/models/IQuality.js.map +1 -1
  734. package/js/types/Interface/models/IQuotaLead.js.map +1 -1
  735. package/js/types/Interface/models/IRating.js.map +1 -1
  736. package/js/types/Interface/models/IReason.js.map +1 -1
  737. package/js/types/Interface/models/IReasonTermination.js.map +1 -1
  738. package/js/types/Interface/models/IRecontactHistory.js.map +1 -1
  739. package/js/types/Interface/models/IRefund.js.map +1 -1
  740. package/js/types/Interface/models/IRefundMotif.js.map +1 -1
  741. package/js/types/Interface/models/IRegion.js.map +1 -1
  742. package/js/types/Interface/models/IRegisterCategory.js.map +1 -1
  743. package/js/types/Interface/models/IRegistration.js.map +1 -1
  744. package/js/types/Interface/models/IRegulate.js.map +1 -1
  745. package/js/types/Interface/models/IRegulation.js.map +1 -1
  746. package/js/types/Interface/models/IRelatedAccountingTransaction.js.map +1 -1
  747. package/js/types/Interface/models/IRepeatType.js.map +1 -1
  748. package/js/types/Interface/models/IReport.js.map +1 -1
  749. package/js/types/Interface/models/IReportType.js.map +1 -1
  750. package/js/types/Interface/models/IRevisionGuide.js.map +1 -1
  751. package/js/types/Interface/models/IRole.js.map +1 -1
  752. package/js/types/Interface/models/IRoleUser.js.map +1 -1
  753. package/js/types/Interface/models/IRoom.js.map +1 -1
  754. package/js/types/Interface/models/IRule.js.map +1 -1
  755. package/js/types/Interface/models/ISalariesFile.js.map +1 -1
  756. package/js/types/Interface/models/ISchedule.js.map +1 -1
  757. package/js/types/Interface/models/ISector.js.map +1 -1
  758. package/js/types/Interface/models/ISendMethod.js.map +1 -1
  759. package/js/types/Interface/models/IService.js.map +1 -1
  760. package/js/types/Interface/models/ISheetMonthSchedule.js.map +1 -1
  761. package/js/types/Interface/models/ISimulation.js.map +1 -1
  762. package/js/types/Interface/models/ISimulationAdditionalFinance.js.map +1 -1
  763. package/js/types/Interface/models/ISimulationColor.js.map +1 -1
  764. package/js/types/Interface/models/ISimulationElement.js.map +1 -1
  765. package/js/types/Interface/models/ISimulationHasBankAccount.js.map +1 -1
  766. package/js/types/Interface/models/ISimulationPeriod.js.map +1 -1
  767. package/js/types/Interface/models/ISimulationSummary.js.map +1 -1
  768. package/js/types/Interface/models/ISms.js.map +1 -1
  769. package/js/types/Interface/models/ISmsType.js.map +1 -1
  770. package/js/types/Interface/models/ISocialDetail.js.map +1 -1
  771. package/js/types/Interface/models/ISociety.js.map +1 -1
  772. package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
  773. package/js/types/Interface/models/ISocietyBank.js.map +1 -1
  774. package/js/types/Interface/models/ISocietyBudgetConnection.js.map +1 -1
  775. package/js/types/Interface/models/ISocietyCgv.js.map +1 -1
  776. package/js/types/Interface/models/ISocietyConfig.js.map +1 -1
  777. package/js/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
  778. package/js/types/Interface/models/ISocietyDetail.js.map +1 -1
  779. package/js/types/Interface/models/ISocietyFile.js.map +1 -1
  780. package/js/types/Interface/models/ISocietyGescom.js.map +1 -1
  781. package/js/types/Interface/models/ISocietyJuridical.js.map +1 -1
  782. package/js/types/Interface/models/ISocietyNote.js.map +1 -1
  783. package/js/types/Interface/models/ISocietyPartner.js.map +1 -1
  784. package/js/types/Interface/models/ISocietyProceding.js.map +1 -1
  785. package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -1
  786. package/js/types/Interface/models/ISocietyRelance.js.map +1 -1
  787. package/js/types/Interface/models/ISocietySocial.js.map +1 -1
  788. package/js/types/Interface/models/ISocietySoftware.js.map +1 -1
  789. package/js/types/Interface/models/ISocietyStat.js.map +1 -1
  790. package/js/types/Interface/models/ISocietyVehicle.js.map +1 -1
  791. package/js/types/Interface/models/ISoftwareCompta.js.map +1 -1
  792. package/js/types/Interface/models/ISource.js.map +1 -1
  793. package/js/types/Interface/models/ISpecialOperation.js.map +1 -1
  794. package/js/types/Interface/models/ISponsorship.js.map +1 -1
  795. package/js/types/Interface/models/ISponsorshipCheck.js.map +1 -1
  796. package/js/types/Interface/models/ISponsorshipLink.js.map +1 -1
  797. package/js/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +1 -1
  798. package/js/types/Interface/models/IStatusSignature.js.map +1 -1
  799. package/js/types/Interface/models/IStock.js.map +1 -1
  800. package/js/types/Interface/models/IStripeEvent.js.map +1 -1
  801. package/js/types/Interface/models/IStripeEventType.js.map +1 -1
  802. package/js/types/Interface/models/ISubscriptionType.js.map +1 -1
  803. package/js/types/Interface/models/ISuggestion.js.map +1 -1
  804. package/js/types/Interface/models/ISupervision.js.map +1 -1
  805. package/js/types/Interface/models/ISupervisionJob.js.map +1 -1
  806. package/js/types/Interface/models/ISupervisionPendingPoint.js.map +1 -1
  807. package/js/types/Interface/models/ISurvey.js.map +1 -1
  808. package/js/types/Interface/models/ITag.js.map +1 -1
  809. package/js/types/Interface/models/ITask.js.map +1 -1
  810. package/js/types/Interface/models/ITaxSystem.js.map +1 -1
  811. package/js/types/Interface/models/ITeam.js.map +1 -1
  812. package/js/types/Interface/models/ITeamBusinessLine.js.map +1 -1
  813. package/js/types/Interface/models/ITerminationList.js.map +1 -1
  814. package/js/types/Interface/models/IThirdParty.js.map +1 -1
  815. package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
  816. package/js/types/Interface/models/IThirdPartyType.js.map +1 -1
  817. package/js/types/Interface/models/ITicketSupport.js.map +1 -1
  818. package/js/types/Interface/models/ITicketSupportFollow.js.map +1 -1
  819. package/js/types/Interface/models/ITimeTracking.js.map +1 -1
  820. package/js/types/Interface/models/ITimeTrackingSource.js.map +1 -1
  821. package/js/types/Interface/models/ITmpValidationToken.js.map +1 -1
  822. package/js/types/Interface/models/IUser.js.map +1 -1
  823. package/js/types/Interface/models/IUserNotification.js.map +1 -1
  824. package/js/types/Interface/models/IUserSocietyPermission.js.map +1 -1
  825. package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -1
  826. package/js/types/Interface/models/IUserTeam.js.map +1 -1
  827. package/js/types/Interface/models/IUserTest.js.map +1 -1
  828. package/js/types/Interface/models/IVat.js.map +1 -1
  829. package/js/types/Interface/models/IVatDeclaration.js.map +1 -1
  830. package/js/types/Interface/models/IVatDeclarationCertificate.js.map +1 -1
  831. package/js/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
  832. package/js/types/Interface/models/IVatMargin.js.map +1 -1
  833. package/js/types/Interface/models/IVatRegime.js.map +1 -1
  834. package/js/types/Interface/models/IVehicleType.js.map +1 -1
  835. package/js/types/Interface/models/IWebMail.js.map +1 -1
  836. package/js/types/Interface/models/IWebMailAttachment.js.map +1 -1
  837. package/js/types/Interface/models/IWebMailSpam.js.map +1 -1
  838. package/js/types/Interface/models/IWebMailSpamType.js.map +1 -1
  839. package/js/types/Interface/models/IWebMailStat.js.map +1 -1
  840. package/js/types/Interface/models/IWebMailType.js.map +1 -1
  841. package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
  842. package/js/types/Interface/models/IZTicket.js.map +1 -1
  843. package/js/types/index.js +72 -0
  844. package/js/types/index.js.map +1 -1
  845. package/js/utils/balanceSheetModule.js.map +1 -1
  846. package/js/utils/brands.js.map +1 -1
  847. package/js/utils/cerfa.js.map +1 -1
  848. package/js/utils/decorators.js.map +1 -1
  849. package/js/utils/index.js.map +1 -1
  850. package/js/utils/logger.js.map +1 -1
  851. package/js/utils/objectUtils/BaseEntity.js.map +1 -1
  852. package/js/utils/objectUtils/flattenObject.js.map +1 -1
  853. package/js/utils/objectUtils/fullFlattenObject.js.map +1 -1
  854. package/js/utils/objectUtils/index.js.map +1 -1
  855. package/js/utils/objectUtils/isValidObject.js.map +1 -1
  856. package/js/utils/objectUtils/overwrite.js.map +1 -1
  857. package/js/utils/objectUtils/unflattenObject.js.map +1 -1
  858. package/js/utils/siretValidation.js.map +1 -1
  859. package/js/utils/stringUtils/clean.js.map +1 -1
  860. package/js/utils/stringUtils/index.js.map +1 -1
  861. package/js/utils/transforms/boolean.transform.js.map +1 -1
  862. package/js/utils/validators/formattedDateString.validator.js.map +1 -1
  863. package/js/utils/validators/objectId.validator.js.map +1 -1
  864. package/package.json +1 -1
  865. package/ts/api/resources/Closing.ts +3 -0
  866. package/ts/api/resources/Library.ts +11 -2
  867. package/ts/api/resources/MachineLearning.ts +10 -1
  868. package/ts/api/resources/PromoCode.ts +7 -1
  869. package/ts/api/resources/Registration.ts +12 -1
  870. package/ts/types/Enum/AnswerTypeValue.ts +1 -1
  871. package/ts/types/Enum/BalanceSheetQuestion.ts +23 -2
  872. package/ts/types/Enum/Registration.ts +6 -0
  873. package/ts/types/Enum/Vat.ts +182 -12
  874. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
  875. package/ts/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.ts +9 -0
  876. package/ts/types/Interface/api/cerfa/2050.ts +0 -2
  877. package/ts/types/Interface/api/product/CreateProduct.ts +1 -2
  878. package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +30 -0
  879. package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +6 -0
  880. package/ts/types/Interface/api/registration/CreateRegistration.ts +17 -14
  881. package/ts/types/Interface/api/registration/QueryRegistration.ts +12 -0
  882. package/ts/types/Interface/api/registration/ReadRegistration.ts +2 -9
  883. package/ts/types/Interface/models/IDefaultPromotion.ts +16 -0
  884. package/ts/types/Interface/models/IFecFile.ts +1 -0
  885. package/ts/types/Interface/models/IRegistration.ts +4 -3
  886. package/ts/types/index.ts +6 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/ExerciceNote.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,YAAP,SAA4B,kBAA5B,CAAoC;AACxC,EAAA,GAAG,CAAC,UAAD,EAAqB,MAArB,EAA8C;AAC/C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,aAAa,UAAU,OAAvC,EAAgD;AAAE,MAAA;AAAF,KAAhD,CAAP;AACD;;AACD,EAAA,cAAc,CAAC,UAAD,EAAqB,OAArB,EAAgD;AAC5D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,UAAU,OAAxC,EAAiD,OAAjD,CAAP;AACD;;AACD,EAAA,YAAY,CAAC,UAAD,EAAqB,OAArB,EAAoD;AAC9D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,UAAU,YAAxC,EAAsD,OAAtD,CAAP;AACD;;AATuC;;QAA7B,Y,GAAA,Y","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryExerciceNote } from '../..';\nimport { CreateExerciceNote, CreateExerciceNoteFile, IGedFile } from '../../types';\nimport { IExerciceNote } from '../../types/Interface/models/IExerciceNote';\n\nexport class ExerciceNote extends Resource {\n get(idExercice: number, params: QueryExerciceNote): Promise<IExerciceNote | null> {\n return this.axios.$get(`/exercice/${idExercice}/note`, { params });\n }\n updateOrCreate(idExercice: number, payload: CreateExerciceNote): Promise<IExerciceNote> {\n return this.axios.$post(`/exercice/${idExercice}/note`, payload);\n }\n generateFile(idExercice: number, payload: CreateExerciceNoteFile): Promise<IGedFile> {\n return this.axios.$post(`/exercice/${idExercice}/note/file`, payload);\n }\n}"],"sourceRoot":"","file":"ExerciceNote.js"}
1
+ {"version":3,"file":"ExerciceNote.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;AACxCC,KAAG,CAACC,UAAD,EAAqBC,MAArB,EAA8C;AAC/C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaH,UAAU,OAAvC,EAAgD;AAAEC;AAAF,KAAhD,CAAP;AACD;;AACDG,gBAAc,CAACJ,UAAD,EAAqBK,OAArB,EAAgD;AAC5D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaN,UAAU,OAAxC,EAAiDK,OAAjD,CAAP;AACD;;AACDE,cAAY,CAACP,UAAD,EAAqBK,OAArB,EAAoD;AAC9D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaN,UAAU,YAAxC,EAAsDK,OAAtD,CAAP;AACD;;AATuC;;QAA7BR,Y,GAAAA,Y","names":["ExerciceNote","Resource","get","idExercice","params","axios","$get","updateOrCreate","payload","$post","generateFile"],"sourceRoot":"","sources":["../../../ts/api/resources/ExerciceNote.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { QueryExerciceNote } from '../..';\nimport { CreateExerciceNote, CreateExerciceNoteFile, IGedFile } from '../../types';\nimport { IExerciceNote } from '../../types/Interface/models/IExerciceNote';\n\nexport class ExerciceNote extends Resource {\n get(idExercice: number, params: QueryExerciceNote): Promise<IExerciceNote | null> {\n return this.axios.$get(`/exercice/${idExercice}/note`, { params });\n }\n updateOrCreate(idExercice: number, payload: CreateExerciceNote): Promise<IExerciceNote> {\n return this.axios.$post(`/exercice/${idExercice}/note`, payload);\n }\n generateFile(idExercice: number, payload: CreateExerciceNoteFile): Promise<IGedFile> {\n return this.axios.$post(`/exercice/${idExercice}/note/file`, payload);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/ExerciceQuestion.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,gBAAP,SAAgC,kBAAhC,CAAwC;AAC5C,EAAA,MAAM,CAAC,UAAD,EAAqB,MAArB,EAA2C;AAC/C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAA6B,UAAU,YAAvD,EAAqE,MAAM,GAAG;AAAE,MAAA;AAAF,KAAH,GAAgB,EAA3F,CAAP;AACD;;AAED,EAAA,UAAU,CAAC,UAAD,EAAqB,OAArB,EAAqD;AAC7D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,6BAA6B,UAAU,yBAAxD,EAAmF,OAAnF,CAAP;AACD;;AAED,EAAA,UAAU,CAAC,UAAD,EAAqB,OAArB,EAAqD;AAC7D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,6BAA6B,UAAU,yBAAxD,EAAmF,OAAnF,CAAP;AACD;;AAX2C;;QAAjC,gB,GAAA,gB","sourcesContent":["import { CreateExerciceQuestions, IExerciceQuestion, QueryQuestion } from '../..';\nimport { Resource } from '../Resource';\n\nexport class ExerciceQuestion extends Resource {\n getAll(idExercice: number, params?: QueryQuestion): Promise<Array<IExerciceQuestion>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/questions`, params ? { params } : {});\n }\n\n bulkCreate(idExercice: number, payload: CreateExerciceQuestions): Promise<Array<IExerciceQuestion>> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-create`, payload);\n }\n\n bulkUpdate(idExercice: number, payload: CreateExerciceQuestions): Promise<void> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-update`, payload);\n }\n}\n"],"sourceRoot":"","file":"ExerciceQuestion.js"}
1
+ {"version":3,"file":"ExerciceQuestion.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,gBAAP,SAAgCC,kBAAhC,CAAwC;AAC5CC,QAAM,CAACC,UAAD,EAAqBC,MAArB,EAA2C;AAC/C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAA6BH,UAAU,YAAvD,EAAqEC,MAAM,GAAG;AAAEA;AAAF,KAAH,GAAgB,EAA3F,CAAP;AACD;;AAEDG,YAAU,CAACJ,UAAD,EAAqBK,OAArB,EAAqD;AAC7D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,6BAA6BN,UAAU,yBAAxD,EAAmFK,OAAnF,CAAP;AACD;;AAEDE,YAAU,CAACP,UAAD,EAAqBK,OAArB,EAAqD;AAC7D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,6BAA6BN,UAAU,yBAAxD,EAAmFK,OAAnF,CAAP;AACD;;AAX2C;;QAAjCR,gB,GAAAA,gB","names":["ExerciceQuestion","Resource","getAll","idExercice","params","axios","$get","bulkCreate","payload","$post","bulkUpdate"],"sourceRoot":"","sources":["../../../ts/api/resources/ExerciceQuestion.ts"],"sourcesContent":["import { CreateExerciceQuestions, IExerciceQuestion, QueryQuestion } from '../..';\nimport { Resource } from '../Resource';\n\nexport class ExerciceQuestion extends Resource {\n getAll(idExercice: number, params?: QueryQuestion): Promise<Array<IExerciceQuestion>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/questions`, params ? { params } : {});\n }\n\n bulkCreate(idExercice: number, payload: CreateExerciceQuestions): Promise<Array<IExerciceQuestion>> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-create`, payload);\n }\n\n bulkUpdate(idExercice: number, payload: CreateExerciceQuestions): Promise<void> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-update`, payload);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/FecFile.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAUM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,GAAG,GAAA;AACD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,SAAhB,CAAP;AACD;;AAED,EAAA,QAAQ,GAAA;AACN,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,kBAAhB,EAAoC;AAAE,MAAA,YAAY,EAAE;AAAhB,KAApC,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,UAAD,EAAqB,OAArB,EAA2C;AAC/C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAoB,UAAU,SAA9C,EAAuD,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACzD,OADyD,CAAA,EAClD;AACV,MAAA,YAAY,EAAE;AADJ,KADkD,CAAvD,CAAP;AAID;;AAED,EAAA,MAAM,CAAC,MAAD,EAAsB;AAC1B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,SAAjB,EAA4B,MAA5B,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,MAAD,EAA6B;AAC9B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,iBAAjB,EAAoC,MAApC,CAAP;AACD;;AAED,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,SAAnB,CAAP;AACD;;AA1BkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateFecFile,\n DeleteFecFile,\n ReadFecFile,\n IFecFile,\n CreateMappingFecFile,\n QueryFecFile,\n} from '../../types';\n\nexport class FecFile extends Resource {\n get(): Promise<IFecFile> {\n return this.axios.$get('fecFile');\n }\n\n download(): Promise<any> {\n return this.axios.$get('fecFile/download', { responseType: 'blob' });\n }\n\n export(idExercice: number, payload?: QueryFecFile): Promise<any> {\n return this.axios.$get(`fecFile/exercice/${idExercice}/export`, {\n ...payload,\n responseType: 'blob',\n });\n }\n\n create(params: CreateFecFile): Promise<ReadFecFile> {\n return this.axios.$post('fecFile', params);\n }\n\n map(params: CreateMappingFecFile): Promise<IFecFile> {\n return this.axios.$post('fecFile/mapping', params);\n }\n\n delete(): Promise<DeleteFecFile> {\n return this.axios.$delete('fecFile');\n }\n}"],"sourceRoot":"","file":"FecFile.js"}
1
+ {"version":3,"file":"FecFile.js","mappings":";;;;;;;AAAA;;AAUM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,KAAG;AACD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,SAAhB,CAAP;AACD;;AAEDC,UAAQ;AACN,WAAO,KAAKF,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoC;AAAEE,kBAAY,EAAE;AAAhB,KAApC,CAAP;AACD;;AAEDC,QAAM,CAACC,UAAD,EAAqBC,OAArB,EAA2C;AAC/C,WAAO,KAAKN,KAAL,CAAWC,IAAX,CAAgB,oBAAoBI,UAAU,SAA9C,EAAuDE,gCACzDD,OADyD,GAClD;AACVH,kBAAY,EAAE;AADJ,KADkD,CAAvD,CAAP;AAID;;AAEDK,QAAM,CAACC,MAAD,EAAsB;AAC1B,WAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,SAAjB,EAA4BD,MAA5B,CAAP;AACD;;AAEDE,KAAG,CAACF,MAAD,EAA6B;AAC9B,WAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,iBAAjB,EAAoCD,MAApC,CAAP;AACD;;AAEDG,QAAM;AACJ,WAAO,KAAKZ,KAAL,CAAWa,OAAX,CAAmB,SAAnB,CAAP;AACD;;AA1BkC;;QAAxBhB,O,GAAAA,O","names":["FecFile","Resource","get","axios","$get","download","responseType","export","idExercice","payload","Object","create","params","$post","map","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateFecFile,\n DeleteFecFile,\n ReadFecFile,\n IFecFile,\n CreateMappingFecFile,\n QueryFecFile,\n} from '../../types';\n\nexport class FecFile extends Resource {\n get(): Promise<IFecFile> {\n return this.axios.$get('fecFile');\n }\n\n download(): Promise<any> {\n return this.axios.$get('fecFile/download', { responseType: 'blob' });\n }\n\n export(idExercice: number, payload?: QueryFecFile): Promise<any> {\n return this.axios.$get(`fecFile/exercice/${idExercice}/export`, {\n ...payload,\n responseType: 'blob',\n });\n }\n\n create(params: CreateFecFile): Promise<ReadFecFile> {\n return this.axios.$post('fecFile', params);\n }\n\n map(params: CreateMappingFecFile): Promise<IFecFile> {\n return this.axios.$post('fecFile/mapping', params);\n }\n\n delete(): Promise<DeleteFecFile> {\n return this.axios.$delete('fecFile');\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/FinancialCharge.ts"],"names":[],"mappings":";;;;;;;AAMA;;AAEM,MAAO,eAAP,SAA+B,kBAA/B,CAAuC;AAC3C;;;;;AAKG;AACH,EAAA,UAAU,CAAC,UAAD,EAAmB;AAC3B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAA6B,UAAU,6BAAvD,CAAP;AACD;AAED;;;;;AAKG;;;AACH,EAAA,aAAa,CAAC,UAAD,EAAmB;AAC9B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAA6B,UAAU,kDAAvD,CAAP;AACD;AAED;;;;;;;;AAQG;;;AACH,EAAA,4BAA4B,CAAC,UAAD,EAAqB,OAArB,EAA0D;AACpF,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,6BAA6B,UAAU,6CAAxD,EAAuG,OAAvG,CAAP;AACD;;AAhC0C;;QAAhC,e,GAAA,e","sourcesContent":["import {\n CreatedNonDeductibleInterests,\n CreateNonDeductibleInterests,\n ReadBalanceSheetTransaction,\n ReadFinancialChargesBalance,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class FinancialCharge extends Resource {\n /**\n * Return the current balance for the client on accounts 108100 & 101100\n * If the balance is negative then proceed to next step. Else nothing to do\n * @param idExercice Exercice id\n * @returns The computed balance\n */\n getBalance(idExercice: number): Promise<ReadFinancialChargesBalance> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/financial-charges/balances`);\n }\n\n /**\n * Return the list of transaction with their date of amout, for the accounts 16, 59 and 512\n * The client will choose loan, overdraft transactions so we can compute his non deductible interests\n * @param idExercice Exercice id\n * @returns Array of BalanceSheetTransaction to choose from\n */\n getCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/financial-charges/loan-and-overdraft-candidates`);\n }\n\n /**\n * Compute the non deductible interests for the client depending on the picked transactions\n * Will process automatically the value of the balance sheet module depending on the list of transaction ids\n * @param idExercice Exercice id\n * @param payload { transactionIds: number } The list of transactions the client has pick as loan and overdrafts\n * @returns CreatedNonDeductibleInterests\n * Include question and its value if the client picked transaction ids\n * Else return hasNonDeductibleInterests false\n */\n createNonDeductibleInterests(idExercice: number, payload: CreateNonDeductibleInterests): Promise<CreatedNonDeductibleInterests> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/financial-charges/non-deductible-interests`, payload);\n }\n}\n"],"sourceRoot":"","file":"FinancialCharge.js"}
1
+ {"version":3,"file":"FinancialCharge.js","mappings":";;;;;;;AAMA;;AAEM,MAAOA,eAAP,SAA+BC,kBAA/B,CAAuC;AAC3C;;;;;;AAMAC,YAAU,CAACC,UAAD,EAAmB;AAC3B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAA6BF,UAAU,6BAAvD,CAAP;AACD;AAED;;;;;;;;AAMAG,eAAa,CAACH,UAAD,EAAmB;AAC9B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAA6BF,UAAU,kDAAvD,CAAP;AACD;AAED;;;;;;;;;;;AASAI,8BAA4B,CAACJ,UAAD,EAAqBK,OAArB,EAA0D;AACpF,WAAO,KAAKJ,KAAL,CAAWK,KAAX,CAAiB,6BAA6BN,UAAU,6CAAxD,EAAuGK,OAAvG,CAAP;AACD;;AAhC0C;;QAAhCR,e,GAAAA,e","names":["FinancialCharge","Resource","getBalance","idExercice","axios","$get","getCandidates","createNonDeductibleInterests","payload","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/FinancialCharge.ts"],"sourcesContent":["import {\n CreatedNonDeductibleInterests,\n CreateNonDeductibleInterests,\n ReadBalanceSheetTransaction,\n ReadFinancialChargesBalance,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class FinancialCharge extends Resource {\n /**\n * Return the current balance for the client on accounts 108100 & 101100\n * If the balance is negative then proceed to next step. Else nothing to do\n * @param idExercice Exercice id\n * @returns The computed balance\n */\n getBalance(idExercice: number): Promise<ReadFinancialChargesBalance> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/financial-charges/balances`);\n }\n\n /**\n * Return the list of transaction with their date of amout, for the accounts 16, 59 and 512\n * The client will choose loan, overdraft transactions so we can compute his non deductible interests\n * @param idExercice Exercice id\n * @returns Array of BalanceSheetTransaction to choose from\n */\n getCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/financial-charges/loan-and-overdraft-candidates`);\n }\n\n /**\n * Compute the non deductible interests for the client depending on the picked transactions\n * Will process automatically the value of the balance sheet module depending on the list of transaction ids\n * @param idExercice Exercice id\n * @param payload { transactionIds: number } The list of transactions the client has pick as loan and overdrafts\n * @returns CreatedNonDeductibleInterests\n * Include question and its value if the client picked transaction ids\n * Else return hasNonDeductibleInterests false\n */\n createNonDeductibleInterests(idExercice: number, payload: CreateNonDeductibleInterests): Promise<CreatedNonDeductibleInterests> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/financial-charges/non-deductible-interests`, payload);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/FirstStep.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,SAAP,SAAyB,kBAAzB,CAAiC;AACrC,EAAA,GAAG,GAAA;AACD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,CAAP;AACD;;AAHoC;;QAA1B,S,GAAA,S","sourcesContent":["import { Resource } from '../Resource';\nimport { IFirstStep } from '../../types';\n\nexport class FirstStep extends Resource {\n get(): Promise<IFirstStep> {\n return this.axios.$get('/society/firstStep');\n }\n}"],"sourceRoot":"","file":"FirstStep.js"}
1
+ {"version":3,"file":"FirstStep.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;AACrCC,KAAG;AACD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,CAAP;AACD;;AAHoC;;QAA1BJ,S,GAAAA,S","names":["FirstStep","Resource","get","axios","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/FirstStep.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { IFirstStep } from '../../types';\n\nexport class FirstStep extends Resource {\n get(): Promise<IFirstStep> {\n return this.axios.$get('/society/firstStep');\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,aAAP,SAA6B,kBAA7B,CAAqC;AACzC,EAAA,YAAY,CAAC,MAAD,EAA2B;AACrC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gBAAhB,EAAkC;AACvC,MAAA;AADuC,KAAlC,CAAP;AAGD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,EAAsC;AAC3C,MAAA,MAD2C;AAE3C,MAAA,YAAY,EAAE,aAF6B;AAG3C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAED,EAAA,aAAa,CAAC,MAAD,EAA2B;AACtC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4BAAhB,EAA8C;AACnD,MAAA,MADmD;AAEnD,MAAA,YAAY,EAAE,aAFqC;AAGnD,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,EAAsC;AAC3C,MAAA,MAD2C;AAE3C,MAAA,YAAY,EAAE,aAF6B;AAG3C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAED,EAAA,aAAa,CAAC,MAAD,EAA2B;AACtC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4BAAhB,EAA8C;AACnD,MAAA,MADmD;AAEnD,MAAA,YAAY,EAAE,aAFqC;AAGnD,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AA7CwC;;QAA9B,a,GAAA,a","sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"],"sourceRoot":"","file":"GeneralLedger.js"}
1
+ {"version":3,"file":"GeneralLedger.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;AACzCC,cAAY,CAACC,MAAD,EAA2B;AACrC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAkC;AACvCF;AADuC,KAAlC,CAAP;AAGD;;AAEDG,QAAM,CAACH,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAC3CF,YAD2C;AAE3CI,kBAAY,EAAE,aAF6B;AAG3CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAEDC,eAAa,CAACP,MAAD,EAA2B;AACtC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;AACnDF,YADmD;AAEnDI,kBAAY,EAAE,aAFqC;AAGnDC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AAEDE,QAAM,CAACR,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAC3CF,YAD2C;AAE3CI,kBAAY,EAAE,aAF6B;AAG3CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAEDG,eAAa,CAACT,MAAD,EAA2B;AACtC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;AACnDF,YADmD;AAEnDI,kBAAY,EAAE,aAFqC;AAGnDC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AA7CwC;;QAA9BT,a,GAAAA,a","names":["GeneralLedger","Resource","getBySociety","params","axios","$get","getCsv","responseType","headers","Accept","getBalanceCsv","getPdf","getBalancePdf"],"sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,cAAP,SAA8B,kBAA9B,CAAsC;AAC1C,EAAA,2BAA2B,CAAC,MAAD,EAA+B;AACxD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,aAAa,MAAM,CAAC,UAAU,2BAA9C,EAA2E,EAA3E,CAAP;AACD;;AAED,EAAA,8BAA8B,CAAC,MAAD,EAA+B;AAC3D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,aAAa,MAAM,CAAC,UAAU,+BAA9C,EAA+E;AACpF,MAAA,YAAY,EAAE,aADsE;AAEpF,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAF2E,KAA/E,CAAP;AAMD;;AAED,EAAA,kBAAkB,CAAC,MAAD,EAA8B;AAC9C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,MAAM,CAAC,SAAS,kBAA5C,EAAgE,EAAhE,CAAP;AACD;;AAED,EAAA,oBAAoB,CAAC,MAAD,EAA0C;AAC5D,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,YAAY,MAAM,CAAC,SAAS,mBAAmB,MAAM,CAAC,EAAE,EAA3E,CAAP;AACD;;AAED,EAAA,oBAAoB,CAAC,SAAD,EAAoB,OAApB,EAAqD;AACvE,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAY,SAAS,iBAAtC,EAAyD,OAAzD,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,SAAD,EAAoB,gBAApB,EAA8C,OAA9C,EAAoF;AACrF,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,SAAS,mBAAmB,gBAAgB,MAAxE,EAAgF,OAAhF,CAAP;AACD;;AA5ByC;;QAA/B,c,GAAA,c","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization, CreateImmobilizationForm, CreateEndOfImmobilizationForm,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n\n deleteImmobilization(params: { idSociety: number, id: number }): Promise<boolean> {\n return this.axios.$delete(`/society/${params.idSociety}/immobilization/${params.id}`);\n }\n\n createImmobilization(idSociety: number, payload: CreateImmobilizationForm): Promise<ReadHydratedImmobilization> {\n return this.axios.$post(`/society/${idSociety}/immobilization`, payload);\n }\n\n end(idSociety: number, idImmobilization: number, payload: CreateEndOfImmobilizationForm): Promise<ReadHydratedImmobilization> {\n return this.axios.$put(`/society/${idSociety}/immobilization/${idImmobilization}/end`, payload);\n }\n}\n"],"sourceRoot":"","file":"Immobilization.js"}
1
+ {"version":3,"file":"Immobilization.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,cAAP,SAA8BC,kBAA9B,CAAsC;AAC1CC,6BAA2B,CAACC,MAAD,EAA+B;AACxD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,MAAM,CAACG,UAAU,2BAA9C,EAA2E,EAA3E,CAAP;AACD;;AAEDC,gCAA8B,CAACJ,MAAD,EAA+B;AAC3D,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,MAAM,CAACG,UAAU,+BAA9C,EAA+E;AACpFE,kBAAY,EAAE,aADsE;AAEpFC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAF2E,KAA/E,CAAP;AAMD;;AAEDC,oBAAkB,CAACR,MAAD,EAA8B;AAC9C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACS,SAAS,kBAA5C,EAAgE,EAAhE,CAAP;AACD;;AAEDC,sBAAoB,CAACV,MAAD,EAA0C;AAC5D,WAAO,KAAKC,KAAL,CAAWU,OAAX,CAAmB,YAAYX,MAAM,CAACS,SAAS,mBAAmBT,MAAM,CAACY,EAAE,EAA3E,CAAP;AACD;;AAEDC,sBAAoB,CAACJ,SAAD,EAAoBK,OAApB,EAAqD;AACvE,WAAO,KAAKb,KAAL,CAAWc,KAAX,CAAiB,YAAYN,SAAS,iBAAtC,EAAyDK,OAAzD,CAAP;AACD;;AAEDE,KAAG,CAACP,SAAD,EAAoBQ,gBAApB,EAA8CH,OAA9C,EAAoF;AACrF,WAAO,KAAKb,KAAL,CAAWiB,IAAX,CAAgB,YAAYT,SAAS,mBAAmBQ,gBAAgB,MAAxE,EAAgFH,OAAhF,CAAP;AACD;;AA5ByC;;QAA/BjB,c,GAAAA,c","names":["Immobilization","Resource","getImmobilizationsInventory","params","axios","$get","idExercice","getImmobilizationsInventoryPdf","responseType","headers","Accept","getImmobilizations","idSociety","deleteImmobilization","$delete","id","createImmobilization","payload","$post","end","idImmobilization","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization, CreateImmobilizationForm, CreateEndOfImmobilizationForm,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n\n deleteImmobilization(params: { idSociety: number, id: number }): Promise<boolean> {\n return this.axios.$delete(`/society/${params.idSociety}/immobilization/${params.id}`);\n }\n\n createImmobilization(idSociety: number, payload: CreateImmobilizationForm): Promise<ReadHydratedImmobilization> {\n return this.axios.$post(`/society/${idSociety}/immobilization`, payload);\n }\n\n end(idSociety: number, idImmobilization: number, payload: CreateEndOfImmobilizationForm): Promise<ReadHydratedImmobilization> {\n return this.axios.$put(`/society/${idSociety}/immobilization/${idImmobilization}/end`, payload);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,gBAAP,SAAgC,kBAAhC,CAAwC;AAC5C,EAAA,gBAAgB,CAAC,UAAD,EAAmB;AACjC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4CAA4C,UAAU,EAAtE,CAAP;AACD;;AAED,EAAA,0BAA0B,CAAC,UAAD,EAAqB,QAArB,EAAuC;AAC/D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,mDAAmD,UAAU,EAA9E,EAAkF,QAAlF,CAAP;AACD;;AAED,EAAA,uBAAuB,CAAC,UAAD,EAAmB;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mDAAmD,UAAU,EAA7E,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA+B;AACnC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,oBAAjB,EAAuC,MAAvC,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,UAAD,EAAmB;AACpB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,8BAA8B,UAAU,EAAxD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,UAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,8BAA8B,UAAU,EAA3D,CAAP;AACD;;AAvB2C;;QAAjC,gB,GAAA,gB","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IAccountingEntry, ReadLibraryFile,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<ReadLibraryFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation> {\n return this.axios.$get(`/incomeAllocation/exercice/${idExercice}`);\n }\n\n delete(idExercice: number): Promise<boolean> {\n return this.axios.$delete(`/incomeAllocation/exercice/${idExercice}`);\n }\n}\n"],"sourceRoot":"","file":"IncomeAllocation.js"}
1
+ {"version":3,"file":"IncomeAllocation.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,gBAAP,SAAgCC,kBAAhC,CAAwC;AAC5CC,kBAAgB,CAACC,UAAD,EAAmB;AACjC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4CAA4CF,UAAU,EAAtE,CAAP;AACD;;AAEDG,4BAA0B,CAACH,UAAD,EAAqBI,QAArB,EAAuC;AAC/D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,mDAAmDL,UAAU,EAA9E,EAAkFI,QAAlF,CAAP;AACD;;AAEDE,yBAAuB,CAACN,UAAD,EAAmB;AACxC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,mDAAmDF,UAAU,EAA7E,CAAP;AACD;;AAEDO,QAAM,CAACC,MAAD,EAA+B;AACnC,WAAO,KAAKP,KAAL,CAAWI,KAAX,CAAiB,oBAAjB,EAAuCG,MAAvC,CAAP;AACD;;AAEDC,KAAG,CAACT,UAAD,EAAmB;AACpB,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,8BAA8BF,UAAU,EAAxD,CAAP;AACD;;AAEDU,QAAM,CAACV,UAAD,EAAmB;AACvB,WAAO,KAAKC,KAAL,CAAWU,OAAX,CAAmB,8BAA8BX,UAAU,EAA3D,CAAP;AACD;;AAvB2C;;QAAjCH,gB,GAAAA,gB","names":["IncomeAllocation","Resource","getTypeAndAmount","idExercice","axios","$get","createAnnualGeneralMeeting","formData","$post","getAnnualGeneralMeeting","create","params","get","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/IncomeAllocation.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IAccountingEntry, ReadLibraryFile,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<ReadLibraryFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation> {\n return this.axios.$get(`/incomeAllocation/exercice/${idExercice}`);\n }\n\n delete(idExercice: number): Promise<boolean> {\n return this.axios.$delete(`/incomeAllocation/exercice/${idExercice}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/IncomeStatement.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,eAAP,SAA+B,kBAA/B,CAAuC;AAC3C,EAAA,MAAM,CAAC,KAAD,EAA+B;AACnC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,sBAAhB,EAAwC;AAC7C,MAAA,MAAM,EAAE,KADqC;AAE7C,MAAA,YAAY,EAAE,aAF+B;AAG7C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHoC,KAAxC,CAAP;AAOD;;AAT0C;;QAAhC,e,GAAA,e","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryIncomeStatementPdf } from '../../types';\n\nexport class IncomeStatement extends Resource {\n getPdf(query: QueryIncomeStatementPdf) : Promise<Buffer> {\n return this.axios.$get('/incomeStatement/pdf', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"],"sourceRoot":"","file":"IncomeStatement.js"}
1
+ {"version":3,"file":"IncomeStatement.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,eAAP,SAA+BC,kBAA/B,CAAuC;AAC3CC,QAAM,CAACC,KAAD,EAA+B;AACnC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,sBAAhB,EAAwC;AAC7CC,YAAM,EAAEH,KADqC;AAE7CI,kBAAY,EAAE,aAF+B;AAG7CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHoC,KAAxC,CAAP;AAOD;;AAT0C;;QAAhCT,e,GAAAA,e","names":["IncomeStatement","Resource","getPdf","query","axios","$get","params","responseType","headers","Accept"],"sourceRoot":"","sources":["../../../ts/api/resources/IncomeStatement.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { QueryIncomeStatementPdf } from '../../types';\n\nexport class IncomeStatement extends Resource {\n getPdf(query: QueryIncomeStatementPdf) : Promise<Buffer> {\n return this.axios.$get('/incomeStatement/pdf', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/InternalInvoicing.ts"],"names":[],"mappings":";;;;;;;AAGA;;AAEM,MAAO,iBAAP,SAAiC,kBAAjC,CAAyC;AAC7C,EAAA,MAAM,CAAC,MAAD,EAAgC;AACpC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,oBAAjB,EAAuC,MAAvC,CAAP;AACD;;AACD,EAAA,QAAQ,CAAC,MAAD,EAAmC;AACzC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,wBAAjB,EAAyC,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAC3C,MAD2C,CAAA,EACrC;AACT,MAAA,YAAY,EAAE,aADL;AAET,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAFA,KADqC,CAAzC,CAAP;AAOD;;AACD,EAAA,UAAU,CAAC,MAAD,EAAoC;AAC5C,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,+BAAjB,EAAkD,MAAlD,CAAP;AACD;;AAf4C;;QAAlC,iB,GAAA,iB","sourcesContent":["import {\n CreateInternalInvoicing, CreateInternalInvoicing2in, RegenerateInternalInvoicing,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class InternalInvoicing extends Resource {\n create(params: CreateInternalInvoicing): Promise<number> {\n return this.axios.$post('/internalInvoicing', params);\n }\n download(params: CreateInternalInvoicing2in): Promise<Buffer> {\n return this.axios.$post('/internalInvoicing/2in', {\n ...params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n regenerate(params: RegenerateInternalInvoicing): Promise<number> {\n return this.axios.$post('/internalInvoicing/regenerate', params);\n }\n}"],"sourceRoot":"","file":"InternalInvoicing.js"}
1
+ {"version":3,"file":"InternalInvoicing.js","mappings":";;;;;;;AAGA;;AAEM,MAAOA,iBAAP,SAAiCC,kBAAjC,CAAyC;AAC7CC,QAAM,CAACC,MAAD,EAAgC;AACpC,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,oBAAjB,EAAuCF,MAAvC,CAAP;AACD;;AACDG,UAAQ,CAACH,MAAD,EAAmC;AACzC,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,wBAAjB,EAAyCE,gCAC3CJ,MAD2C,GACrC;AACTK,kBAAY,EAAE,aADL;AAETC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAFA,KADqC,CAAzC,CAAP;AAOD;;AACDC,YAAU,CAACR,MAAD,EAAoC;AAC5C,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,+BAAjB,EAAkDF,MAAlD,CAAP;AACD;;AAf4C;;QAAlCH,iB,GAAAA,iB","names":["InternalInvoicing","Resource","create","params","axios","$post","download","Object","responseType","headers","Accept","regenerate"],"sourceRoot":"","sources":["../../../ts/api/resources/InternalInvoicing.ts"],"sourcesContent":["import {\n CreateInternalInvoicing, CreateInternalInvoicing2in, RegenerateInternalInvoicing,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class InternalInvoicing extends Resource {\n create(params: CreateInternalInvoicing): Promise<number> {\n return this.axios.$post('/internalInvoicing', params);\n }\n download(params: CreateInternalInvoicing2in): Promise<Buffer> {\n return this.axios.$post('/internalInvoicing/2in', {\n ...params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n regenerate(params: RegenerateInternalInvoicing): Promise<number> {\n return this.axios.$post('/internalInvoicing/regenerate', params);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Journal.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,SAAS,CAAC,UAAD,EAA6B,MAA7B,EAAiD;AACxD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mCAAmC,UAAU,EAA7D,EAAiE;AACtE,MAAA,MADsE;AAEtE,MAAA,YAAY,EAAE;AAFwD,KAAjE,CAAP;AAID;;AANkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport { Journals, QueryJournal } from '../../types';\n\nexport class Journal extends Resource {\n getExport(exportType: 'pdf' | 'json', params: QueryJournal): Promise<Journals | Buffer> {\n return this.axios.$get(`/balance-sheets/journals/export/${exportType}`, {\n params,\n responseType: 'arraybuffer',\n });\n }\n}\n"],"sourceRoot":"","file":"Journal.js"}
1
+ {"version":3,"file":"Journal.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,WAAS,CAACC,UAAD,EAA6BC,MAA7B,EAAiD;AACxD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,mCAAmCH,UAAU,EAA7D,EAAiE;AACtEC,YADsE;AAEtEG,kBAAY,EAAE;AAFwD,KAAjE,CAAP;AAID;;AANkC;;QAAxBP,O,GAAAA,O","names":["Journal","Resource","getExport","exportType","params","axios","$get","responseType"],"sourceRoot":"","sources":["../../../ts/api/resources/Journal.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { Journals, QueryJournal } from '../../types';\n\nexport class Journal extends Resource {\n getExport(exportType: 'pdf' | 'json', params: QueryJournal): Promise<Journals | Buffer> {\n return this.axios.$get(`/balance-sheets/journals/export/${exportType}`, {\n params,\n responseType: 'arraybuffer',\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/KilometricAllowance.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,mBAAP,SAAmC,kBAAnC,CAA2C;AAC/C,EAAA,QAAQ,CAAC,UAAD,EAAqB,OAArB,EAAiE;AACvE,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,UAAU,gCAAxC,EAA0E,OAA1E,CAAP;AACD;;AAH8C;;QAApC,mB,GAAA,mB","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateKilometricAllowanceValidation } from '../../types';\n\nexport class KilometricAllowance extends Resource {\n validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {\n return this.axios.$post(`/exercice/${idExercice}/kilometric-allowance/validate`, payload);\n }\n}"],"sourceRoot":"","file":"KilometricAllowance.js"}
1
+ {"version":3,"file":"KilometricAllowance.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,mBAAP,SAAmCC,kBAAnC,CAA2C;AAC/CC,UAAQ,CAACC,UAAD,EAAqBC,OAArB,EAAiE;AACvE,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,aAAaH,UAAU,gCAAxC,EAA0EC,OAA1E,CAAP;AACD;;AAH8C;;QAApCJ,mB,GAAAA,mB","names":["KilometricAllowance","Resource","validate","idExercice","payload","axios","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/KilometricAllowance.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateKilometricAllowanceValidation } from '../../types';\n\nexport class KilometricAllowance extends Resource {\n validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {\n return this.axios.$post(`/exercice/${idExercice}/kilometric-allowance/validate`, payload);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/LegalForm.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,SAAP,SAAyB,kBAAzB,CAAiC;AACrC,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAhB,CAAP;AACD;;AAHoC;;QAA1B,S,GAAA,S","sourcesContent":["import { Resource } from '../Resource';\nimport { ILegalForm } from '../../types';\n\nexport class LegalForm extends Resource {\n getAll(): Promise<ILegalForm> {\n return this.axios.$get('/legalForm');\n }\n}"],"sourceRoot":"","file":"LegalForm.js"}
1
+ {"version":3,"file":"LegalForm.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;AACrCC,QAAM;AACJ,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAhB,CAAP;AACD;;AAHoC;;QAA1BJ,S,GAAAA,S","names":["LegalForm","Resource","getAll","axios","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/LegalForm.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { ILegalForm } from '../../types';\n\nexport class LegalForm extends Resource {\n getAll(): Promise<ILegalForm> {\n return this.axios.$get('/legalForm');\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Letter.ts"],"names":[],"mappings":";;;;;;;AAGA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,UAAjB,EAA6B,MAA7B,CAAP;AACD;;AAHiC;;QAAvB,M,GAAA,M","sourcesContent":["import {\n BasePaginate, CreateLetter, ReadReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Letter extends Resource {\n create(params: CreateLetter): Promise<BasePaginate<ReadReport> | Error> {\n return this.axios.$post('/letters', params);\n }\n}\n"],"sourceRoot":"","file":"Letter.js"}
1
+ {"version":3,"file":"Letter.js","mappings":";;;;;;;AAGA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;AAClCC,QAAM,CAACC,MAAD,EAAqB;AACzB,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,UAAjB,EAA6BF,MAA7B,CAAP;AACD;;AAHiC;;QAAvBH,M,GAAAA,M","names":["Letter","Resource","create","params","axios","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Letter.ts"],"sourcesContent":["import {\n BasePaginate, CreateLetter, ReadReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Letter extends Resource {\n create(params: CreateLetter): Promise<BasePaginate<ReadReport> | Error> {\n return this.axios.$post('/letters', params);\n }\n}\n"]}
@@ -14,10 +14,15 @@ class Library extends _Resource.Resource {
14
14
  });
15
15
  }
16
16
 
17
- download(idSociety, params) {
18
- return this.axios.$get(`/library/${idSociety}/file/download`, {
17
+ download(idSociety, params, isPdfFile = false) {
18
+ return this.axios.$get(`/library/${idSociety}/file/download`, Object.assign({
19
19
  params
20
- });
20
+ }, isPdfFile ? {
21
+ responseType: 'arraybuffer',
22
+ headers: {
23
+ Accept: 'application/pdf'
24
+ }
25
+ } : {}));
21
26
  }
22
27
 
23
28
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Library.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,GAAG,CAAC,MAAD,EAAyB;AAC1B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,eAAhB,EAAiC;AAAE,MAAA;AAAF,KAAjC,CAAP;AACD;;AAED,EAAA,QAAQ,CAAC,SAAD,EAAoB,MAApB,EAA6C;AACnD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,SAAS,gBAArC,EAAuD;AAAE,MAAA;AAAF,KAAvD,CAAP;AACD;;AAPkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryLibraryFile, IGedFile, QueryDownloadFile } from '../../types';\n\nexport class Library extends Resource {\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n download(idSociety: number, params: QueryDownloadFile): Promise<Buffer> {\n return this.axios.$get(`/library/${idSociety}/file/download`, { params });\n }\n}"],"sourceRoot":"","file":"Library.js"}
1
+ {"version":3,"file":"Library.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,KAAG,CAACC,MAAD,EAAyB;AAC1B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,eAAhB,EAAiC;AAAEF;AAAF,KAAjC,CAAP;AACD;;AAEDG,UAAQ,CAACC,SAAD,EAAoBJ,MAApB,EAA+CK,SAAS,GAAG,KAA3D,EAAgE;AACtE,WAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,YAAYE,SAAS,gBAArC,EAAqDE;AAExDN;AAFwD,OAGpDK,SAAS,GAAG;AACdE,kBAAY,EAAE,aADA;AAEdC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAFK,KAAH,GAKT,EARoD,CAArD,CAAP;AAUD;;AAhBkC;;QAAxBZ,O,GAAAA,O","names":["Library","Resource","get","params","axios","$get","download","idSociety","isPdfFile","Object","responseType","headers","Accept"],"sourceRoot":"","sources":["../../../ts/api/resources/Library.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { QueryLibraryFile, IGedFile, QueryDownloadFile } from '../../types';\n\nexport class Library extends Resource {\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n download(idSociety: number, params: QueryDownloadFile, isPdfFile = false): Promise<Buffer> {\n return this.axios.$get(`/library/${idSociety}/file/download`,\n {\n params,\n ...(isPdfFile ? {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n } : {}),\n });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Loan.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,IAAP,SAAoB,kBAApB,CAA4B;AAChC,EAAA,QAAQ,GAAA;AACN,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,QAAhB,CAAP;AACD;;AAED,EAAA,OAAO,CAAC,MAAD,EAA2B;AAChC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,SAAS,MAAM,CAAC,MAAM,EAAtC,CAAP;AACD;;AAED,EAAA,UAAU,CAAC,OAAD,EAAwB;AAChC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,OAAjB,EAA0B,OAA1B,CAAP;AACD;;AAED,EAAA,UAAU,CAAC,MAAD,EAAiB,OAAjB,EAAwC;AAChD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,SAAS,MAAM,EAA/B,EAAmC,OAAnC,CAAP;AACD;;AAED,EAAA,UAAU,CAAC,MAAD,EAAe;AACvB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,SAAS,MAAM,EAAlC,CAAP;AACD;;AAnB+B;;QAArB,I,GAAA,I","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateLoanForm, ILoan, UpdateLoanForm } from '../../types';\n\nexport class Loan extends Resource {\n getLoans(): Promise<ILoan[]> {\n return this.axios.$get('/loans');\n }\n\n getLoan(params: { idLoan: number }): Promise<ILoan> {\n return this.axios.$get(`/loan/${params.idLoan}`);\n }\n\n createLoan(payload: CreateLoanForm): Promise<ILoan> {\n return this.axios.$post('/loan', payload);\n }\n\n updateLoan(idLoan: number, payload: UpdateLoanForm): Promise<ILoan> {\n return this.axios.$put(`/loan/${idLoan}`, payload);\n }\n\n deleteLoan(idLoan: number): Promise<true> {\n return this.axios.$delete(`/loan/${idLoan}`);\n }\n}\n"],"sourceRoot":"","file":"Loan.js"}
1
+ {"version":3,"file":"Loan.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;AAChCC,UAAQ;AACN,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAhB,CAAP;AACD;;AAEDC,SAAO,CAACC,MAAD,EAA2B;AAChC,WAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,SAASE,MAAM,CAACC,MAAM,EAAtC,CAAP;AACD;;AAEDC,YAAU,CAACC,OAAD,EAAwB;AAChC,WAAO,KAAKN,KAAL,CAAWO,KAAX,CAAiB,OAAjB,EAA0BD,OAA1B,CAAP;AACD;;AAEDE,YAAU,CAACJ,MAAD,EAAiBE,OAAjB,EAAwC;AAChD,WAAO,KAAKN,KAAL,CAAWS,IAAX,CAAgB,SAASL,MAAM,EAA/B,EAAmCE,OAAnC,CAAP;AACD;;AAEDI,YAAU,CAACN,MAAD,EAAe;AACvB,WAAO,KAAKJ,KAAL,CAAWW,OAAX,CAAmB,SAASP,MAAM,EAAlC,CAAP;AACD;;AAnB+B;;QAArBP,I,GAAAA,I","names":["Loan","Resource","getLoans","axios","$get","getLoan","params","idLoan","createLoan","payload","$post","updateLoan","$put","deleteLoan","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateLoanForm, ILoan, UpdateLoanForm } from '../../types';\n\nexport class Loan extends Resource {\n getLoans(): Promise<ILoan[]> {\n return this.axios.$get('/loans');\n }\n\n getLoan(params: { idLoan: number }): Promise<ILoan> {\n return this.axios.$get(`/loan/${params.idLoan}`);\n }\n\n createLoan(payload: CreateLoanForm): Promise<ILoan> {\n return this.axios.$post('/loan', payload);\n }\n\n updateLoan(idLoan: number, payload: UpdateLoanForm): Promise<ILoan> {\n return this.axios.$put(`/loan/${idLoan}`, payload);\n }\n\n deleteLoan(idLoan: number): Promise<true> {\n return this.axios.$delete(`/loan/${idLoan}`);\n }\n}\n"]}
@@ -12,6 +12,13 @@ class MachineLearning extends _Resource.Resource {
12
12
  return this.axios.$post('/transactions/machine-learning');
13
13
  }
14
14
 
15
+ annotateBankAccountWithMachineLearning(idBankAccount, params) {
16
+ return this.axios.$post(`/transactions/machin-learning/bankAccount/${idBankAccount}`, {
17
+ startDate: params.startDate,
18
+ endDate: params.endDate
19
+ });
20
+ }
21
+
15
22
  }
16
23
 
17
24
  exports.MachineLearning = MachineLearning;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/MachineLearning.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,eAAP,SAA+B,kBAA/B,CAAuC;AAC3C,EAAA,yBAAyB,GAAA;AACvB,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,gCAAjB,CAAP;AACD;;AAH0C;;QAAhC,e,GAAA,e","sourcesContent":["import { ResultCreateMachineLearningAnnotation } from '../..';\nimport { Resource } from '../Resource';\n\nexport class MachineLearning extends Resource {\n machineLearningAnnotation(): Promise<ResultCreateMachineLearningAnnotation> {\n return this.axios.$post('/transactions/machine-learning');\n }\n}"],"sourceRoot":"","file":"MachineLearning.js"}
1
+ {"version":3,"file":"MachineLearning.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,eAAP,SAA+BC,kBAA/B,CAAuC;AAC3CC,2BAAyB;AACvB,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,gCAAjB,CAAP;AACD;;AACDC,wCAAsC,CAACC,aAAD,EAAwBC,MAAxB,EAA2D;AAC/F,WAAO,KAAKJ,KAAL,CAAWC,KAAX,CAAiB,6CAA6CE,aAAa,EAA3E,EAA+E;AACpFE,eAAS,EAAED,MAAM,CAACC,SADkE;AAEpFC,aAAO,EAAEF,MAAM,CAACE;AAFoE,KAA/E,CAAP;AAID;;AAT0C;;QAAhCT,e,GAAAA,e","names":["MachineLearning","Resource","machineLearningAnnotation","axios","$post","annotateBankAccountWithMachineLearning","idBankAccount","params","startDate","endDate"],"sourceRoot":"","sources":["../../../ts/api/resources/MachineLearning.ts"],"sourcesContent":["import {\n GetTransactionsBetweenDates,\n ResultCreateMachineLearningAnnotation,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class MachineLearning extends Resource {\n machineLearningAnnotation(): Promise<ResultCreateMachineLearningAnnotation> {\n return this.axios.$post('/transactions/machine-learning');\n }\n annotateBankAccountWithMachineLearning(idBankAccount: number, params: GetTransactionsBetweenDates): Promise<ResultCreateMachineLearningAnnotation> {\n return this.axios.$post(`/transactions/machin-learning/bankAccount/${idBankAccount}`, {\n startDate: params.startDate,\n endDate: params.endDate,\n });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/MealExpense.ts"],"names":[],"mappings":";;;;;;;AACA;;AAGM,MAAO,WAAP,SAA2B,kBAA3B,CAAmC;AACvC;;;;;AAKG;AACH,EAAA,gBAAgB,CAAC,UAAD,EAAmB;AACjC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAA6B,UAAU,0BAAvD,CAAP;AACD;AAED;;;;;;AAMG;;;AACH,EAAA,MAAM,CAAC,UAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAA6B,UAAU,gBAAvD,CAAP;AACD;AAED;;;;;;;;;;AAUG;;;AACH,EAAA,iBAAiB,CAAC,UAAD,EAAqB,OAArB,EAA+C;AAC9D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,6BAA6B,UAAU,gBAAxD,EAA0E,OAA1E,CAAP;AACD;;AAnCsC;;QAA5B,W,GAAA,W","sourcesContent":["import { CreateMealExpense, ReadBalanceSheetTransaction, ReadMealExpense } from '../..';\nimport { Resource } from '../Resource';\nimport { BalanceSheetModule } from './BalanceSheetModule';\n\nexport class MealExpense extends Resource {\n /**\n * Get all possible transactions to be processed in meal expenses\n * @param idExercice Exercice id\n * @returns Array<ReadBalanceSheetTransaction>\n * A list of possible candidate to meal expenses formatted into balance sheet transactions.\n */\n getAllCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expense-candidates`);\n }\n\n /**\n * Get all processed meal expenses for this exercice.\n * @param idExercice\n * @returns ReadMealExpense\n * Result is parsed to provide how many meal expenses are processed for this exercice. The amount corresponding, and the deductible amount computed.\n * Also provide the transaction lists.\n */\n getAll(idExercice: number): Promise<ReadMealExpense> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expenses`);\n }\n\n /**\n * Transform given transactions into meal expenses.\n * @param idExercice Exercice id\n * @param payload { transactionIds: Array<number> }\n * @returns BalanceSheetModule\n * The updated balance sheet module.\n * Set hasMealExpenses to true if all transactions were processed.\n * Set hasMealExpenses to false if no transaction was provided.\n *\n * Fails if exercice is unknown, or if transactions are not in exercice or if transactions are not valid candidate for meal expenses.\n */\n processCandidates(idExercice: number, payload: CreateMealExpense): Promise<BalanceSheetModule> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/meal-expenses`, payload);\n }\n}"],"sourceRoot":"","file":"MealExpense.js"}
1
+ {"version":3,"file":"MealExpense.js","mappings":";;;;;;;AACA;;AAGM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;AACvC;;;;;;AAMAC,kBAAgB,CAACC,UAAD,EAAmB;AACjC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAA6BF,UAAU,0BAAvD,CAAP;AACD;AAED;;;;;;;;;AAOAG,QAAM,CAACH,UAAD,EAAmB;AACvB,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAA6BF,UAAU,gBAAvD,CAAP;AACD;AAED;;;;;;;;;;;;;AAWAI,mBAAiB,CAACJ,UAAD,EAAqBK,OAArB,EAA+C;AAC9D,WAAO,KAAKJ,KAAL,CAAWK,KAAX,CAAiB,6BAA6BN,UAAU,gBAAxD,EAA0EK,OAA1E,CAAP;AACD;;AAnCsC;;QAA5BR,W,GAAAA,W","names":["MealExpense","Resource","getAllCandidates","idExercice","axios","$get","getAll","processCandidates","payload","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/MealExpense.ts"],"sourcesContent":["import { CreateMealExpense, ReadBalanceSheetTransaction, ReadMealExpense } from '../..';\nimport { Resource } from '../Resource';\nimport { BalanceSheetModule } from './BalanceSheetModule';\n\nexport class MealExpense extends Resource {\n /**\n * Get all possible transactions to be processed in meal expenses\n * @param idExercice Exercice id\n * @returns Array<ReadBalanceSheetTransaction>\n * A list of possible candidate to meal expenses formatted into balance sheet transactions.\n */\n getAllCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expense-candidates`);\n }\n\n /**\n * Get all processed meal expenses for this exercice.\n * @param idExercice\n * @returns ReadMealExpense\n * Result is parsed to provide how many meal expenses are processed for this exercice. The amount corresponding, and the deductible amount computed.\n * Also provide the transaction lists.\n */\n getAll(idExercice: number): Promise<ReadMealExpense> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expenses`);\n }\n\n /**\n * Transform given transactions into meal expenses.\n * @param idExercice Exercice id\n * @param payload { transactionIds: Array<number> }\n * @returns BalanceSheetModule\n * The updated balance sheet module.\n * Set hasMealExpenses to true if all transactions were processed.\n * Set hasMealExpenses to false if no transaction was provided.\n *\n * Fails if exercice is unknown, or if transactions are not in exercice or if transactions are not valid candidate for meal expenses.\n */\n processCandidates(idExercice: number, payload: CreateMealExpense): Promise<BalanceSheetModule> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/meal-expenses`, payload);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Partner.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAOM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,MAAM,CAAC,MAAD,EAAsB;AAC1B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,SAAjB,EAA4B,MAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAoB;AACxB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B;AAAE,MAAA;AAAF,KAA5B,CAAP;AACD;;AANkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyPartner,\n CreatePartner,\n GetPartners,\n} from '../../types';\n\nexport class Partner extends Resource {\n create(params: CreatePartner): Promise<ISocietyPartner> {\n return this.axios.$post('partner', params);\n }\n getAll(params: GetPartners): Promise<ISocietyPartner[]> {\n return this.axios.$get('partners', { params });\n }\n}"],"sourceRoot":"","file":"Partner.js"}
1
+ {"version":3,"file":"Partner.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,QAAM,CAACC,MAAD,EAAsB;AAC1B,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,SAAjB,EAA4BF,MAA5B,CAAP;AACD;;AACDG,QAAM,CAACH,MAAD,EAAoB;AACxB,WAAO,KAAKC,KAAL,CAAWG,IAAX,CAAgB,UAAhB,EAA4B;AAAEJ;AAAF,KAA5B,CAAP;AACD;;AANkC;;QAAxBH,O,GAAAA,O","names":["Partner","Resource","create","params","axios","$post","getAll","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/Partner.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyPartner,\n CreatePartner,\n GetPartners,\n} from '../../types';\n\nexport class Partner extends Resource {\n create(params: CreatePartner): Promise<ISocietyPartner> {\n return this.axios.$post('partner', params);\n }\n getAll(params: GetPartners): Promise<ISocietyPartner[]> {\n return this.axios.$get('partners', { params });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/PartneredAccountant.ts"],"names":[],"mappings":";;;;;;;AAsBA;;AAGM,MAAO,mBAAP,SAAmC,kBAAnC,CAA2C;AAC/C,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,wBAAhB,CAAP;AACD;;AAED,EAAA,YAAY,GAAA;AACV,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,+BAAhB,CAAP;AACD;;AAED,EAAA,YAAY,CAAC,qBAAD,EAAgC,IAAhC,EAAqE;AAC/E,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,0BAA0B,qBAAqB,SAA/D,EAA0E,IAA1E,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,IAAD,EAAgC;AACpC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,+BAAhB,EAAiD,IAAjD,CAAP;AACD;;AAED,EAAA,cAAc,CAAC,qBAAD,EAA8B;AAC1C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,0BAA0B,qBAAqB,WAA/D,CAAP;AACD;;AAED,EAAA,wBAAwB,CAAC,MAAD,EAAgE,WAAhE,EAAyF;AAC/G,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,sCAAhB,EAAsD,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACvD,WAAW,GAAG;AAAE,MAAA;AAAF,KAAH,GAAqB,EADuB,CAAA,EACpB;AACvC,MAAA;AADuC,KADoB,CAAtD,CAAP;AAID;;AAED,EAAA,kBAAkB,CAAC,aAAD,EAAwB,MAAxB,EAAoE;AACpF,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,wCAAwC,aAAa,EAArE,EAAyE,MAAzE,CAAP;AACD;;AAED,EAAA,wBAAwB,CAAC,WAAD,EAA0B;AAChD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,iDAAhB,EAAmE,WAAW,GAAG;AAAE,MAAA;AAAF,KAAH,GAAqB,EAAnG,CAAP;AACD;;AAED,EAAA,uBAAuB,GAAA;AACrB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,2CAAhB,CAAP;AACD;;AAED,EAAA,uBAAuB,CAAC,qBAAD,EAAgC,OAAhC,EAAyF;AAC9G,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,0BAA0B,qBAAqB,qBAAhE,EAAuF,OAAvF,CAAP;AACD;;AAED,EAAA,8BAA8B,CAAC,OAAD,EAAiE;AAC7F,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,mDAAjB,EAAsE,OAAtE,CAAP;AACD;;AAED,EAAA,yBAAyB,CAAC,SAAD,EAAkB;AACzC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,4CAA4C,SAAS,YAAtE,CAAP;AACD;;AAED,EAAA,qBAAqB,CAAC,MAAD,EAA4D,WAA5D,EAAqF;AACxG,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,kCAAhB,EAAkD,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACnD,WAAW,GAAG;AAAE,MAAA;AAAF,KAAH,GAAqB,EADmB,CAAA,EAChB;AACvC,MAAA;AADuC,KADgB,CAAlD,CAAP;AAID;;AAED,EAAA,aAAa,CAAC,MAAD,EAAyC;AACpD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,kCAAjB,EAAqD,MAArD,CAAP;AACD,GA7D8C,CA+D/C;AACA;AACA;;;AAEA,EAAA,UAAU,GAAA;AACR,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gCAAhB,CAAP;AACD;;AAED,EAAA,oBAAoB,GAAA;AAClB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gDAAhB,CAAP;AACD;;AAzE8C;;QAApC,mB,GAAA,mB","sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreatePartneredAccountantRequestedService, InvitePartneredAccountant,\n IPartneredAccountant,\n IPartneredAccountantCompanyService,\n QueryPaginate,\n QueryParteneredAccountantSoldServices,\n ReadPartneredAccountant,\n ReadPartneredAccountantRequestedService,\n ReadPartneredAccountantService,\n ReadPartneredAccountantSoldServicesPaginated,\n ReadPartneredAccountantSoldServiceStatistics,\n UpdatedPartneredAccountantAccess, UpdatedPartneredAccountantSoldService,\n UpdatePartneredAccountantAccess,\n UpdatePartneredAccountantSoldService,\n CreatePartneredAccountantSociety,\n BasePaginate,\n QueryPartneredAccountantSocieties,\n CreatedPartneredAccountantSociety,\n ReadPartneredAccountantInvoice,\n CreatePartneredAccountantRequestedServiceExpress,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport { ReadPartneredAccountantSociety } from '../../types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety';\n\nexport class PartneredAccountant extends Resource {\n getAll(): Promise<Array<ReadPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants');\n }\n\n getAllAccess(): Promise<Array<IPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants/access');\n }\n\n updateAccess(idPartneredAccountant: number, data: UpdatePartneredAccountantAccess) : Promise<UpdatedPartneredAccountantAccess> {\n return this.axios.$put(`/partnered-accountants/${idPartneredAccountant}/access`, data);\n }\n\n invite(data: InvitePartneredAccountant): Promise<true> {\n return this.axios.$put('/partnered-accountants/invite', data);\n }\n\n getAllServices(idPartneredAccountant: number) : Promise<Array<ReadPartneredAccountantService>> {\n return this.axios.$get(`/partnered-accountants/${idPartneredAccountant}/services`);\n }\n\n getPaginatedSoldServices(params: QueryParteneredAccountantSoldServices & QueryPaginate, cancelToken?: CancelToken): Promise<ReadPartneredAccountantSoldServicesPaginated> {\n return this.axios.$get('/partnered-accountants/sold-services', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n updateSoldServices(idSoldService: number, params: UpdatePartneredAccountantSoldService): Promise<UpdatedPartneredAccountantSoldService> {\n return this.axios.$put(`/partnered-accountants/sold-services/${idSoldService}`, params);\n }\n\n getSoldServiceStatistics(cancelToken?: CancelToken): Promise<Array<ReadPartneredAccountantSoldServiceStatistics>> {\n return this.axios.$get('/partnered-accountants/sold-services/statistics', cancelToken ? { cancelToken } : {});\n }\n\n getAllRequestedServices(): Promise<Array<ReadPartneredAccountantRequestedService>> {\n return this.axios.$get('/partnered-accountants/requested-services');\n }\n\n createRequestedServices(idPartneredAccountant: number, payload: Array<CreatePartneredAccountantRequestedService>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/${idPartneredAccountant}/requested-services`, payload);\n }\n\n createRequestedServicesExpress(payload: Array<CreatePartneredAccountantRequestedServiceExpress>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post('/partnered-accountants/requested-services/express', payload);\n }\n\n duplicateRequestedService(idRequest: number): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/requested-service/${idRequest}/duplicate`);\n }\n\n getPaginatedSocieties(params: QueryPaginate & QueryPartneredAccountantSocieties, cancelToken?: CancelToken): Promise<BasePaginate<ReadPartneredAccountantSociety>> {\n return this.axios.$get('/partnered-accountants/societies', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createSociety(params: CreatePartneredAccountantSociety): Promise<CreatedPartneredAccountantSociety> {\n return this.axios.$post('/partnered-accountants/societies', params);\n }\n\n // =======\n // PROFILE\n // =======\n\n getProfile(): Promise<IPartneredAccountant> {\n return this.axios.$get('/partnered-accountants/profile');\n }\n\n getAllStripeInvoices(): Promise<Array<ReadPartneredAccountantInvoice>> {\n return this.axios.$get('/partnered-accountants/profile/stripe-invoices');\n }\n}"],"sourceRoot":"","file":"PartneredAccountant.js"}
1
+ {"version":3,"file":"PartneredAccountant.js","mappings":";;;;;;;AAsBA;;AAGM,MAAOA,mBAAP,SAAmCC,kBAAnC,CAA2C;AAC/CC,QAAM;AACJ,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,wBAAhB,CAAP;AACD;;AAEDC,cAAY;AACV,WAAO,KAAKF,KAAL,CAAWC,IAAX,CAAgB,+BAAhB,CAAP;AACD;;AAEDE,cAAY,CAACC,qBAAD,EAAgCC,IAAhC,EAAqE;AAC/E,WAAO,KAAKL,KAAL,CAAWM,IAAX,CAAgB,0BAA0BF,qBAAqB,SAA/D,EAA0EC,IAA1E,CAAP;AACD;;AAEDE,QAAM,CAACF,IAAD,EAAgC;AACpC,WAAO,KAAKL,KAAL,CAAWM,IAAX,CAAgB,+BAAhB,EAAiDD,IAAjD,CAAP;AACD;;AAEDG,gBAAc,CAACJ,qBAAD,EAA8B;AAC1C,WAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,0BAA0BG,qBAAqB,WAA/D,CAAP;AACD;;AAEDK,0BAAwB,CAACC,MAAD,EAAgEC,WAAhE,EAAyF;AAC/G,WAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,sCAAhB,EAAsDW,gCACvDD,WAAW,GAAG;AAAEA;AAAF,KAAH,GAAqB,EADuB,GACpB;AACvCD;AADuC,KADoB,CAAtD,CAAP;AAID;;AAEDG,oBAAkB,CAACC,aAAD,EAAwBJ,MAAxB,EAAoE;AACpF,WAAO,KAAKV,KAAL,CAAWM,IAAX,CAAgB,wCAAwCQ,aAAa,EAArE,EAAyEJ,MAAzE,CAAP;AACD;;AAEDK,0BAAwB,CAACJ,WAAD,EAA0B;AAChD,WAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,iDAAhB,EAAmEU,WAAW,GAAG;AAAEA;AAAF,KAAH,GAAqB,EAAnG,CAAP;AACD;;AAEDK,yBAAuB;AACrB,WAAO,KAAKhB,KAAL,CAAWC,IAAX,CAAgB,2CAAhB,CAAP;AACD;;AAEDgB,yBAAuB,CAACb,qBAAD,EAAgCc,OAAhC,EAAyF;AAC9G,WAAO,KAAKlB,KAAL,CAAWmB,KAAX,CAAiB,0BAA0Bf,qBAAqB,qBAAhE,EAAuFc,OAAvF,CAAP;AACD;;AAEDE,gCAA8B,CAACF,OAAD,EAAiE;AAC7F,WAAO,KAAKlB,KAAL,CAAWmB,KAAX,CAAiB,mDAAjB,EAAsED,OAAtE,CAAP;AACD;;AAEDG,2BAAyB,CAACC,SAAD,EAAkB;AACzC,WAAO,KAAKtB,KAAL,CAAWmB,KAAX,CAAiB,4CAA4CG,SAAS,YAAtE,CAAP;AACD;;AAEDC,uBAAqB,CAACb,MAAD,EAA4DC,WAA5D,EAAqF;AACxG,WAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,kCAAhB,EAAkDW,gCACnDD,WAAW,GAAG;AAAEA;AAAF,KAAH,GAAqB,EADmB,GAChB;AACvCD;AADuC,KADgB,CAAlD,CAAP;AAID;;AAEDc,eAAa,CAACd,MAAD,EAAyC;AACpD,WAAO,KAAKV,KAAL,CAAWmB,KAAX,CAAiB,kCAAjB,EAAqDT,MAArD,CAAP;AACD,GA7D8C,CA+D/C;AACA;AACA;;;AAEAe,YAAU;AACR,WAAO,KAAKzB,KAAL,CAAWC,IAAX,CAAgB,gCAAhB,CAAP;AACD;;AAEDyB,sBAAoB;AAClB,WAAO,KAAK1B,KAAL,CAAWC,IAAX,CAAgB,gDAAhB,CAAP;AACD;;AAzE8C;;QAApCJ,mB,GAAAA,mB","names":["PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices"],"sourceRoot":"","sources":["../../../ts/api/resources/PartneredAccountant.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreatePartneredAccountantRequestedService, InvitePartneredAccountant,\n IPartneredAccountant,\n IPartneredAccountantCompanyService,\n QueryPaginate,\n QueryParteneredAccountantSoldServices,\n ReadPartneredAccountant,\n ReadPartneredAccountantRequestedService,\n ReadPartneredAccountantService,\n ReadPartneredAccountantSoldServicesPaginated,\n ReadPartneredAccountantSoldServiceStatistics,\n UpdatedPartneredAccountantAccess, UpdatedPartneredAccountantSoldService,\n UpdatePartneredAccountantAccess,\n UpdatePartneredAccountantSoldService,\n CreatePartneredAccountantSociety,\n BasePaginate,\n QueryPartneredAccountantSocieties,\n CreatedPartneredAccountantSociety,\n ReadPartneredAccountantInvoice,\n CreatePartneredAccountantRequestedServiceExpress,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport { ReadPartneredAccountantSociety } from '../../types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety';\n\nexport class PartneredAccountant extends Resource {\n getAll(): Promise<Array<ReadPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants');\n }\n\n getAllAccess(): Promise<Array<IPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants/access');\n }\n\n updateAccess(idPartneredAccountant: number, data: UpdatePartneredAccountantAccess) : Promise<UpdatedPartneredAccountantAccess> {\n return this.axios.$put(`/partnered-accountants/${idPartneredAccountant}/access`, data);\n }\n\n invite(data: InvitePartneredAccountant): Promise<true> {\n return this.axios.$put('/partnered-accountants/invite', data);\n }\n\n getAllServices(idPartneredAccountant: number) : Promise<Array<ReadPartneredAccountantService>> {\n return this.axios.$get(`/partnered-accountants/${idPartneredAccountant}/services`);\n }\n\n getPaginatedSoldServices(params: QueryParteneredAccountantSoldServices & QueryPaginate, cancelToken?: CancelToken): Promise<ReadPartneredAccountantSoldServicesPaginated> {\n return this.axios.$get('/partnered-accountants/sold-services', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n updateSoldServices(idSoldService: number, params: UpdatePartneredAccountantSoldService): Promise<UpdatedPartneredAccountantSoldService> {\n return this.axios.$put(`/partnered-accountants/sold-services/${idSoldService}`, params);\n }\n\n getSoldServiceStatistics(cancelToken?: CancelToken): Promise<Array<ReadPartneredAccountantSoldServiceStatistics>> {\n return this.axios.$get('/partnered-accountants/sold-services/statistics', cancelToken ? { cancelToken } : {});\n }\n\n getAllRequestedServices(): Promise<Array<ReadPartneredAccountantRequestedService>> {\n return this.axios.$get('/partnered-accountants/requested-services');\n }\n\n createRequestedServices(idPartneredAccountant: number, payload: Array<CreatePartneredAccountantRequestedService>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/${idPartneredAccountant}/requested-services`, payload);\n }\n\n createRequestedServicesExpress(payload: Array<CreatePartneredAccountantRequestedServiceExpress>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post('/partnered-accountants/requested-services/express', payload);\n }\n\n duplicateRequestedService(idRequest: number): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/requested-service/${idRequest}/duplicate`);\n }\n\n getPaginatedSocieties(params: QueryPaginate & QueryPartneredAccountantSocieties, cancelToken?: CancelToken): Promise<BasePaginate<ReadPartneredAccountantSociety>> {\n return this.axios.$get('/partnered-accountants/societies', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createSociety(params: CreatePartneredAccountantSociety): Promise<CreatedPartneredAccountantSociety> {\n return this.axios.$post('/partnered-accountants/societies', params);\n }\n\n // =======\n // PROFILE\n // =======\n\n getProfile(): Promise<IPartneredAccountant> {\n return this.axios.$get('/partnered-accountants/profile');\n }\n\n getAllStripeInvoices(): Promise<Array<ReadPartneredAccountantInvoice>> {\n return this.axios.$get('/partnered-accountants/profile/stripe-invoices');\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Payment.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,aAAa,CAAC,KAAD,EAA2B;AACtC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,EAAsC;AAC3C,MAAA,MAAM,EAAE,KADmC;AAE3C,MAAA,YAAY,EAAE,aAF6B;AAG3C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AATkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryMonthlyPayment } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}"],"sourceRoot":"","file":"Payment.js"}
1
+ {"version":3,"file":"Payment.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,eAAa,CAACC,KAAD,EAA2B;AACtC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAC3CC,YAAM,EAAEH,KADmC;AAE3CI,kBAAY,EAAE,aAF6B;AAG3CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AATkC;;QAAxBT,O,GAAAA,O","names":["Payment","Resource","getMonthlyCsv","query","axios","$get","params","responseType","headers","Accept"],"sourceRoot":"","sources":["../../../ts/api/resources/Payment.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { QueryMonthlyPayment } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,0BAAP,SAA0C,kBAA1C,CAAkD;AACtD,EAAA,GAAG,CAAC,MAAD,EAA2C;AAC5C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,6BAAhB,EAA+C;AAAE,MAAA;AAAF,KAA/C,CAAP;AACD;;AACD,EAAA,YAAY,CAAC,MAAD,EAAqD;AAC/D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,MAAM,CAAC,SAAS,gCAA5C,EAA8E;AACnF,MAAA;AADmF,KAA9E,CAAP;AAGD;;AACD,EAAA,KAAK,CAAC,MAAD,EAA0D;AAC7D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,MAAM,CAAC,SAAS,sCAA5C,EAAoF;AACzF,MAAA;AADyF,KAApF,CAAP;AAGD;;AACD,EAAA,GAAG,CAAC,MAAD,EAA2C;AAC5C,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,iCAAjB,EAAoD,MAApD,CAAP;AACD;;AACD,EAAA,OAAO,CAAC,MAAD,EAA+C;AACpD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,qCAAjB,EAAwD,MAAxD,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqD;AACzD,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,EAA1F,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAsD;AAC1D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,SAAvF,EAAkG,MAAlG,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAgD;AACpD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAY,MAAM,CAAC,SAAS,6BAA7C,EAA4E,MAA5E,CAAP;AACD;;AA5BqD;;QAA3C,0B,GAAA,0B","sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}\n"],"sourceRoot":"","file":"PaymentExpectationCustomer.js"}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,0BAAP,SAA0CC,kBAA1C,CAAkD;AACtDC,KAAG,CAACC,MAAD,EAA2C;AAC5C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAAhB,EAA+C;AAAEF;AAAF,KAA/C,CAAP;AACD;;AACDG,cAAY,CAACH,MAAD,EAAqD;AAC/D,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACI,SAAS,gCAA5C,EAA8E;AACnFJ;AADmF,KAA9E,CAAP;AAGD;;AACDK,OAAK,CAACL,MAAD,EAA0D;AAC7D,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACI,SAAS,sCAA5C,EAAoF;AACzFJ;AADyF,KAApF,CAAP;AAGD;;AACDM,KAAG,CAACN,MAAD,EAA2C;AAC5C,WAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,iCAAjB,EAAoDP,MAApD,CAAP;AACD;;AACDQ,SAAO,CAACR,MAAD,EAA+C;AACpD,WAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,qCAAjB,EAAwDP,MAAxD,CAAP;AACD;;AACDS,QAAM,CAACT,MAAD,EAAqD;AACzD,WAAO,KAAKC,KAAL,CAAWS,OAAX,CAAmB,YAAYV,MAAM,CAACI,SAAS,kCAAkCJ,MAAM,CAACW,EAAE,EAA1F,CAAP;AACD;;AACDC,QAAM,CAACZ,MAAD,EAAsD;AAC1D,WAAO,KAAKC,KAAL,CAAWY,IAAX,CAAgB,YAAYb,MAAM,CAACI,SAAS,kCAAkCJ,MAAM,CAACW,EAAE,SAAvF,EAAkGX,MAAlG,CAAP;AACD;;AACDc,QAAM,CAACd,MAAD,EAAgD;AACpD,WAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,YAAYP,MAAM,CAACI,SAAS,6BAA7C,EAA4EJ,MAA5E,CAAP;AACD;;AA5BqD;;QAA3CH,0B,GAAAA,0B","names":["PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","idSociety","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create"],"sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Product.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,iCAAhB,CAAP;AACD;;AAED,EAAA,YAAY,CAAC,UAAD,EAA4B,KAA5B,EAAgD;AAC1D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,iCAAhB,EAAmD;AACxD,MAAA,MAAM,EAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACD,UADC,CAAA,EAED,KAFC;AADkD,KAAnD,CAAP;AAMD;;AAED,EAAA,MAAM,CAAC,OAAD,EAAuB;AAC3B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,iCAAjB,EAAoD,OAApD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,EAAD,EAAa,OAAb,EAAmC;AACvC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mCAAmC,EAAE,EAArD,EAAyD,OAAzD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,EAAD,EAAW;AACf,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,mCAAmC,EAAE,EAAxD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,IAAD,EAAW;AACf,UAAM,QAAQ,GAAG,IAAI,QAAJ,EAAjB;AACA,IAAA,QAAQ,CAAC,MAAT,CAAgB,MAAhB,EAAwB,IAAxB;AACA,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,wCAAjB,EAA2D,QAA3D,CAAP;AACD;;AAED,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,wCAAhB,EAA0D;AAC/D,MAAA,YAAY,EAAE;AADiD,KAA1D,CAAP;AAGD;;AApCkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(pagination: QueryPaginate, query?: QueryProduct): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n\n import(file: File): Promise<void> {\n const formData = new FormData();\n formData.append('file', file);\n return this.axios.$post('/commercial-management/products/import', formData);\n }\n\n export(): Promise<Buffer> {\n return this.axios.$get('/commercial-management/products/export', {\n responseType: 'arraybuffer',\n });\n }\n}"],"sourceRoot":"","file":"Product.js"}
1
+ {"version":3,"file":"Product.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;AACnCC,QAAM;AACJ,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,CAAP;AACD;;AAEDC,cAAY,CAACC,UAAD,EAA4BC,KAA5B,EAAgD;AAC1D,WAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,EAAmD;AACxDI,YAAM,kCACDF,UADC,GAEDC,KAFC;AADkD,KAAnD,CAAP;AAMD;;AAEDE,QAAM,CAACC,OAAD,EAAuB;AAC3B,WAAO,KAAKP,KAAL,CAAWQ,KAAX,CAAiB,iCAAjB,EAAoDD,OAApD,CAAP;AACD;;AAEDE,QAAM,CAACC,EAAD,EAAaH,OAAb,EAAmC;AACvC,WAAO,KAAKP,KAAL,CAAWW,IAAX,CAAgB,mCAAmCD,EAAE,EAArD,EAAyDH,OAAzD,CAAP;AACD;;AAEDK,QAAM,CAACF,EAAD,EAAW;AACf,WAAO,KAAKV,KAAL,CAAWa,OAAX,CAAmB,mCAAmCH,EAAE,EAAxD,CAAP;AACD;;AAEDI,QAAM,CAACC,IAAD,EAAW;AACf,UAAMC,QAAQ,GAAG,IAAIC,QAAJ,EAAjB;AACAD,YAAQ,CAACE,MAAT,CAAgB,MAAhB,EAAwBH,IAAxB;AACA,WAAO,KAAKf,KAAL,CAAWQ,KAAX,CAAiB,wCAAjB,EAA2DQ,QAA3D,CAAP;AACD;;AAEDG,QAAM;AACJ,WAAO,KAAKnB,KAAL,CAAWC,IAAX,CAAgB,wCAAhB,EAA0D;AAC/DmB,kBAAY,EAAE;AADiD,KAA1D,CAAP;AAGD;;AApCkC;;QAAxBvB,O,GAAAA,O","names":["Product","Resource","getAll","axios","$get","getPaginated","pagination","query","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType"],"sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(pagination: QueryPaginate, query?: QueryProduct): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n\n import(file: File): Promise<void> {\n const formData = new FormData();\n formData.append('file', file);\n return this.axios.$post('/commercial-management/products/import', formData);\n }\n\n export(): Promise<Buffer> {\n return this.axios.$get('/commercial-management/products/export', {\n responseType: 'arraybuffer',\n });\n }\n}"]}
@@ -24,6 +24,12 @@ class PromoCode extends _Resource.Resource {
24
24
  return this.axios.$delete(`/promoCode/${id}`);
25
25
  }
26
26
 
27
+ getDefaultPromotion(params) {
28
+ return this.axios.$get('/promoCode/default', {
29
+ params
30
+ });
31
+ }
32
+
27
33
  }
28
34
 
29
35
  exports.PromoCode = PromoCode;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/PromoCode.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,SAAP,SAAyB,kBAAzB,CAAiC;AACrC,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAhB,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,OAAD,EAAyB;AAC7B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAjB,EAA+B,OAA/B,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,EAAD,EAAa,OAAb,EAAqC;AACzC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,cAAc,EAAE,EAAhC,EAAoC,OAApC,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,EAAD,EAAW;AACf,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,cAAc,EAAE,EAAnC,CAAP;AACD;;AAfoC;;QAA1B,S,GAAA,S","sourcesContent":["import { Resource } from '../Resource';\nimport { IPromoCode, CreatePromoCode, UpdatePromoCode } from '../../types';\n\nexport class PromoCode extends Resource {\n getAll(): Promise<IPromoCode[]> {\n return this.axios.$get('/promoCode');\n }\n\n create(payload: CreatePromoCode): Promise<IPromoCode> {\n return this.axios.$post('/promoCode', payload);\n }\n\n update(id: number, payload: UpdatePromoCode): Promise<IPromoCode> {\n return this.axios.$put(`/promoCode/${id}`, payload);\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/promoCode/${id}`);\n }\n}"],"sourceRoot":"","file":"PromoCode.js"}
1
+ {"version":3,"file":"PromoCode.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;AACrCC,QAAM;AACJ,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAhB,CAAP;AACD;;AAEDC,QAAM,CAACC,OAAD,EAAyB;AAC7B,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,YAAjB,EAA+BD,OAA/B,CAAP;AACD;;AAEDE,QAAM,CAACC,EAAD,EAAaH,OAAb,EAAqC;AACzC,WAAO,KAAKH,KAAL,CAAWO,IAAX,CAAgB,cAAcD,EAAE,EAAhC,EAAoCH,OAApC,CAAP;AACD;;AAEDK,QAAM,CAACF,EAAD,EAAW;AACf,WAAO,KAAKN,KAAL,CAAWS,OAAX,CAAmB,cAAcH,EAAE,EAAnC,CAAP;AACD;;AAEDI,qBAAmB,CAACC,MAAD,EAA8B;AAC/C,WAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAAEU;AAAF,KAAtC,CAAP;AACD;;AAnBoC;;QAA1Bd,S,GAAAA,S","names":["PromoCode","Resource","getAll","axios","$get","create","payload","$post","update","id","$put","delete","$delete","getDefaultPromotion","params"],"sourceRoot":"","sources":["../../../ts/api/resources/PromoCode.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IPromoCode, CreatePromoCode, UpdatePromoCode, QueryDefaultPromotion, ReadDefaultPromotion,\n} from '../../types';\n\nexport class PromoCode extends Resource {\n getAll(): Promise<IPromoCode[]> {\n return this.axios.$get('/promoCode');\n }\n\n create(payload: CreatePromoCode): Promise<IPromoCode> {\n return this.axios.$post('/promoCode', payload);\n }\n\n update(id: number, payload: UpdatePromoCode): Promise<IPromoCode> {\n return this.axios.$put(`/promoCode/${id}`, payload);\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/promoCode/${id}`);\n }\n\n getDefaultPromotion(params: QueryDefaultPromotion): Promise<ReadDefaultPromotion | null> {\n return this.axios.$get('/promoCode/default', { params });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Provision.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,SAAP,SAAyB,kBAAzB,CAAiC;AACrC,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4BAAhB,EAA8C;AAAE,MAAA;AAAF,KAA9C,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,MAAD,EAA4C;AAC7C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,8BAA8B,MAAM,CAAC,uBAAuB,EAA5E,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,OAAD,EAA6B;AACjC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,4BAAjB,EAA+C,OAA/C,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,uBAAD,EAAkC,OAAlC,EAA8D;AAClE,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,8BAA8B,uBAAuB,EAArE,EAAyE,OAAzE,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,uBAAD,EAAgC;AACpC,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,8BAA8B,uBAAuB,EAAxE,CAAP;AACD;;AAnBoC;;QAA1B,S,GAAA,S","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateProvisionForm, QueryGetProvisions, ReadProvision, UpdateProvisionForm,\n} from '../../types';\n\nexport class Provision extends Resource {\n getAll(params: QueryGetProvisions): Promise<ReadProvision[]> {\n return this.axios.$get('/balance-sheets/provisions', { params });\n }\n\n get(params: { idAccountingTransaction: number }): Promise<ReadProvision> {\n return this.axios.$get(`/balance-sheets/provisions/${params.idAccountingTransaction}`);\n }\n\n create(payload: CreateProvisionForm): Promise<ReadProvision> {\n return this.axios.$post('/balance-sheets/provisions', payload);\n }\n\n update(idAccountingTransaction: number, payload: UpdateProvisionForm): Promise<ReadProvision> {\n return this.axios.$put(`/balance-sheets/provisions/${idAccountingTransaction}`, payload);\n }\n\n delete(idAccountingTransaction: number): Promise<void> {\n return this.axios.$delete(`/balance-sheets/provisions/${idAccountingTransaction}`);\n }\n}\n"],"sourceRoot":"","file":"Provision.js"}
1
+ {"version":3,"file":"Provision.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;AACrCC,QAAM,CAACC,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;AAAEF;AAAF,KAA9C,CAAP;AACD;;AAEDG,KAAG,CAACH,MAAD,EAA4C;AAC7C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,8BAA8BF,MAAM,CAACI,uBAAuB,EAA5E,CAAP;AACD;;AAEDC,QAAM,CAACC,OAAD,EAA6B;AACjC,WAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,4BAAjB,EAA+CD,OAA/C,CAAP;AACD;;AAEDE,QAAM,CAACJ,uBAAD,EAAkCE,OAAlC,EAA8D;AAClE,WAAO,KAAKL,KAAL,CAAWQ,IAAX,CAAgB,8BAA8BL,uBAAuB,EAArE,EAAyEE,OAAzE,CAAP;AACD;;AAEDI,QAAM,CAACN,uBAAD,EAAgC;AACpC,WAAO,KAAKH,KAAL,CAAWU,OAAX,CAAmB,8BAA8BP,uBAAuB,EAAxE,CAAP;AACD;;AAnBoC;;QAA1BP,S,GAAAA,S","names":["Provision","Resource","getAll","params","axios","$get","get","idAccountingTransaction","create","payload","$post","update","$put","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Provision.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateProvisionForm, QueryGetProvisions, ReadProvision, UpdateProvisionForm,\n} from '../../types';\n\nexport class Provision extends Resource {\n getAll(params: QueryGetProvisions): Promise<ReadProvision[]> {\n return this.axios.$get('/balance-sheets/provisions', { params });\n }\n\n get(params: { idAccountingTransaction: number }): Promise<ReadProvision> {\n return this.axios.$get(`/balance-sheets/provisions/${params.idAccountingTransaction}`);\n }\n\n create(payload: CreateProvisionForm): Promise<ReadProvision> {\n return this.axios.$post('/balance-sheets/provisions', payload);\n }\n\n update(idAccountingTransaction: number, payload: UpdateProvisionForm): Promise<ReadProvision> {\n return this.axios.$put(`/balance-sheets/provisions/${idAccountingTransaction}`, payload);\n }\n\n delete(idAccountingTransaction: number): Promise<void> {\n return this.axios.$delete(`/balance-sheets/provisions/${idAccountingTransaction}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/QuotesAccount.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA,MAAM,KAAK,GAAG,QAAd;;AACM,MAAO,aAAP,SAA6B,kBAA7B,CAAqC;AACzC,EAAA,MAAM,CACJ,MADI,EACuD;AAE3D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,GAAG,KAAK,UAAzB,EAAqC,MAArC,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,UAAD,EAAmB;AACpB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,GAAG,KAAK,YAAY,UAAU,EAA9C,CAAP;AACD;;AAED,EAAA,MAAM,CACJ,MADI,EACsB;AAE1B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,GAAG,KAAK,UAAxB,EAAoC,MAApC,CAAP;AACD;;AAfwC;;QAA9B,a,GAAA,a","sourcesContent":["import { Resource } from '../Resource';\nimport { IAccountingTransaction, QueryQuotesAccount, ReadQuoteAccount } from '../../types';\n\nconst ROUTE = 'quotes';\nexport class QuotesAccount extends Resource {\n create(\n params: Omit<QueryQuotesAccount, 'idAccountingTransaction'>,\n ): Promise<IAccountingTransaction> {\n return this.axios.$post(`${ROUTE}/account`, params);\n }\n\n get(idExercice: number): Promise<ReadQuoteAccount[]> {\n return this.axios.$get(`${ROUTE}/account/${idExercice}`);\n }\n\n update(\n params: QueryQuotesAccount,\n ): Promise<IAccountingTransaction> {\n return this.axios.$put(`${ROUTE}/account`, params);\n }\n}"],"sourceRoot":"","file":"QuotesAccount.js"}
1
+ {"version":3,"file":"QuotesAccount.js","mappings":";;;;;;;AAAA;;AAGA,MAAMA,KAAK,GAAG,QAAd;;AACM,MAAOC,aAAP,SAA6BC,kBAA7B,CAAqC;AACzCC,QAAM,CACJC,MADI,EACuD;AAE3D,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,GAAGN,KAAK,UAAzB,EAAqCI,MAArC,CAAP;AACD;;AAEDG,KAAG,CAACC,UAAD,EAAmB;AACpB,WAAO,KAAKH,KAAL,CAAWI,IAAX,CAAgB,GAAGT,KAAK,YAAYQ,UAAU,EAA9C,CAAP;AACD;;AAEDE,QAAM,CACJN,MADI,EACsB;AAE1B,WAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,GAAGX,KAAK,UAAxB,EAAoCI,MAApC,CAAP;AACD;;AAfwC;;QAA9BH,a,GAAAA,a","names":["ROUTE","QuotesAccount","Resource","create","params","axios","$post","get","idExercice","$get","update","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/QuotesAccount.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { IAccountingTransaction, QueryQuotesAccount, ReadQuoteAccount } from '../../types';\n\nconst ROUTE = 'quotes';\nexport class QuotesAccount extends Resource {\n create(\n params: Omit<QueryQuotesAccount, 'idAccountingTransaction'>,\n ): Promise<IAccountingTransaction> {\n return this.axios.$post(`${ROUTE}/account`, params);\n }\n\n get(idExercice: number): Promise<ReadQuoteAccount[]> {\n return this.axios.$get(`${ROUTE}/account/${idExercice}`);\n }\n\n update(\n params: QueryQuotesAccount,\n ): Promise<IAccountingTransaction> {\n return this.axios.$put(`${ROUTE}/account`, params);\n }\n}"]}
@@ -12,6 +12,20 @@ class Registration extends _Resource.Resource {
12
12
  return this.axios.$post(`/exercices/${idExercice}/registrations`, params);
13
13
  }
14
14
 
15
+ updateOrCreateSettings(params) {
16
+ return this.axios.$post('/registrations/settings', params);
17
+ }
18
+
19
+ getAll(idSociety, params) {
20
+ return this.axios.$get(`/societies/${idSociety}/registrations`, Object.assign({}, params ? {
21
+ params
22
+ } : {}));
23
+ }
24
+
25
+ declare(id) {
26
+ return this.axios.$post(`/registrations/${id}/declare`);
27
+ }
28
+
15
29
  }
16
30
 
17
31
  exports.Registration = Registration;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Registration.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,YAAP,SAA4B,kBAA5B,CAAoC;AACxC,EAAA,cAAc,CAAC,UAAD,EAAqB,MAArB,EAA+C;AAC3D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,cAAc,UAAU,gBAAzC,EAA2D,MAA3D,CAAP;AACD;;AAHuC;;QAA7B,Y,GAAA,Y","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateRegistration, ReadRegistration } from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n}"],"sourceRoot":"","file":"Registration.js"}
1
+ {"version":3,"file":"Registration.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;AACxCC,gBAAc,CAACC,UAAD,EAAqBC,MAArB,EAA+C;AAC3D,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,cAAcH,UAAU,gBAAzC,EAA2DC,MAA3D,CAAP;AACD;;AACDG,wBAAsB,CAACH,MAAD,EAAkC;AACtD,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,yBAAjB,EAA4CF,MAA5C,CAAP;AACD;;AACDI,QAAM,CAACC,SAAD,EAAoBL,MAApB,EAA8C;AAClD,WAAO,KAAKC,KAAL,CAAWK,IAAX,CAAgB,cAAcD,SAAS,gBAAvC,EAAuDE,kBAAQP,MAAM,GAAG;AAAEA;AAAF,KAAH,GAAgB,EAA9B,CAAvD,CAAP;AACD;;AACDQ,SAAO,CAACC,EAAD,EAAW;AAChB,WAAO,KAAKR,KAAL,CAAWC,KAAX,CAAiB,kBAAkBO,EAAE,UAArC,CAAP;AACD;;AAZuC;;QAA7Bb,Y,GAAAA,Y","names":["Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","declare","id"],"sourceRoot":"","sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration, ReadRegistration, CreateRegistrationSetting, IVatDeclarationSocietyDetail, QueryRegistration,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(params: CreateRegistrationSetting): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(idSociety: number, params?: QueryRegistration): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, { ...(params ? { params } : {}) });\n }\n declare(id: number): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Report.ts"],"names":[],"mappings":";;;;;;;AAIA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,WAAW,CAAC,MAAD,EAAuC,WAAvC,EAAgE;AACzE,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA0B,MAAA,CAAA,MAAA,CAAA;AAAI,MAAA;AAAJ,KAAA,EAAgB,WAAW,GAAG;AAAE,MAAA;AAAF,KAAH,GAAqB,EAAhD,CAA1B,CAAP;AACD;;AACD,EAAA,QAAQ,CAAC,MAAD,EAA4B,WAA5B,EAAqD;AAC3D,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gBAAhB,EAAgC,MAAA,CAAA,MAAA,CAAA;AAAI,MAAA;AAAJ,KAAA,EAAgB,WAAW,GAAG;AAAE,MAAA;AAAF,KAAH,GAAqB,EAAhD,CAAhC,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B,MAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,UAAjB,EAA6B,MAA7B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,YAAY,MAAM,CAAC,EAAE,EAAxC,CAAP;AACD;;AAfiC;;QAAvB,M,GAAA,M","sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, QueryPaginate, QueryReports, QueryReportsStats, ReadReport, ReadReportStats, UpdateReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: QueryReports & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadReport>> {\n return this.axios.$get('/reports', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getStats(params: QueryReportsStats, cancelToken?: CancelToken): Promise<ReadReportStats[]> {\n return this.axios.$get('/reports/stats', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n update(params: UpdateReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n delete(params: DeleteReport): Promise<Report> {\n return this.axios.$delete(`/reports/${params.id}`);\n }\n}"],"sourceRoot":"","file":"Report.js"}
1
+ {"version":3,"file":"Report.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;AAClCC,aAAW,CAACC,MAAD,EAAuCC,WAAvC,EAAgE;AACzE,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAhB,EAA0BC;AAAIJ;AAAJ,OAAgBC,WAAW,GAAG;AAAEA;AAAF,KAAH,GAAqB,EAAhD,CAA1B,CAAP;AACD;;AACDI,UAAQ,CAACL,MAAD,EAA4BC,WAA5B,EAAqD;AAC3D,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAgCC;AAAIJ;AAAJ,OAAgBC,WAAW,GAAG;AAAEA;AAAF,KAAH,GAAqB,EAAhD,CAAhC,CAAP;AACD;;AACDK,QAAM,CAACN,MAAD,EAAqB;AACzB,WAAO,KAAKE,KAAL,CAAWK,IAAX,CAAgB,UAAhB,EAA4BP,MAA5B,CAAP;AACD;;AACDQ,QAAM,CAACR,MAAD,EAAqB;AACzB,WAAO,KAAKE,KAAL,CAAWO,KAAX,CAAiB,UAAjB,EAA6BT,MAA7B,CAAP;AACD;;AACDU,QAAM,CAACV,MAAD,EAAqB;AACzB,WAAO,KAAKE,KAAL,CAAWS,OAAX,CAAmB,YAAYX,MAAM,CAACY,EAAE,EAAxC,CAAP;AACD;;AAfiC;;QAAvBf,M,GAAAA,M","names":["Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","getStats","update","$put","create","$post","delete","$delete","id"],"sourceRoot":"","sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, QueryPaginate, QueryReports, QueryReportsStats, ReadReport, ReadReportStats, UpdateReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: QueryReports & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadReport>> {\n return this.axios.$get('/reports', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getStats(params: QueryReportsStats, cancelToken?: CancelToken): Promise<ReadReportStats[]> {\n return this.axios.$get('/reports/stats', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n update(params: UpdateReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n delete(params: DeleteReport): Promise<Report> {\n return this.axios.$delete(`/reports/${params.id}`);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Revision.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAQM,MAAO,QAAP,SAAwB,kBAAxB,CAAgC;AACpC,EAAA,gBAAgB,CAAC,MAAD,EAAsB;AACpC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,qBAAhB,EAAuC;AAAE,MAAA;AAAF,KAAvC,CAAP;AACD;;AAED,EAAA,gCAAgC,CAAC,SAAD,EAAoB,MAApB,EAAgD;AAC9E,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,uBAAuB,SAAS,EAAhD,EAAoD;AAAE,MAAA;AAAF,KAApD,CAAP;AACD;;AAED,EAAA,kBAAkB,CAAC,uBAAD,EAAgC;AAChD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,2BAA2B,uBAAuB,EAAlE,CAAP;AACD;;AAED,EAAA,oBAAoB,CAAC,MAAD,EAAmC;AACrD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mBAAhB,EAAqC;AAAE,MAAA;AAAF,KAArC,CAAP;AACD;;AAED,EAAA,gBAAgB,CAAC,SAAD,EAAoB,UAApB,EAA6D;AAC3E,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,iCAAiC,SAAS,EAA3D,EAA+D,UAA/D,CAAP;AACD;;AAnBmC;;QAAzB,Q,GAAA,Q","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate, QueryRevisionMergeIntoAccount, QueryRevision, QueryRevisionAccount, ReadRevision, ReadRevisionAccount,\n ReadRevisionTransactionDetail,\n ReadRevisionMergeIntoAccount,\n QueryRevisionSearchEntries,\n} from '../..';\n\nexport class Revision extends Resource {\n getAllByAccounts(params: QueryRevision): Promise<ReadRevision[]> {\n return this.axios.$get('/revisions/accounts', { params });\n }\n\n getPaginateTransactionsByAccount(idAccount: number, params: QueryRevisionAccount): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get(`/revisions/accounts/${idAccount}`, { params });\n }\n\n getTransactionById(idAccountingTransaction: number): Promise<ReadRevisionTransactionDetail> {\n return this.axios.$get(`/revisions/transactions/${idAccountingTransaction}`);\n }\n\n getPaginateEntriesBy(params: QueryRevisionSearchEntries): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get('/revisions/search', { params });\n }\n\n mergeIntoAccount(idAccount: number, bodyParams: QueryRevisionMergeIntoAccount): Promise<ReadRevisionMergeIntoAccount> {\n return this.axios.$post(`/revisions/merge-into-account/${idAccount}`, bodyParams);\n }\n}"],"sourceRoot":"","file":"Revision.js"}
1
+ {"version":3,"file":"Revision.js","mappings":";;;;;;;AAAA;;AAQM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;AACpCC,kBAAgB,CAACC,MAAD,EAAsB;AACpC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,qBAAhB,EAAuC;AAAEF;AAAF,KAAvC,CAAP;AACD;;AAEDG,kCAAgC,CAACC,SAAD,EAAoBJ,MAApB,EAAgD;AAC9E,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,uBAAuBE,SAAS,EAAhD,EAAoD;AAAEJ;AAAF,KAApD,CAAP;AACD;;AAEDK,oBAAkB,CAACC,uBAAD,EAAgC;AAChD,WAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,2BAA2BI,uBAAuB,EAAlE,CAAP;AACD;;AAEDC,sBAAoB,CAACP,MAAD,EAAmC;AACrD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,mBAAhB,EAAqC;AAAEF;AAAF,KAArC,CAAP;AACD;;AAEDQ,kBAAgB,CAACJ,SAAD,EAAoBK,UAApB,EAA6D;AAC3E,WAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,iCAAiCN,SAAS,EAA3D,EAA+DK,UAA/D,CAAP;AACD;;AAnBmC;;QAAzBZ,Q,GAAAA,Q","names":["Revision","Resource","getAllByAccounts","params","axios","$get","getPaginateTransactionsByAccount","idAccount","getTransactionById","idAccountingTransaction","getPaginateEntriesBy","mergeIntoAccount","bodyParams","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Revision.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate, QueryRevisionMergeIntoAccount, QueryRevision, QueryRevisionAccount, ReadRevision, ReadRevisionAccount,\n ReadRevisionTransactionDetail,\n ReadRevisionMergeIntoAccount,\n QueryRevisionSearchEntries,\n} from '../..';\n\nexport class Revision extends Resource {\n getAllByAccounts(params: QueryRevision): Promise<ReadRevision[]> {\n return this.axios.$get('/revisions/accounts', { params });\n }\n\n getPaginateTransactionsByAccount(idAccount: number, params: QueryRevisionAccount): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get(`/revisions/accounts/${idAccount}`, { params });\n }\n\n getTransactionById(idAccountingTransaction: number): Promise<ReadRevisionTransactionDetail> {\n return this.axios.$get(`/revisions/transactions/${idAccountingTransaction}`);\n }\n\n getPaginateEntriesBy(params: QueryRevisionSearchEntries): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get('/revisions/search', { params });\n }\n\n mergeIntoAccount(idAccount: number, bodyParams: QueryRevisionMergeIntoAccount): Promise<ReadRevisionMergeIntoAccount> {\n return this.axios.$post(`/revisions/merge-into-account/${idAccount}`, bodyParams);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/RevisionGuide.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,aAAP,SAA6B,kBAA7B,CAAqC;AACzC,EAAA,MAAM,CAAC,UAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,aAAa,UAAU,gBAAvC,CAAP;AACD;;AAED,EAAA,cAAc,CAAC,UAAD,EAAqB,OAArB,EAAmD;AAC/D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,UAAU,gBAAxC,EAA0D,OAA1D,CAAP;AACD;;AAED,EAAA,YAAY,CAAC,UAAD,EAAmB;AAC7B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,UAAU,qBAAxC,CAAP;AACD;;AAXwC;;QAA9B,a,GAAA,a","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateRevisionGuide, IRevisionGuide } from '../../types';\n\nexport class RevisionGuide extends Resource {\n getAll(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$get(`/exercice/${idExercice}/revisionGuide`);\n }\n\n updateOrCreate(idExercice: number, payload: CreateRevisionGuide[]): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide`, payload);\n }\n\n generateFile(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide/file`);\n }\n}"],"sourceRoot":"","file":"RevisionGuide.js"}
1
+ {"version":3,"file":"RevisionGuide.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;AACzCC,QAAM,CAACC,UAAD,EAAmB;AACvB,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,UAAU,gBAAvC,CAAP;AACD;;AAEDG,gBAAc,CAACH,UAAD,EAAqBI,OAArB,EAAmD;AAC/D,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaL,UAAU,gBAAxC,EAA0DI,OAA1D,CAAP;AACD;;AAEDE,cAAY,CAACN,UAAD,EAAmB;AAC7B,WAAO,KAAKC,KAAL,CAAWI,KAAX,CAAiB,aAAaL,UAAU,qBAAxC,CAAP;AACD;;AAXwC;;QAA9BH,a,GAAAA,a","names":["RevisionGuide","Resource","getAll","idExercice","axios","$get","updateOrCreate","payload","$post","generateFile"],"sourceRoot":"","sources":["../../../ts/api/resources/RevisionGuide.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateRevisionGuide, IRevisionGuide } from '../../types';\n\nexport class RevisionGuide extends Resource {\n getAll(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$get(`/exercice/${idExercice}/revisionGuide`);\n }\n\n updateOrCreate(idExercice: number, payload: CreateRevisionGuide[]): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide`, payload);\n }\n\n generateFile(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide/file`);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/SalariesFile.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,YAAP,SAA4B,kBAA5B,CAAoC;AACxC,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,cAAjB,EAAiC,MAAjC,CAAP;AACD;AAED;;;;AAIG;;;AACH,EAAA,MAAM,CAAC,MAAD,EAAkC;AACtC,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,iBAAiB,MAAM,CAAC,aAAa,EAAxD,CAAP;AACD;AAED;;;;;AAKG;;;AACH,EAAA,MAAM,CAAC,MAAD,EAA+B;AACnC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,0BAA0B,MAAM,CAAC,UAAU,EAA3D,CAAP;AACD;;AAtBuC;;QAA7B,Y,GAAA,Y","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateSalariesFile, ReadSalariesFile } from '../../types';\n\nexport class SalariesFile extends Resource {\n create(params: CreateSalariesFile): Promise<ReadSalariesFile> {\n return this.axios.$post('salariesFile', params);\n }\n\n /**\n * delete SalariesFile\n * @param params\n * @returns\n */\n delete(params: { idSalarieFile: number }): Promise<number> {\n return this.axios.$delete(`/salariesFile/${params.idSalarieFile}`);\n }\n\n /**\n * Get des salaries File\n *\n * @param params\n * @returns\n */\n getAll(params: { idExercice: number }): Promise<ReadSalariesFile[]> {\n return this.axios.$get(`/salariesFile/exercice/${params.idExercice}`);\n }\n}\n"],"sourceRoot":"","file":"SalariesFile.js"}
1
+ {"version":3,"file":"SalariesFile.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;AACxCC,QAAM,CAACC,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,cAAjB,EAAiCF,MAAjC,CAAP;AACD;AAED;;;;;;;AAKAG,QAAM,CAACH,MAAD,EAAkC;AACtC,WAAO,KAAKC,KAAL,CAAWG,OAAX,CAAmB,iBAAiBJ,MAAM,CAACK,aAAa,EAAxD,CAAP;AACD;AAED;;;;;;;;AAMAC,QAAM,CAACN,MAAD,EAA+B;AACnC,WAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,0BAA0BP,MAAM,CAACQ,UAAU,EAA3D,CAAP;AACD;;AAtBuC;;QAA7BX,Y,GAAAA,Y","names":["SalariesFile","Resource","create","params","axios","$post","delete","$delete","idSalarieFile","getAll","$get","idExercice"],"sourceRoot":"","sources":["../../../ts/api/resources/SalariesFile.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateSalariesFile, ReadSalariesFile } from '../../types';\n\nexport class SalariesFile extends Resource {\n create(params: CreateSalariesFile): Promise<ReadSalariesFile> {\n return this.axios.$post('salariesFile', params);\n }\n\n /**\n * delete SalariesFile\n * @param params\n * @returns\n */\n delete(params: { idSalarieFile: number }): Promise<number> {\n return this.axios.$delete(`/salariesFile/${params.idSalarieFile}`);\n }\n\n /**\n * Get des salaries File\n *\n * @param params\n * @returns\n */\n getAll(params: { idExercice: number }): Promise<ReadSalariesFile[]> {\n return this.axios.$get(`/salariesFile/exercice/${params.idExercice}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Search.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,WAAW,CAAC,KAAD,EAA+B;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,kBAAhB,EAAoC;AAAE,MAAA,MAAM,EAAE;AAAV,KAApC,CAAP;AACD;;AACD,EAAA,oBAAoB,CAAC,KAAD,EAAuC;AACzD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,2BAAhB,EAA6C;AAAE,MAAA,MAAM,EAAE;AAAV,KAA7C,CAAP;AACD;;AANiC;;QAAvB,M,GAAA,M","sourcesContent":["import { QueryGetBusinessPappers, ReadBusinessPappers, QueryGetBusinessDocumentPappers } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Search extends Resource {\n getBusiness(query: QueryGetBusinessPappers): Promise<ReadBusinessPappers> {\n return this.axios.$get('/search/business', { params: query });\n }\n getDocumentFromToken(query: QueryGetBusinessDocumentPappers): Promise<void> {\n return this.axios.$get('/search/business/document', { params: query });\n }\n}"],"sourceRoot":"","file":"Search.js"}
1
+ {"version":3,"file":"Search.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;AAClCC,aAAW,CAACC,KAAD,EAA+B;AACxC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoC;AAAEC,YAAM,EAAEH;AAAV,KAApC,CAAP;AACD;;AACDI,sBAAoB,CAACJ,KAAD,EAAuC;AACzD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,2BAAhB,EAA6C;AAAEC,YAAM,EAAEH;AAAV,KAA7C,CAAP;AACD;;AANiC;;QAAvBH,M,GAAAA,M","names":["Search","Resource","getBusiness","query","axios","$get","params","getDocumentFromToken"],"sourceRoot":"","sources":["../../../ts/api/resources/Search.ts"],"sourcesContent":["import { QueryGetBusinessPappers, ReadBusinessPappers, QueryGetBusinessDocumentPappers } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Search extends Resource {\n getBusiness(query: QueryGetBusinessPappers): Promise<ReadBusinessPappers> {\n return this.axios.$get('/search/business', { params: query });\n }\n getDocumentFromToken(query: QueryGetBusinessDocumentPappers): Promise<void> {\n return this.axios.$get('/search/business/document', { params: query });\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,KAAP,SAAqB,kBAArB,CAA6B;AACjC,EAAA,OAAO,CAAC,SAAD,EAAoB,MAApB,EAAsC;AAC3C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAU,SAAS,UAAnC,EAA+C;AAAE,MAAA;AAAF,KAA/C,CAAP;AACD;;AACD,EAAA,iBAAiB,CAAC,SAAD,EAAoB,MAApB,EAA8C;AAC7D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,UAAU,SAAS,oBAApC,EAA0D,MAA1D,CAAP;AACD;;AACD,EAAA,kBAAkB,CAAC,MAAD,EAAgC;AAChD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,2BAAjB,EAA8C,MAA9C,CAAP;AACD;;AATgC;;QAAtB,K,GAAA,K","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n}"],"sourceRoot":"","file":"Shine.js"}
1
+ {"version":3,"file":"Shine.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;AACjCC,SAAO,CAACC,SAAD,EAAoBC,MAApB,EAAsC;AAC3C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAUH,SAAS,UAAnC,EAA+C;AAAEC;AAAF,KAA/C,CAAP;AACD;;AACDG,mBAAiB,CAACJ,SAAD,EAAoBC,MAApB,EAA8C;AAC7D,WAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,UAAUL,SAAS,oBAApC,EAA0DC,MAA1D,CAAP;AACD;;AACDK,oBAAkB,CAACL,MAAD,EAAgC;AAChD,WAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,2BAAjB,EAA8CJ,MAA9C,CAAP;AACD;;AATgC;;QAAtBJ,K,GAAAA,K","names":["Shine","Resource","connect","idSociety","params","axios","$get","importBankAccount","$post","importTransactions"],"sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n}"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/api/resources/Simulation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAOM,MAAO,UAAP,SAA0B,kBAA1B,CAAkC;AACtC,EAAA,YAAY,CAAC,MAAD,EAA8C;AACxD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,MAAM,CAAC,SAAS,cAA5C,EAA4D;AACjE,MAAA;AADiE,KAA5D,CAAP;AAGD;;AAED,EAAA,yBAAyB,CAAC,MAAD,EAA8B;AACrD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAY,MAAM,CAAC,SAAS,4BAA7C,CAAP;AACD;;AAED,EAAA,SAAS,GAAA;AACP,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,CAAP;AACD;;AAbqC;;QAA3B,U,GAAA,U","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n ISimulation, ISociety,\n QueryPaginate, ReadSimulationColor,\n} from '../../types';\n\nexport class Simulation extends Resource {\n getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {\n return this.axios.$get(`/society/${params.idSociety}/simulations`, {\n params,\n });\n }\n\n hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {\n return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);\n }\n\n getColors(): Promise<ReadSimulationColor[]> {\n return this.axios.$get('/simulation/colors');\n }\n}\n"],"sourceRoot":"","file":"Simulation.js"}
1
+ {"version":3,"file":"Simulation.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;AACtCC,cAAY,CAACC,MAAD,EAA8C;AACxD,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACG,SAAS,cAA5C,EAA4D;AACjEH;AADiE,KAA5D,CAAP;AAGD;;AAEDI,2BAAyB,CAACJ,MAAD,EAA8B;AACrD,WAAO,KAAKC,KAAL,CAAWI,KAAX,CAAiB,YAAYL,MAAM,CAACG,SAAS,4BAA7C,CAAP;AACD;;AAEDG,WAAS;AACP,WAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,CAAP;AACD;;AAbqC;;QAA3BL,U,GAAAA,U","names":["Simulation","Resource","getBySociety","params","axios","$get","idSociety","hideSimulationBetaMessage","$post","getColors"],"sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n ISimulation, ISociety,\n QueryPaginate, ReadSimulationColor,\n} from '../../types';\n\nexport class Simulation extends Resource {\n getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {\n return this.axios.$get(`/society/${params.idSociety}/simulations`, {\n params,\n });\n }\n\n hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {\n return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);\n }\n\n getColors(): Promise<ReadSimulationColor[]> {\n return this.axios.$get('/simulation/colors');\n }\n}\n"]}