@silexpert/core 1.1.2 → 1.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 (344) hide show
  1. package/es/api/resources/CommercialImport.d.ts +9 -0
  2. package/es/api/resources/CommercialImport.d.ts.map +1 -0
  3. package/es/api/resources/CommercialImport.js +24 -0
  4. package/es/api/resources/CommercialImport.js.map +1 -0
  5. package/es/api/resources/Exercice.d.ts +3 -1
  6. package/es/api/resources/Exercice.d.ts.map +1 -1
  7. package/es/api/resources/Exercice.js +6 -0
  8. package/es/api/resources/Exercice.js.map +1 -1
  9. package/es/api/resources/FIle.d.ts +1 -1
  10. package/es/api/resources/FIle.d.ts.map +1 -1
  11. package/es/api/resources/FIle.js +2 -2
  12. package/es/api/resources/FIle.js.map +1 -1
  13. package/es/api/resources/Registration.d.ts +2 -1
  14. package/es/api/resources/Registration.d.ts.map +1 -1
  15. package/es/api/resources/Registration.js +3 -0
  16. package/es/api/resources/Registration.js.map +1 -1
  17. package/es/api/resources/TimeRecorder.d.ts +2 -1
  18. package/es/api/resources/TimeRecorder.d.ts.map +1 -1
  19. package/es/api/resources/TimeRecorder.js +3 -0
  20. package/es/api/resources/TimeRecorder.js.map +1 -1
  21. package/es/api/resources/Vat.d.ts +2 -1
  22. package/es/api/resources/Vat.d.ts.map +1 -1
  23. package/es/api/resources/Vat.js +2 -1
  24. package/es/api/resources/Vat.js.map +1 -1
  25. package/es/api/resources/statistic/CustomerSuccess.js +1 -1
  26. package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
  27. package/es/api/resources.d.ts +2 -0
  28. package/es/api/resources.d.ts.map +1 -1
  29. package/es/api/resources.js +2 -0
  30. package/es/api/resources.js.map +1 -1
  31. package/es/types/Enum/AdjustmentType.d.ts +14 -0
  32. package/es/types/Enum/AdjustmentType.d.ts.map +1 -0
  33. package/es/types/Enum/AdjustmentType.js +38 -0
  34. package/es/types/Enum/AdjustmentType.js.map +1 -0
  35. package/es/types/Enum/CommercialImportHeader.d.ts +12 -0
  36. package/es/types/Enum/CommercialImportHeader.d.ts.map +1 -0
  37. package/es/types/Enum/CommercialImportHeader.js +102 -0
  38. package/es/types/Enum/CommercialImportHeader.js.map +1 -0
  39. package/es/types/Enum/Ged.d.ts +1 -0
  40. package/es/types/Enum/Ged.d.ts.map +1 -1
  41. package/es/types/Enum/Ged.js +1 -1
  42. package/es/types/Enum/Ged.js.map +1 -1
  43. package/es/types/Enum/JobTitle.d.ts +2 -1
  44. package/es/types/Enum/JobTitle.d.ts.map +1 -1
  45. package/es/types/Enum/JobTitle.js +6 -0
  46. package/es/types/Enum/JobTitle.js.map +1 -1
  47. package/es/types/Enum/MimeType.d.ts +1 -0
  48. package/es/types/Enum/MimeType.d.ts.map +1 -1
  49. package/es/types/Enum/MimeType.js +1 -0
  50. package/es/types/Enum/MimeType.js.map +1 -1
  51. package/es/types/Enum/RoleDetail.d.ts +8 -0
  52. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  53. package/es/types/Enum/RoleDetail.js +8 -0
  54. package/es/types/Enum/RoleDetail.js.map +1 -1
  55. package/es/types/Enum/TimeRecorderLocation.d.ts +4 -0
  56. package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -1
  57. package/es/types/Enum/TimeRecorderLocation.js +3 -0
  58. package/es/types/Enum/TimeRecorderLocation.js.map +1 -1
  59. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +0 -1
  60. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -1
  61. package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  62. package/es/types/Interface/api/adjustment/Create.d.ts +7 -0
  63. package/es/types/Interface/api/adjustment/Create.d.ts.map +1 -0
  64. package/es/types/Interface/api/adjustment/Create.js +32 -0
  65. package/es/types/Interface/api/adjustment/Create.js.map +1 -0
  66. package/es/types/Interface/api/adjustment/Query.d.ts +4 -0
  67. package/es/types/Interface/api/adjustment/Query.d.ts.map +1 -0
  68. package/es/types/Interface/api/adjustment/Query.js +19 -0
  69. package/es/types/Interface/api/adjustment/Query.js.map +1 -0
  70. package/es/types/Interface/api/adjustment/Read.d.ts +10 -0
  71. package/es/types/Interface/api/adjustment/Read.d.ts.map +1 -0
  72. package/es/types/Interface/api/adjustment/Read.js +3 -0
  73. package/es/types/Interface/api/adjustment/Read.js.map +1 -0
  74. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +4 -0
  75. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -0
  76. package/es/types/Interface/api/archive/ImportSocietyArchive.js +19 -0
  77. package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -0
  78. package/es/types/Interface/api/commercialImport/Create.d.ts +11 -0
  79. package/es/types/Interface/api/commercialImport/Create.d.ts.map +1 -0
  80. package/es/types/Interface/api/commercialImport/Create.js +34 -0
  81. package/es/types/Interface/api/commercialImport/Create.js.map +1 -0
  82. package/es/types/Interface/api/commercialImport/Query.d.ts +12 -0
  83. package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -0
  84. package/es/types/Interface/api/commercialImport/Query.js +23 -0
  85. package/es/types/Interface/api/commercialImport/Query.js.map +1 -0
  86. package/es/types/Interface/api/commercialImport/Read.d.ts +40 -0
  87. package/es/types/Interface/api/commercialImport/Read.d.ts.map +1 -0
  88. package/es/types/Interface/api/commercialImport/Read.js +2 -0
  89. package/es/types/Interface/api/commercialImport/Read.js.map +1 -0
  90. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +28 -0
  91. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
  92. package/es/types/Interface/api/companeo/CompaneoReturn.js +2 -0
  93. package/es/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  94. package/es/types/Interface/api/companeo/Query.d.ts +5 -0
  95. package/es/types/Interface/api/companeo/Query.d.ts.map +1 -0
  96. package/es/types/Interface/api/companeo/Query.js +26 -0
  97. package/es/types/Interface/api/companeo/Query.js.map +1 -0
  98. package/es/types/Interface/api/registration/CreateRegistration.d.ts +1 -1
  99. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  100. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  101. package/es/types/Interface/api/registration/ReadRegistration.d.ts +3 -3
  102. package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  103. package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  104. package/es/types/Interface/api/society/CreateSociety.d.ts +1 -0
  105. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  106. package/es/types/Interface/api/society/CreateSociety.js +4 -0
  107. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  108. package/es/types/Interface/api/statistic/QueryInternal.d.ts +2 -0
  109. package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
  110. package/es/types/Interface/api/statistic/QueryInternal.js +3 -1
  111. package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  112. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
  113. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  114. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  115. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +1 -0
  116. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
  117. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +6 -0
  118. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  119. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts +5 -0
  120. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +1 -0
  121. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +25 -0
  122. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
  123. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +5 -0
  124. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
  125. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  126. package/es/types/Interface/models/IAccountsSocieties.d.ts +2 -0
  127. package/es/types/Interface/models/IAccountsSocieties.d.ts.map +1 -1
  128. package/es/types/Interface/models/IAccountsSocieties.js.map +1 -1
  129. package/es/types/Interface/models/IAdjustment.d.ts +13 -0
  130. package/es/types/Interface/models/IAdjustment.d.ts.map +1 -0
  131. package/es/types/Interface/models/IAdjustment.js +2 -0
  132. package/es/types/Interface/models/IAdjustment.js.map +1 -0
  133. package/es/types/Interface/models/IApiError.d.ts +4 -0
  134. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  135. package/es/types/Interface/models/IApiError.js +5 -0
  136. package/es/types/Interface/models/IApiError.js.map +1 -1
  137. package/es/types/Interface/models/IAreasInvoice.d.ts +0 -1
  138. package/es/types/Interface/models/IAreasInvoice.d.ts.map +1 -1
  139. package/es/types/Interface/models/IAreasInvoice.js.map +1 -1
  140. package/es/types/Interface/models/IBalanceSheet.d.ts +2 -0
  141. package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  142. package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
  143. package/es/types/Interface/models/IExercice.d.ts +3 -0
  144. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  145. package/es/types/Interface/models/IExercice.js.map +1 -1
  146. package/es/types/Interface/models/IGedFile.d.ts +3 -0
  147. package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
  148. package/es/types/Interface/models/IGedFile.js.map +1 -1
  149. package/es/types/Interface/models/ILettering.d.ts +0 -4
  150. package/es/types/Interface/models/ILettering.d.ts.map +1 -1
  151. package/es/types/Interface/models/ILettering.js.map +1 -1
  152. package/es/types/Interface/models/ISociety.d.ts +4 -1
  153. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  154. package/es/types/Interface/models/ISociety.js.map +1 -1
  155. package/es/types/Interface/models/ISocietyApproval.d.ts +4 -2
  156. package/es/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  157. package/es/types/Interface/models/ISocietyApproval.js.map +1 -1
  158. package/es/types/Interface/models/IUser.d.ts +2 -0
  159. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  160. package/es/types/Interface/models/IUser.js.map +1 -1
  161. package/es/types/Interface/schemas/IRegistrationDetail.d.ts +1 -1
  162. package/es/types/Interface/schemas/IRegistrationDetail.d.ts.map +1 -1
  163. package/es/types/Interface/schemas/IRegistrationDetail.js.map +1 -1
  164. package/es/types/index.d.ts +13 -5
  165. package/es/types/index.d.ts.map +1 -1
  166. package/es/types/index.js +13 -5
  167. package/es/types/index.js.map +1 -1
  168. package/es/utils/email.js +2 -2
  169. package/es/utils/email.js.map +1 -1
  170. package/es/utils/phone.d.ts +1 -1
  171. package/es/utils/phone.d.ts.map +1 -1
  172. package/es/utils/phone.js +8 -8
  173. package/es/utils/phone.js.map +1 -1
  174. package/es/utils/vat/3310/century23.d.ts.map +1 -1
  175. package/es/utils/vat/3310/century23.js +1 -6
  176. package/es/utils/vat/3310/century23.js.map +1 -1
  177. package/js/api/resources/CommercialImport.js +38 -0
  178. package/js/api/resources/CommercialImport.js.map +1 -0
  179. package/js/api/resources/Exercice.js +6 -0
  180. package/js/api/resources/Exercice.js.map +1 -1
  181. package/js/api/resources/FIle.js +2 -2
  182. package/js/api/resources/FIle.js.map +1 -1
  183. package/js/api/resources/Registration.js +5 -0
  184. package/js/api/resources/Registration.js.map +1 -1
  185. package/js/api/resources/TimeRecorder.js +5 -0
  186. package/js/api/resources/TimeRecorder.js.map +1 -1
  187. package/js/api/resources/Vat.js +2 -1
  188. package/js/api/resources/Vat.js.map +1 -1
  189. package/js/api/resources/statistic/CustomerSuccess.js +1 -1
  190. package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
  191. package/js/api/resources.js +3 -1
  192. package/js/api/resources.js.map +1 -1
  193. package/js/types/Enum/AdjustmentType.js +38 -0
  194. package/js/types/Enum/AdjustmentType.js.map +1 -0
  195. package/js/types/Enum/CommercialImportHeader.js +107 -0
  196. package/js/types/Enum/CommercialImportHeader.js.map +1 -0
  197. package/js/types/Enum/Ged.js +1 -1
  198. package/js/types/Enum/Ged.js.map +1 -1
  199. package/js/types/Enum/JobTitle.js +5 -0
  200. package/js/types/Enum/JobTitle.js.map +1 -1
  201. package/js/types/Enum/MimeType.js +1 -0
  202. package/js/types/Enum/MimeType.js.map +1 -1
  203. package/js/types/Enum/RoleDetail.js +16 -8
  204. package/js/types/Enum/RoleDetail.js.map +1 -1
  205. package/js/types/Enum/TimeRecorderLocation.js +4 -0
  206. package/js/types/Enum/TimeRecorderLocation.js.map +1 -1
  207. package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  208. package/js/types/Interface/api/adjustment/Create.js +25 -0
  209. package/js/types/Interface/api/adjustment/Create.js.map +1 -0
  210. package/js/types/Interface/api/adjustment/Query.js +22 -0
  211. package/js/types/Interface/api/adjustment/Query.js.map +1 -0
  212. package/js/types/Interface/api/adjustment/Read.js +8 -0
  213. package/js/types/Interface/api/adjustment/Read.js.map +1 -0
  214. package/js/types/Interface/api/archive/ImportSocietyArchive.js +22 -0
  215. package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -0
  216. package/js/types/Interface/api/commercialImport/Create.js +27 -0
  217. package/js/types/Interface/api/commercialImport/Create.js.map +1 -0
  218. package/js/types/Interface/api/commercialImport/Query.js +24 -0
  219. package/js/types/Interface/api/commercialImport/Query.js.map +1 -0
  220. package/js/types/Interface/{models/IPageView.js → api/commercialImport/Read.js} +1 -1
  221. package/js/types/Interface/api/commercialImport/Read.js.map +1 -0
  222. package/js/types/Interface/{models/IInterestedByFeature.js → api/companeo/CompaneoReturn.js} +1 -1
  223. package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  224. package/js/types/Interface/api/companeo/Query.js +23 -0
  225. package/js/types/Interface/api/companeo/Query.js.map +1 -0
  226. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  227. package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  228. package/js/types/Interface/api/society/CreateSociety.js +1 -0
  229. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  230. package/js/types/Interface/api/statistic/QueryInternal.js +4 -2
  231. package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  232. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  233. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +1 -0
  234. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  235. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +23 -0
  236. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
  237. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  238. package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
  239. package/js/types/Interface/models/{IEngagementAccountingFile.js → IAdjustment.js} +1 -1
  240. package/js/types/Interface/models/IAdjustment.js.map +1 -0
  241. package/js/types/Interface/models/IApiError.js +5 -0
  242. package/js/types/Interface/models/IApiError.js.map +1 -1
  243. package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
  244. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  245. package/js/types/Interface/models/IExercice.js.map +1 -1
  246. package/js/types/Interface/models/IGedFile.js.map +1 -1
  247. package/js/types/Interface/models/ILettering.js.map +1 -1
  248. package/js/types/Interface/models/ISociety.js.map +1 -1
  249. package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
  250. package/js/types/Interface/models/IUser.js.map +1 -1
  251. package/js/types/Interface/schemas/IRegistrationDetail.js.map +1 -1
  252. package/js/types/index.js +196 -116
  253. package/js/types/index.js.map +1 -1
  254. package/js/utils/email.js +2 -2
  255. package/js/utils/email.js.map +1 -1
  256. package/js/utils/phone.js +8 -8
  257. package/js/utils/phone.js.map +1 -1
  258. package/js/utils/vat/3310/century23.js +1 -5
  259. package/js/utils/vat/3310/century23.js.map +1 -1
  260. package/package.json +1 -1
  261. package/ts/api/resources/CommercialImport.ts +32 -0
  262. package/ts/api/resources/Exercice.ts +9 -1
  263. package/ts/api/resources/FIle.ts +2 -2
  264. package/ts/api/resources/Registration.ts +6 -0
  265. package/ts/api/resources/TimeRecorder.ts +4 -1
  266. package/ts/api/resources/Vat.ts +4 -2
  267. package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
  268. package/ts/api/resources.ts +2 -0
  269. package/ts/types/Enum/AdjustmentType.ts +37 -0
  270. package/ts/types/Enum/CommercialImportHeader.ts +112 -0
  271. package/ts/types/Enum/Ged.ts +1 -1
  272. package/ts/types/Enum/JobTitle.ts +6 -0
  273. package/ts/types/Enum/MimeType.ts +1 -0
  274. package/ts/types/Enum/RoleDetail.ts +8 -0
  275. package/ts/types/Enum/TimeRecorderLocation.ts +4 -0
  276. package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +0 -1
  277. package/ts/types/Interface/api/adjustment/Create.ts +19 -0
  278. package/ts/types/Interface/api/adjustment/Query.ts +8 -0
  279. package/ts/types/Interface/api/adjustment/Read.ts +10 -0
  280. package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +8 -0
  281. package/ts/types/Interface/api/commercialImport/Create.ts +22 -0
  282. package/ts/types/Interface/api/commercialImport/Query.ts +34 -0
  283. package/ts/types/Interface/api/commercialImport/Read.ts +40 -0
  284. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +27 -0
  285. package/ts/types/Interface/api/companeo/Query.ts +14 -0
  286. package/ts/types/Interface/api/registration/CreateRegistration.ts +1 -1
  287. package/ts/types/Interface/api/registration/ReadRegistration.ts +2 -3
  288. package/ts/types/Interface/api/society/CreateSociety.ts +3 -0
  289. package/ts/types/Interface/api/statistic/QueryInternal.ts +2 -0
  290. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +1 -1
  291. package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +5 -0
  292. package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +15 -0
  293. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +7 -1
  294. package/ts/types/Interface/models/IAccountsSocieties.ts +4 -0
  295. package/ts/types/Interface/models/IAdjustment.ts +14 -0
  296. package/ts/types/Interface/models/IApiError.ts +6 -0
  297. package/ts/types/Interface/models/IAreasInvoice.ts +0 -1
  298. package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
  299. package/ts/types/Interface/models/IExercice.ts +3 -0
  300. package/ts/types/Interface/models/IGedFile.ts +3 -0
  301. package/ts/types/Interface/models/ILettering.ts +0 -8
  302. package/ts/types/Interface/models/ISociety.ts +4 -0
  303. package/ts/types/Interface/models/ISocietyApproval.ts +4 -2
  304. package/ts/types/Interface/models/IUser.ts +2 -0
  305. package/ts/types/Interface/schemas/IRegistrationDetail.ts +1 -1
  306. package/ts/types/index.ts +13 -5
  307. package/ts/utils/email.ts +2 -2
  308. package/ts/utils/phone.ts +8 -8
  309. package/ts/utils/vat/3310/century23.ts +1 -6
  310. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts +0 -27
  311. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts.map +0 -1
  312. package/es/types/Interface/models/IEngagementAccountingEntry.js +0 -2
  313. package/es/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
  314. package/es/types/Interface/models/IEngagementAccountingFile.d.ts +0 -43
  315. package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +0 -1
  316. package/es/types/Interface/models/IEngagementAccountingFile.js +0 -2
  317. package/es/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
  318. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +0 -33
  319. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +0 -1
  320. package/es/types/Interface/models/IEngagementBankTransaction.js +0 -2
  321. package/es/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
  322. package/es/types/Interface/models/IInterestedByFeature.d.ts +0 -11
  323. package/es/types/Interface/models/IInterestedByFeature.d.ts.map +0 -1
  324. package/es/types/Interface/models/IInterestedByFeature.js +0 -2
  325. package/es/types/Interface/models/IInterestedByFeature.js.map +0 -1
  326. package/es/types/Interface/models/IPageView.d.ts +0 -10
  327. package/es/types/Interface/models/IPageView.d.ts.map +0 -1
  328. package/es/types/Interface/models/IPageView.js +0 -2
  329. package/es/types/Interface/models/IPageView.js.map +0 -1
  330. package/export-models.json +0 -28811
  331. package/importInterfaces.ts +0 -91
  332. package/js/types/Interface/models/IEngagementAccountingEntry.js +0 -6
  333. package/js/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
  334. package/js/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
  335. package/js/types/Interface/models/IEngagementBankTransaction.js +0 -6
  336. package/js/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
  337. package/js/types/Interface/models/IInterestedByFeature.js.map +0 -1
  338. package/js/types/Interface/models/IPageView.js.map +0 -1
  339. package/table.json +0 -264
  340. package/ts/types/Interface/models/IEngagementAccountingEntry.ts +0 -30
  341. package/ts/types/Interface/models/IEngagementAccountingFile.ts +0 -46
  342. package/ts/types/Interface/models/IEngagementBankTransaction.ts +0 -36
  343. package/ts/types/Interface/models/IInterestedByFeature.ts +0 -14
  344. package/ts/types/Interface/models/IPageView.ts +0 -13
