@silexpert/core 1.3.192 → 1.3.193-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 (419) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +0 -6
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +0 -6
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/DocumentRequest.d.ts +1 -3
  6. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/DocumentRequest.js +0 -6
  8. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  9. package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/InternalInvoicing.js +8 -0
  11. package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
  12. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  13. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Mfa.js +0 -4
  15. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  16. package/dist/cjs/api/resources/Shine.d.ts +1 -2
  17. package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
  18. package/dist/cjs/api/resources/Shine.js +0 -3
  19. package/dist/cjs/api/resources/Shine.js.map +1 -1
  20. package/dist/cjs/api/resources/Society.d.ts +1 -2
  21. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  22. package/dist/cjs/api/resources/Society.js +0 -3
  23. package/dist/cjs/api/resources/Society.js.map +1 -1
  24. package/dist/cjs/api/resources/User.d.ts +6 -1
  25. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  26. package/dist/cjs/api/resources/User.js +15 -0
  27. package/dist/cjs/api/resources/User.js.map +1 -1
  28. package/dist/cjs/api/resources.d.ts +0 -4
  29. package/dist/cjs/api/resources.d.ts.map +1 -1
  30. package/dist/cjs/api/resources.js +0 -4
  31. package/dist/cjs/api/resources.js.map +1 -1
  32. package/dist/cjs/types/Enum/AdjustmentType.js +4 -4
  33. package/dist/cjs/types/Enum/AdjustmentType.js.map +1 -1
  34. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
  36. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  37. package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
  38. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  39. package/dist/cjs/types/Enum/Card.d.ts +1 -7
  40. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Card.js +1 -9
  42. package/dist/cjs/types/Enum/Card.js.map +1 -1
  43. package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
  44. package/dist/cjs/types/Enum/Consistency.js +7 -7
  45. package/dist/cjs/types/Enum/Consistency.js.map +1 -1
  46. package/dist/cjs/types/Enum/DashboardBlock.d.ts +1 -2
  47. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  48. package/dist/cjs/types/Enum/DashboardBlock.js +0 -1
  49. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
  50. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  51. package/dist/cjs/types/Enum/EntityType.js +2 -2
  52. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  53. package/dist/cjs/types/Enum/Ged.d.ts +3 -9
  54. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  55. package/dist/cjs/types/Enum/Ged.js +56 -163
  56. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  57. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  58. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  59. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  60. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  61. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  62. package/dist/cjs/types/Enum/InformationRequestType.js +6 -12
  63. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
  64. package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  65. package/dist/cjs/types/Enum/KilometricAllowanceScale.js +0 -119
  66. package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  67. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -5
  68. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  69. package/dist/cjs/types/Enum/MailAuto.js +0 -4
  70. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  71. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  72. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  73. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  74. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  75. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  76. package/dist/cjs/types/Enum/Proceding.js +0 -4
  77. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  78. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  79. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  80. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  81. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  82. package/dist/cjs/types/Enum/Unit.d.ts +1 -2
  83. package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
  84. package/dist/cjs/types/Enum/Unit.js +0 -11
  85. package/dist/cjs/types/Enum/Unit.js.map +1 -1
  86. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  87. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  88. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  89. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  90. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  91. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  92. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  94. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/api/documentRequest/Query.js +1 -43
  96. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  98. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  99. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  100. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  101. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  102. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +15 -16
  103. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  105. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  106. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +14 -1
  107. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  108. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  109. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  110. package/dist/cjs/types/Interface/api/shine/{Query.js → GetConnect.js} +2 -9
  111. package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  112. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  113. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  114. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  115. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  116. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  118. package/dist/cjs/types/index.d.ts +1 -9
  119. package/dist/cjs/types/index.d.ts.map +1 -1
  120. package/dist/cjs/types/index.js +1 -9
  121. package/dist/cjs/types/index.js.map +1 -1
  122. package/dist/cjs/utils/checkup.d.ts +368 -12
  123. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  124. package/dist/cjs/utils/checkup.js +565 -342
  125. package/dist/cjs/utils/checkup.js.map +1 -1
  126. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  127. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  128. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  129. package/dist/cjs/utils/index.d.ts +0 -1
  130. package/dist/cjs/utils/index.d.ts.map +1 -1
  131. package/dist/cjs/utils/index.js +0 -1
  132. package/dist/cjs/utils/index.js.map +1 -1
  133. package/dist/cjs/utils/vat/centuries.js +2 -2
  134. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  135. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  136. package/dist/cjs/utils/vat/utils.js +2 -5
  137. package/dist/cjs/utils/vat/utils.js.map +1 -1
  138. package/dist/mjs/api/resources/Checklist.d.ts +0 -6
  139. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  140. package/dist/mjs/api/resources/Checklist.js +0 -6
  141. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  142. package/dist/mjs/api/resources/DocumentRequest.d.ts +1 -3
  143. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  144. package/dist/mjs/api/resources/DocumentRequest.js +0 -6
  145. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  146. package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  147. package/dist/mjs/api/resources/InternalInvoicing.js +8 -0
  148. package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
  149. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  150. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  151. package/dist/mjs/api/resources/Mfa.js +0 -4
  152. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  153. package/dist/mjs/api/resources/Shine.d.ts +1 -2
  154. package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
  155. package/dist/mjs/api/resources/Shine.js +0 -3
  156. package/dist/mjs/api/resources/Shine.js.map +1 -1
  157. package/dist/mjs/api/resources/Society.d.ts +1 -2
  158. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  159. package/dist/mjs/api/resources/Society.js +0 -3
  160. package/dist/mjs/api/resources/Society.js.map +1 -1
  161. package/dist/mjs/api/resources/User.d.ts +6 -1
  162. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  163. package/dist/mjs/api/resources/User.js +15 -0
  164. package/dist/mjs/api/resources/User.js.map +1 -1
  165. package/dist/mjs/api/resources.d.ts +0 -4
  166. package/dist/mjs/api/resources.d.ts.map +1 -1
  167. package/dist/mjs/api/resources.js +0 -4
  168. package/dist/mjs/api/resources.js.map +1 -1
  169. package/dist/mjs/types/Enum/AdjustmentType.js +4 -4
  170. package/dist/mjs/types/Enum/AdjustmentType.js.map +1 -1
  171. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  172. package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
  173. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  174. package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
  175. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  176. package/dist/mjs/types/Enum/Card.d.ts +1 -7
  177. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  178. package/dist/mjs/types/Enum/Card.js +1 -9
  179. package/dist/mjs/types/Enum/Card.js.map +1 -1
  180. package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
  181. package/dist/mjs/types/Enum/Consistency.js +7 -7
  182. package/dist/mjs/types/Enum/Consistency.js.map +1 -1
  183. package/dist/mjs/types/Enum/DashboardBlock.d.ts +1 -2
  184. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  185. package/dist/mjs/types/Enum/DashboardBlock.js +0 -1
  186. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
  187. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  188. package/dist/mjs/types/Enum/EntityType.js +2 -2
  189. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  190. package/dist/mjs/types/Enum/Ged.d.ts +3 -9
  191. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  192. package/dist/mjs/types/Enum/Ged.js +56 -163
  193. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  194. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  195. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  196. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  197. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  198. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  199. package/dist/mjs/types/Enum/InformationRequestType.js +6 -12
  200. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
  201. package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  202. package/dist/mjs/types/Enum/KilometricAllowanceScale.js +0 -119
  203. package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  204. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -5
  205. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  206. package/dist/mjs/types/Enum/MailAuto.js +0 -4
  207. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  208. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  209. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  210. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  211. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  212. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  213. package/dist/mjs/types/Enum/Proceding.js +0 -4
  214. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  215. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  216. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  217. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  218. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  219. package/dist/mjs/types/Enum/Unit.d.ts +1 -2
  220. package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
  221. package/dist/mjs/types/Enum/Unit.js +0 -11
  222. package/dist/mjs/types/Enum/Unit.js.map +1 -1
  223. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  224. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  225. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  226. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  227. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  228. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  229. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  230. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  231. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  232. package/dist/mjs/types/Interface/api/documentRequest/Query.js +2 -48
  233. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  234. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  235. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  236. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  237. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  238. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  239. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +12 -13
  240. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  241. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  242. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  243. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +22 -2
  244. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  245. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  246. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  247. package/dist/mjs/types/Interface/api/shine/{Query.js → GetConnect.js} +1 -8
  248. package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  249. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  250. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  251. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  252. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  253. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  254. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  255. package/dist/mjs/types/index.d.ts +1 -9
  256. package/dist/mjs/types/index.d.ts.map +1 -1
  257. package/dist/mjs/types/index.js +1 -9
  258. package/dist/mjs/types/index.js.map +1 -1
  259. package/dist/mjs/utils/checkup.d.ts +368 -12
  260. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  261. package/dist/mjs/utils/checkup.js +566 -343
  262. package/dist/mjs/utils/checkup.js.map +1 -1
  263. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  264. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  265. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  266. package/dist/mjs/utils/index.d.ts +0 -1
  267. package/dist/mjs/utils/index.d.ts.map +1 -1
  268. package/dist/mjs/utils/index.js +0 -1
  269. package/dist/mjs/utils/index.js.map +1 -1
  270. package/dist/mjs/utils/vat/centuries.js +2 -2
  271. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  272. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  273. package/dist/mjs/utils/vat/utils.js +2 -5
  274. package/dist/mjs/utils/vat/utils.js.map +1 -1
  275. package/package.json +1 -1
  276. package/ts/api/resources/Checklist.ts +0 -6
  277. package/ts/api/resources/DocumentRequest.ts +1 -9
  278. package/ts/api/resources/InternalInvoicing.ts +8 -0
  279. package/ts/api/resources/Mfa.ts +0 -6
  280. package/ts/api/resources/Shine.ts +1 -11
  281. package/ts/api/resources/Society.ts +0 -5
  282. package/ts/api/resources/User.ts +23 -0
  283. package/ts/api/resources.ts +0 -4
  284. package/ts/types/Enum/AdjustmentType.ts +4 -4
  285. package/ts/types/Enum/BalanceSheet.ts +17 -17
  286. package/ts/types/Enum/BrandPourcentage.ts +8 -8
  287. package/ts/types/Enum/Card.ts +1 -9
  288. package/ts/types/Enum/Consistency.ts +7 -7
  289. package/ts/types/Enum/DashboardBlock.ts +0 -1
  290. package/ts/types/Enum/EntityType.ts +2 -2
  291. package/ts/types/Enum/Ged.ts +268 -386
  292. package/ts/types/Enum/InformationRequestState.ts +0 -1
  293. package/ts/types/Enum/InformationRequestType.ts +6 -12
  294. package/ts/types/Enum/KilometricAllowanceScale.ts +0 -119
  295. package/ts/types/Enum/MailAuto.ts +0 -4
  296. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  297. package/ts/types/Enum/Proceding.ts +0 -4
  298. package/ts/types/Enum/StatutsSection.ts +7 -15
  299. package/ts/types/Enum/Unit.ts +0 -11
  300. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  301. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  302. package/ts/types/Interface/api/documentRequest/Query.ts +2 -40
  303. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  304. package/ts/types/Interface/api/revenue/revenueMovement.ts +9 -11
  305. package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +21 -2
  306. package/ts/types/Interface/api/shine/{Query.ts → GetConnect.ts} +0 -5
  307. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  308. package/ts/types/Interface/models/IUser.ts +0 -2
  309. package/ts/types/index.ts +1 -9
  310. package/ts/utils/checkup.ts +566 -347
  311. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  312. package/ts/utils/index.ts +0 -1
  313. package/ts/utils/vat/centuries.ts +2 -2
  314. package/ts/utils/vat/utils.ts +2 -7
  315. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  316. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  317. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  318. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  319. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  320. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  321. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  322. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  323. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  324. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  325. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  326. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  327. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  328. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  329. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  330. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  331. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -27
  332. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  333. package/dist/cjs/types/Enum/SocietyApproval.js +0 -205
  334. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  335. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  336. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  337. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  338. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  339. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  340. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  341. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  342. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  343. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  344. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  345. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -27
  346. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  347. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  348. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  349. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  350. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  351. package/dist/cjs/types/Interface/api/shine/Query.d.ts +0 -7
  352. package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  353. package/dist/cjs/types/Interface/api/shine/Query.js.map +0 -1
  354. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  355. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  356. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  357. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  358. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  359. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  360. package/dist/cjs/utils/societyApproval.js +0 -101
  361. package/dist/cjs/utils/societyApproval.js.map +0 -1
  362. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  363. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  364. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  365. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  366. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  367. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  368. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  369. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  370. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  371. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  372. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  373. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  374. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  375. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  376. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  377. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  378. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -27
  379. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  380. package/dist/mjs/types/Enum/SocietyApproval.js +0 -202
  381. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  382. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  383. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  384. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  385. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  386. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  387. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  388. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  389. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  390. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  391. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  392. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -25
  393. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  394. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  395. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  396. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  397. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  398. package/dist/mjs/types/Interface/api/shine/Query.d.ts +0 -7
  399. package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  400. package/dist/mjs/types/Interface/api/shine/Query.js.map +0 -1
  401. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  402. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  403. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  404. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  405. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  406. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  407. package/dist/mjs/utils/societyApproval.js +0 -109
  408. package/dist/mjs/utils/societyApproval.js.map +0 -1
  409. package/ts/api/resources/LoginApproval.ts +0 -20
  410. package/ts/api/resources/SocietyApproval.ts +0 -75
  411. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  412. package/ts/types/Enum/MfaMode.ts +0 -11
  413. package/ts/types/Enum/SocietyApproval.ts +0 -218
  414. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  415. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  416. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  417. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  418. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  419. package/ts/utils/societyApproval.ts +0 -129
