@silexpert/core 1.3.130 → 1.3.131-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 (265) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +1 -28
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +0 -39
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +16 -0
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/Mfa.js +23 -0
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -0
  9. package/dist/cjs/api/resources.d.ts +2 -2
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -2
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/ChecklistType.d.ts +1 -8
  14. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/ChecklistType.js +0 -8
  16. package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
  17. package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
  18. package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
  19. package/dist/cjs/types/Enum/Ged.d.ts +1 -31
  20. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/Ged.js +5 -152
  22. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  23. package/dist/cjs/types/Enum/PrestationType.js +15 -15
  24. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  25. package/dist/cjs/types/Enum/ZoneCode.d.ts +0 -6
  26. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/ZoneCode.js +0 -7
  28. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  30. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  31. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
  32. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  33. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +0 -3
  34. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/api/checklist/Query.js +1 -10
  36. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  37. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +1 -11
  38. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  39. package/dist/cjs/types/Interface/api/checklist/Update.js +1 -49
  40. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  41. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
  42. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  43. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +1 -9
  44. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  45. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
  46. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  47. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +2 -6
  48. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/mfa/DisableMfa.dto.d.ts +4 -0
  50. package/dist/cjs/types/Interface/api/mfa/DisableMfa.dto.d.ts.map +1 -0
  51. package/dist/cjs/types/Interface/api/mfa/DisableMfa.dto.js +21 -0
  52. package/dist/cjs/types/Interface/api/mfa/DisableMfa.dto.js.map +1 -0
  53. package/dist/cjs/types/Interface/api/mfa/SetupInit.dto.d.ts +5 -0
  54. package/dist/cjs/types/Interface/api/mfa/SetupInit.dto.d.ts.map +1 -0
  55. package/dist/cjs/types/Interface/api/{documentRequest/Query.js → mfa/SetupInit.dto.js} +9 -14
  56. package/dist/cjs/types/Interface/api/mfa/SetupInit.dto.js.map +1 -0
  57. package/dist/cjs/types/Interface/api/mfa/SetupVerify.dto.d.ts +5 -0
  58. package/dist/cjs/types/Interface/api/mfa/SetupVerify.dto.d.ts.map +1 -0
  59. package/dist/cjs/types/Interface/api/mfa/SetupVerify.dto.js +25 -0
  60. package/dist/cjs/types/Interface/api/mfa/SetupVerify.dto.js.map +1 -0
  61. package/dist/cjs/types/Interface/api/mfa/VerifyCode.dto.d.ts +5 -0
  62. package/dist/cjs/types/Interface/api/mfa/VerifyCode.dto.d.ts.map +1 -0
  63. package/dist/cjs/types/Interface/api/mfa/VerifyCode.dto.js +26 -0
  64. package/dist/cjs/types/Interface/api/mfa/VerifyCode.dto.js.map +1 -0
  65. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.d.ts +5 -0
  66. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.d.ts.map +1 -0
  67. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.js +26 -0
  68. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.js.map +1 -0
  69. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  70. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  71. package/dist/cjs/types/Interface/{models/IDocumentRequest.js → api/mfa/mfa.js} +1 -1
  72. package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
  73. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
  74. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  75. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  76. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  77. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  79. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  80. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  82. package/dist/cjs/types/Interface/models/IGedFile.d.ts +1 -6
  83. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  84. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  85. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  86. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  87. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  88. package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
  89. package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  90. package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
  91. package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
  92. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  93. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  94. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
  95. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  96. package/dist/cjs/types/index.d.ts +1 -3
  97. package/dist/cjs/types/index.d.ts.map +1 -1
  98. package/dist/cjs/types/index.js +1 -3
  99. package/dist/cjs/types/index.js.map +1 -1
  100. package/dist/cjs/utils/vat/utils.js +3 -3
  101. package/dist/cjs/utils/vat/utils.js.map +1 -1
  102. package/dist/mjs/api/resources/Checklist.d.ts +1 -28
  103. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  104. package/dist/mjs/api/resources/Checklist.js +0 -39
  105. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  106. package/dist/mjs/api/resources/Mfa.d.ts +16 -0
  107. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
  108. package/dist/mjs/api/resources/Mfa.js +19 -0
  109. package/dist/mjs/api/resources/Mfa.js.map +1 -0
  110. package/dist/mjs/api/resources.d.ts +2 -2
  111. package/dist/mjs/api/resources.d.ts.map +1 -1
  112. package/dist/mjs/api/resources.js +2 -2
  113. package/dist/mjs/api/resources.js.map +1 -1
  114. package/dist/mjs/types/Enum/ChecklistType.d.ts +1 -8
  115. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  116. package/dist/mjs/types/Enum/ChecklistType.js +0 -8
  117. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  118. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  119. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  120. package/dist/mjs/types/Enum/Ged.d.ts +1 -31
  121. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  122. package/dist/mjs/types/Enum/Ged.js +4 -151
  123. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  124. package/dist/mjs/types/Enum/PrestationType.js +15 -15
  125. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  126. package/dist/mjs/types/Enum/ZoneCode.d.ts +0 -6
  127. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  128. package/dist/mjs/types/Enum/ZoneCode.js +0 -7
  129. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  130. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  131. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  132. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
  133. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  134. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +0 -3
  135. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  136. package/dist/mjs/types/Interface/api/checklist/Query.js +0 -9
  137. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  138. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +1 -11
  139. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  140. package/dist/mjs/types/Interface/api/checklist/Update.js +3 -57
  141. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  142. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
  143. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  144. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +2 -12
  145. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  146. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
  147. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  148. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +3 -9
  149. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  150. package/dist/mjs/types/Interface/api/mfa/DisableMfa.dto.d.ts +4 -0
  151. package/dist/mjs/types/Interface/api/mfa/DisableMfa.dto.d.ts.map +1 -0
  152. package/dist/mjs/types/Interface/api/mfa/DisableMfa.dto.js +18 -0
  153. package/dist/mjs/types/Interface/api/mfa/DisableMfa.dto.js.map +1 -0
  154. package/dist/mjs/types/Interface/api/mfa/SetupInit.dto.d.ts +5 -0
  155. package/dist/mjs/types/Interface/api/mfa/SetupInit.dto.d.ts.map +1 -0
  156. package/dist/mjs/types/Interface/api/{documentRequest/Query.js → mfa/SetupInit.dto.js} +10 -15
  157. package/dist/mjs/types/Interface/api/mfa/SetupInit.dto.js.map +1 -0
  158. package/dist/mjs/types/Interface/api/mfa/SetupVerify.dto.d.ts +5 -0
  159. package/dist/mjs/types/Interface/api/mfa/SetupVerify.dto.d.ts.map +1 -0
  160. package/dist/mjs/types/Interface/api/mfa/SetupVerify.dto.js +23 -0
  161. package/dist/mjs/types/Interface/api/mfa/SetupVerify.dto.js.map +1 -0
  162. package/dist/mjs/types/Interface/api/mfa/VerifyCode.dto.d.ts +5 -0
  163. package/dist/mjs/types/Interface/api/mfa/VerifyCode.dto.d.ts.map +1 -0
  164. package/dist/mjs/types/Interface/api/mfa/VerifyCode.dto.js +24 -0
  165. package/dist/mjs/types/Interface/api/mfa/VerifyCode.dto.js.map +1 -0
  166. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.d.ts +5 -0
  167. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.d.ts.map +1 -0
  168. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.js +24 -0
  169. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.dto.js.map +1 -0
  170. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  171. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  172. package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
  173. package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
  174. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
  175. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  176. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  177. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  178. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  179. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  180. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  181. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  183. package/dist/mjs/types/Interface/models/IGedFile.d.ts +1 -6
  184. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  185. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  186. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  187. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  188. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  189. package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
  190. package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  191. package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
  192. package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
  193. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  194. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  195. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
  196. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  197. package/dist/mjs/types/index.d.ts +1 -3
  198. package/dist/mjs/types/index.d.ts.map +1 -1
  199. package/dist/mjs/types/index.js +1 -3
  200. package/dist/mjs/types/index.js.map +1 -1
  201. package/dist/mjs/utils/vat/utils.js +3 -3
  202. package/dist/mjs/utils/vat/utils.js.map +1 -1
  203. package/package.json +1 -1
  204. package/ts/api/resources/Checklist.ts +0 -49
  205. package/ts/api/resources/Mfa.ts +24 -0
  206. package/ts/api/resources.ts +2 -2
  207. package/ts/types/Enum/ChecklistType.ts +0 -9
  208. package/ts/types/Enum/ConstitutionState.ts +1 -1
  209. package/ts/types/Enum/Ged.ts +193 -345
  210. package/ts/types/Enum/PrestationType.ts +15 -15
  211. package/ts/types/Enum/ZoneCode.ts +0 -7
  212. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
  213. package/ts/types/Interface/api/checklist/Query.ts +0 -7
  214. package/ts/types/Interface/api/checklist/Update.ts +3 -44
  215. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +1 -7
  216. package/ts/types/Interface/api/library/QueryLibrary.ts +2 -4
  217. package/ts/types/Interface/api/mfa/DisableMfa.dto.ts +6 -0
  218. package/ts/types/Interface/api/mfa/SetupInit.dto.ts +9 -0
  219. package/ts/types/Interface/api/mfa/SetupVerify.dto.ts +9 -0
  220. package/ts/types/Interface/api/mfa/VerifyCode.dto.ts +10 -0
  221. package/ts/types/Interface/api/mfa/VerifyRecoveryCode.dto.ts +10 -0
  222. package/ts/types/Interface/api/mfa/mfa.ts +21 -0
  223. package/ts/types/Interface/api/mfa/setupInit +0 -0
  224. package/ts/types/Interface/api/society/ReadSociety.ts +3 -7
  225. package/ts/types/Interface/models/IChecklist.ts +2 -2
  226. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  227. package/ts/types/Interface/models/IGedFile.ts +1 -6
  228. package/ts/types/Interface/models/IUser.ts +1 -0
  229. package/ts/types/Interface/models/IUserMfa.ts +11 -0
  230. package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
  231. package/ts/types/index.ts +1 -3
  232. package/ts/utils/vat/utils.ts +3 -3
  233. package/dist/cjs/api/resources/DocumentRequest.d.ts +0 -10
  234. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +0 -1
  235. package/dist/cjs/api/resources/DocumentRequest.js +0 -23
  236. package/dist/cjs/api/resources/DocumentRequest.js.map +0 -1
  237. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
  238. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
  239. package/dist/cjs/types/Interface/api/documentRequest/Create.js +0 -46
  240. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +0 -1
  241. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
  242. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
  243. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +0 -1
  244. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
  245. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
  246. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +0 -1
  247. package/dist/mjs/api/resources/DocumentRequest.d.ts +0 -10
  248. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +0 -1
  249. package/dist/mjs/api/resources/DocumentRequest.js +0 -27
  250. package/dist/mjs/api/resources/DocumentRequest.js.map +0 -1
  251. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
  252. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
  253. package/dist/mjs/types/Interface/api/documentRequest/Create.js +0 -47
  254. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +0 -1
  255. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
  256. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
  257. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +0 -1
  258. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
  259. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
  260. package/dist/mjs/types/Interface/models/IDocumentRequest.js +0 -2
  261. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +0 -1
  262. package/ts/api/resources/DocumentRequest.ts +0 -32
  263. package/ts/types/Interface/api/documentRequest/Create.ts +0 -28
  264. package/ts/types/Interface/api/documentRequest/Query.ts +0 -14
  265. package/ts/types/Interface/models/IDocumentRequest.ts +0 -25
