@silexpert/core 1.3.128 → 1.3.129-2

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 (295) hide show
  1. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +10 -0
  2. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
  4. package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
  5. package/dist/cjs/api/resources/Checklist.d.ts +28 -1
  6. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Checklist.js +39 -0
  8. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  9. package/dist/cjs/api/resources/DashboardLayout.d.ts +10 -0
  10. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -0
  11. package/dist/cjs/api/resources/DashboardLayout.js +20 -0
  12. package/dist/cjs/api/resources/DashboardLayout.js.map +1 -0
  13. package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
  14. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
  15. package/dist/cjs/api/resources/DocumentRequest.js +23 -0
  16. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
  17. package/dist/cjs/api/resources/Exercice.d.ts +1 -0
  18. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Exercice.js +3 -0
  20. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  21. package/dist/cjs/api/resources/feature.d.ts +6 -0
  22. package/dist/cjs/api/resources/feature.d.ts.map +1 -0
  23. package/dist/cjs/api/resources/feature.js +11 -0
  24. package/dist/cjs/api/resources/feature.js.map +1 -0
  25. package/dist/cjs/api/resources.d.ts +8 -0
  26. package/dist/cjs/api/resources.d.ts.map +1 -1
  27. package/dist/cjs/api/resources.js +8 -0
  28. package/dist/cjs/api/resources.js.map +1 -1
  29. package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
  30. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/ChecklistType.js +8 -0
  32. package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
  33. package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
  34. package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
  35. package/dist/cjs/types/Enum/DashboardBlock.d.ts +13 -0
  36. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  37. package/dist/cjs/types/Enum/DashboardBlock.js +17 -0
  38. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -0
  39. package/dist/cjs/types/Enum/Ged.d.ts +31 -1
  40. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Ged.js +152 -5
  42. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  43. package/dist/cjs/types/Enum/PrestationType.d.ts +14 -1
  44. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  45. package/dist/cjs/types/Enum/PrestationType.js +193 -16
  46. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  47. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
  48. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  49. package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
  50. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  51. package/dist/cjs/types/Enum/ZoneCode.js +7 -0
  52. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +23 -0
  54. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  55. package/dist/cjs/types/Interface/api/DashboardLayout.js +3 -0
  56. package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -0
  57. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  58. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  59. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
  60. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  61. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +3 -0
  62. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  63. package/dist/cjs/types/Interface/api/checklist/Query.js +10 -1
  64. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  65. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
  66. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  67. package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
  68. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  69. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  70. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  71. package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
  72. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  73. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  74. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  75. package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
  76. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  77. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  78. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  79. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +3 -0
  80. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  81. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  82. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
  84. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  85. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  86. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  87. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -2
  88. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  89. package/dist/cjs/types/Interface/api/payment/Query.d.ts +2 -0
  90. package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  91. package/dist/cjs/types/Interface/api/payment/Query.js +12 -0
  92. package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  94. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
  96. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  97. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  98. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -0
  99. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  100. package/dist/cjs/types/Interface/api/stripe/Create.js +6 -0
  101. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  102. package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
  103. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  104. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  105. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  106. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  107. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  108. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  109. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  110. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  111. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  112. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  113. package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
  114. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  115. package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
  116. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  118. package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -0
  119. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  121. package/dist/cjs/types/index.d.ts +5 -0
  122. package/dist/cjs/types/index.d.ts.map +1 -1
  123. package/dist/cjs/types/index.js +5 -0
  124. package/dist/cjs/types/index.js.map +1 -1
  125. package/dist/cjs/utils/vat/utils.js +3 -3
  126. package/dist/cjs/utils/vat/utils.js.map +1 -1
  127. package/dist/cjs/utils/webmail.d.ts.map +1 -1
  128. package/dist/cjs/utils/webmail.js +4 -3
  129. package/dist/cjs/utils/webmail.js.map +1 -1
  130. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
  131. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  132. package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
  133. package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
  134. package/dist/mjs/api/resources/Checklist.d.ts +28 -1
  135. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  136. package/dist/mjs/api/resources/Checklist.js +39 -0
  137. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  138. package/dist/mjs/api/resources/DashboardLayout.d.ts +10 -0
  139. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -0
  140. package/dist/mjs/api/resources/DashboardLayout.js +16 -0
  141. package/dist/mjs/api/resources/DashboardLayout.js.map +1 -0
  142. package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
  143. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
  144. package/dist/mjs/api/resources/DocumentRequest.js +27 -0
  145. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
  146. package/dist/mjs/api/resources/Exercice.d.ts +1 -0
  147. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  148. package/dist/mjs/api/resources/Exercice.js +3 -0
  149. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  150. package/dist/mjs/api/resources/feature.d.ts +6 -0
  151. package/dist/mjs/api/resources/feature.d.ts.map +1 -0
  152. package/dist/mjs/api/resources/feature.js +7 -0
  153. package/dist/mjs/api/resources/feature.js.map +1 -0
  154. package/dist/mjs/api/resources.d.ts +8 -0
  155. package/dist/mjs/api/resources.d.ts.map +1 -1
  156. package/dist/mjs/api/resources.js +8 -0
  157. package/dist/mjs/api/resources.js.map +1 -1
  158. package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
  159. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  160. package/dist/mjs/types/Enum/ChecklistType.js +8 -0
  161. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  162. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  163. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  164. package/dist/mjs/types/Enum/DashboardBlock.d.ts +13 -0
  165. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  166. package/dist/mjs/types/Enum/DashboardBlock.js +14 -0
  167. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -0
  168. package/dist/mjs/types/Enum/Ged.d.ts +31 -1
  169. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  170. package/dist/mjs/types/Enum/Ged.js +151 -4
  171. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  172. package/dist/mjs/types/Enum/PrestationType.d.ts +14 -1
  173. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  174. package/dist/mjs/types/Enum/PrestationType.js +192 -15
  175. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  176. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
  177. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  178. package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
  179. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  180. package/dist/mjs/types/Enum/ZoneCode.js +7 -0
  181. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  182. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +23 -0
  183. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  184. package/dist/mjs/types/Interface/api/DashboardLayout.js +2 -0
  185. package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -0
  186. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  187. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  188. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
  189. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  190. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +3 -0
  191. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  192. package/dist/mjs/types/Interface/api/checklist/Query.js +9 -0
  193. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  194. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
  195. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  196. package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
  197. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  198. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  199. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  200. package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
  201. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  202. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  203. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  204. package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
  205. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  206. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  207. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  208. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +2 -0
  209. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  210. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  211. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  212. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
  213. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  214. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  215. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  216. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +9 -3
  217. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  218. package/dist/mjs/types/Interface/api/payment/Query.d.ts +2 -0
  219. package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  220. package/dist/mjs/types/Interface/api/payment/Query.js +14 -0
  221. package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
  222. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  223. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  224. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
  225. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  226. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  227. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -0
  228. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  229. package/dist/mjs/types/Interface/api/stripe/Create.js +7 -0
  230. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  231. package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
  232. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  233. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  234. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  235. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  236. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  237. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  238. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  239. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  240. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  241. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  242. package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
  243. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  244. package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
  245. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  246. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  247. package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -0
  248. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  249. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  250. package/dist/mjs/types/index.d.ts +5 -0
  251. package/dist/mjs/types/index.d.ts.map +1 -1
  252. package/dist/mjs/types/index.js +5 -0
  253. package/dist/mjs/types/index.js.map +1 -1
  254. package/dist/mjs/utils/vat/utils.js +3 -3
  255. package/dist/mjs/utils/vat/utils.js.map +1 -1
  256. package/dist/mjs/utils/webmail.d.ts.map +1 -1
  257. package/dist/mjs/utils/webmail.js +4 -3
  258. package/dist/mjs/utils/webmail.js.map +1 -1
  259. package/package.json +14 -14
  260. package/ts/api/resources/BalanceSheetReport.ts +36 -0
  261. package/ts/api/resources/Checklist.ts +49 -0
  262. package/ts/api/resources/DashboardLayout.ts +19 -0
  263. package/ts/api/resources/DocumentRequest.ts +32 -0
  264. package/ts/api/resources/Exercice.ts +4 -0
  265. package/ts/api/resources/feature.ts +8 -0
  266. package/ts/api/resources.ts +8 -0
  267. package/ts/types/Enum/ChecklistType.ts +9 -0
  268. package/ts/types/Enum/ConstitutionState.ts +1 -1
  269. package/ts/types/Enum/DashboardBlock.ts +12 -0
  270. package/ts/types/Enum/Ged.ts +345 -193
  271. package/ts/types/Enum/PrestationType.ts +199 -15
  272. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
  273. package/ts/types/Enum/ZoneCode.ts +7 -0
  274. package/ts/types/Interface/api/DashboardLayout.ts +26 -0
  275. package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
  276. package/ts/types/Interface/api/checklist/Query.ts +7 -0
  277. package/ts/types/Interface/api/checklist/Update.ts +44 -3
  278. package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
  279. package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
  280. package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +5 -0
  281. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
  282. package/ts/types/Interface/api/library/QueryLibrary.ts +4 -2
  283. package/ts/types/Interface/api/payment/Query.ts +13 -3
  284. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -3
  285. package/ts/types/Interface/api/society/ReadSociety.ts +7 -3
  286. package/ts/types/Interface/api/stripe/Create.ts +5 -0
  287. package/ts/types/Interface/models/IAttestation.ts +20 -18
  288. package/ts/types/Interface/models/IChecklist.ts +2 -2
  289. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  290. package/ts/types/Interface/models/IDocumentRequest.ts +25 -0
  291. package/ts/types/Interface/models/IGedFile.ts +6 -1
  292. package/ts/types/Interface/models/ISociety.ts +1 -0
  293. package/ts/types/index.ts +5 -0
  294. package/ts/utils/vat/utils.ts +3 -3
  295. package/ts/utils/webmail.ts +19 -16
