@silexpert/core 1.3.172-vat-6 → 1.3.173

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 (270) hide show
  1. package/dist/cjs/api/resources/DocumentRequest.d.ts +2 -1
  2. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/DocumentRequest.js +3 -0
  4. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  5. package/dist/cjs/api/resources/InformationRequest.d.ts +11 -0
  6. package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/InformationRequest.js +26 -0
  8. package/dist/cjs/api/resources/InformationRequest.js.map +1 -0
  9. package/dist/cjs/api/resources.d.ts +2 -0
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -0
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
  15. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  16. package/dist/cjs/types/Enum/BalanceSheetModule.d.ts +2 -0
  17. package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/BalanceSheetModule.js +23 -1
  19. package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
  20. package/dist/cjs/types/Enum/DepositDocumentType.js +1 -1
  21. package/dist/cjs/types/Enum/DepositDocumentType.js.map +1 -1
  22. package/dist/cjs/types/Enum/Ged.d.ts +17 -3
  23. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  24. package/dist/cjs/types/Enum/Ged.js +132 -1
  25. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  26. package/dist/cjs/types/Enum/InformationRequestState.d.ts +6 -0
  27. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -0
  28. package/dist/cjs/types/Enum/InformationRequestState.js +10 -0
  29. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -0
  30. package/dist/cjs/types/Enum/InformationRequestType.d.ts +17 -0
  31. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -0
  32. package/dist/cjs/types/Enum/InformationRequestType.js +44 -0
  33. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -0
  34. package/dist/cjs/types/Enum/LetterType.js +2 -2
  35. package/dist/cjs/types/Enum/LetterType.js.map +1 -1
  36. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  37. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  38. package/dist/cjs/types/Enum/ReasonTerminationType.js +6 -0
  39. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  40. package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +0 -61
  41. package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +7 -12
  44. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  46. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  47. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  48. package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
  49. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  50. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
  51. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  52. package/dist/cjs/types/Interface/api/documentRequest/Query.js +12 -0
  53. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  54. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
  55. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
  56. package/dist/cjs/types/Interface/api/documentRequest/Update.js +63 -0
  57. package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -0
  58. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
  59. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
  60. package/dist/cjs/types/Interface/api/informationRequest/Create.js +49 -0
  61. package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -0
  62. package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
  63. package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
  64. package/dist/cjs/types/Interface/api/informationRequest/Query.js +54 -0
  65. package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +1 -0
  66. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
  67. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
  68. package/dist/cjs/types/Interface/api/informationRequest/Update.js +58 -0
  69. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -0
  70. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -6
  71. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +0 -4
  73. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  74. package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
  75. package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  76. package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  77. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
  78. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  79. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  80. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +25 -0
  81. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
  82. package/dist/cjs/types/Interface/models/IInformationRequest.js +3 -0
  83. package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -0
  84. package/dist/cjs/types/index.d.ts +7 -0
  85. package/dist/cjs/types/index.d.ts.map +1 -1
  86. package/dist/cjs/types/index.js +7 -0
  87. package/dist/cjs/types/index.js.map +1 -1
  88. package/dist/cjs/utils/vat/3310/century23.d.ts.map +1 -1
  89. package/dist/cjs/utils/vat/3310/century23.js +14 -15
  90. package/dist/cjs/utils/vat/3310/century23.js.map +1 -1
  91. package/dist/cjs/utils/vat/3310/century24.d.ts.map +1 -1
  92. package/dist/cjs/utils/vat/3310/century24.js +14 -15
  93. package/dist/cjs/utils/vat/3310/century24.js.map +1 -1
  94. package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
  95. package/dist/cjs/utils/vat/3310/century25.js +13 -14
  96. package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
  97. package/dist/cjs/utils/vat/3514/century23.d.ts.map +1 -1
  98. package/dist/cjs/utils/vat/3514/century23.js +3 -4
  99. package/dist/cjs/utils/vat/3514/century23.js.map +1 -1
  100. package/dist/cjs/utils/vat/3517/century23.d.ts +1 -4
  101. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -1
  102. package/dist/cjs/utils/vat/3517/century23.js +53 -54
  103. package/dist/cjs/utils/vat/3517/century23.js.map +1 -1
  104. package/dist/cjs/utils/vat/3517/century25.d.ts +1 -4
  105. package/dist/cjs/utils/vat/3517/century25.d.ts.map +1 -1
  106. package/dist/cjs/utils/vat/3517/century25.js +3 -4
  107. package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
  108. package/dist/cjs/utils/vat/3519/century23.d.ts +1 -4
  109. package/dist/cjs/utils/vat/3519/century23.d.ts.map +1 -1
  110. package/dist/cjs/utils/vat/3519/century23.js +3 -4
  111. package/dist/cjs/utils/vat/3519/century23.js.map +1 -1
  112. package/dist/cjs/utils/vat/centuries.d.ts.map +1 -1
  113. package/dist/cjs/utils/vat/centuries.js +30 -39
  114. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  115. package/dist/mjs/api/resources/DocumentRequest.d.ts +2 -1
  116. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  117. package/dist/mjs/api/resources/DocumentRequest.js +3 -0
  118. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  119. package/dist/mjs/api/resources/InformationRequest.d.ts +11 -0
  120. package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -0
  121. package/dist/mjs/api/resources/InformationRequest.js +30 -0
  122. package/dist/mjs/api/resources/InformationRequest.js.map +1 -0
  123. package/dist/mjs/api/resources.d.ts +2 -0
  124. package/dist/mjs/api/resources.d.ts.map +1 -1
  125. package/dist/mjs/api/resources.js +2 -0
  126. package/dist/mjs/api/resources.js.map +1 -1
  127. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  128. package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
  129. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  130. package/dist/mjs/types/Enum/BalanceSheetModule.d.ts +2 -0
  131. package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
  132. package/dist/mjs/types/Enum/BalanceSheetModule.js +22 -0
  133. package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
  134. package/dist/mjs/types/Enum/DepositDocumentType.js +1 -1
  135. package/dist/mjs/types/Enum/DepositDocumentType.js.map +1 -1
  136. package/dist/mjs/types/Enum/Ged.d.ts +17 -3
  137. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  138. package/dist/mjs/types/Enum/Ged.js +132 -1
  139. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  140. package/dist/mjs/types/Enum/InformationRequestState.d.ts +6 -0
  141. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -0
  142. package/dist/mjs/types/Enum/InformationRequestState.js +7 -0
  143. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -0
  144. package/dist/mjs/types/Enum/InformationRequestType.d.ts +17 -0
  145. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -0
  146. package/dist/mjs/types/Enum/InformationRequestType.js +41 -0
  147. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -0
  148. package/dist/mjs/types/Enum/LetterType.js +2 -2
  149. package/dist/mjs/types/Enum/LetterType.js.map +1 -1
  150. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  151. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  152. package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
  153. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  154. package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +0 -61
  155. package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
  156. package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
  157. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +7 -12
  158. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  159. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  160. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  161. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  162. package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
  163. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  164. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
  165. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  166. package/dist/mjs/types/Interface/api/documentRequest/Query.js +15 -1
  167. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  168. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
  169. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
  170. package/dist/mjs/types/Interface/api/documentRequest/Update.js +66 -0
  171. package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -0
  172. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
  173. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
  174. package/dist/mjs/types/Interface/api/informationRequest/Create.js +50 -0
  175. package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -0
  176. package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
  177. package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
  178. package/dist/mjs/types/Interface/api/informationRequest/Query.js +56 -0
  179. package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +1 -0
  180. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
  181. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
  182. package/dist/mjs/types/Interface/api/informationRequest/Update.js +60 -0
  183. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -0
  184. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -6
  185. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  186. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +0 -6
  187. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  188. package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
  189. package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  191. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
  192. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  193. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  194. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +25 -0
  195. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
  196. package/dist/mjs/types/Interface/models/IInformationRequest.js +2 -0
  197. package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -0
  198. package/dist/mjs/types/index.d.ts +7 -0
  199. package/dist/mjs/types/index.d.ts.map +1 -1
  200. package/dist/mjs/types/index.js +7 -0
  201. package/dist/mjs/types/index.js.map +1 -1
  202. package/dist/mjs/utils/vat/3310/century23.d.ts.map +1 -1
  203. package/dist/mjs/utils/vat/3310/century23.js +14 -15
  204. package/dist/mjs/utils/vat/3310/century23.js.map +1 -1
  205. package/dist/mjs/utils/vat/3310/century24.d.ts.map +1 -1
  206. package/dist/mjs/utils/vat/3310/century24.js +14 -15
  207. package/dist/mjs/utils/vat/3310/century24.js.map +1 -1
  208. package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
  209. package/dist/mjs/utils/vat/3310/century25.js +13 -14
  210. package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
  211. package/dist/mjs/utils/vat/3514/century23.d.ts.map +1 -1
  212. package/dist/mjs/utils/vat/3514/century23.js +3 -4
  213. package/dist/mjs/utils/vat/3514/century23.js.map +1 -1
  214. package/dist/mjs/utils/vat/3517/century23.d.ts +1 -4
  215. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -1
  216. package/dist/mjs/utils/vat/3517/century23.js +53 -54
  217. package/dist/mjs/utils/vat/3517/century23.js.map +1 -1
  218. package/dist/mjs/utils/vat/3517/century25.d.ts +1 -4
  219. package/dist/mjs/utils/vat/3517/century25.d.ts.map +1 -1
  220. package/dist/mjs/utils/vat/3517/century25.js +3 -4
  221. package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
  222. package/dist/mjs/utils/vat/3519/century23.d.ts +1 -4
  223. package/dist/mjs/utils/vat/3519/century23.d.ts.map +1 -1
  224. package/dist/mjs/utils/vat/3519/century23.js +3 -4
  225. package/dist/mjs/utils/vat/3519/century23.js.map +1 -1
  226. package/dist/mjs/utils/vat/centuries.d.ts.map +1 -1
  227. package/dist/mjs/utils/vat/centuries.js +32 -41
  228. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  229. package/package.json +1 -1
  230. package/ts/api/resources/DocumentRequest.ts +5 -1
  231. package/ts/api/resources/InformationRequest.ts +36 -0
  232. package/ts/api/resources.ts +2 -0
  233. package/ts/types/Enum/BalanceSheet.ts +11 -11
  234. package/ts/types/Enum/BalanceSheetModule.ts +24 -1
  235. package/ts/types/Enum/DepositDocumentType.ts +1 -1
  236. package/ts/types/Enum/Ged.ts +133 -1
  237. package/ts/types/Enum/InformationRequestState.ts +5 -0
  238. package/ts/types/Enum/InformationRequestType.ts +51 -0
  239. package/ts/types/Enum/LetterType.ts +2 -2
  240. package/ts/types/Enum/ReasonTerminationType.ts +6 -0
  241. package/ts/types/Interface/api/cerfa/3310.ts +0 -58
  242. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +7 -9
  243. package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
  244. package/ts/types/Interface/api/documentRequest/Query.ts +12 -1
  245. package/ts/types/Interface/api/documentRequest/Update.ts +43 -0
  246. package/ts/types/Interface/api/informationRequest/Create.ts +31 -0
  247. package/ts/types/Interface/api/informationRequest/Query.ts +36 -0
  248. package/ts/types/Interface/api/informationRequest/Update.ts +39 -0
  249. package/ts/types/Interface/api/registration/CreateRegistration.ts +1 -5
  250. package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -1
  251. package/ts/types/Interface/models/IDocumentRequest.ts +8 -2
  252. package/ts/types/Interface/models/IInformationRequest.ts +27 -0
  253. package/ts/types/index.ts +7 -0
  254. package/ts/utils/vat/3310/century23.ts +14 -15
  255. package/ts/utils/vat/3310/century24.ts +14 -15
  256. package/ts/utils/vat/3310/century25.ts +13 -14
  257. package/ts/utils/vat/3514/century23.ts +3 -4
  258. package/ts/utils/vat/3517/century23.ts +53 -54
  259. package/ts/utils/vat/3517/century25.ts +3 -4
  260. package/ts/utils/vat/3519/century23.ts +3 -7
  261. package/ts/utils/vat/centuries.ts +11 -20
  262. package/dist/cjs/utils/vat/3310A/century25.d.ts +0 -5
  263. package/dist/cjs/utils/vat/3310A/century25.d.ts.map +0 -1
  264. package/dist/cjs/utils/vat/3310A/century25.js +0 -180
  265. package/dist/cjs/utils/vat/3310A/century25.js.map +0 -1
  266. package/dist/mjs/utils/vat/3310A/century25.d.ts +0 -5
  267. package/dist/mjs/utils/vat/3310A/century25.d.ts.map +0 -1
  268. package/dist/mjs/utils/vat/3310A/century25.js +0 -173
  269. package/dist/mjs/utils/vat/3310A/century25.js.map +0 -1
  270. package/ts/utils/vat/3310A/century25.ts +0 -179