@@ -1161,7 +1161,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1161
1161
  },
1162
1162
  CESSION_ACTIONS: {
1163
1163
  id: 51,
1164
- name: 'Cession d\'actions',
1164
+ name: "Cession d'actions",
1165
1165
  isComptable: false,
1166
1166
  isJuridique: true,
1167
1167
  isSocial: false,
@@ -1218,7 +1218,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1218
1218
  },
1219
1219
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1220
1220
  id: 54,
1221
- name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1221
+ name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1222
1222
  isComptable: false,
1223
1223
  isJuridique: true,
1224
1224
  isSocial: false,
@@ -1370,7 +1370,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1370
1370
  },
1371
1371
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1372
1372
  id: 62,
1373
- name: 'Modification de l\'objet social (EURL/SASU)',
1373
+ name: "Modification de l'objet social (EURL/SASU)",
1374
1374
  isComptable: false,
1375
1375
  isJuridique: true,
1376
1376
  isSocial: false,
@@ -1712,7 +1712,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1712
1712
  },
1713
1713
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1714
1714
  id: 80,
1715
- name: 'Création d\'un dossier informatique par salarié',
1715
+ name: "Création d'un dossier informatique par salarié",
1716
1716
  isComptable: false,
1717
1717
  isJuridique: false,
1718
1718
  isSocial: true,