@@ -39,14 +39,14 @@ export const internationalizationChoices: InternationalizationChoicesType = {
39
39
  'TVA: Non applicable',
40
40
  'TVA non applicable, art. 293 B du CGI',
41
41
  'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',
42
- "Non soumis à TVA selon l'article 261C du CGI",
42
+ 'Non soumis à TVA selon l\'article 261C du CGI',
43
43
  'Article 261 D du code général des impôts (CGI)',
44
44
  'Exonération de TVA, article 283-2 du Code général des impôts',
45
45
  'Exonération de la TVA : Article 262 ter I du CGI',
46
46
  'Mention de TVA 261.4.4 1 du CGI',
47
- "Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
48
- "Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
49
- "Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
47
+ 'Régime particulier – Biens d\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',
48
+ 'Régime particulier – Objets d\'art - article 297 A du CGI et directive communautaire 2006/112/CE',
49
+ 'Régime particulier – Objets de collection ou d\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',
50
50
  'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',
51
51
  'Facture soumise au régime de l’auto-liquidation de la TVA',
52
52
  ],
@@ -58,9 +58,9 @@ export const internationalizationChoices: InternationalizationChoicesType = {
58
58
  common: {
59
59
  headers: {
60
60
  title: 'Titre',
61
- emissionDate: "Date d'émission",
61
+ emissionDate: 'Date d\'émission',
62
62
  accountingCategory: {
63
- title: "Catégorie de l'opération",
63
+ title: 'Catégorie de l\'opération',
64
64
  choices: [
65
65
  { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },
66
66
  { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },
@@ -74,7 +74,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
74
74
  vatCode: 'N° TVA',
75
75
  marginVat: 'Régime TVA sur marge',
76
76
  legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',
77
- shouldPayTaxAfterDebit: "Option pour le paiement de la taxe d'après les débits",
77
+ shouldPayTaxAfterDebit: 'Option pour le paiement de la taxe d\'après les débits',
78
78
  penalties: 'Pénalités en cas de retard',
79
79
  discount: 'Escompte',
80
80
  recoveryCosts: 'Indemnités forfaitaire en cas de retard',
@@ -116,49 +116,49 @@ export const internationalizationChoices: InternationalizationChoicesType = {
116
116
  invoice: {
117
117
  headers: {
118
118
  title: 'Facture',
119
- dueDate: "Date d'échéance",
119
+ dueDate: 'Date d\'échéance',
120
120
  termsOfPayment: 'Date limite de règlement',
121
121
  },
122
122
  },
123
123
  estimate: {
124
124
  headers: {
125
125
  title: 'Devis',
126
- dueDate: "Valide jusqu'au",
126
+ dueDate: 'Valide jusqu\'au',
127
127
  termsOfPayment: 'Conditions de règlement',
128
128
  },
129
129
  },
130
130
  orderForm: {
131
131
  headers: {
132
132
  title: 'Bon de commande',
133
- dueDate: "Date d'échéance",
133
+ dueDate: 'Date d\'échéance',
134
134
  termsOfPayment: 'Conditions de règlement',
135
135
  },
136
136
  },
137
137
  deposit: {
138
138
  headers: {
139
- title: "Facture d'acompte",
140
- expirationDate: "Date d'expiration",
139
+ title: 'Facture d\'acompte',
140
+ expirationDate: 'Date d\'expiration',
141
141
  termsOfPayment: 'Date limite de règlement',
142
142
  },
143
143
  },
144
144
  asset: {
145
145
  headers: {
146
146
  title: 'Avoir',
147
- dueDate: "Date d'échéance",
147
+ dueDate: 'Date d\'échéance',
148
148
  termsOfPayment: 'Date limite de règlement',
149
149
  },
150
150
  },
151
151
  remainder: {
152
152
  headers: {
153
153
  title: 'Facture de solde',
154
- dueDate: "Date d'échéance",
154
+ dueDate: 'Date d\'échéance',
155
155
  termsOfPayment: 'Date limite de règlement',
156
156
  },
157
157
  },
158
158
  draft: {
159
159
  headers: {
160
160
  title: 'Brouillon',
161
- dueDate: "Date d'échéance",
161
+ dueDate: 'Date d\'échéance',
162
162
  termsOfPayment: 'Date limite de règlement',
163
163
  },
164
164
  },
@@ -429,7 +429,7 @@ const internationalizationMatching: { [key: string]: { fr: string; en: string }[
429
429
  en: 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',
430
430
  },
431
431
  {
432
- fr: "Non soumis à TVA selon l'article 261C du CGI",
432
+ fr: 'Non soumis à TVA selon l\'article 261C du CGI',
433
433
  en: 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',
434
434
  },
435
435
  { fr: 'Article 261 D du code général des impôts (CGI)', en: 'Article 261D of the French General Tax Code (FGTC)' },
@@ -443,15 +443,15 @@ const internationalizationMatching: { [key: string]: { fr: string; en: string }[
443
443
  },
444
444
  { fr: 'Mention de TVA 261.4.4 1 du CGI', en: 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)' },
445
445
  {
446
- fr: "Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
446
+ fr: 'Régime particulier – Biens d\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',
447
447
  en: 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
448
448
  },
449
449
  {
450
- fr: "Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
450
+ fr: 'Régime particulier – Objets d\'art - article 297 A du CGI et directive communautaire 2006/112/CE',
451
451
  en: 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
452
452
  },
453
453
  {
454
- fr: "Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
454
+ fr: 'Régime particulier – Objets de collection ou d\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',
455
455
  en: 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
456
456
  },
457
457
  {
@@ -532,8 +532,6 @@ const internationalizationMatching: { [key: string]: { fr: string; en: string }[
532
532
  { fr: 'nuit', en: 'night' },
533
533
  { fr: 't', en: 't' },
534
534
  { fr: 'ha', en: 'ha' },
535
- { fr: 'min', en: 'min' },
536
- { fr: 'g', en: 'g' },
537
535
  ],
538
536
  };
539
537
 
package/ts/utils/index.ts CHANGED
@@ -20,4 +20,3 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
- export * from './societyApproval';
@@ -106,7 +106,7 @@ const vatDocuments: VatDocument[] = [
106
106
  idCerfaType: CerfaType.CERFA_3310,
107
107
  name: '3310',
108
108
  century: '25',
109
- centuries: [2025, 2026],
109
+ centuries: [2025],
110
110
  payload: (
111
111
  accountingEntries: IAccountingEntry[],
112
112
  payload: PayloadCerfa3310_2025,
@@ -129,7 +129,7 @@ const vatDocuments: VatDocument[] = [
129
129
  idCerfaType: CerfaType.CERFA_3514,
130
130
  name: '3514',
131
131
  century: '23',
132
- centuries: [2022, 2023, 2024, 2025, 2026],
132
+ centuries: [2022, 2023, 2024, 2025],
133
133
  payload: (payload: PayloadCerfa3514_2022) => getCerfa3514Century22Payload(payload),
134
134
  asponePayload: (data: Cerfa3514_2022) => getCerfa3514Century23RegistrationFields(data),
135
135
  fields: cerfa3514Century22Fields,
@@ -104,14 +104,9 @@ export function getTaxesExcludedAmount(amountTtc: number, idVat: number, isRound
104
104
  }
105
105
 
106
106
  export function getInternalInvoicingVatByZipCode(zipCode: string | null): VatType {
107
- if (zipCode?.startsWith('972') || zipCode?.startsWith('974')) {
107
+ if (zipCode?.startsWith('971') || zipCode?.startsWith('972') || zipCode?.startsWith('974')) {
108
108
  return Vat.TX_8_5;
109
- } else if (
110
- zipCode?.startsWith('971') ||
111
- zipCode?.startsWith('973') ||
112
- zipCode?.startsWith('976') ||
113
- zipCode?.startsWith('977')
114
- ) {
109
+ } else if (zipCode?.startsWith('973') || zipCode?.startsWith('976') || zipCode?.startsWith('977')) {
115
110
  return Vat.WITHOUT_TAXE;
116
111
  }
117
112
  return Vat.TX_20;
@@ -1,18 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
3
- export declare class LoginApproval extends Resource {
4
- approve(requestId: string, deviceId: string): Promise<{
5
- message: string;
6
- status: string;
7
- }>;
8
- deny(requestId: string, deviceId: string): Promise<{
9
- message: string;
10
- status: string;
11
- }>;
12
- getStatus(requestId: string): Promise<ILoginApprovalStatusResponse>;
13
- cleanup(): Promise<{
14
- deleted: number;
15
- message: string;
16
- }>;
17
- }
18
- //# sourceMappingURL=LoginApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApproval.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAExG,qBAAa,aAAc,SAAQ,QAAQ;IACzC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAI1F,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvF,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAInE,OAAO,IAAI,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAGzD"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoginApproval = void 0;
4
- const Resource_1 = require("../Resource");
5
- class LoginApproval extends Resource_1.Resource {
6
- approve(requestId, deviceId) {
7
- return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
8
- }
9
- deny(requestId, deviceId) {
10
- return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
11
- }
12
- getStatus(requestId) {
13
- return this.axios.$get(`/auth/approvals/${requestId}/status`);
14
- }
15
- cleanup() {
16
- return this.axios.$post('/auth/approvals/cleanup');
17
- }
18
- }
19
- exports.LoginApproval = LoginApproval;
20
- //# sourceMappingURL=LoginApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApproval.js","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,aAAc,SAAQ,mBAAQ;IACzC,OAAO,CAAC,SAAiB,EAAE,QAAgB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,IAAI,CAAC,SAAiB,EAAE,QAAgB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,SAAS,CAAC,SAAiB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,SAAS,SAAS,CAAC,CAAC;IAChE,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACrD,CAAC;CACF;AAhBD,sCAgBC","sourcesContent":["import { Resource } from '../Resource';\nimport { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';\n\nexport class LoginApproval extends Resource {\n approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });\n }\n\n deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });\n }\n\n getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {\n return this.axios.$get(`/auth/approvals/${requestId}/status`);\n }\n\n cleanup(): Promise<{ deleted: number; message: string }> {\n return this.axios.$post('/auth/approvals/cleanup');\n }\n}\n"]}
@@ -1,47 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { ISocietyApproval, CreateDocument, ReadLibraryFile, ResetDocument, IDocumentSection, IApprovalGeneratingData } from '../../types';
3
- export declare class SocietyApproval extends Resource {
4
- /**
5
- * Get society approval data for a given exercice
6
- * @param idExercice - The exercice ID
7
- * @returns Society approval with all needed data
8
- */
9
- get(idExercice: number): Promise<ISocietyApproval>;
10
- /**
11
- * Get approval data needed for PDF generation
12
- * Retrieves all necessary information before generating a PDF document
13
- * @param idExercice - The exercice ID
14
- * @returns Approval data with template data for PDF generation
15
- */
16
- getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData>;
17
- /**
18
- * Create or update society approval
19
- * @param idExercice - The exercice ID
20
- * @param payload - The approval data
21
- * @returns Updated or created society approval
22
- */
23
- updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval>;
24
- /**
25
- * Generate approval PDF document
26
- * @param idExercice - The exercice ID
27
- * @param payload - The document type(s) to generate
28
- * @returns PDF file as blob
29
- */
30
- generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile>;
31
- /**
32
- * Reset document section by regenerating from original template
33
- * @param idExercice - The exercice ID
34
- * @param idDocumentSection - The documentSection ID to reset
35
- * @param payload - The document type for template selection
36
- * @returns Updated documentSection with new content from template
37
- */
38
- resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection>;
39
- /**
40
- * Regenerate PDF document from existing documentSection HTML content
41
- * @param idExercice - The exercice ID
42
- * @param idDocumentSection - The documentSection ID containing HTML content
43
- * @returns PDF file as buffer for download
44
- */
45
- regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer>;
46
- }
47
- //# sourceMappingURL=SocietyApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocietyApproval.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/SocietyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C;;;;OAIG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIlD;;;;;OAKG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAIvE;;;;;OAKG;IACH,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIxF;;;;;OAKG;IACH,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAIlF;;;;;;OAMG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI/G;;;;;OAKG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAO9E"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SocietyApproval = void 0;
4
- const Resource_1 = require("../Resource");
5
- class SocietyApproval extends Resource_1.Resource {
6
- /**
7
- * Get society approval data for a given exercice
8
- * @param idExercice - The exercice ID
9
- * @returns Society approval with all needed data
10
- */
11
- get(idExercice) {
12
- return this.axios.$get(`/exercices/${idExercice}/approvals`);
13
- }
14
- /**
15
- * Get approval data needed for PDF generation
16
- * Retrieves all necessary information before generating a PDF document
17
- * @param idExercice - The exercice ID
18
- * @returns Approval data with template data for PDF generation
19
- */
20
- getGeneratingData(idExercice) {
21
- return this.axios.$get(`/exercices/${idExercice}/approvals/generating-data`);
22
- }
23
- /**
24
- * Create or update society approval
25
- * @param idExercice - The exercice ID
26
- * @param payload - The approval data
27
- * @returns Updated or created society approval
28
- */
29
- updateOrCreate(idExercice, payload) {
30
- return this.axios.$post(`/exercices/${idExercice}/approvals`, payload);
31
- }
32
- /**
33
- * Generate approval PDF document
34
- * @param idExercice - The exercice ID
35
- * @param payload - The document type(s) to generate
36
- * @returns PDF file as blob
37
- */
38
- generatePdf(idExercice, payload) {
39
- return this.axios.$post(`/exercices/${idExercice}/approvals/pdf`, payload);
40
- }
41
- /**
42
- * Reset document section by regenerating from original template
43
- * @param idExercice - The exercice ID
44
- * @param idDocumentSection - The documentSection ID to reset
45
- * @param payload - The document type for template selection
46
- * @returns Updated documentSection with new content from template
47
- */
48
- resetDocument(idExercice, idDocumentSection, payload) {
49
- return this.axios.$put(`/exercices/${idExercice}/document-sections/${idDocumentSection}/reset`, payload);
50
- }
51
- /**
52
- * Regenerate PDF document from existing documentSection HTML content
53
- * @param idExercice - The exercice ID
54
- * @param idDocumentSection - The documentSection ID containing HTML content
55
- * @returns PDF file as buffer for download
56
- */
57
- regeneratePdf(idExercice, idDocumentSection) {
58
- return this.axios.$post(`/exercices/${idExercice}/approvals/pdf/regenerate`, { idDocumentSection }, { responseType: 'arraybuffer' });
59
- }
60
- }
61
- exports.SocietyApproval = SocietyApproval;
62
- //# sourceMappingURL=SocietyApproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocietyApproval.js","sourceRoot":"","sources":["../../../../ts/api/resources/SocietyApproval.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAUvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C;;;;OAIG;IACH,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,YAAY,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,UAAkB;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,4BAA4B,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;OAKG;IACH,cAAc,CAAC,UAAkB,EAAE,OAAyB;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,YAAY,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,UAAkB,EAAE,OAAuB;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;OAMG;IACH,aAAa,CAAC,UAAkB,EAAE,iBAAyB,EAAE,OAAsB;QACjF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,UAAU,sBAAsB,iBAAiB,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;OAKG;IACH,aAAa,CAAC,UAAkB,EAAE,iBAAyB;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CACrB,cAAc,UAAU,2BAA2B,EACnD,EAAE,iBAAiB,EAAE,EACrB,EAAE,YAAY,EAAE,aAAa,EAAE,CAChC,CAAC;IACJ,CAAC;CACF;AAhED,0CAgEC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyApproval,\n CreateDocument,\n ReadLibraryFile,\n ResetDocument,\n IDocumentSection,\n IApprovalGeneratingData,\n} from '../../types';\n\nexport class SocietyApproval extends Resource {\n /**\n * Get society approval data for a given exercice\n * @param idExercice - The exercice ID\n * @returns Society approval with all needed data\n */\n get(idExercice: number): Promise<ISocietyApproval> {\n return this.axios.$get(`/exercices/${idExercice}/approvals`);\n }\n\n /**\n * Get approval data needed for PDF generation\n * Retrieves all necessary information before generating a PDF document\n * @param idExercice - The exercice ID\n * @returns Approval data with template data for PDF generation\n */\n getGeneratingData(idExercice: number): Promise<IApprovalGeneratingData> {\n return this.axios.$get(`/exercices/${idExercice}/approvals/generating-data`);\n }\n\n /**\n * Create or update society approval\n * @param idExercice - The exercice ID\n * @param payload - The approval data\n * @returns Updated or created society approval\n */\n updateOrCreate(idExercice: number, payload: ISocietyApproval): Promise<ISocietyApproval> {\n return this.axios.$post(`/exercices/${idExercice}/approvals`, payload);\n }\n\n /**\n * Generate approval PDF document\n * @param idExercice - The exercice ID\n * @param payload - The document type(s) to generate\n * @returns PDF file as blob\n */\n generatePdf(idExercice: number, payload: CreateDocument): Promise<ReadLibraryFile> {\n return this.axios.$post(`/exercices/${idExercice}/approvals/pdf`, payload);\n }\n\n /**\n * Reset document section by regenerating from original template\n * @param idExercice - The exercice ID\n * @param idDocumentSection - The documentSection ID to reset\n * @param payload - The document type for template selection\n * @returns Updated documentSection with new content from template\n */\n resetDocument(idExercice: number, idDocumentSection: number, payload: ResetDocument): Promise<IDocumentSection> {\n return this.axios.$put(`/exercices/${idExercice}/document-sections/${idDocumentSection}/reset`, payload);\n }\n\n /**\n * Regenerate PDF document from existing documentSection HTML content\n * @param idExercice - The exercice ID\n * @param idDocumentSection - The documentSection ID containing HTML content\n * @returns PDF file as buffer for download\n */\n regeneratePdf(idExercice: number, idDocumentSection: number): Promise<Buffer> {\n return this.axios.$post(\n `/exercices/${idExercice}/approvals/pdf/regenerate`,\n { idDocumentSection },\n { responseType: 'arraybuffer' },\n );\n }\n}\n"]}
@@ -1,14 +0,0 @@
1
- /**
2
- * Statuts possibles d'une demande d'approbation de connexion mobile
3
- */
4
- export declare enum LoginApprovalStatus {
5
- /** En attente de validation par le mobile */
6
- PENDING = "pending",
7
- /** Approuvée par l'utilisateur sur son mobile */
8
- APPROVED = "approved",
9
- /** Refusée par l'utilisateur sur son mobile */
10
- DENIED = "denied",
11
- /** Expirée (timeout dépassé sans action) */
12
- EXPIRED = "expired"
13
- }
14
- //# sourceMappingURL=LoginApprovalStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApprovalStatus.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/LoginApprovalStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,OAAO,YAAY;IACnB,iDAAiD;IACjD,QAAQ,aAAa;IACrB,+CAA+C;IAC/C,MAAM,WAAW;IACjB,4CAA4C;IAC5C,OAAO,YAAY;CACpB"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoginApprovalStatus = void 0;
4
- /**
5
- * Statuts possibles d'une demande d'approbation de connexion mobile
6
- */
7
- var LoginApprovalStatus;
8
- (function (LoginApprovalStatus) {
9
- /** En attente de validation par le mobile */
10
- LoginApprovalStatus["PENDING"] = "pending";
11
- /** Approuvée par l'utilisateur sur son mobile */
12
- LoginApprovalStatus["APPROVED"] = "approved";
13
- /** Refusée par l'utilisateur sur son mobile */
14
- LoginApprovalStatus["DENIED"] = "denied";
15
- /** Expirée (timeout dépassé sans action) */
16
- LoginApprovalStatus["EXPIRED"] = "expired";
17
- })(LoginApprovalStatus || (exports.LoginApprovalStatus = LoginApprovalStatus = {}));
18
- //# sourceMappingURL=LoginApprovalStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginApprovalStatus.js","sourceRoot":"","sources":["../../../../ts/types/Enum/LoginApprovalStatus.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,0CAAmB,CAAA;IACnB,iDAAiD;IACjD,4CAAqB,CAAA;IACrB,+CAA+C;IAC/C,wCAAiB,CAAA;IACjB,4CAA4C;IAC5C,0CAAmB,CAAA;AACrB,CAAC,EATW,mBAAmB,mCAAnB,mBAAmB,QAS9B","sourcesContent":["/**\n * Statuts possibles d'une demande d'approbation de connexion mobile\n */\nexport enum LoginApprovalStatus {\n /** En attente de validation par le mobile */\n PENDING = 'pending',\n /** Approuvée par l'utilisateur sur son mobile */\n APPROVED = 'approved',\n /** Refusée par l'utilisateur sur son mobile */\n DENIED = 'denied',\n /** Expirée (timeout dépassé sans action) */\n EXPIRED = 'expired',\n}\n"]}
@@ -1,12 +0,0 @@
1
- /**
2
- * Modes de double authentification disponibles
3
- */
4
- export declare enum MfaMode {
5
- /** Pas de MFA activée */
6
- NONE = "none",
7
- /** Authentification via code TOTP (Google Authenticator, etc.) */
8
- TOTP = "totp",
9
- /** Validation via notification sur l'application mobile */
10
- MOBILE_APPROVAL = "mobile_approval"
11
- }
12
- //# sourceMappingURL=MfaMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MfaMode.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/MfaMode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,OAAO;IACjB,yBAAyB;IACzB,IAAI,SAAS;IACb,kEAAkE;IAClE,IAAI,SAAS;IACb,2DAA2D;IAC3D,eAAe,oBAAoB;CACpC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MfaMode = void 0;
4
- /**
5
- * Modes de double authentification disponibles
6
- */
7
- var MfaMode;
8
- (function (MfaMode) {
9
- /** Pas de MFA activée */
10
- MfaMode["NONE"] = "none";
11
- /** Authentification via code TOTP (Google Authenticator, etc.) */
12
- MfaMode["TOTP"] = "totp";
13
- /** Validation via notification sur l'application mobile */
14
- MfaMode["MOBILE_APPROVAL"] = "mobile_approval";
15
- })(MfaMode || (exports.MfaMode = MfaMode = {}));
16
- //# sourceMappingURL=MfaMode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MfaMode.js","sourceRoot":"","sources":["../../../../ts/types/Enum/MfaMode.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,OAOX;AAPD,WAAY,OAAO;IACjB,yBAAyB;IACzB,wBAAa,CAAA;IACb,kEAAkE;IAClE,wBAAa,CAAA;IACb,2DAA2D;IAC3D,8CAAmC,CAAA;AACrC,CAAC,EAPW,OAAO,uBAAP,OAAO,QAOlB","sourcesContent":["/**\n * Modes de double authentification disponibles\n */\nexport enum MfaMode {\n /** Pas de MFA activée */\n NONE = 'none',\n /** Authentification via code TOTP (Google Authenticator, etc.) */\n TOTP = 'totp',\n /** Validation via notification sur l'application mobile */\n MOBILE_APPROVAL = 'mobile_approval',\n}\n"]}
@@ -1,27 +0,0 @@
1
- import { LegalFormTypeEnum } from './LegalForm';
2
- import { DocumentSectionType } from './StatutsSection';
3
- export declare enum SocietyApprovalDocumentType {
4
- PV_AG = 1,
5
- POWER_MANDATE = 2,
6
- DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,
7
- DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,
8
- INCOME_APPROPRIATION = 5,
9
- LIST_OF_CONVENTIONS = 6,
10
- LIST_OF_DIVIDENDS = 7
11
- }
12
- export type SocietyApprovalDocumentTemplate = {
13
- idDocumentType: SocietyApprovalDocumentType;
14
- docName: string;
15
- templateName: string;
16
- documentSectionType: DocumentSectionType;
17
- token?: string;
18
- htmlContent?: string;
19
- idDocumentSection?: number;
20
- };
21
- export type SocietyApprovalDocumentConfig = {
22
- idLegalForm: LegalFormTypeEnum;
23
- legalFormName: string;
24
- documents: SocietyApprovalDocumentTemplate[];
25
- };
26
- export declare const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[];
27
- //# sourceMappingURL=SocietyApproval.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocietyApproval.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/SocietyApproval.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,oBAAY,2BAA2B;IACrC,KAAK,IAAI;IACT,aAAa,IAAI;IACjB,wDAAwD,IAAI;IAC5D,sDAAsD,IAAI;IAC1D,oBAAoB,IAAI;IACxB,mBAAmB,IAAI;IACvB,iBAAiB,IAAI;CACtB;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,cAAc,EAAE,2BAA2B,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,EAAE,iBAAiB,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,+BAA+B,EAAE,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,6BAA6B,EA2L9E,CAAC"}