@@ -1,91 +0,0 @@
1
- const ejs = require('ejs');
2
-
3
- const { resolve } = require('path');
4
- const { readFileSync, writeFileSync } = require('fs');
5
- const convertTable = require('./table.json');
6
- const models = require('./export-models.json');
7
-
8
- const interfaceTemplate = readFileSync(resolve(__dirname, '.templates/interface.ejs')).toString();
9
-
10
- const interfaceRender = ejs.compile(interfaceTemplate);
11
-
12
- const tables = Object.entries(models);
13
-
14
- const convertType = (type: string, allowNull?: boolean) => {
15
- let converted = '';
16
- if (['DATE', 'DATEONLY', 'TIME'].includes(type)) {
17
- converted = 'Date';
18
- } else if (['STRING', 'TEXT', 'CHAR'].includes(type)) {
19
- converted = 'string';
20
- } else if (['TINYINT', 'INTEGER', 'FLOAT'].includes(type)) {
21
- converted = 'number';
22
- } else if (type === 'BOOLEAN') {
23
- converted = 'boolean';
24
- } else {
25
- converted = 'string | null';
26
- }
27
- if (allowNull) {
28
- converted = `${converted} | null`;
29
- }
30
- return converted;
31
- };
32
-
33
- const convertFields = (model: any) => {
34
- const fields = Object.entries(model.fields);
35
- const output = fields.map(([name, value]: [string, any]) => ({
36
- name: value.primaryKey ? 'id' : name,
37
- type: convertType(value.type, ['deletedAt', 'createdAt', 'updatedAt'].includes(name) || value.allowNull),
38
- }));
39
- if (model.paranoid && !output.find(({ name }) => name === 'deletedAt')) {
40
- output.push({
41
- name: 'deletedAt',
42
- type: 'Date | null',
43
- });
44
- }
45
- return output;
46
- };
47
-
48
- const convertAssociations = (model: any) => {
49
- const associations = Object.entries(model.associations);
50
- // @ts-ignore
51
- return Object.values(associations.reduce((acc: any, association: [string, any]) => {
52
- const [name, value] = association;
53
- const isMultiple = ['HasMany', 'BelongsToMany'].includes(value.association);
54
- const target = `I${convertTable[value.target]}${isMultiple ? '[]' : ''}`;
55
- const sanitizedName = name.charAt(0).toLowerCase() + name.slice(1);
56
- return {
57
- ...acc,
58
- [sanitizedName]: {
59
- entity: `I${convertTable[value.target]}`,
60
- target,
61
- name: sanitizedName,
62
- },
63
- };
64
- }, {}));
65
- };
66
-
67
- const convertImports = (name: string, associations: any[]) => Object.values(associations.filter(({ entity }) => entity !== name).reduce((acc, { entity }) => ({
68
- ...acc,
69
- [entity]: {
70
- target: entity,
71
- path: `./${entity}`,
72
- },
73
- }), {}));
74
-
75
- // eslint-disable-next-line no-restricted-syntax
76
- for (const [tableName, tableValues] of tables) {
77
- const name = `I${convertTable[tableName]}`;
78
- const fields = convertFields(tableValues);
79
- const associations = convertAssociations(tableValues);
80
- const imports = convertImports(name, associations);
81
- const interfaceContent = {
82
- tableName,
83
- name,
84
- fields,
85
- associations,
86
- imports,
87
- };
88
- const content = interfaceRender(interfaceContent);
89
- console.log(`export * from './Interface/${name}';`);
90
- writeFileSync(resolve(__dirname, `./ts/types/Interface/${name}.ts`), content);
91
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=IEngagementAccountingEntry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingEntry.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementAccountingEntry.ts"],"sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IEngagementBankTransaction } from './IEngagementBankTransaction';\nimport { IEngagementAccountingFile } from './IEngagementAccountingFile';\n\n// engagementAccountingEntries\nexport interface IEngagementAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date | null;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idEngagementBankTransaction: number | null;\n idEngagementAccountingFile: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account: IAccount;\n thirdParty: IThirdParty;\n engagementBankTransaction: IEngagementBankTransaction;\n engagementAccountingFile: IEngagementAccountingFile;\n engagementAccountingEntry: IEngagementAccountingEntry;\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingFile.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementAccountingFile.ts"],"sourcesContent":["import { ISociety } from './ISociety';\nimport { IFile } from './IFile';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { ILettering } from './ILettering';\n\n// engagementAccountingFile\nexport interface IEngagementAccountingFile {\n id?: number;\n migrate: boolean;\n label: string | null;\n invoiceNumber: string | null;\n budgeaDocumentId: number | null;\n isMerged: boolean;\n dateVerified: Date | null;\n dateLocked: Date | null;\n isLockedByAccountant: boolean;\n exported: Date | null;\n emissionDate: Date | null;\n isAsset: boolean;\n isPayPerso: boolean;\n isMobile: boolean;\n kilometers: number | null;\n purchaseTtc: number | null;\n mailId: number | null;\n idGedFolder: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idEstimateInvoice: number | null;\n idAccountingFileType: number;\n isAlreadyProcessByOcr: boolean | null;\n idSociety: number;\n idFile: number;\n idUser: number | null;\n idLettering: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n society: ISociety;\n file: IFile;\n estimatesInvoice: IEstimateInvoice;\n engagementAccountingEntries: IEngagementAccountingEntry[];\n lettering: ILettering;\n}\n"],"mappings":""}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=IEngagementBankTransaction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementBankTransaction.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { IUser } from './IUser';\nimport { ILettering } from './ILettering';\n\n// engagementBankTransactions\nexport interface IEngagementBankTransaction {\n id?: number;\n migrate: boolean;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n isBlocked: boolean;\n exported: Date | null;\n noInvoice: boolean;\n isReadMobile: boolean;\n isLockedMobile: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idPaymentMethod: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idLettering: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n idUser: number | null;\n\n // Associations\n bankAccount: IBankAccount;\n engagementAccountingEntries: IEngagementAccountingEntry[];\n accountingJournal: IAccountingJournal;\n user: IUser;\n lettering: ILettering;\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IInterestedByFeature.js","names":[],"sources":["../../../../ts/types/Interface/models/IInterestedByFeature.ts"],"sourcesContent":["import { ISociety } from './ISociety';\n\n// interestedByFeatures\nexport interface IInterestedByFeature {\n id?: number;\n email: string | null;\n idTypeFeature: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPageView.js","names":[],"sources":["../../../../ts/types/Interface/models/IPageView.ts"],"sourcesContent":["import { ISociety } from './ISociety';\n\n// pageViews\nexport interface IPageView {\n id?: number;\n idPage: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
package/table.json DELETED
@@ -1,264 +0,0 @@
1
- {
2
- "SMS": "Sms",
3
- "accessToken": "AccessToken",
4
- "accountDetail": "AccountDetail",
5
- "accountHelps": "AccountHelp",
6
- "accountingEntries": "AccountingEntry",
7
- "accountingFile": "AccountingFile",
8
- "accountingJournal": "AccountingJournal",
9
- "accountingStateTypes": "AccountingStateType",
10
- "accountingStates": "AccountingState",
11
- "accountingTransactions": "AccountingTransaction",
12
- "accounts": "Account",
13
- "accountsSocieties": "AccountsSocieties",
14
- "activity": "Activity",
15
- "additionnalBalance": "AdditionalBalance",
16
- "alerts": "Alert",
17
- "allowedIp": "AllowedIp",
18
- "analyticsUtm": "AnalyticsUtm",
19
- "appConfig": "AppConfig",
20
- "areasInvoices": "AreasInvoice",
21
- "askAbsences": "AskAbsence",
22
- "askAbsencesTimes": "AskAbsenceTimes",
23
- "attachmentFile": "AttachmentFile",
24
- "attestations": "Attestation",
25
- "attributionHistorics": "AttributionHistory",
26
- "autologinToken": "AutoLoginToken",
27
- "balanceBankAccount": "BalanceBankAccount",
28
- "balanceSheet": "BalanceSheet",
29
- "balanceSheetHistory": "BalanceSheetHistory",
30
- "balanceSheetLiquidation": "BalanceSheetLiquidation",
31
- "balanceSheetPartial": "BalanceSheetPartial",
32
- "bankAccountSynchroHistory": "BankAccountSynchroHistory",
33
- "bankAccounts": "BankAccount",
34
- "bankConnections": "BankConnection",
35
- "bankList": "BankList",
36
- "bankTransactions": "BankTransaction",
37
- "businessLine": "BusinessLine",
38
- "businessPartners": "BusinessPartner",
39
- "calendarEvents": "CalendarEvent",
40
- "calendarEventsUsers": "CalendarEventUser",
41
- "callDirectly": "CallDirectly",
42
- "categories": "Category",
43
- "cerfaTypes": "CerfaType",
44
- "cerfaValues": "CerfaValue",
45
- "changeLogs": "ChangeLog",
46
- "checklist": "Checklist",
47
- "checklistDetail": "ChecklistDetail",
48
- "civility": "Civility",
49
- "codeErreur": "ErrorCode",
50
- "colors": "Color",
51
- "comments": "Comment",
52
- "connectors": "Connector",
53
- "cotations": "Cotation",
54
- "country": "Country",
55
- "currency": "Currency",
56
- "customersIsRegimes": "CustomerIsRegime",
57
- "customersSignatures": "CustomerSignature",
58
- "customersTva": "CustomerTva",
59
- "customisations": "Customisation",
60
- "cycles": "Cycle",
61
- "day": "Day",
62
- "detailedLogBi": "DetailedLogBi",
63
- "directdebitHistory": "DirectDebitHistory",
64
- "employees": "Employee",
65
- "engagementAccountingEntries": "EngagementAccountingEntry",
66
- "engagementAccountingFile": "EngagementAccountingFile",
67
- "engagementBankTransactions": "EngagementBankTransaction",
68
- "engagementOcrExtraction": "EngagementOcrExtraction",
69
- "estimatesInvoiceRepeat": "EstimateInvoiceRepeat",
70
- "estimatesInvoices": "EstimateInvoice",
71
- "exerciceDetails": "ExerciceDetail",
72
- "exercices": "Exercice",
73
- "exercicesPrestations": "ExercicePrestation",
74
- "failedLoginAttempts": "FailedLoginAttempt",
75
- "faqCategories": "FaqCategory",
76
- "faqs": "Faq",
77
- "fileType": "FileType",
78
- "files": "File",
79
- "filesMissing": "FileMissing",
80
- "fiscalRegimes": "FiscalRegime",
81
- "folderFile": "FolderFile",
82
- "followedQualityMail": "FollowedQualityMail",
83
- "follows": "Follow",
84
- "followsList": "FollowList",
85
- "formalismValues": "FormalismValue",
86
- "formalisms": "Formalism",
87
- "frequency": "Frequency",
88
- "fuel": "Fuel",
89
- "gedCategory": "GedCategory",
90
- "gedFile": "GedFile",
91
- "gedFolder": "GedFolder",
92
- "identifications": "Identification",
93
- "independantReviews": "IndependentReview",
94
- "interestedByFeatures": "InterestedByFeature",
95
- "internalEstimates": "InternalEstimate",
96
- "ipTmpBlocked": "IpTmpBlocked",
97
- "itemsEstimates": "ItemEstimate",
98
- "jobCategories": "JobCategory",
99
- "jobs": "Job",
100
- "kilometricAllowanceScale": "KilometricAllowanceScale",
101
- "labelPaymentWaiting": "LabelPaymentWaiting",
102
- "legalForm": "LegalForm",
103
- "legalsNotice": "LegalNotice",
104
- "lettering": "Lettering",
105
- "letters": "Letter",
106
- "logBi": "LogBi",
107
- "logs": "Log",
108
- "mailSociety": "MailSociety",
109
- "mailsAuto": "MailAuto",
110
- "mailsAutoTypes": "MailAutoType",
111
- "month": "Month",
112
- "nationality": "Nationality",
113
- "nature": "Nature",
114
- "notes": "Note",
115
- "notifications": "Notification",
116
- "oldExpertInfo": "OldExpertInfo",
117
- "operationsLegalsNotice": "OperationLegalNotice",
118
- "pageViews": "PageView",
119
- "paiePlan": "PayPlan",
120
- "partnersTransactions": "PartnerTransaction",
121
- "paymentDelai": "PaymentDelay",
122
- "paymentSchedules": "PaymentSchedule",
123
- "payments": "Payment",
124
- "paymentsExpectations": "PaymentExpectation",
125
- "paymentsExpectationsCustomers": "PaymentExpectationCustomer",
126
- "paymentsMethod": "PaymentMethod",
127
- "paymentsWaiting": "PaymentWaiting",
128
- "penalities": "Penalty",
129
- "pendingPoints": "PendingPoint",
130
- "permissions": "Permission",
131
- "phoneNumber": "PhoneNumber",
132
- "phonePrefix": "PhonePrefix",
133
- "phonePrefixChild": "PhonePrefixChild",
134
- "prestationSocial": "PrestationSocial",
135
- "prestations": "Prestation",
136
- "prestationsCompl": "PrestationComplementary",
137
- "prestationsList": "PrestationList",
138
- "procedings": "Procedure",
139
- "products": "Product",
140
- "qualities": "Quality",
141
- "quotaLeads": "QuotaLead",
142
- "ratings": "Rating",
143
- "reasonTermination": "ReasonTermination",
144
- "reasons": "Reason",
145
- "recontactHistory": "RecontactHistory",
146
- "refunds": "Refund",
147
- "refundsMotif": "RefundMotif",
148
- "region": "Region",
149
- "registerCategorie": "RegisterCategory",
150
- "regulates": "Regulate",
151
- "regulations": "Regulation",
152
- "report": "Report",
153
- "reportMessage": "ReportMessage",
154
- "roles": "Role",
155
- "rolesUsers": "RoleUser",
156
- "rooms": "Room",
157
- "rules": "Rule",
158
- "schedule": "Schedule",
159
- "sectors": "Sector",
160
- "sendMethods": "SendMethod",
161
- "services": "Service",
162
- "sheetMonthSchedules": "SheetMonthSchedule",
163
- "simulation": "Simulation",
164
- "simulationAdditionalFinances": "SimulationAdditionalFinance",
165
- "simulationColor": "SimulationColor",
166
- "simulationElement": "SimulationElement",
167
- "simulationHasBankAccount": "SimulationHasBankAccount",
168
- "simulationPeriod": "SimulationPeriod",
169
- "simulationSummary": "SimulationSummary",
170
- "socialDetail": "SocialDetail",
171
- "societies": "Society",
172
- "societyApprovals": "SocietyApproval",
173
- "societyBank": "SocietyBank",
174
- "societyBudgetConnection": "SocietyBudgetConnection",
175
- "societyCgv": "SocietyCgv",
176
- "societyConfig": "SocietyConfig",
177
- "societyConfigBalanceSheet": "SocietyConfigBalanceSheet",
178
- "societyDetails": "SocietyDetail",
179
- "societyFiles": "SocietyFile",
180
- "societyGescom": "SocietyGescom",
181
- "societyJuridical": "SocietyJuridical",
182
- "societyNotes": "SocietyNote",
183
- "societyPartner": "SocietyPartner",
184
- "societyProcedings": "SocietyProceding",
185
- "societyRelance": "SocietyRelance",
186
- "societySocial": "SocietySocial",
187
- "societySoftware": "SocietySoftware",
188
- "societyStats": "SocietyStat",
189
- "societyVehicle": "SocietyVehicle",
190
- "softwareCompta": "SoftwareCompta",
191
- "source": "Source",
192
- "specialOperations": "SpecialOperation",
193
- "sponsorshipsLinks": "SponsorshipLink",
194
- "statusSignature": "StatusSignature",
195
- "stripeEvents": "StripeEvent",
196
- "supervisions": "Supervision",
197
- "supervisionsJobs": "SupervisionsJob",
198
- "supervisionsPendingPoints": "SupervisionPendingPoint",
199
- "tags": "Tag",
200
- "taxSystem": "TaxSystem",
201
- "teamBusinessLine": "TeamBusinessLine",
202
- "teams": "Team",
203
- "terminitionsList": "TerminationList",
204
- "ticketSupport": "TicketSupport",
205
- "ticketSupportFollows": "TicketSupportFollow",
206
- "tiers": "Tier",
207
- "tiersSocieties": "TierSociety",
208
- "timeTraking": "TimeTracking",
209
- "timeTrakingSources": "TimeTrackingSource",
210
- "tmpValidationToken": "TmpValidationToken",
211
- "trackerSuiviComptable": "AccountantTracker",
212
- "tvaMargin": "VatMargin",
213
- "tvaRegimes": "VatRegime",
214
- "tvas": "Vat",
215
- "typeAbsence": "AbsenceType",
216
- "typeAccount": "AccountType",
217
- "typeAccountingFile": "AccountingFileType",
218
- "typeBrand": "BrandType",
219
- "typeCashdeskTransaction": "CashDeskTransactionType",
220
- "typeChannel": "ChannelType",
221
- "typeChecklist": "ChecklistType",
222
- "typeChecklistCategorie": "ChecklistCategoryType",
223
- "typeComment": "CommentType",
224
- "typeCompta": "ComptaType",
225
- "typeComptaHistory": "ComptaHistoryType",
226
- "typeConnectors": "ConnectorType",
227
- "typeContrat": "ContractType",
228
- "typeCustomisations": "CustomizationType",
229
- "typeDocumentsWaiting": "DocumentWaitingType",
230
- "typeEstimatesInvoice": "EstimateInvoiceType",
231
- "typeFollowedQualityMail": "FollowedQualityMailType",
232
- "typeGedFile": "GedFileType",
233
- "typeLetters": "LetterType",
234
- "typeLog": "LogType",
235
- "typeNotificationCodes": "NotificationCodeType",
236
- "typeNotificationTypes": "NotificationType",
237
- "typePartnerTransaction": "PartnerTransactionType",
238
- "typePenalities": "PenaltyType",
239
- "typeProducts": "ProductType",
240
- "typeRepeat": "RepeatType",
241
- "typeReport": "ReportType",
242
- "typeSMS": "SMSType",
243
- "typeStripeEvent": "StripeEventType",
244
- "typeSubscription": "SubscriptionType",
245
- "typeTiers": "TierType",
246
- "typeVehicle": "VehicleType",
247
- "unities": "Unit",
248
- "users": "User",
249
- "usersNotifications": "UserNotification",
250
- "usersSocietiesPermissions": "UserSocietyPermission",
251
- "usersSocietiesTicketSupport": "UserSocietyTicketSupport",
252
- "usersTeams": "UserTeam",
253
- "usersTests": "UserTest",
254
- "vatDeclaration": "VatDeclaration",
255
- "vatDeclarationCertificates": "VatDeclarationCertificate",
256
- "vatDeclarationSocietyDetail": "VatDeclarationSocietyDetail",
257
- "webmailMails": "WebMail",
258
- "webmailMailsAttachments": "WebMailAttachment",
259
- "webmailSpam": "WebMailSpam",
260
- "webmailStats": "WebMailStat",
261
- "webmailTypes": "WebMailType",
262
- "webmailTypesSpam": "WebMailSpamType",
263
- "workingSchedule": "WorkingSchedule"
264
- }
@@ -1,30 +0,0 @@
1
- import { IAccount } from './IAccount';
2
- import { IThirdParty } from './IThirdParty';
3
- import { IEngagementBankTransaction } from './IEngagementBankTransaction';
4
- import { IEngagementAccountingFile } from './IEngagementAccountingFile';
5
-
6
- // engagementAccountingEntries
7
- export interface IEngagementAccountingEntry {
8
- id?: number;
9
- master: boolean;
10
- dateValue: Date | null;
11
- designation: string;
12
- comment: string | null;
13
- debit: number;
14
- credit: number;
15
- isPerso: boolean;
16
- idInherit: number | null;
17
- idAccount: number | null;
18
- idThirdParty: number | null;
19
- idEngagementBankTransaction: number | null;
20
- idEngagementAccountingFile: number | null;
21
- createdAt?: Date | null;
22
- updatedAt?: Date | null;
23
-
24
- // Associations
25
- account: IAccount;
26
- thirdParty: IThirdParty;
27
- engagementBankTransaction: IEngagementBankTransaction;
28
- engagementAccountingFile: IEngagementAccountingFile;
29
- engagementAccountingEntry: IEngagementAccountingEntry;
30
- }
@@ -1,46 +0,0 @@
1
- import { ISociety } from './ISociety';
2
- import { IFile } from './IFile';
3
- import { IEstimateInvoice } from './IEstimateInvoice';
4
- import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
5
- import { ILettering } from './ILettering';
6
-
7
- // engagementAccountingFile
8
- export interface IEngagementAccountingFile {
9
- id?: number;
10
- migrate: boolean;
11
- label: string | null;
12
- invoiceNumber: string | null;
13
- budgeaDocumentId: number | null;
14
- isMerged: boolean;
15
- dateVerified: Date | null;
16
- dateLocked: Date | null;
17
- isLockedByAccountant: boolean;
18
- exported: Date | null;
19
- emissionDate: Date | null;
20
- isAsset: boolean;
21
- isPayPerso: boolean;
22
- isMobile: boolean;
23
- kilometers: number | null;
24
- purchaseTtc: number | null;
25
- mailId: number | null;
26
- idGedFolder: number | null;
27
- idSocietyVehicle: number | null;
28
- idSocietyPartner: number | null;
29
- idEstimateInvoice: number | null;
30
- idAccountingFileType: number;
31
- isAlreadyProcessByOcr: boolean | null;
32
- idSociety: number;
33
- idFile: number;
34
- idUser: number | null;
35
- idLettering: number | null;
36
- createdAt?: Date | null;
37
- updatedAt?: Date | null;
38
- deletedAt?: Date | null;
39
-
40
- // Associations
41
- society: ISociety;
42
- file: IFile;
43
- estimatesInvoice: IEstimateInvoice;
44
- engagementAccountingEntries: IEngagementAccountingEntry[];
45
- lettering: ILettering;
46
- }
@@ -1,36 +0,0 @@
1
- import { IBankAccount } from './IBankAccount';
2
- import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
3
- import { IAccountingJournal } from './IAccountingJournal';
4
- import { IUser } from './IUser';
5
- import { ILettering } from './ILettering';
6
-
7
- // engagementBankTransactions
8
- export interface IEngagementBankTransaction {
9
- id?: number;
10
- migrate: boolean;
11
- reference: string | null;
12
- dateValue: Date;
13
- dateLocked: Date | null;
14
- dateVerified: Date | null;
15
- isBlocked: boolean;
16
- exported: Date | null;
17
- noInvoice: boolean;
18
- isReadMobile: boolean;
19
- isLockedMobile: boolean;
20
- idBankAccount: number | null;
21
- idSociety: number;
22
- idPaymentMethod: number | null;
23
- idRule: number | null;
24
- idAccountingJournal: number;
25
- idLettering: number | null;
26
- createdAt?: Date | null;
27
- updatedAt?: Date | null;
28
- idUser: number | null;
29
-
30
- // Associations
31
- bankAccount: IBankAccount;
32
- engagementAccountingEntries: IEngagementAccountingEntry[];
33
- accountingJournal: IAccountingJournal;
34
- user: IUser;
35
- lettering: ILettering;
36
- }
@@ -1,14 +0,0 @@
1
- import { ISociety } from './ISociety';
2
-
3
- // interestedByFeatures
4
- export interface IInterestedByFeature {
5
- id?: number;
6
- email: string | null;
7
- idTypeFeature: number | null;
8
- idSociety: number;
9
- createdAt?: Date | null;
10
- updatedAt?: Date | null;
11
-
12
- // Associations
13
- society: ISociety;
14
- }
@@ -1,13 +0,0 @@
1
- import { ISociety } from './ISociety';
2
-
3
- // pageViews
4
- export interface IPageView {
5
- id?: number;
6
- idPage: number | null;
7
- idSociety: number;
8
- createdAt?: Date | null;
9
- updatedAt?: Date | null;
10
-
11
- // Associations
12
- society: ISociety;
13
- }