@silexpert/core 1.3.30-6 → 1.3.30

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 (317) hide show
  1. package/dist/cjs/api/resources/Ai.d.ts +2 -2
  2. package/dist/cjs/api/resources/Ai.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Ai.js +2 -2
  4. package/dist/cjs/api/resources/Ai.js.map +1 -1
  5. package/dist/cjs/api/resources/Authenticate.d.ts +0 -6
  6. package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Authenticate.js +0 -8
  8. package/dist/cjs/api/resources/Authenticate.js.map +1 -1
  9. package/dist/cjs/api/resources/FIle.d.ts +0 -1
  10. package/dist/cjs/api/resources/FIle.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/FIle.js +0 -3
  12. package/dist/cjs/api/resources/FIle.js.map +1 -1
  13. package/dist/cjs/api/resources/PaymentExpectation.d.ts +1 -16
  14. package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/PaymentExpectation.js +0 -20
  16. package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
  17. package/dist/cjs/api/resources/Subscription.d.ts +6 -23
  18. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  19. package/dist/cjs/api/resources/Subscription.js +8 -28
  20. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  21. package/dist/cjs/api/resources/prestation.d.ts +1 -3
  22. package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
  23. package/dist/cjs/api/resources/prestation.js.map +1 -1
  24. package/dist/cjs/api/resources.d.ts +0 -2
  25. package/dist/cjs/api/resources.d.ts.map +1 -1
  26. package/dist/cjs/api/resources.js +0 -2
  27. package/dist/cjs/api/resources.js.map +1 -1
  28. package/dist/cjs/types/Enum/Account.d.ts +0 -8
  29. package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/Account.js +0 -8
  31. package/dist/cjs/types/Enum/Account.js.map +1 -1
  32. package/dist/cjs/types/Enum/JobTitle.d.ts +1 -3
  33. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  34. package/dist/cjs/types/Enum/JobTitle.js +0 -12
  35. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  36. package/dist/cjs/types/Enum/StatusRating.d.ts.map +1 -1
  37. package/dist/cjs/types/Enum/StatusRating.js +0 -1
  38. package/dist/cjs/types/Enum/StatusRating.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +0 -6
  40. package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js +1 -29
  42. package/dist/cjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +0 -3
  44. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  46. package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +0 -1
  47. package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  48. package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +0 -1
  50. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  51. package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
  52. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +0 -1
  53. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
  54. package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
  55. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +0 -3
  56. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
  58. package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +0 -1
  59. package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
  60. package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
  61. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -4
  62. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  63. package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
  64. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
  65. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  67. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -1
  68. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +1 -1
  70. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +13 -0
  72. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  74. package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts +0 -5
  75. package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
  76. package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js +0 -33
  77. package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
  78. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +0 -1
  79. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
  80. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +3 -9
  81. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
  82. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +1 -3
  83. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  84. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -15
  85. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  86. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
  87. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -3
  88. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
  89. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -22
  90. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  91. package/dist/cjs/types/Interface/api/stripe/Create.js +3 -74
  92. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +2 -1
  94. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +8 -5
  96. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts +5 -0
  98. package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts.map +1 -0
  99. package/dist/cjs/types/Interface/{models/IAIConversation.js → api/stripe/ReadStripe.js} +1 -1
  100. package/dist/cjs/types/Interface/api/stripe/ReadStripe.js.map +1 -0
  101. package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -1
  102. package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +2 -3
  105. package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  106. package/dist/cjs/types/Interface/models/IAIQuestion.d.ts +5 -5
  107. package/dist/cjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
  108. package/dist/cjs/types/Interface/models/IAIQuestion.js.map +1 -1
  109. package/dist/cjs/types/Interface/models/IMobile.d.ts +0 -5
  110. package/dist/cjs/types/Interface/models/IMobile.d.ts.map +1 -1
  111. package/dist/cjs/types/Interface/models/IMobile.js.map +1 -1
  112. package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -2
  113. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  114. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  115. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  116. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  118. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  119. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  120. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  121. package/dist/cjs/types/index.d.ts +1 -2
  122. package/dist/cjs/types/index.d.ts.map +1 -1
  123. package/dist/cjs/types/index.js +1 -2
  124. package/dist/cjs/types/index.js.map +1 -1
  125. package/dist/cjs/utils/commercialManagement/templates/body.js +1 -1
  126. package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
  127. package/dist/mjs/api/resources/Ai.d.ts +2 -2
  128. package/dist/mjs/api/resources/Ai.d.ts.map +1 -1
  129. package/dist/mjs/api/resources/Ai.js +2 -2
  130. package/dist/mjs/api/resources/Ai.js.map +1 -1
  131. package/dist/mjs/api/resources/Authenticate.d.ts +0 -6
  132. package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
  133. package/dist/mjs/api/resources/Authenticate.js +0 -6
  134. package/dist/mjs/api/resources/Authenticate.js.map +1 -1
  135. package/dist/mjs/api/resources/FIle.d.ts +0 -1
  136. package/dist/mjs/api/resources/FIle.d.ts.map +1 -1
  137. package/dist/mjs/api/resources/FIle.js +0 -3
  138. package/dist/mjs/api/resources/FIle.js.map +1 -1
  139. package/dist/mjs/api/resources/PaymentExpectation.d.ts +1 -16
  140. package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  141. package/dist/mjs/api/resources/PaymentExpectation.js +0 -20
  142. package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
  143. package/dist/mjs/api/resources/Subscription.d.ts +6 -23
  144. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  145. package/dist/mjs/api/resources/Subscription.js +8 -28
  146. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  147. package/dist/mjs/api/resources/prestation.d.ts +1 -3
  148. package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
  149. package/dist/mjs/api/resources/prestation.js.map +1 -1
  150. package/dist/mjs/api/resources.d.ts +0 -2
  151. package/dist/mjs/api/resources.d.ts.map +1 -1
  152. package/dist/mjs/api/resources.js +0 -2
  153. package/dist/mjs/api/resources.js.map +1 -1
  154. package/dist/mjs/types/Enum/Account.d.ts +0 -8
  155. package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
  156. package/dist/mjs/types/Enum/Account.js +0 -8
  157. package/dist/mjs/types/Enum/Account.js.map +1 -1
  158. package/dist/mjs/types/Enum/JobTitle.d.ts +1 -3
  159. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  160. package/dist/mjs/types/Enum/JobTitle.js +0 -12
  161. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  162. package/dist/mjs/types/Enum/StatusRating.d.ts.map +1 -1
  163. package/dist/mjs/types/Enum/StatusRating.js +0 -1
  164. package/dist/mjs/types/Enum/StatusRating.js.map +1 -1
  165. package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts +0 -6
  166. package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.d.ts.map +1 -1
  167. package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js +2 -33
  168. package/dist/mjs/types/Interface/api/ai/AskQuestionCollaborator.js.map +1 -1
  169. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +0 -3
  170. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  171. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  172. package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +0 -1
  173. package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  174. package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
  175. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +0 -1
  176. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  177. package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
  178. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +0 -1
  179. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
  180. package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
  181. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +0 -3
  182. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  183. package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
  184. package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +0 -1
  185. package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
  186. package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
  187. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -4
  188. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  189. package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
  190. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
  191. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  192. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  193. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -1
  194. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  195. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +1 -1
  196. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  197. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +13 -0
  198. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  199. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  200. package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts +0 -5
  201. package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
  202. package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js +0 -38
  203. package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
  204. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +0 -1
  205. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
  206. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +4 -11
  207. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
  208. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +1 -3
  209. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  210. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +2 -18
  211. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  212. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
  213. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +1 -4
  214. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
  215. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -22
  216. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  217. package/dist/mjs/types/Interface/api/stripe/Create.js +3 -82
  218. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  219. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +2 -1
  220. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  221. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +8 -4
  222. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  223. package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts +5 -0
  224. package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts.map +1 -0
  225. package/dist/mjs/types/Interface/api/stripe/ReadStripe.js +2 -0
  226. package/dist/mjs/types/Interface/api/stripe/ReadStripe.js.map +1 -0
  227. package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -1
  228. package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  229. package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js +0 -1
  230. package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  231. package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -4
  232. package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  233. package/dist/mjs/types/Interface/models/IAIQuestion.d.ts +5 -5
  234. package/dist/mjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
  235. package/dist/mjs/types/Interface/models/IAIQuestion.js.map +1 -1
  236. package/dist/mjs/types/Interface/models/IMobile.d.ts +0 -5
  237. package/dist/mjs/types/Interface/models/IMobile.d.ts.map +1 -1
  238. package/dist/mjs/types/Interface/models/IMobile.js.map +1 -1
  239. package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -2
  240. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  241. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  242. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +0 -1
  243. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  244. package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  245. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  246. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  247. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  248. package/dist/mjs/types/index.d.ts +1 -2
  249. package/dist/mjs/types/index.d.ts.map +1 -1
  250. package/dist/mjs/types/index.js +1 -2
  251. package/dist/mjs/types/index.js.map +1 -1
  252. package/dist/mjs/utils/commercialManagement/templates/body.js +1 -1
  253. package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
  254. package/package.json +2 -2
  255. package/ts/api/resources/Ai.ts +3 -3
  256. package/ts/api/resources/Authenticate.ts +0 -7
  257. package/ts/api/resources/FIle.ts +0 -4
  258. package/ts/api/resources/PaymentExpectation.ts +0 -27
  259. package/ts/api/resources/Subscription.ts +18 -35
  260. package/ts/api/resources/prestation.ts +1 -1
  261. package/ts/api/resources.ts +0 -2
  262. package/ts/types/Enum/Account.ts +0 -8
  263. package/ts/types/Enum/JobTitle.ts +0 -12
  264. package/ts/types/Enum/StatusRating.ts +0 -1
  265. package/ts/types/Interface/api/ai/AskQuestionCollaborator.ts +2 -25
  266. package/ts/types/Interface/api/cerfa/2031.ts +0 -3
  267. package/ts/types/Interface/api/cerfa/2035.ts +1 -6
  268. package/ts/types/Interface/api/cerfa/2065.ts +0 -1
  269. package/ts/types/Interface/api/cerfa/2069RCI.ts +0 -1
  270. package/ts/types/Interface/api/cerfa/2571.ts +0 -5
  271. package/ts/types/Interface/api/cerfa/2572.ts +0 -1
  272. package/ts/types/Interface/api/cerfa/2573.ts +1 -5
  273. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +3 -2
  274. package/ts/types/Interface/api/commercialManagement/Create.ts +2 -2
  275. package/ts/types/Interface/api/config/ConfigType.ts +16 -0
  276. package/ts/types/Interface/api/mobile/UpdateMobile.ts +0 -28
  277. package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +4 -9
  278. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -15
  279. package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +1 -4
  280. package/ts/types/Interface/api/stripe/Create.ts +4 -59
  281. package/ts/types/Interface/api/stripe/QueryStripe.ts +5 -3
  282. package/ts/types/Interface/api/stripe/ReadStripe.ts +4 -0
  283. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +0 -1
  284. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -2
  285. package/ts/types/Interface/models/IAIQuestion.ts +5 -5
  286. package/ts/types/Interface/models/IMobile.ts +0 -5
  287. package/ts/types/Interface/models/IPayment.ts +0 -2
  288. package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
  289. package/ts/types/Interface/models/IUser.ts +0 -2
  290. package/ts/types/index.ts +1 -2
  291. package/ts/utils/commercialManagement/templates/body.ts +1 -1
  292. package/dist/cjs/api/resources/AnalyticsUtm.d.ts +0 -10
  293. package/dist/cjs/api/resources/AnalyticsUtm.d.ts.map +0 -1
  294. package/dist/cjs/api/resources/AnalyticsUtm.js +0 -16
  295. package/dist/cjs/api/resources/AnalyticsUtm.js.map +0 -1
  296. package/dist/cjs/types/Enum/Feature.d.ts +0 -39
  297. package/dist/cjs/types/Enum/Feature.d.ts.map +0 -1
  298. package/dist/cjs/types/Enum/Feature.js +0 -63
  299. package/dist/cjs/types/Enum/Feature.js.map +0 -1
  300. package/dist/cjs/types/Interface/models/IAIConversation.d.ts +0 -11
  301. package/dist/cjs/types/Interface/models/IAIConversation.d.ts.map +0 -1
  302. package/dist/cjs/types/Interface/models/IAIConversation.js.map +0 -1
  303. package/dist/mjs/api/resources/AnalyticsUtm.d.ts +0 -10
  304. package/dist/mjs/api/resources/AnalyticsUtm.d.ts.map +0 -1
  305. package/dist/mjs/api/resources/AnalyticsUtm.js +0 -12
  306. package/dist/mjs/api/resources/AnalyticsUtm.js.map +0 -1
  307. package/dist/mjs/types/Enum/Feature.d.ts +0 -39
  308. package/dist/mjs/types/Enum/Feature.d.ts.map +0 -1
  309. package/dist/mjs/types/Enum/Feature.js +0 -60
  310. package/dist/mjs/types/Enum/Feature.js.map +0 -1
  311. package/dist/mjs/types/Interface/models/IAIConversation.d.ts +0 -11
  312. package/dist/mjs/types/Interface/models/IAIConversation.d.ts.map +0 -1
  313. package/dist/mjs/types/Interface/models/IAIConversation.js +0 -2
  314. package/dist/mjs/types/Interface/models/IAIConversation.js.map +0 -1
  315. package/ts/api/resources/AnalyticsUtm.ts +0 -12
  316. package/ts/types/Enum/Feature.ts +0 -65
  317. package/ts/types/Interface/models/IAIConversation.ts +0 -13
