@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
@@ -1,3 +1,4 @@
1
+ import { IPermission } from '../Interface/models/IPermission';
1
2
  import { IPrestationList } from '../Interface/models/IPrestationList';
2
3
 
3
4
  export enum PrestationType {
@@ -191,6 +192,13 @@ export enum PrestationType {
191
192
  MICRO = 237,
192
193
  GESTION_IMMO = 238,
193
194
  TERMINATION_FEES = 239,
195
+ REPORT_REMUNERATION = 240,
196
+ REPORT_NON_REMUNERATION = 241,
197
+ REPORT_CA = 242,
198
+ REPORT_COMPTE_COURANT = 243,
199
+ REPORT_MASSE_SALARIALE = 244,
200
+ REPORT_1 = 245,
201
+ REPORT_NON_REMUNERATION_RECURRENTE = 246,
194
202
  }
195
203
 
196
204
  export const OWN_VAT_PRESTATIONS = [
@@ -238,6 +246,13 @@ export const allPrestations2025WithBrochure = [
238
246
  PrestationType.SOCIAL,
239
247
  PrestationType.GESTION_JURIDIQUE,
240
248
  PrestationType.CONSULTING_HOUR,
249
+ PrestationType.ATTESTATION_REMUNERATION,
250
+ PrestationType.ATTESTATION_NON_REMUNERATION,
251
+ PrestationType.ATTESTATION_CA,
252
+ PrestationType.ATTESTATION_COMPTE_COURANT,
253
+ PrestationType.ATTESTATION_MASSE_SALARIALE,
254
+ PrestationType.ATTESTATION_1,
255
+ PrestationType.ATTESTATION_NON_REMUNERATION_RECURRENTE,
241
256
  ];
242
257
 
243
258
  export const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[] = [
@@ -1160,7 +1175,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1160
1175
  },
1161
1176
  CESSION_ACTIONS: {
1162
1177
  id: 51,
1163
- name: "Cession d'actions",
1178
+ name: 'Cession d\'actions',
1164
1179
  isComptable: false,
1165
1180
  isJuridique: true,
1166
1181
  isSocial: false,
@@ -1217,7 +1232,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1217
1232
  },
1218
1233
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1219
1234
  id: 54,
1220
- name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1235
+ name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1221
1236
  isComptable: false,
1222
1237
  isJuridique: true,
1223
1238
  isSocial: false,
@@ -1369,7 +1384,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1369
1384
  },
1370
1385
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1371
1386
  id: 62,
1372
- name: "Modification de l'objet social (EURL/SASU)",
1387
+ name: 'Modification de l\'objet social (EURL/SASU)',
1373
1388
  isComptable: false,
1374
1389
  isJuridique: true,
1375
1390
  isSocial: false,
@@ -1711,7 +1726,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1711
1726
  },
1712
1727
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1713
1728
  id: 80,
1714
- name: "Création d'un dossier informatique par salarié",
1729
+ name: 'Création d\'un dossier informatique par salarié',
1715
1730
  isComptable: false,
1716
1731
  isJuridique: false,
1717
1732
  isSocial: true,
@@ -1730,7 +1745,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1730
1745
  },
1731
1746
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1732
1747
  id: 81,
1733
- name: "Etablissement d'un contrat de travail",
1748
+ name: 'Etablissement d\'un contrat de travail',
1734
1749
  isComptable: false,
1735
1750
  isJuridique: false,
1736
1751
  isSocial: true,
@@ -1787,7 +1802,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1787
1802
  },
1788
1803
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1789
1804
  id: 84,
1790
- name: "Taxe d'apprentissage et formation continue",
1805
+ name: 'Taxe d\'apprentissage et formation continue',
1791
1806
  isComptable: false,
1792
1807
  isJuridique: false,
1793
1808
  isSocial: true,
@@ -2016,7 +2031,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2016
2031
  },
2017
2032
  ATTESTATION_CA: {
2018
2033
  id: 97,
2019
- name: "Attestation de chiffre d'affaires",
2034
+ name: 'Attestation de chiffre d\'affaires',
2020
2035
  isComptable: true,
2021
2036
  isJuridique: false,
2022
2037
  isSocial: false,
@@ -2054,7 +2069,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2054
2069
  },
