@silexpert/core 1.3.195-7 → 1.3.195

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 (516) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +1 -23
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +0 -36
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/LoginApproval.d.ts +18 -0
  6. package/dist/cjs/api/resources/LoginApproval.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/LoginApproval.js +20 -0
  8. package/dist/cjs/api/resources/LoginApproval.js.map +1 -0
  9. package/dist/cjs/api/resources/Mfa.d.ts +1 -0
  10. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Mfa.js +4 -0
  12. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  13. package/dist/cjs/api/resources/Payment.d.ts +1 -0
  14. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/Payment.js +3 -0
  16. package/dist/cjs/api/resources/Payment.js.map +1 -1
  17. package/dist/cjs/api/resources/Society.d.ts +2 -1
  18. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Society.js +3 -0
  20. package/dist/cjs/api/resources/Society.js.map +1 -1
  21. package/dist/cjs/api/resources/SocietyApproval.d.ts +47 -0
  22. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +1 -0
  23. package/dist/cjs/api/resources/SocietyApproval.js +62 -0
  24. package/dist/cjs/api/resources/SocietyApproval.js.map +1 -0
  25. package/dist/cjs/api/resources/Webex.d.ts +8 -0
  26. package/dist/cjs/api/resources/Webex.d.ts.map +1 -0
  27. package/dist/cjs/api/resources/Webex.js +17 -0
  28. package/dist/cjs/api/resources/Webex.js.map +1 -0
  29. package/dist/cjs/api/resources.d.ts +4 -2
  30. package/dist/cjs/api/resources.d.ts.map +1 -1
  31. package/dist/cjs/api/resources.js +4 -2
  32. package/dist/cjs/api/resources.js.map +1 -1
  33. package/dist/cjs/types/Enum/Card.d.ts +2 -44
  34. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/Card.js +2 -52
  36. package/dist/cjs/types/Enum/Card.js.map +1 -1
  37. package/dist/cjs/types/Enum/EbookIntention.d.ts +8 -0
  38. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +1 -0
  39. package/dist/cjs/types/Enum/EbookIntention.js +18 -0
  40. package/dist/cjs/types/Enum/EbookIntention.js.map +1 -0
  41. package/dist/cjs/types/Enum/Ged.d.ts +9 -3
  42. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/Ged.js +154 -30
  44. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  45. package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
  46. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  47. package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
  48. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  49. package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
  50. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  51. package/dist/cjs/types/Enum/JobTitle.js +6 -0
  52. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  53. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  54. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  55. package/dist/cjs/types/Enum/LoginApprovalStatus.js +18 -0
  56. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  57. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  58. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  59. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  60. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  61. package/dist/cjs/types/Enum/MfaMode.d.ts +12 -0
  62. package/dist/cjs/types/Enum/MfaMode.d.ts.map +1 -0
  63. package/dist/cjs/types/Enum/MfaMode.js +16 -0
  64. package/dist/cjs/types/Enum/MfaMode.js.map +1 -0
  65. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  66. package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
  67. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  68. package/dist/cjs/types/Enum/Proceding.d.ts +4 -0
  69. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  70. package/dist/cjs/types/Enum/Proceding.js +4 -0
  71. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  72. package/dist/cjs/types/Enum/SocietyApproval.d.ts +46 -0
  73. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  74. package/dist/cjs/types/Enum/SocietyApproval.js +280 -0
  75. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -0
  76. package/dist/cjs/types/Enum/StatutsSection.d.ts +7 -1
  77. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  78. package/dist/cjs/types/Enum/StatutsSection.js +15 -7
  79. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  80. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  81. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  82. package/dist/cjs/types/Interface/api/SocietyApproval.js +153 -0
  83. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +1 -0
  84. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  85. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  88. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +21 -0
  90. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  91. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  92. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  93. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
  94. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  96. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +11 -13
  98. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  100. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  101. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +26 -0
  102. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  103. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  104. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
  106. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  108. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  109. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +21 -0
  110. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  111. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  112. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  113. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +6 -0
  114. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  115. package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
  116. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
  118. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  119. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  120. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  121. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +7 -44
  122. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  123. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  124. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  125. package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
  126. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  127. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  128. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  129. package/dist/cjs/types/Interface/api/informationRequest/Update.js +10 -1
  130. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  131. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  132. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  133. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  134. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +1 -0
  135. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/api/prestation/Query.js +7 -0
  137. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  138. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  139. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  140. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +6 -0
  141. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  142. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  143. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  144. package/dist/cjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +16 -15
  145. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  146. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  147. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  148. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +3 -0
  149. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  150. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  151. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  152. package/dist/cjs/types/Interface/{models/IUsersHistory.js → api/webex/WebexMeeting.js} +1 -1
  153. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  154. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  155. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  156. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  157. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  158. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  159. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  160. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +14 -0
  161. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  162. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  163. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  164. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  165. package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
  166. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  167. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  168. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
  169. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  170. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  171. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  172. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  173. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  174. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  175. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  176. package/dist/cjs/types/Interface/models/ILoginApproval.js +3 -0
  177. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +1 -0
  178. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  179. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  180. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  181. package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
  182. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  183. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  184. package/dist/cjs/types/index.d.ts +14 -7
  185. package/dist/cjs/types/index.d.ts.map +1 -1
  186. package/dist/cjs/types/index.js +14 -7
  187. package/dist/cjs/types/index.js.map +1 -1
  188. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  189. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +21 -19
  190. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  191. package/dist/cjs/utils/index.d.ts +1 -0
  192. package/dist/cjs/utils/index.d.ts.map +1 -1
  193. package/dist/cjs/utils/index.js +1 -0
  194. package/dist/cjs/utils/index.js.map +1 -1
  195. package/dist/cjs/utils/societyApproval.d.ts +38 -0
  196. package/dist/cjs/utils/societyApproval.d.ts.map +1 -0
  197. package/dist/cjs/utils/societyApproval.js +101 -0
  198. package/dist/cjs/utils/societyApproval.js.map +1 -0
  199. package/dist/mjs/api/resources/Card.d.ts +1 -23
  200. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  201. package/dist/mjs/api/resources/Card.js +0 -45
  202. package/dist/mjs/api/resources/Card.js.map +1 -1
  203. package/dist/mjs/api/resources/LoginApproval.d.ts +18 -0
  204. package/dist/mjs/api/resources/LoginApproval.d.ts.map +1 -0
  205. package/dist/mjs/api/resources/LoginApproval.js +16 -0
  206. package/dist/mjs/api/resources/LoginApproval.js.map +1 -0
  207. package/dist/mjs/api/resources/Mfa.d.ts +1 -0
  208. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  209. package/dist/mjs/api/resources/Mfa.js +4 -0
  210. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  211. package/dist/mjs/api/resources/Payment.d.ts +1 -0
  212. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  213. package/dist/mjs/api/resources/Payment.js +3 -0
  214. package/dist/mjs/api/resources/Payment.js.map +1 -1
  215. package/dist/mjs/api/resources/Society.d.ts +2 -1
  216. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  217. package/dist/mjs/api/resources/Society.js +3 -0
  218. package/dist/mjs/api/resources/Society.js.map +1 -1
  219. package/dist/mjs/api/resources/SocietyApproval.d.ts +47 -0
  220. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +1 -0
  221. package/dist/mjs/api/resources/SocietyApproval.js +58 -0
  222. package/dist/mjs/api/resources/SocietyApproval.js.map +1 -0
  223. package/dist/mjs/api/resources/Webex.d.ts +8 -0
  224. package/dist/mjs/api/resources/Webex.d.ts.map +1 -0
  225. package/dist/mjs/api/resources/Webex.js +13 -0
  226. package/dist/mjs/api/resources/Webex.js.map +1 -0
  227. package/dist/mjs/api/resources.d.ts +4 -2
  228. package/dist/mjs/api/resources.d.ts.map +1 -1
  229. package/dist/mjs/api/resources.js +4 -2
  230. package/dist/mjs/api/resources.js.map +1 -1
  231. package/dist/mjs/types/Enum/Card.d.ts +2 -44
  232. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  233. package/dist/mjs/types/Enum/Card.js +2 -52
  234. package/dist/mjs/types/Enum/Card.js.map +1 -1
  235. package/dist/mjs/types/Enum/EbookIntention.d.ts +8 -0
  236. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +1 -0
  237. package/dist/mjs/types/Enum/EbookIntention.js +15 -0
  238. package/dist/mjs/types/Enum/EbookIntention.js.map +1 -0
  239. package/dist/mjs/types/Enum/Ged.d.ts +9 -3
  240. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  241. package/dist/mjs/types/Enum/Ged.js +154 -30
  242. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  243. package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
  244. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  245. package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
  246. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  247. package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
  248. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  249. package/dist/mjs/types/Enum/JobTitle.js +6 -0
  250. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  251. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
  252. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
  253. package/dist/mjs/types/Enum/LoginApprovalStatus.js +15 -0
  254. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +1 -0
  255. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  256. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  257. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  258. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  259. package/dist/mjs/types/Enum/MfaMode.d.ts +12 -0
  260. package/dist/mjs/types/Enum/MfaMode.d.ts.map +1 -0
  261. package/dist/mjs/types/Enum/MfaMode.js +13 -0
  262. package/dist/mjs/types/Enum/MfaMode.js.map +1 -0
  263. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  264. package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
  265. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  266. package/dist/mjs/types/Enum/Proceding.d.ts +4 -0
  267. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  268. package/dist/mjs/types/Enum/Proceding.js +4 -0
  269. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  270. package/dist/mjs/types/Enum/SocietyApproval.d.ts +46 -0
  271. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -0
  272. package/dist/mjs/types/Enum/SocietyApproval.js +277 -0
  273. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -0
  274. package/dist/mjs/types/Enum/StatutsSection.d.ts +7 -1
  275. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  276. package/dist/mjs/types/Enum/StatutsSection.js +15 -7
  277. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  278. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +36 -0
  279. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
  280. package/dist/mjs/types/Interface/api/SocietyApproval.js +167 -0
  281. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +1 -0
  282. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
  283. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  284. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  285. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
  286. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
  287. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +18 -0
  288. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
  289. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  290. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  291. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
  292. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  293. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
  294. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
  295. package/dist/mjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +12 -14
  296. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
  297. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
  298. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
  299. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +23 -0
  300. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
  301. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  302. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  303. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
  304. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  305. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
  306. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
  307. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +18 -0
  308. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
  309. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
  310. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  311. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +7 -0
  312. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  313. package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
  314. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  315. package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
  316. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  317. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
  318. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  319. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +7 -43
  320. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  321. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  322. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  323. package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
  324. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  325. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  326. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  327. package/dist/mjs/types/Interface/api/informationRequest/Update.js +9 -0
  328. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  329. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  330. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
  331. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  332. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +1 -0
  333. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  334. package/dist/mjs/types/Interface/api/prestation/Query.js +8 -0
  335. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  336. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
  337. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  338. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +7 -0
  339. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  340. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  341. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  342. package/dist/mjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +20 -16
  343. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  344. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  345. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  346. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +2 -0
  347. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  348. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  349. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  350. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +2 -0
  351. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  352. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  353. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  354. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  355. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  356. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
  357. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  358. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +15 -0
  359. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  360. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  361. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  362. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  363. package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
  364. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  365. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  366. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
  367. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  368. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  369. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  370. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  371. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  372. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +31 -0
  373. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
  374. package/dist/mjs/types/Interface/models/ILoginApproval.js +2 -0
  375. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +1 -0
  376. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
  377. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  378. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  379. package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
  380. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  381. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  382. package/dist/mjs/types/index.d.ts +14 -7
  383. package/dist/mjs/types/index.d.ts.map +1 -1
  384. package/dist/mjs/types/index.js +14 -7
  385. package/dist/mjs/types/index.js.map +1 -1
  386. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  387. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +21 -19
  388. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  389. package/dist/mjs/utils/index.d.ts +1 -0
  390. package/dist/mjs/utils/index.d.ts.map +1 -1
  391. package/dist/mjs/utils/index.js +1 -0
  392. package/dist/mjs/utils/index.js.map +1 -1
  393. package/dist/mjs/utils/societyApproval.d.ts +38 -0
  394. package/dist/mjs/utils/societyApproval.d.ts.map +1 -0
  395. package/dist/mjs/utils/societyApproval.js +109 -0
  396. package/dist/mjs/utils/societyApproval.js.map +1 -0
  397. package/package.json +1 -1
  398. package/ts/api/resources/Card.ts +0 -61
  399. package/ts/api/resources/LoginApproval.ts +20 -0
  400. package/ts/api/resources/Mfa.ts +6 -0
  401. package/ts/api/resources/Payment.ts +4 -0
  402. package/ts/api/resources/Society.ts +5 -0
  403. package/ts/api/resources/SocietyApproval.ts +75 -0
  404. package/ts/api/resources/Webex.ts +16 -0
  405. package/ts/api/resources.ts +4 -2
  406. package/ts/types/Enum/Card.ts +2 -52
  407. package/ts/types/Enum/EbookIntention.ts +14 -0
  408. package/ts/types/Enum/Ged.ts +380 -248
  409. package/ts/types/Enum/InformationRequestState.ts +1 -0
  410. package/ts/types/Enum/JobTitle.ts +6 -0
  411. package/ts/types/Enum/LoginApprovalStatus.ts +13 -0
  412. package/ts/types/Enum/MailAuto.ts +2 -0
  413. package/ts/types/Enum/MfaMode.ts +11 -0
  414. package/ts/types/Enum/PriceGridClementine.ts +487 -474
  415. package/ts/types/Enum/Proceding.ts +4 -0
  416. package/ts/types/Enum/SocietyApproval.ts +301 -0
  417. package/ts/types/Enum/StatutsSection.ts +15 -7
  418. package/ts/types/Interface/api/SocietyApproval.ts +121 -0
  419. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +10 -0
  420. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +6 -0
  421. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
  422. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +11 -0
  423. package/ts/types/Interface/api/authentification/loginApproval.ts +75 -0
  424. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
  425. package/ts/types/Interface/api/bankAccount/Benchmark.ts +7 -0
  426. package/ts/types/Interface/api/brevo/BrevoElement.ts +6 -0
  427. package/ts/types/Interface/api/card/Cron.ts +8 -1
  428. package/ts/types/Interface/api/card/QueryUserCards.ts +6 -36
  429. package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
  430. package/ts/types/Interface/api/informationRequest/Update.ts +7 -0
  431. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +2 -0
  432. package/ts/types/Interface/api/prestation/Query.ts +6 -0
  433. package/ts/types/Interface/api/user/RegisterProspect.ts +5 -0
  434. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +20 -0
  435. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +7 -0
  436. package/ts/types/Interface/api/webex/WebexMeeting.ts +21 -0
  437. package/ts/types/Interface/api/webex/WebexRegistrant.ts +34 -0
  438. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +17 -5
  439. package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
  440. package/ts/types/Interface/models/ICard.ts +0 -20
  441. package/ts/types/Interface/models/ICardHistory.ts +0 -4
  442. package/ts/types/Interface/models/ICustomerVat.ts +0 -1
  443. package/ts/types/Interface/models/ILoginApproval.ts +31 -0
  444. package/ts/types/Interface/models/ISocietyApproval.ts +2 -0
  445. package/ts/types/Interface/models/IUser.ts +2 -0
  446. package/ts/types/index.ts +14 -7
  447. package/ts/utils/commercialManagement/internationalization/choices.ts +21 -19
  448. package/ts/utils/index.ts +1 -0
  449. package/ts/utils/societyApproval.ts +129 -0
  450. package/dist/cjs/api/resources/UsersHistory.d.ts +0 -11
  451. package/dist/cjs/api/resources/UsersHistory.d.ts.map +0 -1
  452. package/dist/cjs/api/resources/UsersHistory.js +0 -26
  453. package/dist/cjs/api/resources/UsersHistory.js.map +0 -1
  454. package/dist/cjs/types/Enum/UsersHistory.d.ts +0 -18
  455. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +0 -1
  456. package/dist/cjs/types/Enum/UsersHistory.js +0 -42
  457. package/dist/cjs/types/Enum/UsersHistory.js.map +0 -1
  458. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  459. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  460. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +0 -43
  461. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  462. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  463. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  464. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
  465. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  466. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  467. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  468. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  469. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  470. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  471. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
  472. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  473. package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
  474. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
  475. package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
  476. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +0 -10
  477. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
  478. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +0 -1
  479. package/dist/mjs/api/resources/UsersHistory.d.ts +0 -11
  480. package/dist/mjs/api/resources/UsersHistory.d.ts.map +0 -1
  481. package/dist/mjs/api/resources/UsersHistory.js +0 -22
  482. package/dist/mjs/api/resources/UsersHistory.js.map +0 -1
  483. package/dist/mjs/types/Enum/UsersHistory.d.ts +0 -18
  484. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +0 -1
  485. package/dist/mjs/types/Enum/UsersHistory.js +0 -39
  486. package/dist/mjs/types/Enum/UsersHistory.js.map +0 -1
  487. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  488. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  489. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +0 -42
  490. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  491. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  492. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  493. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
  494. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  495. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  496. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  497. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  498. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  499. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  500. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
  501. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  502. package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
  503. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
  504. package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
  505. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +0 -10
  506. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
  507. package/dist/mjs/types/Interface/models/IUsersHistory.js +0 -2
  508. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +0 -1
  509. package/ts/api/resources/UsersHistory.ts +0 -29
  510. package/ts/types/Enum/UsersHistory.ts +0 -42
  511. package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
  512. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
  513. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
  514. package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
  515. package/ts/types/Interface/api/card/Query.ts +0 -19
  516. package/ts/types/Interface/models/IUsersHistory.ts +0 -9
