@silexpert/core 1.3.194 → 1.3.195-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +23 -1
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +36 -0
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Mfa.js +0 -4
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  9. package/dist/cjs/api/resources/Payment.d.ts +0 -1
  10. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Payment.js +0 -3
  12. package/dist/cjs/api/resources/Payment.js.map +1 -1
  13. package/dist/cjs/api/resources/Society.d.ts +1 -2
  14. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/Society.js +0 -3
  16. package/dist/cjs/api/resources/Society.js.map +1 -1
  17. package/dist/cjs/api/resources/UsersHistory.d.ts +11 -0
  18. package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -0
  19. package/dist/cjs/api/resources/UsersHistory.js +26 -0
  20. package/dist/cjs/api/resources/UsersHistory.js.map +1 -0
  21. package/dist/cjs/api/resources.d.ts +0 -4
  22. package/dist/cjs/api/resources.d.ts.map +1 -1
  23. package/dist/cjs/api/resources.js +0 -4
  24. package/dist/cjs/api/resources.js.map +1 -1
  25. package/dist/cjs/types/Enum/Card.d.ts +44 -2
  26. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/Card.js +52 -2
  28. package/dist/cjs/types/Enum/Card.js.map +1 -1
  29. package/dist/cjs/types/Enum/Ged.d.ts +3 -9
  30. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/Ged.js +30 -154
  32. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  33. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  34. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  36. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  37. package/dist/cjs/types/Enum/JobTitle.d.ts +1 -2
  38. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  39. package/dist/cjs/types/Enum/JobTitle.js +0 -6
  40. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  41. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -3
  42. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/MailAuto.js +0 -2
  44. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  45. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  46. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  47. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  48. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  49. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  50. package/dist/cjs/types/Enum/Proceding.js +0 -4
  51. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  52. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  53. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  54. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  55. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  56. package/dist/cjs/types/Enum/UsersHistory.d.ts +17 -0
  57. package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -0
  58. package/dist/cjs/types/Enum/UsersHistory.js +26 -0
  59. package/dist/cjs/types/Enum/UsersHistory.js.map +1 -0
  60. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  61. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  64. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  66. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  67. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  68. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  70. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  72. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +0 -6
  74. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  75. package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -3
  76. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/card/Cron.js +1 -10
  78. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  80. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  81. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
  82. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  83. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  84. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  85. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +106 -0
  86. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  87. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  88. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +13 -11
  90. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  91. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  92. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  93. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +79 -0
  94. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  95. package/dist/cjs/types/Interface/api/card/Query.d.ts +8 -0
  96. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -0
  97. package/dist/cjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +15 -16
  98. package/dist/cjs/types/Interface/api/card/Query.js.map +1 -0
  99. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  100. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  101. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +44 -7
  102. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  103. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  104. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/card/UpdateCard.js +58 -1
  106. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  108. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  109. package/dist/cjs/types/Interface/api/informationRequest/Update.js +1 -10
  110. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  111. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  112. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  113. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  114. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  115. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  116. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +0 -6
  117. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  118. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  119. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -14
  121. package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  122. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  123. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  124. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  125. package/dist/cjs/types/Interface/models/ICard.d.ts +19 -0
  126. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  127. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  128. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +4 -0
  129. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  130. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  131. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  132. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  133. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  134. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  135. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  136. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  137. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  138. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  139. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  140. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  141. package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  142. package/dist/cjs/types/Interface/{api/webex/WebexMeeting.js → models/IUsersHistory.js} +1 -1
  143. package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -0
  144. package/dist/cjs/types/index.d.ts +6 -14
  145. package/dist/cjs/types/index.d.ts.map +1 -1
  146. package/dist/cjs/types/index.js +6 -14
  147. package/dist/cjs/types/index.js.map +1 -1
  148. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  149. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  150. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  151. package/dist/cjs/utils/index.d.ts +0 -1
  152. package/dist/cjs/utils/index.d.ts.map +1 -1
  153. package/dist/cjs/utils/index.js +0 -1
  154. package/dist/cjs/utils/index.js.map +1 -1
  155. package/dist/mjs/api/resources/Card.d.ts +23 -1
  156. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  157. package/dist/mjs/api/resources/Card.js +45 -0
  158. package/dist/mjs/api/resources/Card.js.map +1 -1
  159. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  160. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  161. package/dist/mjs/api/resources/Mfa.js +0 -4
  162. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  163. package/dist/mjs/api/resources/Payment.d.ts +0 -1
  164. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  165. package/dist/mjs/api/resources/Payment.js +0 -3
  166. package/dist/mjs/api/resources/Payment.js.map +1 -1
  167. package/dist/mjs/api/resources/Society.d.ts +1 -2
  168. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  169. package/dist/mjs/api/resources/Society.js +0 -3
  170. package/dist/mjs/api/resources/Society.js.map +1 -1
  171. package/dist/mjs/api/resources/UsersHistory.d.ts +11 -0
  172. package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -0
  173. package/dist/mjs/api/resources/UsersHistory.js +22 -0
  174. package/dist/mjs/api/resources/UsersHistory.js.map +1 -0
  175. package/dist/mjs/api/resources.d.ts +0 -4
  176. package/dist/mjs/api/resources.d.ts.map +1 -1
  177. package/dist/mjs/api/resources.js +0 -4
  178. package/dist/mjs/api/resources.js.map +1 -1
  179. package/dist/mjs/types/Enum/Card.d.ts +44 -2
  180. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  181. package/dist/mjs/types/Enum/Card.js +52 -2
  182. package/dist/mjs/types/Enum/Card.js.map +1 -1
  183. package/dist/mjs/types/Enum/Ged.d.ts +3 -9
  184. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  185. package/dist/mjs/types/Enum/Ged.js +30 -154
  186. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  187. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  188. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  189. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  190. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  191. package/dist/mjs/types/Enum/JobTitle.d.ts +1 -2
  192. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  193. package/dist/mjs/types/Enum/JobTitle.js +0 -6
  194. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  195. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -3
  196. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  197. package/dist/mjs/types/Enum/MailAuto.js +0 -2
  198. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  199. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  200. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  201. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  202. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  203. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  204. package/dist/mjs/types/Enum/Proceding.js +0 -4
  205. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  206. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  207. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  208. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  209. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  210. package/dist/mjs/types/Enum/UsersHistory.d.ts +17 -0
  211. package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -0
  212. package/dist/mjs/types/Enum/UsersHistory.js +23 -0
  213. package/dist/mjs/types/Enum/UsersHistory.js.map +1 -0
  214. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  215. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  216. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  217. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  218. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  219. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  220. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  221. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  222. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  223. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
  224. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  225. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
  226. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  227. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +0 -7
  228. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  229. package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -3
  230. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  231. package/dist/mjs/types/Interface/api/card/Cron.js +0 -8
  232. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  233. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  234. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  235. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
  236. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  237. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
  238. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  239. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +115 -0
  240. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  241. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  242. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  243. package/dist/mjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +14 -12
  244. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  245. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
  246. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
  247. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +84 -0
  248. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
  249. package/dist/mjs/types/Interface/api/card/Query.d.ts +8 -0
  250. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -0
  251. package/dist/mjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +16 -20
  252. package/dist/mjs/types/Interface/api/card/Query.js.map +1 -0
  253. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
  254. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  255. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +43 -7
  256. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  257. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
  258. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  259. package/dist/mjs/types/Interface/api/card/UpdateCard.js +65 -1
  260. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  261. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
  262. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  263. package/dist/mjs/types/Interface/api/informationRequest/Update.js +0 -9
  264. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  265. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  266. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  267. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  268. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
  269. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  270. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +0 -7
  271. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  272. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
  273. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
  274. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -15
  275. package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
  276. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
  277. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  278. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  279. package/dist/mjs/types/Interface/models/ICard.d.ts +19 -0
  280. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  281. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  282. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +4 -0
  283. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  284. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  285. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  286. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  287. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  288. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  289. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  290. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  291. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  292. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  293. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  294. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +10 -0
  295. package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
  296. package/dist/mjs/types/Interface/models/IUsersHistory.js +2 -0
  297. package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -0
  298. package/dist/mjs/types/index.d.ts +6 -14
  299. package/dist/mjs/types/index.d.ts.map +1 -1
  300. package/dist/mjs/types/index.js +6 -14
  301. package/dist/mjs/types/index.js.map +1 -1
  302. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  303. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  304. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  305. package/dist/mjs/utils/index.d.ts +0 -1
  306. package/dist/mjs/utils/index.d.ts.map +1 -1
  307. package/dist/mjs/utils/index.js +0 -1
  308. package/dist/mjs/utils/index.js.map +1 -1
  309. package/package.json +1 -1
  310. package/ts/api/resources/Card.ts +61 -0
  311. package/ts/api/resources/Mfa.ts +0 -6
  312. package/ts/api/resources/Payment.ts +0 -4
  313. package/ts/api/resources/Society.ts +0 -5
  314. package/ts/api/resources/UsersHistory.ts +29 -0
  315. package/ts/api/resources.ts +0 -4
  316. package/ts/types/Enum/Card.ts +52 -2
  317. package/ts/types/Enum/Ged.ts +248 -380
  318. package/ts/types/Enum/InformationRequestState.ts +0 -1
  319. package/ts/types/Enum/JobTitle.ts +0 -6
  320. package/ts/types/Enum/MailAuto.ts +0 -2
  321. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  322. package/ts/types/Enum/Proceding.ts +0 -4
  323. package/ts/types/Enum/StatutsSection.ts +7 -15
  324. package/ts/types/Enum/UsersHistory.ts +25 -0
  325. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  326. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  327. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  328. package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -6
  329. package/ts/types/Interface/api/card/Cron.ts +1 -8
  330. package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
  331. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +81 -0
  332. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
  333. package/ts/types/Interface/api/card/ModifyPlanning.ts +52 -0
  334. package/ts/types/Interface/api/card/Query.ts +19 -0
  335. package/ts/types/Interface/api/card/QueryUserCards.ts +36 -6
  336. package/ts/types/Interface/api/card/UpdateCard.ts +50 -2
  337. package/ts/types/Interface/api/informationRequest/Update.ts +0 -7
  338. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  339. package/ts/types/Interface/api/user/RegisterProspect.ts +0 -5
  340. package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -17
  341. package/ts/types/Interface/models/IBalanceSheet.ts +3 -0
  342. package/ts/types/Interface/models/ICard.ts +20 -0
  343. package/ts/types/Interface/models/ICardHistory.ts +4 -0
  344. package/ts/types/Interface/models/ICustomerVat.ts +1 -0
  345. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  346. package/ts/types/Interface/models/IUser.ts +0 -2
  347. package/ts/types/Interface/models/IUsersHistory.ts +9 -0
  348. package/ts/types/index.ts +6 -14
  349. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  350. package/ts/utils/index.ts +0 -1
  351. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  352. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  353. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  354. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  355. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  356. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  357. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  358. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  359. package/dist/cjs/api/resources/Webex.d.ts +0 -8
  360. package/dist/cjs/api/resources/Webex.d.ts.map +0 -1
  361. package/dist/cjs/api/resources/Webex.js +0 -17
  362. package/dist/cjs/api/resources/Webex.js.map +0 -1
  363. package/dist/cjs/types/Enum/EbookIntention.d.ts +0 -8
  364. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +0 -1
  365. package/dist/cjs/types/Enum/EbookIntention.js +0 -18
  366. package/dist/cjs/types/Enum/EbookIntention.js.map +0 -1
  367. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  368. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  369. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  370. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  371. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  372. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  373. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  374. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  375. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -46
  376. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  377. package/dist/cjs/types/Enum/SocietyApproval.js +0 -280
  378. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  379. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  380. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  381. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  382. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  383. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  384. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  385. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  386. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  387. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  388. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  389. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  390. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  391. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  392. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  393. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  394. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  395. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  396. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +0 -21
  397. package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  398. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  399. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  400. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  401. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  402. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  403. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +0 -3
  404. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  405. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  406. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  407. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  408. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  409. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  410. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  411. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  412. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  413. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  414. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  415. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  416. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  417. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  418. package/dist/cjs/utils/societyApproval.js +0 -101
  419. package/dist/cjs/utils/societyApproval.js.map +0 -1
  420. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  421. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  422. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  423. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  424. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  425. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  426. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  427. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  428. package/dist/mjs/api/resources/Webex.d.ts +0 -8
  429. package/dist/mjs/api/resources/Webex.d.ts.map +0 -1
  430. package/dist/mjs/api/resources/Webex.js +0 -13
  431. package/dist/mjs/api/resources/Webex.js.map +0 -1
  432. package/dist/mjs/types/Enum/EbookIntention.d.ts +0 -8
  433. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +0 -1
  434. package/dist/mjs/types/Enum/EbookIntention.js +0 -15
  435. package/dist/mjs/types/Enum/EbookIntention.js.map +0 -1
  436. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  437. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  438. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  439. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  440. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  441. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  442. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  443. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  444. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -46
  445. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  446. package/dist/mjs/types/Enum/SocietyApproval.js +0 -277
  447. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  448. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  449. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  450. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  451. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  452. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  453. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  454. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  455. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  456. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  457. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  458. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  459. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  460. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  461. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  462. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  463. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
  464. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
  465. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +0 -18
  466. package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
  467. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  468. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  469. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  470. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  471. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  472. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +0 -2
  473. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  474. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  475. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  476. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +0 -2
  477. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  478. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  479. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  480. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  481. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  482. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  483. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  484. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  485. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  486. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  487. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  488. package/dist/mjs/utils/societyApproval.js +0 -109
  489. package/dist/mjs/utils/societyApproval.js.map +0 -1
  490. package/ts/api/resources/LoginApproval.ts +0 -20
  491. package/ts/api/resources/SocietyApproval.ts +0 -75
  492. package/ts/api/resources/Webex.ts +0 -16
  493. package/ts/types/Enum/EbookIntention.ts +0 -14
  494. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  495. package/ts/types/Enum/MfaMode.ts +0 -11
  496. package/ts/types/Enum/SocietyApproval.ts +0 -301
  497. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  498. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  499. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  500. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  501. package/ts/types/Interface/api/bankAccount/Benchmark.ts +0 -7
  502. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -20
  503. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
  504. package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
  505. package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
  506. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  507. package/ts/utils/societyApproval.ts +0 -129