@@ -0,0 +1,14 @@
1
+ import { IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class QueryDocumentRequest {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsInt()
8
+ idExercice?: number;
9
+
10
+ @ApiPropertyOptional()
11
+ @IsOptional()
12
+ @IsInt()
13
+ idBalanceSheet?: number;
14
+ }
@@ -0,0 +1,5 @@
1
+ import { DashboardBlock } from '../../../Enum/DashboardBlock';
2
+
3
+ export interface GetAvailableDashboardBlocksResponse {
4
+ dashboardBlocks: DashboardBlock[];
5
+ }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
3
3
  import { TFile } from '../file/TFile';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -22,6 +22,7 @@ export class CreateFileAndGed {
22
22
  @ApiPropertyOptional()
23
23
  @IsNumber()
24
24
  @IsOptional()
25
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
25
26
  idTypeGedFile?: number;
26
27
 
27
28
  @ApiProperty()
@@ -72,4 +73,9 @@ export class CreateFileAndGed {
72
73
  @IsBoolean()
73
74
  @ToBoolean()
74
75
  formatFileName?: boolean | null;
76
+
77
+ @ApiPropertyOptional()
78
+ @IsOptional()
79
+ @IsInt()
80
+ idDocumentRequest?: number | null;
75
81
  }
@@ -1,6 +1,6 @@
1
1
  import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
- import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
3
+ import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
4
4
  import { RequiredQueryPaginate } from '../BasePaginate';
5
5
  import { TFile } from '../file/TFile';
6
6
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -13,6 +13,7 @@ export class QueryLibraryFile {
13
13
  idGedFolder?: GedFolder;
14
14
 
15
15
  @ApiPropertyOptional()
16
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
16
17
  idTypeGedFile?: GedFileType | GedFileType[];
17
18
 
18
19
  @ApiPropertyOptional()
@@ -36,7 +37,7 @@ export class QueryLibraryFile {
36
37
  @ApiPropertyOptional()
37
38
  @IsNumber()
38
39
  @IsOptional()
39
- typeFile?: number;
40
+ typeFile?: TypeFile;
40
41
 
41
42
  @ApiPropertyOptional()
42
43
  @IsBoolean()
@@ -149,6 +150,7 @@ export class QueryLastFileOfType {
149
150
  idSociety: number;
150
151
 
151
152
  @ApiProperty()
153
+ /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
152
154
  idTypeGedFile: GedFileType;
153
155
 
154
156
  @ApiPropertyOptional()
@@ -20,17 +20,27 @@ export class QueryPayments {
20
20
  @IsOptional()
21
21
  @IsString()
22
22
  reference?: string;
23
-
23
+
24
24
  @ApiPropertyOptional()
25
25
  @IsOptional()
26
26
  @IsString()
27
27
  internComment?: string;
28
-
28
+
29
29
  @ApiPropertyOptional()
30
30
  @IsOptional()
31
31
  @IsInt()
32
32
  idFile?: number;
33
-
33
+
34
+ @ApiPropertyOptional()
35
+ @IsOptional()
36
+ @IsInt()
37
+ idExercice?: number;
38
+
39
+ @ApiPropertyOptional()
40
+ @IsOptional()
41
+ @IsInt()
42
+ idPrestation?: number;
43
+
34
44
  @ApiPropertyOptional()
35
45
  @IsOptional()
36
46
  @IsBoolean()
@@ -7,7 +7,7 @@ export class QueryGetPaymentExpectation {
7
7
  @IsOptional()
8
8
  @IsInt()
9
9
  idPrestation?: number;
10
-
10
+
11
11
  @ApiPropertyOptional()
12
12
  @IsOptional()
13
13
  @IsString()
@@ -15,8 +15,8 @@ export class QueryGetPaymentExpectation {
15
15
 
16
16
  @ApiPropertyOptional()
17
17
  @IsOptional()
18
- @IsString({each: true})
19
- @IsIn(['society', 'owner'], { each: true })
18
+ @IsString({ each: true })
19
+ @IsIn(['society', 'owner', 'prestation'], { each: true })
20
20
  includes?: string[];
21
21
  }
22
22
 
@@ -1,4 +1,4 @@
1
- import { IFile } from '../../..';
1
+ import { IFile, TypeFile } from '../../..';
2
2
 
3
3
  export type UnpaidDetail = {
4
4
  datePayment: Date;
@@ -20,6 +20,10 @@ export type ReadAskOrRequiredDocuments = {
20
20
  name: string;
21
21
  status: string;
22
22
  idGedFolder: number;
23
- idGedFileType: number;
24
- fileType: number;
23
+ idGedFileType?: number;
24
+ typeFile?: TypeFile;
25
+ idDocumentRequest?: number;
26
+ idExercice?: number;
27
+ idBalanceSheet?: number;
28
+ idBankAccount?: number;
25
29
  };
@@ -207,4 +207,9 @@ export class CreatePaymentSession {
207
207
  @IsOptional()
208
208
  @IsString()
209
209
  stripeAccount?: string;
210
+
211
+ @ApiPropertyOptional()
212
+ @IsOptional()
213
+ @IsString()
214
+ idempotencyKey?: string;
210
215
  }
@@ -14,27 +14,29 @@ export interface IAttestation {
14
14
  idExercice: number | null;
15
15
  idSociety: number | null;
16
16
  idSupervisor: number | null;
17
- idUserDemand: number | null;
18
- idPaymentExpectation: number | null;
19
- idFile: number | null;
17
+ idUserDemand?: number | null;
18
+ idPaymentExpectation?: number | null;
19
+ idFile?: number | null;
20
20
  annoted: boolean;
21
- sendDate: Date | null;
22
- textPdf: string | null;
23
- isSign: boolean | null;
24
- done: boolean | null;
25
- idMailPayment: number | null;
26
- idMailValidation: number | null;
21
+ factured: number;
22
+ sendDate?: Date | null;
23
+ textPdf?: string | null;
24
+ isSign?: boolean | null;
25
+ done?: boolean | null;
26
+ idMailPayment?: number | null;
27
+ idMailValidation?: number | null;
28
+ fileLink?: string;
27
29
  createdAt?: Date | null;
28
30
  updatedAt?: Date | null;
29
31
 
30
32
  // Associations
31
- attestationSupervisor: IUser;
32
- attestationUserDemand: IUser;
33
- prestationsList: IPrestationList;
34
- attestationPaymentExpectation: IPaymentExpectation;
35
- attestationFiles: IFile;
36
- society: ISociety;
37
- exercices: IExercice;
38
- paymentMail: IMail;
39
- validationMail: IMail;
33
+ attestationSupervisor?: IUser | null;
34
+ attestationUserDemand?: IUser | null;
35
+ prestationsList?: IPrestationList;
36
+ attestationPaymentExpectation?: IPaymentExpectation | null;
37
+ attestationFiles?: IFile | null;
38
+ society?: ISociety | null;
39
+ exercices?: IExercice | null;
40
+ paymentMail?: IMail | null;
41
+ validationMail?: IMail | null;
40
42
  }
@@ -20,8 +20,8 @@ export interface IChecklist {
20
20
  startDate?: Date | null;
21
21
  endDate?: Date | null;
22
22
  notifyFront?: boolean;
23
- idExercice: number | null;
24
- idCustomerVat: number | null;
23
+ idExercice?: number | null;
24
+ idCustomerVat?: number | null;
25
25
  createdAt?: Date | null;
26
26
  updatedAt?: Date | null;
27
27
 
@@ -6,13 +6,13 @@ export interface IChecklistDetail {
6
6
  id?: number;
7
7
  value: string;
8
8
  isAutomatic: boolean;
9
- idBankAccount: number | null;
9
+ idBankAccount?: number | null;
10
10
  idTypeChecklist: number;
11
11
  idChecklist: number;
12
12
  createdAt?: Date | null;
13
13
  updatedAt?: Date | null;
14
14
 
15
15
  // Associations
16
- typeChecklist: IChecklistType;
17
- detailHasOneChecklist: IChecklist;
16
+ typeChecklist?: IChecklistType;
17
+ detailHasOneChecklist?: IChecklist;
18
18
  }
@@ -0,0 +1,25 @@
1
+ import { TypeFile } from '../../Enum/Ged';
2
+ import { ISociety } from './ISociety';
3
+ import { IExercice } from './IExercice';
4
+ import { IBalanceSheet } from './IBalanceSheet';
5
+ import { IUser } from './IUser';
6
+ import { IFile } from './IFile';
7
+ import { IGedFile } from './IGedFile';
8
+
9
+ export interface IDocumentRequest {
10
+ id: number;
11
+ idSociety: number;
12
+ idExercice?: number | null;
13
+ idBalanceSheet?: number | null;
14
+ idRequestedBy: number;
15
+ typeFile: TypeFile;
16
+ comment?: string | null;
17
+
18
+ // Associations
19
+ society?: ISociety;
20
+ exercice?: IExercice;
21
+ balanceSheet?: IBalanceSheet;
22
+ requestedBy?: IUser;
23
+ gedFiles?: IGedFile[];
24
+ files?: IFile[];
25
+ }
@@ -8,18 +8,21 @@ import { ICustomerSignature } from './ICustomerSignature';
8
8
  import { IBalanceSheet } from './IBalanceSheet';
9
9
  import { IBusinessPartner } from './IBusinessPartner';
10
10
  import { IBankAccount } from './IBankAccount';
11
+ import { TypeFile } from '../../Enum/Ged';
12
+ import { IDocumentRequest } from './IDocumentRequest';
11
13
 
12
14
  // gedFile
13
15
  export interface IGedFile {
14
16
  id?: number;
15
17
  emissionDate?: Date | null;
16
18
  statutFile?: number | null;
19
+ /** @deprecated Use typeFile field instead with TypeFile enum */
17
20
  idTypeGedFile?: number | null;
18
21
  idUser?: number | null;
19
22
  idGedFolder: number;
20
23
  idSociety: number;
21
24
  idFile: number;
22
- typeFile?: number | null;
25
+ typeFile?: TypeFile | null;
23
26
  startDate?: Date | null;
24
27
  endDate?: Date | null;
25
28
  idExercice?: number | null;
@@ -27,6 +30,7 @@ export interface IGedFile {
27
30
  idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
28
31
  idBusinessPartner?: number | null;
29
32
  idBankAccount?: number | null;
33
+ idDocumentRequest?: number | null;
30
34
  createdAt?: Date | null;
31
35
  updatedAt?: Date | null;
32
36
 
@@ -42,4 +46,5 @@ export interface IGedFile {
42
46
  userBP?: IUser;
43
47
  customerSignature?: ICustomerSignature;
44
48
  bankAccount?: IBankAccount;
49
+ documentRequest?: IDocumentRequest;
45
50
  }
@@ -97,6 +97,7 @@ export interface ISociety {
97
97
  archive?: boolean;
98
98
  archiveDate?: Date | null;
99
99
  isBlocked?: boolean | null;
100
+ isEndorsementSigned?: boolean | null;
100
101
  autoAnnotate?: boolean;
101
102
  managementSoftware?: boolean | null;
102
103
  cashbook?: boolean | null;
package/ts/types/index.ts CHANGED
@@ -324,6 +324,7 @@ export * from './Interface/models/IStateBankAccount';
324
324
  export * from './Interface/models/IAIQuestion';
325
325
  export * from './Interface/models/IAIConversation';
326
326
  export * from './Interface/models/IPaymentAttempt';
327
+ export * from './Interface/models/IDocumentRequest';
327
328
 
328
329
  // Schemas
329
330
  export * from './Interface/schemas/IRegistrationDetail';
@@ -343,6 +344,7 @@ export * from './Enum/VisualizedInformation';
343
344
  export * from './Enum/NafCode';
344
345
  export * from './Enum/Acceptance';
345
346
  export * from './Enum/FolderFile';
347
+ export * from './Enum/DashboardBlock';
346
348
  export * from './Enum/CommercialGrade';
347
349
  export * from './Enum/CommercialOfferType';
348
350
  export * from './Enum/CommercialManagement';
@@ -827,6 +829,7 @@ export * from './Interface/api/pappers/CreatePappers';
827
829
  export * from './Interface/api/bankAccount/Query';
828
830
  export * from './Interface/api/bankAccount/Update';
829
831
  export * from './Interface/api/stripe/QueryStripe';
832
+ export * from './Interface/api/balanceSheetReport/Query';
830
833
  export * from './Interface/api/supervision/Query';
831
834
  export * from './Interface/api/supervision/Read';
832
835
  export * from './Interface/api/salariesFile/ReadSalariesFile';
@@ -1135,6 +1138,8 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
1135
1138
  export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
1136
1139
  export * from './Interface/api/recurrence/Query';
1137
1140
  export * from './Interface/api/recurrence/Read';
1141
+ export * from './Interface/api/documentRequest/Query';
1142
+ export * from './Interface/api/documentRequest/Create';
1138
1143
 
1139
1144
  // Enums types
1140
1145
  export * from './Interface/enum/Util';
@@ -52,7 +52,7 @@ export function getTaxAmountByAccountNumber(
52
52
  accountingEntry.account.number.toString().startsWith(number)
53
53
  ) {
54
54
  // eslint-disable-next-line no-console
55
- if (logging) console.log("''");
55
+ if (logging) console.log('\'\'');
56
56
  // eslint-disable-next-line no-console
57
57
  if (logging) console.log(accountingEntry);
58
58
 
@@ -70,12 +70,12 @@ export function getTaxAmountByAccountNumber(
70
70
 
71
71
  export function textFormatting(value: any, length: number | null = null, start?: number): string | null {
72
72
  if (value && typeof value === 'string') {
73
- let formattedValue = value.replace(/[\u2018\u2019]/g, "'"); // Suppression des "Curly Quotes"
73
+ let formattedValue = value.replace(/[\u2018\u2019]/g, '\''); // Suppression des "Curly Quotes"
74
74
  formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &
75
75
  formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !
76
76
  formattedValue = formattedValue.replace(/[\t]/g, ''); // Suppression des tabulations
77
77
 
78
- formattedValue = formattedValue.replace(/`/g, "'"); // Suppression des `
78
+ formattedValue = formattedValue.replace(/`/g, '\''); // Suppression des `
79
79
  formattedValue = formattedValue.replace(/"/g, ''); // Suppression des "
80
80
  formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début
81
81
  formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin
@@ -7,7 +7,8 @@ const getIdRoleUsedForEmail = (listRoles: number[]): Role => {
7
7
  } else if (listRoles.includes(Role.TECHNICAL_ADVISOR)) {
8
8
  idRole = Role.TECHNICAL_ADVISOR;
9
9
  } else if (listRoles.includes(Role.FRONT_OFFICE)) {
10
- idRole = Role.FRONT_OFFICE;
10
+ // idRole = Role.FRONT_OFFICE;
11
+ idRole = Role.CUSTOMER_SUCCESS;
11
12
  } else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {
12
13
  idRole = Role.FRONT_OFFICE_EXPRESS;
13
14
  } else if (listRoles.includes(Role.DATA_OFFICER)) {
@@ -31,21 +32,23 @@ const getIdRoleUsedForEmail = (listRoles: number[]): Role => {
31
32
  };
32
33
 
33
34
  const getListIdRolesUsedForEmail = (listRoles: number[]): Role[] => {
34
- const listIdRoles:Role[] = listRoles.filter(r => [
35
- Role.FACTURATION,
36
- Role.CUSTOMER_SUCCESS,
37
- Role.TECHNICAL_ADVISOR,
38
- Role.FRONT_OFFICE,
39
- Role.FRONT_OFFICE_EXPRESS,
40
- Role.DATA_OFFICER,
41
- Role.COMMERCIAL,
42
- Role.EXPERT_ACCOUNTANT,
43
- Role.JURIDICAL_SUPPORT,
44
- Role.JURIDIC,
45
- Role.SOCIAL,
46
- Role.ON_BOARDER,
47
- Role.SATISFACTION
48
- ].includes(r));
35
+ const listIdRoles: Role[] = listRoles.filter((r) =>
36
+ [
37
+ Role.FACTURATION,
38
+ Role.CUSTOMER_SUCCESS,
39
+ Role.TECHNICAL_ADVISOR,
40
+ Role.FRONT_OFFICE,
41
+ Role.FRONT_OFFICE_EXPRESS,
42
+ Role.DATA_OFFICER,
43
+ Role.COMMERCIAL,
44
+ Role.EXPERT_ACCOUNTANT,
45
+ Role.JURIDICAL_SUPPORT,
46
+ Role.JURIDIC,
47
+ Role.SOCIAL,
48
+ Role.ON_BOARDER,
49
+ Role.SATISFACTION,
50
+ ].includes(r),
51
+ );
49
52
  return listIdRoles;
50
53
  };
51
54