@@ -1 +1 @@
1
- {"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
1
+ {"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.30-6",
3
+ "version": "1.3.30",
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",
@@ -75,7 +75,7 @@
75
75
  "mailparser": "^3.4.0",
76
76
  "rxjs": "^7.0.1",
77
77
  "sms-segments-calculator": "^1.2.0",
78
- "stripe": "^18.1.1",
78
+ "stripe": "^14.13.0",
79
79
  "ts-enum-util": "^4.0.2"
80
80
  }
81
81
  }
@@ -1,8 +1,8 @@
1
- import { AskQuestionCollaborator, IAIQuestion } from '../..';
1
+ import { IAIQuestion } from '../..';
2
2
  import { Resource } from '../Resource';
3
3
 
4
4
  export class Ai extends Resource {
5
- askCollaborator(params: AskQuestionCollaborator, signal?: AbortSignal): Promise<IAIQuestion> {
6
- return this.axios.$post('/ai/ask/collaborator', params, { signal });
5
+ askCollaborator(question: string, signal?: AbortSignal): Promise<IAIQuestion> {
6
+ return this.axios.$post('/ai/ask/collaborator', { question }, { signal });
7
7
  }
8
8
  }
@@ -18,13 +18,6 @@ export class Authenticate extends Resource {
18
18
  return this.axios.$post('/authenticate', payload);
19
19
  }
20
20
 
21
- /**
22
- * Rafraichi le token, il est nécessaire d'être connecté et d'avoir un "current society"
23
- */
24
- async refresh(): Promise<{ token: string }> {
25
- return this.axios.$post('/authenticate/refresh');
26
- }
27
-
28
21
  async connectAsCollaborater(idCollaborater: number): Promise<{ token: string }> {
29
22
  return this.axios.$post(`/authenticate/collaborater/${idCollaborater}`);
30
23
  }
@@ -46,10 +46,6 @@ export class File extends Resource {
46
46
  return this.axios.$patch(`files/${id}`, payload);
47
47
  }
48
48
 
49
- updateName(id: number, name: string): Promise<IFile> {
50
- return this.axios.$patch(`files/${id}/name`, { name });
51
- }
52
-
53
49
  delete(id: number): Promise<true> {
54
50
  return this.axios.$delete(`files/${id}`);
55
51
  }
@@ -1,15 +1,11 @@
1
1
  import {
2
2
  BasePaginate,
3
3
  CreatePaymentExpecation,
4
- CreatePaymentIntent,
5
- CreateSubscriptionSessionOff,
6
4
  IPaymentExpectation,
7
5
  QueryGetPaymentExpectation,
8
6
  QueryGetPaymentExpectationPaginated,
9
- RetrievePaymentMethodsParams,
10
7
  } from '../../types';
11
8
  import { Resource } from '../Resource';
12
- import type Stripe from 'stripe';
13
9
 
14
10
  export class PaymentExpectation extends Resource {
15
11
  get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {
@@ -44,27 +40,4 @@ export class PaymentExpectation extends Resource {
44
40
  updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {
45
41
  return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);
46
42
  }
47
-
48
- /**
49
- * Retourne les type de paiements Stripe
50
- */
51
- getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {
52
- return this.axios.$get('/stripe/payments/methods', { params });
53
- }
54
-
55
- /**
56
- * Créé une session Stripe avec les informations client
57
- * Attention : les montants sont retournés x100
58
- */
59
- createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {
60
- return this.axios.$post('/stripe/payments/sessions-off', payload);
61
- }
62
-
63
- /**
64
- * Crée une intention de paiement Stripe avec les informations de notre client
65
- * Attention : les montants sont retournés x100
66
- */
67
- createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {
68
- return this.axios.$post('/stripe/payments/intents', body);
69
- }
70
43
  }
@@ -1,46 +1,29 @@
1
1
  import { Resource } from '../Resource';
2
- import { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
3
- import type Stripe from 'stripe';
2
+ import {
3
+ RetrieveUpcomingInvoiceParams,
4
+ ReadUpcomingInvoice,
5
+ QueryStripeSession,
6
+ CreateStripePortals,
7
+ } from '../../types';
8
+ import Stripe from 'stripe';
4
9
 
5
10
  export class Subscription extends Resource {
6
- /**
7
- * Retourne les offres Stripe actives
8
- * Attention : les montants sont retournés x100
9
- */
10
- getAllOffers(): Promise<Stripe.Price[]> {
11
- return this.axios.$get('/stripe/subscriptions/offers');
11
+ retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {
12
+ return this.axios.$get('/subscription/next-invoice', { params });
12
13
  }
13
14
 
14
- /**
15
- * Créé une session Stripe avec les informations client
16
- * Attention : les montants sont retournés x100
17
- */
18
- createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {
19
- return this.axios.$post('/stripe/subscriptions/sessions', payload);
15
+ getBySociety(idSociety: number): Promise<Stripe.Response<Stripe.Subscription> | null> {
16
+ return this.axios.$get(`/societies/${idSociety}/subscriptions`);
20
17
  }
21
18
 
22
- /**
23
- * Créé un portail Stripe permettant de gérer l'abonnement
24
- * Attention : les montants sont retournés x100
25
- */
26
- createPortal(payload: CreateStripePortals): Promise<string> {
27
- return this.axios.$post('/stripe/subscriptions/portals', payload);
28
- }
29
-
30
- /**
31
- * Retourne l'abonnement Stripe de la société courante
32
- * Attention : les montants sont retournés x100
33
- */
34
- get(): Promise<Stripe.Response<Stripe.Subscription> | null> {
35
- return this.axios.$get('/stripe/subscriptions');
19
+ createSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {
20
+ return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
36
21
  }
37
22
 
38
- /* -------------- */
39
-
40
- createComptalibSession(
41
- idSociety: number,
42
- body: QueryStripeSession,
43
- ): Promise<Stripe.Response<Stripe.Checkout.Session>> {
44
- return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
23
+ createPortalSession(
24
+ idUser: number,
25
+ body: CreateStripePortals,
26
+ ): Promise<Stripe.Response<Stripe.BillingPortal.Session>> {
27
+ return this.axios.$post(`/subscriptions/users/${idUser}/portals`, body);
45
28
  }
46
29
  }
@@ -52,7 +52,7 @@ export class Prestation extends Resource {
52
52
  params?: QueryPrestation,
53
53
  cancelToken?: CancelToken,
54
54
  signal?: AbortSignal,
55
- ): Promise<Array<IPrestation & { isActive: boolean }>> {
55
+ ): Promise<IPrestation[]> {
56
56
  return this.axios.$get(`/societies/${id}/prestations`, {
57
57
  ...(cancelToken ? { cancelToken } : {}),
58
58
  ...(signal ? { signal } : {}),
@@ -178,7 +178,6 @@ import { AbsenceRequest } from './resources/AbsenceRequest';
178
178
  import { CompanyMarketingInformation } from './resources/CompanyMarketingInformation';
179
179
  import { Ai } from './resources/Ai';
180
180
  import { StatisticLegal } from './resources/statistic/Legal';
181
- import { AnalyticsUtm } from './resources/AnalyticsUtm';
182
181
 
183
182
  export const resources = {
184
183
  budgetInsight: BudgetInsight,
@@ -361,5 +360,4 @@ export const resources = {
361
360
  companyMarketingInformation: CompanyMarketingInformation,
362
361
  ai: Ai,
363
362
  statisticLegal: StatisticLegal,
364
- analyticsUtm: AnalyticsUtm,
365
363
  };
@@ -11,10 +11,6 @@ export const Account = {
11
11
  id: 27,
12
12
  number: 607000,
13
13
  },
14
- MERCHANDISE_CREDIT: {
15
- id: 227,
16
- number: 607190,
17
- },
18
14
  RESULT_BENEFIT: {
19
15
  id: 91,
20
16
  number: 120000,
@@ -91,10 +87,6 @@ export const Account = {
91
87
  id: 117,
92
88
  number: 625100,
93
89
  },
94
- TRAVELING_EXPENSES: {
95
- id: 118,
96
- number: 625110,
97
- },
98
90
  DEDUCTIBLE_VAT: {
99
91
  id: 221,
100
92
  number: 445660,
@@ -39,8 +39,6 @@ export enum JobTitle {
39
39
  RECRUITMENT_OFFICER = 38,
40
40
  HUMAN_RESOURCES_ASSISTANT = 39,
41
41
  HUMAN_RESOURCES = 40,
42
- DEVELOPER = 41,
43
- CAMERA_EDITOR = 42,
44
42
  }
45
43
 
46
44
  export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: string }> = [
@@ -244,14 +242,4 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: str
244
242
  menText: 'Responsable Ressources Humaines',
245
243
  womenText: 'Responsable Ressources Humaines',
246
244
  },
247
- {
248
- id: JobTitle.DEVELOPER,
249
- menText: 'Développeur web',
250
- womenText: 'Développeur web',
251
- },
252
- {
253
- id: JobTitle.CAMERA_EDITOR,
254
- menText: 'Monteur / Cadreur',
255
- womenText: 'Monteur / Cadreur',
256
- },
257
245
  ];
@@ -6,5 +6,4 @@ export const StatusRating = [
6
6
  { value: 4, text: 'Non concerné', color: 'skyblue' },
7
7
  { value: 5, text: 'Résolu', color: 'green' },
8
8
  { value: 6, text: 'En cours', color: 'orange' },
9
- { value: 7, text: 'Sans solution', color: 'red' },
10
9
  ];
@@ -1,32 +1,9 @@
1
- import { IsArray, IsIn, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class AskHistoryCollaborator {
5
- @ApiProperty()
6
- @IsString()
7
- @IsIn(['assistant', 'user'])
8
- role: 'assistant' | 'user';
9
-
10
- @ApiProperty()
11
- @IsString()
12
- @IsNotEmpty()
13
- content: string;
14
- }
1
+ import { IsNotEmpty, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
15
3
 
16
4
  export class AskQuestionCollaborator {
17
5
  @ApiProperty()
18
6
  @IsString()
19
7
  @IsNotEmpty()
20
8
  question: string;
21
-
22
- @ApiPropertyOptional()
23
- @IsOptional()
24
- @IsArray()
25
- @ValidateNested({ each: true })
26
- history?: AskHistoryCollaborator[];
27
-
28
- @ApiPropertyOptional()
29
- @IsOptional()
30
- @IsInt()
31
- idConversation?: number;
32
9
  }
@@ -203,7 +203,6 @@ export interface Cerfa2031_2024 {
203
203
  siren: string;
204
204
  declarantEmail: string;
205
205
  declarantAddress: string;
206
- declarantAddressObject: CerfaAddress;
207
206
  declarantZipCode: string;
208
207
  declarantCity: string;
209
208
  declarantCountryCode: string;
@@ -381,7 +380,6 @@ export interface Cerfa2031_2025 {
381
380
  siren: string;
382
381
  declarantEmail: string;
383
382
  declarantAddress: string;
384
- declarantAddressObject: CerfaAddress;
385
383
  declarantZipCode: string;
386
384
  declarantCity: string;
387
385
  declarantCountryCode: string;
@@ -540,7 +538,6 @@ export interface Cerfa2031_2025 {
540
538
  export type Prepare2031Params = {
541
539
  idSociety: number;
542
540
  idExercice: number;
543
- idUser: number;
544
541
  values: {
545
542
  cerfa2031: Cerfa2031 | Cerfa2031_2024;
546
543
  cerfa2033: AnyCerfa2033Century;
@@ -52,12 +52,7 @@ export type FullCerfa2035_2025 = Cerfa2035_2025 & Cerfa2035WithSuites_2025;
52
52
 
53
53
  export type AnyCerfa2035Century = FullCerfa2035 | FullCerfa2035_2024 | FullCerfa2035_2025;
54
54
 
55
- export type Prepare2035Params = {
56
- idSociety: number;
57
- idUser: number;
58
- idExercice: number;
59
- values: FullCerfa2035 | FullCerfa2035_2024;
60
- };
55
+ export type Prepare2035Params = { idSociety: number; idExercice: number; values: FullCerfa2035 | FullCerfa2035_2024 };
61
56
 
62
57
  export interface Cerfa2035ProfessionalRecipes {
63
58
  collected: number;
@@ -256,7 +256,6 @@ export interface Cerfa2065_2024 {
256
256
  export type PrepareCerfa2065 = {
257
257
  idExercice: number;
258
258
  idSociety: number;
259
- idUser: number;
260
259
  values: { cerfa2065: AnyCerfa2065Century; cerfa2033: AnyCerfa2033Century };
261
260
  };
262
261
 
@@ -189,6 +189,5 @@ export type ReadCerfa2069RCIInputs = {
189
189
  export type PrepareCerfa2069RCI = {
190
190
  idExercice: number;
191
191
  idSociety: number;
192
- idUser: number;
193
192
  values: { cerfa2069RCI: Cerfa2069RCI_2024 };
194
193
  };
@@ -145,13 +145,8 @@ export class Cerfa2571_2024 {
145
145
  };
146
146
  }
147
147
 
148
- export type Cerfa2571_2025 = Cerfa2571_2024;
149
-
150
148
  export type Prepare2571Params = {
151
149
  idSociety: number;
152
- idUser: number;
153
150
  idExercice: number;
154
151
  idRegistration: number;
155
152
  };
156
-
157
- export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
@@ -398,7 +398,6 @@ export class Cerfa2572_2025 {
398
398
  export type Prepare2572Params = {
399
399
  idSociety: number;
400
400
  idExercice: number;
401
- idUser: number;
402
401
  idRegistration: number;
403
402
  };
404
403
 
@@ -61,14 +61,10 @@ export type Cerfa2573_2024 = {
61
61
  transferts: Transfert[];
62
62
  };
63
63
 
64
- export type Cerfa2573_2025 = Cerfa2573_2024;
65
- export type AnyCerfa2573Century = Cerfa2573_2024;
66
-
67
64
  export type Prepare2573Params = {
68
65
  idSociety: number;
69
66
  idExercice: number;
70
- idUser: number;
71
- values: AnyCerfa2573Century;
67
+ values: Cerfa2573_2024;
72
68
  };
73
69
 
74
70
  export type Cerfa2573_Refund_Input = {
@@ -4,9 +4,10 @@ import {
4
4
  AnyCerfa2033Century,
5
5
  AnyCerfa2035Century,
6
6
  AnyCerfa2065Century,
7
- AnyCerfa2571Century,
8
7
  AnyCerfa2572Century,
9
8
  Cerfa2069RCI_2024,
9
+ Cerfa2571_2023,
10
+ Cerfa2571_2024,
10
11
  Cerfa2573_2024,
11
12
  Cerfa3519_2017,
12
13
  FieldForGeneration,
@@ -118,7 +119,7 @@ export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
118
119
  export interface RegistrationPayload {
119
120
  cerfa2573?: Cerfa2573_2024;
120
121
  cerfa2572?: AnyCerfa2572Century;
121
- cerfa2571?: AnyCerfa2571Century;
122
+ cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
122
123
  cerfa2031?: AnyCerfa2031Century;
123
124
  cerfa2033?: AnyCerfa2033Century;
124
125
  cerfa2065?: AnyCerfa2065Century;
@@ -462,8 +462,8 @@ export class CommercialDocumentInputs {
462
462
  /**
463
463
  * @deprecated use recoveryCost instead (exists just for old mobile version)
464
464
  */
465
- @ApiPropertyOptional({ description: 'Indemnité forfaitaire ' })
466
- compensation?: string | null;
465
+ @ApiProperty({ description: 'Indemnité forfaitaire ' })
466
+ compensation: string | null;
467
467
 
468
468
  @ApiProperty()
469
469
  vatMention: string | null;
@@ -13,6 +13,9 @@ export interface ConfigType {
13
13
  comptaclementineTest: ComptaclementineTest;
14
14
  bred: Bred;
15
15
  awsClementine: AwsClementine;
16
+ stripe: Stripe;
17
+ stripeECB: StripeEcb;
18
+ stripeStatuts: StripeStatuts;
16
19
  mail: Mail;
17
20
  client: Client;
18
21
  twilio: Twilio;
@@ -152,6 +155,19 @@ export interface AwsClementine {
152
155
  apiVersion: string;
153
156
  }
154
157
 
158
+ export interface Stripe {
159
+ secretKey: string;
160
+ secretKeyTestToDelete: string;
161
+ }
162
+
163
+ export interface StripeEcb {
164
+ secretKey: string;
165
+ }
166
+
167
+ export interface StripeStatuts {
168
+ secretKey: string;
169
+ }
170
+
155
171
  export interface Mail {
156
172
  user: string;
157
173
  password: string;
@@ -1,34 +1,6 @@
1
- import { IsOptional, IsString } from 'class-validator';
2
1
  import { ApiPropertyOptional } from '../../../../utils';
3
2
 
4
3
  export class UpdateMobileForm {
5
4
  @ApiPropertyOptional()
6
- @IsString()
7
- @IsOptional()
8
5
  token?: string;
9
-
10
- @ApiPropertyOptional()
11
- @IsString()
12
- @IsOptional()
13
- appVersion?: string;
14
-
15
- @ApiPropertyOptional()
16
- @IsString()
17
- @IsOptional()
18
- appBuildNumber?: string;
19
-
20
- @ApiPropertyOptional()
21
- @IsString()
22
- @IsOptional()
23
- deviceBrand?: string;
24
-
25
- @ApiPropertyOptional()
26
- @IsString()
27
- @IsOptional()
28
- deviceSystemVersion?: string;
29
-
30
- @ApiPropertyOptional()
31
- @IsString()
32
- @IsOptional()
33
- deviceId?: string;
34
6
  }
@@ -1,4 +1,4 @@
1
- import { IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { PaymentReason } from '../../../Enum/PaymentReason';
4
4
 
@@ -17,16 +17,16 @@ export class CreatePaymentExpecation {
17
17
  payload?: string | null;
18
18
 
19
19
  @ApiProperty()
20
- @IsInt()
20
+ @IsNumber()
21
21
  idReason: PaymentReason;
22
22
 
23
23
  @ApiPropertyOptional()
24
- @IsInt()
24
+ @IsNumber()
25
25
  @IsOptional()
26
26
  idPrestation?: number | null;
27
27
 
28
28
  @ApiPropertyOptional()
29
- @IsInt()
29
+ @IsNumber()
30
30
  @IsOptional()
31
31
  idRegulation?: number | null;
32
32
 
@@ -34,9 +34,4 @@ export class CreatePaymentExpecation {
34
34
  @IsString()
35
35
  @IsOptional()
36
36
  ref?: string | null;
37
-
38
- @ApiPropertyOptional()
39
- @IsInt()
40
- @IsOptional()
41
- idUserNotifyPaiementProceed?: number | null;
42
37
  }
@@ -1,23 +1,11 @@
1
- import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
1
+ import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { RequiredQueryPaginate } from '../BasePaginate';
4
4
 
5
5
  export class QueryGetPaymentExpectation {
6
- @ApiPropertyOptional()
7
- @IsOptional()
6
+ @ApiProperty()
8
7
  @IsInt()
9
- idPrestation?: number;
10
-
11
- @ApiPropertyOptional()
12
- @IsOptional()
13
- @IsString()
14
- ref?: string;
15
-
16
- @ApiPropertyOptional()
17
- @IsOptional()
18
- @IsString({each: true})
19
- @IsIn(['society', 'owner'], { each: true })
20
- includes?: string[];
8
+ idPrestation: number;
21
9
  }
22
10
 
23
11
  export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsJSON, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsJSON, IsString } from 'class-validator';
2
2
  import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -8,12 +8,10 @@ export class CreateDefaultPromoCode {
8
8
  label: string;
9
9
 
10
10
  @ApiPropertyOptional()
11
- @IsOptional()
12
11
  @IsDate()
13
12
  startDate?: Date | null;
14
13
 
15
14
  @ApiPropertyOptional()
16
- @IsOptional()
17
15
  @IsDate()
18
16
  endDate?: Date | null;
19
17
 
@@ -48,7 +46,6 @@ export class CreateDefaultPromoCode {
48
46
  isTest: boolean;
49
47
 
50
48
  @ApiPropertyOptional()
51
- @IsOptional()
52
49
  @IsJSON()
53
50
  // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
54
51
  metadata?: any | null;