@silexpert/core 0.1.1 → 0.1.4

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 (389) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +2 -2
  3. package/es/api/resources/Country.d.ts +1 -1
  4. package/es/api/resources/Country.d.ts.map +1 -1
  5. package/es/api/resources/Country.js +1 -1
  6. package/es/api/resources/Country.js.map +1 -1
  7. package/es/api/resources/Simulation.d.ts +1 -1
  8. package/es/api/resources/Simulation.d.ts.map +1 -1
  9. package/es/api/resources/Simulation.js +1 -1
  10. package/es/api/resources/Simulation.js.map +1 -1
  11. package/es/types/Enum/AccountingJournal.d.ts +10 -0
  12. package/es/types/Enum/AccountingJournal.d.ts.map +1 -0
  13. package/es/types/Enum/AccountingJournal.js +11 -0
  14. package/es/types/Enum/AccountingJournal.js.map +1 -0
  15. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.d.ts +11 -1
  16. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.d.ts.map +1 -1
  17. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.js.map +1 -1
  18. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.d.ts +1 -0
  19. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.d.ts.map +1 -1
  20. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.js.map +1 -1
  21. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.d.ts +1 -0
  22. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.d.ts.map +1 -1
  23. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -1
  24. package/es/types/Interface/models/IAccount.d.ts +11 -11
  25. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  26. package/es/types/Interface/models/IAccount.js.map +1 -1
  27. package/es/types/Interface/models/IAccountingEntry.d.ts +3 -0
  28. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  29. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  30. package/es/types/Interface/models/IAccountingFile.d.ts +12 -10
  31. package/es/types/Interface/models/IAccountingFile.d.ts.map +1 -1
  32. package/es/types/Interface/models/IAccountingFile.js.map +1 -1
  33. package/es/types/Interface/models/IApiError.d.ts +14 -1
  34. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  35. package/es/types/Interface/models/IApiError.js +15 -0
  36. package/es/types/Interface/models/IApiError.js.map +1 -1
  37. package/es/types/Interface/models/IBusinessPartner.d.ts +9 -9
  38. package/es/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
  39. package/es/types/Interface/models/IBusinessPartner.js.map +1 -1
  40. package/es/types/Interface/models/IFile.d.ts +6 -6
  41. package/es/types/Interface/models/IFile.d.ts.map +1 -1
  42. package/es/types/Interface/models/IFile.js.map +1 -1
  43. package/es/types/Interface/models/IPaymentExpectationCustomer.d.ts +1 -0
  44. package/es/types/Interface/models/IPaymentExpectationCustomer.d.ts.map +1 -1
  45. package/es/types/Interface/models/IPaymentExpectationCustomer.js.map +1 -1
  46. package/es/types/Interface/models/ISociety.d.ts +1 -1
  47. package/es/types/Interface/models/ISociety.js.map +1 -1
  48. package/es/types/Interface/models/ISocietyConfig.d.ts +10 -8
  49. package/es/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  50. package/es/types/Interface/models/ISocietyConfig.js.map +1 -1
  51. package/es/types/Interface/models/IThirdParty.d.ts +23 -23
  52. package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
  53. package/es/types/Interface/models/IThirdParty.js.map +1 -1
  54. package/es/types/index.d.ts +1 -0
  55. package/es/types/index.d.ts.map +1 -1
  56. package/es/types/index.js +1 -0
  57. package/es/types/index.js.map +1 -1
  58. package/js/api/Resource.js.map +1 -1
  59. package/js/api/index.js.map +1 -1
  60. package/js/api/resources/Country.js +1 -1
  61. package/js/api/resources/Country.js.map +1 -1
  62. package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
  63. package/js/api/resources/Simulation.js +1 -1
  64. package/js/api/resources/Simulation.js.map +1 -1
  65. package/js/api/resources.js.map +1 -1
  66. package/js/index.js.map +1 -1
  67. package/js/types/Enum/AccountingJournal.js +17 -0
  68. package/js/types/Enum/AccountingJournal.js.map +1 -0
  69. package/js/types/Enum/ComptaType.js.map +1 -1
  70. package/js/types/Enum/Country.js.map +1 -1
  71. package/js/types/Enum/Ged.js.map +1 -1
  72. package/js/types/Enum/LegalForm.js.map +1 -1
  73. package/js/types/Enum/Role.js.map +1 -1
  74. package/js/types/Enum/Sector.js.map +1 -1
  75. package/js/types/Enum/Simulation.js.map +1 -1
  76. package/js/types/Enum/SubscriptionType.js.map +1 -1
  77. package/js/types/Enum/TypeConnector.js.map +1 -1
  78. package/js/types/Enum/Vat.js.map +1 -1
  79. package/js/types/Enum/VatRegime.js.map +1 -1
  80. package/js/types/Form/FormAuthenticate.js.map +1 -1
  81. package/js/types/Form/FormConnector.js.map +1 -1
  82. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  83. package/js/types/Interface/api/BaseRequest.js.map +1 -1
  84. package/js/types/Interface/api/accountingEntry/CreateAccountingEntry.js.map +1 -1
  85. package/js/types/Interface/api/businessPartner/ReadBusinessPartner.js.map +1 -1
  86. package/js/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
  87. package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  88. package/js/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.js.map +1 -1
  89. package/js/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -1
  90. package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
  91. package/js/types/Interface/api/simulation/ReadSimulation.js.map +1 -1
  92. package/js/types/Interface/api/society/ReadSociety.js.map +1 -1
  93. package/js/types/Interface/models/IAbsenceType.js.map +1 -1
  94. package/js/types/Interface/models/IAccessToken.js.map +1 -1
  95. package/js/types/Interface/models/IAccount.js.map +1 -1
  96. package/js/types/Interface/models/IAccountDetail.js.map +1 -1
  97. package/js/types/Interface/models/IAccountHelp.js.map +1 -1
  98. package/js/types/Interface/models/IAccountType.js.map +1 -1
  99. package/js/types/Interface/models/IAccountantTracker.js.map +1 -1
  100. package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
  101. package/js/types/Interface/models/IAccountingFile.js.map +1 -1
  102. package/js/types/Interface/models/IAccountingFileType.js.map +1 -1
  103. package/js/types/Interface/models/IAccountingJournal.js.map +1 -1
  104. package/js/types/Interface/models/IAccountingState.js.map +1 -1
  105. package/js/types/Interface/models/IAccountingStateType.js.map +1 -1
  106. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  107. package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
  108. package/js/types/Interface/models/IActivity.js.map +1 -1
  109. package/js/types/Interface/models/IAdditionalBalance.js.map +1 -1
  110. package/js/types/Interface/models/IAlert.js.map +1 -1
  111. package/js/types/Interface/models/IAllowedIp.js.map +1 -1
  112. package/js/types/Interface/models/IAnalyticsUtm.js.map +1 -1
  113. package/js/types/Interface/models/IApiError.js +16 -1
  114. package/js/types/Interface/models/IApiError.js.map +1 -1
  115. package/js/types/Interface/models/IAppConfig.js.map +1 -1
  116. package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
  117. package/js/types/Interface/models/IAskAbsence.js.map +1 -1
  118. package/js/types/Interface/models/IAskAbsenceTimes.js.map +1 -1
  119. package/js/types/Interface/models/IAttachmentFile.js.map +1 -1
  120. package/js/types/Interface/models/IAttestation.js.map +1 -1
  121. package/js/types/Interface/models/IAttributionHistory.js.map +1 -1
  122. package/js/types/Interface/models/IAutoLoginToken.js.map +1 -1
  123. package/js/types/Interface/models/IBalanceBankAccount.js.map +1 -1
  124. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  125. package/js/types/Interface/models/IBalanceSheetHistory.js.map +1 -1
  126. package/js/types/Interface/models/IBalanceSheetLiquidation.js.map +1 -1
  127. package/js/types/Interface/models/IBalanceSheetPartial.js.map +1 -1
  128. package/js/types/Interface/models/IBankAccount.js.map +1 -1
  129. package/js/types/Interface/models/IBankAccountSynchroHistory.js.map +1 -1
  130. package/js/types/Interface/models/IBankConnection.js.map +1 -1
  131. package/js/types/Interface/models/IBankList.js.map +1 -1
  132. package/js/types/Interface/models/IBankTransaction.js.map +1 -1
  133. package/js/types/Interface/models/IBrandType.js.map +1 -1
  134. package/js/types/Interface/models/IBusinessLine.js.map +1 -1
  135. package/js/types/Interface/models/IBusinessPartner.js.map +1 -1
  136. package/js/types/Interface/models/ICalendarEvent.js.map +1 -1
  137. package/js/types/Interface/models/ICalendarEventUser.js.map +1 -1
  138. package/js/types/Interface/models/ICallDirectly.js.map +1 -1
  139. package/js/types/Interface/models/ICashDeskTransactionType.js.map +1 -1
  140. package/js/types/Interface/models/ICategory.js.map +1 -1
  141. package/js/types/Interface/models/ICerfaType.js.map +1 -1
  142. package/js/types/Interface/models/ICerfaValue.js.map +1 -1
  143. package/js/types/Interface/models/IChangeLog.js.map +1 -1
  144. package/js/types/Interface/models/IChannelType.js.map +1 -1
  145. package/js/types/Interface/models/IChecklist.js.map +1 -1
  146. package/js/types/Interface/models/IChecklistCategoryType.js.map +1 -1
  147. package/js/types/Interface/models/IChecklistDetail.js.map +1 -1
  148. package/js/types/Interface/models/IChecklistType.js.map +1 -1
  149. package/js/types/Interface/models/ICivility.js.map +1 -1
  150. package/js/types/Interface/models/IColor.js.map +1 -1
  151. package/js/types/Interface/models/IComment.js.map +1 -1
  152. package/js/types/Interface/models/ICommentType.js.map +1 -1
  153. package/js/types/Interface/models/IComptaHistoryType.js.map +1 -1
  154. package/js/types/Interface/models/IComptaType.js.map +1 -1
  155. package/js/types/Interface/models/IConnector.js.map +1 -1
  156. package/js/types/Interface/models/IConnectorType.js.map +1 -1
  157. package/js/types/Interface/models/IContractType.js.map +1 -1
  158. package/js/types/Interface/models/ICotation.js.map +1 -1
  159. package/js/types/Interface/models/ICountry.js.map +1 -1
  160. package/js/types/Interface/models/ICurrency.js.map +1 -1
  161. package/js/types/Interface/models/ICustomerIsRegime.js.map +1 -1
  162. package/js/types/Interface/models/ICustomerSignature.js.map +1 -1
  163. package/js/types/Interface/models/ICustomerTva.js.map +1 -1
  164. package/js/types/Interface/models/ICustomisation.js.map +1 -1
  165. package/js/types/Interface/models/ICustomizationType.js.map +1 -1
  166. package/js/types/Interface/models/ICycle.js.map +1 -1
  167. package/js/types/Interface/models/IDay.js.map +1 -1
  168. package/js/types/Interface/models/IDetailedLogBi.js.map +1 -1
  169. package/js/types/Interface/models/IDirectDebitHistory.js.map +1 -1
  170. package/js/types/Interface/models/IDocumentWaitingType.js.map +1 -1
  171. package/js/types/Interface/models/IEmployee.js.map +1 -1
  172. package/js/types/Interface/models/IEngagementAccountingEntry.js.map +1 -1
  173. package/js/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
  174. package/js/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
  175. package/js/types/Interface/models/IEngagementOcrExtraction.js.map +1 -1
  176. package/js/types/Interface/models/IErrorCode.js.map +1 -1
  177. package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
  178. package/js/types/Interface/models/IEstimateInvoiceRepeat.js.map +1 -1
  179. package/js/types/Interface/models/IEstimateInvoiceType.js.map +1 -1
  180. package/js/types/Interface/models/IExercice.js.map +1 -1
  181. package/js/types/Interface/models/IExerciceDetail.js.map +1 -1
  182. package/js/types/Interface/models/IExercicePrestation.js.map +1 -1
  183. package/js/types/Interface/models/IFailedLoginAttempt.js.map +1 -1
  184. package/js/types/Interface/models/IFaq.js.map +1 -1
  185. package/js/types/Interface/models/IFaqCategory.js.map +1 -1
  186. package/js/types/Interface/models/IField.js.map +1 -1
  187. package/js/types/Interface/models/IFile.js.map +1 -1
  188. package/js/types/Interface/models/IFileMissing.js.map +1 -1
  189. package/js/types/Interface/models/IFileType.js.map +1 -1
  190. package/js/types/Interface/models/IFiscalRegime.js.map +1 -1
  191. package/js/types/Interface/models/IFolderFile.js.map +1 -1
  192. package/js/types/Interface/models/IFollow.js.map +1 -1
  193. package/js/types/Interface/models/IFollowList.js.map +1 -1
  194. package/js/types/Interface/models/IFollowedQualityMail.js.map +1 -1
  195. package/js/types/Interface/models/IFollowedQualityMailType.js.map +1 -1
  196. package/js/types/Interface/models/IFormalism.js.map +1 -1
  197. package/js/types/Interface/models/IFormalismValue.js.map +1 -1
  198. package/js/types/Interface/models/IFrequency.js.map +1 -1
  199. package/js/types/Interface/models/IFuel.js.map +1 -1
  200. package/js/types/Interface/models/IGedCategory.js.map +1 -1
  201. package/js/types/Interface/models/IGedFile.js.map +1 -1
  202. package/js/types/Interface/models/IGedFileType.js.map +1 -1
  203. package/js/types/Interface/models/IGedFolder.js.map +1 -1
  204. package/js/types/Interface/models/IIdentification.js.map +1 -1
  205. package/js/types/Interface/models/IIndependentReview.js.map +1 -1
  206. package/js/types/Interface/models/IInterestedByFeature.js.map +1 -1
  207. package/js/types/Interface/models/IInternalEstimate.js.map +1 -1
  208. package/js/types/Interface/models/IIpTmpBlocked.js.map +1 -1
  209. package/js/types/Interface/models/IItemEstimate.js.map +1 -1
  210. package/js/types/Interface/models/IJob.js.map +1 -1
  211. package/js/types/Interface/models/IJobCategory.js.map +1 -1
  212. package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  213. package/js/types/Interface/models/ILabelPaymentWaiting.js.map +1 -1
  214. package/js/types/Interface/models/ILegalForm.js.map +1 -1
  215. package/js/types/Interface/models/ILegalNotice.js.map +1 -1
  216. package/js/types/Interface/models/ILetter.js.map +1 -1
  217. package/js/types/Interface/models/ILetterType.js.map +1 -1
  218. package/js/types/Interface/models/ILettering.js.map +1 -1
  219. package/js/types/Interface/models/ILog.js.map +1 -1
  220. package/js/types/Interface/models/ILogBi.js.map +1 -1
  221. package/js/types/Interface/models/ILogType.js.map +1 -1
  222. package/js/types/Interface/models/IMailAuto.js.map +1 -1
  223. package/js/types/Interface/models/IMailAutoType.js.map +1 -1
  224. package/js/types/Interface/models/IMailSociety.js.map +1 -1
  225. package/js/types/Interface/models/IMonth.js.map +1 -1
  226. package/js/types/Interface/models/INationality.js.map +1 -1
  227. package/js/types/Interface/models/INature.js.map +1 -1
  228. package/js/types/Interface/models/INote.js.map +1 -1
  229. package/js/types/Interface/models/INotification.js.map +1 -1
  230. package/js/types/Interface/models/INotificationCodeType.js.map +1 -1
  231. package/js/types/Interface/models/INotificationType.js.map +1 -1
  232. package/js/types/Interface/models/IOldExpertInfo.js.map +1 -1
  233. package/js/types/Interface/models/IOperationLegalNotice.js.map +1 -1
  234. package/js/types/Interface/models/IPageView.js.map +1 -1
  235. package/js/types/Interface/models/IPartnerTransaction.js.map +1 -1
  236. package/js/types/Interface/models/IPartnerTransactionType.js.map +1 -1
  237. package/js/types/Interface/models/IPayPlan.js.map +1 -1
  238. package/js/types/Interface/models/IPayment.js.map +1 -1
  239. package/js/types/Interface/models/IPaymentDelay.js.map +1 -1
  240. package/js/types/Interface/models/IPaymentExpectation.js.map +1 -1
  241. package/js/types/Interface/models/IPaymentExpectationCustomer.js.map +1 -1
  242. package/js/types/Interface/models/IPaymentMethod.js.map +1 -1
  243. package/js/types/Interface/models/IPaymentSchedule.js.map +1 -1
  244. package/js/types/Interface/models/IPaymentWaiting.js.map +1 -1
  245. package/js/types/Interface/models/IPenalty.js.map +1 -1
  246. package/js/types/Interface/models/IPenaltyType.js.map +1 -1
  247. package/js/types/Interface/models/IPendingPoint.js.map +1 -1
  248. package/js/types/Interface/models/IPermission.js.map +1 -1
  249. package/js/types/Interface/models/IPhoneNumber.js.map +1 -1
  250. package/js/types/Interface/models/IPhonePrefix.js.map +1 -1
  251. package/js/types/Interface/models/IPhonePrefixChild.js.map +1 -1
  252. package/js/types/Interface/models/IPrestation.js.map +1 -1
  253. package/js/types/Interface/models/IPrestationComplementary.js.map +1 -1
  254. package/js/types/Interface/models/IPrestationList.js.map +1 -1
  255. package/js/types/Interface/models/IPrestationSocial.js.map +1 -1
  256. package/js/types/Interface/models/IProcedure.js.map +1 -1
  257. package/js/types/Interface/models/IProduct.js.map +1 -1
  258. package/js/types/Interface/models/IProductType.js.map +1 -1
  259. package/js/types/Interface/models/IQuality.js.map +1 -1
  260. package/js/types/Interface/models/IQuotaLead.js.map +1 -1
  261. package/js/types/Interface/models/IRating.js.map +1 -1
  262. package/js/types/Interface/models/IReason.js.map +1 -1
  263. package/js/types/Interface/models/IReasonTermination.js.map +1 -1
  264. package/js/types/Interface/models/IRecontactHistory.js.map +1 -1
  265. package/js/types/Interface/models/IRefund.js.map +1 -1
  266. package/js/types/Interface/models/IRefundMotif.js.map +1 -1
  267. package/js/types/Interface/models/IRegion.js.map +1 -1
  268. package/js/types/Interface/models/IRegisterCategory.js.map +1 -1
  269. package/js/types/Interface/models/IRegulate.js.map +1 -1
  270. package/js/types/Interface/models/IRegulation.js.map +1 -1
  271. package/js/types/Interface/models/IRepeatType.js.map +1 -1
  272. package/js/types/Interface/models/IReport.js.map +1 -1
  273. package/js/types/Interface/models/IReportMessage.js.map +1 -1
  274. package/js/types/Interface/models/IReportType.js.map +1 -1
  275. package/js/types/Interface/models/IRole.js.map +1 -1
  276. package/js/types/Interface/models/IRoleUser.js.map +1 -1
  277. package/js/types/Interface/models/IRoom.js.map +1 -1
  278. package/js/types/Interface/models/IRule.js.map +1 -1
  279. package/js/types/Interface/models/ISchedule.js.map +1 -1
  280. package/js/types/Interface/models/ISector.js.map +1 -1
  281. package/js/types/Interface/models/ISendMethod.js.map +1 -1
  282. package/js/types/Interface/models/IService.js.map +1 -1
  283. package/js/types/Interface/models/ISheetMonthSchedule.js.map +1 -1
  284. package/js/types/Interface/models/ISimulation.js.map +1 -1
  285. package/js/types/Interface/models/ISimulationAdditionalFinance.js.map +1 -1
  286. package/js/types/Interface/models/ISimulationColor.js.map +1 -1
  287. package/js/types/Interface/models/ISimulationElement.js.map +1 -1
  288. package/js/types/Interface/models/ISimulationHasBankAccount.js.map +1 -1
  289. package/js/types/Interface/models/ISimulationPeriod.js.map +1 -1
  290. package/js/types/Interface/models/ISimulationSummary.js.map +1 -1
  291. package/js/types/Interface/models/ISms.js.map +1 -1
  292. package/js/types/Interface/models/ISmsType.js.map +1 -1
  293. package/js/types/Interface/models/ISocialDetail.js.map +1 -1
  294. package/js/types/Interface/models/ISociety.js.map +1 -1
  295. package/js/types/Interface/models/ISocietyAction.js.map +1 -1
  296. package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
  297. package/js/types/Interface/models/ISocietyBank.js.map +1 -1
  298. package/js/types/Interface/models/ISocietyBudgetConnection.js.map +1 -1
  299. package/js/types/Interface/models/ISocietyCgv.js.map +1 -1
  300. package/js/types/Interface/models/ISocietyConfig.js.map +1 -1
  301. package/js/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
  302. package/js/types/Interface/models/ISocietyDetail.js.map +1 -1
  303. package/js/types/Interface/models/ISocietyFile.js.map +1 -1
  304. package/js/types/Interface/models/ISocietyGescom.js.map +1 -1
  305. package/js/types/Interface/models/ISocietyJuridical.js.map +1 -1
  306. package/js/types/Interface/models/ISocietyNote.js.map +1 -1
  307. package/js/types/Interface/models/ISocietyPartner.js.map +1 -1
  308. package/js/types/Interface/models/ISocietyProceeding.js.map +1 -1
  309. package/js/types/Interface/models/ISocietyProcessRegister.js.map +1 -1
  310. package/js/types/Interface/models/ISocietyRelance.js.map +1 -1
  311. package/js/types/Interface/models/ISocietySocial.js.map +1 -1
  312. package/js/types/Interface/models/ISocietySoftware.js.map +1 -1
  313. package/js/types/Interface/models/ISocietyStat.js.map +1 -1
  314. package/js/types/Interface/models/ISocietyVehicle.js.map +1 -1
  315. package/js/types/Interface/models/ISoftwareCompta.js.map +1 -1
  316. package/js/types/Interface/models/ISource.js.map +1 -1
  317. package/js/types/Interface/models/ISpecialOperation.js.map +1 -1
  318. package/js/types/Interface/models/ISponsorshipLink.js.map +1 -1
  319. package/js/types/Interface/models/IStatusSignature.js.map +1 -1
  320. package/js/types/Interface/models/IStripeEvent.js.map +1 -1
  321. package/js/types/Interface/models/IStripeEventType.js.map +1 -1
  322. package/js/types/Interface/models/ISubscriptionType.js.map +1 -1
  323. package/js/types/Interface/models/ISupervision.js.map +1 -1
  324. package/js/types/Interface/models/ISupervisionJob.js.map +1 -1
  325. package/js/types/Interface/models/ISupervisionPendingPoint.js.map +1 -1
  326. package/js/types/Interface/models/ITag.js.map +1 -1
  327. package/js/types/Interface/models/ITask.js.map +1 -1
  328. package/js/types/Interface/models/ITaxSystem.js.map +1 -1
  329. package/js/types/Interface/models/ITeam.js.map +1 -1
  330. package/js/types/Interface/models/ITeamBusinessLine.js.map +1 -1
  331. package/js/types/Interface/models/ITerminationList.js.map +1 -1
  332. package/js/types/Interface/models/IThirdParty.js.map +1 -1
  333. package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
  334. package/js/types/Interface/models/IThirdPartyType.js.map +1 -1
  335. package/js/types/Interface/models/ITicketSupport.js.map +1 -1
  336. package/js/types/Interface/models/ITicketSupportFollow.js.map +1 -1
  337. package/js/types/Interface/models/ITimeTracking.js.map +1 -1
  338. package/js/types/Interface/models/ITimeTrackingSource.js.map +1 -1
  339. package/js/types/Interface/models/ITmpValidationToken.js.map +1 -1
  340. package/js/types/Interface/models/IUnit.js.map +1 -1
  341. package/js/types/Interface/models/IUser.js.map +1 -1
  342. package/js/types/Interface/models/IUserNotification.js.map +1 -1
  343. package/js/types/Interface/models/IUserSocietyPermission.js.map +1 -1
  344. package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -1
  345. package/js/types/Interface/models/IUserTeam.js.map +1 -1
  346. package/js/types/Interface/models/IUserTest.js.map +1 -1
  347. package/js/types/Interface/models/IVat.js.map +1 -1
  348. package/js/types/Interface/models/IVatDeclaration.js.map +1 -1
  349. package/js/types/Interface/models/IVatDeclarationCertificate.js.map +1 -1
  350. package/js/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
  351. package/js/types/Interface/models/IVatMargin.js.map +1 -1
  352. package/js/types/Interface/models/IVatRegime.js.map +1 -1
  353. package/js/types/Interface/models/IVehicleType.js.map +1 -1
  354. package/js/types/Interface/models/IWebMail.js.map +1 -1
  355. package/js/types/Interface/models/IWebMailAttachment.js.map +1 -1
  356. package/js/types/Interface/models/IWebMailSpam.js.map +1 -1
  357. package/js/types/Interface/models/IWebMailSpamType.js.map +1 -1
  358. package/js/types/Interface/models/IWebMailStat.js.map +1 -1
  359. package/js/types/Interface/models/IWebMailType.js.map +1 -1
  360. package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
  361. package/js/types/index.js +12 -0
  362. package/js/types/index.js.map +1 -1
  363. package/js/utils/index.js.map +1 -1
  364. package/js/utils/logger.js.map +1 -1
  365. package/js/utils/objectUtils/BaseEntity.js.map +1 -1
  366. package/js/utils/objectUtils/flattenObject.js.map +1 -1
  367. package/js/utils/objectUtils/fullFlattenObject.js.map +1 -1
  368. package/js/utils/objectUtils/index.js.map +1 -1
  369. package/js/utils/objectUtils/isValidObject.js.map +1 -1
  370. package/js/utils/objectUtils/overwrite.js.map +1 -1
  371. package/js/utils/objectUtils/unflattenObject.js.map +1 -1
  372. package/package.json +27 -25
  373. package/ts/api/resources/Country.ts +1 -1
  374. package/ts/api/resources/Simulation.ts +1 -1
  375. package/ts/types/Enum/AccountingJournal.ts +9 -0
  376. package/ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts +15 -2
  377. package/ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts +1 -0
  378. package/ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts +1 -0
  379. package/ts/types/Interface/models/IAccount.ts +11 -11
  380. package/ts/types/Interface/models/IAccountingEntry.ts +3 -0
  381. package/ts/types/Interface/models/IAccountingFile.ts +12 -10
  382. package/ts/types/Interface/models/IApiError.ts +18 -1
  383. package/ts/types/Interface/models/IBusinessPartner.ts +9 -9
  384. package/ts/types/Interface/models/IFile.ts +6 -6
  385. package/ts/types/Interface/models/IPaymentExpectationCustomer.ts +1 -0
  386. package/ts/types/Interface/models/ISociety.ts +1 -1
  387. package/ts/types/Interface/models/ISocietyConfig.ts +12 -8
  388. package/ts/types/Interface/models/IThirdParty.ts +23 -23
  389. package/ts/types/index.ts +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [0.1.4](https://gitlab.compta-clementine.fr///compare/v0.1.3...v0.1.4) (2020-12-11)
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <h1 align="center">Welcome to @silex/core 👋</h1>
1
+ <h1 align="center">Welcome to @silexpert/core 👋</h1>
2
2
  <p>
3
3
  <img alt="Version" src="https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000" />
4
4
  <img src="https://img.shields.io/badge/node-%3E%3D12.15.0-blue.svg" />
@@ -45,7 +45,7 @@ Une version du CORE local sera ainsi déployé, en simulant un déploiement npm.
45
45
  Pour pouvoir utiliser le core dans l'API/APP, il faut se rendre dans les dossiers des applications respectifs et saisir la commande:<br>
46
46
 
47
47
  ```sh
48
- yalc link @silex/core
48
+ yalc link @silexpert/core
49
49
  ```
50
50
 
51
51
  Un lien symbolique vers le repository local est créé.<br><br>
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  import { ICountry } from '../../types';
3
3
  export declare class Country extends Resource {
4
- getCountries(): Promise<ICountry[]>;
4
+ getAll(): Promise<ICountry[]>;
5
5
  }
6
6
  //# sourceMappingURL=Country.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Country.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAGpC"}
1
+ {"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Country.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,MAAM,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAG9B"}
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  export class Country extends Resource {
3
- getCountries() {
3
+ getAll() {
4
4
  return this.axios.$get('/countries');
5
5
  }
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../ts/api/resources/Country.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAGrC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvC,CAAC;CACF","sourcesContent":["import {Resource} from '../Resource';\nimport {ICountry} from '../../types';\n\nexport class Country extends Resource {\n getCountries(): Promise<ICountry[]> {\n return this.axios.$get('/countries');\n }\n}\n"]}
1
+ {"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../ts/api/resources/Country.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAGrC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvC,CAAC;CACF","sourcesContent":["import {Resource} from '../Resource';\nimport {ICountry} from '../../types';\n\nexport class Country extends Resource {\n getAll(): Promise<ICountry[]> {\n return this.axios.$get('/countries');\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { Resource } from '../Resource';
2
2
  export declare class Simulation extends Resource {
3
- getSimulation(test: string): string;
3
+ get(test: string): string;
4
4
  }
5
5
  //# sourceMappingURL=Simulation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Simulation.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,qBAAa,UAAW,SAAQ,QAAQ;IACtC,aAAa,CAAE,IAAI,EAAE,MAAM;CAI5B"}
1
+ {"version":3,"file":"Simulation.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,qBAAa,UAAW,SAAQ,QAAQ;IACtC,GAAG,CAAE,IAAI,EAAE,MAAM;CAIlB"}
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  export class Simulation extends Resource {
3
- getSimulation(test) {
3
+ get(test) {
4
4
  this.axios.get('https://lol');
5
5
  return 'coucou';
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Simulation.js","sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,aAAa,CAAE,IAAY;QACzB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAAA,CAAC","sourcesContent":["import {Resource} from '../Resource';\n\nexport class Simulation extends Resource {\n getSimulation (test: string) {\n this.axios.get('https://lol');\n return 'coucou';\n }\n};\n"]}
1
+ {"version":3,"file":"Simulation.js","sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAErC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,GAAG,CAAE,IAAY;QACf,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAAA,CAAC","sourcesContent":["import {Resource} from '../Resource';\n\nexport class Simulation extends Resource {\n get (test: string) {\n this.axios.get('https://lol');\n return 'coucou';\n }\n};\n"]}
@@ -0,0 +1,10 @@
1
+ export declare enum AccountingJournal {
2
+ BQ = 1,
3
+ AC = 2,
4
+ VE = 3,
5
+ CAI = 4,
6
+ PER = 5,
7
+ AN = 6,
8
+ OD = 7
9
+ }
10
+ //# sourceMappingURL=AccountingJournal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingJournal.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,IAAE;IACJ,EAAE,IAAE;IACJ,EAAE,IAAE;IACJ,GAAG,IAAE;IACL,GAAG,IAAE;IACL,EAAE,IAAE;IACJ,EAAE,IAAE;CACL"}
@@ -0,0 +1,11 @@
1
+ export var AccountingJournal;
2
+ (function (AccountingJournal) {
3
+ AccountingJournal[AccountingJournal["BQ"] = 1] = "BQ";
4
+ AccountingJournal[AccountingJournal["AC"] = 2] = "AC";
5
+ AccountingJournal[AccountingJournal["VE"] = 3] = "VE";
6
+ AccountingJournal[AccountingJournal["CAI"] = 4] = "CAI";
7
+ AccountingJournal[AccountingJournal["PER"] = 5] = "PER";
8
+ AccountingJournal[AccountingJournal["AN"] = 6] = "AN";
9
+ AccountingJournal[AccountingJournal["OD"] = 7] = "OD";
10
+ })(AccountingJournal || (AccountingJournal = {}));
11
+ //# sourceMappingURL=AccountingJournal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingJournal.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,qDAAI,CAAA;IACJ,qDAAI,CAAA;IACJ,qDAAI,CAAA;IACJ,uDAAK,CAAA;IACL,uDAAK,CAAA;IACL,qDAAI,CAAA;IACJ,qDAAI,CAAA;AACN,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B","sourcesContent":["export enum AccountingJournal {\n BQ=1,\n AC=2,\n VE=3,\n CAI=4,\n PER=5,\n AN=6,\n OD=7\n}"]}
@@ -1,8 +1,9 @@
1
+ import { IAccountingTransaction } from '../../..';
1
2
  export interface FormEntries {
2
3
  vat?: number | {
3
4
  idVat: number;
4
5
  amount: number;
5
- };
6
+ }[];
6
7
  idAccount?: number;
7
8
  idThirdParty?: number;
8
9
  amountAllTaxIncludedPurchase?: number;
@@ -10,4 +11,13 @@ export interface FormEntries {
10
11
  amountAllTaxIncluded?: number;
11
12
  }
12
13
  export declare type CreateAccountingEntry = FormEntries[];
14
+ export interface ReadFormatedAccountingTransaction extends IAccountingTransaction {
15
+ amount: number;
16
+ comment: string | null;
17
+ designation: string | null;
18
+ debit: number;
19
+ credit: number;
20
+ autoAnnotateWithML: boolean;
21
+ entries?: CreateAccountingEntry;
22
+ }
13
23
  //# sourceMappingURL=CreateAccountingEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAA;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAID,oBAAY,qBAAqB,GAAG,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"CreateAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAID,oBAAY,qBAAqB,GAAG,WAAW,EAAE,CAAC;AAGlD,MAAM,WAAW,iCAAkC,SAAQ,sBAAsB;IAC/E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAccountingEntry.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["export interface FormEntries {\n vat? : number | {\n idVat: number;\n amount: number;\n }\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number\n}\n\n\n\nexport type CreateAccountingEntry = FormEntries[];"]}
1
+ {"version":3,"file":"CreateAccountingEntry.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingTransaction } from '../../..';\n\nexport interface FormEntries {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number\n}\n\n\n\nexport type CreateAccountingEntry = FormEntries[];\n\n\nexport interface ReadFormatedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: CreateAccountingEntry;\n}"]}
@@ -2,6 +2,7 @@ export interface ReadPaymentIntent {
2
2
  requiresAction?: boolean;
3
3
  paymentIntentClientSecret?: string;
4
4
  success?: boolean;
5
+ id?: string;
5
6
  error?: string;
6
7
  }
7
8
  export interface ReadPaymentExpectationCustomerStat {
@@ -1 +1 @@
1
- {"version":3,"file":"ReadPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
1
+ {"version":3,"file":"ReadPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadPaymentIntent {\n requiresAction?: boolean;\n paymentIntentClientSecret?: string;\n success?: boolean;\n error?: string;\n}\n\nexport interface ReadPaymentExpectationCustomerStat {\n total: {\n sum: number;\n count: number;\n };\n paid: {\n sum: number;\n count: number;\n };\n waiting: {\n sum: number;\n count: number;\n };\n}"]}
1
+ {"version":3,"file":"ReadPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadPaymentIntent {\n requiresAction?: boolean;\n paymentIntentClientSecret?: string;\n success?: boolean;\n id?: string;\n error?: string;\n}\n\nexport interface ReadPaymentExpectationCustomerStat {\n total: {\n sum: number;\n count: number;\n };\n paid: {\n sum: number;\n count: number;\n };\n waiting: {\n sum: number;\n count: number;\n };\n}"]}
@@ -10,6 +10,7 @@ export declare class UpdateSocietyPaymentExpectationCustomer implements Omit<IPa
10
10
  refund: boolean | null;
11
11
  key: string | null;
12
12
  token: string | null;
13
+ idPaymentIntent: string | null;
13
14
  sendingDate: Date | null;
14
15
  idThirdParty?: number | null | undefined;
15
16
  idEstimateInvoice?: number | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdatePaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,qBAAa,uCAAwC,YAAW,IAAI,CAAC,2BAA2B,EAAE,mCAAmC,GAAG,YAAY,CAAC;IAEnJ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,iCAAiC,EAAE,gBAAgB,CAAC;IACpD,UAAU,EAAE,WAAW,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,EAAE,EAAE,MAAM,CAAC;CAEZ;AAED,qBAAa,6CAA6C;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
1
+ {"version":3,"file":"UpdatePaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,qBAAa,uCAAwC,YAAW,IAAI,CAAC,2BAA2B,EAAE,mCAAmC,GAAG,YAAY,CAAC;IAEnJ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,iCAAiC,EAAE,gBAAgB,CAAC;IACpD,UAAU,EAAE,WAAW,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,EAAE,EAAE,MAAM,CAAC;CAEZ;AAED,qBAAa,6CAA6C;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"UpdatePaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,uCAAuC;CAsBnD;AAED,MAAM,OAAO,6CAA6C;CAGzD","sourcesContent":["import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport class UpdateSocietyPaymentExpectationCustomer implements Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'>{\n \n email: string | null;\n emailBcc: string | null;\n amount: number | null;\n label: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key: string | null;\n token: string | null;\n sendingDate: Date | null;\n idThirdParty?: number | null | undefined;\n idEstimateInvoice?: number | null | undefined;\n createdAt?: Date | null | undefined;\n updatedAt?: Date | null | undefined;\n paymentExpectationEstimateInvoice: IEstimateInvoice;\n thirdParty: IThirdParty;\n\n idSociety: number;\n\n id: number;\n\n}\n\nexport class UpdateRefundSocietyPaymentExpectationCustomer {\n idSociety: number;\n id: number;\n}"]}
1
+ {"version":3,"file":"UpdatePaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,uCAAuC;CAuBnD;AAED,MAAM,OAAO,6CAA6C;CAGzD","sourcesContent":["import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport class UpdateSocietyPaymentExpectationCustomer implements Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'>{\n \n email: string | null;\n emailBcc: string | null;\n amount: number | null;\n label: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key: string | null;\n token: string | null;\n idPaymentIntent: string | null;\n sendingDate: Date | null;\n idThirdParty?: number | null | undefined;\n idEstimateInvoice?: number | null | undefined;\n createdAt?: Date | null | undefined;\n updatedAt?: Date | null | undefined;\n paymentExpectationEstimateInvoice: IEstimateInvoice;\n thirdParty: IThirdParty;\n\n idSociety: number;\n\n id: number;\n\n}\n\nexport class UpdateRefundSocietyPaymentExpectationCustomer {\n idSociety: number;\n id: number;\n}"]}
@@ -11,8 +11,8 @@ export interface IAccount {
11
11
  number: number;
12
12
  name: string;
13
13
  originalName: string | null;
14
- forceTva: boolean;
15
- blockTva: boolean;
14
+ forceVat: boolean;
15
+ blockVat: boolean;
16
16
  forceFile: boolean;
17
17
  isHidden: boolean;
18
18
  isImmo: boolean;
@@ -28,20 +28,20 @@ export interface IAccount {
28
28
  juridicalSociety: number | null;
29
29
  idNature: number;
30
30
  idTypeAccount: number;
31
- idTva: number | null;
31
+ idVat: number | null;
32
32
  idRegisterCategorie: number | null;
33
33
  idSector: number | null;
34
34
  idParentAccount: number | null;
35
35
  createdAt?: Date | null;
36
36
  updatedAt?: Date | null;
37
37
  deletedAt?: Date | null;
38
- nature: INature;
39
- typeAccount: IAccountType;
40
- tva: IVat;
41
- registerCategorie: IRegisterCategory;
42
- sector: ISector;
43
- accountHelp: IAccountHelp;
44
- accountDetails: IAccountDetail[];
45
- societies: ISociety[];
38
+ nature?: INature;
39
+ typeAccount?: IAccountType;
40
+ tva?: IVat;
41
+ registerCategorie?: IRegisterCategory;
42
+ sector?: ISector;
43
+ accountHelp?: IAccountHelp;
44
+ accountDetails?: IAccountDetail[];
45
+ societies?: ISociety[];
46
46
  }
47
47
  //# sourceMappingURL=IAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OA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,CAAC;IACX,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName: string | null;\n forceTva: boolean;\n blockTva: boolean;\n forceFile: boolean;\n isHidden: boolean;\n isImmo: boolean;\n isCorporal: boolean;\n icone: string | null;\n iconePNG: string | null;\n color: string | null;\n isOnlyTreso: boolean;\n isOnlyEnga: boolean;\n isGeneric: boolean;\n forClient: boolean;\n forFournisseur: boolean;\n juridicalSociety: number | null;\n idNature: number;\n idTypeAccount: number;\n idTva: number | null;\n idRegisterCategorie: number | null;\n idSector: number | null;\n idParentAccount: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature: INature;\n typeAccount: IAccountType;\n tva: IVat;\n registerCategorie: IRegisterCategory;\n sector: ISector;\n accountHelp: IAccountHelp;\n accountDetails: IAccountDetail[];\n societies: ISociety[];\n}\n"]}
1
+ {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName: string | null;\n forceVat: boolean;\n blockVat: boolean;\n forceFile: boolean;\n isHidden: boolean;\n isImmo: boolean;\n isCorporal: boolean;\n icone: string | null;\n iconePNG: string | null;\n color: string | null;\n isOnlyTreso: boolean;\n isOnlyEnga: boolean;\n isGeneric: boolean;\n forClient: boolean;\n forFournisseur: boolean;\n juridicalSociety: number | null;\n idNature: number;\n idTypeAccount: number;\n idVat: number | null;\n idRegisterCategorie: number | null;\n idSector: number | null;\n idParentAccount: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n typeAccount?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import { IAccount } from './IAccount';
2
2
  import { IThirdParty } from './IThirdParty';
3
3
  import { IAccountingTransaction } from './IAccountingTransaction';
4
+ import { IVat } from './IVat';
4
5
  export interface IAccountingEntry {
5
6
  id?: number;
6
7
  master: boolean;
@@ -15,6 +16,7 @@ export interface IAccountingEntry {
15
16
  idAccount: number | null;
16
17
  idThirdParty: number | null;
17
18
  idAccountingTransaction: number;
19
+ idVat?: number;
18
20
  createdAt?: Date | null;
19
21
  updatedAt?: Date | null;
20
22
  account?: IAccount;
@@ -22,5 +24,6 @@ export interface IAccountingEntry {
22
24
  accountingEntry?: IAccountingEntry;
23
25
  childTva?: IAccountingEntry;
24
26
  accountingTransaction?: IAccountingTransaction;
27
+ vat?: IVat;
25
28
  }
26
29
  //# sourceMappingURL=IAccountingEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;CAChD"}
1
+ {"version":3,"file":"IAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n autoAnnotate: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idAccountingTransaction: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account?: IAccount;\n thirdParty?: IThirdParty;\n accountingEntry?: IAccountingEntry;\n childTva?: IAccountingEntry;\n accountingTransaction?: IAccountingTransaction;\n}\n"]}
1
+ {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport {IVat} from './IVat';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n autoAnnotate: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idAccountingTransaction: number;\n idVat?: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account?: IAccount;\n thirdParty?: IThirdParty;\n accountingEntry?: IAccountingEntry;\n childTva?: IAccountingEntry;\n accountingTransaction?: IAccountingTransaction;\n vat?: IVat;\n}\n"]}
@@ -3,28 +3,30 @@ import { IEstimateInvoice } from './IEstimateInvoice';
3
3
  import { IFileType } from './IFileType';
4
4
  import { IFile } from './IFile';
5
5
  import { ISociety } from './ISociety';
6
+ import { IAccountingFileType } from './IAccountingFileType';
6
7
  export interface IAccountingFile {
7
8
  id?: number;
8
- idUser: number | null;
9
+ idUser?: number | null;
9
10
  isMerged: boolean;
10
11
  budgeaDocumentid?: number | null;
11
12
  bankFileid?: string | null;
12
- emissionDate: Date | null;
13
+ emissionDate?: Date | null;
13
14
  isMobile: boolean;
14
15
  isDownload: boolean;
15
- idAccountingTransaction: number | null;
16
- idEstimateInvoice: number | null;
16
+ idAccountingTransaction?: number | null;
17
+ idEstimateInvoice?: number | null;
17
18
  idTypeAccountingFile: number;
18
19
  idSociety: number;
19
20
  idFile: number;
20
21
  createdAt?: Date | null;
21
22
  updatedAt?: Date | null;
22
23
  deletedAt?: Date | null;
23
- idFileType: number | null;
24
- accountingTransaction: IAccountingTransaction;
25
- estimatesInvoice: IEstimateInvoice;
26
- fileType: IFileType;
27
- file: IFile;
28
- society: ISociety;
24
+ idFileType?: number | null;
25
+ accountingTransaction?: IAccountingTransaction;
26
+ estimatesInvoice?: IEstimateInvoice;
27
+ accountingFileType?: IAccountingFileType;
28
+ fileType?: IFileType;
29
+ file?: IFile;
30
+ society?: ISociety;
29
31
  }
30
32
  //# sourceMappingURL=IAccountingFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;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,CAAC;IAClC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFileType } from './IFileType';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\n\n// accountingFile\nexport interface IAccountingFile {\n id?: number;\n idUser: number | null;\n isMerged: boolean;\n budgeaDocumentid?: number | null;\n bankFileid?: string | null;\n emissionDate: Date | null;\n isMobile: boolean;\n isDownload: boolean;\n idAccountingTransaction: number | null;\n idEstimateInvoice: number | null;\n idTypeAccountingFile: number;\n idSociety: number;\n idFile: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n idFileType: number | null;\n\n // Associations\n accountingTransaction: IAccountingTransaction;\n estimatesInvoice: IEstimateInvoice;\n fileType: IFileType;\n file: IFile;\n society: ISociety;\n}\n"]}
1
+ {"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFileType } from './IFileType';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IAccountingFileType } from './IAccountingFileType';\n\n// accountingFile\nexport interface IAccountingFile {\n id?: number;\n idUser?: number | null;\n isMerged: boolean;\n budgeaDocumentid?: number | null;\n bankFileid?: string | null;\n emissionDate?: Date | null;\n isMobile: boolean;\n isDownload: boolean;\n idAccountingTransaction?: number | null;\n idEstimateInvoice?: number | null;\n idTypeAccountingFile: number;\n idSociety: number;\n idFile: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n idFileType?: number | null;\n\n // Associations\n accountingTransaction?: IAccountingTransaction;\n estimatesInvoice?: IEstimateInvoice;\n accountingFileType?: IAccountingFileType;\n fileType?: IFileType;\n file?: IFile;\n society?: ISociety;\n}\n"]}
@@ -11,7 +11,20 @@ export declare enum Code {
11
11
  constraintError = "resource_constraint_error",
12
12
  outOfRange = "resource_ofr",
13
13
  internalServerError = "internal_server_error",
14
- constraintKeyError = "resource_fk_error"
14
+ constraintKeyError = "resource_fk_error",
15
+ failedCheckBalance = "failed_check_balance",
16
+ vatIntracomCanOnlyBeSetForDebit = "vat_intracom_can_only_be_set_for_debit",
17
+ vatMargeCanOnlyBeSetForCredit = "vat_marge_can_only_be_set_for_credit",
18
+ vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = "vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set",
19
+ missingParamSplit = "missing_param_split",
20
+ totalAmountSplitNotEqualTransaction = "total_amount_split_not_equal_transaction",
21
+ vatManuelIsSetWithNegativeValue = "vat_manuel_is_set_with_negative_value",
22
+ vatManuelIsNotSetWithSpecialVat = "vat_manuel_is_not_set_with_special_vat",
23
+ vatManuelCannotBeSetWithSplit = "vat_manuel_cannot_be_set_with_split",
24
+ vatNotAuthorizeWithThisAccount = "vat_not_authorize_with_this_account",
25
+ transactionIsAlreadyExported = "transaction_is_already_exported",
26
+ thirdPartyIsNotFound = "third_party_is_not_found",
27
+ accountIsNotFound = "account_is_not_found"
15
28
  }
16
29
  export interface IApiError {
17
30
  type: Type;
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IACd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;CACzC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IAGxC,kBAAkB,yBAAyB;IAC3C,+BAA+B,2CAA2C;IAC1E,6BAA6B,yCAAyC;IACtE,uDAAuD,yEAAyE;IAChI,iBAAiB,wBAAwB;IACzC,mCAAmC,6CAA6C;IAChF,+BAA+B,0CAA0C;IACzE,+BAA+B,2CAA2C;IAC1E,6BAA6B,wCAAwC;IACrE,8BAA8B,wCAAwC;IACtE,4BAA4B,oCAAoC;IAChE,oBAAoB,6BAA6B;IACjD,iBAAiB,yBAAyB;CAE3C;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -6,6 +6,7 @@ export var Type;
6
6
  })(Type || (Type = {}));
7
7
  export var Code;
8
8
  (function (Code) {
9
+ // HTTP Error
9
10
  Code["tokenFailure"] = "token_authentication_failure";
10
11
  Code["authenticationFailure"] = "authentication_credentials_failure";
11
12
  Code["notFound"] = "resource_not_found";
@@ -14,5 +15,19 @@ export var Code;
14
15
  Code["outOfRange"] = "resource_ofr";
15
16
  Code["internalServerError"] = "internal_server_error";
16
17
  Code["constraintKeyError"] = "resource_fk_error";
18
+ // Custom Service Error
19
+ Code["failedCheckBalance"] = "failed_check_balance";
20
+ Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
21
+ Code["vatMargeCanOnlyBeSetForCredit"] = "vat_marge_can_only_be_set_for_credit";
22
+ Code["vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet"] = "vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set";
23
+ Code["missingParamSplit"] = "missing_param_split";
24
+ Code["totalAmountSplitNotEqualTransaction"] = "total_amount_split_not_equal_transaction";
25
+ Code["vatManuelIsSetWithNegativeValue"] = "vat_manuel_is_set_with_negative_value";
26
+ Code["vatManuelIsNotSetWithSpecialVat"] = "vat_manuel_is_not_set_with_special_vat";
27
+ Code["vatManuelCannotBeSetWithSplit"] = "vat_manuel_cannot_be_set_with_split";
28
+ Code["vatNotAuthorizeWithThisAccount"] = "vat_not_authorize_with_this_account";
29
+ Code["transactionIsAlreadyExported"] = "transaction_is_already_exported";
30
+ Code["thirdPartyIsNotFound"] = "third_party_is_not_found";
31
+ Code["accountIsNotFound"] = "account_is_not_found";
17
32
  })(Code || (Code = {}));
18
33
  //# sourceMappingURL=IApiError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,8BAAsB,CAAA;IACtB,0CAAkC,CAAA;IAClC,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAED,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;AAC1C,CAAC,EATW,IAAI,KAAJ,IAAI,QASf","sourcesContent":["export enum Type {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error'\n}\n\nexport enum Code {\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error'\n}\n\nexport interface IApiError {\n type: Type;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,8BAAsB,CAAA;IACtB,0CAAkC,CAAA;IAClC,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAED,MAAM,CAAN,IAAY,IA0BX;AA1BD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IAExC,uBAAuB;IACvB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;AAE5C,CAAC,EA1BW,IAAI,KAAJ,IAAI,QA0Bf","sourcesContent":["export enum Type {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error'\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Custom Service Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n\n}\n\nexport interface IApiError {\n type: Type;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -29,14 +29,14 @@ export interface IBusinessPartner {
29
29
  idSocietyParent: number;
30
30
  createdAt?: Date | null;
31
31
  updatedAt?: Date | null;
32
- country: ICountry;
33
- countryLiving: ICountry;
34
- fileKbis: IGedFile;
35
- fileIC: IGedFile;
36
- fileStatus: IGedFile;
37
- nationality: INationality;
38
- society: ISociety;
39
- user: IUser;
40
- societyParent: ISociety;
32
+ country?: ICountry;
33
+ countryLiving?: ICountry;
34
+ fileKbis?: IGedFile;
35
+ fileIC?: IGedFile;
36
+ fileStatus?: IGedFile;
37
+ nationality?: INationality;
38
+ society?: ISociety;
39
+ user?: IUser;
40
+ societyParent?: ISociety;
41
41
  }
42
42
  //# sourceMappingURL=IBusinessPartner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IBusinessPartner.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;IACpB,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M,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,aAAa,CAAC,EAAE,QAAQ,CAAC;CAC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"IBusinessPartner.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { ICountry } from './ICountry';\nimport { IGedFile } from './IGedFile';\nimport { INationality } from './INationality';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// businessPartners\nexport interface IBusinessPartner {\n id?: number;\n isPhysical: boolean;\n address: string | null;\n zipCodeBirth: string | null;\n birthPlace: string | null;\n departmentBirth: string | null;\n idCountryBirth: number | null;\n birthname: string | null;\n cityOfBirth: string | null;\n sharesHeld: number | null;\n idCountry: number | null;\n idNationality: number | null;\n reason: string | null;\n reasonQuality: string | null;\n identityDocument: string | null;\n otherActivities: string | null;\n activityBefore: string | null;\n idGedFileKbis: number | null;\n idGedFileIC: number | null;\n idGedFileStatus: number | null;\n idSociety: number | null;\n idUser: number | null;\n idSocietyParent: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n country: ICountry;\n countryLiving: ICountry;\n fileKbis: IGedFile;\n fileIC: IGedFile;\n fileStatus: IGedFile;\n nationality: INationality;\n society: ISociety;\n user: IUser;\n societyParent: ISociety;\n}\n"]}
1
+ {"version":3,"file":"IBusinessPartner.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { ICountry } from './ICountry';\nimport { IGedFile } from './IGedFile';\nimport { INationality } from './INationality';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// businessPartners\nexport interface IBusinessPartner {\n id?: number;\n isPhysical: boolean;\n address: string | null;\n zipCodeBirth: string | null;\n birthPlace: string | null;\n departmentBirth: string | null;\n idCountryBirth: number | null;\n birthname: string | null;\n cityOfBirth: string | null;\n sharesHeld: number | null;\n idCountry: number | null;\n idNationality: number | null;\n reason: string | null;\n reasonQuality: string | null;\n identityDocument: string | null;\n otherActivities: string | null;\n activityBefore: string | null;\n idGedFileKbis: number | null;\n idGedFileIC: number | null;\n idGedFileStatus: number | null;\n idSociety: number | null;\n idUser: number | null;\n idSocietyParent: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n country?: ICountry;\n countryLiving?: ICountry;\n fileKbis?: IGedFile;\n fileIC?: IGedFile;\n fileStatus?: IGedFile;\n nationality?: INationality;\n society?: ISociety;\n user?: IUser;\n societyParent?: ISociety;\n}\n"]}
@@ -3,15 +3,15 @@ import { IFolderFile } from './IFolderFile';
3
3
  import { IFileType } from './IFileType';
4
4
  export interface IFile {
5
5
  id?: number;
6
- name: string;
7
- token: string;
6
+ name?: string;
7
+ token?: string;
8
8
  idFolderFile: number;
9
- idSociety: number | null;
9
+ idSociety?: number | null;
10
10
  idFileType: number | null;
11
11
  createdAt?: Date | null;
12
12
  updatedAt?: Date | null;
13
- attachmentFile: IAttachmentFile;
14
- folderFile: IFolderFile;
15
- fileType: IFileType;
13
+ attachmentFile?: IAttachmentFile;
14
+ folderFile?: IFolderFile;
15
+ fileType?: IFileType;
16
16
  }
17
17
  //# sourceMappingURL=IFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,EAAE,eAAe,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"IFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\n\n// files\nexport interface IFile {\n id?: number;\n name: string;\n token: string;\n idFolderFile: number;\n idSociety: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile: IAttachmentFile;\n folderFile: IFolderFile;\n fileType: IFileType;\n}\n"]}
1
+ {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\n\n// files\nexport interface IFile {\n id?: number;\n name?: string;\n token?: string;\n idFolderFile: number;\n idSociety?: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile?: IAttachmentFile;\n folderFile?: IFolderFile;\n fileType?: IFileType;\n}\n"]}
@@ -9,6 +9,7 @@ export interface IPaymentExpectationCustomer {
9
9
  paid: boolean | null;
10
10
  refund: boolean | null;
11
11
  key: string | null;
12
+ idPaymentIntent: string | null;
12
13
  token: string | null;
13
14
  sendingDate: Date | null;
14
15
  idSociety: number;
@@ -1 +1 @@
1
- {"version":3,"file":"IPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPaymentExpectationCustomer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,2BAA2B;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,iCAAiC,EAAE,gBAAgB,CAAC;IACpD,UAAU,EAAE,WAAW,CAAC;CACzB"}
1
+ {"version":3,"file":"IPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPaymentExpectationCustomer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,2BAA2B;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,iCAAiC,EAAE,gBAAgB,CAAC;IACpD,UAAU,EAAE,WAAW,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IThirdParty } from './IThirdParty';\n\n// paymentsExpectationsCustomers\nexport interface IPaymentExpectationCustomer {\n id?: number;\n email: string | null;\n emailBcc: string | null;\n amount: number | null;\n label: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key: string | null;\n token: string | null;\n sendingDate: Date | null;\n idSociety: number;\n idThirdParty?: number | null;\n idEstimateInvoice?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n paymentExpectationEstimateInvoice: IEstimateInvoice;\n thirdParty: IThirdParty;\n}\n"]}
1
+ {"version":3,"file":"IPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IThirdParty } from './IThirdParty';\n\n// paymentsExpectationsCustomers\nexport interface IPaymentExpectationCustomer {\n id?: number;\n email: string | null;\n emailBcc: string | null;\n amount: number | null;\n label: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key: string | null;\n idPaymentIntent: string | null;\n token: string | null;\n sendingDate: Date | null;\n idSociety: number;\n idThirdParty?: number | null;\n idEstimateInvoice?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n paymentExpectationEstimateInvoice: IEstimateInvoice;\n thirdParty: IThirdParty;\n}\n"]}
@@ -97,7 +97,7 @@ export interface ISociety {
97
97
  dateRelanceCommercial: Date | null;
98
98
  firstPayslipDate: Date | null;
99
99
  totalSharesHeld: number | null;
100
- idTvaRegime: number | null;
100
+ idVatRegime: number | null;
101
101
  idTaxSystem: number | null;
102
102
  idActivity: number | null;
103
103
  idSource: number | null;