@@ -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,8 +519,6 @@ 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' },
524
522
  ],
525
523
  };
526
524
  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,EAAE,KAAK,EAAE,wBAAwB,EAAE;oBAC9E,EAAE,EAAE,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,8CAA8C,EAAE;iBACrG;aACF;YACD,OAAO,EAAE;gBACP,SAAS,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,EAAE,sCAAsC,CAAC;gBAC7F,QAAQ,EAAE,CAAC,gBAAgB,EAAE,4CAA4C,CAAC;gBAC1E,UAAU,EAAE;oBACV,mBAAmB;oBACnB,qBAAqB;oBACrB,uCAAuC;oBACvC,8DAA8D;oBAC9D,8CAA8C;oBAC9C,gDAAgD;oBAChD,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AAE,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"]}
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;YACD,OAAO,EAAE;gBACP,SAAS,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,EAAE,sCAAsC,CAAC;gBAC7F,QAAQ,EAAE,CAAC,gBAAgB,EAAE,4CAA4C,CAAC;gBAC1E,UAAU,EAAE;oBACV,mBAAmB;oBACnB,qBAAqB;oBACrB,uCAAuC;oBACvC,8DAA8D;oBAC9D,+CAA+C;oBAC/C,gD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AAE,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"]}
@@ -20,5 +20,4 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
- export * from './societyApproval';
24
23
  //# 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;AAClC,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"}