2055
2070
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2056
2071
  id: 99,
2057
- name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2072
+ name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2058
2073
  isComptable: false,
2059
2074
  isJuridique: true,
2060
2075
  isSocial: false,
@@ -2092,7 +2107,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2092
2107
  },
2093
2108
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2094
2109
  id: 103,
2095
- name: "Modification de l'objet social (SARL/SAS/SCI)",
2110
+ name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2096
2111
  isComptable: false,
2097
2112
  isJuridique: true,
2098
2113
  isSocial: false,
@@ -2149,7 +2164,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2149
2164
  },
2150
2165
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2151
2166
  id: 106,
2152
- name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2167
+ name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2153
2168
  isComptable: false,
2154
2169
  isJuridique: true,
2155
2170
  isSocial: false,
@@ -2719,7 +2734,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2719
2734
  },
2720
2735
  CONTRAT_APPORT_EN_NATURE: {
2721
2736
  id: 138,
2722
- name: "Contrat d'apport en nature",
2737
+ name: 'Contrat d\'apport en nature',
2723
2738
  isComptable: false,
2724
2739
  isJuridique: true,
2725
2740
  isSocial: false,
@@ -3308,7 +3323,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3308
3323
  },
3309
3324
  DECLARATION_IR: {
3310
3325
  id: 206,
3311
- name: "Déclaration d'IR",
3326
+ name: 'Déclaration d\'IR',
3312
3327
  isComptable: true,
3313
3328
  isJuridique: false,
3314
3329
  isSocial: false,
@@ -3422,7 +3437,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3422
3437
  },
3423
3438
  STATUTS_FREE: {
3424
3439
  id: PrestationType.STATUTS_FREE,
3425
- name: "Statuts - Just' Statuts",
3440
+ name: 'Statuts - Just\' Statuts',
3426
3441
  isComptable: true,
3427
3442
  isJuridique: true,
3428
3443
  isSocial: false,
@@ -3441,7 +3456,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3441
3456
  },
3442
3457
  STATUTS_OPTION_1: {
3443
3458
  id: PrestationType.STATUTS_OPTION_1,
3444
- name: "Statuts - Just' Création",
3459
+ name: 'Statuts - Just\' Création',
3445
3460
  isComptable: true,
3446
3461
  isJuridique: true,
3447
3462
  isSocial: false,
@@ -3460,7 +3475,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3460
3475
  },