@@ -1731,7 +1731,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1731
1731
  },
1732
1732
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1733
1733
  id: 81,
1734
- name: 'Etablissement d\'un contrat de travail',
1734
+ name: "Etablissement d'un contrat de travail",
1735
1735
  isComptable: false,
1736
1736
  isJuridique: false,
1737
1737
  isSocial: true,
@@ -1788,7 +1788,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1788
1788
  },
1789
1789
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1790
1790
  id: 84,
1791
- name: 'Taxe d\'apprentissage et formation continue',
1791
+ name: "Taxe d'apprentissage et formation continue",
1792
1792
  isComptable: false,
1793
1793
  isJuridique: false,
1794
1794
  isSocial: true,
@@ -2017,7 +2017,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2017
2017
  },
2018
2018
  ATTESTATION_CA: {
2019
2019
  id: 97,
2020
- name: 'Attestation de chiffre d\'affaires',
2020
+ name: "Attestation de chiffre d'affaires",
2021
2021
  isComptable: true,
2022
2022
  isJuridique: false,
2023
2023
  isSocial: false,
@@ -2055,7 +2055,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2055
2055
  },
2056
2056
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2057
2057
  id: 99,
2058
- name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2058
+ name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2059
2059
  isComptable: false,
2060
2060
  isJuridique: true,
