@silexpert/core 1.1.72 → 1.1.74

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 (1284) hide show
  1. package/es/types/Enum/PartnerType.js.map +1 -1
  2. package/es/types/Enum/Vat.js.map +1 -1
  3. package/es/types/Form/FormAuthenticate.d.ts.map +1 -1
  4. package/es/types/Form/FormAuthenticate.js.map +1 -1
  5. package/es/types/Interface/api/3cx/Create3cxLog.d.ts.map +1 -1
  6. package/es/types/Interface/api/3cx/Create3cxLog.js.map +1 -1
  7. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  8. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  9. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  10. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  11. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts.map +1 -1
  12. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
  13. package/es/types/Interface/api/acceptance/CreateAcceptance.d.ts.map +1 -1
  14. package/es/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -1
  15. package/es/types/Interface/api/account/CreateAccountSociety.d.ts.map +1 -1
  16. package/es/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
  17. package/es/types/Interface/api/account/QueryAccountSociety.d.ts.map +1 -1
  18. package/es/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
  19. package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -1
  20. package/es/types/Interface/api/account/QueryAccounts.js.map +1 -1
  21. package/es/types/Interface/api/account/QueryGenericAccount.d.ts.map +1 -1
  22. package/es/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
  23. package/es/types/Interface/api/account/UpdateAccountSociety.d.ts.map +1 -1
  24. package/es/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
  25. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  26. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  27. package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts.map +1 -1
  28. package/es/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
  29. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  30. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  31. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -1
  32. package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
  33. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts.map +1 -1
  34. package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -1
  35. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -1
  36. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
  37. package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
  38. package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
  39. package/es/types/Interface/api/accountsSectors/Create.d.ts.map +1 -1
  40. package/es/types/Interface/api/accountsSectors/Create.js.map +1 -1
  41. package/es/types/Interface/api/accountsSectors/Query.d.ts.map +1 -1
  42. package/es/types/Interface/api/accountsSectors/Query.js.map +1 -1
  43. package/es/types/Interface/api/adjustment/Create.d.ts.map +1 -1
  44. package/es/types/Interface/api/adjustment/Create.js.map +1 -1
  45. package/es/types/Interface/api/adjustment/Query.d.ts.map +1 -1
  46. package/es/types/Interface/api/adjustment/Query.js.map +1 -1
  47. package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.d.ts.map +1 -1
  48. package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -1
  49. package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.d.ts.map +1 -1
  50. package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
  51. package/es/types/Interface/api/alert/CreateAlert.d.ts.map +1 -1
  52. package/es/types/Interface/api/alert/CreateAlert.js.map +1 -1
  53. package/es/types/Interface/api/appNotification/Update.d.ts.map +1 -1
  54. package/es/types/Interface/api/appNotification/Update.js.map +1 -1
  55. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
  56. package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
  57. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -1
  58. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
  59. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  60. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  61. package/es/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.d.ts.map +1 -1
  62. package/es/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
  63. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
  64. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  65. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts.map +1 -1
  66. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
  67. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
  68. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  69. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
  70. package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  71. package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts.map +1 -1
  72. package/es/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -1
  73. package/es/types/Interface/api/bankAccount/QueryBankAccount.d.ts.map +1 -1
  74. package/es/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -1
  75. package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
  76. package/es/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
  77. package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts.map +1 -1
  78. package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
  79. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.d.ts.map +1 -1
  80. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -1
  81. package/es/types/Interface/api/budgetInsight/Create.d.ts.map +1 -1
  82. package/es/types/Interface/api/budgetInsight/Create.js.map +1 -1
  83. package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
  84. package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
  85. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.d.ts.map +1 -1
  86. package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
  87. package/es/types/Interface/api/businessSector/Create.d.ts.map +1 -1
  88. package/es/types/Interface/api/businessSector/Create.js.map +1 -1
  89. package/es/types/Interface/api/businessSector/Delete.d.ts.map +1 -1
  90. package/es/types/Interface/api/businessSector/Delete.js.map +1 -1
  91. package/es/types/Interface/api/businessSector/Query.d.ts.map +1 -1
  92. package/es/types/Interface/api/businessSector/Query.js.map +1 -1
  93. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  94. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  95. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
  96. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  97. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +1 -1
  98. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  99. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +1 -1
  100. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
  101. package/es/types/Interface/api/calendarEvent/interval.d.ts.map +1 -1
  102. package/es/types/Interface/api/calendarEvent/interval.js.map +1 -1
  103. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +1 -1
  104. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -1
  105. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
  106. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  107. package/es/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
  108. package/es/types/Interface/api/cashAndExpense/Create.js.map +1 -1
  109. package/es/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  110. package/es/types/Interface/api/cerfa/2031.js.map +1 -1
  111. package/es/types/Interface/api/cerfa/2033.d.ts.map +1 -1
  112. package/es/types/Interface/api/cerfa/2033.js.map +1 -1
  113. package/es/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  114. package/es/types/Interface/api/cerfa/2035.js.map +1 -1
  115. package/es/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  116. package/es/types/Interface/api/cerfa/2065.js.map +1 -1
  117. package/es/types/Interface/api/checklist/Query.d.ts.map +1 -1
  118. package/es/types/Interface/api/checklist/Query.js.map +1 -1
  119. package/es/types/Interface/api/checklist/Update.d.ts.map +1 -1
  120. package/es/types/Interface/api/checklist/Update.js.map +1 -1
  121. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts.map +1 -1
  122. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
  123. package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
  124. package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
  125. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts.map +1 -1
  126. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -1
  127. package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.d.ts.map +1 -1
  128. package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -1
  129. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  130. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  131. package/es/types/Interface/api/commercialImport/Create.d.ts.map +1 -1
  132. package/es/types/Interface/api/commercialImport/Create.js.map +1 -1
  133. package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -1
  134. package/es/types/Interface/api/commercialImport/Query.js.map +1 -1
  135. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  136. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  137. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  138. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
  139. package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
  140. package/es/types/Interface/api/commercialManagement/Update.js.map +1 -1
  141. package/es/types/Interface/api/connection/QueryConnectionState.d.ts.map +1 -1
  142. package/es/types/Interface/api/connection/QueryConnectionState.js.map +1 -1
  143. package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -1
  144. package/es/types/Interface/api/connector/CreateConnector.js.map +1 -1
  145. package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -1
  146. package/es/types/Interface/api/connector/QueryConnector.js.map +1 -1
  147. package/es/types/Interface/api/customerActivity/Create.d.ts.map +1 -1
  148. package/es/types/Interface/api/customerActivity/Create.js.map +1 -1
  149. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.d.ts.map +1 -1
  150. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -1
  151. package/es/types/Interface/api/customerActivity/Query.d.ts.map +1 -1
  152. package/es/types/Interface/api/customerActivity/Query.js.map +1 -1
  153. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -1
  154. package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  155. package/es/types/Interface/api/dashboard/QueryBalanceBankAccount.d.ts.map +1 -1
  156. package/es/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
  157. package/es/types/Interface/api/dashboard/QueryDeadline.d.ts.map +1 -1
  158. package/es/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
  159. package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts.map +1 -1
  160. package/es/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
  161. package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts.map +1 -1
  162. package/es/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
  163. package/es/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.d.ts.map +1 -1
  164. package/es/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
  165. package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +1 -1
  166. package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -1
  167. package/es/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -1
  168. package/es/types/Interface/api/employee/QueryEmployeeSearch.d.ts.map +1 -1
  169. package/es/types/Interface/api/employee/QueryEmployeeSearch.js.map +1 -1
  170. package/es/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -1
  171. package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
  172. package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
  173. package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
  174. package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -1
  175. package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
  176. package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  177. package/es/types/Interface/api/exerciceNote/CreateExerciceNote.d.ts.map +1 -1
  178. package/es/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
  179. package/es/types/Interface/api/exerciceNote/QueryExerciceNote.d.ts.map +1 -1
  180. package/es/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
  181. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts.map +1 -1
  182. package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
  183. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts.map +1 -1
  184. package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
  185. package/es/types/Interface/api/facturation/CreateRebilling.d.ts.map +1 -1
  186. package/es/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
  187. package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.d.ts.map +1 -1
  188. package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
  189. package/es/types/Interface/api/fecFile/CreateFecFile.d.ts.map +1 -1
  190. package/es/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
  191. package/es/types/Interface/api/fecFile/QueryFecFile.d.ts.map +1 -1
  192. package/es/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
  193. package/es/types/Interface/api/file/Create.d.ts.map +1 -1
  194. package/es/types/Interface/api/file/Create.js.map +1 -1
  195. package/es/types/Interface/api/file/Query.d.ts.map +1 -1
  196. package/es/types/Interface/api/file/Query.js.map +1 -1
  197. package/es/types/Interface/api/financialCharge/CreateNonDeductibleInterests.d.ts.map +1 -1
  198. package/es/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
  199. package/es/types/Interface/api/firstStep/Create.d.ts.map +1 -1
  200. package/es/types/Interface/api/firstStep/Create.js.map +1 -1
  201. package/es/types/Interface/api/fusion/FusionSocieties.d.ts.map +1 -1
  202. package/es/types/Interface/api/fusion/FusionSocieties.js.map +1 -1
  203. package/es/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  204. package/es/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  205. package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
  206. package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
  207. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  208. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  209. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  210. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  211. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  212. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  213. package/es/types/Interface/api/iDocus/CreateExport.d.ts.map +1 -1
  214. package/es/types/Interface/api/iDocus/CreateExport.js.map +1 -1
  215. package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -1
  216. package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  217. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -1
  218. package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
  219. package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
  220. package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  221. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts.map +1 -1
  222. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -1
  223. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts.map +1 -1
  224. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -1
  225. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts.map +1 -1
  226. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -1
  227. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts.map +1 -1
  228. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -1
  229. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
  230. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
  231. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.d.ts.map +1 -1
  232. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
  233. package/es/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  234. package/es/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  235. package/es/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
  236. package/es/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  237. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -1
  238. package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
  239. package/es/types/Interface/api/journal/QueryJournal.d.ts.map +1 -1
  240. package/es/types/Interface/api/journal/QueryJournal.js.map +1 -1
  241. package/es/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.d.ts.map +1 -1
  242. package/es/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
  243. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +1 -1
  244. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -1
  245. package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  246. package/es/types/Interface/api/letter/CreateLetter.js.map +1 -1
  247. package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts.map +1 -1
  248. package/es/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -1
  249. package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  250. package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
  251. package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -1
  252. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -1
  253. package/es/types/Interface/api/loan/UpdateLoan.d.ts.map +1 -1
  254. package/es/types/Interface/api/loan/UpdateLoan.js.map +1 -1
  255. package/es/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
  256. package/es/types/Interface/api/log/QueryLogPagination.js.map +1 -1
  257. package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.d.ts.map +1 -1
  258. package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
  259. package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  260. package/es/types/Interface/api/mail/QueryCountMail.d.ts.map +1 -1
  261. package/es/types/Interface/api/mail/QueryCountMail.js.map +1 -1
  262. package/es/types/Interface/api/mail/QueryCountProcessedByUser.d.ts.map +1 -1
  263. package/es/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -1
  264. package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.d.ts.map +1 -1
  265. package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -1
  266. package/es/types/Interface/api/mail/QueryGetSignature.d.ts.map +1 -1
  267. package/es/types/Interface/api/mail/QueryGetSignature.js.map +1 -1
  268. package/es/types/Interface/api/mail/QueryMail.d.ts.map +1 -1
  269. package/es/types/Interface/api/mail/QueryMail.js.map +1 -1
  270. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  271. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  272. package/es/types/Interface/api/mail/UpdateMail.d.ts.map +1 -1
  273. package/es/types/Interface/api/mail/UpdateMail.js.map +1 -1
  274. package/es/types/Interface/api/mail/UpdateMailParams.js.map +1 -1
  275. package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.d.ts.map +1 -1
  276. package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
  277. package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.d.ts.map +1 -1
  278. package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
  279. package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts.map +1 -1
  280. package/es/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
  281. package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts.map +1 -1
  282. package/es/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -1
  283. package/es/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
  284. package/es/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
  285. package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
  286. package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
  287. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
  288. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  289. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
  290. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  291. package/es/types/Interface/api/ocr/CreateOcr.d.ts.map +1 -1
  292. package/es/types/Interface/api/ocr/CreateOcr.js.map +1 -1
  293. package/es/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -1
  294. package/es/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
  295. package/es/types/Interface/api/pappers/QueryPappers.d.ts.map +1 -1
  296. package/es/types/Interface/api/pappers/QueryPappers.js.map +1 -1
  297. package/es/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
  298. package/es/types/Interface/api/partner/CreatePartner.js.map +1 -1
  299. package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
  300. package/es/types/Interface/api/partner/Query.js.map +1 -1
  301. package/es/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
  302. package/es/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  303. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -1
  304. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
  305. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts.map +1 -1
  306. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
  307. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts.map +1 -1
  308. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
  309. package/es/types/Interface/api/partneredAccountant/InvitePartneredAccountant.d.ts.map +1 -1
  310. package/es/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
  311. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts.map +1 -1
  312. package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
  313. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts.map +1 -1
  314. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
  315. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.d.ts.map +1 -1
  316. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
  317. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -1
  318. package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
  319. package/es/types/Interface/api/payment/QueryMonthlyPayment.d.ts.map +1 -1
  320. package/es/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
  321. package/es/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
  322. package/es/types/Interface/api/payment/QueryPayment.js.map +1 -1
  323. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  324. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  325. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
  326. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  327. package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts.map +1 -1
  328. package/es/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
  329. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +1 -1
  330. package/es/types/Interface/api/prestation/CreatePrestation.js.map +1 -1
  331. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +1 -1
  332. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -1
  333. package/es/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.d.ts.map +1 -1
  334. package/es/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.js.map +1 -1
  335. package/es/types/Interface/api/prestation/QueryPrestation.d.ts.map +1 -1
  336. package/es/types/Interface/api/prestation/QueryPrestation.js.map +1 -1
  337. package/es/types/Interface/api/prestations/QueryCreate.d.ts.map +1 -1
  338. package/es/types/Interface/api/prestations/QueryCreate.js.map +1 -1
  339. package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts.map +1 -1
  340. package/es/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
  341. package/es/types/Interface/api/prestations/QueryUpdate.d.ts.map +1 -1
  342. package/es/types/Interface/api/prestations/QueryUpdate.js.map +1 -1
  343. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  344. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  345. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  346. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  347. package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
  348. package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
  349. package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -1
  350. package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
  351. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +1 -1
  352. package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -1
  353. package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +1 -1
  354. package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -1
  355. package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -1
  356. package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
  357. package/es/types/Interface/api/provision/CreateProvisionForm.d.ts.map +1 -1
  358. package/es/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  359. package/es/types/Interface/api/provision/QueryGetProvisions.d.ts.map +1 -1
  360. package/es/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
  361. package/es/types/Interface/api/provision/QueryProvisions.d.ts.map +1 -1
  362. package/es/types/Interface/api/provision/QueryProvisions.js.map +1 -1
  363. package/es/types/Interface/api/provision/UpdateProvisionForm.d.ts.map +1 -1
  364. package/es/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
  365. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +1 -1
  366. package/es/types/Interface/api/qonto/CreateImportation.js.map +1 -1
  367. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +1 -1
  368. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -1
  369. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +1 -1
  370. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -1
  371. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +1 -1
  372. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -1
  373. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +1 -1
  374. package/es/types/Interface/api/qonto/UpdateConnection.js.map +1 -1
  375. package/es/types/Interface/api/quotes/CreateQuoteAccount.d.ts.map +1 -1
  376. package/es/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
  377. package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts.map +1 -1
  378. package/es/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
  379. package/es/types/Interface/api/rating/QueryRatingPaginated.d.ts.map +1 -1
  380. package/es/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
  381. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  382. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  383. package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
  384. package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  385. package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
  386. package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -1
  387. package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -1
  388. package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
  389. package/es/types/Interface/api/regulate/QueryGetAll.d.ts.map +1 -1
  390. package/es/types/Interface/api/regulate/QueryGetAll.js.map +1 -1
  391. package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  392. package/es/types/Interface/api/report/CreateReport.js.map +1 -1
  393. package/es/types/Interface/api/report/DeleteReport.d.ts.map +1 -1
  394. package/es/types/Interface/api/report/DeleteReport.js.map +1 -1
  395. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  396. package/es/types/Interface/api/report/QueryReports.js.map +1 -1
  397. package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  398. package/es/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  399. package/es/types/Interface/api/report/QueryReportsStats.d.ts.map +1 -1
  400. package/es/types/Interface/api/report/QueryReportsStats.js.map +1 -1
  401. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
  402. package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
  403. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
  404. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  405. package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +1 -1
  406. package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -1
  407. package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts.map +1 -1
  408. package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
  409. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
  410. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  411. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  412. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  413. package/es/types/Interface/api/revisionGuide/CreateRevisionGuide.d.ts.map +1 -1
  414. package/es/types/Interface/api/revisionGuide/CreateRevisionGuide.js.map +1 -1
  415. package/es/types/Interface/api/revive/PostRevive.d.ts.map +1 -1
  416. package/es/types/Interface/api/revive/PostRevive.js.map +1 -1
  417. package/es/types/Interface/api/rule/Create.d.ts.map +1 -1
  418. package/es/types/Interface/api/rule/Create.js.map +1 -1
  419. package/es/types/Interface/api/rule/Query.d.ts.map +1 -1
  420. package/es/types/Interface/api/rule/Query.js.map +1 -1
  421. package/es/types/Interface/api/rule/Update.d.ts.map +1 -1
  422. package/es/types/Interface/api/rule/Update.js.map +1 -1
  423. package/es/types/Interface/api/salariesFile/CreateSalariesFile.d.ts.map +1 -1
  424. package/es/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
  425. package/es/types/Interface/api/shareCapital/CreateInKindContribution.d.ts.map +1 -1
  426. package/es/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
  427. package/es/types/Interface/api/shareCapital/CreateShareCapital.d.ts.map +1 -1
  428. package/es/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
  429. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts.map +1 -1
  430. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
  431. package/es/types/Interface/api/shine/CreateShineAccount.d.ts.map +1 -1
  432. package/es/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
  433. package/es/types/Interface/api/shine/CreateShineTransactions.d.ts.map +1 -1
  434. package/es/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
  435. package/es/types/Interface/api/shine/GetConnect.d.ts.map +1 -1
  436. package/es/types/Interface/api/shine/GetConnect.js.map +1 -1
  437. package/es/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
  438. package/es/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  439. package/es/types/Interface/api/signFile/CreateFileToSign.d.ts.map +1 -1
  440. package/es/types/Interface/api/signFile/CreateFileToSign.js.map +1 -1
  441. package/es/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +1 -1
  442. package/es/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
  443. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  444. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  445. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +1 -1
  446. package/es/types/Interface/api/society/CreateSocietyDetail.js.map +1 -1
  447. package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.d.ts.map +1 -1
  448. package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
  449. package/es/types/Interface/api/society/ListUserSociety.d.ts.map +1 -1
  450. package/es/types/Interface/api/society/ListUserSociety.js.map +1 -1
  451. package/es/types/Interface/api/society/QueryPaginatedSociety.d.ts.map +1 -1
  452. package/es/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
  453. package/es/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
  454. package/es/types/Interface/api/society/QuerySociety.js.map +1 -1
  455. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
  456. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  457. package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts.map +1 -1
  458. package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
  459. package/es/types/Interface/api/societyConfig/update.d.ts.map +1 -1
  460. package/es/types/Interface/api/societyConfig/update.js.map +1 -1
  461. package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts.map +1 -1
  462. package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
  463. package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts.map +1 -1
  464. package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -1
  465. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts.map +1 -1
  466. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -1
  467. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts.map +1 -1
  468. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -1
  469. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -1
  470. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
  471. package/es/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +1 -1
  472. package/es/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
  473. package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +1 -1
  474. package/es/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
  475. package/es/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +1 -1
  476. package/es/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
  477. package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +1 -1
  478. package/es/types/Interface/api/statistic/QueryAccountant.js.map +1 -1
  479. package/es/types/Interface/api/statistic/QueryCustomerSuccess.d.ts.map +1 -1
  480. package/es/types/Interface/api/statistic/QueryCustomerSuccess.js.map +1 -1
  481. package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +1 -1
  482. package/es/types/Interface/api/statistic/QueryDirection.js.map +1 -1
  483. package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +1 -1
  484. package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +1 -1
  485. package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +1 -1
  486. package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +1 -1
  487. package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +1 -1
  488. package/es/types/Interface/api/statistic/QueryGetDirection.js.map +1 -1
  489. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +1 -1
  490. package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +1 -1
  491. package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
  492. package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  493. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  494. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  495. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts.map +1 -1
  496. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -1
  497. package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts.map +1 -1
  498. package/es/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -1
  499. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts.map +1 -1
  500. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -1
  501. package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -1
  502. package/es/types/Interface/api/stock/StockEntries.js.map +1 -1
  503. package/es/types/Interface/api/stripe/Create.d.ts.map +1 -1
  504. package/es/types/Interface/api/stripe/Create.js.map +1 -1
  505. package/es/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  506. package/es/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  507. package/es/types/Interface/api/survey/QuerySurvey.d.ts.map +1 -1
  508. package/es/types/Interface/api/survey/QuerySurvey.js.map +1 -1
  509. package/es/types/Interface/api/survey/QuerySurveys.d.ts.map +1 -1
  510. package/es/types/Interface/api/survey/QuerySurveys.js.map +1 -1
  511. package/es/types/Interface/api/survey/UpdateSurvey.d.ts.map +1 -1
  512. package/es/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
  513. package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
  514. package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
  515. package/es/types/Interface/api/task/QueryCreateTask.d.ts.map +1 -1
  516. package/es/types/Interface/api/task/QueryCreateTask.js.map +1 -1
  517. package/es/types/Interface/api/task/QueryGetAllTask.d.ts.map +1 -1
  518. package/es/types/Interface/api/task/QueryGetAllTask.js.map +1 -1
  519. package/es/types/Interface/api/task/QueryGetTask.d.ts.map +1 -1
  520. package/es/types/Interface/api/task/QueryGetTask.js.map +1 -1
  521. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  522. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  523. package/es/types/Interface/api/task/QueryStatsByRolesInCsv.d.ts.map +1 -1
  524. package/es/types/Interface/api/task/QueryStatsByRolesInCsv.js.map +1 -1
  525. package/es/types/Interface/api/task/QueryStatsByServiceInCsv.d.ts.map +1 -1
  526. package/es/types/Interface/api/task/QueryStatsByServiceInCsv.js.map +1 -1
  527. package/es/types/Interface/api/task/QueryStatsByTaskTypeInCsv.d.ts.map +1 -1
  528. package/es/types/Interface/api/task/QueryStatsByTaskTypeInCsv.js.map +1 -1
  529. package/es/types/Interface/api/tax/CreateTax.d.ts.map +1 -1
  530. package/es/types/Interface/api/tax/CreateTax.js.map +1 -1
  531. package/es/types/Interface/api/tax/QueryTax.d.ts.map +1 -1
  532. package/es/types/Interface/api/tax/QueryTax.js.map +1 -1
  533. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  534. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  535. package/es/types/Interface/api/team/QueryCreate.d.ts.map +1 -1
  536. package/es/types/Interface/api/team/QueryCreate.js.map +1 -1
  537. package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +1 -1
  538. package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -1
  539. package/es/types/Interface/api/team/QueryUpdate.d.ts.map +1 -1
  540. package/es/types/Interface/api/team/QueryUpdate.js.map +1 -1
  541. package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  542. package/es/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  543. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
  544. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
  545. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
  546. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
  547. package/es/types/Interface/api/textMessage/Create.d.ts.map +1 -1
  548. package/es/types/Interface/api/textMessage/Create.js.map +1 -1
  549. package/es/types/Interface/api/textMessage/Query.d.ts.map +1 -1
  550. package/es/types/Interface/api/textMessage/Query.js.map +1 -1
  551. package/es/types/Interface/api/textMessage/Update.d.ts.map +1 -1
  552. package/es/types/Interface/api/textMessage/Update.js.map +1 -1
  553. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  554. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  555. package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
  556. package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  557. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
  558. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  559. package/es/types/Interface/api/timeRecorder/QueryAttendance.d.ts.map +1 -1
  560. package/es/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -1
  561. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
  562. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  563. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +1 -1
  564. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -1
  565. package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
  566. package/es/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
  567. package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
  568. package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  569. package/es/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
  570. package/es/types/Interface/api/user/CreateCoworker.js.map +1 -1
  571. package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -1
  572. package/es/types/Interface/api/user/CreateUser.js.map +1 -1
  573. package/es/types/Interface/api/user/ParamsGetAll.d.ts.map +1 -1
  574. package/es/types/Interface/api/user/ParamsGetAll.js.map +1 -1
  575. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  576. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  577. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts.map +1 -1
  578. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
  579. package/es/types/Interface/api/user/QueryConfirm.d.ts.map +1 -1
  580. package/es/types/Interface/api/user/QueryConfirm.js.map +1 -1
  581. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  582. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  583. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
  584. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  585. package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -1
  586. package/es/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
  587. package/es/types/Interface/api/user/QueryResendConfirmationLink.d.ts.map +1 -1
  588. package/es/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
  589. package/es/types/Interface/api/user/QuerySocieties.d.ts.map +1 -1
  590. package/es/types/Interface/api/user/QuerySocieties.js.map +1 -1
  591. package/es/types/Interface/api/user/QueryUpdatePassword.d.ts.map +1 -1
  592. package/es/types/Interface/api/user/QueryUpdatePassword.js.map +1 -1
  593. package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -1
  594. package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
  595. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  596. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  597. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts.map +1 -1
  598. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -1
  599. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.d.ts.map +1 -1
  600. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
  601. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.d.ts.map +1 -1
  602. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
  603. package/es/types/Interface/api/visualizedInformation/Query.d.ts.map +1 -1
  604. package/es/types/Interface/api/visualizedInformation/Query.js.map +1 -1
  605. package/es/types/Interface/api/visualizedInformation/Update.d.ts.map +1 -1
  606. package/es/types/Interface/api/visualizedInformation/Update.js.map +1 -1
  607. package/es/types/Interface/api/wallet/QueryWallet.d.ts.map +1 -1
  608. package/es/types/Interface/api/wallet/QueryWallet.js.map +1 -1
  609. package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +1 -1
  610. package/es/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
  611. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
  612. package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
  613. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
  614. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  615. package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts.map +1 -1
  616. package/es/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -1
  617. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  618. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  619. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  620. package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  621. package/es/types/Interface/api/zticket/CreateZTicket.d.ts.map +1 -1
  622. package/es/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
  623. package/es/types/Interface/api/zticket/QueryZTicket.d.ts.map +1 -1
  624. package/es/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
  625. package/es/utils/quotation.js.map +1 -1
  626. package/js/api/resources/CalendarEvent.js.map +1 -1
  627. package/js/api/resources/Commercial.js.map +1 -1
  628. package/js/api/resources/CommercialDocument.js.map +1 -1
  629. package/js/api/resources/Employee.js.map +1 -1
  630. package/js/api/resources/Facturation.js.map +1 -1
  631. package/js/api/resources/Invoice.js.map +1 -1
  632. package/js/api/resources/Library.js.map +1 -1
  633. package/js/api/resources/Mail.js.map +1 -1
  634. package/js/api/resources/PartneredAccountant.js.map +1 -1
  635. package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
  636. package/js/api/resources/Product.js.map +1 -1
  637. package/js/api/resources/Registration.js.map +1 -1
  638. package/js/api/resources/Regulate.js.map +1 -1
  639. package/js/api/resources/Report.js.map +1 -1
  640. package/js/api/resources/Revision.js.map +1 -1
  641. package/js/api/resources/SheetMonthSchedule.js.map +1 -1
  642. package/js/api/resources/Society.js.map +1 -1
  643. package/js/api/resources/TaxDeadline.js.map +1 -1
  644. package/js/api/resources/TextMessage.js.map +1 -1
  645. package/js/api/resources/ThirdParty.js.map +1 -1
  646. package/js/api/resources/Wallet.js.map +1 -1
  647. package/js/api/resources/prestation.js.map +1 -1
  648. package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
  649. package/js/types/Enum/PartnerType.js.map +1 -1
  650. package/js/types/Enum/Vat.js.map +1 -1
  651. package/js/types/Form/FormAuthenticate.js.map +1 -1
  652. package/js/types/Interface/api/3cx/Create3cxLog.js.map +1 -1
  653. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  654. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  655. package/js/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
  656. package/js/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -1
  657. package/js/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
  658. package/js/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
  659. package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
  660. package/js/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
  661. package/js/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
  662. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  663. package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
  664. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  665. package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
  666. package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -1
  667. package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
  668. package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
  669. package/js/types/Interface/api/accountsSectors/Create.js.map +1 -1
  670. package/js/types/Interface/api/accountsSectors/Query.js.map +1 -1
  671. package/js/types/Interface/api/adjustment/Create.js.map +1 -1
  672. package/js/types/Interface/api/adjustment/Query.js.map +1 -1
  673. package/js/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -1
  674. package/js/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
  675. package/js/types/Interface/api/alert/CreateAlert.js.map +1 -1
  676. package/js/types/Interface/api/appNotification/Update.js.map +1 -1
  677. package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
  678. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
  679. package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  680. package/js/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
  681. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  682. package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
  683. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  684. package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  685. package/js/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -1
  686. package/js/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -1
  687. package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
  688. package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
  689. package/js/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -1
  690. package/js/types/Interface/api/budgetInsight/Create.js.map +1 -1
  691. package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
  692. package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
  693. package/js/types/Interface/api/businessSector/Create.js.map +1 -1
  694. package/js/types/Interface/api/businessSector/Delete.js.map +1 -1
  695. package/js/types/Interface/api/businessSector/Query.js.map +1 -1
  696. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  697. package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  698. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
  699. package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
  700. package/js/types/Interface/api/calendarEvent/interval.js.map +1 -1
  701. package/js/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -1
  702. package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  703. package/js/types/Interface/api/cashAndExpense/Create.js.map +1 -1
  704. package/js/types/Interface/api/cerfa/2031.js.map +1 -1
  705. package/js/types/Interface/api/cerfa/2033.js.map +1 -1
  706. package/js/types/Interface/api/cerfa/2035.js.map +1 -1
  707. package/js/types/Interface/api/cerfa/2065.js.map +1 -1
  708. package/js/types/Interface/api/checklist/Query.js.map +1 -1
  709. package/js/types/Interface/api/checklist/Update.js.map +1 -1
  710. package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
  711. package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
  712. package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -1
  713. package/js/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -1
  714. package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  715. package/js/types/Interface/api/commercialImport/Create.js.map +1 -1
  716. package/js/types/Interface/api/commercialImport/Query.js.map +1 -1
  717. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  718. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
  719. package/js/types/Interface/api/commercialManagement/Update.js.map +1 -1
  720. package/js/types/Interface/api/connection/QueryConnectionState.js.map +1 -1
  721. package/js/types/Interface/api/connector/CreateConnector.js.map +1 -1
  722. package/js/types/Interface/api/connector/QueryConnector.js.map +1 -1
  723. package/js/types/Interface/api/customerActivity/Create.js.map +1 -1
  724. package/js/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -1
  725. package/js/types/Interface/api/customerActivity/Query.js.map +1 -1
  726. package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
  727. package/js/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
  728. package/js/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
  729. package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
  730. package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
  731. package/js/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
  732. package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -1
  733. package/js/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -1
  734. package/js/types/Interface/api/employee/QueryEmployeeSearch.js.map +1 -1
  735. package/js/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -1
  736. package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
  737. package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
  738. package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  739. package/js/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
  740. package/js/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
  741. package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
  742. package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
  743. package/js/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
  744. package/js/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
  745. package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
  746. package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
  747. package/js/types/Interface/api/file/Create.js.map +1 -1
  748. package/js/types/Interface/api/file/Query.js.map +1 -1
  749. package/js/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
  750. package/js/types/Interface/api/firstStep/Create.js.map +1 -1
  751. package/js/types/Interface/api/fusion/FusionSocieties.js.map +1 -1
  752. package/js/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  753. package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
  754. package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  755. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  756. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  757. package/js/types/Interface/api/iDocus/CreateExport.js.map +1 -1
  758. package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  759. package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
  760. package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
  761. package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -1
  762. package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -1
  763. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -1
  764. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -1
  765. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
  766. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
  767. package/js/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  768. package/js/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  769. package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
  770. package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
  771. package/js/types/Interface/api/journal/QueryJournal.js.map +1 -1
  772. package/js/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
  773. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -1
  774. package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
  775. package/js/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -1
  776. package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
  777. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
  778. package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
  779. package/js/types/Interface/api/log/QueryLogPagination.js.map +1 -1
  780. package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
  781. package/js/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  782. package/js/types/Interface/api/mail/QueryCountMail.js.map +1 -1
  783. package/js/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -1
  784. package/js/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -1
  785. package/js/types/Interface/api/mail/QueryGetSignature.js.map +1 -1
  786. package/js/types/Interface/api/mail/QueryMail.js.map +1 -1
  787. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  788. package/js/types/Interface/api/mail/UpdateMail.js.map +1 -1
  789. package/js/types/Interface/api/mail/UpdateMailParams.js.map +1 -1
  790. package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
  791. package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
  792. package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
  793. package/js/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -1
  794. package/js/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
  795. package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
  796. package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  797. package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  798. package/js/types/Interface/api/ocr/CreateOcr.js.map +1 -1
  799. package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
  800. package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -1
  801. package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
  802. package/js/types/Interface/api/partner/Query.js.map +1 -1
  803. package/js/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  804. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
  805. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
  806. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
  807. package/js/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
  808. package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
  809. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
  810. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
  811. package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
  812. package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
  813. package/js/types/Interface/api/payment/QueryPayment.js.map +1 -1
  814. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  815. package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  816. package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
  817. package/js/types/Interface/api/prestation/CreatePrestation.js.map +1 -1
  818. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -1
  819. package/js/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.js.map +1 -1
  820. package/js/types/Interface/api/prestation/QueryPrestation.js.map +1 -1
  821. package/js/types/Interface/api/prestations/QueryCreate.js.map +1 -1
  822. package/js/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
  823. package/js/types/Interface/api/prestations/QueryUpdate.js.map +1 -1
  824. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  825. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  826. package/js/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
  827. package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
  828. package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -1
  829. package/js/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -1
  830. package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
  831. package/js/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  832. package/js/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
  833. package/js/types/Interface/api/provision/QueryProvisions.js.map +1 -1
  834. package/js/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
  835. package/js/types/Interface/api/qonto/CreateImportation.js.map +1 -1
  836. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -1
  837. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -1
  838. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -1
  839. package/js/types/Interface/api/qonto/UpdateConnection.js.map +1 -1
  840. package/js/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
  841. package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
  842. package/js/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
  843. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  844. package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  845. package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -1
  846. package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
  847. package/js/types/Interface/api/regulate/QueryGetAll.js.map +1 -1
  848. package/js/types/Interface/api/report/CreateReport.js.map +1 -1
  849. package/js/types/Interface/api/report/DeleteReport.js.map +1 -1
  850. package/js/types/Interface/api/report/QueryReports.js.map +1 -1
  851. package/js/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  852. package/js/types/Interface/api/report/QueryReportsStats.js.map +1 -1
  853. package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
  854. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
  855. package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -1
  856. package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
  857. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
  858. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  859. package/js/types/Interface/api/revisionGuide/CreateRevisionGuide.js.map +1 -1
  860. package/js/types/Interface/api/revive/PostRevive.js.map +1 -1
  861. package/js/types/Interface/api/rule/Create.js.map +1 -1
  862. package/js/types/Interface/api/rule/Query.js.map +1 -1
  863. package/js/types/Interface/api/rule/Update.js.map +1 -1
  864. package/js/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
  865. package/js/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
  866. package/js/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
  867. package/js/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
  868. package/js/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
  869. package/js/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
  870. package/js/types/Interface/api/shine/GetConnect.js.map +1 -1
  871. package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  872. package/js/types/Interface/api/signFile/CreateFileToSign.js.map +1 -1
  873. package/js/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
  874. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  875. package/js/types/Interface/api/society/CreateSocietyDetail.js.map +1 -1
  876. package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
  877. package/js/types/Interface/api/society/ListUserSociety.js.map +1 -1
  878. package/js/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
  879. package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
  880. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  881. package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
  882. package/js/types/Interface/api/societyConfig/update.js.map +1 -1
  883. package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
  884. package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -1
  885. package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -1
  886. package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -1
  887. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
  888. package/js/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
  889. package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
  890. package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
  891. package/js/types/Interface/api/statistic/QueryAccountant.js.map +1 -1
  892. package/js/types/Interface/api/statistic/QueryCustomerSuccess.js.map +1 -1
  893. package/js/types/Interface/api/statistic/QueryDirection.js.map +1 -1
  894. package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +1 -1
  895. package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +1 -1
  896. package/js/types/Interface/api/statistic/QueryGetDirection.js.map +1 -1
  897. package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +1 -1
  898. package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  899. package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  900. package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -1
  901. package/js/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -1
  902. package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -1
  903. package/js/types/Interface/api/stock/StockEntries.js.map +1 -1
  904. package/js/types/Interface/api/stripe/Create.js.map +1 -1
  905. package/js/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  906. package/js/types/Interface/api/survey/QuerySurvey.js.map +1 -1
  907. package/js/types/Interface/api/survey/QuerySurveys.js.map +1 -1
  908. package/js/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
  909. package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
  910. package/js/types/Interface/api/task/QueryCreateTask.js.map +1 -1
  911. package/js/types/Interface/api/task/QueryGetAllTask.js.map +1 -1
  912. package/js/types/Interface/api/task/QueryGetTask.js.map +1 -1
  913. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  914. package/js/types/Interface/api/task/QueryStatsByRolesInCsv.js.map +1 -1
  915. package/js/types/Interface/api/task/QueryStatsByServiceInCsv.js.map +1 -1
  916. package/js/types/Interface/api/task/QueryStatsByTaskTypeInCsv.js.map +1 -1
  917. package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
  918. package/js/types/Interface/api/tax/QueryTax.js.map +1 -1
  919. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  920. package/js/types/Interface/api/team/QueryCreate.js.map +1 -1
  921. package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -1
  922. package/js/types/Interface/api/team/QueryUpdate.js.map +1 -1
  923. package/js/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  924. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
  925. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
  926. package/js/types/Interface/api/textMessage/Create.js.map +1 -1
  927. package/js/types/Interface/api/textMessage/Query.js.map +1 -1
  928. package/js/types/Interface/api/textMessage/Update.js.map +1 -1
  929. package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  930. package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
  931. package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  932. package/js/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -1
  933. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  934. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -1
  935. package/js/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
  936. package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  937. package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
  938. package/js/types/Interface/api/user/CreateUser.js.map +1 -1
  939. package/js/types/Interface/api/user/ParamsGetAll.js.map +1 -1
  940. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  941. package/js/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
  942. package/js/types/Interface/api/user/QueryConfirm.js.map +1 -1
  943. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  944. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
  945. package/js/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
  946. package/js/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
  947. package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
  948. package/js/types/Interface/api/user/QueryUpdatePassword.js.map +1 -1
  949. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
  950. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  951. package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -1
  952. package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
  953. package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
  954. package/js/types/Interface/api/visualizedInformation/Query.js.map +1 -1
  955. package/js/types/Interface/api/visualizedInformation/Update.js.map +1 -1
  956. package/js/types/Interface/api/wallet/QueryWallet.js.map +1 -1
  957. package/js/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
  958. package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
  959. package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  960. package/js/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -1
  961. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  962. package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  963. package/js/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
  964. package/js/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
  965. package/js/utils/email.js.map +1 -1
  966. package/js/utils/quotation.js.map +1 -1
  967. package/js/utils/vat/3517/century23.js.map +1 -1
  968. package/package.json +20 -21
  969. package/ts/types/Enum/PartnerType.ts +1 -1
  970. package/ts/types/Enum/Vat.ts +1 -1
  971. package/ts/types/Form/FormAuthenticate.ts +4 -4
  972. package/ts/types/Interface/api/3cx/Create3cxLog.ts +13 -13
  973. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +8 -8
  974. package/ts/types/Interface/api/BasePaginate.ts +4 -4
  975. package/ts/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.ts +2 -2
  976. package/ts/types/Interface/api/acceptance/CreateAcceptance.ts +3 -3
  977. package/ts/types/Interface/api/account/CreateAccountSociety.ts +4 -4
  978. package/ts/types/Interface/api/account/QueryAccountSociety.ts +5 -5
  979. package/ts/types/Interface/api/account/QueryAccounts.ts +9 -9
  980. package/ts/types/Interface/api/account/QueryGenericAccount.ts +3 -3
  981. package/ts/types/Interface/api/account/UpdateAccountSociety.ts +5 -5
  982. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +9 -9
  983. package/ts/types/Interface/api/accountingEntry/CreateManualEntry.ts +5 -5
  984. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -6
  985. package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +5 -5
  986. package/ts/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.ts +2 -2
  987. package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +10 -10
  988. package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +17 -17
  989. package/ts/types/Interface/api/accountsSectors/Create.ts +3 -3
  990. package/ts/types/Interface/api/accountsSectors/Query.ts +1 -1
  991. package/ts/types/Interface/api/adjustment/Create.ts +3 -3
  992. package/ts/types/Interface/api/adjustment/Query.ts +1 -1
  993. package/ts/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.ts +3 -3
  994. package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +3 -3
  995. package/ts/types/Interface/api/alert/CreateAlert.ts +10 -10
  996. package/ts/types/Interface/api/appNotification/Update.ts +2 -2
  997. package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +2 -2
  998. package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +2 -2
  999. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -5
  1000. package/ts/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.ts +1 -1
  1001. package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +23 -23
  1002. package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +1 -1
  1003. package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +23 -23
  1004. package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +8 -8
  1005. package/ts/types/Interface/api/bankAccount/ImportBankAccount.ts +2 -2
  1006. package/ts/types/Interface/api/bankAccount/QueryBankAccount.ts +2 -2
  1007. package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +2 -2
  1008. package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +2 -2
  1009. package/ts/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.ts +2 -2
  1010. package/ts/types/Interface/api/budgetInsight/Create.ts +2 -2
  1011. package/ts/types/Interface/api/budgetInsight/Query.ts +2 -2
  1012. package/ts/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.ts +2 -2
  1013. package/ts/types/Interface/api/businessSector/Create.ts +1 -1
  1014. package/ts/types/Interface/api/businessSector/Delete.ts +1 -1
  1015. package/ts/types/Interface/api/businessSector/Query.ts +1 -1
  1016. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +17 -17
  1017. package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +19 -19
  1018. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +4 -4
  1019. package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +3 -3
  1020. package/ts/types/Interface/api/calendarEvent/interval.ts +4 -4
  1021. package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +2 -2
  1022. package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +18 -18
  1023. package/ts/types/Interface/api/cashAndExpense/Create.ts +16 -16
  1024. package/ts/types/Interface/api/cerfa/2031.ts +1 -1
  1025. package/ts/types/Interface/api/cerfa/2033.ts +1 -1
  1026. package/ts/types/Interface/api/cerfa/2035.ts +4 -4
  1027. package/ts/types/Interface/api/cerfa/2065.ts +1 -1
  1028. package/ts/types/Interface/api/checklist/Query.ts +6 -6
  1029. package/ts/types/Interface/api/checklist/Update.ts +2 -2
  1030. package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +3 -3
  1031. package/ts/types/Interface/api/commercial/QueryGetStats.ts +10 -10
  1032. package/ts/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.ts +1 -1
  1033. package/ts/types/Interface/api/commercial/QueryPaginatedNewProspect.ts +5 -5
  1034. package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +12 -12
  1035. package/ts/types/Interface/api/commercialImport/Create.ts +4 -4
  1036. package/ts/types/Interface/api/commercialImport/Query.ts +2 -2
  1037. package/ts/types/Interface/api/commercialManagement/Create.ts +95 -95
  1038. package/ts/types/Interface/api/commercialManagement/Query.ts +23 -23
  1039. package/ts/types/Interface/api/commercialManagement/Update.ts +17 -17
  1040. package/ts/types/Interface/api/connection/QueryConnectionState.ts +1 -1
  1041. package/ts/types/Interface/api/connector/CreateConnector.ts +9 -9
  1042. package/ts/types/Interface/api/connector/QueryConnector.ts +2 -2
  1043. package/ts/types/Interface/api/customerActivity/Create.ts +1 -1
  1044. package/ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts +3 -3
  1045. package/ts/types/Interface/api/customerActivity/Query.ts +1 -1
  1046. package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +7 -7
  1047. package/ts/types/Interface/api/dashboard/QueryBalanceBankAccount.ts +3 -3
  1048. package/ts/types/Interface/api/dashboard/QueryDeadline.ts +3 -3
  1049. package/ts/types/Interface/api/dashboard/QueryTopBuys.ts +2 -2
  1050. package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +2 -2
  1051. package/ts/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.ts +2 -2
  1052. package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +2 -2
  1053. package/ts/types/Interface/api/employee/QueryCreateEmployee.ts +1 -1
  1054. package/ts/types/Interface/api/employee/QueryEmployeeSearch.ts +4 -4
  1055. package/ts/types/Interface/api/employee/QueryUpdateEmployee.ts +1 -1
  1056. package/ts/types/Interface/api/exercice/CreateExercice.ts +14 -14
  1057. package/ts/types/Interface/api/exercice/QueryExercice.ts +5 -5
  1058. package/ts/types/Interface/api/exercice/UpdateExercice.ts +15 -15
  1059. package/ts/types/Interface/api/exerciceNote/CreateExerciceNote.ts +3 -3
  1060. package/ts/types/Interface/api/exerciceNote/QueryExerciceNote.ts +1 -1
  1061. package/ts/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.ts +4 -4
  1062. package/ts/types/Interface/api/exerciceQuestion/QueryQuestion.ts +1 -1
  1063. package/ts/types/Interface/api/facturation/CreateRebilling.ts +8 -8
  1064. package/ts/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.ts +6 -6
  1065. package/ts/types/Interface/api/fecFile/CreateFecFile.ts +4 -4
  1066. package/ts/types/Interface/api/fecFile/QueryFecFile.ts +1 -1
  1067. package/ts/types/Interface/api/file/Create.ts +3 -3
  1068. package/ts/types/Interface/api/file/Query.ts +1 -1
  1069. package/ts/types/Interface/api/financialCharge/CreateNonDeductibleInterests.ts +1 -1
  1070. package/ts/types/Interface/api/firstStep/Create.ts +7 -7
  1071. package/ts/types/Interface/api/fusion/FusionSocieties.ts +2 -2
  1072. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +12 -12
  1073. package/ts/types/Interface/api/gedFile/updateGedFile.ts +10 -10
  1074. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +3 -3
  1075. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +7 -7
  1076. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +9 -9
  1077. package/ts/types/Interface/api/iDocus/CreateExport.ts +1 -1
  1078. package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +14 -14
  1079. package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +13 -13
  1080. package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +4 -4
  1081. package/ts/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.ts +3 -3
  1082. package/ts/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.ts +1 -1
  1083. package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.ts +7 -7
  1084. package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.ts +1 -1
  1085. package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +5 -5
  1086. package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.ts +3 -3
  1087. package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +3 -3
  1088. package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +3 -3
  1089. package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +2 -2
  1090. package/ts/types/Interface/api/journal/QueryJournal.ts +3 -3
  1091. package/ts/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.ts +4 -4
  1092. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +2 -2
  1093. package/ts/types/Interface/api/letter/CreateLetter.ts +11 -11
  1094. package/ts/types/Interface/api/lettering/QueryRegroupLettering.ts +1 -1
  1095. package/ts/types/Interface/api/library/QueryLibrary.ts +24 -24
  1096. package/ts/types/Interface/api/loan/CreateLoan.ts +10 -10
  1097. package/ts/types/Interface/api/loan/UpdateLoan.ts +9 -9
  1098. package/ts/types/Interface/api/log/QueryLogPagination.ts +4 -4
  1099. package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +7 -7
  1100. package/ts/types/Interface/api/mail/CreateMailParams.ts +1 -1
  1101. package/ts/types/Interface/api/mail/QueryCountMail.ts +8 -8
  1102. package/ts/types/Interface/api/mail/QueryCountProcessedByUser.ts +2 -2
  1103. package/ts/types/Interface/api/mail/QueryGetAnsweringTimeByUser.ts +2 -2
  1104. package/ts/types/Interface/api/mail/QueryGetSignature.ts +3 -3
  1105. package/ts/types/Interface/api/mail/QueryMail.ts +8 -8
  1106. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +19 -19
  1107. package/ts/types/Interface/api/mail/UpdateMail.ts +32 -32
  1108. package/ts/types/Interface/api/mail/UpdateMailParams.ts +1 -1
  1109. package/ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts +1 -1
  1110. package/ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts +1 -1
  1111. package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +1 -1
  1112. package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +2 -2
  1113. package/ts/types/Interface/api/mobile/UpdateMobile.ts +1 -1
  1114. package/ts/types/Interface/api/notification/CreateNotification.ts +2 -2
  1115. package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +1 -1
  1116. package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +2 -2
  1117. package/ts/types/Interface/api/ocr/CreateOcr.ts +10 -10
  1118. package/ts/types/Interface/api/ocr/OcrTransactions.ts +4 -4
  1119. package/ts/types/Interface/api/pappers/QueryPappers.ts +19 -19
  1120. package/ts/types/Interface/api/partner/CreatePartner.ts +7 -7
  1121. package/ts/types/Interface/api/partner/Query.ts +9 -9
  1122. package/ts/types/Interface/api/partner/UpdatePartner.ts +7 -7
  1123. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +4 -4
  1124. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.ts +4 -4
  1125. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts +20 -20
  1126. package/ts/types/Interface/api/partneredAccountant/InvitePartneredAccountant.ts +1 -1
  1127. package/ts/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.ts +2 -2
  1128. package/ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts +1 -1
  1129. package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.ts +1 -1
  1130. package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +4 -4
  1131. package/ts/types/Interface/api/payment/QueryMonthlyPayment.ts +1 -1
  1132. package/ts/types/Interface/api/payment/QueryPayment.ts +2 -2
  1133. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +1 -1
  1134. package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +1 -1
  1135. package/ts/types/Interface/api/prestashop/InvoicesPrestashop.ts +4 -4
  1136. package/ts/types/Interface/api/prestation/CreatePrestation.ts +3 -3
  1137. package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +4 -4
  1138. package/ts/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.ts +6 -6
  1139. package/ts/types/Interface/api/prestation/QueryPrestation.ts +1 -1
  1140. package/ts/types/Interface/api/prestations/QueryCreate.ts +17 -17
  1141. package/ts/types/Interface/api/prestations/QueryGetAllPrestations.ts +5 -5
  1142. package/ts/types/Interface/api/prestations/QueryUpdate.ts +18 -18
  1143. package/ts/types/Interface/api/product/CreateProduct.ts +10 -10
  1144. package/ts/types/Interface/api/product/QueryProduct.ts +4 -4
  1145. package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +11 -11
  1146. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +9 -9
  1147. package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +5 -5
  1148. package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +2 -2
  1149. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +9 -9
  1150. package/ts/types/Interface/api/provision/CreateProvisionForm.ts +5 -5
  1151. package/ts/types/Interface/api/provision/QueryGetProvisions.ts +3 -3
  1152. package/ts/types/Interface/api/provision/QueryProvisions.ts +5 -5
  1153. package/ts/types/Interface/api/provision/UpdateProvisionForm.ts +3 -3
  1154. package/ts/types/Interface/api/qonto/CreateImportation.ts +2 -2
  1155. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +2 -2
  1156. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +1 -1
  1157. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +2 -2
  1158. package/ts/types/Interface/api/qonto/UpdateConnection.ts +1 -1
  1159. package/ts/types/Interface/api/quotes/CreateQuoteAccount.ts +3 -3
  1160. package/ts/types/Interface/api/quotes/QueryQuotesAccount.ts +4 -4
  1161. package/ts/types/Interface/api/rating/QueryRatingPaginated.ts +3 -3
  1162. package/ts/types/Interface/api/registration/CreateRegistration.ts +42 -42
  1163. package/ts/types/Interface/api/registration/DeclareRegistration.ts +6 -6
  1164. package/ts/types/Interface/api/registration/QueryRegistration.ts +5 -5
  1165. package/ts/types/Interface/api/registration/UpdateRegistration.ts +7 -7
  1166. package/ts/types/Interface/api/regulate/QueryGetAll.ts +3 -3
  1167. package/ts/types/Interface/api/report/CreateReport.ts +14 -14
  1168. package/ts/types/Interface/api/report/DeleteReport.ts +1 -1
  1169. package/ts/types/Interface/api/report/QueryReports.ts +8 -8
  1170. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  1171. package/ts/types/Interface/api/report/QueryReportsStats.ts +2 -2
  1172. package/ts/types/Interface/api/revision/QueryRevision.ts +7 -7
  1173. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +8 -8
  1174. package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +4 -4
  1175. package/ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts +5 -5
  1176. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +7 -7
  1177. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +18 -18
  1178. package/ts/types/Interface/api/revisionGuide/CreateRevisionGuide.ts +4 -4
  1179. package/ts/types/Interface/api/revive/PostRevive.ts +1 -1
  1180. package/ts/types/Interface/api/rule/Create.ts +7 -7
  1181. package/ts/types/Interface/api/rule/Query.ts +4 -4
  1182. package/ts/types/Interface/api/rule/Update.ts +1 -1
  1183. package/ts/types/Interface/api/salariesFile/CreateSalariesFile.ts +1 -1
  1184. package/ts/types/Interface/api/shareCapital/CreateInKindContribution.ts +3 -3
  1185. package/ts/types/Interface/api/shareCapital/CreateShareCapital.ts +2 -2
  1186. package/ts/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.ts +7 -7
  1187. package/ts/types/Interface/api/shine/CreateShineAccount.ts +3 -3
  1188. package/ts/types/Interface/api/shine/CreateShineTransactions.ts +1 -1
  1189. package/ts/types/Interface/api/shine/GetConnect.ts +1 -1
  1190. package/ts/types/Interface/api/shopify/InvoicesShopify.ts +4 -4
  1191. package/ts/types/Interface/api/signFile/CreateFileToSign.ts +8 -8
  1192. package/ts/types/Interface/api/simulationColors/ReadSimulationColors.ts +3 -3
  1193. package/ts/types/Interface/api/society/CreateSociety.ts +22 -22
  1194. package/ts/types/Interface/api/society/CreateSocietyDetail.ts +3 -3
  1195. package/ts/types/Interface/api/society/CreateUserToSocietyWithPermission.ts +7 -7
  1196. package/ts/types/Interface/api/society/ListUserSociety.ts +1 -1
  1197. package/ts/types/Interface/api/society/QueryPaginatedSociety.ts +4 -4
  1198. package/ts/types/Interface/api/society/QuerySociety.ts +3 -3
  1199. package/ts/types/Interface/api/society/UpdateSociety.ts +23 -23
  1200. package/ts/types/Interface/api/society/UpdateUserToSocietyWithPermission.ts +6 -6
  1201. package/ts/types/Interface/api/societyConfig/update.ts +18 -18
  1202. package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +3 -3
  1203. package/ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts +8 -8
  1204. package/ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts +2 -2
  1205. package/ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts +1 -1
  1206. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +2 -2
  1207. package/ts/types/Interface/api/sponsorship/CreateSponsorship.ts +2 -2
  1208. package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +5 -5
  1209. package/ts/types/Interface/api/sponsorship/SendSponsorshipLink.ts +2 -2
  1210. package/ts/types/Interface/api/statistic/QueryAccountant.ts +3 -3
  1211. package/ts/types/Interface/api/statistic/QueryCustomerSuccess.ts +2 -2
  1212. package/ts/types/Interface/api/statistic/QueryDirection.ts +3 -3
  1213. package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +3 -3
  1214. package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +2 -2
  1215. package/ts/types/Interface/api/statistic/QueryGetDirection.ts +2 -2
  1216. package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +2 -2
  1217. package/ts/types/Interface/api/statistic/QueryInternal.ts +3 -3
  1218. package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +10 -10
  1219. package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +1 -1
  1220. package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +2 -2
  1221. package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +2 -2
  1222. package/ts/types/Interface/api/stock/StockEntries.ts +15 -15
  1223. package/ts/types/Interface/api/stripe/Create.ts +1 -1
  1224. package/ts/types/Interface/api/stripe/QueryStripe.ts +2 -2
  1225. package/ts/types/Interface/api/survey/QuerySurvey.ts +2 -2
  1226. package/ts/types/Interface/api/survey/QuerySurveys.ts +2 -2
  1227. package/ts/types/Interface/api/survey/UpdateSurvey.ts +3 -3
  1228. package/ts/types/Interface/api/task/QueryCountTask.ts +3 -3
  1229. package/ts/types/Interface/api/task/QueryCreateTask.ts +6 -6
  1230. package/ts/types/Interface/api/task/QueryGetAllTask.ts +5 -5
  1231. package/ts/types/Interface/api/task/QueryGetTask.ts +2 -2
  1232. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +19 -19
  1233. package/ts/types/Interface/api/task/QueryStatsByRolesInCsv.ts +4 -4
  1234. package/ts/types/Interface/api/task/QueryStatsByServiceInCsv.ts +2 -2
  1235. package/ts/types/Interface/api/task/QueryStatsByTaskTypeInCsv.ts +2 -2
  1236. package/ts/types/Interface/api/tax/CreateTax.ts +9 -9
  1237. package/ts/types/Interface/api/tax/QueryTax.ts +3 -3
  1238. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +44 -44
  1239. package/ts/types/Interface/api/team/QueryCreate.ts +2 -2
  1240. package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +2 -2
  1241. package/ts/types/Interface/api/team/QueryUpdate.ts +4 -4
  1242. package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +11 -11
  1243. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +14 -14
  1244. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +14 -14
  1245. package/ts/types/Interface/api/textMessage/Create.ts +8 -8
  1246. package/ts/types/Interface/api/textMessage/Query.ts +8 -8
  1247. package/ts/types/Interface/api/textMessage/Update.ts +1 -1
  1248. package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +24 -24
  1249. package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +3 -3
  1250. package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +23 -23
  1251. package/ts/types/Interface/api/timeRecorder/QueryAttendance.ts +2 -2
  1252. package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +7 -7
  1253. package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +2 -2
  1254. package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +4 -4
  1255. package/ts/types/Interface/api/transactions/QueryUnexport.ts +4 -4
  1256. package/ts/types/Interface/api/user/CreateCoworker.ts +14 -14
  1257. package/ts/types/Interface/api/user/CreateUser.ts +10 -10
  1258. package/ts/types/Interface/api/user/ParamsGetAll.ts +4 -4
  1259. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +5 -5
  1260. package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +5 -5
  1261. package/ts/types/Interface/api/user/QueryConfirm.ts +2 -2
  1262. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +2 -2
  1263. package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +2 -2
  1264. package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +2 -2
  1265. package/ts/types/Interface/api/user/QueryResendConfirmationLink.ts +1 -1
  1266. package/ts/types/Interface/api/user/QuerySocieties.ts +3 -3
  1267. package/ts/types/Interface/api/user/QueryUpdatePassword.ts +3 -3
  1268. package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +1 -1
  1269. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +11 -11
  1270. package/ts/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.ts +2 -2
  1271. package/ts/types/Interface/api/vehicle/CreateSocietyVehicle.ts +14 -14
  1272. package/ts/types/Interface/api/vehicle/UpdateSocietyVehicle.ts +14 -14
  1273. package/ts/types/Interface/api/visualizedInformation/Query.ts +2 -2
  1274. package/ts/types/Interface/api/visualizedInformation/Update.ts +2 -2
  1275. package/ts/types/Interface/api/wallet/QueryWallet.ts +4 -4
  1276. package/ts/types/Interface/api/wallet/UpdateAttribution.ts +3 -3
  1277. package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +16 -16
  1278. package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +15 -15
  1279. package/ts/types/Interface/api/webmail/MigrateMailAddresses.ts +4 -4
  1280. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +13 -13
  1281. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -5
  1282. package/ts/types/Interface/api/zticket/CreateZTicket.ts +5 -5
  1283. package/ts/types/Interface/api/zticket/QueryZTicket.ts +6 -6
  1284. package/ts/utils/quotation.ts +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,mCAAmC;IAG9C,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAGD,qBAAa,uBAAwB,SAAQ,mCAAmC;IAG9E,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,qBAAa,sBAAsB;IAGjC,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB;AACD,qBAAa,6BAA6B;IAGxC,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB;AACD,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAQf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,mCAAmC;IAG5C,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,qBAAa,uBAAwB,SAAQ,mCAAmC;IAG5E,MAAM,EAAE,MAAM,CAAC;CAClB;AACD,qBAAa,sBAAsB;IAG/B,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACnB;AACD,qBAAa,6BAA6B;IAGtC,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACnB;AACD,qBAAa,aAAa;IAGtB,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAQf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,mCAAmC;CAiB/C;AAhBC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACG;AAEd;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEACE;AAEb;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACQ;AAEnB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACM;AAGnB,oBAAoB;AACpB,MAAM,OAAO,uBAAwB,SAAQ,mCAAmC;CAI/E;AAHC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACI;AAEjB,MAAM,OAAO,sBAAsB;CASlC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACI;AAEf;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACM;AAElB,MAAM,OAAO,6BAA6B;CASzC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACI;AAEf;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;4DACM;AAElB,MAAM,OAAO,aAAa;CAsBzB;AArBC;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACG;AAEd;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAEf;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC;QACL,IAAI,EAAE,IAAI;KACX,CAAC;;0DAC2B","sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\n// TODO: à supprimer\nexport class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,mCAAmC;CAiB/C;AAhBC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACK;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEACI;AAEf;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACU;AAErB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACQ;AAGrB,oBAAoB;AACpB,MAAM,OAAO,uBAAwB,SAAQ,mCAAmC;CAI/E;AAHC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM;AAEnB,MAAM,OAAO,sBAAsB;CASlC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACQ;AAEpB,MAAM,OAAO,6BAA6B;CASzC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;4DACQ;AAEpB,MAAM,OAAO,aAAa;CAsBzB;AArBC;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACK;AAEhB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACQ;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC;QACL,IAAI,EAAE,IAAI;KACX,CAAC;;0DAC6B","sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\n// TODO: à supprimer\nexport class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"InvoicesWoocommerce.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAE9B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,EAAE,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC;CACZ"}