3461
3476
  STATUTS_OPTION_2: {
3462
3477
  id: PrestationType.STATUTS_OPTION_2,
3463
- name: "Statuts - Full'Créa",
3478
+ name: 'Statuts - Full\'Créa',
3464
3479
  isComptable: true,
3465
3480
  isJuridique: true,
3466
3481
  isSocial: false,
@@ -3898,8 +3913,177 @@ export const PrestationDetail: PrestationDetailEnum = {
3898
3913
  signaturePage: null,
3899
3914
  point: 0,
3900
3915
  },
3916
+ REPORT_REMUNERATION: {
3917
+ id: PrestationType.REPORT_REMUNERATION,
3918
+ name: 'Rapport de rémunération',
3919
+ isComptable: true,
3920
+ isJuridique: false,
3921
+ isSocial: false,
3922
+ isAttestation: true,
3923
+ inAverageCart: false,
3924
+ isBack: false,
3925
+ minimumPrice: null,
3926
+ price: null,
3927
+ isCatalog: true,
3928
+ isPlannable: true,
3929
+ hidden: false,
3930
+ isComplementary: false,
3931
+ signaturePosition: null,
3932
+ signaturePage: null,
3933
+ point: 50,
3934
+ },
3935
+ REPORT_NON_REMUNERATION: {
3936
+ id: PrestationType.REPORT_NON_REMUNERATION,
3937
+ name: 'Rapport de non-rémunération',
3938
+ isComptable: true,
3939
+ isJuridique: false,
3940
+ isSocial: false,
3941
+ isAttestation: true,
3942
+ inAverageCart: false,
3943
+ isBack: false,
3944
+ minimumPrice: null,
3945
+ price: null,
3946
+ isCatalog: true,
3947
+ isPlannable: true,
3948
+ hidden: false,
3949
+ isComplementary: false,
3950
+ signaturePosition: null,
3951
+ signaturePage: null,
3952
+ point: 50,
3953
+ },
3954
+ REPORT_CA: {
3955
+ id: PrestationType.REPORT_CA,
3956
+ name: "Rapport de chiffre d'affaires",
3957
+ isComptable: true,
3958
+ isJuridique: false,
3959
+ isSocial: false,
3960
+ isAttestation: true,
3961
+ inAverageCart: false,
3962
+ isBack: false,
3963
+ minimumPrice: null,
3964
+ price: null,
3965
+ isCatalog: true,
3966
+ isPlannable: true,
3967
+ hidden: false,
3968
+ isComplementary: false,
3969
+ signaturePosition: null,
3970
+ signaturePage: null,
3971
+ point: 50,
3972
+ },
3973
+ REPORT_COMPTE_COURANT: {
3974
+ id: PrestationType.REPORT_COMPTE_COURANT,
3975
+ name: 'Rapport de compte-courant',
3976
+ isComptable: true,
3977
+ isJuridique: false,
3978
+ isSocial: false,
3979
+ isAttestation: true,
3980
+ inAverageCart: false,
3981
+ isBack: false,
3982
+ minimumPrice: null,
3983
+ price: null,
3984
+ isCatalog: true,
3985
+ isPlannable: true,
3986
+ hidden: false,
3987
+ isComplementary: false,
3988
+ signaturePosition: null,
3989
+ signaturePage: null,
3990
+ point: 50,
3991
+ },
3992
+ REPORT_MASSE_SALARIALE: {
3993
+ id: PrestationType.REPORT_MASSE_SALARIALE,
3994
+ name: 'Rapport de masse salariale',
3995
+ isComptable: true,
3996
+ isJuridique: false,
3997
+ isSocial: false,
3998
+ isAttestation: true,
3999
+ inAverageCart: false,
4000
+ isBack: false,
4001
+ minimumPrice: null,
4002
+ price: null,
4003
+ isCatalog: true,
4004
+ isPlannable: true,
4005
+ hidden: false,
4006
+ isComplementary: false,
4007
+ signaturePosition: null,
4008
+ signaturePage: null,
4009
+ point: 50,
4010
+ },
4011
+ REPORT_1: {
4012
+ id: PrestationType.REPORT_1,
4013
+ name: 'Rapport',
4014
+ isComptable: true,
4015
+ isJuridique: false,
4016
+ isSocial: false,
4017
+ isAttestation: true,
4018
+ inAverageCart: false,
4019
+ isBack: false,
4020
+ minimumPrice: null,
4021
+ price: null,
4022
+ isCatalog: true,
4023
+ isPlannable: true,
4024
+ hidden: false,
4025
+ isComplementary: false,
4026
+ signaturePosition: null,
4027
+ signaturePage: null,
4028
+ point: 50,
4029
+ },
4030
+ REPORT_NON_REMUNERATION_RECURRENTE: {
4031
+ id: PrestationType.REPORT_NON_REMUNERATION_RECURRENTE,
4032
+ name: 'Rapport non remunération recurrente',
4033
+ isComptable: true,
4034
+ isJuridique: false,
4035
+ isSocial: false,
4036
+ isAttestation: true,
4037
+ inAverageCart: false,
4038
+ isBack: false,
4039
+ minimumPrice: null,
4040
+ price: null,
4041
+ isCatalog: true,
4042
+ isPlannable: true,
4043
+ hidden: false,
4044
+ isComplementary: false,
4045
+ signaturePosition: null,
4046
+ signaturePage: null,
4047
+ point: 50,
4048
+ },
3901
4049
  };
3902
4050
 