2061
2061
  isSocial: false,
@@ -2093,7 +2093,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2093
2093
  },
2094
2094
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2095
2095
  id: 103,
2096
- name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2096
+ name: "Modification de l'objet social (SARL/SAS/SCI)",
2097
2097
  isComptable: false,
2098
2098
  isJuridique: true,
2099
2099
  isSocial: false,
@@ -2150,7 +2150,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2150
2150
  },
2151
2151
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2152
2152
  id: 106,
2153
- name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2153
+ name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2154
2154
  isComptable: false,
2155
2155
  isJuridique: true,
2156
2156
  isSocial: false,
@@ -2720,7 +2720,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2720
2720
  },
2721
2721
  CONTRAT_APPORT_EN_NATURE: {
2722
2722
  id: 138,
2723
- name: 'Contrat d\'apport en nature',
2723
+ name: "Contrat d'apport en nature",
2724
2724
  isComptable: false,
2725
2725
  isJuridique: true,
2726
2726
  isSocial: false,
@@ -3309,7 +3309,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3309
3309
  },
3310
3310
  DECLARATION_IR: {
3311
3311
  id: 206,
3312
- name: 'Déclaration d\'IR',
3312
+ name: "Déclaration d'IR",
3313
3313
  isComptable: true,
3314
3314
  isJuridique: false,
3315
3315
  isSocial: false,
@@ -3423,7 +3423,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3423
3423
  },
3424
3424
  STATUTS_FREE: {
3425
3425
  id: PrestationType.STATUTS_FREE,
3426
- name: 'Statuts - Just\' Statuts',
3426
+ name: "Statuts - Just' Statuts",
3427
3427
  isComptable: true,
3428
3428
  isJuridique: true,
3429
3429
  isSocial: false,
@@ -3442,7 +3442,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3442
3442
  },