@@ -20,5 +20,4 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
- export * from './societyApproval';
24
23
  //# 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;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"]}
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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.194",
3
+ "version": "1.3.195-2",
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,6 +3,15 @@ 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,
6
15
  BasePaginate,
7
16
  UpdateCardV2,
8
17
  AssignCard,
@@ -29,10 +38,62 @@ export class Card extends Resource {
29
38
  });
30
39
  }
31
40
 
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
+
32
72
  delete(id: number): Promise<void> {
33
73
  return this.axios.$delete(`/cards/${id}`);
34
74
  }
35
75
 
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
+
36
97
  updateV2(idCard: number, data: UpdateCardV2): Promise<ICard> {
37
98
  return this.axios.$put(`/cards/${idCard}/v2`, data);
38
99
  }
@@ -26,10 +26,4 @@ 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
- }
35
29
  }
@@ -162,10 +162,6 @@ export class Payment extends Resource {
162
162
  return this.axios.$get('/payments', { params: query, signal });
163
163
  }
164
164
 
165
- getLastPayment(idSociety: number): Promise<IPayment> {
166
- return this.axios.$get(`/payment/${idSociety}/last`);
167
- }
168
-
169
165
  update(id: number, payload: UpdatePayment): Promise<IPayment> {
170
166
  return this.axios.$patch(`/payments/${id}`, payload);
171
167
  }