@@ -54,6 +54,9 @@ export enum GedFolder {
54
54
  BACKUP = 48,
55
55
  PREVISIONAL = 49,
56
56
  PREVISIONAL_ANNEX = 50,
57
+ CASH_BOOK = 51,
58
+ STOCK = 52,
59
+ SUMMARY = 53,
57
60
  }
58
61
 
59
62
  export enum TypeFile {
@@ -66,7 +69,7 @@ export enum TypeFile {
66
69
  PV_AG = 7,
67
70
  CONVENTION = 8,
68
71
  AUTRE_CONVENTION = 9,
69
- RECIPROCITE = 10,
72
+ RECIPROCITY = 10,
70
73
  CA = 11,
71
74
  SUBVENTION = 12,
72
75
  CFE = 13,
@@ -158,8 +161,18 @@ export enum TypeFile {
158
161
  SUBSIDY_ALLOCATION_NOTIFICATION = 99, // Notifications d'attribution de subventions publiques
159
162
  FINANCING_CONTRACTS_OR_SUBSIDY_AGREEMENTS = 100, // Contrats de financement ou conventions de subvention
160
163
  LDM = 101, // Lettres de mission
164
+ SUPPLIER_DEBTS = 102, // Vos dettes fournisseurs
165
+ CUSTOMER_RECEIVABLES = 103, // Vos créances clients
166
+ PAYROLL_ACCOUNTING_FILE = 104, // Votre fichier des écritures comptables de paie
167
+ MONTHLY_TESE_SUMMARIES = 105, // Etats des récapitulatifs mensuels TESE
168
+ TICKET_Z = 106, // Vos Ticket Z
169
+ POLICE_BOOK = 107, // Votre Livre de police
170
+ STRIPE_AMAZON_STATEMENTS = 108, // Vos relevés stripe, amazon etc
171
+ INVOICING_SOFTWARE_SUMMARY = 109, // Un récapitulatif de votre logiciel de facturation détaillé par type d'encaissement et par taux de TVA
172
+ MILEAGE_ALLOWANCES_SUMMARY = 110, // Un récapitulatif de vos indemnités kilométriques
161
173
  }
162
174
 
175
+ /** @deprecated this is a legacy enum try to use TypeFile enum if you can or use both enum's */
163
176
  export enum GedFileType {
164
177
  STATUTES = 1,
165
178
  IDENTITY_CARD = 2, // existing typeFile
@@ -580,6 +593,24 @@ export const GedFolderList: Array<{
580
593
  isVisibleForClient: false,
581
594
  idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
582
595
  },
596
+ {
597
+ id: GedFolder.CASH_BOOK,
598
+ name: 'Caisse',
599
+ isVisibleForClient: true,
600
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
601
+ },
602
+ {
603
+ id: GedFolder.STOCK,
604
+ name: 'Stock',
605
+ isVisibleForClient: true,
606
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
607
+ },
608
+ {
609
+ id: GedFolder.SUMMARY,
610
+ name: 'Récapitulatif',
611
+ isVisibleForClient: true,
612
+ idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
613
+ },
583
614
  ];
584
615
 
585
616
  export const gedCategoryWithName: Array<{
@@ -607,6 +638,7 @@ export const TypeFileDetail: Record<number, {
607
638
  typeFile: TypeFile;
608
639
  name: string;
609
640
  idGedFolder?: GedFolder;
641
+ helpText?: string;
610
642
  }> = {
611
643
  [TypeFile.INSURANCE_CONTRACT]: {
612
644
  typeFile: TypeFile.INSURANCE_CONTRACT,
@@ -617,11 +649,13 @@ export const TypeFileDetail: Record<number, {
617
649
  typeFile: TypeFile.COMPANY_CONTRIBUTION_PROOF,
618
650
  name: 'Justificatif des apports faits à la société',
619
651
  idGedFolder: GedFolder.JURIDICAL,
652
+ helpText: 'Vos relevés bancaires personnels indiquant le montant d’épargne disponible, votre avis d\'imposition personnel'
620
653
  },
621
654
  [TypeFile.NOTARY_STATEMENT_AND_PURCHASE_DEED]: {
622
655
  typeFile: TypeFile.NOTARY_STATEMENT_AND_PURCHASE_DEED,
623
656
  name: 'Décompte de notaire et acte d\'achat',
624
657
  idGedFolder: GedFolder.JURIDICAL,
658
+ helpText: 'Le décompte du notaire définitif doit détailler toutes les opérations intervenues'
625
659
  },
626
660
  [TypeFile.PV_RESULT_ALLOCATION]: {
627
661
  typeFile: TypeFile.PV_RESULT_ALLOCATION,
@@ -727,5 +761,103 @@ export const TypeFileDetail: Record<number, {
727
761
  typeFile: TypeFile.FINANCING_CONTRACTS_OR_SUBSIDY_AGREEMENTS,
728
762
  name: 'Contrats de financement ou conventions de subvention',
729
763
  idGedFolder: GedFolder.SUBVENTION,
764
+ },
765
+ [TypeFile.CAISSE]: {
766
+ typeFile: TypeFile.CAISSE,
767
+ name: 'Livre de caisse',
768
+ idGedFolder: GedFolder.CASH_BOOK,
769
+ helpText: `Créer un tableau structuré Le livre de caisse peut être tenu sur papier, dans un tableur (Excel), ou via un logiciel comptable. Il doit comporter les colonnes suivantes :
770
+ Date
771
+ Libellé / Description de l’opération
772
+ Pièce justificative (n° ou référence)
773
+ Entrée (recette)
774
+ Sortie (dépense)
775
+ Solde
776
+ Enregistrer chaque opération
777
+ Dès qu’une opération en espèces est effectuée, elle doit être inscrite dans le livre de caisse.
778
+ Le solde doit être mis à jour après chaque mouvement.
779
+ Conserver les justificatifs
780
+ Chaque opération doit être appuyée par une pièce justificative (facture, reçu, ticket de caisse…).
781
+ Ces documents doivent être classés et conservés.
782
+ Faire des contrôles réguliers
783
+ Vérifiez que le solde du livre de caisse correspond au montant réel dans la caisse. En cas d’écart, il faut l’expliquer et le corriger.
784
+ Clôturer périodiquement
785
+ À la fin de chaque mois ou période comptable, le livre de caisse peut être clôturé et archivé`
786
+ },
787
+ [TypeFile.STOCK]: {
788
+ typeFile: TypeFile.STOCK,
789
+ name: 'L\'état de vos stocks à la date de clôture',
790
+ idGedFolder: GedFolder.STOCK,
791
+ helpText: 'L’état des stocks doit recenser l’ensemble des produits disponibles à la date de clôture. Chaque article doit être identifié précisément, classé par catégorie (matières premières, marchandises, produits finis), et valorisé au prix d’achat hors taxes (HT). Ce document doit impérativement être daté et signé'
792
+ },
793
+ [TypeFile.RECIPROCITY]: {
794
+ typeFile: TypeFile.RECIPROCITY,
795
+ name: 'Le grand livre de réciprocité des comptes',
796
+ idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
797
+ helpText: 'Votre société détient ou a cédé des actions à une autre entité, ce qui établit un lien capitalistique entre les deux sociétés. En conséquence, des mouvements comptables peuvent exister entre elles. Afin d\'assurer la cohérence des écritures comptables, nous vous demandons de nous transmettre les grands livres des opérations enregistrées dans la comptabilité de l’autre société. Cela nous permettra de rapprocher et cadrer les flux entre les deux entités'
798
+ },
799
+ [TypeFile.SUPPLIER_DEBTS]: {
800
+ typeFile: TypeFile.SUPPLIER_DEBTS,
801
+ name: 'Vos dettes fournisseurs',
802
+ idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
803
+ helpText: 'Les factures d’achats émises avant la clôture de l’exercice mais non réglées à cette date'
804
+ },
805
+ [TypeFile.CUSTOMER_RECEIVABLES]: {
806
+ typeFile: TypeFile.CUSTOMER_RECEIVABLES,
807
+ name: 'Vos créances clients',
808
+ idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
809
+ helpText: 'Les factures de ventes émises avant la clôture de l’exercice mais non encaissées à cette date'
810
+ },
811
+ [TypeFile.PAYROLL_ACCOUNTING_FILE]: {
812
+ typeFile: TypeFile.PAYROLL_ACCOUNTING_FILE,
813
+ name: 'Votre fichier des écritures comptables de paie',
814
+ idGedFolder: GedFolder.PAY_SLIPS,
815
+ helpText: 'Les écritures de paie, le tableau des charges, le livre de paie annuel. Ces documents sont fournis par le prestataire qui établit les bulletins de salaire'
816
+ },
817
+ [TypeFile.MONTHLY_TESE_SUMMARIES]: {
818
+ typeFile: TypeFile.MONTHLY_TESE_SUMMARIES,
819
+ name: 'États des récapitulatifs mensuels TESE',
820
+ idGedFolder: GedFolder.PAY_SLIPS,
821
+ },
822
+ [TypeFile.TICKET_Z]: {
823
+ typeFile: TypeFile.TICKET_Z,
824
+ name: 'Vos ticket Z',
825
+ idGedFolder: GedFolder.CASH_BOOK,
826
+ helpText: 'Un ticket Z mensuel regroupe et récapitule toutes les ventes enregistrées durant le mois. Le document est édité par la caisse enregistreuse à la fin d’un mois'
827
+ },
828
+ [TypeFile.POLICE_BOOK]: {
829
+ typeFile: TypeFile.POLICE_BOOK,
830
+ name: 'Votre livre de police',
831
+ idGedFolder: GedFolder.SUMMARY,
832
+ helpText: 'Récapitulatif des achats et des ventes de vos véhicules afin de comparer la marge. Le document doit être signé et tamponné par la mairie ou la police avant remplissage de celui-ci'
833
+ },
834
+ [TypeFile.STRIPE_AMAZON_STATEMENTS]: {
835
+ typeFile: TypeFile.STRIPE_AMAZON_STATEMENTS,
836
+ name: ' Vos relevés stripe, amazon ect.',
837
+ idGedFolder: GedFolder.SUMMARY,
838
+ helpText: `Stripe : Dans le menu Rapports → Balance ou Relevés financiers, vous pouvez générer un rapport mensuel complet en PDF ou CSV incluant paiements, frais, remboursements, et soldes.
839
+ Amazon : Rendez-vous sur Business Analytics.
840
+ Sous Rapports, sélectionnez Commandes.
841
+ Sélectionnez la période, les filtres, les colonnes, les factures et tous les documents liés à la commande que vous souhaitez télécharger.
842
+ Saisissez un nom pour votre rapport de commande.
843
+ Sélectionnez Télécharger en format PDF`
844
+ },
845
+ [TypeFile.INVOICING_SOFTWARE_SUMMARY]: {
846
+ typeFile: TypeFile.INVOICING_SOFTWARE_SUMMARY,
847
+ name: 'Un récapitulatif de votre logiciel de facturation détaillé par type d’encaissement et par taux de TVA',
848
+ idGedFolder: GedFolder.SUMMARY,
849
+ },
850
+ [TypeFile.MILEAGE_ALLOWANCES_SUMMARY]: {
851
+ typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
852
+ name: 'Un récapitulatif de vos indemnités kilométriques',
853
+ idGedFolder: GedFolder.SUMMARY,
854
+ helpText: `Le récapitulatif de vos indemnités kilométriques (IK) doit comporter les éléments suivants :
855
+ Le lieu de départ
856
+ Le lieu d’arrivée
857
+ Le nombre de kilomètres parcourus
858
+ Le véhicule utilisé
859
+ La puissance fiscale du véhicule (CV fiscaux)
860
+ Le barème appliqué
861
+ Le montant de l’indemnité calculée`
730
862
  }
731
863
  };
@@ -0,0 +1,5 @@
1
+ export enum InformationRequestState {
2
+ PENDING = 1,
3
+ COMPLETED = 2,
4
+ NOT_CONCERNED = 3,
5
+ }
@@ -0,0 +1,51 @@
1
+ import { TypeFile } from './Ged';
2
+
3
+ export enum InformationRequestType {
4
+ CASH_BOOK = 1,
5
+ STOCK_STATUS = 2,
6
+ SUPPLIER_DEBTS = 3,
7
+ CUSTOMER_RECEIVABLES = 4,
8
+ Z_TICKETS = 5,
9
+ KILOMETRIC_ALLOWANCES_SUMMARY = 6,
10
+ }
11
+
12
+ export interface InformationRequestTypeDetail {
13
+ id: InformationRequestType;
14
+ name: string;
15
+ typeFile?: TypeFile; // For some information request, we ask for upload a document too
16
+ helpText?: string;
17
+ }
18
+
19
+ export const InformationRequestTypeDetails: Record<
20
+ InformationRequestType,
21
+ InformationRequestTypeDetail
22
+ > = {
23
+ [InformationRequestType.CASH_BOOK]: {
24
+ id: InformationRequestType.CASH_BOOK,
25
+ name: 'Livre de caisse',
26
+ typeFile: TypeFile.CAISSE,
27
+ },
28
+ [InformationRequestType.STOCK_STATUS]: {
29
+ id: InformationRequestType.STOCK_STATUS,
30
+ name: 'L\'état de vos stocks à la date de clôture',
31
+ },
32
+ [InformationRequestType.SUPPLIER_DEBTS]: {
33
+ id: InformationRequestType.SUPPLIER_DEBTS,
34
+ name: 'Vos dettes fournisseurs',
35
+ typeFile: TypeFile.SUPPLIER_DEBTS,
36
+ },
37
+ [InformationRequestType.CUSTOMER_RECEIVABLES]: {
38
+ id: InformationRequestType.CUSTOMER_RECEIVABLES,
39
+ name: 'Vos créances clients',
40
+ typeFile: TypeFile.CUSTOMER_RECEIVABLES,
41
+ },
42
+ [InformationRequestType.Z_TICKETS]: {
43
+ id: InformationRequestType.Z_TICKETS,
44
+ name: 'Vos ticket Z',
45
+ },
46
+ [InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY]: {
47
+ id: InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY,
48
+ name: 'Un récapitulatif de vos indemnités kilométriques',
49
+ typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
50
+ },
51
+ };
@@ -5,7 +5,7 @@ export const LetterType = {
5
5
  },
6
6
  SATISFIED_OR_REFUNDED: {
7
7
  id: 2,
8
- name: 'Satisfait ou remboursé',
8
+ name: 'Rétractation',
9
9
  },
10
10
  DOCUMENT: {
11
11
  id: 3,
@@ -25,7 +25,7 @@ export const LetterType = {
25
25
  },
26
26
  ORDER_LETTER: {
27
27
  id: 7,
28
- name: 'Lettre à l\'Ordre',
28
+ name: "Lettre à l'Ordre",
29
29
  },
30
30
  CLAIM: {
31
31
  id: 8,
@@ -27,6 +27,7 @@ export enum ReasonTerminationType {
27
27
  CHANGES_NEW_OFFERS = 26,
28
28
  REJECTION_OF_THE_AMENDMENT = 27,
29
29
  CLEANING = 28, //Demandée par Morgane pour supprimer des sociétés qui n'ont pas lieu d'exister
30
+ CANCELLATION = 29,
30
31
  }
31
32
 
32
33
  export const ReasonTerminationTypeDetail = [
@@ -170,4 +171,9 @@ export const ReasonTerminationTypeDetail = [
170
171
  label: 'Nettoyage Clementinier',
171
172
  active: true,
172
173
  },
174
+ {
175
+ id: ReasonTerminationType.CANCELLATION,
176
+ label: 'Radiation',
177
+ active: true,
178
+ },
173
179
  ];
@@ -581,71 +581,13 @@ export type PayloadCerfa3310_2024 = {
581
581
 
582
582
  export type PayloadCerfa3310_2025 = PayloadCerfa3310_2024;
583
583
 
584
- export type PayloadCerfa3310A_2025 = {
585
- startDate: string;
586
- endDate: string;
587
- society: {
588
- address: string;
589
- zipCode: string;
590
- city: string;
591
- };
592
- comment: string | null;
593
- tax: {
594
- yearlyOnCo2: {
595
- total: number;
596
- numberOfVehicles: {
597
- newDevice: number;
598
- oldDevice: number;
599
- other: number;
600
- exonerate: number;
601
- exonerateLikeElectric: number;
602
- },
603
- }
604
- yearlyOnAtmosphericPolluant: {
605
- total: number;
606
- numberOfVehicles: {
607
- exonerate: number;
608
- },
609
- },
610
- }
611
- };
612
-
613
584
  export type Cerfa3310_2025 = Cerfa3310_2024 & {
614
585
  isHolidayDeposit?: boolean;
615
- shouldFillTVS?: boolean;
616
586
  tic?: {
617
587
  other?: Omit<Tic, 'tax'>;
618
588
  gasoline?: { tax: number };
619
589
  };
620
590
  };
621
591
 
622
- export type Cerfa3310A_2025 = {
623
- declaration: {
624
- recipient: {
625
- address: { full: string };
626
- };
627
- period: { startDate: string; endDate: string; }; // TODO:
628
- comment: string | null;
629
- };
630
- tax: {
631
- yearlyOnCo2: {
632
- total: number;
633
- numberOfVehicles: {
634
- newDevice: number;
635
- oldDevice: number;
636
- other: number;
637
- exonerateLikeElectric: number;
638
- exonerate: number;
639
- };
640
- yearlyOnAtmosphericPolluant: {
641
- total: number;
642
- numberOfVehicles: {
643
- exonerate: number;
644
- }
645
- }
646
- }
647
- }
648
- }
649
-
650
592
  export type AnyCerfa3310_Century = Cerfa3310_2023 | Cerfa3310_2024 | Cerfa3310_2025;
651
593
  export type AnyPayloadCerfa3310_Century = PayloadCerfa3310_2023 | PayloadCerfa3310_2024;
@@ -16,16 +16,14 @@ import {
16
16
  } from '../../..';
17
17
  import { Question } from '../../../Enum/BalanceSheetQuestion';
18
18
  import { TerminationType } from '../../../Enum/AnswerTypeValue';
19
- import { AnyCerfa3310_Century, PayloadCerfa3310A_2025 } from './3310';
19
+ import { Cerfa3310_2023 } from './3310';
20
20
  import { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';
21
21
  import { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';
22
- import { getCerfa3310ACentury25Payload } from '../../../../utils/vat/3310A/century25';
23
22
 
24
23
  export type CerfaPayloadFormField = {
25
24
  label: string;
26
25
  key: string;
27
26
  type: 'text' | 'string' | 'number' | 'boolean' | 'date';
28
- icon?: boolean;
29
27
  visibleIf?: string;
30
28
  columns?: number;
31
29
  };
@@ -41,13 +39,13 @@ export type CerfaPayloadForm = {
41
39
  };
42
40
 
43
41
  export type AnnexVatDocument = {
44
- shouldInclude: (data: AnyCerfa3310_Century) => boolean;
42
+ shouldInclude: (data: Cerfa3310_2023) => boolean;
45
43
  name: string;
46
44
  century: string;
47
- payload: ((amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>) | ((_: undefined, payload: PayloadCerfa3310A_2025) => ReturnType<typeof getCerfa3310ACentury25Payload>);
48
- asponePayload: (data: Cerfa3519_2017, metadata?: { iban?: string; bic?: string;}) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;
45
+ payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;
46
+ asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;
49
47
  fields: CerfaPayloadForm[];
50
- fileName: '3519-2017' | '3310A-2025';
48
+ fileName: '3519-2017';
51
49
  };
52
50
 
53
51
  export type VatDocument = {
@@ -59,7 +57,8 @@ export type VatDocument = {
59
57
  asponePayload: (...args: any[]) => any;
60
58
  fields: Array<CerfaPayloadForm>;
61
59
  fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';
62
- annexs?: AnnexVatDocument[];
60
+ annex?: AnnexVatDocument;
61
+ annexFields?: (data: any) => AsponeFormFields;
63
62
  };
64
63
 
65
64
  export interface ReadCerfaToComplete {
@@ -116,7 +115,6 @@ export type Termination = {
116
115
 
117
116
  export type AsponeFormFields = Array<{
118
117
  name: string;
119
- millesime?: number;
120
118
  /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
121
119
  nilKey?: string;
122
120
  fields: FieldForGeneration[];
@@ -1,7 +1,8 @@
1
- import { IsEnum, IsInt, IsOptional } from 'class-validator';
1
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { IDocumentRequest } from '../../models/IDocumentRequest';
4
4
  import { TypeFile } from '../../../Enum/Ged';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
5
6
 
6
7
  export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
7
8
  @ApiProperty()
@@ -25,4 +26,10 @@ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idR
25
26
  @ApiPropertyOptional()
26
27
  @IsOptional()
27
28
  comment?: string;
29
+
30
+ @ApiPropertyOptional()
31
+ @IsOptional()
32
+ @IsBoolean()
33
+ @ToBoolean()
34
+ isMandatory?: boolean;
28
35
  }
@@ -1,5 +1,6 @@
1
- import { IsInt, IsOptional } from 'class-validator';
1
+ import { IsArray, IsInt, IsOptional } from 'class-validator';
2
2
  import { ApiPropertyOptional } from '../../../../utils';
3
+ import { TypeFile } from '../../../Enum/Ged';
3
4
 
4
5
  export class QueryDocumentRequest {
5
6
  @ApiPropertyOptional()
@@ -11,4 +12,14 @@ export class QueryDocumentRequest {
11
12
  @IsOptional()
12
13
  @IsInt()
13
14
  idBalanceSheet?: number;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsInt()
19
+ idRequestedBy?: number;
20
+
21
+ @ApiPropertyOptional()
22
+ @IsOptional()
23
+ @IsArray()
24
+ typeFile?: TypeFile[];
14
25
  }
@@ -0,0 +1,43 @@
1
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { IDocumentRequest } from '../../models/IDocumentRequest';
4
+ import { TypeFile } from '../../../Enum/Ged';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
6
+
7
+ export class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {
8
+ @ApiPropertyOptional()
9
+ @IsOptional()
10
+ @IsInt()
11
+ idSociety?: number;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsEnum(TypeFile)
16
+ typeFile?: TypeFile;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsInt()
21
+ idExercice?: number;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsInt()
26
+ idBalanceSheet?: number;
27
+
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ comment?: string;
31
+
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ @IsBoolean()
35
+ @ToBoolean()
36
+ isNotConcerned?: boolean;
37
+
38
+ @ApiPropertyOptional()
39
+ @IsOptional()
40
+ @IsBoolean()
41
+ @ToBoolean()
42
+ isMandatory?: boolean;
43
+ }
@@ -0,0 +1,31 @@
1
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { IInformationRequest } from '../../models/IInformationRequest';
4
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
6
+
7
+ export class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
8
+ @ApiProperty()
9
+ @IsInt()
10
+ idSociety: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ idExercice?: number | null;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ idBalanceSheet?: number | null;
21
+
22
+ @ApiProperty()
23
+ @IsEnum(InformationRequestType)
24
+ type: InformationRequestType;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsOptional()
28
+ @IsBoolean()
29
+ @ToBoolean()
30
+ isMandatory?: boolean;
31
+ }
@@ -0,0 +1,36 @@
1
+ import { IsArray, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
4
+ import { InformationRequestState } from '../../../Enum/InformationRequestState';
5
+
6
+ export class QueryInformationRequest {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsInt()
10
+ idSociety?: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ idExercice?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ idBalanceSheet?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsInt()
25
+ idRequestedBy?: number;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ @IsArray()
30
+ type?: InformationRequestType[];
31
+
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ @IsArray()
35
+ state?: InformationRequestState[];
36
+ }
@@ -0,0 +1,39 @@
1
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { IInformationRequest } from '../../models/IInformationRequest';
4
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
5
+ import { InformationRequestState } from '../../../Enum/InformationRequestState';
6
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
7
+
8
+ export class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
9
+ @ApiPropertyOptional()
10
+ @IsOptional()
11
+ @IsInt()
12
+ idSociety?: number;
13
+
14
+ @ApiPropertyOptional()
15
+ @IsOptional()
16
+ @IsInt()
17
+ idExercice?: number;
18
+
19
+ @ApiPropertyOptional()
20
+ @IsOptional()
21
+ @IsInt()
22
+ idRequestedBy?: number;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsOptional()
26
+ @IsEnum(InformationRequestType)
27
+ type?: InformationRequestType;
28
+
29
+ @ApiPropertyOptional()
30
+ @IsOptional()
31
+ @IsEnum(InformationRequestState)
32
+ state?: InformationRequestState;
33
+
34
+ @ApiPropertyOptional()
35
+ @IsOptional()
36
+ @IsBoolean()
37
+ @ToBoolean()
38
+ isMandatory?: boolean;
39
+ }
@@ -16,7 +16,7 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
16
16
  import { CerfaType } from '../../../Enum/CerfaType';
17
17
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
18
18
  import { Rof } from '../../../Enum/Aspone';
19
- import { Cerfa3310_2023, Cerfa3310A_2025 } from '../cerfa/3310';
19
+ import { Cerfa3310_2023 } from '../cerfa/3310';
20
20
  import { Cerfa3519_2017 } from '../cerfa/3519';
21
21
  import { CerfaFormValue } from '../cerfa/ReadCerfa';
22
22
  import { UpdatedAnnotation } from './ReadRegistration';
@@ -127,13 +127,9 @@ export class UpdateOrCreateVatRegistration {
127
127
  @ApiProperty()
128
128
  payload: Cerfa3310_2023;
129
129
 
130
- /** @deprecated use annexs */
131
130
  @ApiPropertyOptional()
132
131
  annexPayload?: Cerfa3519_2017;
133
132
 
134
- @ApiPropertyOptional()
135
- annexs: { payload: Cerfa3519_2017 | Cerfa3310A_2025; name: '3519' | '3310A'; }[];
136
-
137
133
  @ApiPropertyOptional()
138
134
  @IsBoolean()
139
135
  @ToBoolean()
@@ -1,4 +1,6 @@
1
- // balanceSheetModule
1
+ import { IExercice } from './IExercice';
2
+ import { ISociety } from './ISociety';
3
+
2
4
  export interface IBalanceSheetModule {
3
5
  id?: number;
4
6
  inventory: boolean | null;
@@ -32,4 +34,8 @@ export interface IBalanceSheetModule {
32
34
  idExercice: number;
33
35
  createdAt?: Date | null;
34
36
  updatedAt?: Date | null;
37
+
38
+ // Associations
39
+ society?: ISociety;
40
+ exercice?: IExercice;
35
41
  }
@@ -7,13 +7,19 @@ import { IFile } from './IFile';
7
7
  import { IGedFile } from './IGedFile';
8
8
 
9
9
  export interface IDocumentRequest {
10
- id: number;
10
+ id?: number;
11
11
  idSociety: number;
12
12
  idExercice?: number | null;
13
13
  idBalanceSheet?: number | null;
14
- idRequestedBy: number;
14
+ idRequestedBy: number; // IUser who requested the document
15
15
  typeFile: TypeFile;
16
16
  comment?: string | null;
17
+ isNotConcerned?: boolean; // This can't be null (default false in db)
18
+ isMandatory?: boolean; // If true, client cannot mark this request as not concerned
19
+ notConcernedAt?: Date | null;
20
+ createdAt?: Date | null;
21
+ updatedAt?: Date | null;
22
+ deletedAt?: Date | null;
17
23
 
18
24
  // Associations
19
25
  society?: ISociety;