3443
3443
  STATUTS_OPTION_1: {
3444
3444
  id: PrestationType.STATUTS_OPTION_1,
3445
- name: 'Statuts - Just\' Création',
3445
+ name: "Statuts - Just' Création",
3446
3446
  isComptable: true,
3447
3447
  isJuridique: true,
3448
3448
  isSocial: false,
@@ -3461,7 +3461,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3461
3461
  },
3462
3462
  STATUTS_OPTION_2: {
3463
3463
  id: PrestationType.STATUTS_OPTION_2,
3464
- name: 'Statuts - Full\'Créa',
3464
+ name: "Statuts - Full'Créa",
3465
3465
  isComptable: true,
3466
3466
  isJuridique: true,
3467
3467
  isSocial: false,
@@ -304,9 +304,6 @@ export const ZoneCode = {
304
304
  SARTHE: {
305
305
  zone_code: '72',
306
306
  },
307
- VAL_D_OISE: {
308
- zone_code: '95',
309
- },
310
307
  SAINT_PIERRE_ET_MIQUELON: {
311
308
  zone_code: '975',
312
309
  },
@@ -740,10 +737,6 @@ export const ZoneCodeList = [
740
737
  id: ZoneCode.SARTHE.zone_code,
741
738
  label: 'Sarthe',
742
739
  },
743
- {
744
- id: ZoneCode.VAL_D_OISE.zone_code,
745
- label: 'Val d\'oise',
746
- },
747
740
  {
748
741
  id: ZoneCode.SAINT_PIERRE_ET_MIQUELON.zone_code,
749
742
  label: 'Saint-Pierre-et-Miquelon',
@@ -0,0 +1,6 @@
1
+ export interface IAuthenticationResponse {
2
+ requiresMfa?: boolean;
3
+ userId?: number;
4
+ message?: string;
5
+ token?: string;
6
+ }
@@ -167,13 +167,6 @@ 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
-
177
170
  export class QueryChecklistUpdate {
178
171
  @ApiProperty()
179
172
  @IsBoolean()
@@ -1,8 +1,6 @@
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';
1
+ import { IsEnum, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+ import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
6
4
 
7
5
  export class UpdateAnswer {
8
6
  @ApiProperty()
@@ -13,42 +11,3 @@ export class UpdateAnswer {
13
11
  @IsEnum(ChecklistDetailValue)
14
12
  value: ChecklistDetailValue;
15
13
  }
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
- }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, 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,7 +22,6 @@ export class CreateFileAndGed {
22
22
  @ApiPropertyOptional()
23
23
  @IsNumber()
24
24
  @IsOptional()
25
- /** @deprecated use TypeFile enum with GedFile.typeFile field */
26
25
  idTypeGedFile?: number;
27
26
 
28
27
  @ApiProperty()
@@ -73,9 +72,4 @@ export class CreateFileAndGed {
73
72
  @IsBoolean()
74
73
  @ToBoolean()
75
74
  formatFileName?: boolean | null;
76
-
77
- @ApiPropertyOptional()
78
- @IsOptional()
79
- @IsInt()
80
- idDocumentRequest?: number | null;
81
75
  }
@@ -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, TypeFile } from '../../../Enum/Ged';
3
+ import { GedFolder, GedFileType, GedCategory } 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,7 +13,6 @@ export class QueryLibraryFile {
13
13
  idGedFolder?: GedFolder;
14
14
 
15
15
  @ApiPropertyOptional()
16
- /** @deprecated use TypeFile enum with GedFile.typeFile field */
17
16
  idTypeGedFile?: GedFileType | GedFileType[];
18
17
 
19
18
  @ApiPropertyOptional()
@@ -37,7 +36,7 @@ export class QueryLibraryFile {
37
36
  @ApiPropertyOptional()
38
37
  @IsNumber()
39
38
  @IsOptional()
40
- typeFile?: TypeFile;
39
+ typeFile?: number;
41
40
 
42
41
  @ApiPropertyOptional()
43
42
  @IsBoolean()
@@ -150,7 +149,6 @@ export class QueryLastFileOfType {
150
149
  idSociety: number;
151
150
 
152
151
  @ApiProperty()
153
- /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
154
152
  idTypeGedFile: GedFileType;
155
153
 
156
154
  @ApiPropertyOptional()
@@ -0,0 +1,6 @@
1
+ import { IsNotEmpty } from 'class-validator';
2
+
3
+ export class MfaDisableDto {
4
+ @IsNotEmpty()
5
+ userId: number;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { IsEmail, IsNotEmpty } from 'class-validator';
2
+
3
+ export class MfaSetupInitDto {
4
+ @IsNotEmpty()
5
+ userId: number;
6
+
7
+ @IsEmail()
8
+ userEmail: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { IsNotEmpty } from 'class-validator';
2
+
3
+ export class MfaSetupVerifyDto {
4
+ @IsNotEmpty()
5
+ userId: number;
6
+
7
+ @IsNotEmpty()
8
+ code: string;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { IsNotEmpty, IsString, Length } from 'class-validator';
2
+
3
+ export class MfaVerifyCodeDto {
4
+ @IsNotEmpty()
5
+ userId: number;
6
+
7
+ @IsString()
8
+ @Length(6, 6)
9
+ code: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { IsNotEmpty, IsString } from 'class-validator';
2
+
3
+ export class MfaVerifyRecoveryCodeDto {
4
+ @IsNotEmpty()
5
+ userId: number;
6
+
7
+ @IsString()
8
+ @IsNotEmpty()
9
+ recoveryCode: string;
10
+ }
@@ -0,0 +1,21 @@
1
+ export interface MfaSetupInitResult {
2
+ otpauthUri: string;
3
+ tempSecret: string;
4
+ label: string;
5
+ }
6
+
7
+ export interface MfaSetupVerifyResult {
8
+ success: boolean;
9
+ recoveryCodes: string[];
10
+ }
11
+
12
+ export interface MfaAuthenticationResponse {
13
+ requiresMfa: boolean;
14
+ userId?: number;
15
+ token?: string;
16
+ }
17
+
18
+ export interface MfaVerificationResponse {
19
+ success: boolean;
20
+ token?: string;
21
+ }
File without changes
@@ -1,4 +1,4 @@
1
- import { IFile, TypeFile } from '../../..';
1
+ import { IFile } from '../../..';
2
2
 
3
3
  export type UnpaidDetail = {
4
4
  datePayment: Date;
@@ -20,10 +20,6 @@ export type ReadAskOrRequiredDocuments = {
20
20
  name: string;
21
21
  status: string;
22
22
  idGedFolder: number;
23
- idGedFileType?: number;
24
- typeFile?: TypeFile;
25
- idDocumentRequest?: number;
26
- idExercice?: number;
27
- idBalanceSheet?: number;
28
- idBankAccount?: number;
23
+ idGedFileType: number;
24
+ fileType: number;
29
25
  };
@@ -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
  }
@@ -8,21 +8,18 @@ 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';
13
11
 
14
12
  // gedFile
15
13
  export interface IGedFile {
16
14
  id?: number;
17
15
  emissionDate?: Date | null;
18
16
  statutFile?: number | null;
19
- /** @deprecated Use typeFile field instead with TypeFile enum */
20
17
  idTypeGedFile?: number | null;
21
18
  idUser?: number | null;
22
19
  idGedFolder: number;
23
20
  idSociety: number;
24
21
  idFile: number;
25
- typeFile?: TypeFile | null;
22
+ typeFile?: number | null;
26
23
  startDate?: Date | null;
27
24
  endDate?: Date | null;
28
25
  idExercice?: number | null;
@@ -30,7 +27,6 @@ export interface IGedFile {
30
27
  idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
31
28
  idBusinessPartner?: number | null;
32
29
  idBankAccount?: number | null;
33
- idDocumentRequest?: number | null;
34
30
  createdAt?: Date | null;
35
31
  updatedAt?: Date | null;
36
32
 
@@ -46,5 +42,4 @@ export interface IGedFile {
46
42
  userBP?: IUser;
47
43
  customerSignature?: ICustomerSignature;
48
44
  bankAccount?: IBankAccount;
49
- documentRequest?: IDocumentRequest;
50
45
  }
@@ -51,6 +51,7 @@ export interface IUser {
51
51
  textMessageNumber?: string | null;
52
52
  prefix?: string | null;
53
53
  tokenLostPassword?: string | null;
54
+ twoFactorEnabled?: boolean | null;
54
55
  tokenApi?: string | null;
55
56
  tokenNotification?: string | null;
56
57
  tokenSocket?: string | null;
@@ -0,0 +1,11 @@
1
+ export interface IUserMfa {
2
+ idUserMfa: number;
3
+ idUser: number;
4
+ method: 'totp' | 'sms' | 'email';
5
+ secretEnc: string;
6
+ tempSecretEnc: string;
7
+ verifiedAt: Date;
8
+ isPrimary: boolean;
9
+ createdAt?: Date;
10
+ updatedAt?: Date;
11
+ }
@@ -0,0 +1,8 @@
1
+ export interface IUserMfaRecoveryCode {
2
+ id: number;
3
+ idUserMfa: number;
4
+ recoveryCodeEnc: string; // haché, jamais en clair
5
+ usedAt: Date | null; // nullable
6
+ createdAt?: Date;
7
+ updatedAt?: Date;
8
+ }
package/ts/types/index.ts CHANGED
@@ -324,7 +324,6 @@ 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';
328
327
 
329
328
  // Schemas
330
329
  export * from './Interface/schemas/IRegistrationDetail';
@@ -558,6 +557,7 @@ export * from './Enum/PartneredAccountantServiceTypeId';
558
557
  export * from './Enum/PaymentAttempt';
559
558
 
560
559
  // Interfaces API
560
+ export * from './Interface/api/authentification/AuthenticationResponse';
561
561
  export * from './Interface/api/exercice/ReadExercice';
562
562
  export * from './Interface/api/balanceSheet/consistency/Read';
563
563
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -1136,8 +1136,6 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
1136
1136
  export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
1137
1137
  export * from './Interface/api/recurrence/Query';
1138
1138
  export * from './Interface/api/recurrence/Read';
1139
- export * from './Interface/api/documentRequest/Query';
1140
- export * from './Interface/api/documentRequest/Create';
1141
1139
 
1142
1140
  // Enums types
1143
1141
  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
@@ -1,10 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { CreateDocumentRequest, IDocumentRequest, QueryDocumentRequest } from '../../types';
3
- export declare class DocumentRequest extends Resource {
4
- create(body: CreateDocumentRequest): Promise<IDocumentRequest>;
5
- getAllBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]>;
6
- getPendingBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]>;
7
- getById(id: number, signal?: AbortSignal): Promise<IDocumentRequest>;
8
- delete(id: number): Promise<void>;
9
- }
10
- //# sourceMappingURL=DocumentRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentRequest.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/DocumentRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE5F,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI9D,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAOnH,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAOvH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAMpE,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DocumentRequest = void 0;
4
- const Resource_1 = require("../Resource");
5
- class DocumentRequest extends Resource_1.Resource {
6
- create(body) {
7
- return this.axios.$post('/documents-requests', body);
8
- }
9
- getAllBySociety(idSociety, query, signal) {
10
- return this.axios.$get(`/documents-requests/society/${idSociety}`, Object.assign(Object.assign({}, signal && { signal }), query && { params: query }));
11
- }
12
- getPendingBySociety(idSociety, query, signal) {
13
- return this.axios.$get(`/documents-requests/pending/${idSociety}`, Object.assign(Object.assign({}, signal && { signal }), query && { params: query }));
14
- }
15
- getById(id, signal) {
16
- return this.axios.$get(`/documents-requests/${id}`, Object.assign({}, signal && { signal }));
17
- }
18
- delete(id) {
19
- return this.axios.$delete(`/documents-requests/${id}`);
20
- }
21
- }
22
- exports.DocumentRequest = DocumentRequest;
23
- //# sourceMappingURL=DocumentRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentRequest.js","sourceRoot":"","sources":["../../../../ts/api/resources/DocumentRequest.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,MAAM,CAAC,IAA2B;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IAED,eAAe,CAAC,SAAiB,EAAE,KAA4B,EAAE,MAAoB;QACnF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,SAAS,EAAE,kCAC5D,MAAM,IAAI,EAAE,MAAM,EAAE,GACpB,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAC7B,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,SAAiB,EAAE,KAA4B,EAAE,MAAoB;QACvF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,SAAS,EAAE,kCAC5D,MAAM,IAAI,EAAE,MAAM,EAAE,GACpB,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAC7B,CAAC;IACL,CAAC;IAED,OAAO,CAAC,EAAU,EAAE,MAAoB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,oBAC7C,MAAM,IAAI,EAAE,MAAM,EAAE,EACvB,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC;IACzD,CAAC;CACF;AA5BD,0CA4BC","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateDocumentRequest, IDocumentRequest, QueryDocumentRequest } from '../../types';\n\nexport class DocumentRequest extends Resource {\n create(body: CreateDocumentRequest): Promise<IDocumentRequest> {\n return this.axios.$post('/documents-requests', body);\n }\n\n getAllBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]> {\n return this.axios.$get(`/documents-requests/society/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getPendingBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]> {\n return this.axios.$get(`/documents-requests/pending/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getById(id: number, signal?: AbortSignal): Promise<IDocumentRequest> {\n return this.axios.$get(`/documents-requests/${id}`, {\n ...signal && { signal },\n });\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/documents-requests/${id}`);\n }\n}\n"]}
@@ -1,10 +0,0 @@
1
- import { IDocumentRequest } from '../../models/IDocumentRequest';
2
- import { TypeFile } from '../../../Enum/Ged';
3
- export declare class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
4
- idSociety: number;
5
- typeFile: TypeFile;
6
- idExercice?: number;
7
- idBalanceSheet?: number;
8
- comment?: string;
9
- }
10
- //# sourceMappingURL=Create.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateDocumentRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- const Ged_1 = require("../../../Enum/Ged");
16
- class CreateDocumentRequest {
17
- }
18
- exports.CreateDocumentRequest = CreateDocumentRequest;
19
- __decorate([
20
- (0, utils_1.ApiProperty)(),
21
- (0, class_validator_1.IsInt)(),
22
- __metadata("design:type", Number)
23
- ], CreateDocumentRequest.prototype, "idSociety", void 0);
24
- __decorate([
25
- (0, utils_1.ApiProperty)(),
26
- (0, class_validator_1.IsEnum)(Ged_1.TypeFile),
27
- __metadata("design:type", Number)
28
- ], CreateDocumentRequest.prototype, "typeFile", void 0);
29
- __decorate([
30
- (0, utils_1.ApiPropertyOptional)(),
31
- (0, class_validator_1.IsOptional)(),
32
- (0, class_validator_1.IsInt)(),
33
- __metadata("design:type", Number)
34
- ], CreateDocumentRequest.prototype, "idExercice", void 0);
35
- __decorate([
36
- (0, utils_1.ApiPropertyOptional)(),
37
- (0, class_validator_1.IsOptional)(),
38
- (0, class_validator_1.IsInt)(),
39
- __metadata("design:type", Number)
40
- ], CreateDocumentRequest.prototype, "idBalanceSheet", void 0);
41
- __decorate([
42
- (0, utils_1.ApiPropertyOptional)(),
43
- (0, class_validator_1.IsOptional)(),
44
- __metadata("design:type", String)
45
- ], CreateDocumentRequest.prototype, "comment", void 0);
46
- //# sourceMappingURL=Create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,6CAAqE;AAErE,2CAA6C;AAE7C,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC;AAnBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI","sourcesContent":["import { IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare class QueryDocumentRequest {
2
- idExercice?: number;
3
- idBalanceSheet?: number;
4
- }
5
- //# sourceMappingURL=Query.d.ts.map