@@ -30,7 +30,6 @@ import {
30
30
  DataCustomersCsv,
31
31
  ReadCurrentPrestations,
32
32
  QueryToArchivedSociety,
33
- ReadFeatureAccess,
34
33
  } from '../../types';
35
34
  import { CancelToken } from 'axios';
36
35
 
@@ -206,8 +205,4 @@ export class Society extends Resource {
206
205
  },
207
206
  });
208
207
  }
209
-
210
- getAllFeatures(idSociety: number): Promise<ReadFeatureAccess> {
211
- return this.axios.$get(`/societies/${idSociety}/features`);
212
- }
213
208
  }
@@ -0,0 +1,29 @@
1
+ import { Resource } from '../Resource';
2
+ import { IUsersHistory} from '../../types';
3
+
4
+ export class UsersHistory extends Resource {
5
+ createUserHistory(body: IUsersHistory): Promise<IUsersHistory> {
6
+ return this.axios.$post('usersHistory', body);
7
+ }
8
+
9
+ getAllUserHistory(): Promise<IUsersHistory[]> {
10
+ return this.axios.$get('usersHistory');
11
+ }
12
+
13
+ getUserHistoryById(id: number): Promise<IUsersHistory> {
14
+ return this.axios.$get(`usersHistory/${id}`);
15
+ }
16
+
17
+ getUserHistoryByUserID(id: number): Promise<IUsersHistory[]> {
18
+ return this.axios.$get(`usersHistory/user/${id}`);
19
+ }
20
+
21
+ updateUserHistory(id: number, body: IUsersHistory): Promise<IUsersHistory> {
22
+ return this.axios.$put(`usersHistory/${id}`, body);
23
+ }
24
+
25
+ deleteUserHistory(id: number): Promise<number> {
26
+ return this.axios.$delete(`usersHistory/${id}`);
27
+ }
28
+
29
+ }
@@ -188,8 +188,6 @@ import { BalanceSheetReport } from './resources/BalanceSheetReport';
188
188
  import { Revenue } from './resources/Revenue';