4051
+ export interface PrestationPermissionsType {
4052
+ id: PrestationType;
4053
+ permissions: Array<keyof IPermission>;
4054
+ }
4055
+
4056
+ export const PrestationPermissions: PrestationPermissionsType[] = [
4057
+ {
4058
+ id: PrestationType.EXPERTISE,
4059
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'tva', 'balanceSheet', 'setting', 'purchase'],
4060
+ },
4061
+ {
4062
+ id: PrestationType.SUPPORT,
4063
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'balanceSheet', 'setting', 'purchase'],
4064
+ },
4065
+ {
4066
+ id: PrestationType.PREMIUM,
4067
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'balanceSheet', 'setting', 'purchase'],
4068
+ },
4069
+ {
4070
+ id: PrestationType.CUSTOM_MADE,
4071
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'balanceSheet', 'setting', 'purchase'],
4072
+ },
4073
+ {
4074
+ id: PrestationType.EI,
4075
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'tva', 'balanceSheet', 'setting', 'purchase'],
4076
+ },
4077
+ {
4078
+ id: PrestationType.MICRO,
4079
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'tva', 'balanceSheet', 'setting', 'purchase'],
4080
+ },
4081
+ {
4082
+ id: PrestationType.GESTION_IMMO,
4083
+ permissions: ['gescom', 'compta', 'stats', 'docTreso', 'services', 'tva', 'balanceSheet', 'setting', 'purchase'],
4084
+ },
4085
+ ];
4086
+
3903
4087
  export enum PrestationTypeDetail {
3904
4088
  SOFTWARE = 'software',
3905
4089
  ACCOUNTANCY = 'accountancy',
@@ -8,14 +8,14 @@ import {
8
8
 
9
9
  export const SalesContractClementine: SaleContract[] = [
10
10
  {
11
- label: 'Page d\'introduction',
11
+ label: "Page d'introduction",
12
12
  name: 'page_intro',
13
13
  needBgImage: true,
14
14
  versionable: false,
15
15
  idPrestationType: allPrestationsWithBrochure,
16
16
  },
17
17
  {
18
- label: 'Page d\'introduction 2025',
18
+ label: "Page d'introduction 2025",
19
19
  name: 'page_intro_2025',
20
20
  needBgImage: true,
21
21
  versionable: false,
@@ -267,7 +267,7 @@ export const SalesContractClementine: SaleContract[] = [
267
267
  keyName: 'idPrestationCreation',
268
268
  },
269
269
  {
270
- label: 'Forfait création société (Création d\'entreprise gratuite)',
270
+ label: "Forfait création société (Création d'entreprise gratuite)",
271
271
  name: 'bloc_creation_free',
272
272
  idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
273
273
  needBgImage: false,
@@ -297,7 +297,7 @@ export const SalesContractClementine: SaleContract[] = [
297
297
  keyName: 'idPrestationJuridique',
298
298
  },
299
299
  {
300
- label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
300
+ label: "Prise en charge de votre déclaration d'impôts sur le revenu",
301
301
  name: 'bloc_tax_return',
302
302
  needBgImage: false,
303
303
  idPrestationType: [],
@@ -403,7 +403,7 @@ export const SalesContractClementine: SaleContract[] = [
403
403
  export const SalesContractKlems: SaleContract[] = [
404
404
  // pour les pages statiques
405
405
  {
406
- label: 'Page d\'introduction',
406
+ label: "Page d'introduction",
407
407
  name: 'page_intro',
408
408
  needBgImage: true,
409
409
  versionable: false,
@@ -536,7 +536,7 @@ export const SalesContractKlems: SaleContract[] = [
536
536
  keyName: 'idPrestationSocial',
537
537
  },
538
538
  {
539
- label: 'Forfait Création d\'entreprise (TTC)',
539
+ label: "Forfait Création d'entreprise (TTC)",
540
540
  name: 'bloc_creation_entreprise_ttc',
541
541
  idPrestationType: [
542
542
  PrestationType.SOCIAL,
@@ -550,7 +550,7 @@ export const SalesContractKlems: SaleContract[] = [
550
550
  keyName: 'idPrestationCreation',
551
551
  },
552
552
  {
553
- label: 'Forfait Création d\'entreprise (HT)',
553
+ label: "Forfait Création d'entreprise (HT)",
554
554
  name: 'bloc_creation_entreprise_ht',
555
555
  idPrestationType: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],
556
556
  needBgImage: false,
@@ -304,6 +304,9 @@ export const ZoneCode = {
304
304
  SARTHE: {
305
305
  zone_code: '72',
306
306
  },
307
+ VAL_D_OISE: {
308
+ zone_code: '95',
309
+ },
307
310
  SAINT_PIERRE_ET_MIQUELON: {
308
311
  zone_code: '975',
309
312
  },
@@ -737,6 +740,10 @@ export const ZoneCodeList = [
737
740
  id: ZoneCode.SARTHE.zone_code,
738
741
  label: 'Sarthe',
739
742
  },
743
+ {
744
+ id: ZoneCode.VAL_D_OISE.zone_code,
745
+ label: 'Val d\'oise',
746
+ },
740
747
  {
741
748
  id: ZoneCode.SAINT_PIERRE_ET_MIQUELON.zone_code,
742
749
  label: 'Saint-Pierre-et-Miquelon',
@@ -0,0 +1,26 @@
1
+ import { DashboardBlock } from '../../Enum/DashboardBlock';
2
+
3
+ export interface IDashboardLayoutItem {
4
+ x: number;
5
+ y: number;
6
+ w: number;
7
+ h: number;
8
+ i: DashboardBlock;
9
+ }
10
+
11
+ export interface ICreateDashboardLayoutRequest {
12
+ jsonLayout: IDashboardLayoutItem[];
13
+ }
14
+
15
+ export interface IUpdateDashboardLayoutRequest {
16
+ jsonLayout: IDashboardLayoutItem[];
17
+ }
18
+
19
+ export interface IDashboardLayoutResponse {
20
+ id: number;
21
+ idUser: number;
22
+ idSociety: number;
23
+ jsonLayout: IDashboardLayoutItem[];
24
+ createdAt: Date;
25
+ updatedAt: Date;
26
+ }
@@ -0,0 +1,160 @@
1
+ import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+ import { RequiredQueryPaginate } from '../BasePaginate';
5
+
6
+ export class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsString()
10
+ declare search?: string;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsBoolean()
15
+ @ToBoolean()
16
+ declare signed?: boolean;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsInt()
21
+ declare factured?: number;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsInt()
26
+ declare idSupervisor?: number;
27
+ }
28
+
29
+ export class ParamsBalanceSheetReportCreate {
30
+ @ApiProperty()
31
+ @IsInt()
32
+ declare idSociety: number;
33
+
34
+ @ApiProperty()
35
+ @IsInt()
36
+ declare idExercice: number;
37
+
38
+ @ApiProperty()
39
+ @IsInt()
40
+ declare idPrestationList: number;
41
+
42
+ @ApiProperty()
43
+ @IsInt()
44
+ declare idSupervisor: number;
45
+
46
+ @ApiProperty()
47
+ @IsInt()
48
+ declare price: number;
49
+
50
+ @ApiProperty()
51
+ @IsBoolean()
52
+ @ToBoolean()
53
+ declare annoted: boolean;
54
+
55
+ @ApiProperty()
56
+ @IsInt()
57
+ declare factured: number;
58
+ }
59
+
60
+ export class ParamsBalanceSheetReportGeneratePdf {
61
+ @ApiProperty()
62
+ @IsBoolean()
63
+ @ToBoolean()
64
+ declare isSigned: boolean;
65
+
66
+ @ApiPropertyOptional()
67
+ @IsOptional()
68
+ @IsString()
69
+ declare comment?: string;
70
+ }
71
+
72
+ export class ParamsBalanceSheetReportUpdate {
73
+ @ApiPropertyOptional()
74
+ @IsOptional()
75
+ @IsInt()
76
+ declare price?: number;
77
+
78
+ @ApiPropertyOptional()
79
+ @IsOptional()
80
+ @IsInt()
81
+ declare idPrestationList?: number;
82
+
83
+ @ApiPropertyOptional()
84
+ @IsOptional()
85
+ @IsInt()
86
+ declare idExercice?: number;
87
+
88
+ @ApiPropertyOptional()
89
+ @IsOptional()
90
+ @IsInt()
91
+ declare idSociety?: number;
92
+
93
+ @ApiPropertyOptional()
94
+ @IsOptional()
95
+ @IsInt()
96
+ declare idSupervisor?: number;
97
+
98
+ @ApiPropertyOptional()
99
+ @IsOptional()
100
+ @IsInt()
101
+ declare idUserDemand?: number;
102
+
103
+ @ApiPropertyOptional()
104
+ @IsOptional()
105
+ @IsInt()
106
+ declare idPaymentExpectation?: number;
107
+
108
+ @ApiPropertyOptional()
109
+ @IsOptional()
110
+ @IsInt()
111
+ declare idFile?: number;
112
+
113
+ @ApiPropertyOptional()
114
+ @IsOptional()
115
+ @IsInt()
116
+ declare idGedFile?: number;
117
+
118
+ @ApiPropertyOptional()
119
+ @IsOptional()
120
+ @IsBoolean()
121
+ @ToBoolean()
122
+ declare annoted?: boolean;
123
+
124
+ @ApiPropertyOptional()
125
+ @IsOptional()
126
+ @IsInt()
127
+ declare factured?: number;
128
+
129
+ @ApiPropertyOptional()
130
+ @IsOptional()
131
+ @IsDate()
132
+ declare sendDate?: Date;
133
+
134
+ @ApiPropertyOptional()
135
+ @IsOptional()
136
+ @IsString()
137
+ declare textPdf?: string;
138
+
139
+ @ApiPropertyOptional()
140
+ @IsOptional()
141
+ @IsBoolean()
142
+ @ToBoolean()
143
+ declare isSign?: boolean;
144
+
145
+ @ApiPropertyOptional()
146
+ @IsOptional()
147
+ @IsBoolean()
148
+ @ToBoolean()
149
+ declare done?: boolean;
150
+
151
+ @ApiPropertyOptional()
152
+ @IsOptional()
153
+ @IsInt()
154
+ declare idMailValidation?: number;
155
+
156
+ @ApiPropertyOptional()
157
+ @IsOptional()
158
+ @IsInt()
159
+ declare idMailPayment?: number;
160
+ }
@@ -167,6 +167,13 @@ export class QueryGetToComplete {
167
167
  idSociety: number;
168
168
  }
169
169
 
170
+ export class QueryChecklistQuestions {
171
+ @ApiProperty()
172
+ @IsNumber()
173
+ @IsPositive()
174
+ idExercice: number;
175
+ }
176
+
170
177
  export class QueryChecklistUpdate {
171
178
  @ApiProperty()
172
179
  @IsBoolean()
@@ -1,6 +1,8 @@
1
- import { IsEnum, IsString } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
- import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
1
+ import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
4
+ import { IChecklist } from '../../models/IChecklist';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
6
 
5
7
  export class UpdateAnswer {
6
8
  @ApiProperty()
@@ -11,3 +13,42 @@ export class UpdateAnswer {
11
13
  @IsEnum(ChecklistDetailValue)
12
14
  value: ChecklistDetailValue;
13
15
  }
16
+
17
+ export class UpdateChecklist implements Partial<IChecklist> {
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsDate()
21
+ revisionDate?: Date;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsInt()
26
+ idUserWhoValidate?: number;
27
+
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ @IsDate()
31
+ validateDate?: Date;
32
+
33
+ @ApiProperty()
34
+ @IsOptional()
35
+ @IsInt()
36
+ idUserFront?: number;
37
+
38
+ @ApiProperty()
39
+ @IsOptional()
40
+ @IsBoolean()
41
+ @ToBoolean()
42
+ isConfirmed?: boolean;
43
+
44
+ @ApiPropertyOptional()
45
+ @IsOptional()
46
+ @IsEnum(ChecklistTypeEnum)
47
+ type?: ChecklistTypeEnum;
48
+
49
+ @ApiPropertyOptional()
50
+ @IsOptional()
51
+ @IsBoolean()
52
+ @ToBoolean()
53
+ force?: boolean;
54
+ }
@@ -0,0 +1,28 @@
1
+ import { IsEnum, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { IDocumentRequest } from '../../models/IDocumentRequest';
4
+ import { TypeFile } from '../../../Enum/Ged';
5
+
6
+ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idSociety: number;
10
+
11
+ @ApiProperty()
12
+ @IsEnum(TypeFile)
13
+ typeFile: TypeFile;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsInt()
18
+ idExercice?: number;
19
+
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsInt()
23
+ idBalanceSheet?: number;
24
+
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ comment?: string;
28
+ }