1
+ {"version":3,"file":"InvoicesWoocommerce.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAE5B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,EAAE,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC;CACd"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvoicesWoocommerce.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAW/B;AAVC;IAAC,mBAAmB,EAAE;;kDACR;AACd;IAAC,mBAAmB,EAAE;;kDACR;AACd;IAAC,mBAAmB,EAAE;;gDACR;AACd;IAAC,mBAAmB,EAAE;;sDACJ;AAClB;IAAC,mBAAmB,EAAE;8BAChB,IAAI;iDAAC","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class InvoicesWoocommerce {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n @ApiPropertyOptional()\n date: Date;\n}\n"]}
1
+ {"version":3,"file":"InvoicesWoocommerce.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAW/B;AAVC;IAAC,mBAAmB,EAAE;;kDACN;AAChB;IAAC,mBAAmB,EAAE;;kDACN;AAChB;IAAC,mBAAmB,EAAE;;gDACN;AAChB;IAAC,mBAAmB,EAAE;;sDACF;AACpB;IAAC,mBAAmB,EAAE;8BACd,IAAI;iDAAC","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class InvoicesWoocommerce {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n @ApiPropertyOptional()\n date: Date;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;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AM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,qBAAa,aAAa;IAEtB,IAAI,EAAE,KAAK,CAAC;IAGZ,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,EAAE,IAAI,EAAE,CAAC;IAGd,QAAQ,EAAE,QAAQ,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA6BhD,MAAM,OAAO,aAAa;CAezB;AAdC;IAAC,WAAW,EAAE;;2CACF;AAEZ;IAAC,WAAW,EAAE;;gDACI;AAElB;IAAC,WAAW,EAAE;;gDACI;AAElB;IAAC,WAAW,EAAE;;4CACA;AAEd;IAAC,WAAW,EAAE;;+CACK","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { SaleType } from '../../../Enum/SaleType';\nimport { TFile } from '../file/TFile';\n\nexport type Sale = {\n saleType: SaleType;\n TX_20?: number;\n TX_10?: number;\n TX_2_1?: number;\n TX_8_5?: number;\n TX_5_5?: number;\n WITHOUT_TAXE?: number;\n vat_amount_TX_20?: number;\n vat_amount_TX_10?: number;\n vat_amount_TX_2_1?: number;\n vat_amount_TX_8_5?: number;\n vat_amount_TX_5_5?: number;\n};\n\nexport type Payments = {\n CCASH?: number;\n CCHECK?: number;\n CCARD?: number;\n CTRANSFER?: number;\n CCREDIT?: number;\n CTICKET?: number;\n CVOUCHER?: number;\n};\n\nexport class CreateZTicket {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n dateValue: string;\n\n @ApiProperty()\n sales: Sale[];\n\n @ApiProperty()\n payments: Payments;\n}"]}
1
+ {"version":3,"file":"CreateZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA6BhD,MAAM,OAAO,aAAa;CAezB;AAdC;IAAC,WAAW,EAAE;;2CACA;AAEd;IAAC,WAAW,EAAE;;gDACM;AAEpB;IAAC,WAAW,EAAE;;gDACM;AAEpB;IAAC,WAAW,EAAE;;4CACE;AAEhB;IAAC,WAAW,EAAE;;+CACO","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { SaleType } from '../../../Enum/SaleType';\nimport { TFile } from '../file/TFile';\n\nexport type Sale = {\n saleType: SaleType;\n TX_20?: number;\n TX_10?: number;\n TX_2_1?: number;\n TX_8_5?: number;\n TX_5_5?: number;\n WITHOUT_TAXE?: number;\n vat_amount_TX_20?: number;\n vat_amount_TX_10?: number;\n vat_amount_TX_2_1?: number;\n vat_amount_TX_8_5?: number;\n vat_amount_TX_5_5?: number;\n};\n\nexport type Payments = {\n CCASH?: number;\n CCHECK?: number;\n CCARD?: number;\n CTRANSFER?: number;\n CCREDIT?: number;\n CTICKET?: number;\n CVOUCHER?: number;\n};\n\nexport class CreateZTicket {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n dateValue: string;\n\n @ApiProperty()\n sales: Sale[];\n\n @ApiProperty()\n payments: Payments;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAEvB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"QueryZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAErB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAkBxB;AAjBC;IAAC,WAAW,EAAE;;0CACD;AAEb;IAAC,WAAW,EAAE;;2CACA;AAEd;IAAC,mBAAmB,EAAE;;gDACD;AAErB;IAAC,mBAAmB,EAAE;;+CACH;AAEnB;IAAC,mBAAmB,EAAE;;6CACL;AAEjB;IAAC,mBAAmB,EAAE;;4CACN","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryZTicket {\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n search?: string;\n}\n"]}
1
+ {"version":3,"file":"QueryZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAkBxB;AAjBC;IAAC,WAAW,EAAE;;0CACC;AAEf;IAAC,WAAW,EAAE;;2CACE;AAEhB;IAAC,mBAAmB,EAAE;;gDACC;AAEvB;IAAC,mBAAmB,EAAE;;+CACD;AAErB;IAAC,mBAAmB,EAAE;;6CACH;AAEnB;IAAC,mBAAmB,EAAE;;4CACJ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryZTicket {\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n search?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../ts/utils/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B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YACxB,eAAe,CAAC,OAAO,IAAI,EAAE,CAAC;QAChC,CAAC,CAAC,CAAC;KACJ;IAED,IAAI,iBAAiB,GAAG,GAAG;QAAE,iBAAiB,GAAG,GAAG,CAAC;IACrD,IAAI,iBAAiB,GAAG,GAAG;QAAE,iBAAiB,GAAG,GAAG,CAAC;IAErD,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;IAElD,IAAI,SAAS,GAAG,CAAC;QAAE,SAAS,GAAG,CAAC,CAAC;IAEjC,OAAO;QACL,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,eAAe;QACrB,SAAS,EAAE,OAAO,CAAC,EAAY;KAChC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,SAAsB;IACvD,sDAAsD;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC;IACrB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
1
+ {"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../ts/utils/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAoBtD,MAAM,UAAU,gBAAgB,CAAC,MAA8B;IAC7D,MAAM,EACJ,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,GACvF,GAAG,MAAM,CAAC;IACX,IACE,SAAS,KAAK,MAAM;WACjB,QAAQ,KAAK,MAAM;YACnB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;WACtB,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EACjG;QACA,OAAO,CAAC,CAAC;KACV;IACD,IAAI,SAAS,GAAG,CAAC,CAAC;IAElB,wBAAwB;IACxB,IAAI,SAAS;QAAE,SAAS,IAAI,CAAC,CAAC;IAE9B,qBAAqB;IACrB,IAAI,QAAQ;QAAE,SAAS,IAAI,CAAC,CAAC;IAE7B,qCAAqC;IACrC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QAC3C,SAAS,IAAI,EAAE,CAAC;KACjB;SAAM;QACL,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ourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarEvent.js","names":["_Resource","require","CalendarEvent","Resource","create","payload","axios","post","verify","verifyInvalidate","params","get","id","getAll","cancelToken","Object","assign","calculateRealtimeEvent","update","put","delete","exports"],"sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreateCalendarEventForUsers, GetAllCalendarEvent, GetLastInvalidateEvent, ICalendarEvent, ICalendarEventUser, QueryCalendarEvent, ReadAllCalendarEvent, UpdateCalendarEvent, VerifyCalendarEvent,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class CalendarEvent extends Resource {\n create(payload: CreateCalendarEventForUsers): Promise<ICalendarEventUser[]> {\n return this.axios.post('/calendar-events', payload);\n }\n\n verify(payload: CreateCalendarEventForUsers): Promise<VerifyCalendarEvent> {\n return this.axios.post('/calendar-events/verify', payload);\n }\n\n verifyInvalidate(params: GetLastInvalidateEvent): Promise<Date> {\n return this.axios.get('/calendar-events/verify-invalidate', { params });\n }\n\n get(id: number, params: QueryCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.get(`/calendar-events/${id}`, { params });\n }\n\n getAll(params: GetAllCalendarEvent, cancelToken?: CancelToken): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n\n calculateRealtimeEvent(params: GetAllCalendarEvent): Promise<number> {\n return this.axios.get('/calendar-events/calculate-realtime-event', { params });\n }\n\n update(id: number, payload: UpdateCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.put(`/calendar-events/${id}`, payload);\n }\n\n delete(id: number): Promise<number> {\n return this.axios.delete(`/calendar-events/${id}`);\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,MAAMA,CAACC,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,kBAAkB,EAAEF,OAAO,CAAC;EACrD;EAEAG,MAAMA,CAACH,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,yBAAyB,EAAEF,OAAO,CAAC;EAC5D;EAEAI,gBAAgBA,CAACC,MAA8B;IAC7C,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oCAAoC,EAAE;MAAED;IAAM,CAAE,CAAC;EACzE;EAEAC,GAAGA,CAACC,EAAU,EAAEF,MAA0B;IACxC,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oBAAoBC,EAAE,EAAE,EAAE;MAAEF;IAAM,CAAE,CAAC;EAC7D;EAEAG,MAAMA,CAACH,MAA2B,EAAEI,WAAyB;IAC3D,OAAO,IAAI,CAACR,KAAK,CAACK,GAAG,CAAC,sBAAsB,EAAAI,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAEJ;IAAM,GAAG;EACpG;EAEAO,sBAAsBA,CAACP,MAA2B;IAChD,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,2CAA2C,EAAE;MAAED;IAAM,CAAE,CAAC;EAChF;EAEAQ,MAAMA,CAACN,EAAU,EAAEP,OAA4B;IAC7C,OAAO,IAAI,CAACC,KAAK,CAACa,GAAG,CAAC,oBAAoBP,EAAE,EAAE,EAAEP,OAAO,CAAC;EAC1D;EAEAe,MAAMA,CAACR,EAAU;IACf,OAAO,IAAI,CAACN,KAAK,CAACc,MAAM,CAAC,oBAAoBR,EAAE,EAAE,CAAC;EACpD;;AACDS,OAAA,CAhCYnB,aAAc,GAAdA,aAAc"}
1
+ {"version":3,"file":"CalendarEvent.js","names":["_Resource","require","CalendarEvent","Resource","create","payload","axios","post","verify","verifyInvalidate","params","get","id","getAll","cancelToken","Object","assign","calculateRealtimeEvent","update","put","delete","exports"],"sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreateCalendarEventForUsers, GetAllCalendarEvent, GetLastInvalidateEvent, ICalendarEvent, ICalendarEventUser, QueryCalendarEvent, ReadAllCalendarEvent, UpdateCalendarEvent, VerifyCalendarEvent,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class CalendarEvent extends Resource {\n create(payload: CreateCalendarEventForUsers): Promise<ICalendarEventUser[]> {\n return this.axios.post('/calendar-events', payload);\n }\n\n verify(payload: CreateCalendarEventForUsers): Promise<VerifyCalendarEvent> {\n return this.axios.post('/calendar-events/verify', payload);\n }\n\n verifyInvalidate(params: GetLastInvalidateEvent): Promise<Date> {\n return this.axios.get('/calendar-events/verify-invalidate', { params });\n }\n\n get(id: number, params: QueryCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.get(`/calendar-events/${id}`, { params });\n }\n\n getAll(params: GetAllCalendarEvent, cancelToken?: CancelToken): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n\n calculateRealtimeEvent(params: GetAllCalendarEvent): Promise<number> {\n return this.axios.get('/calendar-events/calculate-realtime-event', { params });\n }\n\n update(id: number, payload: UpdateCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.put(`/calendar-events/${id}`, payload);\n }\n\n delete(id: number): Promise<number> {\n return this.axios.delete(`/calendar-events/${id}`);\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,MAAMA,CAACC,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,kBAAkB,EAAEF,OAAO,CAAC;EACrD;EAEAG,MAAMA,CAACH,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,yBAAyB,EAAEF,OAAO,CAAC;EAC5D;EAEAI,gBAAgBA,CAACC,MAA8B;IAC7C,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oCAAoC,EAAE;MAAED;IAAM,CAAE,CAAC;EACzE;EAEAC,GAAGA,CAACC,EAAU,EAAEF,MAA0B;IACxC,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oBAAoBC,EAAE,EAAE,EAAE;MAAEF;IAAM,CAAE,CAAC;EAC7D;EAEAG,MAAMA,CAACH,MAA2B,EAAEI,WAAyB;IAC3D,OAAO,IAAI,CAACR,KAAK,CAACK,GAAG,CAAC,sBAAsB,EAAAI,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAEJ;IAAM,GAAG;EACpG;EAEAO,sBAAsBA,CAACP,MAA2B;IAChD,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,2CAA2C,EAAE;MAAED;IAAM,CAAE,CAAC;EAChF;EAEAQ,MAAMA,CAACN,EAAU,EAAEP,OAA4B;IAC7C,OAAO,IAAI,CAACC,KAAK,CAACa,GAAG,CAAC,oBAAoBP,EAAE,EAAE,EAAEP,OAAO,CAAC;EAC1D;EAEAe,MAAMA,CAACR,EAAU;IACf,OAAO,IAAI,CAACN,KAAK,CAACc,MAAM,CAAC,oBAAoBR,EAAE,EAAE,CAAC;EACpD;;AACDS,OAAA,CAhCYnB,aAAc,GAAdA,aAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Commercial.js","names":["_Resource","require","Commercial","Resource","getStatsCa","params","cancelToken","axios","$get","Object","assign","getStats","fetchDialogDatasInfosOk","fetchDialogDatasDocsOk","movePrestationsToNextMonth","idUser","$put","checkDocsAndInfosOk","idSociety","listIdPrestationList","getPaginatedNewProspect","exports"],"sources":["../../../ts/api/resources/Commercial.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getStats(params: QueryGetStats, cancelToken?: CancelToken): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-infos-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-docs-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n movePrestationsToNextMonth(idUser: number): Promise<number[]> {\n return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });\n }\n checkDocsAndInfosOk(idSociety: number, listIdPrestationList: number[]): Promise<Promise<{ missingDocs: ReadInvalidFieldState[], missingInfos: GedFileType[] }>> {\n return this.axios.$get(`/commercial/${idSociety}/checkDocsAndInfosOk`, { params: { listIdPrestationList } });\n }\n getPaginatedNewProspect(params: QueryPaginatedNewProspect): Promise<BasePaginate<Society>> {\n return this.axios.$get('/commercial/paginated-new-prospect', {\n params,\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,UAAW,SAAQC,kBAAQ;EACtCC,UAAUA,CAACC,MAAwC,EAAEC,WAAyB;IAC5E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAC/G;EACAM,QAAQA,CAACN,MAAqB,EAAEC,WAAyB;IACvD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,mBAAmB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAClG;EACAO,uBAAuBA,CAACP,MAAoC,EAAEC,WAAyB;IACrF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAC3G;EACAQ,sBAAsBA,CAACR,MAAmC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,2BAA2B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAC1G;EACAS,0BAA0BA,CAACC,MAAc;IACvC,OAAO,IAAI,CAACR,KAAK,CAACS,IAAI,CAAC,4CAA4C,EAAE;MAAED;IAAM,CAAE,CAAC;EAClF;EACAE,mBAAmBA,CAACC,SAAiB,EAAEC,oBAA8B;IACnE,OAAO,IAAI,CAACZ,KAAK,CAACC,IAAI,CAAC,eAAeU,SAAS,sBAAsB,EAAE;MAAEb,MAAM,EAAE;QAAEc;MAAoB;IAAE,CAAE,CAAC;EAC9G;EACAC,uBAAuBA,CAACf,MAAiC;IACvD,OAAO,IAAI,CAACE,KAAK,CAACC,IAAI,CAAC,oCAAoC,EAAE;MAC3DH;KACD,CAAC;EACJ;;AACDgB,OAAA,CAxBYnB,UAAW,GAAXA,UAAW"}
1
+ {"version":3,"file":"Commercial.js","names":["_Resource","require","Commercial","Resource","getStatsCa","params","cancelToken","axios","$get","Object","assign","getStats","fetchDialogDatasInfosOk","fetchDialogDatasDocsOk","movePrestationsToNextMonth","idUser","$put","checkDocsAndInfosOk","idSociety","listIdPrestationList","getPaginatedNewProspect","exports"],"sources":["../../../ts/api/resources/Commercial.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getStats(params: QueryGetStats, cancelToken?: CancelToken): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-infos-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-docs-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n movePrestationsToNextMonth(idUser: number): Promise<number[]> {\n return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });\n }\n checkDocsAndInfosOk(idSociety: number, listIdPrestationList: number[]): Promise<Promise<{ missingDocs: ReadInvalidFieldState[], missingInfos: GedFileType[] }>> {\n return this.axios.$get(`/commercial/${idSociety}/checkDocsAndInfosOk`, { params: { listIdPrestationList } });\n }\n getPaginatedNewProspect(params: QueryPaginatedNewProspect): Promise<BasePaginate<Society>> {\n return this.axios.$get('/commercial/paginated-new-prospect', {\n params,\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,UAAW,SAAQC,kBAAQ;EACtCC,UAAUA,CAACC,MAAwC,EAAEC,WAAyB;IAC5E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC/G;EACAM,QAAQA,CAACN,MAAqB,EAAEC,WAAyB;IACvD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,mBAAmB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAClG;EACAO,uBAAuBA,CAACP,MAAoC,EAAEC,WAAyB;IACrF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC3G;EACAQ,sBAAsBA,CAACR,MAAmC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,2BAA2B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC1G;EACAS,0BAA0BA,CAACC,MAAc;IACvC,OAAO,IAAI,CAACR,KAAK,CAACS,IAAI,CAAC,4CAA4C,EAAE;MAAED;IAAM,CAAE,CAAC;EAClF;EACAE,mBAAmBA,CAACC,SAAiB,EAAEC,oBAA8B;IACnE,OAAO,IAAI,CAACZ,KAAK,CAACC,IAAI,CAAC,eAAeU,SAAS,sBAAsB,EAAE;MAAEb,MAAM,EAAE;QAAEc;MAAoB;IAAE,CAAE,CAAC;EAC9G;EACAC,uBAAuBA,CAACf,MAAiC;IACvD,OAAO,IAAI,CAACE,KAAK,CAACC,IAAI,CAAC,oCAAoC,EAAE;MAC3DH;KACD,CAAC;EACJ;;AACDgB,OAAA,CAxBYnB,UAAW,GAAXA,UAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommercialDocument.js","names":["_Resource","require","_types","CommercialDocument","Resource","get","id","axios","$get","update","payload","patch","delete","$delete","getNextReference","params","getPaginated","cancelToken","Object","assign","createEstimate","$post","idEstimateInvoiceType","EstimateInvoiceType","DEVIS","createOrder","BON","updateEstimate","$put","updateOrder","preview","regenerate","getFormValues","getDefaultFormValues","getStatistics","idSociety","exports"],"sources":["../../../ts/api/resources/CommercialDocument.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateInvoiceDocument,\n CreatePreSaleDocument,\n CreateRegenerateDocument,\n EstimateInvoiceType,\n IEstimateInvoice,\n QueryCountByStatus,\n QueryDocumentPaginated,\n QueryNextReference,\n QueryPaginate,\n ReadCountDocumentByStatus,\n ReadEstimateInvoice,\n ReadPreview,\n UpdateCommercialDocument,\n} from '../../types';\n\nexport class CommercialDocument extends Resource {\n get(id: number): Promise<ReadEstimateInvoice> {\n return this.axios.$get(`/commercial-management/documents/${id}`);\n }\n\n update(id: number, payload: UpdateCommercialDocument): Promise<{ data: IEstimateInvoice }> {\n return this.axios.patch(`/commercial-management/documents/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getNextReference(params: QueryNextReference): Promise<string> {\n return this.axios.$get('/commercial-management/documents/references', {\n params,\n });\n }\n\n getPaginated(\n params: QueryDocumentPaginated & QueryPaginate,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ReadEstimateInvoice>> {\n return this.axios.$get('/commercial-management/documents', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createEstimate(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/estimates', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.DEVIS,\n });\n }\n\n createOrder(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/orders', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.BON,\n });\n }\n\n updateEstimate(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/estimates/${id}`, payload);\n }\n\n updateOrder(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/orders/${id}`, payload);\n }\n\n preview(\n idEstimateInvoiceType: EstimateInvoiceType,\n payload: CreatePreSaleDocument | CreateInvoiceDocument,\n ): Promise<ReadPreview> {\n return this.axios.$post('/commercial-management/preview', {\n ...payload,\n idEstimateInvoiceType,\n });\n }\n\n regenerate(id: number, payload: CreateRegenerateDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/documents/${id}/regenerate`, payload);\n }\n\n getFormValues(id: number): Promise<CreatePreSaleDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(\n idEstimateInvoiceType: EstimateInvoiceType,\n ): Promise<CreatePreSaleDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', {\n params: { idEstimateInvoiceType },\n });\n }\n\n getStatistics(\n idSociety: number,\n params: QueryCountByStatus,\n ): Promise<ReadCountDocumentByStatus> {\n return this.axios.$get(\n `/commercial-management/societies/${idSociety}/statistics`,\n { params },\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAiBM,MAAOE,kBAAmB,SAAQC,kBAAQ;EAC9CC,GAAGA,CAACC,EAAU;IACZ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oCAAoCF,EAAE,EAAE,CAAC;EAClE;EAEAG,MAAMA,CAACH,EAAU,EAAEI,OAAiC;IAClD,OAAO,IAAI,CAACH,KAAK,CAACI,KAAK,CAAC,oCAAoCL,EAAE,EAAE,EAAEI,OAAO,CAAC;EAC5E;EAEAE,MAAMA,CAACN,EAAU;IACf,OAAO,IAAI,CAACC,KAAK,CAACM,OAAO,CAAC,oCAAoCP,EAAE,EAAE,CAAC;EACrE;EAEAQ,gBAAgBA,CAACC,MAA0B;IACzC,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CAAC,6CAA6C,EAAE;MACpEO;KACD,CAAC;EACJ;EAEAC,YAAYA,CACVD,MAA8C,EAC9CE,WAAyB;I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,CAAC1B,EAAU;IACtB,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oCAAoCF,EAAE,SAAS,CAAC;EACzE;EAEA2B,oBAAoBA,CAClBX,qBAA0C;IAE1C,OAAO,IAAI,CAACf,KAAK,CAACC,IAAI,CAAC,yCAAyC,EAAE;MAChEO,MAAM,EAAE;QAAEO;MAAqB;KAChC,CAAC;EACJ;EAEAY,aAAaA,CACXC,SAAiB,EACjBpB,MAA0B;IAE1B,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CACpB,oCAAoC2B,SAAS,aAAa,EAC1D;MAAEpB;IAAM,CAAE,CACX;EACH;;AACDqB,OAAA,CAhGYjC,kBAAmB,GAAnBA,kBAAmB"}
1
+ {"version":3,"file":"CommercialDocument.js","names":["_Resource","require","_types","CommercialDocument","Resource","get","id","axios","$get","update","payload","patch","delete","$delete","getNextReference","params","getPaginated","cancelToken","Object","assign","createEstimate","$post","idEstimateInvoiceType","EstimateInvoiceType","DEVIS","createOrder","BON","updateEstimate","$put","updateOrder","preview","regenerate","getFormValues","getDefaultFormValues","getStatistics","idSociety","exports"],"sources":["../../../ts/api/resources/CommercialDocument.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateInvoiceDocument,\n CreatePreSaleDocument,\n CreateRegenerateDocument,\n EstimateInvoiceType,\n IEstimateInvoice,\n QueryCountByStatus,\n QueryDocumentPaginated,\n QueryNextReference,\n QueryPaginate,\n ReadCountDocumentByStatus,\n ReadEstimateInvoice,\n ReadPreview,\n UpdateCommercialDocument,\n} from '../../types';\n\nexport class CommercialDocument extends Resource {\n get(id: number): Promise<ReadEstimateInvoice> {\n return this.axios.$get(`/commercial-management/documents/${id}`);\n }\n\n update(id: number, payload: UpdateCommercialDocument): Promise<{ data: IEstimateInvoice }> {\n return this.axios.patch(`/commercial-management/documents/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getNextReference(params: QueryNextReference): Promise<string> {\n return this.axios.$get('/commercial-management/documents/references', {\n params,\n });\n }\n\n getPaginated(\n params: QueryDocumentPaginated & QueryPaginate,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ReadEstimateInvoice>> {\n return this.axios.$get('/commercial-management/documents', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createEstimate(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/estimates', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.DEVIS,\n });\n }\n\n createOrder(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/orders', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.BON,\n });\n }\n\n updateEstimate(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/estimates/${id}`, payload);\n }\n\n updateOrder(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/orders/${id}`, payload);\n }\n\n preview(\n idEstimateInvoiceType: EstimateInvoiceType,\n payload: CreatePreSaleDocument | CreateInvoiceDocument,\n ): Promise<ReadPreview> {\n return this.axios.$post('/commercial-management/preview', {\n ...payload,\n idEstimateInvoiceType,\n });\n }\n\n regenerate(id: number, payload: CreateRegenerateDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/documents/${id}/regenerate`, payload);\n }\n\n getFormValues(id: number): Promise<CreatePreSaleDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(\n idEstimateInvoiceType: EstimateInvoiceType,\n ): Promise<CreatePreSaleDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', {\n params: { idEstimateInvoiceType },\n });\n }\n\n getStatistics(\n idSociety: number,\n params: QueryCountByStatus,\n ): Promise<ReadCountDocumentByStatus> {\n return this.axios.$get(\n `/commercial-management/societies/${idSociety}/statistics`,\n { params },\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAiBM,MAAOE,kBAAmB,SAAQC,kBAAQ;EAC9CC,GAAGA,CAACC,EAAU;IACZ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oCAAoCF,EAAE,EAAE,CAAC;EAClE;EAEAG,MAAMA,CAACH,EAAU,EAAEI,OAAiC;IAClD,OAAO,IAAI,CAACH,KAAK,CAACI,KAAK,CAAC,oCAAoCL,EAAE,EAAE,EAAEI,OAAO,CAAC;EAC5E;EAEAE,MAAMA,CAACN,EAAU;IACf,OAAO,IAAI,CAACC,KAAK,CAACM,OAAO,CAAC,oCAAoCP,EAAE,EAAE,CAAC;EACrE;EAEAQ,gBAAgBA,CAACC,MAA0B;IACzC,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CAAC,6CAA6C,EAAE;MACpEO;KACD,CAAC;EACJ;EAEAC,YAAYA,CACVD,MAA8C,EAC9CE,WAAyB;IAEzB,OAAO,IAAI,CAACV,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAU,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCF;IAAM,GACN;EACJ;EAEAK,cAAcA,CACZV,OAA6D;IAE7D,OAAO,IAAI,CAACH,KAAK,CAACc,KAAK,CAAC,kCAAkC,EAAAH,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACrDT,OAAO;MACVY,qBAAqB,EAAEC,0BAAmB,CAACC;IAAK,GAChD;EACJ;EAEAC,WAAWA,CACTf,OAA6D;IAE7D,OAAO,IAAI,CAACH,KAAK,CAACc,KAAK,CAAC,+BAA+B,E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employee.js","names":["_lodash","require","_classValidator","_Resource","Employee","Resource","create","payload","formData","FormData","forEach","value","key","isDefined","includes","append","axios","$post","headers","getAll","idSociety","$get","get","id","update","$put","delete","$delete","getPaginate","params","cancelToken","Object","assign","isPaginate","updateOrCreateWorkingSchedule","idEmployee","deleteWorkingSchedule","idWorkingSchedule","exports"],"sources":["../../../ts/api/resources/Employee.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { forEach } from 'lodash';\nimport { isDefined } from 'class-validator';\nimport {\n BasePaginate,\n IEmployee,\n IWorkingSchedule,\n CreateEmployee,\n QueryEmployeeSearch,\n UpdateEmployee,\n UpdateOrCreateWorkingSchedule,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Employee extends Resource {\n public create(payload: Partial<CreateEmployee>): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$post('/employees', formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public getAll(idSociety: number): Promise<IEmployee[]> {\n return this.axios.$get(`/societies/${idSociety}/employees`);\n }\n\n public get(id: number): Promise<IEmployee> {\n return this.axios.$get(`/employees/${id}`);\n }\n\n public update(\n id: number,\n payload: Partial<UpdateEmployee>,\n ): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$put(`/employees/${id}`, formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public delete(id: number): Promise<true> {\n return this.axios.$delete(`/employees/${id}`);\n }\n\n public getPaginate(\n idSociety: number,\n params?: QueryEmployeeSearch,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<Employee>> {\n return this.axios.$get(`/societies/${idSociety}/employees`, {\n ...(cancelToken ? { cancelToken } : {}),\n params: { ...params, isPaginate: true },\n });\n }\n\n public updateOrCreateWorkingSchedule(\n idEmployee: number,\n payload?: UpdateOrCreateWorkingSchedule,\n ): Promise<IWorkingSchedule> {\n return this.axios.$post(\n `employees/${idEmployee}/working-schedules`,\n payload,\n );\n }\n\n public deleteWorkingSchedule(\n idEmployee: number,\n idWorkingSchedule: number,\n ): Promise<true> {\n return this.axios.$delete(\n `employees/${idEmployee}/working-schedules/${idWorkingSchedule}`,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAUA,IAAAE,SAAA,GAAAF,OAAA;AAEM,MAAOG,QAAS,SAAQC,kBAAQ;EAC7BC,MAAMA,CAACC,OAAgC;IAC5C,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/B,IAAAC,eAAO,EAACH,OAAO,EAAE,CAACI,KAAK,EAAEC,GAAG,KAAI;MAC9B,IAAI,IAAAC,yBAAS,EAACF,KAAK,CAAC,IAAIC,GAAG,KAAK,WAAW,EAAE;QAC3C,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAACE,QAAQ,CAACF,GAAG,CAAC,EAAE;UAC9CJ,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAED,KAAa,CAAC;SACpC,MAAM;UACLH,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAE,GAAGD,KAAK,EAAE,CAAC;;;IAGtC,CAAC,CAAC;IACF,OAAO,IAAI,CAACK,KAAK,CAACC,KAAK,CAAC,YAAY,EAAET,QAAQ,EAAE;MAC9CU,OAAO,EAAE;QAAE,cAAc,EAAE;MAAqB;KACjD,CAAC;EACJ;EAEOC,MAAMA,CAACC,SAAiB;IAC7B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,YAAY,CAAC;EAC7D;EAEOE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B5B,OAAuC;IAEvC,OAAO,IAAI,CAACS,KAAK,CAACC,KAAK,CACrB,aAAakB,UAAU,oBAAoB,EAC3C5B,OAAO,CACR;EACH;EAEO6B,qBAAqBA,CAC1BD,UAAkB,EAClBE,iBAAyB;IAEzB,OAAO,IAAI,CAACrB,KAAK,CAACW,OAAO,CACvB,aAAaQ,UAAU,sBAAsBE,iBAAiB,EAAE,CACjE;EACH;;AACDC,OAAA,CA7EYlC,QAAS,GAATA,QAAS"}
1
+ {"version":3,"file":"Employee.js","names":["_lodash","require","_classValidator","_Resource","Employee","Resource","create","payload","formData","FormData","forEach","value","key","isDefined","includes","append","axios","$post","headers","getAll","idSociety","$get","get","id","update","$put","delete","$delete","getPaginate","params","cancelToken","Object","assign","isPaginate","updateOrCreateWorkingSchedule","idEmployee","deleteWorkingSchedule","idWorkingSchedule","exports"],"sources":["../../../ts/api/resources/Employee.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { forEach } from 'lodash';\nimport { isDefined } from 'class-validator';\nimport {\n BasePaginate,\n IEmployee,\n IWorkingSchedule,\n CreateEmployee,\n QueryEmployeeSearch,\n UpdateEmployee,\n UpdateOrCreateWorkingSchedule,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Employee extends Resource {\n public create(payload: Partial<CreateEmployee>): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$post('/employees', formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public getAll(idSociety: number): Promise<IEmployee[]> {\n return this.axios.$get(`/societies/${idSociety}/employees`);\n }\n\n public get(id: number): Promise<IEmployee> {\n return this.axios.$get(`/employees/${id}`);\n }\n\n public update(\n id: number,\n payload: Partial<UpdateEmployee>,\n ): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$put(`/employees/${id}`, formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public delete(id: number): Promise<true> {\n return this.axios.$delete(`/employees/${id}`);\n }\n\n public getPaginate(\n idSociety: number,\n params?: QueryEmployeeSearch,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<Employee>> {\n return this.axios.$get(`/societies/${idSociety}/employees`, {\n ...(cancelToken ? { cancelToken } : {}),\n params: { ...params, isPaginate: true },\n });\n }\n\n public updateOrCreateWorkingSchedule(\n idEmployee: number,\n payload?: UpdateOrCreateWorkingSchedule,\n ): Promise<IWorkingSchedule> {\n return this.axios.$post(\n `employees/${idEmployee}/working-schedules`,\n payload,\n );\n }\n\n public deleteWorkingSchedule(\n idEmployee: number,\n idWorkingSchedule: number,\n ): Promise<true> {\n return this.axios.$delete(\n `employees/${idEmployee}/working-schedules/${idWorkingSchedule}`,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAUA,IAAAE,SAAA,GAAAF,OAAA;AAEM,MAAOG,QAAS,SAAQC,kBAAQ;EAC7BC,MAAMA,CAACC,OAAgC;IAC5C,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/B,IAAAC,eAAO,EAACH,OAAO,EAAE,CAACI,KAAK,EAAEC,GAAG,KAAI;MAC9B,IAAI,IAAAC,yBAAS,EAACF,KAAK,CAAC,IAAIC,GAAG,KAAK,WAAW,EAAE;QAC3C,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAACE,QAAQ,CAACF,GAAG,CAAC,EAAE;UAC9CJ,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAED,KAAa,CAAC;SACpC,MAAM;UACLH,QAAQ,CAACO,MAAM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I,CAACd,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,YAAY,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACpDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCD,MAAM,EAAAE,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOH,MAAM;QAAEI,UAAU,EAAE;MAAI;IAAA,GACrC;EACJ;EAEOC,6BAA6BA,CAClCC,UAAkB,EAClB5B,OAAuC;IAEvC,OAAO,IAAI,CAACS,KAAK,CAACC,KAAK,CACrB,aAAakB,UAAU,oBAAoB,EAC3C5B,OAAO,CACR;EACH;EAEO6B,qBAAqBA,CAC1BD,UAAkB,EAClBE,iBAAyB;IAEzB,OAAO,IAAI,CAACrB,KAAK,CAACW,OAAO,CACvB,aAAaQ,UAAU,sBAAsBE,iBAAiB,EAAE,CACjE;EACH;;AACDC,OAAA,CA7EYlC,QAAS,GAATA,QAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"Facturation.js","names":["_Resource","require","Facturation","Resource","getPaginated","params","cancelToken","axios","$get","Object","assign","getBillingHistoryPaginated","createRebilling","payload","$post","exports"],"sources":["../../../ts/api/resources/Facturation.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate, CreateRebilling, IBillingHistory, QueryPaginatedBillingHistory, QueryPaginatedSocietyWithFacturation,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Facturation extends Resource {\n getPaginated(params: QueryPaginatedSocietyWithFacturation, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/facturation/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getBillingHistoryPaginated(params: QueryPaginatedBillingHistory, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/billing-history/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n createRebilling(payload: CreateRebilling): Promise<IBillingHistory> {\n return this.axios.$post('/facturation/rebilling', payload);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,WAAY,SAAQC,kBAAQ;EACvCC,YAAYA,CAACC,MAA4C,EAAEC,WAAyB;IAClF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EACvG;EACAM,0BAA0BA,CAACN,MAAoC,EAAEC,WAAyB;IACxF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAC3G;EACAO,eAAeA,CAACC,OAAwB;IACtC,OAAO,IAAI,CAACN,KAAK,CAACO,KAAK,CAAC,wBAAwB,EAAED,OAAO,CAAC;EAC5D;;AACDE,OAAA,CAVYb,WAAY,GAAZA,WAAY"}
1
+ {"version":3,"file":"Facturation.js","names":["_Resource","require","Facturation","Resource","getPaginated","params","cancelToken","axios","$get","Object","assign","getBillingHistoryPaginated","createRebilling","payload","$post","exports"],"sources":["../../../ts/api/resources/Facturation.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate, CreateRebilling, IBillingHistory, QueryPaginatedBillingHistory, QueryPaginatedSocietyWithFacturation,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Facturation extends Resource {\n getPaginated(params: QueryPaginatedSocietyWithFacturation, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/facturation/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getBillingHistoryPaginated(params: QueryPaginatedBillingHistory, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/billing-history/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n createRebilling(payload: CreateRebilling): Promise<IBillingHistory> {\n return this.axios.$post('/facturation/rebilling', payload);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,WAAY,SAAQC,kBAAQ;EACvCC,YAAYA,CAACC,MAA4C,EAAEC,WAAyB;IAClF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EACvG;EACAM,0BAA0BA,CAACN,MAAoC,EAAEC,WAAyB;IACxF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC3G;EACAO,eAAeA,CAACC,OAAwB;IACtC,OAAO,IAAI,CAACN,KAAK,CAACO,KAAK,CAAC,wBAAwB,EAAED,OAAO,CAAC;EAC5D;;AACDE,OAAA,CAVYb,WAAY,GAAZA,WAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"Invoice.js","names":["_Resource","require","Invoice","Resource","getCashBasedPaginated","params","cancelToken","axios","$get","Object","assign","getAccrualPaginated","getAccrualById","id","getCashBasedById","create","payload","$post","update","$put","delete","$delete","getAllMails","idFile","sendMail","sendMailWithMultipleFiles","getFormValues","getDefaultFormValues","idEstimateInvoiceType","exports"],"sources":["../../../ts/api/resources/Invoice.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateCommercialMail,\n CreateCommercialMailWithMultipleFiles,\n CreateInvoiceDocument,\n EstimateInvoiceType,\n ICommercialMail,\n IEstimateInvoice,\n QueryInvoice,\n QueryPaginate,\n ReadAccrualInvoice,\n ReadCashBasedInvoice,\n} from '../../types';\n\nexport class Invoice extends Resource {\n getCashBasedPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadCashBasedInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getAccrualPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadAccrualInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getAccrualById(id: number): Promise<ReadAccrualInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n getCashBasedById(id: number): Promise<ReadCashBasedInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n create(payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {\n return this.axios.$post('/commercial-management/invoices', payload);\n }\n\n update(id: number, payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {\n return this.axios.$put(`/commercial-management/invoices/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getAllMails(idFile: number): Promise<ICommercialMail[]> {\n return this.axios.$get(`/commercial-management/files/${idFile}/mails`);\n }\n\n sendMail(idFile: number, payload: CreateCommercialMail): Promise<ICommercialMail> {\n return this.axios.$post(`/commercial-management/files/${idFile}/mails`, payload);\n }\n\n sendMailWithMultipleFiles(payload: CreateCommercialMailWithMultipleFiles): Promise<ICommercialMail[]> {\n return this.axios.$post('/commercial-management/files/mails', payload);\n }\n\n getFormValues(id: number): Promise<CreateInvoiceDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(idEstimateInvoiceType: EstimateInvoiceType): Promise<CreateInvoiceDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', { params: { idEstimateInvoiceType } });\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,qBAAqBA,CAACC,MAAoC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCD;IAAM,GACN;EACJ;EAEAM,mBAAmBA,CAACN,MAAoC,EAAEC,WAAyB;IACjF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCD;IAAM,GACN;EACJ;EAEAO,cAAcA,CAACC,EAAU;IACvB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,mCAAmCK,EAAE,EAAE,CAAC;EACjE;EAEAC,gBAAgBA,CAACD,EAAU;IACzB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,mCAAmCK,EAAE,EAAE,CAAC;EACjE;EAEAE,MAAMA,CAACC,OAA8B;IACnC,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,iCAAiC,EAAED,OAAO,CAAC;EACrE;EAEAE,MAAMA,CAACL,EAAU,EAAEG,OAA8B;IAC/C,OAAO,IAAI,CAACT,KAAK,CAACY,IAAI,CAAC,mCAAmCN,EAAE,EAAE,EAAEG,OAAO,CAAC;EAC1E;EAEAI,MAAMA,CAACP,EAAU;IACf,OAAO,IAAI,CAACN,KAAK,CAACc,OAAO,CAAC,oCAAoCR,EAAE,EAAE,CAAC;EACrE;EAEAS,WAAWA,CAACC,MAAc;IACxB,OAAO,IAAI,CAAChB,KAAK,CAACC,IAAI,CAAC,gCAAgCe,MAAM,QAAQ,CAAC;EACxE;EAEAC,QAAQA,CAACD,MAAc,EAAEP,OAA6B;IACpD,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,gCAAgCM,MAAM,QAAQ,EAAEP,OAAO,CAAC;EAClF;EAEAS,yBAAyBA,CAACT,OAA8C;IACtE,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,oCAAoC,EAAED,OAAO,CAAC;EACxE;EAEAU,aAAaA,CAACb,EAAU;IACtB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,oCAAoCK,EAAE,SAAS,CAAC;EACzE;EAEAc,oBAAoBA,CAACC,qBAA0C;IAC7D,OAAO,IAAI,CAACrB,KAAK,CAACC,IAAI,CAAC,yCAAyC,EAAE;MAAEH,MAAM,EAAE;QAAEuB;MAAqB;IAAE,CAAE,CAAC;EAC1G;;AACDC,OAAA,CAtDY3B,OAAQ,GAARA,OAAQ"}
1
+ {"version":3,"file":"Invoice.js","names":["_Resource","require","Invoice","Resource","getCashBasedPaginated","params","cancelToken","axios","$get","Object","assign","getAccrualPaginated","getAccrualById","id","getCashBasedById","create","payload","$post","update","$put","delete","$delete","getAllMails","idFile","sendMail","sendMailWithMultipleFiles","getFormValues","getDefaultFormValues","idEstimateInvoiceType","exports"],"sources":["../../../ts/api/resources/Invoice.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateCommercialMail,\n CreateCommercialMailWithMultipleFiles,\n CreateInvoiceDocument,\n EstimateInvoiceType,\n ICommercialMail,\n IEstimateInvoice,\n QueryInvoice,\n QueryPaginate,\n ReadAccrualInvoice,\n ReadCashBasedInvoice,\n} from '../../types';\n\nexport class Invoice extends Resource {\n getCashBasedPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadCashBasedInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getAccrualPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadAccrualInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getAccrualById(id: number): Promise<ReadAccrualInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n getCashBasedById(id: number): Promise<ReadCashBasedInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n create(payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {\n return this.axios.$post('/commercial-management/invoices', payload);\n }\n\n update(id: number, payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {\n return this.axios.$put(`/commercial-management/invoices/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getAllMails(idFile: number): Promise<ICommercialMail[]> {\n return this.axios.$get(`/commercial-management/files/${idFile}/mails`);\n }\n\n sendMail(idFile: number, payload: CreateCommercialMail): Promise<ICommercialMail> {\n return this.axios.$post(`/commercial-management/files/${idFile}/mails`, payload);\n }\n\n sendMailWithMultipleFiles(payload: CreateCommercialMailWithMultipleFiles): Promise<ICommercialMail[]> {\n return this.axios.$post('/commercial-management/files/mails', payload);\n }\n\n getFormValues(id: number): Promise<CreateInvoiceDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(idEstimateInvoiceType: EstimateInvoiceType): Promise<CreateInvoiceDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', { params: { idEstimateInvoiceType } });\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,qBAAqBA,CAACC,MAAoC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCA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CAACT,KAAK,CAACU,KAAK,CAAC,oCAAoC,EAAED,OAAO,CAAC;EACxE;EAEAU,aAAaA,CAACb,EAAU;IACtB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,oCAAoCK,EAAE,SAAS,CAAC;EACzE;EAEAc,oBAAoBA,CAACC,qBAA0C;IAC7D,OAAO,IAAI,CAACrB,KAAK,CAACC,IAAI,CAAC,yCAAyC,EAAE;MAAEH,MAAM,EAAE;QAAEuB;MAAqB;IAAE,CAAE,CAAC;EAC1G;;AACDC,OAAA,CAtDY3B,OAAQ,GAARA,OAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"Library.js","names":["_Resource","require","Library","Resource","create","formData","axios","$post","headers","get","params","$get","getAll","getAllForLibrary","countAll","updateOrCreate","idFile","update","$put","download","idSociety","isPdfFile","Object","assign","responseType","Accept","delete","$delete","exports"],"sources":["../../../ts/api/resources/Library.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile,\n} from '../../types';\n\nexport class Library extends Resource {\n create(formData: FormData): Promise<IGedFile> {\n return this.axios.$post('/library/file', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n getAll(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files', { params });\n }\n\n getAllForLibrary(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files-for-library', { params });\n }\n\n countAll(params: QueryLibraryFile): Promise<Array<object>> {\n return this.axios.$get('/library/count-for-library', { params });\n }\n\n updateOrCreate(idFile: number, params: UpdateOrCreateGedFile): Promise<IGedFile> {\n return this.axios.$post(`/library/file/${idFile}`, params);\n }\n\n update(idFile: number, params: UpdateGedFile): Promise<IGedFile> {\n return this.axios.$put(`/library/file/${idFile}`, 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\n delete(idFile: number): Promise<number> {\n return this.axios.$delete(`/library/file/${idFile}`);\n }\n}"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAKM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAACC,QAAkB;IACvB,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,eAAe,EAAEF,QAAQ,EAAE;MAAEG,OAAO,EAAE;QAAE,cAAc,EAAE;MAAqB;IAAE,CAAE,CAAC;EAC5G;EAEAC,GAAGA,CAACC,MAAwB;IAC1B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,eAAe,EAAE;MAAED;IAAM,CAAE,CAAC;EACrD;EAEAE,MAAMA,CAACF,MAAwB;IAC7B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,gBAAgB,EAAE;MAAED;IAAM,CAAE,CAAC;EACtD;EAEAG,gBAAgBA,CAACH,MAAwB;IACvC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAI,QAAQA,CAACJ,MAAwB;IAC/B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAK,cAAcA,CAACC,MAAc,EAAEN,MAA6B;IAC1D,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,iBAAiBS,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC5D;EAEAO,MAAMA,CAACD,MAAc,EAAEN,MAAqB;IAC1C,OAAO,IAAI,CAACJ,KAAK,CAACY,IAAI,CAAC,iBAAiBF,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC3D;EAEAS,QAAQA,CAACC,SAAiB,EAAEV,MAAyB,EAAEW,SAAS,GAAG,KAAK;IACtE,OAAO,IAAI,CAACf,KAAK,CAACK,IAAI,CAAC,YAAYS,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA;MAExDb;IAAM,GACFW,SAAS,GAAG;MACdG,YAAY,EAAE,aAAa;MAC3BhB,OAAO,EAAE;QACPiB,MAAM,EAAE;;KAEX,GAAG,EAAE,CAAC,CACP;EACN;EAEAC,MAAMA,CAACV,MAAc;IACnB,OAAO,IAAI,CAACV,KAAK,CAACqB,OAAO,CAAC,iBAAiBX,MAAM,EAAE,CAAC;EACtD;;AACDY,OAAA,CA7CY1B,OAAQ,GAARA,OAAQ"}
1
+ {"version":3,"file":"Library.js","names":["_Resource","require","Library","Resource","create","formData","axios","$post","headers","get","params","$get","getAll","getAllForLibrary","countAll","updateOrCreate","idFile","update","$put","download","idSociety","isPdfFile","Object","assign","responseType","Accept","delete","$delete","exports"],"sources":["../../../ts/api/resources/Library.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile,\n} from '../../types';\n\nexport class Library extends Resource {\n create(formData: FormData): Promise<IGedFile> {\n return this.axios.$post('/library/file', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n getAll(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files', { params });\n }\n\n getAllForLibrary(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files-for-library', { params });\n }\n\n countAll(params: QueryLibraryFile): Promise<Array<object>> {\n return this.axios.$get('/library/count-for-library', { params });\n }\n\n updateOrCreate(idFile: number, params: UpdateOrCreateGedFile): Promise<IGedFile> {\n return this.axios.$post(`/library/file/${idFile}`, params);\n }\n\n update(idFile: number, params: UpdateGedFile): Promise<IGedFile> {\n return this.axios.$put(`/library/file/${idFile}`, 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\n delete(idFile: number): Promise<number> {\n return this.axios.$delete(`/library/file/${idFile}`);\n }\n}"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAKM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAACC,QAAkB;IACvB,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,eAAe,EAAEF,QAAQ,EAAE;MAAEG,OAAO,EAAE;QAAE,cAAc,EAAE;MAAqB;IAAE,CAAE,CAAC;EAC5G;EAEAC,GAAGA,CAACC,MAAwB;IAC1B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,eAAe,EAAE;MAAED;IAAM,CAAE,CAAC;EACrD;EAEAE,MAAMA,CAACF,MAAwB;IAC7B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,gBAAgB,EAAE;MAAED;IAAM,CAAE,CAAC;EACtD;EAEAG,gBAAgBA,CAACH,MAAwB;IACvC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAI,QAAQA,CAACJ,MAAwB;IAC/B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAK,cAAcA,CAACC,MAAc,EAAEN,MAA6B;IAC1D,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,iBAAiBS,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC5D;EAEAO,MAAMA,CAACD,MAAc,EAAEN,MAAqB;IAC1C,OAAO,IAAI,CAACJ,KAAK,CAACY,IAAI,CAAC,iBAAiBF,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC3D;EAEAS,QAAQA,CAACC,SAAiB,EAAEV,MAAyB,EAAEW,SAAS,GAAG,KAAK;IACtE,OAAO,IAAI,CAACf,KAAK,CAACK,IAAI,CAAC,YAAYS,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA;MAExDb;IAAM,GACFW,SAAS,GAAG;MACdG,YAAY,EAAE,aAAa;MAC3BhB,OAAO,EAAE;QACPiB,MAAM,EAAE;;KAEX,GAAG,EAAG,EACP;EACN;EAEAC,MAAMA,CAACV,MAAc;IACnB,OAAO,IAAI,CAACV,KAAK,CAACqB,OAAO,CAAC,iBAAiBX,MAAM,EAAE,CAAC;EACtD;;AACDY,OAAA,CA7CY1B,OAAQ,GAARA,OAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"Mail.js","names":["_Resource","require","Mail","Resource","create","payload","axios","$post","get","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","assign","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","handlingManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countInboxBySociety","isRead","countToBeClassifiedByUser","countUnprocessedByManager","countMailAuto","idMailAuto","update","id","patch","delete","idMail","$delete","migrateMailAddresses","limit","migrateUsersMailAddresses","getUserSignature","exports"],"sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n QueryGetSignature,\n GetMailPromise,\n QueryUpdateMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(params: QueryMail): Promise<GetMailPromise> {\n return this.axios.$get('/mails', { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n\n public countInboxBySociety(idSociety: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n isSent: false,\n isRead: false,\n },\n });\n }\n\n public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n\n public countMailAuto(idSociety: number, idMailAuto: number[], cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n idMailAuto,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryUpdateMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n\n migrateMailAddresses(limit: number, idMail?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-mail-addresses', { limit, idMail });\n }\n\n migrateUsersMailAddresses(limit: number, idUser?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-users-mail-addresses', { limit, idUser });\n }\n\n getUserSignature(idUser: number, params: QueryGetSignature): Promise<string> {\n return this.axios.$get(`/mails/${idUser}/signature`, { params });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAaM,MAAOC,IAAK,SAAQC,kBAAQ;EAChCC,MAAMA,CAACC,OAAyB;IAC9B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,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D,EAAE,EAAE,EAAAhC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOX,OAAO,GAAKI,MAAM,EAAG;EACpE;EAEAwC,MAAMA,CAACC,MAAc;IACnB,OAAO,IAAI,CAAC5C,KAAK,CAAC6C,OAAO,CAAC,UAAUD,MAAM,EAAE,CAAC;EAC/C;EAEAE,oBAAoBA,CAACC,KAAa,EAAEH,MAAe;IACjD,OAAO,IAAI,CAAC5C,KAAK,CAACC,KAAK,CAAC,+BAA+B,EAAE;MAAE8C,KAAK;MAAEH;IAAM,CAAE,CAAC;EAC7E;EAEAI,yBAAyBA,CAACD,KAAa,EAAExC,MAAe;IACtD,OAAO,IAAI,CAACP,KAAK,CAACC,KAAK,CAAC,qCAAqC,EAAE;MAAE8C,KAAK;MAAExC;IAAM,CAAE,CAAC;EACnF;EAEA0C,gBAAgBA,CAAC1C,MAAc,EAAEJ,MAAyB;IACxD,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,UAAUG,MAAM,YAAY,EAAE;MAAEJ;IAAM,CAAE,CAAC;EAClE;;AACD+C,OAAA,CAjNYtD,IAAK,GAALA,IAAK"}
1
+ {"version":3,"file":"Mail.js","names":["_Resource","require","Mail","Resource","create","payload","axios","$post","get","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","assign","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","handlingManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countInboxBySociety","isRead","countToBeClassifiedByUser","countUnprocessedByManager","countMailAuto","idMailAuto","update","id","patch","delete","idMail","$delete","migrateMailAddresses","limit","migrateUsersMailAddresses","getUserSignature","exports"],"sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n QueryGetSignature,\n GetMailPromise,\n QueryUpdateMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(params: QueryMail): Promise<GetMailPromise> {\n return this.axios.$get('/mails', { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n\n public countInboxBySociety(idSociety: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n isSent: false,\n isRead: false,\n },\n });\n }\n\n public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n\n public countMailAuto(idSociety: number, idMailAuto: number[], cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n idMailAuto,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryUpdateMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n\n migrateMailAddresses(limit: number, idMail?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-mail-addresses', { limit, idMail });\n }\n\n migrateUsersMailAddresses(limit: number, idUser?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-users-mail-addresses', { limit, idUser });\n }\n\n getUserSignature(idUser: number, params: QueryGetSignature): Promise<string> {\n return this.axios.$get(`/mails/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E1C,OAA0B,EAAEI,MAAuB;IACpE,OAAO,IAAI,CAACH,KAAK,CAAC0C,KAAK,CAAC,UAAUD,EAAE,EAAE,EAAAhC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOX,OAAO,GAAKI,MAAM,EAAG;EACpE;EAEAwC,MAAMA,CAACC,MAAc;IACnB,OAAO,IAAI,CAAC5C,KAAK,CAAC6C,OAAO,CAAC,UAAUD,MAAM,EAAE,CAAC;EAC/C;EAEAE,oBAAoBA,CAACC,KAAa,EAAEH,MAAe;IACjD,OAAO,IAAI,CAAC5C,KAAK,CAACC,KAAK,CAAC,+BAA+B,EAAE;MAAE8C,KAAK;MAAEH;IAAM,CAAE,CAAC;EAC7E;EAEAI,yBAAyBA,CAACD,KAAa,EAAExC,MAAe;IACtD,OAAO,IAAI,CAACP,KAAK,CAACC,KAAK,CAAC,qCAAqC,EAAE;MAAE8C,KAAK;MAAExC;IAAM,CAAE,CAAC;EACnF;EAEA0C,gBAAgBA,CAAC1C,MAAc,EAAEJ,MAAyB;IACxD,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,UAAUG,MAAM,YAAY,EAAE;MAAEJ;IAAM,CAAE,CAAC;EAClE;;AACD+C,OAAA,CAjNYtD,IAAK,GAALA,IAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"PartneredAccountant.js","names":["_Resource","require","PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","assign","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices","exports"],"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}"],"mappings":";;;;;;AAsBA,IAAAA,SAAA,GAAAC,OAAA;AAGM,MAAOC,mBAAoB,SAAQC,kBAAQ;EAC/CC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,CAAC;EAClD;EAEAC,YAAYA,CAAA;IACV,OAAO,IAAI,CAACF,KAAK,CAACC,IA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AACoB,KAAK,CAAC,mDAAmD,EAAED,OAAO,CAAC;EACvF;EAEAG,yBAAyBA,CAACC,SAAiB;IACzC,OAAO,IAAI,CAACvB,KAAK,CAACoB,KAAK,CAAC,4CAA4CG,SAAS,YAAY,CAAC;EAC5F;EAEAC,qBAAqBA,CAACd,MAAyD,EAAEC,WAAyB;IACxG,OAAO,IAAI,CAACX,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCD;IAAM,GACN;EACJ;EAEAe,aAAaA,CAACf,MAAwC;IACpD,OAAO,IAAI,CAACV,KAAK,CAACoB,KAAK,CAAC,kCAAkC,EAAEV,MAAM,CAAC;EACrE;EAEA;EACA;EACA;EAEAgB,UAAUA,CAAA;IACR,OAAO,IAAI,CAAC1B,KAAK,CAACC,IAAI,CAAC,gCAAgC,CAAC;EAC1D;EAEA0B,oBAAoBA,CAAA;IAClB,OAAO,IAAI,CAAC3B,KAAK,CAACC,IAAI,CAAC,gDAAgD,CAAC;EAC1E;;AACD2B,OAAA,CA1EY/B,mBAAoB,GAApBA,mBAAoB"}
1
+ {"version":3,"file":"PartneredAccountant.js","names":["_Resource","require","PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","assign","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices","exports"],"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}"],"mappings":";;;;;;AAsBA,IAAAA,SAAA,GAAAC,OAAA;AAGM,MAAOC,mBAAoB,SAAQC,kBAAQ;EAC/CC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,CAAC;EAClD;EAEAC,YAAYA,CAAA;IACV,OAAO,IAAI,CAACF,KAAK,CAACC,IAAI,CAAC,+BAA+B,CAAC;EACzD;EAEAE,YAAYA,CAACC,q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yBAAyBA,CAACC,SAAiB;IACzC,OAAO,IAAI,CAACvB,KAAK,CAACoB,KAAK,CAAC,4CAA4CG,SAAS,YAAY,CAAC;EAC5F;EAEAC,qBAAqBA,CAACd,MAAyD,EAAEC,WAAyB;IACxG,OAAO,IAAI,CAACX,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCD;IAAM,GACN;EACJ;EAEAe,aAAaA,CAACf,MAAwC;IACpD,OAAO,IAAI,CAACV,KAAK,CAACoB,KAAK,CAAC,kCAAkC,EAAEV,MAAM,CAAC;EACrE;EAEA;EACA;EACA;EAEAgB,UAAUA,CAAA;IACR,OAAO,IAAI,CAAC1B,KAAK,CAACC,IAAI,CAAC,gCAAgC,CAAC;EAC1D;EAEA0B,oBAAoBA,CAAA;IAClB,OAAO,IAAI,CAAC3B,KAAK,CAACC,IAAI,CAAC,gDAAgD,CAAC;EAC1E;;AACD2B,OAAA,CA1EY/B,mBAAoB,GAApBA,mBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.js","names":["_Resource","require","PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","cancelToken","idSociety","Object","assign","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create","exports"],"sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(\n params: QueryGetPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers`,\n {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n },\n );\n }\n stats(\n params: QueryGetSocietyPaymentsExpectationsCustomersStats,\n ): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/stats`,\n {\n params,\n },\n );\n }\n pay(\n params: QueryPayPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(\n params: QueryConfirmPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(\n params: QueryDeleteSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`,\n );\n }\n refund(\n params: UpdateRefundSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`,\n params,\n );\n }\n create(\n params: CreateSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(\n `/society/${params.idSociety}/paymentExpectationCustomer`,\n params,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,0BAA2B,SAAQC,kBAAQ;EACtDC,GAAGA,CACDC,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,6BAA6B,EAAE;MAAEF;IAAM,CAAE,CAAC;EACnE;EACAG,YAAYA,CACVH,MAAoD,EACpDI,WAAyB;IAEzB,OAAO,IAAI,CAACH,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAEtDH,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCJ;IAAM,GAET;EACH;EACAQ,KAAKA,CACHR,MAAyD;IAEzD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,sCAAsC,EAClE;MACEL;KACD,CACF;EACH;EACAS,GAAGA,CACDT,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,iCAAiC,EAAEV,MAAM,CAAC;EACpE;EACAW,OAAOA,CACLX,MAA8C;IAE9C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,qCAAqC,EAAEV,MAAM,CAAC;EACxE;EACAY,MAAMA,CACJZ,MAAoD;IAEpD,OAAO,IAAI,CAACC,KAAK,CAACY,OAAO,CACvB,YAAYb,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,EAAE,CAC1E;EACH;EACAC,MAAMA,CACJf,MAAqD;IAErD,OAAO,IAAI,CAACC,KAAK,CAACe,IAAI,CACpB,YAAYhB,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,SAAS,EAChFd,MAAM,CACP;EACH;EACAiB,MAAMA,CACJjB,MAA+C;IAE/C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CACrB,YAAYV,MAAM,CAACK,SAAS,6BAA6B,EACzDL,MAAM,CACP;EACH;;AACDkB,OAAA,CA7DYrB,0BAA2B,GAA3BA,0BAA2B"}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","names":["_Resource","require","PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","cancelToken","idSociety","Object","assign","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create","exports"],"sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(\n params: QueryGetPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers`,\n {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n },\n );\n }\n stats(\n params: QueryGetSocietyPaymentsExpectationsCustomersStats,\n ): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/stats`,\n {\n params,\n },\n );\n }\n pay(\n params: QueryPayPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(\n params: QueryConfirmPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(\n params: QueryDeleteSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`,\n );\n }\n refund(\n params: UpdateRefundSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`,\n params,\n );\n }\n create(\n params: CreateSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(\n `/society/${params.idSociety}/paymentExpectationCustomer`,\n params,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,0BAA2B,SAAQC,kBAAQ;EACtDC,GAAGA,CACDC,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,6BAA6B,EAAE;MAAEF;IAAM,CAAE,CAAC;EACnE;EACAG,YAAYA,CACVH,MAAoD,EACpDI,WAAyB;IAEzB,OAAO,IAAI,CAACH,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAEtDH,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCJ;IAAM,GAET;EACH;EACAQ,KAAKA,CACHR,MAAyD;IAEzD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,sCAAsC,EAClE;MACEL;KACD,CACF;EACH;EACAS,GAAGA,CACDT,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,iCAAiC,EAAEV,MAAM,CAAC;EACpE;EACAW,OAAOA,CACLX,MAA8C;IAE9C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,qCAAqC,EAAEV,MAAM,CAAC;EACxE;EACAY,MAAMA,CACJZ,MAAoD;IAEpD,OAAO,IAAI,CAACC,KAAK,CAACY,OAAO,CACvB,YAAYb,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,EAAE,CAC1E;EACH;EACAC,MAAMA,CACJf,MAAqD;IAErD,OAAO,IAAI,CAACC,KAAK,CAACe,IAAI,CACpB,YAAYhB,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,SAAS,EAChFd,MAAM,CACP;EACH;EACAiB,MAAMA,CACJjB,MAA+C;IAE/C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CACrB,YAAYV,MAAM,CAACK,SAAS,6BAA6B,EACzDL,MAAM,CACP;EACH;;AACDkB,OAAA,CA7DYrB,0BAA2B,GAA3BA,0BAA2B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","names":["_Resource","require","Product","Resource","getAll","axios","$get","getPaginated","pagination","query","cancelToken","Object","assign","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType","exports"],"sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n IProduct,\n QueryPaginate,\n QueryProduct,\n BasePaginate,\n CreateProduct,\n 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(\n pagination: QueryPaginate,\n query?: QueryProduct,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n ...(cancelToken ? { cancelToken } : {}),\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<Buff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DsB,YAAY,EAAE;KACf,CAAC;EACJ;;AACDC,OAAA,CA1CY3B,OAAQ,GAARA,OAAQ"}
1
+ {"version":3,"file":"Product.js","names":["_Resource","require","Product","Resource","getAll","axios","$get","getPaginated","pagination","query","cancelToken","Object","assign","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType","exports"],"sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n IProduct,\n QueryPaginate,\n QueryProduct,\n BasePaginate,\n CreateProduct,\n 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(\n pagination: QueryPaginate,\n query?: QueryProduct,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n ...(cancelToken ? { cancelToken } : {}),\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}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAUM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,CAAC;EAC3D;EAEAC,YAAYA,CACVC,UAAyB,EACzBC,KAAoB,EACpBC,WAAyB;IAEzB,OAAO,IAAI,CAACL,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCG,MAAM,EAAAF,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACDJ,UAAU,GACVC,KAAK;IAAA,GAEV;EACJ;EAEAK,MAAMA,CAACC,OAAsB;IAC3B,OAAO,IAAI,CAACV,KAAK,CAACW,KAAK,CAAC,iCAAiC,EAAED,OAAO,CAAC;EACrE;EAEAE,MAAMA,CAACC,EAAU,EAAEH,OAAsB;IACvC,OAAO,IAAI,CAACV,KAAK,CAACc,IAAI,CAAC,mCAAmCD,EAAE,EAAE,EAAEH,OAAO,CAAC;EAC1E;EAEAK,MAAMA,CAACF,EAAU;IACf,OAAO,IAAI,CAACb,KAAK,CAACgB,OAAO,CAAC,mCAAmCH,EAAE,EAAE,CAAC;EACpE;EAEAI,MAAMA,CAACC,IAAU;IACf,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/BD,QAAQ,CAACE,MAAM,CAAC,MAAM,EAAEH,IAAI,CAAC;IAC7B,OAAO,IAAI,CAAClB,KAAK,CAACW,KAAK,CAAC,wCAAwC,EAAEQ,QAAQ,CAAC;EAC7E;EAEAG,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACtB,KAAK,CAACC,IAAI,CAAC,wCAAwC,EAAE;MAC/DsB,YAAY,EAAE;KACf,CAAC;EACJ;;AACDC,OAAA,CA1CY3B,OAAQ,GAARA,OAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"Registration.js","names":["_Resource","require","Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","assign","declare","id","getSettingsFromSociety","updateOrCreateSettingsFromSociety","getDetails","idRegistration","getAllAdjustments","getDetailsFile","responseType","headers","Accept","exports"],"sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration,\n ReadRegistration,\n CreateRegistrationSetting,\n IVatDeclarationSocietyDetail,\n QueryRegistration,\n DeclareRegistration,\n CreateRegistrationSettingFromSociety,\n IRegistrationDetail,\n QueryRegistrationAdjustment,\n ReadRegistrationAdjustment,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(\n idExercice: number,\n params: CreateRegistration,\n ): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(\n params: CreateRegistrationSetting,\n ): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(\n idSociety: number,\n params?: QueryRegistration,\n ): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, {\n ...(params ? { params } : {}),\n });\n }\n declare(id: number, params: DeclareRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`, params);\n }\n\n getSettingsFromSociety(idSociety: number): Promise<IVatDeclarationSocietyDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/settings`);\n }\n\n updateOrCreateSettingsFromSociety(idSociety: number, params: CreateRegistrationSettingFromSociety): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post(`/societies/${idSociety}/registrations/settings`, params);\n }\n\n getDetails(idSociety: number, idRegistration: number): Promise<IRegistrationDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/${idRegistration}/details`);\n }\n\n getAllAdjustments(idSociety: number, params: QueryRegistrationAdjustment): Promise<ReadRegistrationAdjustment[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations/adjustments`, { params });\n }\n\n getDetailsFile(idRegistration: number, idSociety: number): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/registrations/${idRegistration}/details/files`, null,\n {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,S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AAiB;IACtD,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,cAAcG,SAAS,kBAAkBS,cAAc,gBAAgB,EAAE,IAAI,EACnG;MACEG,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACN;;AACDC,OAAA,CAjDYxB,YAAa,GAAbA,YAAa"}
1
+ {"version":3,"file":"Registration.js","names":["_Resource","require","Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","assign","declare","id","getSettingsFromSociety","updateOrCreateSettingsFromSociety","getDetails","idRegistration","getAllAdjustments","getDetailsFile","responseType","headers","Accept","exports"],"sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration,\n ReadRegistration,\n CreateRegistrationSetting,\n IVatDeclarationSocietyDetail,\n QueryRegistration,\n DeclareRegistration,\n CreateRegistrationSettingFromSociety,\n IRegistrationDetail,\n QueryRegistrationAdjustment,\n ReadRegistrationAdjustment,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(\n idExercice: number,\n params: CreateRegistration,\n ): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(\n params: CreateRegistrationSetting,\n ): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(\n idSociety: number,\n params?: QueryRegistration,\n ): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, {\n ...(params ? { params } : {}),\n });\n }\n declare(id: number, params: DeclareRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`, params);\n }\n\n getSettingsFromSociety(idSociety: number): Promise<IVatDeclarationSocietyDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/settings`);\n }\n\n updateOrCreateSettingsFromSociety(idSociety: number, params: CreateRegistrationSettingFromSociety): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post(`/societies/${idSociety}/registrations/settings`, params);\n }\n\n getDetails(idSociety: number, idRegistration: number): Promise<IRegistrationDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/${idRegistration}/details`);\n }\n\n getAllAdjustments(idSociety: number, params: QueryRegistrationAdjustment): Promise<ReadRegistrationAdjustment[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations/adjustments`, { params });\n }\n\n getDetailsFile(idRegistration: number, idSociety: number): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/registrations/${idRegistration}/details/files`, null,\n {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAcM,MAAOC,YAAa,SAAQC,kBAAQ;EACxCC,cAAcA,CACZC,UAAkB,EAClBC,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,cAAcH,UAAU,gBAAgB,EAAEC,MAAM,CAAC;EAC3E;EACAG,sBAAsBA,CACpBH,MAAiC;IAEjC,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,yBAAyB,EAAEF,MAAM,CAAC;EAC5D;EACAI,MAAMA,CACJC,SAAiB,EACjBL,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA,KACxDR,MAAM,GAAG;MAAEA;IAAM,CAAE,GAAG,EAAG,EAC7B;EACJ;EACAS,OAAOA,CAACC,EAAU,EAAEV,MAA2B;IAC7C,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,kBAAkBQ,EAAE,UAAU,EAAEV,MAAM,CAAC;EACjE;EAEAW,sBAAsBA,CAACN,SAAiB;IACtC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,yBAAyB,CAAC;EAC1E;EAEAO,iCAAiCA,CAACP,SAAiB,EAAEL,MAA4C;IAC/F,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,cAAcG,SAAS,yBAAyB,EAAEL,MAAM,CAAC;EACnF;EAEAa,UAAUA,CAACR,SAAiB,EAAES,cAAsB;IAClD,OAAO,IAAI,CAACb,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,kBAAkBS,cAAc,UAAU,CAAC;EAC3F;EAEAC,iBAAiBA,CAACV,SAAiB,EAAEL,MAAmC;IACtE,OAAO,IAAI,CAACC,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,4BAA4B,EAAE;MAAEL;IAAM,CAAE,CAAC;EACzF;EAEAgB,cAAcA,CAACF,cAAsB,EAAET,SAAiB;IACtD,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,cAAcG,SAAS,kBAAkBS,cAAc,gBAAgB,EAAE,IAAI,EACnG;MACEG,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACN;;AACDC,OAAA,CAjDYxB,YAAa,GAAbA,YAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"Regulate.js","names":["_Resource","require","Regulate","Resource","getAllByCommercial","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../ts/api/resources/Regulate.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { QueryGetAll, RegulateWithStats } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Regulate extends Resource {\n getAllByCommercial(params: QueryGetAll, cancelToken?: CancelToken): Promise<RegulateWithStats[]> {\n return this.axios.$get('/regulates/all-by-commercial', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,QAAS,SAAQC,kBAAQ;EACpCC,kBAAkBA,CAACC,MAAmB,EAAEC,WAAyB;IAC/D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,8BAA8B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MAAED;IAAM,GAAG;EAC7G;;AACDM,OAAA,CAJYT,QAAS,GAATA,QAAS"}
1
+ {"version":3,"file":"Regulate.js","names":["_Resource","require","Regulate","Resource","getAllByCommercial","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../ts/api/resources/Regulate.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { QueryGetAll, RegulateWithStats } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Regulate extends Resource {\n getAllByCommercial(params: QueryGetAll, cancelToken?: CancelToken): Promise<RegulateWithStats[]> {\n return this.axios.$get('/regulates/all-by-commercial', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,QAAS,SAAQC,kBAAQ;EACpCC,kBAAkBA,CAACC,MAAmB,EAAEC,WAAyB;IAC/D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,8BAA8B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC7G;;AACDM,OAAA,CAJYT,QAAS,GAATA,QAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"Report.js","names":["_Resource","require","Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","assign","getStats","getReportsForLetter","update","$put","create","$post","delete","$delete","id","exports"],"sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, IReport, QueryPaginate, QueryReports, QueryReportsForLetter, 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 getReportsForLetter(params: QueryReportsForLetter, cancelToken?: CancelToken): Promise<IReport[]> {\n return this.axios.$get('/reports/letter', { 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}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,MAAO,SAAQC,kBAAQ;EAClCC,WAAWA,CAACC,MAAoC,EAAEC,WAAyB;IACzE,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,UAAU,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC,CAAG;EACzF;EACAK,QAAQA,CAACN,MAAyB,EAAEC,WAAyB;IAC3D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gBAAgB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC,CAAG;EAC/F;EACAM,mBAAmBA,CAACP,MAA6B,EAAEC,WAAyB;IAC1E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iBAAiB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC,CAAG;EAChG;EACAO,MAAMA,CAACR,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACO,IAAI,CAAC,UAAU,EAAET,MAAM,CAAC;EAC5C;EACAU,MAAMA,CAACV,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACS,KAAK,CAAC,UAAU,EAAEX,MAAM,CAAC;EAC7C;EACAY,MAAMA,CAACZ,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACW,OAAO,CAAC,YAAYb,MAAM,CAACc,EAAE,EAAE,CAAC;EACpD;;AACDC,OAAA,CAnBYlB,MAAO,GAAPA,MAAO"}
1
+ {"version":3,"file":"Report.js","names":["_Resource","require","Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","assign","getStats","getReportsForLetter","update","$put","create","$post","delete","$delete","id","exports"],"sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, IReport, QueryPaginate, QueryReports, QueryReportsForLetter, 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 getReportsForLetter(params: QueryReportsForLetter, cancelToken?: CancelToken): Promise<IReport[]> {\n return this.axios.$get('/reports/letter', { 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}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,MAAO,SAAQC,kBAAQ;EAClCC,WAAWA,CAACC,MAAoC,EAAEC,WAAyB;IACzE,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,UAAU,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EACzF;EACAK,QAAQA,CAACN,MAAyB,EAAEC,WAAyB;IAC3D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gBAAgB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EAC/F;EACAM,mBAAmBA,CAACP,MAA6B,EAAEC,WAAyB;IAC1E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iBAAiB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EAChG;EACAO,MAAMA,CAACR,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACO,IAAI,CAAC,UAAU,EAAET,MAAM,CAAC;EAC5C;EACAU,MAAMA,CAACV,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACS,KAAK,CAAC,UAAU,EAAEX,MAAM,CAAC;EAC7C;EACAY,MAAMA,CAACZ,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACW,OAAO,CAAC,YAAYb,MAAM,CAACc,EAAE,EAAE,CAAC;EACpD;;AACDC,OAAA,CAnBYlB,MAAO,GAAPA,MAAO"}