189
189
  import { InformationRequest } from './resources/InformationRequest';
190
190
  import { AutomaticRegistration } from './resources/AutomaticRegistration';
191
- import { LoginApproval } from './resources/LoginApproval';
192
- import { SocietyApproval } from './resources/SocietyApproval';
193
191
 
194
192
  export const resources = {
195
193
  budgetInsight: BudgetInsight,
@@ -382,6 +380,4 @@ export const resources = {
382
380
  revenue: Revenue,
383
381
  informationRequest: InformationRequest,
384
382
  automaticRegistration: AutomaticRegistration,
385
- loginApproval: LoginApproval,
386
- societyApproval: SocietyApproval,
387
383
  };
@@ -2,7 +2,15 @@ import { Role } from './Role';
2
2
  import { TeamType } from './TeamType';
3
3
 
4
4
  export enum CardType {
5
+ BALANCE_SHEET = 1,
6
+ BALANCE_SHEET_INTERMEDIATE = 2,
7
+ BALANCE_SHEET_PREVISIONAL = 3,
8
+ BALANCE_SHEET_LIQUIDATION = 4,
9
+ BALANCE_SHEET_EXPRESS = 5,
5
10
  VAT_PREPARATION = 6,
11
+ // REINFORCED_CHECKLIST = 7,
12
+ CHECK_BALANCE_ANNOTATION_NEW_CLIENT = 8,
13
+ CHECK_BALANCE_ANNOTATION = 9,
6
14
  SETUP_BANK_ACCOUNT = 10, // Mise en place banque
7
15
  UPDATE_BANK_BALANCE = 11, // MAJ du solde bancaire
8
16
  UPDATE_ANNOTATIONS = 12, // MAJ Annotations
@@ -33,9 +41,9 @@ export enum CardState {
33
41
  TODO = 1,
34
42
  IN_PROGRESS = 2,
35
43
  DONE = 3,
36
- INCOMPLETE = 4,
44
+ NOT_DONE = 4,
37
45
  WAITING_CLIENT = 5,
38
- NOT_DONE = 6
46
+ INCOMPLETE = 6
39
47
  }
40
48
 
41
49
  export enum CardGroupEnum {
@@ -152,6 +160,36 @@ export const CardGroup: readonly CardGroupType[] = [
152
160
  ] as const;
153
161
 
154
162
  export const CardTypeLabel = [
163
+ {
164
+ id: CardType.BALANCE_SHEET,
165
+ label: 'Bilan',
166
+ refLabel: 'B',
167
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
168
+ },
169
+ {
170
+ id: CardType.BALANCE_SHEET_INTERMEDIATE,
171
+ label: 'Bilan inter.',
172
+ refLabel: 'BI',
173
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
174
+ },
175
+ {
176
+ id: CardType.BALANCE_SHEET_PREVISIONAL,
177
+ label: 'Bilan prévi.',
178
+ refLabel: 'BP',
179
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
180
+ },
181
+ {
182
+ id: CardType.BALANCE_SHEET_LIQUIDATION,
183
+ label: 'Bilan liquid.',
184
+ refLabel: 'BL',
185
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
186
+ },
187
+ {
188
+ id: CardType.BALANCE_SHEET_EXPRESS,
189
+ label: 'Bilan express',
190
+ refLabel: 'BE',
191
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
192
+ },
155
193
  {
156
194
  id: CardType.BALANCE_SHEET_PREPARATION,
157
195
  label: 'Préparation et Formalisation du Bilan',
@@ -230,6 +268,18 @@ export const CardTypeLabel = [
230
268
  refLabel: 'ARC',
231
269
  groupId: CardGroupEnum.ADVANCE_IS_GROUP,
232
270
  },
271
+ {
272
+ id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,
273
+ label: 'Contrôle solde bancaire & mise en place annotation nouveau client',
274
+ refLabel: 'LABNC',
275
+ groupId: CardGroupEnum.ACCEPTATION_GROUP,
276
+ },
277
+ {
278
+ id: CardType.CHECK_BALANCE_ANNOTATION,
279
+ label: 'Contrôle solde bancaire & contrôle annotations client',
280
+ refLabel: 'LABC',
281
+ groupId: CardGroupEnum.ACCEPTATION_GROUP,
282
+ },
233
283
  {
234
284
  id: CardType.SETUP_BANK_ACCOUNT,
235
285
  label: 'Mise en place banque',