@@ -27,14 +27,14 @@ export const internationalizationChoices = {
27
27
  'TVA: Non applicable',
28
28
  'TVA non applicable, art. 293 B du CGI',
29
29
  'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',
30
- 'Non soumis à TVA selon l\'article 261C du CGI',
30
+ "Non soumis à TVA selon l'article 261C du CGI",
31
31
  'Article 261 D du code général des impôts (CGI)',
32
32
  'Exonération de TVA, article 283-2 du Code général des impôts',
33
33
  'Exonération de la TVA : Article 262 ter I du CGI',
34
34
  'Mention de TVA 261.4.4 1 du CGI',
35
- 'Régime particulier – Biens d\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',
36
- 'Régime particulier – Objets d\'art - article 297 A du CGI et directive communautaire 2006/112/CE',
37
- 'Régime particulier – Objets de collection ou d\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',
35
+ "Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
36
+ "Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
37
+ "Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
38
38
  'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',
39
39
  'Facture soumise au régime de l’auto-liquidation de la TVA',
40
40
  ],
@@ -46,9 +46,9 @@ export const internationalizationChoices = {
46
46
  common: {
47
47
  headers: {
48
48
  title: 'Titre',
49
- emissionDate: 'Date d\'émission',
49
+ emissionDate: "Date d'émission",
50
50
  accountingCategory: {
51
- title: 'Catégorie de l\'opération',
51
+ title: "Catégorie de l'opération",
52
52
  choices: [
53
53
  { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },
54
54
  { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },
@@ -62,7 +62,7 @@ export const internationalizationChoices = {
62
62
  vatCode: 'N° TVA',
63
63
  marginVat: 'Régime TVA sur marge',
64
64
  legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',
65
- shouldPayTaxAfterDebit: 'Option pour le paiement de la taxe d\'après les débits',
65
+ shouldPayTaxAfterDebit: "Option pour le paiement de la taxe d'après les débits",
66
66
  penalties: 'Pénalités en cas de retard',
67
67
  discount: 'Escompte',
68
68
  recoveryCosts: 'Indemnités forfaitaire en cas de retard',
@@ -104,49 +104,49 @@ export const internationalizationChoices = {
104
104
  invoice: {
105
105
  headers: {
106
106
  title: 'Facture',
107
- dueDate: 'Date d\'échéance',
107
+ dueDate: "Date d'échéance",
108
108
  termsOfPayment: 'Date limite de règlement',
109
109
  },
110
110
  },
111
111
  estimate: {
112
112
  headers: {
113
113
  title: 'Devis',
114
- dueDate: 'Valide jusqu\'au',
114
+ dueDate: "Valide jusqu'au",
115
115
  termsOfPayment: 'Conditions de règlement',
116
116
  },
117
117
  },
118
118
  orderForm: {
119
119
  headers: {
120
120
  title: 'Bon de commande',
121
- dueDate: 'Date d\'échéance',
121
+ dueDate: "Date d'échéance",
122
122
  termsOfPayment: 'Conditions de règlement',
123
123
  },
124
124
  },
125
125
  deposit: {
126
126
  headers: {
127
- title: 'Facture d\'acompte',
128
- expirationDate: 'Date d\'expiration',
127
+ title: "Facture d'acompte",
128
+ expirationDate: "Date d'expiration",
129
129
  termsOfPayment: 'Date limite de règlement',
130
130
  },
131
131
  },
132
132
  asset: {
133
133
  headers: {
134
134
  title: 'Avoir',
135
- dueDate: 'Date d\'échéance',
135
+ dueDate: "Date d'échéance",
136
136
  termsOfPayment: 'Date limite de règlement',
137
137
  },
138
138
  },
139
139
  remainder: {
140
140
  headers: {
141
141
  title: 'Facture de solde',
142
- dueDate: 'Date d\'échéance',
142
+ dueDate: "Date d'échéance",
143
143
  termsOfPayment: 'Date limite de règlement',
144
144
  },
145
145
  },
146
146
  draft: {
147
147
  headers: {
148
148
  title: 'Brouillon',
149
- dueDate: 'Date d\'échéance',
149
+ dueDate: "Date d'échéance",
150
150
  termsOfPayment: 'Date limite de règlement',
151
151
  },
152
152
  },
@@ -416,7 +416,7 @@ const internationalizationMatching = {
416
416
  en: 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',
417
417
  },
418
418
  {
419
- fr: 'Non soumis à TVA selon l\'article 261C du CGI',
419
+ fr: "Non soumis à TVA selon l'article 261C du CGI",
420
420
  en: 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',
421
421
  },
422
422
  { fr: 'Article 261 D du code général des impôts (CGI)', en: 'Article 261D of the French General Tax Code (FGTC)' },
@@ -430,15 +430,15 @@ const internationalizationMatching = {
430
430
  },
431
431
  { fr: 'Mention de TVA 261.4.4 1 du CGI', en: 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)' },
432
432
  {
433
- fr: 'Régime particulier – Biens d\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',
433
+ fr: "Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
434
434
  en: 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
435
435
  },
436
436
  {
437
- fr: 'Régime particulier – Objets d\'art - article 297 A du CGI et directive communautaire 2006/112/CE',
437
+ fr: "Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
438
438
  en: 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
439
439
  },
440
440
  {
441
- fr: 'Régime particulier – Objets de collection ou d\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',
441
+ fr: "Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
442
442
  en: 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
443
443
  },
444
444
  {
@@ -519,6 +519,8 @@ const internationalizationMatching = {
519
519
  { fr: 'nuit', en: 'night' },
520
520
  { fr: 't', en: 't' },
521
521
  { fr: 'ha', en: 'ha' },
522
+ { fr: 'min', en: 'min' },
523
+ { fr: 'g', en: 'g' },
522
524
  ],
523
525
  };
524
526
  export const internationalizationConsistency = (language, value, key) => {
@@ -1 +1 @@
1
- {"version":3,"file":"choices.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/internationalization/choices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAajG,MAAM,CAAC,MAAM,2BAA2B,GAAoC;IAC1E,EAAE,EAAE;QACF,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,cAAc,EAAE;oBACd,gBAAgB;oBAChB,eAAe;oBACf,2BAA2B;oBAC3B,wBAAwB;oBACxB,wBAAwB;oBACxB,oCAAoC;oBACpC,oCAAoC;oBACpC,oCAAoC;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,oBAAoB,EAAE;oBAC1E,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB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,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE;QAC3B,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;QACpB,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;QACpB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtB,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE;QAC5B,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE;QACxB,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE;QAC3B,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;QACpB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;KACvB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,QAAyB,EACzB,KAAa,EACb,GAAuC,EACnB,EAAE;IACtB,MAAM,gBAAgB,GAAG,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC3D,OAAO,QAAQ,KAAK,eAAe,CAAC,EAAE;QACpC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,EAAE;QACtD,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC;AAC3D,CAAC,CAAC","sourcesContent":["import { AccountingCategoryId, InvoiceLanguage } from '../../../types/Enum/CommercialManagement';\nimport { InternationalizationChoicesType } from './type';\n\ntype InternationalizationConsistencyKey =\n | 'penalties'\n | 'discount'\n | 'vatMention'\n | 'recoveryCost'\n | 'paymentType'\n | 'termsOfPayment'\n | 'accountingCategory'\n | 'unit';\n\nexport const internationalizationChoices: InternationalizationChoicesType = {\n fr: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'À la livraison',\n 'À la commande',\n 'À réception de la facture',\n 'Exigible sous 14 jours',\n 'Exigible sous 30 jours',\n '30 jours à réception de la facture',\n '45 jours à réception de la facture',\n '60 jours à réception de la facture',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n options: {\n penalties: ['Non applicable', '3 fois le taux légal', 'Taux directeur de la BCE + 10 points'],\n discount: ['Non applicable', 'Aucun escompte en cas de paiement anticipé'],\n vatMention: [\n 'TVA: Non concerné',\n 'TVA: Non applicable',\n 'TVA non applicable, art. 293 B du CGI',\n 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',\n 'Non soumis à TVA selon l\\'article 261C du CGI',\n 'Article 261 D du code général des impôts (CGI)',\n 'Exonération de TVA, article 283-2 du Code général des impôts',\n 'Exonération de la TVA : Article 262 ter I du CGI',\n 'Mention de TVA 261.4.4 1 du CGI',\n 'Régime particulier – Biens d\\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Objets d\\'art - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Objets de collection ou d\\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Facture soumise au régime de l’auto-liquidation de la TVA',\n ],\n recoveryCost: ['Non applicable', '40€'],\n paymentType: ['Carte bancaire', 'Chèque', 'Espèces', 'Prélèvement', 'Virement bancaire'],\n },\n },\n template: {\n common: {\n headers: {\n title: 'Titre',\n emissionDate: 'Date d\\'émission',\n accountingCategory: {\n title: 'Catégorie de l\\'opération',\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n },\n footer: {\n capital: 'au capital de',\n siren: 'immatriculée sous le SIREN',\n vatCode: 'N° TVA',\n marginVat: 'Régime TVA sur marge',\n legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',\n shouldPayTaxAfterDebit: 'Option pour le paiement de la taxe d\\'après les débits',\n penalties: 'Pénalités en cas de retard',\n discount: 'Escompte',\n recoveryCosts: 'Indemnités forfaitaire en cas de retard',\n generate: 'Généré par',\n },\n options: {\n vatMention: 'Mention TVA',\n paymentType: 'Mode de paiement',\n bank: 'BANQUE',\n approval: 'Bon pour accord',\n comment: 'Commentaire',\n },\n table: {\n headers: {\n product: 'Article',\n quantity: 'Quantité',\n unitPrice: 'P.U HT',\n unitPriceWithoutVat: 'P.U',\n discount: 'Remise',\n vat: 'TVA',\n amount: 'Montant HT',\n amountWithoutVat: 'Montant',\n base: 'Base',\n rate: 'Taux',\n vatAmount: 'Montant TVA',\n recap: 'Récapitulatif',\n },\n lines: {\n totalHt: 'Total HT',\n vat: 'TVA',\n totalTTC: 'Total TTC',\n totalWhitoutVat: 'Total',\n deposit: 'Acompte',\n remainderToPay: 'Reste à payer',\n netToPay: 'Net à payer',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Facture',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n estimate: {\n headers: {\n title: 'Devis',\n dueDate: 'Valide jusqu\\'au',\n termsOfPayment: 'Conditions de règlement',\n },\n },\n orderForm: {\n headers: {\n title: 'Bon de commande',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Conditions de règlement',\n },\n },\n deposit: {\n headers: {\n title: 'Facture d\\'acompte',\n expirationDate: 'Date d\\'expiration',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n asset: {\n headers: {\n title: 'Avoir',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n remainder: {\n headers: {\n title: 'Facture de solde',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n draft: {\n headers: {\n title: 'Brouillon',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Échéance',\n generate: 'Généré par',\n displayDocument: 'Afficher le document',\n totalHt: 'Total HT',\n totalVat: 'Total TVA',\n totalTtc: 'Total TTC',\n send: 'vous adresse',\n },\n invoice: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n estimate: {\n title: 'ce devis',\n subTitle: 'Devis',\n },\n orderForm: {\n title: 'ce bon de commande',\n subTitle: 'Bon de commande',\n },\n deposit: {\n title: 'cet acompte',\n subTitle: 'Acompte',\n },\n asset: {\n title: 'cet avoir',\n subTitle: 'Avoir',\n },\n remainder: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n default: {\n title: 'ce document',\n subTitle: 'Document',\n },\n },\n },\n en: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'On delivery',\n 'On order',\n 'Upon receipt of invoice',\n 'Due within 14 days',\n 'Due within 30 days',\n '30 days upon receipt of invoice',\n '45 days upon receipt of invoice',\n '60 days upon receipt of invoice',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },\n ],\n },\n options: {\n penalties: ['Not applicable', '3 times the legal rate', 'ECB key rate + 10 points'],\n discount: ['Not applicable', 'No discount for early payment'],\n vatMention: [\n 'Not affected',\n 'Not applicable',\n 'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',\n 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',\n 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',\n 'Article 261D of the French General Tax Code (FGTC)',\n 'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',\n 'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',\n 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)',\n 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Invoice subject to VAT reverse charge system',\n ],\n recoveryCost: ['Not applicable', '40€'],\n paymentType: ['Credit card', 'Check', 'Cash', 'Direct debit', 'Bank transfer'],\n },\n },\n template: {\n common: {\n headers: {\n title: 'Title',\n emissionDate: 'Invoice date',\n accountingCategory: {\n title: 'Transaction type',\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Supply of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services provision' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services provision and supply of goods' },\n ],\n },\n },\n footer: {\n capital: 'with capital of',\n siren: 'registered under SIREN',\n vatCode: 'VAT number',\n marginVat: 'VAT margin scheme',\n legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',\n shouldPayTaxAfterDebit: 'Option to pay tax on debits',\n penalties: 'Late fees',\n discount: 'discount',\n recoveryCosts: 'flat-rate delay compensation',\n generate: 'Created by',\n },\n options: {\n vatMention: 'VAT mention',\n paymentType: 'payment type',\n bank: 'BANK',\n approval: 'Agreed and signed',\n comment: 'Comment',\n },\n table: {\n headers: {\n product: 'Product',\n quantity: 'Quantity',\n unitPrice: 'Excl. tax unit price',\n unitPriceWithoutVat: 'Unit price',\n discount: 'Discount',\n vat: 'VAT',\n amount: 'Amount excl. tax',\n amountWithoutVat: 'Amount',\n base: 'Base',\n rate: 'Rate',\n vatAmount: 'VAT amount',\n recap: 'Summary',\n },\n lines: {\n totalHt: 'Amount excl. tax',\n vat: 'VAT',\n totalTTC: 'Amount incl. tax',\n totalWhitoutVat: 'Amount',\n deposit: 'Deposit',\n remainderToPay: 'Remainder to pay',\n netToPay: 'Net to pay',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Invoice',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n estimate: {\n headers: {\n title: 'Quotation',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n },\n orderForm: {\n headers: {\n title: 'Order form',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n },\n deposit: {\n headers: {\n title: 'Deposit invoice',\n expirationDate: 'expiry date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n asset: {\n headers: {\n title: 'Credit note',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n remainder: {\n headers: {\n title: 'Balance invoice',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n draft: {\n headers: {\n title: 'Draft',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Due date',\n generate: 'Created by',\n displayDocument: 'Display document',\n totalHt: 'Total excl. tax',\n totalVat: 'Total VAT',\n totalTtc: 'Total incl. tax',\n send: 'send you',\n },\n invoice: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n estimate: {\n title: 'this estimate',\n subTitle: 'Estimate',\n },\n orderForm: {\n title: 'this order form',\n subTitle: 'Order form',\n },\n deposit: {\n title: 'this deposit',\n subTitle: 'Deposit',\n },\n asset: {\n title: 'this asset',\n subTitle: 'Asset',\n },\n remainder: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n default: {\n title: 'this document',\n subTitle: 'Document',\n },\n },\n },\n};\n\nconst internationalizationMatching: { [key: string]: { fr: string; en: string }[] } = {\n penalties: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: '3 fois le taux légal', en: '3 times the legal rate' },\n { fr: 'Taux directeur de la BCE + 10 points', en: 'ECB key rate + 10 points' },\n ],\n discount: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: 'Aucun escompte en cas de paiement anticipé', en: 'No discount for early payment' },\n ],\n recoveryCost: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: '40€', en: '40€' },\n ],\n paymentType: [\n { fr: 'Carte bancaire', en: 'Credit card' },\n { fr: 'Chèque', en: 'Check' },\n { fr: 'Espèces', en: 'Cash' },\n { fr: 'Prélèvement', en: 'Direct debit' },\n { fr: 'Virement bancaire', en: 'Bank transfer' },\n ],\n vatMention: [\n { fr: 'TVA: Non concerné', en: 'VAT: Not affected' },\n { fr: 'TVA: Non applicable', en: 'VAT: Not applicable' },\n {\n fr: 'TVA non applicable, art. 293 B du CGI',\n en: 'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',\n },\n {\n fr: 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',\n en: 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',\n },\n {\n fr: 'Non soumis à TVA selon l\\'article 261C du CGI',\n en: 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',\n },\n { fr: 'Article 261 D du code général des impôts (CGI)', en: 'Article 261D of the French General Tax Code (FGTC)' },\n {\n fr: 'Exonération de TVA, article 283-2 du Code général des impôts',\n en: 'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',\n },\n {\n fr: 'Exonération de la TVA : Article 262 ter I du CGI',\n en: 'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',\n },\n { fr: 'Mention de TVA 261.4.4 1 du CGI', en: 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)' },\n {\n fr: 'Régime particulier – Biens d\\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',\n en: 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Régime particulier – Objets d\\'art - article 297 A du CGI et directive communautaire 2006/112/CE',\n en: 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Régime particulier – Objets de collection ou d\\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',\n en: 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',\n en: 'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Facture soumise au régime de l’auto-liquidation de la TVA',\n en: 'Invoice subject to VAT reverse charge system',\n },\n ],\n termsOfPayment: [\n {\n fr: 'À la livraison',\n en: 'On delivery',\n },\n {\n fr: 'À la command',\n en: 'On order',\n },\n {\n fr: 'À réception de la facture',\n en: 'Upon receipt of invoice',\n },\n {\n fr: 'Exigible sous 14 jours',\n en: 'Due within 14 days',\n },\n {\n fr: 'Exigible sous 30 jours',\n en: 'Due within 30 days',\n },\n {\n fr: '30 jours à réception de la facture',\n en: '30 days upon receipt of invoice',\n },\n {\n fr: '45 jours à réception de la facture',\n en: '45 days upon receipt of invoice',\n },\n {\n fr: '60 jours à réception de la facture',\n en: '60 days upon receipt of invoice',\n },\n ],\n accountingCategory: [\n {\n fr: 'Livraison de biens',\n en: 'Supply of goods',\n },\n {\n fr: 'Prestation de services',\n en: 'Services provision',\n },\n {\n fr: 'Prestation de services et livraison de biens',\n en: 'Services provision and supply of goods',\n },\n ],\n unit: [\n { fr: 'art', en: 'art' },\n { fr: 'h', en: 'h' },\n { fr: 'j', en: 'd' },\n { fr: 'Kg', en: 'kg' },\n { fr: 'l', en: 'l' },\n { fr: 'km', en: 'km' },\n { fr: 'demi j', en: 'half d' },\n { fr: 'an', en: 'year' },\n { fr: 'sem', en: 'week' },\n { fr: 'mois', en: 'month' },\n { fr: 'trim', en: 'quart' },\n { fr: 'p', en: 'p' },\n { fr: 'f', en: 'f' },\n { fr: 'm2', en: 'm2' },\n { fr: 'm3', en: 'm3' },\n { fr: 'Mètre', en: 'meter' },\n { fr: 'abo', en: 'sub' },\n { fr: 'nuit', en: 'night' },\n { fr: 't', en: 't' },\n { fr: 'ha', en: 'ha' },\n ],\n};\n\nexport const internationalizationConsistency = (\n language: InvoiceLanguage,\n value: string,\n key: InternationalizationConsistencyKey,\n): string | undefined => {\n const keyObjectToMacht = internationalizationMatching[key];\n return language === InvoiceLanguage.FR\n ? keyObjectToMacht.find((obj) => obj.fr === value)?.fr\n : keyObjectToMacht.find((obj) => obj.fr === value)?.en;\n};\n"]}
1
+ {"version":3,"file":"choices.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/internationalization/choices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAajG,MAAM,CAAC,MAAM,2BAA2B,GAAoC;IAC1E,EAAE,EAAE;QACF,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,cAAc,EAAE;oBACd,gBAAgB;oBAChB,eAAe;oBACf,2BAA2B;oBAC3B,wBAAwB;oBACxB,wBAAwB;oBACxB,oCAAoC;oBACpC,oCAAoC;oBACpC,oCAAoC;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,oBAAoB,EAAE;oBAC1E,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,wBAAwB,EAAE;oBAC9E,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,8CAA8C,EAAE;iBACrG;aACF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AE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;QACpB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtB,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE;QAC5B,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE;QACxB,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE;QAC3B,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;QACpB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtB,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE;QACxB,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;KACrB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,QAAyB,EACzB,KAAa,EACb,GAAuC,EACnB,EAAE;IACtB,MAAM,gBAAgB,GAAG,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC3D,OAAO,QAAQ,KAAK,eAAe,CAAC,EAAE;QACpC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,EAAE;QACtD,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC;AAC3D,CAAC,CAAC","sourcesContent":["import { AccountingCategoryId, InvoiceLanguage } from '../../../types/Enum/CommercialManagement';\nimport { InternationalizationChoicesType } from './type';\n\ntype InternationalizationConsistencyKey =\n | 'penalties'\n | 'discount'\n | 'vatMention'\n | 'recoveryCost'\n | 'paymentType'\n | 'termsOfPayment'\n | 'accountingCategory'\n | 'unit';\n\nexport const internationalizationChoices: InternationalizationChoicesType = {\n fr: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'À la livraison',\n 'À la commande',\n 'À réception de la facture',\n 'Exigible sous 14 jours',\n 'Exigible sous 30 jours',\n '30 jours à réception de la facture',\n '45 jours à réception de la facture',\n '60 jours à réception de la facture',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n options: {\n penalties: ['Non applicable', '3 fois le taux légal', 'Taux directeur de la BCE + 10 points'],\n discount: ['Non applicable', 'Aucun escompte en cas de paiement anticipé'],\n vatMention: [\n 'TVA: Non concerné',\n 'TVA: Non applicable',\n 'TVA non applicable, art. 293 B du CGI',\n 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',\n \"Non soumis à TVA selon l'article 261C du CGI\",\n 'Article 261 D du code général des impôts (CGI)',\n 'Exonération de TVA, article 283-2 du Code général des impôts',\n 'Exonération de la TVA : Article 262 ter I du CGI',\n 'Mention de TVA 261.4.4 1 du CGI',\n \"Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE\",\n \"Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE\",\n \"Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE\",\n 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Facture soumise au régime de l’auto-liquidation de la TVA',\n ],\n recoveryCost: ['Non applicable', '40€'],\n paymentType: ['Carte bancaire', 'Chèque', 'Espèces', 'Prélèvement', 'Virement bancaire'],\n },\n },\n template: {\n common: {\n headers: {\n title: 'Titre',\n emissionDate: \"Date d'émission\",\n accountingCategory: {\n title: \"Catégorie de l'opération\",\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n },\n footer: {\n capital: 'au capital de',\n siren: 'immatriculée sous le SIREN',\n vatCode: 'N° TVA',\n marginVat: 'Régime TVA sur marge',\n legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',\n shouldPayTaxAfterDebit: \"Option pour le paiement de la taxe d'après les débits\",\n penalties: 'Pénalités en cas de retard',\n discount: 'Escompte',\n recoveryCosts: 'Indemnités forfaitaire en cas de retard',\n generate: 'Généré par',\n },\n options: {\n vatMention: 'Mention TVA',\n paymentType: 'Mode de paiement',\n bank: 'BANQUE',\n approval: 'Bon pour accord',\n comment: 'Commentaire',\n },\n table: {\n headers: {\n product: 'Article',\n quantity: 'Quantité',\n unitPrice: 'P.U HT',\n unitPriceWithoutVat: 'P.U',\n discount: 'Remise',\n vat: 'TVA',\n amount: 'Montant HT',\n amountWithoutVat: 'Montant',\n base: 'Base',\n rate: 'Taux',\n vatAmount: 'Montant TVA',\n recap: 'Récapitulatif',\n },\n lines: {\n totalHt: 'Total HT',\n vat: 'TVA',\n totalTTC: 'Total TTC',\n totalWhitoutVat: 'Total',\n deposit: 'Acompte',\n remainderToPay: 'Reste à payer',\n netToPay: 'Net à payer',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Facture',\n dueDate: \"Date d'échéance\",\n termsOfPayment: 'Date limite de règlement',\n },\n },\n estimate: {\n headers: {\n title: 'Devis',\n dueDate: \"Valide jusqu'au\",\n termsOfPayment: 'Conditions de règlement',\n },\n },\n orderForm: {\n headers: {\n title: 'Bon de commande',\n dueDate: \"Date d'échéance\",\n termsOfPayment: 'Conditions de règlement',\n },\n },\n deposit: {\n headers: {\n title: \"Facture d'acompte\",\n expirationDate: \"Date d'expiration\",\n termsOfPayment: 'Date limite de règlement',\n },\n },\n asset: {\n headers: {\n title: 'Avoir',\n dueDate: \"Date d'échéance\",\n termsOfPayment: 'Date limite de règlement',\n },\n },\n remainder: {\n headers: {\n title: 'Facture de solde',\n dueDate: \"Date d'échéance\",\n termsOfPayment: 'Date limite de règlement',\n },\n },\n draft: {\n headers: {\n title: 'Brouillon',\n dueDate: \"Date d'échéance\",\n termsOfPayment: 'Date limite de règlement',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Échéance',\n generate: 'Généré par',\n displayDocument: 'Afficher le document',\n totalHt: 'Total HT',\n totalVat: 'Total TVA',\n totalTtc: 'Total TTC',\n send: 'vous adresse',\n },\n invoice: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n estimate: {\n title: 'ce devis',\n subTitle: 'Devis',\n },\n orderForm: {\n title: 'ce bon de commande',\n subTitle: 'Bon de commande',\n },\n deposit: {\n title: 'cet acompte',\n subTitle: 'Acompte',\n },\n asset: {\n title: 'cet avoir',\n subTitle: 'Avoir',\n },\n remainder: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n default: {\n title: 'ce document',\n subTitle: 'Document',\n },\n },\n },\n en: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'On delivery',\n 'On order',\n 'Upon receipt of invoice',\n 'Due within 14 days',\n 'Due within 30 days',\n '30 days upon receipt of invoice',\n '45 days upon receipt of invoice',\n '60 days upon receipt of invoice',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },\n ],\n },\n options: {\n penalties: ['Not applicable', '3 times the legal rate', 'ECB key rate + 10 points'],\n discount: ['Not applicable', 'No discount for early payment'],\n vatMention: [\n 'Not affected',\n 'Not applicable',\n 'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',\n 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',\n 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',\n 'Article 261D of the French General Tax Code (FGTC)',\n 'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',\n 'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',\n 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)',\n 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n 'Invoice subject to VAT reverse charge system',\n ],\n recoveryCost: ['Not applicable', '40€'],\n paymentType: ['Credit card', 'Check', 'Cash', 'Direct debit', 'Bank transfer'],\n },\n },\n template: {\n common: {\n headers: {\n title: 'Title',\n emissionDate: 'Invoice date',\n accountingCategory: {\n title: 'Transaction type',\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Supply of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services provision' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services provision and supply of goods' },\n ],\n },\n },\n footer: {\n capital: 'with capital of',\n siren: 'registered under SIREN',\n vatCode: 'VAT number',\n marginVat: 'VAT margin scheme',\n legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',\n shouldPayTaxAfterDebit: 'Option to pay tax on debits',\n penalties: 'Late fees',\n discount: 'discount',\n recoveryCosts: 'flat-rate delay compensation',\n generate: 'Created by',\n },\n options: {\n vatMention: 'VAT mention',\n paymentType: 'payment type',\n bank: 'BANK',\n approval: 'Agreed and signed',\n comment: 'Comment',\n },\n table: {\n headers: {\n product: 'Product',\n quantity: 'Quantity',\n unitPrice: 'Excl. tax unit price',\n unitPriceWithoutVat: 'Unit price',\n discount: 'Discount',\n vat: 'VAT',\n amount: 'Amount excl. tax',\n amountWithoutVat: 'Amount',\n base: 'Base',\n rate: 'Rate',\n vatAmount: 'VAT amount',\n recap: 'Summary',\n },\n lines: {\n totalHt: 'Amount excl. tax',\n vat: 'VAT',\n totalTTC: 'Amount incl. tax',\n totalWhitoutVat: 'Amount',\n deposit: 'Deposit',\n remainderToPay: 'Remainder to pay',\n netToPay: 'Net to pay',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Invoice',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n estimate: {\n headers: {\n title: 'Quotation',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n },\n orderForm: {\n headers: {\n title: 'Order form',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n },\n deposit: {\n headers: {\n title: 'Deposit invoice',\n expirationDate: 'expiry date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n asset: {\n headers: {\n title: 'Credit note',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n remainder: {\n headers: {\n title: 'Balance invoice',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n draft: {\n headers: {\n title: 'Draft',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Due date',\n generate: 'Created by',\n displayDocument: 'Display document',\n totalHt: 'Total excl. tax',\n totalVat: 'Total VAT',\n totalTtc: 'Total incl. tax',\n send: 'send you',\n },\n invoice: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n estimate: {\n title: 'this estimate',\n subTitle: 'Estimate',\n },\n orderForm: {\n title: 'this order form',\n subTitle: 'Order form',\n },\n deposit: {\n title: 'this deposit',\n subTitle: 'Deposit',\n },\n asset: {\n title: 'this asset',\n subTitle: 'Asset',\n },\n remainder: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n default: {\n title: 'this document',\n subTitle: 'Document',\n },\n },\n },\n};\n\nconst internationalizationMatching: { [key: string]: { fr: string; en: string }[] } = {\n penalties: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: '3 fois le taux légal', en: '3 times the legal rate' },\n { fr: 'Taux directeur de la BCE + 10 points', en: 'ECB key rate + 10 points' },\n ],\n discount: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: 'Aucun escompte en cas de paiement anticipé', en: 'No discount for early payment' },\n ],\n recoveryCost: [\n { fr: 'Non applicable', en: 'Not applicable' },\n { fr: '40€', en: '40€' },\n ],\n paymentType: [\n { fr: 'Carte bancaire', en: 'Credit card' },\n { fr: 'Chèque', en: 'Check' },\n { fr: 'Espèces', en: 'Cash' },\n { fr: 'Prélèvement', en: 'Direct debit' },\n { fr: 'Virement bancaire', en: 'Bank transfer' },\n ],\n vatMention: [\n { fr: 'TVA: Non concerné', en: 'VAT: Not affected' },\n { fr: 'TVA: Non applicable', en: 'VAT: Not applicable' },\n {\n fr: 'TVA non applicable, art. 293 B du CGI',\n en: 'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',\n },\n {\n fr: 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',\n en: 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',\n },\n {\n fr: \"Non soumis à TVA selon l'article 261C du CGI\",\n en: 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',\n },\n { fr: 'Article 261 D du code général des impôts (CGI)', en: 'Article 261D of the French General Tax Code (FGTC)' },\n {\n fr: 'Exonération de TVA, article 283-2 du Code général des impôts',\n en: 'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',\n },\n {\n fr: 'Exonération de la TVA : Article 262 ter I du CGI',\n en: 'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',\n },\n { fr: 'Mention de TVA 261.4.4 1 du CGI', en: 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)' },\n {\n fr: \"Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE\",\n en: 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: \"Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE\",\n en: 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: \"Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE\",\n en: 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',\n en: 'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',\n },\n {\n fr: 'Facture soumise au régime de l’auto-liquidation de la TVA',\n en: 'Invoice subject to VAT reverse charge system',\n },\n ],\n termsOfPayment: [\n {\n fr: 'À la livraison',\n en: 'On delivery',\n },\n {\n fr: 'À la command',\n en: 'On order',\n },\n {\n fr: 'À réception de la facture',\n en: 'Upon receipt of invoice',\n },\n {\n fr: 'Exigible sous 14 jours',\n en: 'Due within 14 days',\n },\n {\n fr: 'Exigible sous 30 jours',\n en: 'Due within 30 days',\n },\n {\n fr: '30 jours à réception de la facture',\n en: '30 days upon receipt of invoice',\n },\n {\n fr: '45 jours à réception de la facture',\n en: '45 days upon receipt of invoice',\n },\n {\n fr: '60 jours à réception de la facture',\n en: '60 days upon receipt of invoice',\n },\n ],\n accountingCategory: [\n {\n fr: 'Livraison de biens',\n en: 'Supply of goods',\n },\n {\n fr: 'Prestation de services',\n en: 'Services provision',\n },\n {\n fr: 'Prestation de services et livraison de biens',\n en: 'Services provision and supply of goods',\n },\n ],\n unit: [\n { fr: 'art', en: 'art' },\n { fr: 'h', en: 'h' },\n { fr: 'j', en: 'd' },\n { fr: 'Kg', en: 'kg' },\n { fr: 'l', en: 'l' },\n { fr: 'km', en: 'km' },\n { fr: 'demi j', en: 'half d' },\n { fr: 'an', en: 'year' },\n { fr: 'sem', en: 'week' },\n { fr: 'mois', en: 'month' },\n { fr: 'trim', en: 'quart' },\n { fr: 'p', en: 'p' },\n { fr: 'f', en: 'f' },\n { fr: 'm2', en: 'm2' },\n { fr: 'm3', en: 'm3' },\n { fr: 'Mètre', en: 'meter' },\n { fr: 'abo', en: 'sub' },\n { fr: 'nuit', en: 'night' },\n { fr: 't', en: 't' },\n { fr: 'ha', en: 'ha' },\n { fr: 'min', en: 'min' },\n { fr: 'g', en: 'g' },\n ],\n};\n\nexport const internationalizationConsistency = (\n language: InvoiceLanguage,\n value: string,\n key: InternationalizationConsistencyKey,\n): string | undefined => {\n const keyObjectToMacht = internationalizationMatching[key];\n return language === InvoiceLanguage.FR\n ? keyObjectToMacht.find((obj) => obj.fr === value)?.fr\n : keyObjectToMacht.find((obj) => obj.fr === value)?.en;\n};\n"]}
@@ -20,4 +20,5 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
+ export * from './societyApproval';
23
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
@@ -20,4 +20,5 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
+ export * from './societyApproval';
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './objectUtils';\nexport * from './stringUtils';\nexport * from './brands';\nexport * from './webmail';\nexport * from './decorators';\nexport * from './documents';\nexport * from './balanceSheetModule';\nexport * from './siretValidation';\nexport * from './statutsGeneration';\nexport * from './email';\nexport * from './exercice';\nexport * from './prestation';\nexport * from './task';\nexport * from './social';\nexport * from './commercialManagement/document';\nexport * from './commercialManagement/recurrence';\nexport * from './amount';\nexport * from './quotation';\nexport * from './isHtml';\nexport * from './isUrl';\nexport * from './bankAccount';\nexport * from './commercialOffer';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './objectUtils';\nexport * from './stringUtils';\nexport * from './brands';\nexport * from './webmail';\nexport * from './decorators';\nexport * from './documents';\nexport * from './balanceSheetModule';\nexport * from './siretValidation';\nexport * from './statutsGeneration';\nexport * from './email';\nexport * from './exercice';\nexport * from './prestation';\nexport * from './task';\nexport * from './social';\nexport * from './commercialManagement/document';\nexport * from './commercialManagement/recurrence';\nexport * from './amount';\nexport * from './quotation';\nexport * from './isHtml';\nexport * from './isUrl';\nexport * from './bankAccount';\nexport * from './commercialOffer';\nexport * from './societyApproval';\n"]}
@@ -0,0 +1,38 @@
1
+ import { LegalFormTypeEnum } from '../types/Enum/LegalForm';
2
+ import { SocietyApprovalDocumentType, SocietyApprovalDocumentConfig, SocietyApprovalDocumentTemplate } from '../types/Enum/SocietyApproval';
3
+ import { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';
4
+ /**
5
+ * Récupère le nom de la forme juridique
6
+ * @param idLegalForm - L'identifiant de la forme juridique
7
+ * @param fallback - Valeur par défaut si non trouvée
8
+ * @returns Le nom de la forme juridique
9
+ */
10
+ export declare function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback?: string): string;
11
+ /**
12
+ * Récupère la configuration des documents d'approbation pour une forme juridique donnée
13
+ * @param idLegalForm - L'identifiant de la forme juridique
14
+ * @returns La configuration des documents ou undefined si non trouvée
15
+ */
16
+ export declare function getApprovalDocumentsByLegalForm(idLegalForm: LegalFormTypeEnum): SocietyApprovalDocumentConfig | undefined;
17
+ /**
18
+ * Récupère le nom du template pour un document spécifique et une forme juridique
19
+ * @param idLegalForm - L'identifiant de la forme juridique
20
+ * @param idDocumentType - Le type de document d'approbation
21
+ * @returns Le nom du template ou undefined si non trouvé
22
+ */
23
+ export declare function getApprovalDocumentTemplateName(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): string | undefined;
24
+ /**
25
+ * Récupère le nom du template pour un document spécifique et une forme juridique
26
+ * @param idLegalForm - L'identifiant de la forme juridique
27
+ * @param idDocumentType - Le type de document d'approbation
28
+ * @returns Le nom du template ou undefined si non trouvé
29
+ */
30
+ export declare function getApprovalDocumentInfos(idLegalForm: LegalFormTypeEnum, idDocumentType: SocietyApprovalDocumentType): SocietyApprovalDocumentTemplate | undefined;
31
+ /**
32
+ * Construit les données formatées pour le template d'approbation
33
+ * @param existingApproval - Les données d'approbation de la société
34
+ * @param style - Le style HTML pour le document
35
+ * @returns L'objet de données formaté pour le template
36
+ */
37
+ export declare function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any>;
38
+ //# sourceMappingURL=societyApproval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"societyApproval.d.ts","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAE7B,+BAA+B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAO9E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,iBAAiB,EAAE,QAAQ,GAAE,MAAW,GAAG,MAAM,CAE9F;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,GAC7B,6BAA6B,GAAG,SAAS,CAE3C;AAED;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,MAAM,GAAG,SAAS,CAIpB;AAYD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,iBAAiB,EAC9B,cAAc,EAAE,2BAA2B,GAC1C,+BAA+B,GAAG,SAAS,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+ChH"}
@@ -0,0 +1,109 @@
1
+ import { LegalForm } from '../types/Enum/LegalForm';
2
+ import { SocietyApprovalDocumentsByLegalForm, } from '../types/Enum/SocietyApproval';
3
+ import { QualityList } from '../types/Enum/Quality';
4
+ import { getBrand } from './brands';
5
+ import { convertNumberToLetter } from './amount';
6
+ import * as dayjs from 'dayjs';
7
+ import { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';
8
+ /**
9
+ * Récupère le nom de la forme juridique
10
+ * @param idLegalForm - L'identifiant de la forme juridique
11
+ * @param fallback - Valeur par défaut si non trouvée
12
+ * @returns Le nom de la forme juridique
13
+ */
14
+ export function getLegalFormName(idLegalForm, fallback = '') {
15
+ return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;
16
+ }
17
+ /**
18
+ * Récupère la configuration des documents d'approbation pour une forme juridique donnée
19
+ * @param idLegalForm - L'identifiant de la forme juridique
20
+ * @returns La configuration des documents ou undefined si non trouvée
21
+ */
22
+ export function getApprovalDocumentsByLegalForm(idLegalForm) {
23
+ return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);
24
+ }
25
+ /**
26
+ * Récupère le nom du template pour un document spécifique et une forme juridique
27
+ * @param idLegalForm - L'identifiant de la forme juridique
28
+ * @param idDocumentType - Le type de document d'approbation
29
+ * @returns Le nom du template ou undefined si non trouvé
30
+ */
31
+ //@deprecated use getApprovalDocumentInfos instead
32
+ export function getApprovalDocumentTemplateName(idLegalForm, idDocumentType) {
33
+ const config = getApprovalDocumentsByLegalForm(idLegalForm);
34
+ const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
35
+ return document?.templateName;
36
+ }
37
+ /**
38
+ * Récupère le texte de la ville du greffe
39
+ * @param idCityOfGreffe - L'identifiant de la ville du greffe
40
+ * @returns Le texte de la ville ou une chaîne vide
41
+ */
42
+ function getCityOfGreffeName(idCityOfGreffe) {
43
+ if (!idCityOfGreffe)
44
+ return '';
45
+ return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';
46
+ }
47
+ /**
48
+ * Récupère le nom du template pour un document spécifique et une forme juridique
49
+ * @param idLegalForm - L'identifiant de la forme juridique
50
+ * @param idDocumentType - Le type de document d'approbation
51
+ * @returns Le nom du template ou undefined si non trouvé
52
+ */
53
+ export function getApprovalDocumentInfos(idLegalForm, idDocumentType) {
54
+ const config = getApprovalDocumentsByLegalForm(idLegalForm);
55
+ return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);
56
+ }
57
+ /**
58
+ * Construit les données formatées pour le template d'approbation
59
+ * @param existingApproval - Les données d'approbation de la société
60
+ * @param style - Le style HTML pour le document
61
+ * @returns L'objet de données formaté pour le template
62
+ */
63
+ export function buildApprovalTemplateData(existingApproval, style) {
64
+ const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();
65
+ const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;
66
+ const brand = getBrand();
67
+ return {
68
+ // Variables globales
69
+ style,
70
+ yearInText,
71
+ dayAndMonthInText,
72
+ date: dayjs().locale('fr').format('DD MMMM YYYY'),
73
+ companyInformation: {
74
+ rcs: brand?.companyInformation?.rcs,
75
+ nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,
76
+ city: brand?.companyInformation?.city,
77
+ postalAddress: brand?.companyInformation?.postalAddress,
78
+ montantCapital: brand?.companyInformation?.montantCapital,
79
+ statut: brand?.companyInformation?.statut,
80
+ ECOrderCity: brand?.companyInformation?.ECOrderCity,
81
+ },
82
+ owner: {
83
+ identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,
84
+ quality: QualityList.find((ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality)?.label,
85
+ },
86
+ // Variables stockées en base
87
+ ...existingApproval,
88
+ generatingDatas: {
89
+ ...existingApproval?.generatingDatas,
90
+ ...(existingApproval?.generatingDatas?.approvalDate
91
+ ? {
92
+ approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)
93
+ .locale('fr')
94
+ .format('DD MMMM YYYY')
95
+ .toUpperCase(),
96
+ }
97
+ : {}),
98
+ },
99
+ exercice: {
100
+ ...existingApproval?.exercice,
101
+ society: {
102
+ ...existingApproval?.exercice?.society,
103
+ cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
104
+ },
105
+ endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
106
+ },
107
+ };
108
+ }
109
+ //# sourceMappingURL=societyApproval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"societyApproval.js","sourceRoot":"","sources":["../../../ts/utils/societyApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAGL,mCAAmC,GAEpC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAA8B,EAAE,WAAmB,EAAE;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,E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CACvB,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,CACpG,EAAE,KAAK;SACT;QACD,6BAA6B;QAC7B,GAAG,gBAAgB;QACnB,eAAe,EAAE;YACf,GAAG,gBAAgB,EAAE,eAAe;YACpC,GAAG,CAAC,gBAAgB,EAAE,eAAe,EAAE,YAAY;gBACjD,CAAC,CAAC;oBACE,YAAY,EAAE,KAAK,CAAC,gBAAgB,EAAE,eAAe,EAAE,YAAY,CAAC;yBACjE,MAAM,CAAC,IAAI,CAAC;yBACZ,MAAM,CAAC,cAAc,CAAC;yBACtB,WAAW,EAAE;iBACjB;gBACH,CAAC,CAAC,EAAE,CAAC;SACR;QACD,QAAQ,EAAE;YACR,GAAG,gBAAgB,EAAE,QAAQ;YAC7B,OAAO,EAAE;gBACP,GAAG,gBAAgB,EAAE,QAAQ,EAAE,OAAO;gBACtC,YAAY,EAAE,mBAAmB,CAAC,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC,WAAW,EAAE;aACrG;YACD,OAAO,EAAE,KAAK,CAAC,gBAAgB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,WAAW,EAAE;SACtG;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { LegalForm, LegalFormTypeEnum } from '../types/Enum/LegalForm';\nimport {\n SocietyApprovalDocumentType,\n SocietyApprovalDocumentConfig,\n SocietyApprovalDocumentsByLegalForm,\n SocietyApprovalDocumentTemplate,\n} from '../types/Enum/SocietyApproval';\nimport { ISocietyApproval } from '../types/Interface/models/ISocietyApproval';\nimport { QualityList } from '../types/Enum/Quality';\nimport { getBrand } from './brands';\nimport { convertNumberToLetter } from './amount';\nimport * as dayjs from 'dayjs';\nimport { CityOfGreffeDetail } from '../types/Enum/CityOfGreffe';\n\n/**\n * Récupère le nom de la forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param fallback - Valeur par défaut si non trouvée\n * @returns Le nom de la forme juridique\n */\nexport function getLegalFormName(idLegalForm: LegalFormTypeEnum, fallback: string = ''): string {\n return Object.values(LegalForm).find((lf) => lf.id === idLegalForm)?.name ?? fallback;\n}\n\n/**\n * Récupère la configuration des documents d'approbation pour une forme juridique donnée\n * @param idLegalForm - L'identifiant de la forme juridique\n * @returns La configuration des documents ou undefined si non trouvée\n */\nexport function getApprovalDocumentsByLegalForm(\n idLegalForm: LegalFormTypeEnum,\n): SocietyApprovalDocumentConfig | undefined {\n return SocietyApprovalDocumentsByLegalForm.find((config) => config.idLegalForm === idLegalForm);\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\n//@deprecated use getApprovalDocumentInfos instead\nexport function getApprovalDocumentTemplateName(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): string | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n const document = config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n return document?.templateName;\n}\n\n/**\n * Récupère le texte de la ville du greffe\n * @param idCityOfGreffe - L'identifiant de la ville du greffe\n * @returns Le texte de la ville ou une chaîne vide\n */\nfunction getCityOfGreffeName(idCityOfGreffe: number | null | undefined): string {\n if (!idCityOfGreffe) return '';\n return CityOfGreffeDetail.find((c) => c.id === idCityOfGreffe)?.text ?? '';\n}\n\n/**\n * Récupère le nom du template pour un document spécifique et une forme juridique\n * @param idLegalForm - L'identifiant de la forme juridique\n * @param idDocumentType - Le type de document d'approbation\n * @returns Le nom du template ou undefined si non trouvé\n */\nexport function getApprovalDocumentInfos(\n idLegalForm: LegalFormTypeEnum,\n idDocumentType: SocietyApprovalDocumentType,\n): SocietyApprovalDocumentTemplate | undefined {\n const config = getApprovalDocumentsByLegalForm(idLegalForm);\n return config?.documents.find((doc) => doc.idDocumentType === idDocumentType);\n}\n\n/**\n * Construit les données formatées pour le template d'approbation\n * @param existingApproval - Les données d'approbation de la société\n * @param style - Le style HTML pour le document\n * @returns L'objet de données formaté pour le template\n */\nexport function buildApprovalTemplateData(existingApproval: ISocietyApproval, style: string): Record<string, any> {\n const yearInText = convertNumberToLetter(+dayjs().format('YYYY')).toLowerCase();\n const dayAndMonthInText = `${convertNumberToLetter(+dayjs().format('D'))} ${dayjs().locale('fr').format('MMMM').toLowerCase()}`;\n const brand = getBrand();\n return {\n // Variables globales\n style,\n yearInText,\n dayAndMonthInText,\n date: dayjs().locale('fr').format('DD MMMM YYYY'),\n companyInformation: {\n rcs: brand?.companyInformation?.rcs,\n nomRaisonSociale: brand?.companyInformation?.nomRaisonSociale,\n city: brand?.companyInformation?.city,\n postalAddress: brand?.companyInformation?.postalAddress,\n montantCapital: brand?.companyInformation?.montantCapital,\n statut: brand?.companyInformation?.statut,\n ECOrderCity: brand?.companyInformation?.ECOrderCity,\n },\n owner: {\n identity: `${existingApproval?.exercice?.society?.users?.[0]?.idCivility === 1 ? 'Monsieur' : 'Madame'} ${existingApproval?.exercice?.society?.users?.[0]?.firstname} ${existingApproval?.exercice?.society?.users?.[0]?.lastname} `,\n quality: QualityList.find(\n (ql) => ql.id === existingApproval?.exercice?.society?.users?.[0]?.businessPartners?.[0]?.idQuality,\n )?.label,\n },\n // Variables stockées en base\n ...existingApproval,\n generatingDatas: {\n ...existingApproval?.generatingDatas,\n ...(existingApproval?.generatingDatas?.approvalDate\n ? {\n approvalDate: dayjs(existingApproval?.generatingDatas?.approvalDate)\n .locale('fr')\n .format('DD MMMM YYYY')\n .toUpperCase(),\n }\n : {}),\n },\n exercice: {\n ...existingApproval?.exercice,\n society: {\n ...existingApproval?.exercice?.society,\n cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),\n },\n endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),\n },\n };\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.195-7",
3
+ "version": "1.3.195",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -3,15 +3,6 @@ import {
3
3
  ICard,
4
4
  QueryUserCards,
5
5
  QueryUserCardsPaginated,
6
- QueryUserCardsStats,
7
- CardsStatsGroup,
8
- UpdateCard,
9
- ModifyTeamPlanning,
10
- ModifyExercisePlanning,
11
- OrganizeBalanceSheets,
12
- OrganizeBalanceSheetsResponse,
13
- QueryInternalCardsStats,
14
- InternalCardStats,
15
6
  BasePaginate,
16
7
  UpdateCardV2,
17
8
  AssignCard,
@@ -38,62 +29,10 @@ export class Card extends Resource {
38
29
  });
39
30
  }
40
31
 
41
- /**
42
- * @deprecated Use getAll instead
43
- */
44
- getAllAdmin(params: QueryUserCards, signal?: AbortSignal): Promise<ICard[]> {
45
- return this.axios.$get('/cards', {
46
- ...(signal ? { signal } : {}),
47
- params,
48
- });
49
- }
50
-
51
- getStats(params: QueryUserCardsStats, signal?: AbortSignal): Promise<CardsStatsGroup[]> {
52
- return this.axios.$get('/cards/stats', {
53
- ...(signal ? { signal } : {}),
54
- params,
55
- });
56
- }
57
-
58
- getInternalStats(params: QueryInternalCardsStats, signal?: AbortSignal): Promise<InternalCardStats[]> {
59
- return this.axios.$get('/cards/internal/stats', {
60
- ...(signal ? { signal } : {}),
61
- params,
62
- });
63
- }
64
-
65
- /**
66
- * @deprecated Use updateV2 instead
67
- */
68
- update(id: number, data: UpdateCard): Promise<ICard> {
69
- return this.axios.$put(`/cards/${id}`, data);
70
- }
71
-
72
32
  delete(id: number): Promise<void> {
73
33
  return this.axios.$delete(`/cards/${id}`);
74
34
  }
75
35
 
76
- /**
77
- * @deprecated comptallo v1 endpoint
78
- */
79
- modifyTeamPlanning(data: ModifyTeamPlanning): Promise<true> {
80
- return this.axios.$put('/cards/assign/modify-team-planning', data);
81
- }
82
-
83
- /**
84
- * @deprecated comptallo v1 endpoint
85
- */
86
- modifyExercisePlanning(data: ModifyExercisePlanning): Promise<true> {
87
- return this.axios.$put('/cards/assign/modify-exercise-planning', data);
88
- }
89
-
90
- /**
91
- * @deprecated comptallo v1 endpoint
92
- */
93
- organizeFutureBalanceSheets(data: OrganizeBalanceSheets): Promise<OrganizeBalanceSheetsResponse> {
94
- return this.axios.$post('/cards/accountant/organize/future-balance-sheets', data);
95
- }
96
-
97
36
  updateV2(idCard: number, data: UpdateCardV2): Promise<ICard> {
98
37
  return this.axios.$put(`/cards/${idCard}/v2`, data);
99
38
  }
@@ -0,0 +1,20 @@
1
+ import { Resource } from '../Resource';
2
+ import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
3
+
4
+ export class LoginApproval extends Resource {
5
+ approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
6
+ return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
7
+ }
8
+
9
+ deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
10
+ return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
11
+ }
12
+
13
+ getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {
14
+ return this.axios.$get(`/auth/approvals/${requestId}/status`);
15
+ }
16
+
17
+ cleanup(): Promise<{ deleted: number; message: string }> {
18
+ return this.axios.$post('/auth/approvals/cleanup');
19
+ }
20
+ }
@@ -26,4 +26,10 @@ export class UserMfa extends Resource {
26
26
  // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
27
27
  return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
28
28
  }
29
+
30
+ ///// Mobile Approval MFA /////
31
+
32
+ setMobileApproval(userId: number, enable: boolean): Promise<void> {
33
+ return this.axios.$post('/mfa/mobile-approval', { userId, enable });
34
+ }
29
35
  }