@silexpert/core 1.1.1 → 1.1.3

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 (348) 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/{VatDeclaration.d.ts → Vat.d.ts} +5 -5
  22. package/es/api/resources/Vat.d.ts.map +1 -0
  23. package/es/api/resources/{VatDeclaration.js → Vat.js} +4 -3
  24. package/es/api/resources/Vat.js.map +1 -0
  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 +4 -2
  28. package/es/api/resources.d.ts.map +1 -1
  29. package/es/api/resources.js +4 -2
  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/society/CreateSociety.d.ts +1 -0
  99. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  100. package/es/types/Interface/api/society/CreateSociety.js +4 -0
  101. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  102. package/es/types/Interface/api/statistic/QueryInternal.d.ts +2 -0
  103. package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
  104. package/es/types/Interface/api/statistic/QueryInternal.js +3 -1
  105. package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  106. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +4 -3
  107. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  108. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  109. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +1 -0
  110. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
  111. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +6 -0
  112. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  113. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts +5 -0
  114. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +1 -0
  115. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +25 -0
  116. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
  117. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +5 -0
  118. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
  119. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  120. package/es/types/Interface/models/IAccountsSocieties.d.ts +2 -0
  121. package/es/types/Interface/models/IAccountsSocieties.d.ts.map +1 -1
  122. package/es/types/Interface/models/IAccountsSocieties.js.map +1 -1
  123. package/es/types/Interface/models/IAdjustment.d.ts +13 -0
  124. package/es/types/Interface/models/IAdjustment.d.ts.map +1 -0
  125. package/es/types/Interface/models/IAdjustment.js +2 -0
  126. package/es/types/Interface/models/IAdjustment.js.map +1 -0
  127. package/es/types/Interface/models/IApiError.d.ts +4 -0
  128. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  129. package/es/types/Interface/models/IApiError.js +5 -0
  130. package/es/types/Interface/models/IApiError.js.map +1 -1
  131. package/es/types/Interface/models/IAreasInvoice.d.ts +0 -1
  132. package/es/types/Interface/models/IAreasInvoice.d.ts.map +1 -1
  133. package/es/types/Interface/models/IAreasInvoice.js.map +1 -1
  134. package/es/types/Interface/models/IBalanceSheet.d.ts +2 -0
  135. package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  136. package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
  137. package/es/types/Interface/models/IChecklist.d.ts +2 -2
  138. package/es/types/Interface/models/IChecklist.js.map +1 -1
  139. package/es/types/Interface/models/{ICustomerTva.d.ts → ICustomerVat.d.ts} +2 -2
  140. package/es/types/Interface/models/{ICustomerTva.d.ts.map → ICustomerVat.d.ts.map} +1 -1
  141. package/es/types/Interface/models/ICustomerVat.js +2 -0
  142. package/es/types/Interface/models/{ICustomerTva.js.map → ICustomerVat.js.map} +1 -1
  143. package/es/types/Interface/models/IExercice.d.ts +5 -2
  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/IPenalty.d.ts +3 -3
  153. package/es/types/Interface/models/IPenalty.js.map +1 -1
  154. package/es/types/Interface/models/ISociety.d.ts +4 -1
  155. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  156. package/es/types/Interface/models/ISociety.js.map +1 -1
  157. package/es/types/Interface/models/ISocietyApproval.d.ts +4 -2
  158. package/es/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  159. package/es/types/Interface/models/ISocietyApproval.js.map +1 -1
  160. package/es/types/Interface/models/IUser.d.ts +2 -0
  161. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  162. package/es/types/Interface/models/IUser.js.map +1 -1
  163. package/es/types/index.d.ts +14 -6
  164. package/es/types/index.d.ts.map +1 -1
  165. package/es/types/index.js +14 -6
  166. package/es/types/index.js.map +1 -1
  167. package/es/utils/email.js +2 -2
  168. package/es/utils/email.js.map +1 -1
  169. package/es/utils/phone.d.ts +1 -1
  170. package/es/utils/phone.d.ts.map +1 -1
  171. package/es/utils/phone.js +8 -8
  172. package/es/utils/phone.js.map +1 -1
  173. package/es/utils/vat/3310/century23.d.ts.map +1 -1
  174. package/es/utils/vat/3310/century23.js +1 -6
  175. package/es/utils/vat/3310/century23.js.map +1 -1
  176. package/js/api/resources/CommercialImport.js +38 -0
  177. package/js/api/resources/CommercialImport.js.map +1 -0
  178. package/js/api/resources/Exercice.js +6 -0
  179. package/js/api/resources/Exercice.js.map +1 -1
  180. package/js/api/resources/FIle.js +2 -2
  181. package/js/api/resources/FIle.js.map +1 -1
  182. package/js/api/resources/Registration.js +5 -0
  183. package/js/api/resources/Registration.js.map +1 -1
  184. package/js/api/resources/TimeRecorder.js +5 -0
  185. package/js/api/resources/TimeRecorder.js.map +1 -1
  186. package/js/api/resources/{VatDeclaration.js → Vat.js} +6 -5
  187. package/js/api/resources/Vat.js.map +1 -0
  188. package/js/api/resources/statistic/CustomerSuccess.js +1 -1
  189. package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
  190. package/js/api/resources.js +5 -3
  191. package/js/api/resources.js.map +1 -1
  192. package/js/types/Enum/AdjustmentType.js +38 -0
  193. package/js/types/Enum/AdjustmentType.js.map +1 -0
  194. package/js/types/Enum/CommercialImportHeader.js +107 -0
  195. package/js/types/Enum/CommercialImportHeader.js.map +1 -0
  196. package/js/types/Enum/Ged.js +1 -1
  197. package/js/types/Enum/Ged.js.map +1 -1
  198. package/js/types/Enum/JobTitle.js +5 -0
  199. package/js/types/Enum/JobTitle.js.map +1 -1
  200. package/js/types/Enum/MimeType.js +1 -0
  201. package/js/types/Enum/MimeType.js.map +1 -1
  202. package/js/types/Enum/RoleDetail.js +16 -8
  203. package/js/types/Enum/RoleDetail.js.map +1 -1
  204. package/js/types/Enum/TimeRecorderLocation.js +4 -0
  205. package/js/types/Enum/TimeRecorderLocation.js.map +1 -1
  206. package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  207. package/js/types/Interface/api/adjustment/Create.js +25 -0
  208. package/js/types/Interface/api/adjustment/Create.js.map +1 -0
  209. package/js/types/Interface/api/adjustment/Query.js +22 -0
  210. package/js/types/Interface/api/adjustment/Query.js.map +1 -0
  211. package/js/types/Interface/api/adjustment/Read.js +8 -0
  212. package/js/types/Interface/api/adjustment/Read.js.map +1 -0
  213. package/js/types/Interface/api/archive/ImportSocietyArchive.js +22 -0
  214. package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -0
  215. package/js/types/Interface/api/commercialImport/Create.js +27 -0
  216. package/js/types/Interface/api/commercialImport/Create.js.map +1 -0
  217. package/js/types/Interface/api/commercialImport/Query.js +24 -0
  218. package/js/types/Interface/api/commercialImport/Query.js.map +1 -0
  219. package/js/types/Interface/{models/IPageView.js → api/commercialImport/Read.js} +1 -1
  220. package/js/types/Interface/api/commercialImport/Read.js.map +1 -0
  221. package/js/types/Interface/{models/IInterestedByFeature.js → api/companeo/CompaneoReturn.js} +1 -1
  222. package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  223. package/js/types/Interface/api/companeo/Query.js +23 -0
  224. package/js/types/Interface/api/companeo/Query.js.map +1 -0
  225. package/js/types/Interface/api/society/CreateSociety.js +1 -0
  226. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  227. package/js/types/Interface/api/statistic/QueryInternal.js +4 -2
  228. package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  229. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  230. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +1 -0
  231. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  232. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +23 -0
  233. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
  234. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  235. package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
  236. package/js/types/Interface/models/{ICustomerTva.js → IAdjustment.js} +1 -1
  237. package/js/types/Interface/models/IAdjustment.js.map +1 -0
  238. package/js/types/Interface/models/IApiError.js +5 -0
  239. package/js/types/Interface/models/IApiError.js.map +1 -1
  240. package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
  241. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  242. package/js/types/Interface/models/IChecklist.js.map +1 -1
  243. package/js/types/Interface/models/{IEngagementAccountingFile.js → ICustomerVat.js} +1 -1
  244. package/js/types/Interface/models/{ICustomerTva.js.map → ICustomerVat.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/IPenalty.js.map +1 -1
  249. package/js/types/Interface/models/ISociety.js.map +1 -1
  250. package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
  251. package/js/types/Interface/models/IUser.js.map +1 -1
  252. package/js/types/index.js +199 -119
  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/{VatDeclaration.ts → Vat.ts} +6 -5
  267. package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
  268. package/ts/api/resources.ts +4 -2
  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/society/CreateSociety.ts +3 -0
  287. package/ts/types/Interface/api/statistic/QueryInternal.ts +2 -0
  288. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +4 -4
  289. package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +5 -0
  290. package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +15 -0
  291. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +7 -1
  292. package/ts/types/Interface/models/IAccountsSocieties.ts +4 -0
  293. package/ts/types/Interface/models/IAdjustment.ts +14 -0
  294. package/ts/types/Interface/models/IApiError.ts +6 -0
  295. package/ts/types/Interface/models/IAreasInvoice.ts +0 -1
  296. package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
  297. package/ts/types/Interface/models/IChecklist.ts +2 -2
  298. package/ts/types/Interface/models/{ICustomerTva.ts → ICustomerVat.ts} +1 -1
  299. package/ts/types/Interface/models/IExercice.ts +5 -2
  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/IPenalty.ts +3 -3
  303. package/ts/types/Interface/models/ISociety.ts +4 -0
  304. package/ts/types/Interface/models/ISocietyApproval.ts +4 -2
  305. package/ts/types/Interface/models/IUser.ts +2 -0
  306. package/ts/types/index.ts +14 -6
  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/api/resources/VatDeclaration.d.ts.map +0 -1
  311. package/es/api/resources/VatDeclaration.js.map +0 -1
  312. package/es/types/Interface/models/ICustomerTva.js +0 -2
  313. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts +0 -27
  314. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts.map +0 -1
  315. package/es/types/Interface/models/IEngagementAccountingEntry.js +0 -2
  316. package/es/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
  317. package/es/types/Interface/models/IEngagementAccountingFile.d.ts +0 -43
  318. package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +0 -1
  319. package/es/types/Interface/models/IEngagementAccountingFile.js +0 -2
  320. package/es/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
  321. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +0 -33
  322. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +0 -1
  323. package/es/types/Interface/models/IEngagementBankTransaction.js +0 -2
  324. package/es/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
  325. package/es/types/Interface/models/IInterestedByFeature.d.ts +0 -11
  326. package/es/types/Interface/models/IInterestedByFeature.d.ts.map +0 -1
  327. package/es/types/Interface/models/IInterestedByFeature.js +0 -2
  328. package/es/types/Interface/models/IInterestedByFeature.js.map +0 -1
  329. package/es/types/Interface/models/IPageView.d.ts +0 -10
  330. package/es/types/Interface/models/IPageView.d.ts.map +0 -1
  331. package/es/types/Interface/models/IPageView.js +0 -2
  332. package/es/types/Interface/models/IPageView.js.map +0 -1
  333. package/export-models.json +0 -28811
  334. package/importInterfaces.ts +0 -91
  335. package/js/api/resources/VatDeclaration.js.map +0 -1
  336. package/js/types/Interface/models/IEngagementAccountingEntry.js +0 -6
  337. package/js/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
  338. package/js/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
  339. package/js/types/Interface/models/IEngagementBankTransaction.js +0 -6
  340. package/js/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
  341. package/js/types/Interface/models/IInterestedByFeature.js.map +0 -1
  342. package/js/types/Interface/models/IPageView.js.map +0 -1
  343. package/table.json +0 -264
  344. package/ts/types/Interface/models/IEngagementAccountingEntry.ts +0 -30
  345. package/ts/types/Interface/models/IEngagementAccountingFile.ts +0 -46
  346. package/ts/types/Interface/models/IEngagementBankTransaction.ts +0 -36
  347. package/ts/types/Interface/models/IInterestedByFeature.ts +0 -14
  348. package/ts/types/Interface/models/IPageView.ts +0 -13
@@ -10,7 +10,7 @@ import { ITerminationList } from '../../models/ITerminationList';
10
10
  import {
11
11
  UnpaidDetail, IPendingPoint, ISociety, ReadChecklistDeadline, IRegistration, VatDeadlineType,
12
12
  } from '../../..';
13
- import { ICustomerTva } from '../../models/ICustomerTva';
13
+ import { ICustomerVat } from '../../models/ICustomerVat';
14
14
  import { ISocietyStat } from '../../models/ISocietyStat';
15
15
 
16
16
  export class ReadTaxDeadline {
@@ -31,7 +31,7 @@ export class ReadTaxDeadline {
31
31
  exercice: IExercice;
32
32
  exercices: IExercice[];
33
33
  exerciceDetails: IExerciceDetail | null;
34
- customersVat: ICustomerTva[];
34
+ customersVat: ICustomerVat[];
35
35
  commercial: IUser | null;
36
36
  balanceSheet: IBalanceSheet | null;
37
37
  supervision: ISupervision | null;
@@ -85,8 +85,8 @@ export class ReadVatDeadline {
85
85
  users: IUser[];
86
86
  exercice: IExercice;
87
87
  checklists: ReadChecklistDeadline[];
88
- vat: ICustomerTva | null;
88
+ vat: ICustomerVat | null;
89
89
  registration: IRegistration;
90
- type: { id: VatDeadlineType; operations?: Array<{ id: number; label: string; dateValue: Date; amount: number; }>; turnover?: number; limit?: number; };
90
+ type: { id: VatDeadlineType; operations?: Array<{ id: number; label: string; dateValue: Date; amount: number; }>; turnover?: number; limit?: number; businessLine?: string; };
91
91
  hasComment: boolean;
92
92
  }
@@ -33,4 +33,9 @@ export class QueryPaginatedDelays {
33
33
  @IsOptional()
34
34
  @IsNumber()
35
35
  page?: number;
36
+
37
+ @ApiPropertyOptional()
38
+ @IsOptional()
39
+ @IsArray()
40
+ location?: number[];
36
41
  }
@@ -0,0 +1,15 @@
1
+ import {
2
+ IsDateString, IsOptional, IsArray,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryTimeRecorderGetStats {
7
+ @ApiProperty()
8
+ @IsDateString()
9
+ startDate: string;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsArray()
14
+ idUser?: number[];
15
+ }
@@ -18,4 +18,10 @@ export interface ReadPaginatedDelays {
18
18
  firstname: string;
19
19
  lastname: string;
20
20
  days: DelaysByDay
21
- }
21
+ }
22
+
23
+ export type ReadPlaceToWork = Array< {
24
+ location: string;
25
+ id: number;
26
+ value: number;
27
+ }>;
@@ -1,3 +1,5 @@
1
+ import { IAccount } from './IAccount';
2
+
1
3
  // accountsSocieties
2
4
  export interface IAccountsSocieties {
3
5
  id?: number;
@@ -6,4 +8,6 @@ export interface IAccountsSocieties {
6
8
  isHidden: boolean;
7
9
  createdAt?: Date | null;
8
10
  updatedAt?: Date | null;
11
+
12
+ account?: IAccount;
9
13
  }
@@ -0,0 +1,14 @@
1
+ import { AdjustmentTypeId } from '../../Enum/AdjustmentType';
2
+ import { IExercice } from './IExercice';
3
+
4
+ export interface IAdjustment {
5
+ id?: number;
6
+ amount: number;
7
+ amountUsed: number;
8
+ idAdjustmentType: AdjustmentTypeId;
9
+ idExercice: number;
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+
13
+ exercice?: IExercice;
14
+ }
@@ -106,6 +106,12 @@ export enum Code {
106
106
  insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',
107
107
  fecFileAlreadyExists = 'fec_file_already_exists',
108
108
 
109
+ // Import Commercial error
110
+ missingHeaders = 'missing_headers',
111
+ missingRequiredHeaders = 'missing_required_headers',
112
+ wrongVatAmount = 'wrong_vat_amount',
113
+ wrongAmountSum = 'wrong_amount_sum',
114
+
109
115
  // User creation
110
116
  userAlreadyExistWithSociety = 'user-already-exists',
111
117
  userDoesNotExists = 'user-does-not-exist',
@@ -5,7 +5,6 @@ export interface IAreasInvoice {
5
5
  id?: number;
6
6
  content: string | null;
7
7
  coords: string | null;
8
- idEngagementAccountingFile: number | null;
9
8
  idTypeAreaInvoice: number;
10
9
  idUser: number;
11
10
  idAccountingTransaction: number | null;
@@ -2,6 +2,7 @@ import { IExercice } from './IExercice';
2
2
  import { ICalendarEvent } from './ICalendarEvent';
3
3
  import { ISupervision } from './ISupervision';
4
4
  import { IPrestation } from './IPrestation';
5
+ import { IGedFile } from './IGedFile';
5
6
 
6
7
  // balanceSheet
7
8
  export interface IBalanceSheet {
@@ -20,4 +21,5 @@ export interface IBalanceSheet {
20
21
  calendarEvent?: ICalendarEvent;
21
22
  supervision?: ISupervision;
22
23
  prestations?: IPrestation[];
24
+ gedFiles?: IGedFile[];
23
25
  }
@@ -1,7 +1,7 @@
1
1
  import { IChecklistDetail } from './IChecklistDetail';
2
2
  import { IUser } from './IUser';
3
3
  import { IExercice } from './IExercice';
4
- import { ICustomerTva } from './ICustomerTva';
4
+ import { ICustomerVat } from './ICustomerVat';
5
5
  import { ChecklistTypeEnum } from '../../Enum/ChecklistType';
6
6
  import { IMailRelation } from '../..';
7
7
 
@@ -25,6 +25,6 @@ export interface IChecklist {
25
25
  checklistHasSomeDetails?: IChecklistDetail[];
26
26
  checklistHasOneSupervisor?: IUser;
27
27
  exercice?: IExercice;
28
- checklistHasOneCustomerVat?: ICustomerTva;
28
+ checklistHasOneCustomerVat?: ICustomerVat;
29
29
  mailRelation?: IMailRelation[];
30
30
  }
@@ -5,7 +5,7 @@ import { IVatDeclaration } from './IVatDeclaration';
5
5
  import { CustomerVatState, CustomerVatType } from '../../Enum/CustomerVat';
6
6
 
7
7
  // customersTva
8
- export interface ICustomerTva {
8
+ export interface ICustomerVat {
9
9
  id?: number;
10
10
  stateAmount: number;
11
11
  amount: number;
@@ -1,6 +1,6 @@
1
1
  import { ISupervision } from './ISupervision';
2
2
  import { IChecklist } from './IChecklist';
3
- import { ICustomerTva } from './ICustomerTva';
3
+ import { ICustomerVat } from './ICustomerVat';
4
4
  import { ICustomerIsRegime } from './ICustomerIsRegime';
5
5
  import { IBalanceSheet } from './IBalanceSheet';
6
6
  import { IAdditionalBalance } from './IAdditionalBalance';
@@ -10,6 +10,7 @@ import { IExercicePrestation } from './IExercicePrestation';
10
10
  import { IFile } from './IFile';
11
11
  import { ISociety } from './ISociety';
12
12
  import { IExerciceDetail } from './IExerciceDetail';
13
+ import { IBalanceSheetModule } from './IBalanceSheetModule';
13
14
 
14
15
  // exercices
15
16
  export interface IExercice {
@@ -47,9 +48,10 @@ export interface IExercice {
47
48
  // Associations
48
49
  supervision?: ISupervision;
49
50
  checklists?: IChecklist[];
50
- exerciceCustomerTvas?: ICustomerTva[];
51
+ exerciceCustomerTvas?: ICustomerVat[];
51
52
  exerciceCustomersIsRegimes?: ICustomerIsRegime[];
52
53
  exerciceBalanceSheet?: IBalanceSheet;
54
+ exerciceBalanceSheets?: IBalanceSheet[];
53
55
  exerciceAdditionnalBalance?: IAdditionalBalance;
54
56
  exerciceApprovals?: ISocietyApproval;
55
57
  prestations?: IPrestation[];
@@ -57,4 +59,5 @@ export interface IExercice {
57
59
  file?: IFile;
58
60
  society?: ISociety;
59
61
  exerciceDetail?: IExerciceDetail;
62
+ exerciceBalanceSheetModule?: IBalanceSheetModule;
60
63
  }
@@ -5,6 +5,7 @@ import { IGedFileType } from './IGedFileType';
5
5
  import { IGedFolder } from './IGedFolder';
6
6
  import { IUser } from './IUser';
7
7
  import { ICustomerSignature } from './ICustomerSignature';
8
+ import { IBalanceSheet } from './IBalanceSheet';
8
9
 
9
10
  // gedFile
10
11
  export interface IGedFile {
@@ -18,6 +19,7 @@ export interface IGedFile {
18
19
  idFile: number;
19
20
  typeFile?: number | null;
20
21
  idExercice?: number | null;
22
+ idBalanceSheet?: number | null;
21
23
  idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
22
24
  createdAt?: Date | null;
23
25
  updatedAt?: Date | null;
@@ -26,6 +28,7 @@ export interface IGedFile {
26
28
  fileFromGed?: IFile;
27
29
  society?: ISociety;
28
30
  exercice?: IExercice;
31
+ balanceSheet?: IBalanceSheet;
29
32
  typeGedFile?: IGedFileType;
30
33
  gedFolder?: IGedFolder;
31
34
  businessPartner?: IUser;
@@ -1,7 +1,3 @@
1
- import { IEngagementBankTransaction } from './IEngagementBankTransaction';
2
- import { IEngagementAccountingFile } from './IEngagementAccountingFile';
3
-
4
- // lettering
5
1
  export interface ILettering {
6
2
  id?: number;
7
3
  value: number;
@@ -9,8 +5,4 @@ export interface ILettering {
9
5
  idExercice: number;
10
6
  createdAt?: Date | null;
11
7
  updatedAt?: Date | null;
12
-
13
- // Associations
14
- engagementBankTransaction: IEngagementBankTransaction;
15
- engagementAccountingFile: IEngagementAccountingFile;
16
8
  }
@@ -1,6 +1,6 @@
1
1
  import { ISociety } from './ISociety';
2
2
  import { IPenaltyType } from './IPenaltyType';
3
- import { ICustomerTva } from './ICustomerTva';
3
+ import { ICustomerVat } from './ICustomerVat';
4
4
  import { IUser } from './IUser';
5
5
 
6
6
  // penalities
@@ -24,7 +24,7 @@ export interface IPenalty {
24
24
  // Associations
25
25
  society: ISociety;
26
26
  typePenality: IPenaltyType;
27
- customersTvaBegin: ICustomerTva;
28
- customersTvaEnd: ICustomerTva;
27
+ customersTvaBegin: ICustomerVat;
28
+ customersTvaEnd: ICustomerVat;
29
29
  user: IUser;
30
30
  }
@@ -50,9 +50,11 @@ import { ISocietyEvent } from './ISocietyEvent';
50
50
  import {
51
51
  ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate, IUserSocietyPermission,
52
52
  ISocietyConfigBalanceSheet,
53
+ IAccountsSocieties,
53
54
  IUnpaidCallHistory,
54
55
  } from '../..';
55
56
  import { IBrandType } from './IBrandType';
57
+ import { IFile } from './IFile';
56
58
 
57
59
  // societies
58
60
  export interface ISociety {
@@ -154,6 +156,7 @@ export interface ISociety {
154
156
 
155
157
  // Associations
156
158
  accounts?: IAccount[];
159
+ accountsSocieties?: IAccountsSocieties[];
157
160
  comments?: IComment[];
158
161
  thirdParty?: IThirdParty[];
159
162
  reports?: IReport[];
@@ -215,5 +218,6 @@ export interface ISociety {
215
218
  businessPartners: IBusinessPartner[];
216
219
  fecFile: IFecFile | null;
217
220
  gedFiles: IGedFile[];
221
+ files: IFile[];
218
222
  unpaidCallHistory: IUnpaidCallHistory[];
219
223
  }
@@ -1,4 +1,5 @@
1
1
  import { IExercice } from './IExercice';
2
+ import { IFile } from './IFile';
2
3
  import { IPaymentWaiting } from './IPaymentWaiting';
3
4
 
4
5
  // societyApprovals
@@ -26,6 +27,7 @@ export interface ISocietyApproval {
26
27
  updatedAt?: Date | null;
27
28
 
28
29
  // Associations
29
- exercice: IExercice;
30
- paymentsWaiting: IPaymentWaiting;
30
+ exercice?: IExercice;
31
+ paymentsWaiting?: IPaymentWaiting;
32
+ file?: IFile;
31
33
  }
@@ -14,6 +14,7 @@ import { ISociety } from './ISociety';
14
14
  import { ITeam } from './ITeam';
15
15
  import { IUserTest } from './IUserTest';
16
16
  import { IMobile } from './IMobile';
17
+ import { IRoleUser } from './IRoleUser';
17
18
 
18
19
  type isAny<T> = T | any;
19
20
 
@@ -84,6 +85,7 @@ export interface IUser {
84
85
  // Associations
85
86
  userHasEvent?: isAny<ICalendarEvent>[];
86
87
  roles?: IRole[];
88
+ roleUser?: IRoleUser;
87
89
  genders?: ICivility;
88
90
  commercial?: IUser;
89
91
  prospectPrincipal?: IUser;
package/ts/types/index.ts CHANGED
@@ -56,16 +56,13 @@ export * from './Interface/models/ICountry';
56
56
  export * from './Interface/models/ICurrency';
57
57
  export * from './Interface/models/ICustomerIsRegime';
58
58
  export * from './Interface/models/ICustomerSignature';
59
- export * from './Interface/models/ICustomerTva';
59
+ export * from './Interface/models/ICustomerVat';
60
60
  export * from './Interface/models/ICustomisation';
61
61
  export * from './Interface/models/ICycle';
62
62
  export * from './Interface/models/IDay';
63
63
  export * from './Interface/models/IDetailedLogBi';
64
64
  export * from './Interface/models/IDirectDebitHistory';
65
65
  export * from './Interface/models/IEmployee';
66
- export * from './Interface/models/IEngagementAccountingEntry';
67
- export * from './Interface/models/IEngagementAccountingFile';
68
- export * from './Interface/models/IEngagementBankTransaction';
69
66
  export * from './Interface/models/IEngagementOcrExtraction';
70
67
  export * from './Interface/models/IEstimateInvoiceRepeat';
71
68
  export * from './Interface/models/IEstimateInvoice';
@@ -93,7 +90,6 @@ export * from './Interface/models/IGedFile';
93
90
  export * from './Interface/models/IGedFolder';
94
91
  export * from './Interface/models/IIdentification';
95
92
  export * from './Interface/models/IIndependentReview';
96
- export * from './Interface/models/IInterestedByFeature';
97
93
  export * from './Interface/models/IInternalEstimate';
98
94
  export * from './Interface/models/IIpTmpBlocked';
99
95
  export * from './Interface/models/IProductInvoice';
@@ -119,7 +115,6 @@ export * from './Interface/models/INote';
119
115
  export * from './Interface/models/INotification';
120
116
  export * from './Interface/models/IOldExpertInfo';
121
117
  export * from './Interface/models/IOperationLegalNotice';
122
- export * from './Interface/models/IPageView';
123
118
  export * from './Interface/models/IPartneredAccountant';
124
119
  export * from './Interface/models/IPartneredAccountantCompanyService';
125
120
  export * from './Interface/models/IPartneredAccountantPicture';
@@ -258,6 +253,7 @@ export * from './Interface/models/IPartnerTransactionType';
258
253
  export * from './Interface/models/IPenaltyType';
259
254
  export * from './Interface/models/IRepeatType';
260
255
  export * from './Interface/models/IReportType';
256
+ export * from './Interface/models/IAdjustment';
261
257
  export * from './Interface/models/ISmsType';
262
258
  export * from './Interface/models/IStripeEventType';
263
259
  export * from './Interface/models/ISubscriptionType';
@@ -378,6 +374,7 @@ export * from './Enum/SurveyType';
378
374
  export * from './Enum/SurveyTypeDatas';
379
375
  export * from './Enum/PaymentMethod';
380
376
  export * from './Enum/ReportType';
377
+ export * from './Enum/AdjustmentType';
381
378
  export * from './Enum/ReportState';
382
379
  export * from './Enum/Proceding';
383
380
  export * from './Enum/LetterType';
@@ -487,8 +484,12 @@ export * from './Enum/Holidays';
487
484
  export * from './Enum/AdminAcceptance';
488
485
  export * from './Enum/PrestationListType';
489
486
  export * from './Enum/UnpaidCallHistoryType';
487
+ export * from './Enum/CommercialImportHeader';
490
488
 
491
489
  // Interfaces API
490
+ export * from './Interface/api/adjustment/Query';
491
+ export * from './Interface/api/adjustment/Read';
492
+ export * from './Interface/api/adjustment/Create';
492
493
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
493
494
  export * from './Interface/api/jeDeclare/ReadJeDeclare';
494
495
  export * from './Interface/api/aspone/ReadInterchange';
@@ -646,6 +647,7 @@ export * from './Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule';
646
647
  export * from './Interface/api/workingSchedule/QueryDailyHour';
647
648
  export * from './Interface/api/timeRecorder/QueryAttendance';
648
649
  export * from './Interface/api/timeRecorder/QueryPaginatedDelays';
650
+ export * from './Interface/api/timeRecorder/QueryTimeRecorderGetStats';
649
651
  export * from './Interface/api/timeRecorder/ReadAttendanceHours';
650
652
  export * from './Interface/api/timeRecorder/ReadPaginatedDelays';
651
653
  export * from './Interface/api/timeRecorder/ReadUsersAbsent';
@@ -661,6 +663,8 @@ export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
661
663
  export * from './Interface/api/textMessage/Create';
662
664
  export * from './Interface/api/textMessage/Update';
663
665
  export * from './Interface/api/textMessage/Query';
666
+ export * from './Interface/api/companeo/Query';
667
+ export * from './Interface/api/companeo/CompaneoReturn';
664
668
 
665
669
  // export * from './Interface/api/survey/QuerySurvey';
666
670
  export * from './Interface/api/survey/ReadSurvey';
@@ -900,11 +904,15 @@ export * from './Interface/api/rule/Create';
900
904
  export * from './Interface/api/rule/Update';
901
905
  export * from './Interface/api/rule/Read';
902
906
  export * from './Interface/api/revive/PostRevive';
907
+ export * from './Interface/api/archive/ImportSocietyArchive';
903
908
  export * from './Interface/api/acceptance/CreateAcceptance';
904
909
  export * from './Interface/api/quotation/ReadClientQuotation';
905
910
  export * from './Interface/api/prestations/QueryCreate';
906
911
  export * from './Interface/api/prestations/QueryUpdate';
907
912
  export * from './Interface/api/prestations/QueryGetAllPrestations';
913
+ export * from './Interface/api/commercialImport/Read';
914
+ export * from './Interface/api/commercialImport/Query';
915
+ export * from './Interface/api/commercialImport/Create';
908
916
 
909
917
  // Enums types
910
918
  export * from './Interface/enum/Util';
package/ts/utils/email.ts CHANGED
@@ -26,8 +26,8 @@ function getRoleSignature(user:any) {
26
26
  if (isSales && isManager) { return 'Responsable commercial'; }
27
27
  if (isSales) { return `Chargé${user.idCivility === 2 ? 'e' : ''} de clientèle`; }
28
28
 
29
- if (isCS && isManager) { return 'Responsable de clientèle'; }
30
- if (isCS) { return `Chargé${user.idCivility === 2 ? 'e' : ''} de clientèle`; }
29
+ if (isCS && isManager) { return 'Responsable relations clients'; }
30
+ if (isCS) { return `Conseill${user.idCivility === 2 ? 'ère' : 'er'} comptable`; }
31
31
 
32
32
  if (isFacturation && isStagiaireOrAlternant) { return 'Assistant facturation'; }
33
33
  if (isFacturation && isManager) { return 'Responsable facturation'; }
package/ts/utils/phone.ts CHANGED
@@ -32,33 +32,33 @@ export function countSegmentsFromMessage(message: string): number {
32
32
  return new SegmentedMessage(message, 'auto').segmentsCount;
33
33
  }
34
34
 
35
- export function getPhoneNumberFromRoles(roles: number[]): string | null {
35
+ export function getPhoneNumberFromRoles(roles: number[], attribute: 'phoneNumber' | 'phoneNumberPourcentage' = 'phoneNumber'): string | null {
36
36
  if (roles.some((role) => [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT].includes(role))) {
37
- return RoleDetail.FRONT_OFFICE.phoneNumber;
37
+ return RoleDetail.FRONT_OFFICE[attribute];
38
38
  }
39
39
 
40
40
  if (roles.some((role) => [Role.FRONT_OFFICE_EXPRESS].includes(role))) {
41
- return RoleDetail.FRONT_OFFICE_EXPRESS.phoneNumber;
41
+ return RoleDetail.FRONT_OFFICE_EXPRESS[attribute];
42
42
  }
43
43
 
44
44
  if (roles.some((role) => [Role.COMMERCIAL].includes(role))) {
45
- return RoleDetail.COMMERCIAL.phoneNumber;
45
+ return RoleDetail.COMMERCIAL[attribute];
46
46
  }
47
47
 
48
48
  if (roles.some((role) => [Role.FACTURATION].includes(role))) {
49
- return RoleDetail.FACTURATION.phoneNumber;
49
+ return RoleDetail.FACTURATION[attribute];
50
50
  }
51
51
 
52
52
  if (roles.some((role) => [Role.CUSTOMER_SUCCESS].includes(role))) {
53
- return RoleDetail.CUSTOMER_SUCCESS.phoneNumber;
53
+ return RoleDetail.CUSTOMER_SUCCESS[attribute];
54
54
  }
55
55
 
56
56
  if (roles.some((role) => [Role.JURIDIC, Role.JURIDICAL_SUPPORT].includes(role))) {
57
- return RoleDetail.JURIDIC.phoneNumber;
57
+ return RoleDetail.JURIDIC[attribute];
58
58
  }
59
59
 
60
60
  if (roles.some((role) => [Role.SOCIAL].includes(role))) {
61
- return RoleDetail.SOCIAL.phoneNumber;
61
+ return RoleDetail.SOCIAL[attribute];
62
62
  }
63
63
 
64
64
  return null;
@@ -1359,11 +1359,6 @@ export const cerfa3310Century23Fields: CerfaPayloadForm[] = [{
1359
1359
  key: 'vat.previouslyDeductedToBeReturned.total',
1360
1360
  type: 'number',
1361
1361
  },
1362
- {
1363
- label: '5B - Sommes à ajouter, y compris acompte congés',
1364
- key: 'vat.sumToAdd',
1365
- type: 'number',
1366
- },
1367
1362
  {
1368
1363
  label: 'Dont TVA sur opérations à destination de Monaco',
1369
1364
  key: 'vat.toMonaco',
@@ -1378,7 +1373,7 @@ export const cerfa3310Century23Fields: CerfaPayloadForm[] = [{
1378
1373
  type: 'number',
1379
1374
  }, {
1380
1375
  label: '22A - Coefficient de taxation unique applicable pour la période si différent de 100%',
1381
- key: 'deductible.coefficient',
1376
+ key: 'vat.deductible.coefficient',
1382
1377
  type: 'number',
1383
1378
  }],
1384
1379
  }, {
@@ -1 +0,0 @@
1
- {"version":3,"file":"VatDeclaration.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/VatDeclaration.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,YAAY,EAAE,UAAU,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,6BAA6B,EACpR,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,C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AiB,EAAE,KAAoB;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,yBAAyB,CAAC,SAAiB,EAAE,KAAoB;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,4BAA4B,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACjG,CAAC;IAED,qBAAqB,CAAC,SAAiB,EAAE,OAAiC;QACxE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,eAAe,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,cAAc,CAAC,UAAkB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,eAAe,CAAC,CAAC;IAClE,CAAC;IAED,YAAY,CAAC,KAAiB;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAC9C;YACE,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACP,CAAC;CACF","sourcesContent":["import {\n BasePaginate, CreateRegistrationDetail, IAccountingTransaction, ICustomerTva, QueryCerfa, QueryPaginatedRegistration, QueryPreviousVatDeclaration, QueryVatEntry, ReadRegistration, ReadVatEntry, ReadVatVariousOperations, UpdateOrCreateVatAdvance, UpdateOrCreateVatRegistration, UpdateRegistration,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class VatDeclaration extends Resource {\n updateToRegisteredManually(idSociety: number, idRegistration: number, idUser: number): Promise<{ data: ReadRegistration }> {\n const params: UpdateRegistration = {\n idUser, isComplete: true, sendAt: new Date(), payload: null, idDeposit: null,\n };\n return this.axios.patch(`/societies/${idSociety}/registrations/${idRegistration}`, params);\n }\n\n getVariousOperations(idSociety: number, id: number): Promise<ReadVatVariousOperations[]> {\n return this.axios.$get(`/societies/${idSociety}/vat/${id}/various-operations`);\n }\n\n createVariousOperations(idSociety: number, id: number): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`/societies/${idSociety}/vat/${id}/various-operations`);\n }\n\n async updateOrCreate(idSociety: number, payload: UpdateOrCreateVatRegistration, details: CreateRegistrationDetail): Promise<ReadRegistration> {\n const result = await this.axios.$post(`/societies/${idSociety}/vat`, payload);\n const data = result.data as ReadRegistration;\n await this.axios.$post(`/societies/${idSociety}/registrations/${data.id}/details`, details);\n return data;\n }\n\n getPaginated(idSociety: number, query: QueryPaginatedRegistration): Promise<BasePaginate<ReadRegistration>> {\n return this.axios.$get(`/societies/${idSociety}/vat`, { params: query });\n }\n\n getPrevious(idSociety: number, query: QueryPreviousVatDeclaration): Promise<ReadRegistration | null> {\n return this.axios.$get(`/societies/${idSociety}/vat/previous`, { params: query });\n }\n\n duplicate(idSociety: number, idRegistration: number): Promise<ReadRegistration> {\n return this.axios.$post(`/societies/${idSociety}/vat/${idRegistration}/duplicate`);\n }\n\n delete(idSociety: number, idRegistration: number): Promise<ReadRegistration> {\n return this.axios.$delete(`/societies/${idSociety}/vat/${idRegistration}`);\n }\n\n declare(idSociety: number, idRegistration: number): Promise<ReadRegistration> {\n return this.axios.$post(`/societies/${idSociety}/vat/${idRegistration}/declare`);\n }\n\n getAllEntries(idSociety: number, query: QueryVatEntry): Promise<ReadVatEntry[]> {\n return this.axios.$get(`/societies/${idSociety}/vat/entries`, { params: query });\n }\n\n getAllUpdatedEntries(idSociety: number, query: QueryVatEntry): Promise<ReadVatEntry[]> {\n return this.axios.$get(`/societies/${idSociety}/vat/updated-entries`, { params: query });\n }\n\n getAllNotAnnotatedEntries(idSociety: number, query: QueryVatEntry): Promise<ReadVatEntry[]> {\n return this.axios.$get(`/societies/${idSociety}/vat/not-annotated-entries`, { params: query });\n }\n\n updateOrCreateAdvance(idSociety: number, payload: UpdateOrCreateVatAdvance): Promise<ICustomerTva> {\n return this.axios.$post(`/societies/${idSociety}/vat/advances`, payload);\n }\n\n getAllAdvances(idExercice: number): Promise<ICustomerTva[]> {\n return this.axios.$get(`/exercices/${idExercice}/vat/advances`);\n }\n\n getCerfaFile(query: QueryCerfa): Promise<Buffer> {\n return this.axios.$get('/vat-declarations/cerfa',\n {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ICustomerTva.js.map
@@ -1,27 +0,0 @@
1
- import { IAccount } from './IAccount';
2
- import { IThirdParty } from './IThirdParty';
3
- import { IEngagementBankTransaction } from './IEngagementBankTransaction';
4
- import { IEngagementAccountingFile } from './IEngagementAccountingFile';
5
- export interface IEngagementAccountingEntry {
6
- id?: number;
7
- master: boolean;
8
- dateValue: Date | null;
9
- designation: string;
10
- comment: string | null;
11
- debit: number;
12
- credit: number;
13
- isPerso: boolean;
14
- idInherit: number | null;
15
- idAccount: number | null;
16
- idThirdParty: number | null;
17
- idEngagementBankTransaction: number | null;
18
- idEngagementAccountingFile: number | null;
19
- createdAt?: Date | null;
20
- updatedAt?: Date | null;
21
- account: IAccount;
22
- thirdParty: IThirdParty;
23
- engagementBankTransaction: IEngagementBankTransaction;
24
- engagementAccountingFile: IEngagementAccountingFile;
25
- engagementAccountingEntry: IEngagementAccountingEntry;
26
- }
27
- //# sourceMappingURL=IEngagementAccountingEntry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAGxE,MAAM,WAAW,0BAA0B;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,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,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,EAAE,QAAQ,CAAC;IAClB,UAAU,EAAE,WAAW,CAAC;IACxB,yBAAyB,EAAE,0BAA0B,CAAC;IACtD,wBAAwB,EAAE,yBAAyB,CAAC;IACpD,yBAAyB,EAAE,0BAA0B,CAAC;CACvD"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IEngagementAccountingEntry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementAccountingEntry.ts"],"names":[],"mappings":"","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"]}
@@ -1,43 +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
- export interface IEngagementAccountingFile {
7
- id?: number;
8
- migrate: boolean;
9
- label: string | null;
10
- invoiceNumber: string | null;
11
- budgeaDocumentId: number | null;
12
- isMerged: boolean;
13
- dateVerified: Date | null;
14
- dateLocked: Date | null;
15
- isLockedByAccountant: boolean;
16
- exported: Date | null;
17
- emissionDate: Date | null;
18
- isAsset: boolean;
19
- isPayPerso: boolean;
20
- isMobile: boolean;
21
- kilometers: number | null;
22
- purchaseTtc: number | null;
23
- mailId: number | null;
24
- idGedFolder: number | null;
25
- idSocietyVehicle: number | null;
26
- idSocietyPartner: number | null;
27
- idEstimateInvoice: number | null;
28
- idAccountingFileType: number;
29
- isAlreadyProcessByOcr: boolean | null;
30
- idSociety: number;
31
- idFile: number;
32
- idUser: number | null;
33
- idLettering: number | null;
34
- createdAt?: Date | null;
35
- updatedAt?: Date | null;
36
- deletedAt?: Date | null;
37
- society: ISociety;
38
- file: IFile;
39
- estimatesInvoice: IEstimateInvoice;
40
- engagementAccountingEntries: IEngagementAccountingEntry[];
41
- lettering: ILettering;
42
- }
43
- //# sourceMappingURL=IEngagementAccountingFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementAccountingFile.ts"],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IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,2BAA2B,EAAE,0BAA0B,EAAE,CAAC;IAC1D,SAAS,EAAE,UAAU,CAAC;CACvB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IEngagementAccountingFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEngagementAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementAccountingFile.ts"],"names":[],"mappings":"","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"]}